platform/upstream/gcc.git
19 years agoMakefile.in: Add html support.
Mike Stump [Sat, 13 Nov 2004 07:35:55 +0000 (07:35 +0000)]
Makefile.in: Add html support.

        * Makefile.in: Add html support.
        * java/Make-lang.in: Likewise.
        * fortran/Make-lang.in: Likewise.
        * treelang/Make-lang.in: Likewise.
        * doc/install.texi: Likewise.
        * doc/makefile.texi: Likewise.
        * doc/sourcebuild.texi: Likewise.

From-SVN: r90577

19 years ago* Makefile.in (html): Add html generation support.
Mike Stump [Sat, 13 Nov 2004 07:33:27 +0000 (07:33 +0000)]
* Makefile.in (html): Add html generation support.

From-SVN: r90576

19 years agoMakefile.def: Add html support.
Mike Stump [Sat, 13 Nov 2004 07:32:48 +0000 (07:32 +0000)]
Makefile.def: Add html support.

        * Makefile.def: Add html support.
        * Makefile.tpl: Likewise.
        * Makefile.in: Regenerate.

From-SVN: r90575

19 years ago* tree-ssa-loop-manip.c: Fix a comment typo.
Kazu Hirata [Sat, 13 Nov 2004 07:13:48 +0000 (07:13 +0000)]
* tree-ssa-loop-manip.c: Fix a comment typo.

From-SVN: r90574

19 years agocppinternals.texi (Index): Fix html generation with makeinfo by renaming this node...
Mike Stump [Sat, 13 Nov 2004 06:46:45 +0000 (06:46 +0000)]
cppinternals.texi (Index): Fix html generation with makeinfo by renaming this node to Concept Index.

        * doc/cppinternals.texi (Index): Fix html generation with makeinfo by
        renaming this node to Concept Index.
        * doc/gccint.texi (Index): Likewise.  Also minor formatting tweaks
        to more closely match gcc.texi.

From-SVN: r90573

19 years ago* Makefile.in (libiberty.html): Fix html generation.
Mike Stump [Sat, 13 Nov 2004 06:34:59 +0000 (06:34 +0000)]
* Makefile.in (libiberty.html): Fix html generation.

From-SVN: r90572

19 years agolibiberty.texi (Index): Fix html generation with makeinfo by renaming this node to...
Mike Stump [Sat, 13 Nov 2004 06:20:01 +0000 (06:20 +0000)]
libiberty.texi (Index): Fix html generation with makeinfo by renaming this node to Manual Index.

        * libiberty.texi (Index): Fix html generation with makeinfo by
        renaming this node to Manual Index.

From-SVN: r90571

19 years agotree-cfg.c (hashtab.h): Include.
Jeff Law [Sat, 13 Nov 2004 04:18:54 +0000 (21:18 -0700)]
tree-cfg.c (hashtab.h): Include.

* tree-cfg.c (hashtab.h): Include.
(struct edge_to_case_leader_elt): New structure.
(edge_to_case_leader): New.
(edge_to_case_leader_hash): New hashtable hasing function.
(edge_to_case_leader_eq): New hashtable equality function.
(record_switch_edge): New function.
(get_case_leader_for_edge, get_case_leader_for_edge): New functions.
(make_switch_expr_edges): Build the edge-to-case-leader
hash table.  Tear down the hash table when we're done.
(cleanup_dead_labels): Use CASE_LEADER_OR_LABEL instead of
CASE_LABEL.
(tree_node_can_be_shared): Allow sharing of CASE_LABEL_EXPR nodes.
(tree_redirect_edge_and_branch, case SWITCH_EXPR): Update
to use new concept of case leaders to reduce overhead of
redirecting outgoing edges from switch statements.
* tree.c (get_case_label): New function.
* tree.h (CASE_LABEL): Define in terms of get_case_label.
(CASE_LEADER_OR_LABEL): Define.

From-SVN: r90570

19 years agovarasm.c (output_addressed_constants): For CONST_DECLs, output the initializer if...
Ziemowit Laski [Sat, 13 Nov 2004 02:08:44 +0000 (02:08 +0000)]
varasm.c (output_addressed_constants): For CONST_DECLs, output the initializer if present.

[gcc/ChangeLog]
2004-11-12  Ziemowit Laski  <zlaski@apple.com>

       * varasm.c (output_addressed_constants): For CONST_DECLs,
       output the initializer if present.

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

       * objc.dg/const-str-8.m, objc.dg/const-str-9.m:
       New tests.

From-SVN: r90569

19 years agodarwin.h: Fix confusing typo in comment.
Ziemowit Laski [Sat, 13 Nov 2004 01:25:36 +0000 (01:25 +0000)]
darwin.h: Fix confusing typo in comment.

[gcc/ChangeLog]
2004-11-12  Ziemowit Laski  <zlaski@apple.com>

        * config/rs6000/darwin.h: Fix confusing typo in comment.

From-SVN: r90567

19 years ago* optabs.c (vector_compare_rtx): Use COMPARISON_CLASS_P.
Devang Patel [Sat, 13 Nov 2004 01:09:08 +0000 (17:09 -0800)]
* optabs.c (vector_compare_rtx): Use COMPARISON_CLASS_P.

From-SVN: r90566

19 years agotree-if-conv.c (clean_predicate_lists): Use loop header and latch directly.
Devang Patel [Sat, 13 Nov 2004 01:06:39 +0000 (17:06 -0800)]
tree-if-conv.c (clean_predicate_lists): Use loop header and latch directly.

       * tree-if-conv.c (clean_predicate_lists): Use loop header
       and latch directly.

From-SVN: r90565

