gcc.git
20 years ago* cfgrtl.c (try_redirect_by_replacing_jump): Fix return value.
Jeff Law [Fri, 4 Jun 2004 15:01:49 +0000 (09:01 -0600)]
* cfgrtl.c (try_redirect_by_replacing_jump): Fix return value.

From-SVN: r82623

20 years agoexcept.c (for_each_eh_region): New function.
Steven Bosscher [Fri, 4 Jun 2004 12:31:26 +0000 (12:31 +0000)]
except.c (for_each_eh_region): New function.

* except.c (for_each_eh_region): New function.
* except.h (for_each_eh_region): Add a prototype for it.
* tree-cfg.c (update_eh_labels): New function, callback for
for_each_eh_region.
(label_for_bb): Make global static, unfortunately.
(cleanup_dead_labels): Also update label references for
exception regions.

From-SVN: r82622

20 years agoNew ObjC testcases to make sure Protocol-isEqual: is well implemented in the
Nicola Pero [Fri, 4 Jun 2004 01:24:34 +0000 (01:24 +0000)]
New ObjC testcases to make sure Protocol-isEqual: is well implemented in the
runtime library

From-SVN: r82621

20 years agoNew testcases
Nicola Pero [Fri, 4 Jun 2004 01:23:12 +0000 (01:23 +0000)]
New testcases

From-SVN: r82620

20 years agoImproved [Protocol -isEqual:], now more correct and faster
Nicola Pero [Fri, 4 Jun 2004 01:12:20 +0000 (01:12 +0000)]
Improved [Protocol -isEqual:], now more correct and faster

From-SVN: r82619

20 years agomips.c (struct irix_section_align_entry): Fix GTY marker.
Chris Demetriou [Fri, 4 Jun 2004 00:37:56 +0000 (00:37 +0000)]
mips.c (struct irix_section_align_entry): Fix GTY marker.

2004-06-03  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.c (struct irix_section_align_entry): Fix
        GTY marker.

From-SVN: r82618

