Commit Graph

47143 Commits

Author SHA1 Message Date
Roger Sayle
a013431213 gcse.c (one_cprop_pass): Change function arguments to take both cprop_jumps and bypass_jumps flags...
* gcse.c (one_cprop_pass): Change function arguments to take both
	cprop_jumps and bypass_jumps flags instead of just alter_jumps.
	(gcse_main): Update calls to one_cprop_pass, disabling bypassing.
	(bypass_jumps): New function to perform separate jump bypassing pass.
	* rtl.h (bypass_jumps): Add function prototype.
	* timevar.def (TV_BYPASS): New timing variable.
	* toplev.c (enum dump_file_index): Add new entry DFI_bypass.
	(dump_file): New entry for the bypass RTL dump file.
	(rest_of_compilation): Insert new jump bypassing optimization
	pass after loop.
	* doc/passes.texi: Document new pass.

From-SVN: r61374
2003-01-16 01:06:33 +00:00
Benjamin Kosnik
6b543e86f4 acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
2003-01-15  Benjamin Kosnik  <bkoz@redhat.com>

	* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
	GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* testsuite/Makefile.am (all-local): Add conditional rule to
	generate testsuite_wchar_t.
	* testsuite/Makefile.in: Regenerate.
	* testsuite/lib/libstdc++-v3-dg.exp
	(libstdc++-v3-list-sourcefiles): Remove wchar_t files if
	testsuite_wchar_t is not present in the build directory.
	* testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
	Remove setulimit bits.
	* testsuite/26_numerics/complex_value.cc: Set to noopts.
	* testsuite/Makefile.am (CLEANFILES): Add.
	* testsuite/Makefile.in: Regenerate.

From-SVN: r61373
2003-01-16 00:50:20 +00:00
John David Anglin
4af6a06372 som.h (SUPPORTS_WEAK, [...]): Define.
* som.h (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY, MAKE_DECL_ONE_ONLY,
	ASM_WEAKEN_LABEL, GTHREAD_USE_WEAK): Define.
	* pa.h (TARGET_SOM_SDEF): Define.
	* pa-hpux11.h (TARGET_SOM_SDEF): Define.
	* config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
	__hppa__.

From-SVN: r61372
2003-01-16 00:34:45 +00:00
Scott Gilbertson
f826d5952c natGC.cc (fillPolygon): New method.
2003-01-15  Scott Gilbertson  <scottg@mantatest.com>

	* gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
	* gnu/gcj/xlib/GC.java (fillPolygon): Declare.
	* gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
	translateY arguments.  Implement.
	* gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
	down translation arguments.
	(drawPolyline, drawPolygon): Fix incorrect tests.
	* gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
	translateX and translateY arguments.

From-SVN: r61369
2003-01-15 23:53:49 +00:00
Scott Gilbertson
2af84af57b Makefile.in: Rebuilt.
2003-01-15  Scott Gilbertson  <scottg@mantatest.com>

	* Makefile.in: Rebuilt.
	* Makefile.am (xlib_includes): New macro.
	(INCLUDES): Use it.