19 years agoDaily bump.
GCC Administrator [Sat, 13 Nov 2004 00:16:33 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r90563.2

19 years agoDaily bump.
GCC Administrator [Sat, 13 Nov 2004 00:16:22 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r90562.2

19 years agoinclhack.def (sco_math): Bypass on __GNUG__.
Joseph Myers [Fri, 12 Nov 2004 22:26:01 +0000 (22:26 +0000)]
inclhack.def (sco_math): Bypass on __GNUG__.

* inclhack.def (sco_math): Bypass on __GNUG__.
(sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
* fixincl.x: Regenerate.

From-SVN: r90550

19 years agogcc-dg.exp (dg-forbid-option): New function.
Mark Mitchell [Fri, 12 Nov 2004 22:22:16 +0000 (22:22 +0000)]
gcc-dg.exp (dg-forbid-option): New function.

2004-11-12  Mark Mitchell <mark@codesourcery.com>

* lib/gcc-dg.exp (dg-forbid-option): New function.
* g++.dg/abi/bitfield3.C: Use dg-forbid-option -m64.
* g++.dg/abi/bitfield8.C: Likewise.
* g++.dg/abi/dtor1.C: Likewise.
* g++.dg/abi/empty10.C: Likewise.
* g++.dg/abi/empty7.C: Likewise.
* g++.dg/abi/empty9.C: Likewise.
* g++.dg/abi/layout3.C: Likewise.
* g++.dg/abi/layout4.C: Likewise.
* g++.dg/abi/thunk1.C: Likewise.
* g++.dg/abi/thunk2.C: Likewise.
* g++.dg/abi/vbase11.C: Likewise.
* g++.dg/abi/vthunk2.C: Likewise.
* g++.dg/abi/vthunk3.C: Likewise.
* g++.dg/ext/attrib8.C: Likewise.
* g++.dg/opt/longbranch2.C: Likewise.
* g++.dg/opt/reg-stack4.C: Likewise.
* g++.old-deja/g++.ext/attrib1.C: Likewise.
* g++.old-deja/g++.ext/attrib2.C: Likewise.
* g++.old-deja/g++.ext/attrib3.C: Likewise.
* g++.old-deja/g++.other/store-expr1.C: Likewise.
* g++.old-deja/g++.other/store-expr2.C: Likewise.
* gcc.dg/20000609-1.c: Likewise.
* gcc.dg/20000720-1.c: Likewise.
* gcc.dg/20011107-1.c: Likewise.
* gcc.dg/20011119-1.c: Likewise.
* gcc.dg/20020108-1.c: Likewise.
* gcc.dg/20020122-2.c: Likewise.
* gcc.dg/20020122-3.c: Likewise.
* gcc.dg/20020201-3.c: Likewise.
* gcc.dg/20020206-1.c: Likewise.
* gcc.dg/20020218-1.c: Likewise.
* gcc.dg/20020310-1.c: Likewise.
* gcc.dg/20020411-1.c: Likewise.
* gcc.dg/20020418-2.c: Likewise.
* gcc.dg/20020426-1.c: Likewise.
* gcc.dg/20020426-2.c: Likewise.
* gcc.dg/20020517-1.c: Likewise.
* gcc.dg/20020523-1.c: Likewise.
* gcc.dg/20020523-2.c: Likewise.
* gcc.dg/20020729-1.c: Likewise.
* gcc.dg/20030204-1.c: Likewise.
* gcc.dg/20030826-2.c: Likewise.
* gcc.dg/20030926-1.c: Likewise.
* gcc.dg/20031202-1.c: Likewise.
* gcc.dg/980312-1.c: Likewise.
* gcc.dg/980313-1.c: Likewise.
* gcc.dg/990117-1.c: Likewise.
* gcc.dg/990424-1.c: Likewise.
* gcc.dg/990524-1.c: Likewise.
* gcc.dg/991230-1.c: Likewise.
* gcc.dg/i386-387-1.c: Likewise.
* gcc.dg/i386-387-2.c: Likewise.
* gcc.dg/i386-387-3.c: Likewise.
* gcc.dg/i386-387-4.c: Likewise.
* gcc.dg/i386-387-5.c: Likewise.
* gcc.dg/i386-387-6.c: Likewise.
* gcc.dg/i386-asm-1.c: Likewise.
* gcc.dg/i386-bitfield1.c: Likewise.
* gcc.dg/i386-bitfield2.c: Likewise.
* gcc.dg/i386-loop-1.c: Likewise.
* gcc.dg/i386-loop-2.c: Likewise.
* gcc.dg/i386-loop-3.c: Likewise.
* gcc.dg/i386-pentium4-not-mull.c: Likewise.
* gcc.dg/i386-pic-1.c: Likewise.
* gcc.dg/i386-regparm.c: Likewise.
* gcc.dg/i386-signbit-1.c: Likewise.
* gcc.dg/i386-signbit-2.c: Likewise.
* gcc.dg/i386-signbit-3.c: Likewise.
* gcc.dg/i386-sse-5.c: Likewise.
* gcc.dg/i386-sse-8.c: Likewise.
* gcc.dg/i386-unroll-1.c: Likewise.
* gcc.dg/tls/opt-1.c: Likewise.
* gcc.dg/tls/opt-2.c: Likewise.
* gcc.dg/unroll-1.c: Likewise.
* gcc.misc-tests/i386-pf-3dnow-1.c: Likewise.
* gcc.misc-tests/i386-pf-athlon-1.c: Likewise.
* gcc.misc-tests/i386-pf-none-1.c: Likewise.
* gcc.misc-tests/i386-pf-sse-1.c: Likewise.
* gcc.c-torture/execute/20010129-1.x: Do not use -mtune=i686 when
-m64 is specified.

From-SVN: r90549

19 years agore PR c++/18389 (ICE on struct declaration in for statement)
Mark Mitchell [Fri, 12 Nov 2004 21:47:13 +0000 (21:47 +0000)]
re PR c++/18389 (ICE on struct declaration in for statement)

PR c++/18389
* decl.c (start_decl): Make sure to set *pop_scope_p.  Return
error_mark_node to indicate errors.

PR c++/18429
* parser.c (cp_parser_direct_declarator): Disallow non-constant
array bounds when not inside a function.

PR c++/18436
* pt.c (tsubst_copy_and_build): Do not do Koenig lookup when an
unqualified name resolves to a member function.

PR c++/18407
* pt.c (tsubst_copy_and_build): Handle qualified names used from a
derived class correctly.

* decl2.c (import_export_decl): Fix typo in comment.
* tree.c (pod_type_p): Likewise.

PR c++/18389
* g++.dg/parse/cond1.C: New test.

PR c++/18429
* g++.dg/template/array9.C: New test.
* g++.dg/ext/vla1.C: Adjust error messages.
* g++.dg/ext/vlm1.C: Likewise.
* g++.dg/template/crash2.C: Likewise.

PR c++/18436
* g++.dg/template/call3.C: New test.

PR c++/18407
* g++.dg/template/ptrmem11.C: New test.

From-SVN: r90545

19 years agore PR target/17778 (regression in evaluating long double hexadecimal constants)
Richard Henderson [Fri, 12 Nov 2004 21:15:23 +0000 (13:15 -0800)]
re PR target/17778 (regression in evaluating long double hexadecimal constants)

        PR 17778
        * config/i386/i386.h (TARGET_96_ROUND_53_LONG_DOUBLE): New.
        * config/i386/freebsd.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
        (TARGET_96_ROUND_53_LONG_DOUBLE): New.
        * config/i386/i386-modes.def (XF): Use it.

From-SVN: r90543

19 years agore PR testsuite/14264 (testsuite should set LC_ALL/LANG to C)
Andrew Pinski [Fri, 12 Nov 2004 19:43:57 +0000 (19:43 +0000)]
re PR testsuite/14264 (testsuite should set LC_ALL/LANG to C)

2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>

        PR other/14264
        * lib/g++.exp: Set LC_ALL and LANG to C.
        * lib/gcc-dg.exp: Likewise.
        * lib/gfortran.exp: Likewise.
        * lib/objc.exp: Likewise.
        * lib/treelang.exp: Likewise.
2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>

        PR other/14264
        * testsuite/lib/libstdc++.exp: Set LC_ALL and LANG to C.
2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>

        PR other/14264
        * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.

From-SVN: r90539

19 years agoFileLock.java (isValid): locks are valid if the channel is open.
Casey Marshall [Fri, 12 Nov 2004 19:15:27 +0000 (19:15 +0000)]
FileLock.java (isValid): locks are valid if the channel is open.

2004-11-11  Casey Marshall  <csm@gnu.org>

* gnu/java/nio/FileLock.java (isValid): locks are valid if the
channel is open.
* gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.

From-SVN: r90538

19 years agore PR other/18423 (powerpc-eabisim build broken due to configure skipping fixincludes)
Geoffrey Keating [Fri, 12 Nov 2004 19:15:22 +0000 (19:15 +0000)]
re PR other/18423 (powerpc-eabisim build broken due to configure skipping fixincludes)

PR 18423
* configure.in: Remove all instances of build-fixincludes from
noconfigdirs.
(build_configargs): Supply --target to subdirectories.
* configure: Regenerate.

From-SVN: r90537

19 years agoMakefile.def: Make gcc install depend on fixincludes install.
Geoffrey Keating [Fri, 12 Nov 2004 19:10:29 +0000 (19:10 +0000)]
Makefile.def: Make gcc install depend on fixincludes install.

* Makefile.def: Make gcc install depend on fixincludes install.
* Makefile.in: Regenerate.

From-SVN: r90536

19 years agoMakefile.in (macro_list): Use move-if-change to avoid spurious rebuilds.
Geoffrey Keating [Fri, 12 Nov 2004 19:07:54 +0000 (19:07 +0000)]
Makefile.in (macro_list): Use move-if-change to avoid spurious rebuilds.

* Makefile.in (macro_list): Use move-if-change to avoid spurious
rebuilds.

From-SVN: r90535

19 years ago* gcc.dg/pr16286.c: Fix last change.
Andreas Schwab [Fri, 12 Nov 2004 17:09:10 +0000 (17:09 +0000)]
* gcc.dg/pr16286.c: Fix last change.

From-SVN: r90533

19 years agore PR c++/18416 (ICE in import_export_decl)
Mark Mitchell [Fri, 12 Nov 2004 16:37:52 +0000 (16:37 +0000)]
re PR c++/18416 (ICE in import_export_decl)

PR c++/18416
* passes.c (rest_of_decl_compilation): Do not look at DECL_RTL
when deciding whether to pass a variable to
cgraph_varpool_finalize_decl or assemble_variable.
* toplev.c (check_global_declarations): Do not clear DECL_RTL.

PR c++/18416
* g++.dg/init/global1.C: New test.

From-SVN: r90532

19 years ago* tree-vectorizer.c: Fix a comment typo.
Kazu Hirata [Fri, 12 Nov 2004 15:15:50 +0000 (15:15 +0000)]
* tree-vectorizer.c: Fix a comment typo.

From-SVN: r90531

19 years ago* genconfig.c (walk_insn_part): Look at match_dups inside a label_ref.
Bernd Schmidt [Fri, 12 Nov 2004 14:09:26 +0000 (14:09 +0000)]
* genconfig.c (walk_insn_part): Look at match_dups inside a label_ref.

From-SVN: r90530

19 years agoFix ChangeLog Entry for 2004-11-10 James A. Morrison <phython@gcc.gnu.org>
James A. Morrison [Fri, 12 Nov 2004 13:50:33 +0000 (13:50 +0000)]
Fix ChangeLog Entry for 2004-11-10  James A. Morrison  <phython@gcc.gnu.org>

From-SVN: r90529

19 years agotree-scalar-evolution.c (analyzable_condition): Remove superfluous TREE_THIS_VOLATILE...
Diego Novillo [Fri, 12 Nov 2004 13:28:16 +0000 (13:28 +0000)]
tree-scalar-evolution.c (analyzable_condition): Remove superfluous TREE_THIS_VOLATILE checks on SSA_NAMEs.

* tree-scalar-evolution.c (analyzable_condition): Remove
superfluous TREE_THIS_VOLATILE checks on SSA_NAMEs.

From-SVN: r90528

19 years agoFixed regression:
Robert Schuster [Fri, 12 Nov 2004 13:17:42 +0000 (13:17 +0000)]
Fixed regression:

2004-11-11  Robert Schuster <thebohemian@gmx.net>

       Fixed regression:
       * gnu/java/beans/IntrospectionIncubator.java:
       (addMethod): corrected classification of normal and property methods
       (capitalize): added documentation
       (DoubleKey): [class] added documentation

From-SVN: r90527

19 years agot-rtems (MULTILIB_NEW_EXCEPTIONS_ONLY): Remove m505/roe multilib variant.
Ralf Corsepius [Fri, 12 Nov 2004 10:14:36 +0000 (11:14 +0100)]
t-rtems (MULTILIB_NEW_EXCEPTIONS_ONLY): Remove m505/roe multilib variant.

2004-11-12  Ralf Corsepius  <ralf.corsepius@rtems.org>

* config/rs6000/t-rtems (MULTILIB_NEW_EXCEPTIONS_ONLY):
Remove m505/roe multilib variant.

From-SVN: r90525

19 years ago* gcc.c-torture/execute/20041112-1.c: New test.
Eric Botcazou [Fri, 12 Nov 2004 09:03:03 +0000 (10:03 +0100)]
* gcc.c-torture/execute/20041112-1.c: New test.

From-SVN: r90522

19 years agoexpr.c (emit_group_load): Use extract_bit_field to load from the stack.
Eric Botcazou [Fri, 12 Nov 2004 06:59:47 +0000 (07:59 +0100)]
expr.c (emit_group_load): Use extract_bit_field to load from the stack.

* expr.c (emit_group_load) <CONCAT>: Use extract_bit_field
to load from the stack.

From-SVN: r90521

19 years agotoplev.c (floor_log2): Rename from floor_log2_wide, use CLZ_HWI.
Richard Henderson [Fri, 12 Nov 2004 02:24:51 +0000 (18:24 -0800)]
toplev.c (floor_log2): Rename from floor_log2_wide, use CLZ_HWI.

        * toplev.c (floor_log2): Rename from floor_log2_wide, use CLZ_HWI.
        (exact_log2): Rename from exact_log2_wide, use CTZ_HWI.
        * toplev.h (FL2T__): Remove.
        (CLZ_HWI): Rename from FL2T_CLZ__.
        (CTZ_HWI): New.
        (floor_log2): Simplify.
        (exact_log2): New.

From-SVN: r90519

19 years ago* lib/gcc-dg.exp (dg-target-list): New.
Janis Johnson [Fri, 12 Nov 2004 01:13:02 +0000 (01:13 +0000)]
* lib/gcc-dg.exp (dg-target-list): New.

From-SVN: r90516

19 years agotarget-supports.exp (get-compiler_messages): New.
Janis Johnson [Fri, 12 Nov 2004 01:11:01 +0000 (01:11 +0000)]
target-supports.exp (get-compiler_messages): New.

* lib/target-supports.exp (get-compiler_messages): New.
(check_named_sections_available): Use it.
(check_effective_target_ilp32): New.
(check_effective_target_lp64): New.
(is-effective-target): New.
* lib/gcc-dg.exp (dg-require-effective-target): New.

Co-Authored-By: Richard Sandiford <rsandifo@redhat.com>
From-SVN: r90515

19 years agoDaily bump.
GCC Administrator [Fri, 12 Nov 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r90513

19 years agore PR middle-end/18005 (ICE with simple loop with VLA)
Sebastian Pop [Fri, 12 Nov 2004 00:13:06 +0000 (01:13 +0100)]
re PR middle-end/18005 (ICE with simple loop with VLA)

* tree-data-ref.c (analyze_subscript_affine_affine): Correctly
compute the first overlapping iterations.

PR middle-end/18005
* tree-data-ref.c (estimate_niter_from_size_of_data): Ensure
that arguments of EXACT_DIV_EXPR are INTEGER_CST.

From-SVN: r90510

19 years agoWhen will I remember to add a PR number...
Steven Bosscher [Fri, 12 Nov 2004 00:10:11 +0000 (00:10 +0000)]
When will I remember to add a PR number...

From-SVN: r90509

19 years agotree-ssa.c (walk_use_def_chains_1): Make the visited map a pointer set instead of...
Steven Bosscher [Fri, 12 Nov 2004 00:08:41 +0000 (00:08 +0000)]
tree-ssa.c (walk_use_def_chains_1): Make the visited map a pointer set instead of a bitmap.

* tree-ssa.c (walk_use_def_chains_1): Make the visited map a
pointer set instead of a bitmap.
(walk_use_def_chains): Create, pass and clean up that pointer_set.

* tree-ssa-alias.c (struct alias_info): Make the ssa_names_visited
field an sbitmap.
(init_alias_info): Allocate and zero it here.
(delete_alias_info): Delete it here.
(collect_points_to_info_for): Use it.

From-SVN: r90508

19 years agovarasm.c (get_named_section_flags, [...]): Make them static.
Kazu Hirata [Thu, 11 Nov 2004 23:15:52 +0000 (23:15 +0000)]
varasm.c (get_named_section_flags, [...]): Make them static.

* varasm.c (get_named_section_flags, decl_tls_model): Make
them static.
* output.h: Remove the prototype for get_named_section_flags.
* tree.h: Remove the prototype for decl_tls_model.

From-SVN: r90506

19 years agoc-typeck.c (c_size_in_bytes, [...]): Make them static.
Kazu Hirata [Thu, 11 Nov 2004 23:14:21 +0000 (23:14 +0000)]
c-typeck.c (c_size_in_bytes, [...]): Make them static.

* c-typeck.c (c_size_in_bytes, record_maybe_used_decl):
Make them static.
* c-tree.h: Remove the corresponding prototypes.

From-SVN: r90505

19 years agoc-typeck.c (c_size_in_bytes, [...]): Make them static.
Kazu Hirata [Thu, 11 Nov 2004 23:13:12 +0000 (23:13 +0000)]
c-typeck.c (c_size_in_bytes, [...]): Make them static.

* c-typeck.c (c_size_in_bytes, record_maybe_used_decl):
Make them static.
* c-tree.h: Remove the corresponding prototypes.

From-SVN: r90504

19 years agocfgloopmanip.c (update_single_exits_after_duplication, unloop): Make them static.
Kazu Hirata [Thu, 11 Nov 2004 23:11:39 +0000 (23:11 +0000)]
cfgloopmanip.c (update_single_exits_after_duplication, unloop): Make them static.

* cfgloopmanip.c (update_single_exits_after_duplication,
unloop): Make them static.
* cfgloop.h: Remove the corresponding prototypes.

From-SVN: r90503

19 years agocfglayout.c (choose_inner_scope): Make it static.
Kazu Hirata [Thu, 11 Nov 2004 23:10:10 +0000 (23:10 +0000)]
cfglayout.c (choose_inner_scope): Make it static.

* cfglayout.c (choose_inner_scope): Make it static.
* rtl.h: Remove the corresponding prototype.

From-SVN: r90502

19 years agoalias.c (record_alias_subset, [...]): Make them static.
Kazu Hirata [Thu, 11 Nov 2004 23:08:56 +0000 (23:08 +0000)]
alias.c (record_alias_subset, [...]): Make them static.

* alias.c (record_alias_subset, addr_side_effect_eval):
Make them static.
* alias.h: Remove the prototype for record_alias_subset.
* expr.h: Remove the commented-out prototype for
record_alias_subset.
* rtl.h: Remove the prototype for addr_side_effect_eval.

From-SVN: r90501

19 years agoFix a ChangeLog typo in the last commit.
Kazu Hirata [Thu, 11 Nov 2004 22:05:06 +0000 (22:05 +0000)]
Fix a ChangeLog typo in the last commit.

From-SVN: r90498

19 years agofunction.c (expand_function_end): Remove an "if" statement that always trigger.
Kazu Hirata [Thu, 11 Nov 2004 22:02:47 +0000 (22:02 +0000)]
function.c (expand_function_end): Remove an "if" statement that always trigger.

* function.c (expand_function_end): Remove an "if" statement
that always trigger.
* stmt.c (expand_null_return_1): Likewise.

From-SVN: r90497

19 years agoFix complex long double testsuite failures.
James E Wilson [Thu, 11 Nov 2004 21:20:22 +0000 (13:20 -0800)]
Fix complex long double testsuite failures.

* config/ia64/ia64.h (HARD_REGNO_NREGS): Handle XCmode.
(HARD_REGNO_MODE_OK, MODES_TIEABLE_P, SECONDARY_MEMORY_NEEDED,
CLASS_MAX_NREGS): Likewise.

From-SVN: r90495

19 years ago* gcc.dg/precedence-1.c: New test.
Joseph Myers [Thu, 11 Nov 2004 20:36:26 +0000 (20:36 +0000)]
* gcc.dg/precedence-1.c: New test.

From-SVN: r90493

19 years agore PR tree-optimization/17742 (C Optimization error with -O1 on i686)
Zdenek Dvorak [Thu, 11 Nov 2004 20:12:34 +0000 (21:12 +0100)]
re PR tree-optimization/17742 (C Optimization error with -O1 on i686)

PR tree-optimization/17742
* tree-scalar-evolution.c (follow_ssa_edge_in_rhs): Handle
MINUS_EXPR correctly.

From-SVN: r90492

19 years agotree-scalar-evolution.c (follow_ssa_edge_in_condition_phi): Give up as soon as the...
Sebastian Pop [Thu, 11 Nov 2004 19:25:58 +0000 (20:25 +0100)]
tree-scalar-evolution.c (follow_ssa_edge_in_condition_phi): Give up as soon as the evolution is known not computable.

* tree-scalar-evolution.c (follow_ssa_edge_in_condition_phi):
Give up as soon as the evolution is known not computable.

From-SVN: r90491

19 years ago* gcc.misc-tests/linkage.exp: Handle biarch GCC for powerpc64.
Janis Johnson [Thu, 11 Nov 2004 18:01:56 +0000 (18:01 +0000)]
* gcc.misc-tests/linkage.exp: Handle biarch GCC for powerpc64.

From-SVN: r90488

19 years agolinkage.exp: Prepend directory name to pass/fail message...
Janis Johnson [Thu, 11 Nov 2004 18:00:30 +0000 (18:00 +0000)]
linkage.exp: Prepend directory name to pass/fail message...

* gcc.misc-tests/linkage.exp: Prepend directory name to pass/fail
message, delete generated files, use more descriptive name for
executable, and make the test unsupported when it cannot be run.

From-SVN: r90487

19 years agogcc-dg.exp (skip_test_and_clear_xfail): New procedure.
Janis Johnson [Thu, 11 Nov 2004 17:59:05 +0000 (17:59 +0000)]
gcc-dg.exp (skip_test_and_clear_xfail): New procedure.

* lib/gcc-dg.exp (skip_test_and_clear_xfail): New procedure.
(dg-require-weak, dg-require-visibility, dg-require-alias,
dg-require-gc-sections, dg-require-profiling, dg-require-dll,
dg-require-iconv, dg-require-named-sections): Use it.

From-SVN: r90486

19 years ago* lib/gcc-dg.exp (dg-xfail-if): Ignore if skipping the test.
Janis Johnson [Thu, 11 Nov 2004 17:57:53 +0000 (17:57 +0000)]
* lib/gcc-dg.exp (dg-xfail-if): Ignore if skipping the test.

From-SVN: r90485

19 years agore PR target/16457 (PowerPC - Combine two rldicr instructions into a single rlwinm.)
Nathan Sidwell [Thu, 11 Nov 2004 17:03:36 +0000 (17:03 +0000)]
re PR target/16457 (PowerPC - Combine two rldicr instructions into a single rlwinm.)

.: PR target/16457
* config/rs6000/rs6000.c (mask64_2_operand): Stub to call
mask64_1or2_operand.
(mask64_1or_2_operand): Broken out of mask64_2_operand, add flag
to spot rlwinm opportunities.
(and64_2_operand): Use mask_1or2_operand.
* config/rs6000/rs6000.md (anddi3): Use rlwinm when possible.
testsuite:
PR target/16457
* gcc.dg/ppc-and-1: New

From-SVN: r90481

19 years agotree-vectorizer.c (update_phi_nodes_for_guard): Call reverse_phis.
Dorit Naishlos [Thu, 11 Nov 2004 16:56:54 +0000 (16:56 +0000)]
tree-vectorizer.c (update_phi_nodes_for_guard): Call reverse_phis.

2004-11-11  Dorit Naishlos  <dorit@il.ibm.com>

        * tree-vectorizer.c (update_phi_nodes_for_guard): Call reverse_phis.
        (vect_update_ivs_after_vectorizer): Update function documentation.
        Avoid quadratic behavior and direct write to PHI_ARG_DEF.

From-SVN: r90480

19 years ago* config/arm/arm.c: Fix a comment typo.
Kazu Hirata [Thu, 11 Nov 2004 14:52:54 +0000 (14:52 +0000)]
* config/arm/arm.c: Fix a comment typo.

From-SVN: r90479

19 years agobitmap.h (nBITMAP_WORD_BITS): Remove.
Nathan Sidwell [Thu, 11 Nov 2004 10:36:27 +0000 (10:36 +0000)]
bitmap.h (nBITMAP_WORD_BITS): Remove.

* bitmap.h (nBITMAP_WORD_BITS): Remove.
(BITMAP_WORD_BITS): Force unsigned by use of 1u.
(BITMAP_ELEMENT_WORDS, BITMAP_ELEMENT_ALL_BITS): Remove
unnecessary casts.
(bitmap_first_set_bit): Return unsigned, use ctzl.
(bitmap_last_set_bit): Remove.
* bitmap.c (bitmap_element_zerop, bitmap_copy): Make iterator
unsigned.
(bitmap_first_set_bit): Return unsigned, require non-empty bitmap,
remove special case code for two word elements.
(bitmap_last_set_bit): Remove.
* ra-build.c (livethrough_conflicts_bb): Replace unnecessary use of
bitmap_first_set_bit with bitmap_empty_p.
* tree-outof-ssa.c (analyze_edges_for_bb): Likewise.
* tree-ssa-pre.c (bitmap_print_value): Use simple flag rather than
bitmap_last_bit_set.

From-SVN: r90478

19 years agoRemove CVS conflict marking.
Jakub Jelinek [Thu, 11 Nov 2004 09:48:15 +0000 (10:48 +0100)]
Remove CVS conflict marking.

From-SVN: r90477

19 years agore PR rtl-optimization/16796 (PowerPC - Unnecessary Floating Point Register Copy)
Nathan Sidwell [Thu, 11 Nov 2004 08:49:17 +0000 (08:49 +0000)]
re PR rtl-optimization/16796 (PowerPC - Unnecessary Floating Point Register Copy)

.: PR target/16796
* config/rs6000/rs6000.md: Add DF & SF reg move peepholes.
testsuite:
PR target/16796
* gcc.dg/ppc-mov-1.c: New.

From-SVN: r90476

19 years agore PR target/16458 (PowerPC - redundant compare)
Nathan Sidwell [Thu, 11 Nov 2004 08:40:43 +0000 (08:40 +0000)]
re PR target/16458 (PowerPC - redundant compare)

.: PR target/16458
* config/rs6000/rs6000.c (rs6000_generate_compare): Generate an
unsigned equality compare when we know the operands are unsigned.
testsuite:
PR target/16458
* gcc.dg/ppc-compare-1.c: New.

From-SVN: r90475

19 years agolinux.h (LINUX_TARGET_OS_CPP_BUILTINS): Define __PIC__ and __pic__ only if TARGET_ABI...
Peter S. Mazinger [Thu, 11 Nov 2004 03:18:02 +0000 (03:18 +0000)]
linux.h (LINUX_TARGET_OS_CPP_BUILTINS): Define __PIC__ and __pic__ only if TARGET_ABICALLS.

2004-11-10  Peter S. Mazinger  <ps.m@gmx.net>

* config/mips/linux.h (LINUX_TARGET_OS_CPP_BUILTINS): Define
__PIC__ and __pic__ only if TARGET_ABICALLS.
(SUBTARGET_CPP_SPECS): Don't define or undefine __PIC__ and __pic__.
(SUBTARGET_ASM_SPECS): Don't pass -non_shared to assembler; pass
-KPIC only if not -mno-abicalls.

* config/alpha/linux.h, config/arm/linux-elf.h, config/pa/pa-linux.h
* config/sparc/linux.h, config/sparc/linux64.h
(TARGET_OS_CPP_BUILTINS): Define __PIC__ and __pic__ if flag_pic.

* config/arm/linux-gas.h (CPP_SPEC): Don't define __PIC__ or __pic__.
* config/pa/pa/linux.h (CPP_SPEC): Likewise.
* config/sparc/linux.h (CPP_SUBTARGET_SPEC): Likewise.
* config/sparc/linux64.h (CPP_SUBTARGET_SPEC): Likewise.

From-SVN: r90470

19 years agotypeck.c (cxx_mark_addressable): Add braces around the first if.
Andrew Pinski [Thu, 11 Nov 2004 03:13:03 +0000 (03:13 +0000)]
typeck.c (cxx_mark_addressable): Add braces around the first if.

2004-11-10  Andrew Pinski  <pinskia@physics.uc.edu>

        * typeck.c (cxx_mark_addressable): Add braces around the first if.

From-SVN: r90469

19 years agoarm.c (arm_compute_save_reg0_reg12_mask): Save PIC register if current_function_uses_...
Paul Brook [Thu, 11 Nov 2004 01:24:07 +0000 (01:24 +0000)]
arm.c (arm_compute_save_reg0_reg12_mask): Save PIC register if current_function_uses_pic_offset_table is set.

* config/arm/arm.c (arm_compute_save_reg0_reg12_mask): Save PIC
register if current_function_uses_pic_offset_table is set.

From-SVN: r90465

19 years agoDaily bump.
GCC Administrator [Thu, 11 Nov 2004 00:16:33 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r90462

19 years ago* objc.dg/desig-init-2.m: New test.
Joseph Myers [Wed, 10 Nov 2004 22:44:24 +0000 (22:44 +0000)]
* objc.dg/desig-init-2.m: New test.

From-SVN: r90459

19 years agoAdd 2004 to copyright notices.
David Edelsohn [Wed, 10 Nov 2004 22:00:27 +0000 (17:00 -0500)]
Add 2004 to copyright notices.

From-SVN: r90457

19 years agors6000.md (define_attr "type"): Add two and three.
David Edelsohn [Wed, 10 Nov 2004 21:57:14 +0000 (21:57 +0000)]
rs6000.md (define_attr "type"): Add two and three.

        * config/rs6000/rs6000.md (define_attr "type"): Add two and three.
        Change multi-instruction sequences to new attribute.
        * config/rs6000/{40x.md,440.md,603.md,6xx.md,
        7450.md,7xx.md,8540.md,mpc.md,power4.md,power5.md,
        rios1.md,rios2.md,rs64.md}: Add descriptions for two and three.

From-SVN: r90456

19 years agotree-data-ref.c (build_classic_dist_vector): If either loop is outside of the nest...
Daniel Berlin [Wed, 10 Nov 2004 21:32:10 +0000 (21:32 +0000)]
tree-data-ref.c (build_classic_dist_vector): If either loop is outside of the nest we asked about, the dependence can't matter.

2004-11-10  Daniel Berlin  <dberlin@dberlin.org>

* tree-data-ref.c (build_classic_dist_vector): If either loop
is outside of the nest we asked about, the dependence can't
matter.
(build_classic_dir_vector): Ditto.

From-SVN: r90454

19 years agore PR middle-end/18160 (ICE on taking register variable address)
Adam Nemet [Wed, 10 Nov 2004 21:09:58 +0000 (21:09 +0000)]
re PR middle-end/18160 (ICE on taking register variable address)

PR middle-end/18160
* g++.dg/warn/register-var-1.C: New test.
* g++.dg/warn/register-var-2.C: New test.

From-SVN: r90453

19 years agore PR middle-end/18160 (ICE on taking register variable address)
Adam Nemet [Wed, 10 Nov 2004 21:09:25 +0000 (21:09 +0000)]
re PR middle-end/18160 (ICE on taking register variable address)

PR middle-end/18160
* typeck.c (cxx_mark_addressable): Issue an error if address of an
explicit register variable is requested.

From-SVN: r90452

19 years agotree-ssa-loop-ivopts.c (get_address_cost): Add address elements in right order.
Zdenek Dvorak [Wed, 10 Nov 2004 20:49:55 +0000 (21:49 +0100)]
tree-ssa-loop-ivopts.c (get_address_cost): Add address elements in right order.

* tree-ssa-loop-ivopts.c (get_address_cost): Add address elements in
right order.
(force_var_cost): Determine cost of addition and multiplication more
precisely.
(get_computation_cost_at): Add cost for computing address elements to
the final cost.

* fold-const.c (fold): Attempt to use ptr_difference_const whenever
one of the arguments of MINUS_EXPR is an address.
(split_address_to_core_and_offset): New function.
(ptr_difference_const): Handle case when one of the operands is a
pointer.
* tree-ssa-loop-ivopts.c (determine_base_object): Fold &*addr.
(ptr_difference_cost): Pass addresses instead of objects to
ptr_difference_const.

From-SVN: r90451

19 years agore PR fortran/18375 (ICE when compiling spec benchmark fma3d)
Paul Brook [Wed, 10 Nov 2004 20:03:21 +0000 (20:03 +0000)]
re PR fortran/18375 (ICE when compiling spec benchmark fma3d)

PR fortran/18375
* trans-expr.c (gfc_trans_subarray_assign): Free shape before ss.
* trans-io.c (transfer_array_component): Ditto.

From-SVN: r90449

19 years agoTest for PR tree-optimization/17892.
Fariborz Jahanian [Wed, 10 Nov 2004 19:06:53 +0000 (19:06 +0000)]
Test for PR tree-optimization/17892.

From-SVN: r90447

19 years ago* MAINTAINERS: Add myself as gcc testsuite maintainer.
Janis Johnson [Wed, 10 Nov 2004 18:21:08 +0000 (18:21 +0000)]
* MAINTAINERS: Add myself as gcc testsuite maintainer.

From-SVN: r90401

19 years agore PR c++/18143 (Duplicated thunk with a huge member in the hierarchy)
Nathan Sidwell [Wed, 10 Nov 2004 17:34:47 +0000 (17:34 +0000)]
re PR c++/18143 (Duplicated thunk with a huge member in the hierarchy)

.: * tree.c (tree_check_failed): Emit general error if the list of
node types is empty.
cp:
PR c++/18143
* cp-tree.h (NON_THUNK_FUNCTION_CHECK, THUNK_FUNCTION_CHECK): New.
(struct lang_decl_flags): Add thunk_p flag.
(struct lang_decl): Remove separate fixed_offset. Place
cloned_function and fixed_offset into union.
(DECL_CLONED_FUNCTION_P, DECL_CLONED_FUNCTION): Adjust.
(DECL_THUNK_P, SET_DECL_THUNK_P): Adjust.
(THUNK_FIXED_OFFSET): Adjust.
* method.c (make_thunk): Adjust.

From-SVN: r90399

19 years agosparc.c (function_arg_union_value): New 'slotno' argument.
Eric Botcazou [Wed, 10 Nov 2004 17:24:19 +0000 (18:24 +0100)]
sparc.c (function_arg_union_value): New 'slotno' argument.

* config/sparc/sparc.c (function_arg_union_value): New 'slotno'
argument.  When the union is passed in the 6th slot, build a
PARALLEL with only one element.
(function_arg): Adjust call to function_arg_union_value.
(function_value): Likewise.

From-SVN: r90396

19 years agore PR tree-optimization/17892 (gcc-4.0 should not reassociate floating point add...
Fariborz Jahanian [Wed, 10 Nov 2004 17:17:48 +0000 (17:17 +0000)]
re PR tree-optimization/17892 (gcc-4.0 should not reassociate floating point add or multiplication)

Fix for PR tree-optimization/17892.
OKed by Roger Sayle.

From-SVN: r90395

19 years agore PR c++/18369 (Segfault on braced new)
Mark Mitchell [Wed, 10 Nov 2004 17:01:00 +0000 (17:01 +0000)]
re PR c++/18369 (Segfault on braced new)

PR c++/18369
* init.c (build_new_1): Handle parenthesized type-ids that name an
array type.  Tidy.

PR c++/18369
* g++.dg/init/new12.C: New test.

From-SVN: r90394

19 years agore PR target/18230 (SPARC VIS instructions are not generated by GCC)
James A. Morrison [Wed, 10 Nov 2004 10:14:36 +0000 (10:14 +0000)]
re PR target/18230 (SPARC VIS instructions are not generated by GCC)

PR target/18230
(addsi3, subsi3): Set "fptype" attribute.
(addv2si, addv4hi, addv2hi, subv2si, subv4hi, subv2hi): New
patterns.

From-SVN: r90391

19 years agobasic-block.h (XMALLOC_REG_SET, [...]): New.
Steven Bosscher [Wed, 10 Nov 2004 09:28:29 +0000 (09:28 +0000)]
basic-block.h (XMALLOC_REG_SET, [...]): New.

* basic-block.h (XMALLOC_REG_SET, XFREE_REG_SET): New.
(struct basic_block_def): Remove local_set and cond_local_set
fields.  Update comment for global_live_at_start.
* flow.c (calculate_global_regs_live): Allocate local_sets and
cond_local_sets here as arrays of bitmaps previously stored in
bb->local_set and bb->cond_local_set.  Use xmalloc instead of
obstack allocated bitmaps.

From-SVN: r90390

19 years agore PR target/18380 (_Unwind_FindTableEntry shouldn't be exported from libunwind.so.7)
H.J. Lu [Wed, 10 Nov 2004 06:33:28 +0000 (06:33 +0000)]
re PR target/18380 (_Unwind_FindTableEntry shouldn't be exported from libunwind.so.7)

2004-11-09  H.J. Lu  <hongjiu.lu@intel.com>

PR target/18380
* config/ia64/unwind-ia64.h (_Unwind_FindTableEntry): Mark it
hidden.

* unwind-dw2.c (_Unwind_FindTableEntry): Removed.

From-SVN: r90387

19 years agocfganal.c (flow_dfs_compute_reverse_execute): Accept new argument holding last unvisi...
Jeff Law [Wed, 10 Nov 2004 05:03:10 +0000 (22:03 -0700)]
cfganal.c (flow_dfs_compute_reverse_execute): Accept new argument holding last unvisited block.

        * cfganal.c (flow_dfs_compute_reverse_execute): Accept new
        argument holding last unvisited block.  Start search for
        unvisited blocks at LAST_UNVISITED rather than EXIT_BLOCK.
        (connect_infinite_loops_to_exit): Supply last unvisited block
        to flow_dfs_compute_reverse_execute.

From-SVN: r90386

19 years agoCommitted wrong version of previous patch.
Paul Brook [Wed, 10 Nov 2004 02:44:39 +0000 (02:44 +0000)]
Committed wrong version of previous patch.

From-SVN: r90384

19 years ago* invoke.texi: Fix typo.
Paul Brook [Wed, 10 Nov 2004 02:35:05 +0000 (02:35 +0000)]
* invoke.texi: Fix typo.

From-SVN: r90383

19 years agore PR fortran/18218 (Miscompare in sixtrack benchmark caused by loss of precision)
Paul Brook [Wed, 10 Nov 2004 02:19:27 +0000 (02:19 +0000)]
re PR fortran/18218 (Miscompare in sixtrack benchmark caused by loss of precision)

PR fortran/18218
* configure.ac: Check for strtof.
* configure: Regenerate.
* config.h.in: Regenerate.
* io/read.c (convert_real): Use strtof if available.
(convert_precision_real): Remove.
(read_f): Avoid poor exponentiation algorithm.
gcc/testsuite/
* gfortran.dg/list_read.c: New test.

From-SVN: r90382

19 years agoMAINTAINERS: Add self as arm maintainer.
Paul Brook [Wed, 10 Nov 2004 02:10:24 +0000 (02:10 +0000)]
MAINTAINERS: Add self as arm maintainer.

2004-11-11  Paul Brook  <paul@codesourcery.com>

* MAINTAINERS: Add self as arm maintainer.  Update email address.

From-SVN: r90381

19 years agors6000.md (fix_truncdfsi2): Handle e500 doubles.
Aldy Hernandez [Wed, 10 Nov 2004 01:08:22 +0000 (01:08 +0000)]
rs6000.md (fix_truncdfsi2): Handle e500 doubles.

* config/rs6000/rs6000.md (fix_truncdfsi2): Handle e500
doubles.
(floatunssidf2): Same.
(floatsidf2): Same.
("extendsfdf2"): New expander.
(*extendsfdf2_fpr): Rename.
(*truncdfsf2_fpr): Same.
(*negdf2_fpr): Same.
(*absdf2_fpr): Same.
(*nabsdf2_fpr): Same.
(*adddf3_fpr): Same.
(*subdf3_fpr): Same.
(*muldf3_fpr): Same.
(*divdf3_fpr): Same.

* config/rs6000/spe.md ("spe_extendsfdf2"): Remove FIXME comment.
("spe_fix_truncdfsi2"): Same.
(spe_floatunssidf2): Same.
(spe_floatsidf2): Same.

From-SVN: r90379

19 years agoDaily bump.
GCC Administrator [Wed, 10 Nov 2004 00:16:21 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r90377.2

19 years agoDaily bump.
GCC Administrator [Wed, 10 Nov 2004 00:16:16 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r90375.2

19 years agoinclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
Joseph Myers [Tue, 9 Nov 2004 23:14:06 +0000 (23:14 +0000)]
inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.

* inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
(int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
_CLASSIC_ANSI_TYPES.
(sun_auth_proto): Bypass on __cplusplus.
* fixincl.x: Regenerate.

From-SVN: r90371

19 years ago* include/jni.h: Added FIXME.
Tom Tromey [Tue, 9 Nov 2004 22:42:01 +0000 (22:42 +0000)]
* include/jni.h: Added FIXME.

From-SVN: r90370

19 years ago* cpplib.pot: Regenerate.
Joseph Myers [Tue, 9 Nov 2004 22:02:09 +0000 (22:02 +0000)]
* cpplib.pot: Regenerate.

From-SVN: r90369

19 years agoMakefile.in ($(PACKAGE).pot): New rule.
Joseph Myers [Tue, 9 Nov 2004 21:58:43 +0000 (21:58 +0000)]
Makefile.in ($(PACKAGE).pot): New rule.

* Makefile.in ($(PACKAGE).pot): New rule.  Depend on
po/$(PACKAGE).pot.
(po/$(PACKAGE).pot): Use ":" instead of "," in --keyword
arguments.  Add keywords _, N_, SYNTAX_ERROR and SYNTAX_ERROR2.
Remove local srcdir path from generated file.

From-SVN: r90368

19 years ago* exgettext: Remove local srcdir and objdir paths from gcc.pot.
Joseph Myers [Tue, 9 Nov 2004 21:57:17 +0000 (21:57 +0000)]
* exgettext: Remove local srcdir and objdir paths from gcc.pot.

From-SVN: r90367

19 years agore PR c/18322 (__func__ diagnostic in bad location)
Joseph Myers [Tue, 9 Nov 2004 21:22:27 +0000 (21:22 +0000)]
re PR c/18322 (__func__ diagnostic in bad location)

PR c/18322
* c-common.c (fname_decl): Don't use line number of decl in
diagnostic.

testsuite:
* gcc.dg/func-outside-1.c, gcc.dg/func-outside-2.c: Correct
expected diagnostic location.

From-SVN: r90365

19 years agos390-protos.h (s390_pool_operand): Remove.
Ulrich Weigand [Tue, 9 Nov 2004 20:46:19 +0000 (20:46 +0000)]
s390-protos.h (s390_pool_operand): Remove.

ChangeLog:

* config/s390/s390-protos.h (s390_pool_operand): Remove.
* config/s390/s390.c (s390_pool_operand): Likewise.
(s390_extra_constraint_str): Handle 'B' constraints.
* config/s390/s390.h (CONSTRAINT_LEN): Handle 'B' constraints.
* config/s390/s390.md: Document 'B' constraints.
("*cmpdi_cct", "*cmpsi_cct"): Use 'B' constraint instead of
s390_pool_operand to prevent insns with two literal pool
references.  Make pattern commutative.
("*cmpdi_ccu", "*cmpsi_ccu", "*cmphi_ccu", "*cmpqi_ccu"): Use
'B' constraint instead of s390_pool_operand.

testsuite/ChangeLog:

* gcc.dg/20041109-1.c: New test.

From-SVN: r90364

19 years agore PR objc/18406 (ICE compiling Objective C code with long double arguments)
Andrew Pinski [Tue, 9 Nov 2004 19:44:38 +0000 (19:44 +0000)]
re PR objc/18406 (ICE compiling Objective C code with long double arguments)

2004-11-09  Andrew Pinski  <pinskia@physics.uc.edu>

        PR objc/18406
        * obj-act.c (encode_type): 96bits doubles are encoded the
        same way as 64bit and 128bit doubles are.

2004-11-09  Andrew Pinski  <pinskia@physics.uc.edu>

        PR objc/18406
        * objc/compile/pr18406.m: New test.

From-SVN: r90361