20 years agoDaily bump.
GCC Administrator [Fri, 4 Jun 2004 00:16:17 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r82616.2

20 years agoDaily bump.
GCC Administrator [Fri, 4 Jun 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r82615.2

20 years agogcc_release (maybe_build_tarfile): New function.
Joseph Myers [Fri, 4 Jun 2004 00:02:04 +0000 (01:02 +0100)]
gcc_release (maybe_build_tarfile): New function.

* gcc_release (maybe_build_tarfile): New function.
(build_tarfiles): Use maybe_build_tarfile.

From-SVN: r82613

20 years agore PR c++/14639 ([non-unit-at-a-time] Incorrect emission of unused compiler-generated...
Andrew Pinski [Thu, 3 Jun 2004 23:45:46 +0000 (23:45 +0000)]
re PR c++/14639 ([non-unit-at-a-time] Incorrect emission of unused compiler-generated destructor)

2004-06-03  Andrew Pinski  <pinskia@physics.uc.edu>
            Jan Hubicka  <jh@suse.cz>

        PR c++/14639
        * method.c (use_think): Do not mark thunk as referenced.

Co-Authored-By: Jan Hubicka <jh@suse.cz>
From-SVN: r82612

20 years agotoplev.c (check_global_declarations): Don't ask for DECL_ASSEMBLER_NAME unless the...
Geoffrey Keating [Thu, 3 Jun 2004 23:16:21 +0000 (23:16 +0000)]
toplev.c (check_global_declarations): Don't ask for DECL_ASSEMBLER_NAME unless the function really is declared static...

* toplev.c (check_global_declarations): Don't ask for
DECL_ASSEMBLER_NAME unless the function really is declared
static and not defined.

From-SVN: r82611

20 years agore PR c++/15428 (vtables shouldn't always be weak on Darwin)
Matt Austern [Thu, 3 Jun 2004 23:15:01 +0000 (23:15 +0000)]
re PR c++/15428 (vtables shouldn't always be weak on Darwin)

PR c++/15428
* default.h (TARGET_WEAK_NOT_IN_ARCHIVE_TOC): New name
for TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY, with reversed sense.
* config/darwin.h (TARGET_WEAK_NOT_IN_ARCHIVE_TOC): Likewise.
* doc/tm.texi (TARGET_WEAK_NOT_IN_ARCHIVE_TOC): Rewrite
documentation to reflect the new macro name and to clarify its
meaning.
* cp/decl2.c (maybe_emit_vtables): If TARGET_WEAK_NOT_IN_ARCHIVE_TOC
is nonzero, and if we see a noninline definition of a key method,
make the vtables nonweak.

From-SVN: r82610

20 years agorevert accidental checkin
Christopher Faylor [Thu, 3 Jun 2004 22:38:00 +0000 (22:38 +0000)]
revert accidental checkin

From-SVN: r82609

20 years agogfortran.h (gfc_actual_arglist): New field missing_arg_type.
Tobias Schlüter [Thu, 3 Jun 2004 22:35:41 +0000 (00:35 +0200)]
gfortran.h (gfc_actual_arglist): New field missing_arg_type.

fortran/
* gfortran.h (gfc_actual_arglist): New field missing_arg_type.
* interface.c (compare_actual_formal): Keep type of omitted
optional arguments.
* trans-expr.c (gfc_conv_function_call): Add string length
argument for omitted string argument.

testsuite/
* gfortran.fortran-torture/execute/optstring_1.f90: New testcase.

From-SVN: r82608

20 years ago* rtl.def (VAR_LOCATION): Make RTX_EXTRA.
Steven Bosscher [Thu, 3 Jun 2004 22:17:20 +0000 (22:17 +0000)]
* rtl.def (VAR_LOCATION): Make RTX_EXTRA.

From-SVN: r82607

20 years agodarwin.c (machopic_indirect_data_reference): Copy the SYMBOL_REF_DECL from the origin...
Andrew Pinski [Thu, 3 Jun 2004 22:15:08 +0000 (22:15 +0000)]
darwin.c (machopic_indirect_data_reference): Copy the SYMBOL_REF_DECL from the original RTX for the new non-lazy pointer RTX.

2004-06-03  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/darwin.c (machopic_indirect_data_reference): Copy
        the SYMBOL_REF_DECL from the original RTX for the new
        non-lazy pointer RTX.

From-SVN: r82606

20 years agoOne more comment update
Tobias Schlüter [Thu, 3 Jun 2004 22:01:10 +0000 (00:01 +0200)]
One more comment update

From-SVN: r82605

20 years agotrans.c (gfc_finish_block, [...]): Build statement lists instead of compound expr...
Paul Brook [Thu, 3 Jun 2004 21:56:54 +0000 (21:56 +0000)]
trans.c (gfc_finish_block, [...]): Build statement lists instead of compound expr chains.

* trans.c (gfc_finish_block, gfc_add_expr_to_block): Build statement
lists instead of compound expr chains.
(gfc_trans_code): Annotate statement lists.

From-SVN: r82604

20 years ago* trans-array.c: Fix spelling in comments.
Tobias Schlüter [Thu, 3 Jun 2004 20:25:29 +0000 (22:25 +0200)]
* trans-array.c: Fix spelling in comments.

From-SVN: r82603

20 years ago* MAINTAINERS (Write After Approval): Add myself.
Mark G. Adams [Thu, 3 Jun 2004 18:53:35 +0000 (18:53 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r82602

20 years agotree.h: Remove include of version.h
Mark G. Adams [Thu, 3 Jun 2004 18:48:28 +0000 (18:48 +0000)]
tree.h: Remove include of version.h

* tree.h: Remove include of version.h
* c-cppbuiltin.c: Include version.h
* diagnostic.c: Include version.h
* dwarf2out.c: Include version.h
* toplev.c: Include version.h
* vmsdbgout.c: Include version.h
* Makefile.in: Remove dependency on version.h from TREE_H, and
add dependencies to required .o targets
* gjavah.c: Include version.h

From-SVN: r82601

20 years agoMakefile.in (RA_H, [...]): New.
Jerry Quinn [Thu, 3 Jun 2004 15:01:08 +0000 (15:01 +0000)]
Makefile.in (RA_H, [...]): New.

2004-06-03  Jerry Quinn  <jlquinn@optonline.net>

* Makefile.in (RA_H, RESOURCE_H, SCHED_INT_H, CFGLAYOUT_H,
CFGLOOP_H, DF_H, DDG_H, TREE_SSA_LIVE_H): New.
(TARGET_H): Add insn-modes.h.
(tree-ssa.o, tree-cfg.o, tree-ssa-loop.o, toplev.o, passes.o,
loop.o, loop-doloop.o, unroll.o, cfgloop.o, cfgloopanal.o,
loop-iv.o, cfgloopmanip.o, loop-init.o, loop-unswitch.o,
loop-unroll.o, ddg.o, modulo-sched.o, predict.o,
cfglayout.o, ifcvt.o): Replace cfgloop.h with CFGLOOP_H.
(toplev.o, passes.o, cfghooks.o, cfgloopmanip.o, loop-init.o,
loop-unswitch.o, loop-unroll.o, ddg.o, modulo-sched.o,
bb-reorder.o, tracer.o, cfglayout.o): Replace cfglayout.h with
CFGLAYOUT_H.
(ra.o, ra-build.o, ra-colorize.o, ra-debug.o, ra-rewrite.o):
Replace ra.h with RA_H.
(resource.o, regrename.o, insn-conditions.o, insn-emit.o,
insn-recog.o): Replace resource.h with RESOURCE_H.
(ddg.o, modulo-sched.o, haifa-sched.o, sched-deps.o, sched-rgn.o,
sched-ebb.o, sched-vis.o, out_object_file):  Replace sched-int.h
with SCHED_INT_H.
(web.o, lcm.o, df.o, ra.o, ra-build.o, ra-colorize.o, ra-debug.o,
ra-rewrite.o): Replace df.h with DF_H.
(ddg.o, modulo-sched.o): Replace ddf.h with DDG_H.
(tree-outof-ssa.o, tree-ssa-live.o, tree-ssa-copyrename.o):
Replace tree-ssa-live.h with TREE_SSA_LIVE_H.
(insn-conditions.o): Remove unused reload.h.
* cfglayout.h: Add include guard.  Include basic-block.h.
* cfgloop.h: Add include guard.  Include basic-block.h, rtl.h.
* ddg.h: Include sbitmap.h, basic-block.h, df.h.
* df.h: Add include guard.  Include bitmap.h, sbitmap.h,
basic-block.h.
* genconditions.c:  Remove reload.h.
* ra.h: Add include guard.  Include bitmap.h, sbitmap.h,
hard-reg-set.h, insn-modes.h.
* resource.h: Add include guard.  Include hard-reg-set.h.
* sched-int.h:  Add include guard.  Include insn-attr.h,
basic-block.h, rtl.h.
* target.h: Add include guard.  Include insn-modes.h.
* tree-ssa-live.h: Include partition.h.

From-SVN: r82600

20 years agotree-ssa-ccp.c (varying_ssa_edges): New worklist.
Daniel Berlin [Thu, 3 Jun 2004 14:07:53 +0000 (14:07 +0000)]
tree-ssa-ccp.c (varying_ssa_edges): New worklist.

2004-06-03  Daniel Berlin  <dberlin@dberlin.org>
Kenneth Zadeck <zadeck@naturalbridge.com>

* tree-ssa-ccp.c (varying_ssa_edges): New worklist.
(add_var_to_ssa_edges_worklist): Add value argument.
Update callers.
Use new worklist.
(process_ssa_edge_worklist): New function.
(tree_ssa_ccp): Move worklist processing core to
process_ssa_edge_worklist, and just call that for the two worklists.

From-SVN: r82598

20 years agobasic-block.c (tail_recursion_label_list): Don't declare.
Steven Bosscher [Thu, 3 Jun 2004 12:07:47 +0000 (12:07 +0000)]
basic-block.c (tail_recursion_label_list): Don't declare.

* basic-block.c (tail_recursion_label_list): Don't declare.
(CLEANUP_PRE_SIBCALL): Remove.  Renumber the other CLEANUP_*
accordingly.
* cfgbuild.c (find_label_refs): Remove.
(find_basic_blocks_1): Don't handle CALL_PLACEHOLDER insns.
* cfgcleanup.c (tail_recursion_label_p): Remove.
(merge_blocks_move): Do not check for tail recursion.
(try_optimize_cfg): Likewise.
(cleanup_cfg): Never handle CLEANUP_PRE_SIBCALL.
* cfgrtl.c (tail_recursion_label_list): Remove.
* except.c (remove_unreachable_regions): Don't handle
CALL_PLACEHOLDER insns.
(convert_from_eh_region_ranges_1, can_throw_internal,
can_throw_external): Likewise.
* function.c (free_after_compilation): Don't clear
x_tail_recursion_label.
(fixup_var_refs_insns): Don't handle CALL_PLACEHOLDER insns.
(identify_blocks_1): Don't recurse for CALL_PLACEHOLDER insns.
(reorder_blocks_1): Likewise.
* function.h (struct function): Remove x_tail_recursion_label
member.  Don't define tail_recursion_label.
* jump.c (mark_all_labels): Don't handle CALL_PLACEHOLDER insns.
* print-rtl.c (print_rtx): Likewise.
* rtl.def (CALL_PLACEHOLDER): Remove.
* rtl.h (sibcall_use_t): Remove enum.
(optimize_sibling_and_tail_recursive_calls,
replace_call_placeholder): Remove function prototypes.
* stmt.c (tail_recursion_args): Remove.
(optimize_tail_recursion): Remove.
(expand_return): Don't check for possible tail recursion.
* tree.h (optimize_tail_recursion): Remove prototype.

From-SVN: r82597

20 years ago2004-06-03 Michael Koch <konqueror@gmx.de>
Michael Koch [Thu, 3 Jun 2004 10:23:12 +0000 (10:23 +0000)]
2004-06-03  Michael Koch  <konqueror@gmx.de>

* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(requestFocus): Revert last changes.
(gtkRequestFocus): Removed.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
Renamed to ...
(Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
Reverted last patch.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
(Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
Reverted comment change.

From-SVN: r82596

20 years agoconfigure.in: Fix --enable-bootstrap breakage introduced in trees without gcc.
Paolo Bonzini [Thu, 3 Jun 2004 04:53:00 +0000 (04:53 +0000)]
configure.in: Fix --enable-bootstrap breakage introduced in trees without gcc.

* configure.in: Fix --enable-bootstrap breakage introduced in trees without
gcc.
* configure: Regenerate.

From-SVN: r82595

20 years agoDaily bump.
GCC Administrator [Thu, 3 Jun 2004 00:16:16 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r82592.2

20 years agoDaily bump.
GCC Administrator [Thu, 3 Jun 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r82590.2

20 years agotree-cfg.c (tree_find_edge_insert_loc): Allow inserting before return_stmt.
Jan Hubicka [Wed, 2 Jun 2004 21:13:55 +0000 (23:13 +0200)]
tree-cfg.c (tree_find_edge_insert_loc): Allow inserting before return_stmt.

* tree-cfg.c (tree_find_edge_insert_loc):  Allow inserting before
return_stmt.

From-SVN: r82586

20 years agoWhen a class template is explicitly instantiated, its member should be too.
Matt Austern [Wed, 2 Jun 2004 21:12:54 +0000 (21:12 +0000)]
When a class template is explicitly instantiated, its member should be too.

* cp-tree.h (instantiate_decl): new boolean parameter,
undefined_ok. Current behavior is equivalent to its being 0.
* decl2.c (mark_used): Add new argument when calling instantiate_decl
* pt.c (mark_decl_instantiated): Unconditionally make
instantiations explicit unconditionally
(do_decl_instantiation): Don't call SET_DECL_EXPLICIT_INSTANTIATION,
since mark_decl_instantiated now does it.
(instantiate_class_member): New.  Instantiate a member of an
explicitly instantiated class template.
(do_type_instantiation): Explicitly instantiate members of an
explicitly instantiated class template.
(instantiate_decl): if undefined_ok is nonzero, and if we're
trying to explicitly instantiated a template with no definition,
change it to an implicit instantiation.
(instantiate_pending_templates): Add new argument to instantiate_decl.
* tree.c (cp_cannot_inline_tree_fn): Likewise.

From-SVN: r82585

20 years ago* include/std/std_complex.h (log): Tidy.
Gabriel Dos Reis [Wed, 2 Jun 2004 21:04:07 +0000 (21:04 +0000)]
* include/std/std_complex.h (log): Tidy.

From-SVN: r82584

20 years agoMakefile.in (TAGS): Don't mess with c-parse.[ch].
Jason Merrill [Wed, 2 Jun 2004 20:44:48 +0000 (16:44 -0400)]
Makefile.in (TAGS): Don't mess with c-parse.[ch].

        * Makefile.in (TAGS): Don't mess with c-parse.[ch].
        Do include c-parse.in.

From-SVN: r82582

20 years agocp-tree.h: Fix typo.
Andrew Pinski [Wed, 2 Jun 2004 20:24:30 +0000 (20:24 +0000)]
cp-tree.h: Fix typo.

2004-06-02  Andrew Pinski  <pinskia@physics.uc.edu>

        * cp-tree.h: Fix typo.

From-SVN: r82580

20 years agoJCheckBoxMenuItem.java: Removed CVS tags.
Olga Rodimina [Wed, 2 Jun 2004 20:13:06 +0000 (20:13 +0000)]
JCheckBoxMenuItem.java: Removed CVS tags.

* javax/swing/JCheckBoxMenuItem.java:
Removed CVS tags.
* javax/swing/JMenu.java: Likewise.
* javax/swing/JMenuBar.java: Likewise.
* javax/swing/JMenuItem.java: Likewise.
* javax/swing/JPopupMenu.java: Likewise.
* javax/swing/JRadioButtonMenuItem.java: Likewise.
* javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
* javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
* javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
* javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
* javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
* javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.

From-SVN: r82579

20 years agoobjc.exp (objc_target_compile): When running tests on Darwin (Mac OS X)...
Ziemowit Laski [Wed, 2 Jun 2004 19:48:49 +0000 (19:48 +0000)]
objc.exp (objc_target_compile): When running tests on Darwin (Mac OS X)...

[gcc/testsuite/ChangeLog]
2004-06-02  Ziemowit Laski  <zlaski@apple.com>

        * lib/objc.exp (objc_target_compile): When running tests on
        Darwin (Mac OS X), inform the linker about '-framework
        'Foundation'.

From-SVN: r82578

20 years agoc-typeck.c (common_type): Don't lose type qualifiers when creating new variants.
Eric Christopher [Wed, 2 Jun 2004 19:46:13 +0000 (19:46 +0000)]
c-typeck.c (common_type): Don't lose type qualifiers when creating new variants.

2004-06-02  Eric Christopher  <echristo@redhat.com>

        * c-typeck.c (common_type): Don't lose type qualifiers
        when creating new variants.

2004-06-02  Eric Christopher  <echristo@redhat.com>

        * gcc.c-torture/compile/20040602-1.c: New.

From-SVN: r82577

20 years agoAdd function name to the changelog.
Andrew Pinski [Wed, 2 Jun 2004 19:36:07 +0000 (12:36 -0700)]
Add function name to the changelog.

From-SVN: r82576

20 years agocp-tree.h: Include cgraph.h
Andrew Pinski [Wed, 2 Jun 2004 19:20:03 +0000 (19:20 +0000)]
cp-tree.h: Include cgraph.h

2004-06-02  Andrew Pinski  <pinskia@physics.uc.edu>

        * cp-tree.h: Include cgraph.h
        (DECL_NEEDED_P): Use cgraph_*node on the decl instead of
        TREE_SYMBOL_REFERENCED on the DECL_ASSEMBLER_NAME of the decl.

From-SVN: r82575

20 years agossa-sra-1.C: Fix comment.
Andrew Pinski [Wed, 2 Jun 2004 19:10:27 +0000 (19:10 +0000)]
ssa-sra-1.C: Fix comment.

2004-06-02  Andrew Pinski  <pinskia@physics.uc.edu>

        * g++.dg/tree-ssa/ssa-sra-1.C: Fix comment.
        * g++.dg/tree-ssa/ssa-sra-2.C: Likewise.

From-SVN: r82574

20 years agore PR tree-optimization/14736 ([tree-ssa] code quality regression)
Andrew Pinski [Wed, 2 Jun 2004 18:56:54 +0000 (18:56 +0000)]
re PR tree-optimization/14736 ([tree-ssa] code quality regression)

2004-06-02  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-optimization/14736
        * g++.dg/tree-ssa/ssa-cast-1.C: New Test.

        PR tree-optimization/14042
        * g++.dg/tree-ssa/ssa-sra-1.C: New Test.

        PR tree-optimization/14729
        * g++.dg/tree-ssa/ssa-sra-2.C: New Test.

2004-06-02  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-optimization/14042
        PR tree-optimization/14729
        PR tree-optimization/14736
        * tree-ssa.c: Check the type which the pointer points to
        instead of the pointer types.

From-SVN: r82573

20 years agore PR tree-optimization/15738 ([tree-ssa] Convert strrchr(s, c) to strchr(s, c) if...
Kazu Hirata [Wed, 2 Jun 2004 18:41:40 +0000 (18:41 +0000)]
re PR tree-optimization/15738 ([tree-ssa] Convert strrchr(s, c) to strchr(s, c) if c is known to be 0)

PR tree-optimization/15738.
* builtins.c (fold_builtin_strchr): Transform
strrchr (s, '\0') to strchr (s, '\0').

From-SVN: r82572

20 years agoi386.c (ix86_adjust_cost): Don't increase the cost for load+operation for PROCESSOR_P...
Steven Bosscher [Wed, 2 Jun 2004 17:34:35 +0000 (17:34 +0000)]
i386.c (ix86_adjust_cost): Don't increase the cost for load+operation for PROCESSOR_PENTIUMPRO...

* i386.c (ix86_adjust_cost): Don't increase the cost for
load+operation for PROCESSOR_PENTIUMPRO, it is already
modelled in the DFA description

From-SVN: r82571

20 years agore PR fortran/15557 (Not Implemented: Substring reference in DATA statement)
Tobias Schlüter [Wed, 2 Jun 2004 11:38:24 +0000 (13:38 +0200)]
re PR fortran/15557 (Not Implemented: Substring reference in DATA statement)

fortran/
PR fortran/15557
* data.c (assign_substring_data_value): New function.
(gfc_assign_data_value): Call the new function if we're dealing
with a substring LHS.

testsuite/
PR fortran/15557
* gfortran.fortran-torture/execute/data_3.f90: New testcase.

From-SVN: r82570

20 years agoMakefile.in (EXPR_H): Add insn-config.h...
Jerry Quinn [Wed, 2 Jun 2004 02:09:45 +0000 (02:09 +0000)]
Makefile.in (EXPR_H): Add insn-config.h...

2004-06-01  Jerry Quinn  <jlquinn@optonline.net>

* Makefile.in (EXPR_H): Add insn-config.h, function.h,
$(RTL_H), flags.h, $(TREE_H), $(MACHMODE_H), $(EXPR_H).
(ALIAS_H, EMIT_RTL_H): New.
(cselib.o): Replace EXPR_H with EMIT_RTL_H.
(cfgcleanup.o): Add EMIT_RTL_H.
(alias.o): Replace EXPR_H with EMIT_RTL_H and ALIAS_H.
* alias.c: Replace expr.h with emit-rtl.h and alias.h.
* attribs.c, c-lex.c, c-obj-common.c, c-semantics.c: Remove expr.h.
* cfgcleanup.c, cselib.c: Replace expr.h with emit-rtl.h.
* expr.h: Add include guard.  Include function.h, rtl.h, flags.h,
tree.h, machmode.h, insn-config.h, alias.h, emit-rtl.h.
(get_varargs_alias_set, get_frame_alias_set, record_base_value,
record_alias_subset, new_alias_set, can_address_p): Move to alias.h.
(set_mem_alias_set, set_mem_align, set_mem_expr, set_mem_offset,
set_mem_size): Move to emit-rtl.h.
* emit-rtl.h: New.
* alias.h: New.

From-SVN: r82568

20 years agoDaily bump.
GCC Administrator [Wed, 2 Jun 2004 00:16:15 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r82566.2

20 years agoDaily bump.
GCC Administrator [Wed, 2 Jun 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r82564.2

20 years agore PR c++/15142 (Internal compiler error when passing a string where a char* is expec...
Jason Merrill [Tue, 1 Jun 2004 20:28:38 +0000 (16:28 -0400)]
re PR c++/15142 (Internal compiler error when passing a string where a char* is expecteted in a throw statement)

        PR c++/15142
        * call.c (call_builtin_trap): Remove type parm.
        (convert_arg_to_ellipsis): Change a non-POD argument to integer type.
        (build_x_va_arg): Dereference a null pointer for a non-POD argument.

From-SVN: r82556

20 years agofunction.c (walk_fixup_memory_subreg): New parameter 'var'.
Eric Botcazou [Tue, 1 Jun 2004 19:08:01 +0000 (21:08 +0200)]
function.c (walk_fixup_memory_subreg): New parameter 'var'.

* function.c (walk_fixup_memory_subreg): New parameter 'var'.
Call fixup_memory_subreg only if the MEM is equal to 'var'.
Adjust recursive calls to self.
(fixup_var_refs_insn): Pass 'var' to walk_fixup_memory_subreg.

From-SVN: r82555

20 years agore PR c++/13092 (Accepts invalid pointer-to-member conversion)
Jason Merrill [Tue, 1 Jun 2004 15:54:33 +0000 (11:54 -0400)]
re PR c++/13092 (Accepts invalid pointer-to-member conversion)

        PR c++/13092
        * init.c (build_offset_ref): Build SCOPE_REF with non-null
        TREE_TYPE for non-dependent names.
        * pt.c (type_dependent_expression_p): Handle SCOPE_REF with
        unknown_type_node as its TREE_TYPE.
        * cxx-pretty_print.c (pp_cxx_unqualified_id): Handle BASELINK.
        * error.c (dump_decl) <SCOPE_REF case>: Use pp_expression.
        (dump_expr) <SCOPE_REF case>: Likewise.

From-SVN: r82553

20 years agorevert accidental checkin
Jason Merrill [Tue, 1 Jun 2004 15:53:07 +0000 (11:53 -0400)]
revert accidental checkin

From-SVN: r82552

20 years agore PR c++/13092 (Accepts invalid pointer-to-member conversion)
Kriang Lerdsuwanakij [Tue, 1 Jun 2004 15:51:56 +0000 (15:51 +0000)]
re PR c++/13092 (Accepts invalid pointer-to-member conversion)

        PR c++/13092
        * init.c (build_offset_ref): Build SCOPE_REF with non-null
        TREE_TYPE for non-dependent names.
        * pt.c (type_dependent_expression_p): Handle SCOPE_REF with
        unknown_type_node as its TREE_TYPE.
        * cxx-pretty_print.c (pp_cxx_unqualified_id): Handle BASELINK.
        * error.c (dump_decl) <SCOPE_REF case>: Use pp_expression.
        (dump_expr) <SCOPE_REF case>: Likewise.

From-SVN: r82551

20 years agoc-parse.in (OFFSETOF, [...]): New.
Richard Henderson [Tue, 1 Jun 2004 15:12:23 +0000 (08:12 -0700)]
c-parse.in (OFFSETOF, [...]): New.

        * c-parse.in (OFFSETOF, offsetof_member_designator): New.
        (primary): Handle offsetof.  Add error productions for faux functions.
        Move component_ref objc checking to build_component_ref.
        (reswords): Add offsetof.
        (rid_to_yy): Add offsetof.
        * c-tree.h (build_offsetof): Declare.
        * c-common.h (objc_is_public): Declare.
        * c-typeck.c (build_component_ref): Check objc_is_public.
        (build_offsetof): New.
        * stub-objc.c (objc_is_public): New.
        * objc/objc-act.c, objc/objc-act.h (objc_is_public): Rename
        from is_public.
        * ginclude/stddef.h (offsetof): Use __builtin_offsetof.
        * doc/extend.texi (Offsetof): Move from C++ section to C section
        and rewrite for __builtin_offsetof.
cp/
        * lex.c (reswords): Rename "__offsetof" to "__builtin_offsetof".
        * parser.c (struct cp_parser): Remove in_offsetof.
        (cp_parser_new): Don't set it.
        (cp_parser_unary_expression): Don't check it.
        (cp_parser_postfix_open_square_expression): Split out from ...
        (cp_parser_postfix_expression): ... here.
        (cp_parser_postfix_dot_deref_expression): Likewise.
        (cp_parser_builtin_offsetof): New.
        (cp_parser_primary_expression): Use it.
testsuite/
        * g++.dg/template/dependent-expr4.C: Use __builtin_offsetof.

From-SVN: r82549

20 years agoAlso credit Peter Jakubek for last patch.
Bernardo Innocenti [Tue, 1 Jun 2004 14:37:14 +0000 (16:37 +0200)]
Also credit Peter Jakubek for last patch.

From-SVN: r82548

20 years agom68k.c (m68k_output_mi_thunk): For ColdFire, use %d0 as a scratch to perform an add...
Peter Barada [Tue, 1 Jun 2004 13:22:04 +0000 (13:22 +0000)]
m68k.c (m68k_output_mi_thunk): For ColdFire, use %d0 as a scratch to perform an add to memory.

* config/m68k/m68k.c(m68k_output_mi_thunk):  For ColdFire, use %d0 as
a scratch to perform an add to memory.

From-SVN: r82547

20 years agore PR target/14018 (m68k backend: -malign-loops/-malign-jumps broken)
Bernardo Innocenti [Tue, 1 Jun 2004 12:56:49 +0000 (14:56 +0200)]
re PR target/14018 (m68k backend: -malign-loops/-malign-jumps broken)

PR target/14018
* config/m68k/m68k.c (m68k_align_loops_string, m68k_align_jumps_string,
m68k_align_funcs_string, m68k_align_loops, m68k_align_jumps,
m68k_align_funcs): Remove.
(override_options): Remove code to handle -malign-* options.
* config/m68k/m68k.h (TARGET_OPTIONS): Remove -malign-* options.
(FUNCTION_BOUNDARY, LOOP_ALIGN, LOOP_ALIGN_AFTER_BARRIER): Remove.
(m68k_align_loops_string, m68k_align_jumps_string,
m68k_align_funcs_string, m68k_align_loops, m68k_align_jumps,
m68k_align_funcs): Remove definitions.

From-SVN: r82546

20 years ago[multiple changes]
Michael Koch [Tue, 1 Jun 2004 12:47:02 +0000 (12:47 +0000)]
[multiple changes]

2004-06-01  Tom Tromey  <tromey@redhat.com>

* java/io/ObjectStreamField.java: Cleaned up imports.

2004-06-01  Michael Koch  <konqueror@gmx.de>

* java/io/ObjectStreamField.java: Style and javadoc cleanup.

2004-06-01  Mark Wielaard  <mark@klomp.org>

* java/io/Writer.java (Writer(Object)): Fixed API doc.

From-SVN: r82545

20 years agore PR fortran/15477 (gfortran should not have own version number)
Tobias Schlüter [Tue, 1 Jun 2004 12:12:58 +0000 (14:12 +0200)]
re PR fortran/15477 (gfortran should not have own version number)

PR fortran/15477
* gfortran.h (GFC_VERSION): Remove.
* gfortran.texi (version-gfortran): Remove, replace by version-GCC
where used.

From-SVN: r82544

20 years ago2004-06-01 Michael Koch <konqueror@gmx.de>
Michael Koch [Tue, 1 Jun 2004 11:57:10 +0000 (11:57 +0000)]
2004-06-01  Michael Koch  <konqueror@gmx.de>

* java/security/Security.java
(insertProviderAt): Use equals() instead of ==.
(removeProvicer): Likewise.
(getProvider): Likewise.
* java/security/Signature.java
(sign): Don't set state to UNINITIALIZED.
(verify): Likewise.

From-SVN: r82543

20 years agore PR target/15626 (GCC 3.4 emits "ld: warning: relocation error: R_SPARC_UA32")
Paul Eggert [Tue, 1 Jun 2004 11:28:50 +0000 (11:28 +0000)]
re PR target/15626 (GCC 3.4 emits "ld: warning: relocation error: R_SPARC_UA32")

PR target/15626
* doc/install.texi (sparc-sun-solaris2*): Document messages issued
by the Sun linker in conjunction with the Sun assembler.
(sparc-sun-solaris2.7): Update revision info for Sun patch 106950.

From-SVN: r82541

20 years agore PR c++/14932 (cannot use offsetof to get offsets of array elements in g++ 3.4...
Giovanni Bajo [Tue, 1 Jun 2004 10:22:11 +0000 (10:22 +0000)]
re PR c++/14932 (cannot use offsetof to get offsets of array elements in g++ 3.4.0 prerelease)

PR c++/14932
* parser.c (cp_parser_postfix_expression): Allow subscript
operator in offsetof.

PR c++/14932
* g++.dg/parse/offsetof4.C: New test.

From-SVN: r82538

20 years agoMakefile.tpl: Fix typo.
Paolo Bonzini [Tue, 1 Jun 2004 08:11:33 +0000 (08:11 +0000)]
Makefile.tpl: Fix typo.

2004-06-01  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl: Fix typo.
* Makefile.in: Regenerate.

From-SVN: r82536

20 years agoconfigure.in: Remove new- prefix from toplevel bootstrap targets.
Paolo Bonzini [Tue, 1 Jun 2004 07:54:44 +0000 (07:54 +0000)]
configure.in: Remove new- prefix from toplevel bootstrap targets.

2004-06-01  Paolo Bonzini <bonzini@gnu.org>

* configure.in: Remove new- prefix from toplevel
bootstrap targets.
* configure: Regenerate.

From-SVN: r82535

20 years agoMakefile.tpl (all.normal): Rename to all.
Paolo Bonzini [Tue, 1 Jun 2004 07:43:25 +0000 (07:43 +0000)]
Makefile.tpl (all.normal): Rename to all.

2004-06-01  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (all.normal): Rename to all.
(all): Replace with a rule to pick the default
target from configure.
(all-gcc, configure-gcc): Use conditionals to
do nothing when toplevel bootstrap is going on.
(GCC directory bootstrap) [gcc-bootstrap]: Disable.
(Toplevel bootstrap) [gcc-no-bootstrap]: Disable.
* configure.in: Support --enable-bootstrap.

* Makefile.def: Remove new- prefix from toplevel
bootstrap targets.
* Makefile.tpl: Likewise.

* Makefile.def: Add bootstrap_stage 4.  Add bootstrap2
target.

* Makefile.tpl (Toplevel bootstrap): Pass $(BASE_FLAGS_TO_PASS)
$(RECURSE_FLAGS) to recursive invocation of make.

* Makefile.in: Regenerate.
* configure: Regenerate.

From-SVN: r82534

20 years agostmt.c (expand_decl): Be more selective about calling mark_reg_pointer.
Jeff Law [Tue, 1 Jun 2004 07:42:35 +0000 (01:42 -0600)]
stmt.c (expand_decl): Be more selective about calling mark_reg_pointer.

        * stmt.c (expand_decl): Be more selective about calling
        mark_reg_pointer.

From-SVN: r82533

20 years agore PR objc/7993 (private variables cannot be shadowed in subclasses)
Nicola Pero [Tue, 1 Jun 2004 07:40:02 +0000 (07:40 +0000)]
re PR objc/7993 (private variables cannot be shadowed in subclasses)

2004-06-01  Nicola Pero  <nicola@brainstorm.co.uk>

  Fix PR objc/7993:
* objc-act.c (is_private): Do not emit the 'instance variable %s
is declared private' error.
(is_public): Emit the error after calling is_private.
(lookup_objc_ivar): If the instance variable is private, return 0
- the instance variable is invisible here.
testsuite:
* objc.dg/private-1.m, objc-dg/private-2.m: New testcases.

From-SVN: r82532

20 years agoinvoke.texi (-static-libgcc): Explicitly mention non-GNU linkers.
Eric Botcazou [Tue, 1 Jun 2004 07:13:51 +0000 (09:13 +0200)]
invoke.texi (-static-libgcc): Explicitly mention non-GNU linkers.

* doc/invoke.texi (-static-libgcc): Explicitly mention
non-GNU linkers.

From-SVN: r82529

20 years agoconfig.h.in: Regenerated.
Andreas Jaeger [Tue, 1 Jun 2004 05:43:27 +0000 (07:43 +0200)]
config.h.in: Regenerated.

* config.h.in: Regenerated.
* testsuite/Makefile.in: Regenerated.

From-SVN: r82528

20 years agoconfigure.in: Handle multilibs, support --enable-version-specific-runtime-libs.
Andreas Jaeger [Tue, 1 Jun 2004 05:21:07 +0000 (07:21 +0200)]
configure.in: Handle multilibs, support --enable-version-specific-runtime-libs.

* configure.in: Handle multilibs, support
--enable-version-specific-runtime-libs.
* Makefile.am (lib_LTLIBRARIES): Rename to ...
        (toolexeclib_LTLIBRARIES): this for multilib support.
* Makefile.in: Regenerated.
* configure: Regenerated.
* aclocal.m4: Regenerated.

* testsuite/lib/libmudflap.exp (libmudflap-init): Handle
multilibs, using multilib directory instead of hardcoded path.
Set LD_RUN_PATH.

From-SVN: r82527

20 years agoDaily bump.
GCC Administrator [Tue, 1 Jun 2004 00:16:14 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r82525

20 years agoGtkComponentPeer.java (requestFocus): Implement by calling gtkRequestFocus.
Mark Wielaard [Mon, 31 May 2004 23:03:01 +0000 (23:03 +0000)]
GtkComponentPeer.java (requestFocus): Implement by calling gtkRequestFocus.

2004-06-01  Mark Wielaard  <mark@klomp.org>

* gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
Implement by calling gtkRequestFocus.
(gtkRequestFocus): New native method.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
Renamed to ...
(Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
New function name.
(filter_expose_event_handler):
Mark static.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
(menu_pos): Mark static.

From-SVN: r82517

20 years agore PR c++/15701 (ICE with friends and template template parameter)
Mark Mitchell [Mon, 31 May 2004 22:48:30 +0000 (22:48 +0000)]
re PR c++/15701 (ICE with friends and template template parameter)

PR c++/15701
* friend.c (add_friend): Do not try to perform access checks for
functions from dependent classes.

PR c++/15701
* g++.dg/template/friend29.C: New test.

From-SVN: r82516

20 years agore PR target/12968 (doc m68k -mshort)
Bernardo Innocenti [Mon, 31 May 2004 22:27:39 +0000 (00:27 +0200)]
re PR target/12968 (doc m68k -mshort)

PR target/12968
* doc/invoke.texi: Document stack alignment side-effect of -mshort.

From-SVN: r82511

20 years agoCollationElementIterator.java, [...]: New versions from GNU classpath.
Michael Koch [Mon, 31 May 2004 22:16:31 +0000 (22:16 +0000)]
CollationElementIterator.java, [...]: New versions from GNU classpath.

2004-06-01  Michael Koch  <konqueror@gmx.de>

* java/text/CollationElementIterator.java,
java/text/CollationKey.java,
java/text/RuleBasedCollator.java: New versions from GNU classpath.
* testsuite/libjava.mauve/xfails: Removed all
java.text.CollationElementIterator tests.

From-SVN: r82510

20 years agoInflaterInputStream.java: Merged more with Classpath version.
Michael Koch [Mon, 31 May 2004 22:14:37 +0000 (22:14 +0000)]
InflaterInputStream.java: Merged more with Classpath version.

2004-06-01  Michael Koch  <konqueror@gmx.de>

* java/util/zip/InflaterInputStream.java: Merged more with Classpath
version.
* java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
Java 1.5 keyword usage.

From-SVN: r82509

20 years agore PR c/15749 (--pedantic-errors behaves differently from --pedantic with C-compiler...
Joseph Myers [Mon, 31 May 2004 22:06:33 +0000 (23:06 +0100)]
re PR c/15749 (--pedantic-errors behaves differently from --pedantic with C-compiler on Linux)

PR c/15749
* c-decl.c (grokdeclarator, finish_struct): Don't pedwarn for
misuses of structures with flexible array members if
in_system_header.

testsuite:
* gcc.dg/pr15749-1.c, gcc.dg/pr15749-1.h: New test.

From-SVN: r82506

20 years agore PR target/15693 (ICE - unrecognizable insn)
Eric Botcazou [Mon, 31 May 2004 21:34:26 +0000 (23:34 +0200)]
re PR target/15693 (ICE - unrecognizable insn)

PR target/15693
* config/sparc/sparc.c (compare_operand): New predicate.
* config/sparc/sparc.h (PREDICATE_CODES): Add it.
* config/sparc/sparc.md (cmpsi expander): Use it.  If the first
operand is a ZERO_EXTRACT and the second operand is not zero,
force the former to a register.
(cmpdi expander): Likewise.

From-SVN: r82500

20 years agore PR c++/15742 ('noreturn' attribute ignored in method of template functions.)
Mark Mitchell [Mon, 31 May 2004 21:24:31 +0000 (21:24 +0000)]
re PR c++/15742 ('noreturn' attribute ignored in method of template functions.)

PR c++/15742
* call.c (build_over_call): Set
current_function_returns_abnormally even in template functions.

PR c++/15696
* cp-tree.h (invalid_nonstatic_memfn_p): New function.
* cvt.c (convert_to_void): Use it.
* typeck.c (invalid_nonstatic_memfn_p): New function.
(decay_conversion): Use it.

PR c++/15625
* pt.c (tsubst_decl): Set DECL_FRIEND_CONTEXT for instantiated
templates.

PR c++/15629
* name-lookup.c (arg_assoc_class): Do not find template
specializations.

PR c++/15209
* tree.c (lvalue_p_1): Only consider the right-hand side of "."
expressions when determining whether or not an express is packed.

PR c++/15742
* g++.dg/warn/Wreturn-1.C: New test.

PR c++/15696
* g++.dg/expr/ptrmem5.C: New test.

PR c++/15625
* g++.dg/template/friend27.C: New test.

PR c++/15629
* g++.dg/template/friend28.C: New test.
* g++.dg/template/friend.C: Do not depend on <iostream>.  Add
error message.

PR c++/15209
* g++.dg/ext/packed3.C: Remove bogus error.
* g++.dg/ext/packed4.C: Remove bogus check.
* g++.dg/ext/packed6.C: New test.

From-SVN: r82499

20 years agolinker-map.gnu (GLIBCXX_3.4.1): Add.
Benjamin Kosnik [Mon, 31 May 2004 21:19:52 +0000 (21:19 +0000)]
linker-map.gnu (GLIBCXX_3.4.1): Add.

2004-05-31  Benjamin Kosnik  <bkoz@redhat.com>

* config/linker-map.gnu (GLIBCXX_3.4.1): Add.
* testsuite/testsuite_abi.cc: Same.
* configure.ac (libtool_VERSION): Bump to 6:1:0.
* configure: Regenerate.
* aclocal.m4: Regenerate.

From-SVN: r82498

20 years ago* javax/swing/plaf/basic/BasicMenuUI.java:
Olga Rodimina [Mon, 31 May 2004 21:09:30 +0000 (21:09 +0000)]
* javax/swing/plaf/basic/BasicMenuUI.java:

(MouseEntered): Do not call getPath() from MenuSelectionManager.
Call getPath() from super class instead.

From-SVN: r82496

20 years agogengtype-lex.l: Catch stray GTY markers in the files gengtype looks at.
Geoffrey Keating [Mon, 31 May 2004 19:49:50 +0000 (19:49 +0000)]
gengtype-lex.l: Catch stray GTY markers in the files gengtype looks at.

* gengtype-lex.l: Catch stray GTY markers in the files gengtype
looks at.
* alias.c (alias_invariant_size): Make alias_invariant_size
static, fix GTY marker.

From-SVN: r82493

20 years ago* trans-types.c: Fix spelling & layout in comments.
Tobias Schlüter [Mon, 31 May 2004 19:31:12 +0000 (21:31 +0200)]
* trans-types.c: Fix spelling & layout in comments.

From-SVN: r82492

20 years agore PR tree-optimization/15743 (Fold index() at tree level.)
Kazu Hirata [Mon, 31 May 2004 17:39:14 +0000 (17:39 +0000)]
re PR tree-optimization/15743 (Fold index() at tree level.)

PR tree-optimization/15743.
* builtins.c (fold_builtin_1): Fold index() and rindex().

From-SVN: r82491

20 years agore PR c++/15069 (a bit test on a variable of enum type is miscompiled)
Roger Sayle [Mon, 31 May 2004 17:01:17 +0000 (17:01 +0000)]
re PR c++/15069 (a bit test on a variable of enum type is miscompiled)

PR middle-end/15069
* fold-const.c (fold_single_bit_test): Only perform "(X & C) != 0"
into "X < 0" (where C is the signbit) if X's type is a full mode.

* g++.dg/opt/fold3.C: New test case.

From-SVN: r82490

20 years agopa.md: Disable the peephole2 patterns that generate indexed floating-point stores...
John David Anglin [Mon, 31 May 2004 16:10:54 +0000 (16:10 +0000)]
pa.md: Disable the peephole2 patterns that generate indexed floating-point stores when...

* pa.md: Disable the peephole2 patterns that generate indexed
floating-point stores when indexing is disabled.

From-SVN: r82489

20 years agoc-pretty-print.c (pp_c_left_bracket): Make a function.
Gabriel Dos Reis [Mon, 31 May 2004 15:25:51 +0000 (15:25 +0000)]
c-pretty-print.c (pp_c_left_bracket): Make a function.

        * c-pretty-print.c (pp_c_left_bracket): Make a function.
        (pp_c_right_bracket): Likewise.
        (pp_c_star): Likewise.
        (pp_c_ampersand): Define.
        * c-pretty-print.h (pp_c_left_bracket): Declare.
        (pp_c_right_bracket): Likewise.
        (pp_c_star): Likewise.
        (pp_c_ampersand): Likewise.

cp/
        * cxx-pretty-print.c (pp_cxx_colon_colon): Expor.
        (pp_cxx_begin_template_argument_list): Turn into a function.
        (pp_cxx_end_template_argument_list): Likewise.
        (pp_cxx_separate_with): Define.
        (pp_cxx_unqualified_id): Tidy.
        (pp_cxx_primary_expression): Likewise.
        (pp_cxx_postfix_expression): Likewise.
        (pp_cxx_expression): Likewise.
        (pp_cxx_simple_type_specifier): Likewise.
        (pp_cxx_type_specifier_seq): Likewise.
        (pp_cxx_parameter_declaration_clause): Likewise.
        (pp_cxx_exception_specification): Likewise.
        (pp_cxx_direct_declarator): Likewise.
        (pp_cxx_type_id): Likewise.
        * cxx-pretty-print.h (pp_cxx_whitespace): Export from
        cxx-pretty-print.c.
        (pp_cxx_left_paren): Likewise.
        (pp_cxx_right_paren): Likewise.
        (pp_cxx_left_brace): Likewise.
        (pp_cxx_right_brace): Likewise.
        (pp_cxx_left_bracket): Likewise.
        (pp_cxx_right_bracket): Likewise.
        (pp_cxx_dot): Likewise.
        (pp_cxx_identifier): Likewise.
        (pp_cxx_tree_identifier): Likewise.
        (pp_cxx_ampersand): New macro.
        (pp_cxx_star): Likewise.
        (pp_cxx_arrow): Likewise.
        (pp_cxx_semicolon): Likewise.
        (pp_cxx_complement): Likewise.
        (pp_cxx_begin_template_argument_list): Declaree.
        (pp_cxx_end_template_argument_list): Likewise.
        (pp_cxx_colon_colon): likewise.

From-SVN: r82488

20 years agosol2.h (__enable_execute_stack): ANSIfy function definition.
Eric Botcazou [Mon, 31 May 2004 15:15:08 +0000 (17:15 +0200)]
sol2.h (__enable_execute_stack): ANSIfy function definition.

* config/sol2.h (__enable_execute_stack): ANSIfy function
definition.

From-SVN: r82487

20 years agoparser.c (cp_parser_simple_type_specifier): Explicitly test against NULL_TREE.
Eric Botcazou [Mon, 31 May 2004 14:59:00 +0000 (16:59 +0200)]
parser.c (cp_parser_simple_type_specifier): Explicitly test against NULL_TREE.

* parser.c (cp_parser_simple_type_specifier): Explicitly test
against NULL_TREE.

From-SVN: r82486

20 years agojcf-write.c (generate_bytecode_conditional): Correct handling of unordered conditionals.
Bryce McKinlay [Mon, 31 May 2004 14:54:37 +0000 (14:54 +0000)]
jcf-write.c (generate_bytecode_conditional): Correct handling of unordered conditionals.

* jcf-write.c (generate_bytecode_conditional): Correct handling
of unordered conditionals. Add comment.

From-SVN: r82485

20 years ago* pex-win32.c (fix_argv): Expand comment.
Danny Smith [Mon, 31 May 2004 10:32:58 +0000 (10:32 +0000)]
* pex-win32.c (fix_argv): Expand comment.

From-SVN: r82482

20 years agoc-incpath.c (add_path): Canonicalize paths to use '/' if HAVE_DOS_BASED_FILESYSTEM.
Danny Smith [Mon, 31 May 2004 10:30:00 +0000 (10:30 +0000)]
c-incpath.c (add_path): Canonicalize paths to use '/' if HAVE_DOS_BASED_FILESYSTEM.

* c-incpath.c (add_path): Canonicalize paths to use '/' if
HAVE_DOS_BASED_FILESYSTEM.

From-SVN: r82481

20 years agotree-ssa-dom.c (record_equivalences_from_incoming_edge): Only look at case labels...
Steven Bosscher [Mon, 31 May 2004 10:18:36 +0000 (10:18 +0000)]
tree-ssa-dom.c (record_equivalences_from_incoming_edge): Only look at case labels if the immediate dominator is also the only predecessor.

* tree-ssa-dom.c (record_equivalences_from_incoming_edge):
Only look at case labels if the immediate dominator is also
the only predecessor.  Don't look for more case labels if the
first seen is a case range.

From-SVN: r82480

20 years agoSequenceInputStream.java: Rename enum to e because enum is a keyword in Java 1.5.
Michael Koch [Mon, 31 May 2004 09:23:05 +0000 (09:23 +0000)]
SequenceInputStream.java: Rename enum to e because enum is a keyword in Java 1.5.

2004-05-31  Michael Koch  <konqueror@gmx.de>

* java/io/SequenceInputStream.java:
Rename enum to e because enum is a keyword in Java 1.5.

From-SVN: r82479

20 years agoCompilerProcess.java: Fixed javadoc to by XHTML compliant.
Michael Koch [Mon, 31 May 2004 09:17:33 +0000 (09:17 +0000)]
CompilerProcess.java: Fixed javadoc to by XHTML compliant.

2004-05-31  Michael Koch  <konqueror@gmx.de>

* gnu/java/rmi/rmic/CompilerProcess.java:
Fixed javadoc to by XHTML compliant.

From-SVN: r82478

20 years ago* builtins.c: Add a prototype for fold_builtin_strchr().
Kazu Hirata [Mon, 31 May 2004 09:13:33 +0000 (09:13 +0000)]
* builtins.c: Add a prototype for fold_builtin_strchr().

From-SVN: r82477

20 years agocall.c, [...]: Fix comment formatting.
Kazu Hirata [Mon, 31 May 2004 08:42:32 +0000 (08:42 +0000)]
call.c, [...]: Fix comment formatting.

* call.c, class.c, cp-tree.def, decl2.c, name-lookup.c, pt.c,
typeck.c: Fix comment formatting.

From-SVN: r82476

20 years agorevert: combine.c (gen_binary): Remove.
Paolo Bonzini [Mon, 31 May 2004 06:59:47 +0000 (06:59 +0000)]
revert: combine.c (gen_binary): Remove.

2004-05-31  Paolo Bonzini  <bonzini@gnu.org>

Revert this patch:
2004-05-27  Paolo Bonzini  <bonzini@gnu.org>

* combine.c (gen_binary): Remove.
(known_cond, simplify_shift_const
find_split_point, combine_simplify_rtx,
simplify_if_then_else, simplify_set,
simplify_logical, expand_field_assignment,
extract_left_shift, force_to_mode,
if_then_else_cond, apply_distributive_law,
simplify_and_const_int, simplify_shift_const,
gen_lowpart_for_combine, simplify_comparison,
reversed_comparison): Replace with
simplify_gen_binary, simplify_gen_relational or
distribute_and_simplify_rtx.
(distribute_and_simplify_rtx): New function.

From-SVN: r82475

20 years agopa.c (emit_move_sequence): Fix loading of non 14-bit CONST operands when generating...
John David Anglin [Mon, 31 May 2004 02:07:40 +0000 (02:07 +0000)]
pa.c (emit_move_sequence): Fix loading of non 14-bit CONST operands when generating PIC code.

* pa.c (emit_move_sequence): Fix loading of non 14-bit CONST operands
when generating PIC code.

From-SVN: r82474

20 years agoDaily bump.
GCC Administrator [Mon, 31 May 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r82472

20 years agoc-decl.c (c_expand_body_1): Remove and fold back into ...
Andrew Pinski [Sun, 30 May 2004 23:53:32 +0000 (23:53 +0000)]
c-decl.c (c_expand_body_1): Remove and fold back into ...

ChangeLog:
* c-decl.c (c_expand_body_1): Remove and fold back into ...
(c_expand_body): here.
(c_expand_decl): Move to ...
* c-common.c (c_expand_decl): Here and remove check for nested
functions.
* c-common.h (c_expand_decl): Add prototype.
* c-tree.h (c_expand_decl): Remove.

cp/ChangeLog:
* cp-lang.c (cp_expand_decl): Remove.
(LANG_HOOKS_EXPAND_DECL): Use c_expand_decl.

From-SVN: r82469

20 years agofold-const.c (combine_comparisons, [...]): Use constant_boolean_node where appropriate.
Roger Sayle [Sun, 30 May 2004 22:23:19 +0000 (22:23 +0000)]
fold-const.c (combine_comparisons, [...]): Use constant_boolean_node where appropriate.

* fold-const.c (combine_comparisons, optimize_bit_field_compare,
range_binop, fold_truthop, fold_binary_op_with_conditional_arg,
fold_mathfn_compare, fold_inf_compare, fold,
fold_relational_hi_lo, nondestructive_fold_binary_to_constant):
Use constant_boolean_node where appropriate.  Don't bother using
fold_convert on the second argument to omit_one_operand.

From-SVN: r82468