From-SVN: r61366
2003-01-15 23:34:14 +00:00
Stephane Carrez
51e13b7194 m68hc11.c (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC11.
* config/m68hc11/m68hc11.c (expand_prologue): Use push/pop to
	allocate 4-bytes of locals on 68HC11.
	(expand_epilogue): Likewise.
	(m68hc11_memory_move_cost): Increase cost of HI/QI soft registers.

From-SVN: r61364
2003-01-16 00:30:40 +01:00
Richard Henderson
1ceb0dc753 * g++.dg/tls/init-2.C: Update error message string.
From-SVN: r61363
2003-01-15 15:27:55 -08:00
Scott Gilbertson
7a968a5782 XToolkit.java (getColorModel): Implemented.
2003-01-15  Scott Gilbertson  <scottg@mantatest.com>

	* gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
	* gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
	16-bit display mode.

From-SVN: r61362
2003-01-15 23:18:58 +00:00
Stephane Carrez
f077f1693b m68hc11.h (ASM_SPEC): Handle -m68hcs12...
* config/m68hc11/m68hc11.h (ASM_SPEC): Handle -m68hcs12; Pass -mshort
	and -mshort-double to the assembler to specify the ABI.
	(LINK_SPEC): Likewise.
	(CPP_SPEC): Pass HCS12 specific define.
	(MASK_M68S12): New define.
	(TARGET_M68S12): Likewise.
	(TARGET_SWITCHES): New options -m68hcs12 and -m68S12.
	(TARGET_VERSION): Update.
	* config/m68hc11/m68hc12.h (CPP_SPEC): Pass HCS12 specific define.
	(LINK_SPEC): Update.
	(ASM_SPEC): Update.
	* config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Update.
	* doc/invoke.texi (M68hc1x Options): Document -m68hcs12.

From-SVN: r61358
2003-01-15 23:50:41 +01:00
Scott Gilbertson
09d096a8d7 CardLayout.java (show): Rewrote.
2003-01-15  Scott Gilbertson  <scottg@mantatest.com>

	* java/awt/CardLayout.java (show): Rewrote.
	(gotoComponent): Removed `target' argument.  Simplified code.
	Don't pre-compute `choice' unless `what' is FIRST or LAST.
	Changed all callers.
	(NONE): Removed.

From-SVN: r61357
2003-01-15 22:47:04 +00:00
Kaveh R. Ghazi
3dd5fc583b * gcc.c-torture/execute/builtin-constant.x: XFAIL the test.
From-SVN: r61354
2003-01-15 22:42:26 +00:00
Stephane Carrez
b0562482b7 20000804-1.x: Don't execute this test at all for HC11/HC12.
* gcc.c-torture/compile/20000804-1.x: Don't execute this test at
	all for HC11/HC12.
	* gcc.c-torture/compile/20001205-1.x: Likewise.
	* gcc.c-torture/compile/20001226-1.x: Likewise.
	* gcc.c-torture/compile/920520-1.x: Likewise.
	* gcc.c-torture/compile/961203-1.x: Likewise.
	* gcc.c-torture/compile/20020604-1.x: Likewise.

From-SVN: r61351
2003-01-15 22:26:14 +01:00
Stephane Carrez
c0f684dcbb m68hc11.md ("return"): Use emit_jump_insn to emit the return code.
* config/m68hc11/m68hc11.md ("return"): Use emit_jump_insn to emit
	the return code.

From-SVN: r61347
2003-01-15 21:39:17 +01:00
Josef Zlomek
6982ae1549 cfganal.c (set_edge_can_fallthru_flag): Clear the EDGE_CAN_FALLTHRU flag before setting it.
* cfganal.c (set_edge_can_fallthru_flag): Clear the EDGE_CAN_FALLTHRU
	flag before setting it.

From-SVN: r61345
2003-01-15 20:16:22 +00:00
Josef Zlomek
8c12fc6345 * MAINTAINERS: Add myself to write-after-approval list.
From-SVN: r61343
2003-01-15 19:47:10 +00:00
Josef Zlomek
8c8767aae0 I added myself to the list.
From-SVN: r61342
2003-01-15 19:42:36 +00:00
Roger Sayle
8cadeff16d c-semantics.c (genrtl_while_stmt): Improve initial RTL generation when loop condition is known true, i.e.
* c-semantics.c (genrtl_while_stmt):  Improve initial RTL generation
	when loop condition is known true, i.e.  "while (1) { ... }".
	(genrtl_for_stmt): Similarly for "for" statements.

From-SVN: r61338
2003-01-15 17:44:37 +00:00
Roger Sayle
03cd8aba32 real.c (real_sqrt): Return a bool result indicating whether a floating point exception or trap...
* real.c (real_sqrt): Return a bool result indicating whether
	a floating point exception or trap should be raised.
	* real.h (real_sqrt): Update function prototype.
	* builtins.c (fold_builtin): Only fold non-trapping square
	roots unless we're ignoring errno and trapping math.

From-SVN: r61337
2003-01-15 17:40:26 +00:00
John David Anglin
4da782145b expr.h (emit_conditional_add): Add PARAMS to declaration.
* expr.h (emit_conditional_add): Add PARAMS to declaration.
	* gengtype-lex.l (malloc, realloc): Move defines after include of
	system.h.  Remove duplicate include of system.h.

From-SVN: r61336
2003-01-15 17:36:57 +00:00
Roger Sayle
9ee0a4426d re PR middle-end/9009 (floating-point negate and abs optimizations incorrect for ARM)
PR middle-end/9009
	* optabs.c (expand_unop):  When manipulating the FP sign bit
	using integer operations, account for targets with different
	integer and FP word orders.
	(expand_abs): Likewise.

From-SVN: r61335
2003-01-15 17:32:38 +00:00
David Edelsohn
e3981aabf2 rs6000.c (rs6000_gen_section_name): Do not include file extension in section name.
* config/rs6000/rs6000.c (rs6000_gen_section_name): Do not include
        file extension in section name.

From-SVN: r61334
2003-01-15 11:08:49 -05:00
Richard Earnshaw
89c4b81046 flow.c (find_auto_inc): Also try to generate a PRE_MODIFY with constant offset.
* flow.c (find_auto_inc): Also try to generate a PRE_MODIFY with
constant offset.

From-SVN: r61333
2003-01-15 16:06:47 +00:00
Richard Earnshaw
3cd4577449 arm.h (HAVE_PRE_MODIFY_DISP, [...]): Define.
* arm.h (HAVE_PRE_MODIFY_DISP, HAVE_PRE_MODIFY_REG): Define.
(HAVE_POST_MODIFY_DISP, HAVE_POST_MODIFY_REG): Define.
(ARM_GO_IF_LEGITIMATE_ADDRESS): Handle pre/post-modify addresses.
(ARM_PRINT_OPERAND_ADDRESS): Likewise.

From-SVN: r61332
2003-01-15 15:51:11 +00:00
Hartmut Penner
c161ecf7b1 Copyright for 2003.
From-SVN: r61331
2003-01-15 13:44:24 +00:00
Jan Hubicka
b1a6f8db64 re PR rtl-optimization/9258 (ICE in compensate_edge, at reg-stack.c:2589)
PR f/9258
	* global.c (struct allocno): Add no_stack_reg.
	(global_conflicts): Set no_stack_reg.
	(find_reg): Use it.

	* convert.c (convert_to_real): Fold - and abs only when profitable.
	* fold-const.c (fold): Fold truncates in - and abs.

	* gcc.c-torture/compile/20030115-1.c: New test.

	* gcc.dg/i386-fpcvt-1.c: New test.
	* gcc.dg/i386-fpcvt-2.c: New test.

From-SVN: r61329
2003-01-15 12:43:35 +00:00
Josef Zlomek
d18c7e595f I did not know how to write to changelog sone other's patch
so I'm fixing the Changelog entry

From-SVN: r61328
2003-01-15 12:12:09 +00:00
Segher Boessenkool
fbe3b30b02 Segher Boessenkool <segher@koffie.nl>
* predict.c (real_inv_br_prob_base): New variable.
	(propagate_freq): Use multiply by reciprocal instead of
	division.  Don't divide by 1.0 at all.
	(estimate_bb_frequencies): Similar.

From-SVN: r61326
2003-01-15 12:07:46 +00:00
Alexandre Oliva
7c005a3a45 configure.in (noconfigdirs): Don't skip gas on IRIX 6.
* configure.in (noconfigdirs): Don't skip gas on IRIX 6.
* configure: Rebuilt.

From-SVN: r61325
2003-01-15 11:24:15 +00:00
Alexandre Oliva
acfa9d9f91 put back entry mistakenly taken out by hpenner
From-SVN: r61324
2003-01-15 10:57:14 +00:00
Alexandre Oliva
027faee730 configure.in (libgcc_visibility): Force disabled on IRIX 6 too.
* configure.in (libgcc_visibility): Force disabled on IRIX 6 too.
* configure: Rebuilt.

From-SVN: r61323
2003-01-15 10:53:22 +00:00
Hartmut Penner
077dab3b42 s390.c (s390_safe_attr_type): New function.
* config/s390/s390.c (s390_safe_attr_type): New function.
        (s390_use_dfa_pipeline_interface): New function, return true for z900.
        (s390_issue_rate): New function.
        (s390_agen_dep_p): New function.
        (addr_generation_dependency_p): Use 's390_safe_attr_type'.
        (s390_adjust_cost): Return 'cost' if new DFA is used.
        (s390_adjust_priority): Delete function.
        * config/s390/s390-protos.h: (s390_agen_dep_p): New prototype.
        * config/s390/s390.md (atype attribute): Attribute 'atype' default
        determined by 'op_type'.
        (type attribute): Added more type attributes.
        * config/s390/2064.md: New DFA description for z900 pipeline.

From-SVN: r61321
2003-01-15 10:38:01 +00:00
Alexandre Oliva
2b28d405dc re PR bootstrap/9036 (2002-12-21 trunk version fails to bootstrap for Pentium4)
* config/i386/i386.c (ix86_expand_vector_move): Validize constant
forced to memory.  Fixes PR bootstrap/9036.

From-SVN: r61319
2003-01-15 09:17:20 +00:00
GCC Administrator
dc298ba792 Daily bump.
From-SVN: r61318
2003-01-15 08:17:32 +00:00
Alexandre Oliva
3c0121e4eb mips.h (CRT_CALL_STATIC_FUNCTION): Define so as to set $gp before the call.
* config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Define so as
to set $gp before the call.

From-SVN: r61310
2003-01-15 07:42:21 +00:00
Richard Henderson
553eb139b1 alpha.c (alpha_expand_mov): Use correct mode for force_const_mem.
* config/alpha/alpha.c (alpha_expand_mov): Use correct mode
        for force_const_mem.

From-SVN: r61309
2003-01-14 19:25:50 -08:00
Kaveh R. Ghazi
dd1b7476b1 decl2.c (check_classfn): Fix uninitialized warning.
cp:
	* decl2.c (check_classfn): Fix uninitialized warning.
	(build_anon_union_vars): Likewise.
	* pt.c (tsubst_copy): Likewise.

gcc:
	* genattr.c (main): Rearrange output to avoid prototype warning.
	* genautomata.c (transform_3): Fix ambiguous-else warning.
	* local-alloc.c (requires_inout): Add parentheses around
	assignment used as truth-value.
	* timevar.c: Move system includes above local includes.  Include
	toplev.h
	* Makefile.in (timevar.o): Depend on toplev.h.

From-SVN: r61308
2003-01-15 01:21:46 +00:00
Michael Koch
8cb5ee7192 2003-01-14 Michael Koch <konqueror@gmx.de>
* java/net/InetSocketAddress.java
	(serialVersionUID): New member variable.
	* java/net/NetPermission.java
	(NetPermission): Dont implement java.io.Serialization directly.
	* java/net/SocketAddress.java:
	(serialVersionUID): Documentation added.

From-SVN: r61305
2003-01-14 21:44:48 +00:00
Jeffrey D. Oldham
a7189b490f Further conform g++'s __vmi_class_type_info to the C++ ABI specification.
2003-01-14  Jeffrey D. Oldham  <oldham@codesourcery.com>

	Further conform g++'s __vmi_class_type_info to the C++ ABI
	specification.
	* gcc/cp/rtti.c (dfs_class_hint_mark): Do not set hints not
	specified by the specification.
	(class_hint_flags): Likewise.
	* gcc/testsuite/g++.old-deja/g++.abi/vmihint.C (main): Revise
	expected flags per the specification.
	* libstdc++-v3/libsupc++/cxxabi.h
	(__vmi_class_type_info::__flags_masks): Remove enumerations not
	required by the specification.

From-SVN: r61304
2003-01-14 21:36:20 +00:00
Michael Koch
7365ecf789 2003-01-14 Michael Koch <konqueror@gmx.de>
* java/awt/Label.java
	(Label): Implements javax.accessibility.Accessible;
	* java/awt/List.java
	(List): Implements javax.accessibility.Accessible;
	* java/awt/ScrollPane.java
	(ScrollPane): Implements javax.accessibility.Accessible;
	* java/awt/Scrollbar.java
	(Scrollbar): Implements javax.accessibility.Accessible;
	* java/awt/TextComponent.java
	(setCaretPosition): Throw exception, documentation added.
	* java/awt/Toolkit.java:
	Added some newlines in method documentations.
	(createButton): Exception documentation added.
	(createTextField): Exception documentation added.
	(createLabel): Exception documentation added.
	(createList): Exception documentation added.
	(createCheckbox): Exception documentation added.
	(createScrollbar): Exception documentation added.
	(createScrollPane): Exception documentation added.
	(createTextArea): Exception documentation added.
	(createChoice): Exception documentation added.
	(createFrame): Exception documentation added.
	(createWindow): Exception documentation added.
	(createDialog): Exception documentation added.
	(createMenuBar): Exception documentation added.
	(createMenu): Exception documentation added.
	(createMenuItem): Exception documentation added.
	(createFileDialog): Exception documentation added.
	(createCheckboxMenuItem): Exception documentation added.
	(loadSystemColors): Exception documentation added.
	(setDynamicLayout): Exception documentation added.
	(isDynamicLayoutSet): Exception documentation added.
	(isDynamicLayoutActive): Exception documentation added.
	(getScreenSize): Exception documentation added.
	(getScreenResolution): Exception documentation added.
	(getScreenInsets): Exception documentation added.
	(getColorModel): Exception documentation added.
	(getSystemClipboard): Exception documentation added.
	(getSystemSelection): Exception documentation added.
	(getMenuShortcutKeyMask): Exception documentation added.
	(getSystemEventQueue): Exception documentation added.
	* java/awt/Window.java:
	Reindented some code.
	(Window): Centralized implementation, documentation added.
	(finalize): Documentation added.
	(hide): Fixed typo in comment.
	(getWindowListeners): Documentation added.
	* java/awt/color/ColorSpace.java
	(toRGB): Documentation added.
	* java/awt/color/ICC_ColorSpace.java
	(ICC_ColorSpace): Documentation added.
	(toRGB): Throw exception, documentation added.
	(fromRGB): Throw exception, documentation added.
	(toCIEXYZ): Documentation added.
	(fromCIEXYZ): Documentation added.
	(getMinValue): Documentation added.
	(getMaxValue): Documentation added.
	* java/awt/geom/Dimension2D.java
	(clone): Documentation added.
	* java/awt/geom/GeneralPath.java
	(clone): Documentation added.
	* java/awt/geom/Line2D.java
	(clone): Documentation added.
	* java/awt/geom/QuadCurve2D.java
	(clone): Documentation added.
	* java/awt/image/ColorModel.java
	(ColorModel): Throw exception, documentation added.
	* java/awt/image/ImageFilter.java
	(clone): Doesnt throw CloneNotSupportedException.

From-SVN: r61303
2003-01-14 21:21:35 +00:00
Tom Tromey
b41621ee14 * config.h.in: Rebuilt.
From-SVN: r61302
2003-01-14 21:16:20 +00:00
Denis Chertykov
6028880af5 ip2k.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
* config/ip2k/ip2k.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
	(VALID_MACHINE_TYPE_ATTRIBUTE): Remove.

	* config/ip2k/ip2k.c (ip2k_attribute_table): New table of
        attributes.
	(TARGET_ATTRIBUTE_TABLE): New macro.
	(valid_machine_type_attribute): Remove.
	(valid_machine_decl_attribute): Remove.
	(ip2k_handle_progmem_attribute): New function.
	(ip2k_handle_fndecl_attribute): New function.

From-SVN: r61295
2003-01-14 23:25:25 +03:00
Andrew Haley
4cf0d20fce natRuntime.cc (_load): StackTrace access needs to be in a try block.
2003-01-14  Andrew Haley  <aph@redhat.com>

        * java/lang/natRuntime.cc (_load): StackTrace access needs to be
        in a try block.

From-SVN: r61293
2003-01-14 19:26:21 +00:00
Tom Tromey
d9bbf3f743 class.c (make_class_data): Check that super is compiled before building class reference to it.
* class.c (make_class_data): Check that super is compiled before
	building class reference to it.

From-SVN: r61292
2003-01-14 18:59:01 +00:00
Andrew Haley
45ba15f410 ffi64.c (ffi_prep_args): Check for void retval.
2003-01-14  Andrew Haley  <aph@redhat.com>

        * src/x86/ffi64.c (ffi_prep_args): Check for void retval.
        (ffi_prep_cif_machdep): Likewise.
        * src/x86/unix64.S: Add unwind info.

From-SVN: r61291
2003-01-14 18:42:29 +00:00
Andrew Haley
474113419b decl.c (java_init_decl_processing): _Jv_NewMultiArray is a varargs function -- correct.
2003-01-14  Andrew Haley  <aph@redhat.com>

        * decl.c (java_init_decl_processing): _Jv_NewMultiArray is a
        varargs function -- correct.

From-SVN: r61289
2003-01-14 17:01:04 +00:00
Andrew Haley
4a2953e43d linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Rename registers to be in correct order.
2003-01-10  Andrew Haley  <aph@redhat.com>

        * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Rename
        registers to be in correct order.  Add rip.

From-SVN: r61287
2003-01-14 15:22:22 +00:00
Andrew Haley
e5c9ced471 decl.c (java_init_decl_processing): Temporarily back out previous patch.
2003-01-14  Andrew Haley  <aph@redhat.com>

        * decl.c (java_init_decl_processing): Temporarily back out previous patch.

From-SVN: r61286
2003-01-14 15:03:16 +00:00
Andrew Haley
b399dfb0b4 dwarf2-signal.h: Remove x86_64.
2003-01-10  Andrew Haley  <aph@redhat.com>

        * include/dwarf2-signal.h: Remove x86_64.
        * configure.host (x86_64 DIVIDESPEC): Remove.
        * include/x86_64-signal.h: New file.
        * configure.in: Regenerate.

From-SVN: r61285
2003-01-14 14:02:13 +00:00
Andrew Haley
399df6db87 dwarf2-signal.h: Remove x86_64.
2003-01-10  Andrew Haley  <aph@redhat.com>

        * include/dwarf2-signal.h: Remove x86_64.
        * configure.host (x86_64 DIVIDESPEC): Remove.
        * include/x86_64-signal.h: New file.
        * configure.in: Regenerate.

From-SVN: r61284
2003-01-14 13:51:15 +00:00
Kriang Lerdsuwanakij
cf22909cee config-lang.in: Add semantics.c to gtfiles.
* config-lang.in: Add semantics.c to gtfiles.
	* cp-tree.h (flagged_type_tree_s): Remove lookups field.
	(saved_scope): Likewise.
	(type_lookups): Remove.
	(deferred_access): New structure.
	(type_access_control): Remove.
	(save_type_access_control): Likewise.
	(reset_type_access_control): Likewise.
	(decl_type_access_control): Likewise.
	(push_deferring_access_checks): Declare.
	(resume_deferring_access_checks): Likewise.
	(stop_deferring_access_checks): Likewise.
	(pop_deferring_access_checks): Likewise.
	(get_deferred_access_checks): Likewise.
	(pop_to_parent_deferring_access_checks): Likewise.
	(perform_deferred_access_checks): Likewise.
	(perform_or_defer_access_check): Likewise.
	* decl.c (make_typename_type): Use perform_or_defer_access_check.
	(make_unbound_class_template): Likewise.
	(grokdeclarator): Don't call decl_type_access_control.
	* parser.c (cp_parser_context): Remove deferred_access_checks
	and deferring_access_checks_p fields.
	(cp_parser_context_new): Adjust.
	(cp_parser): Remove access_checks_lists.
	(cp_parser_defer_access_check): Remove.
	(cp_parser_start_deferring_access_checks): Remove.
	(cp_parser_stop_deferring_access_checks): Remove.
	(cp_parser_perform_deferred_access_checks): Remove.
	(cp_parser_nested_name_specifier_opt): Use new deferred access
	functions.
	(cp_parser_simple_declaration): Likewise.
	(cp_parser_template_id): Likewise.
	(cp_parser_function_definition): Likewise.
	(cp_parser_class_specifier): Likewise.
	(cp_parser_lookup_name): Likewise.
	(cp_parser_single_declaration): Likewise.
	(cp_parser_pre_parsed_nested_name_specifier): Likewise.
	(cp_parser_parse_tentatively): Likewise.
	(cp_parser_parse_definitely): Likewise.
	(yyparse): Likewise.
	(cp_parser_init_declarator): Remove access_checks parameter.
	Use new deferred access functions.
	(cp_parser_function_definition_from_specifiers_and_declarator):
	Likewise.
	(cp_parser_class_head): Remove deferring_access_checks_p and
	saved_access_checks parameters.  Use new deferred access functions.
	(cp_parser_member_specification_opt): Don't call
	reset_type_access_control.
	* search.c (type_access_control): Remove.
	* semantics.c: Include "gt-cp-semantics.h".
	(deferred_type_access_control): Remove.
	(deferred_access_stack): New variable.
	(deferred_access_free_list): Likewise.
	(push_deferring_access_checks): New function.
	(resume_deferring_access_checks): Likewise.
	(stop_deferring_access_checks): Likewise.
	(pop_deferring_access_checks): Likewise.
	(get_deferred_access_checks): Likewise.
	(pop_to_parent_deferring_access_checks): Likewise.
	(perform_deferred_access_checks): New function, adapted from
	cp_parser_perform_deferred_access_checks.
	(perform_or_defer_access_check): New function, adapted from
	cp_parser_defer_access_check.
	(current_type_lookups): Remove.
	(deferred_type_access_control): Likewise.
	(decl_type_access_control): Likewise.
	(save_type_access_control): Likewise.
	(reset_type_access_control): Likewise.
	(begin_function_definition): Adjust.
	(begin_class_definiton): Likewise.

From-SVN: r61283
2003-01-14 13:40:53 +00:00