]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
20 years agoinvoke.texi (IA-64 options): Add existing options that weren't already listed.
Steve Ellcey [Tue, 14 Dec 2004 21:48:34 +0000 (21:48 +0000)] 
invoke.texi (IA-64 options): Add existing options that weren't already listed.

* doc/invoke.texi (IA-64 options): Add existing options that
weren't already listed.

From-SVN: r92161

20 years agore PR middle-end/18951 (Invalid code generated by expand_errno_check)
Jakub Jelinek [Tue, 14 Dec 2004 18:12:32 +0000 (19:12 +0100)] 
re PR middle-end/18951 (Invalid code generated by expand_errno_check)

PR middle-end/18951
* builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2): Avoid
using arguments passed to save_expr after that call.

* gcc.c-torture/execute/20041213-1.c: New test.

From-SVN: r92153

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Tue, 14 Dec 2004 18:12:32 +0000 (18:12 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r92152

20 years ago* gcc.dg/i386-sse-10.c: Fix typo in options.
Richard Henderson [Tue, 14 Dec 2004 05:33:01 +0000 (21:33 -0800)] 
* gcc.dg/i386-sse-10.c: Fix typo in options.

From-SVN: r92127

20 years agore PR middle-end/18730 (cppexp.c:1076: error: unrecognizable insn)
John David Anglin [Tue, 14 Dec 2004 03:12:03 +0000 (03:12 +0000)] 
re PR middle-end/18730 (cppexp.c:1076: error: unrecognizable insn)

PR middle-end/18730
* emit-rtl.c (get_first_nonnote_insn, get_last_nonnote_insn): When
the first/last insn is a sequence, return the first/last insn of the
sequence.

From-SVN: r92125

20 years agore PR target/17990 (sse used for negate without -mfpmath=sse)
Richard Henderson [Tue, 14 Dec 2004 01:57:50 +0000 (17:57 -0800)] 
re PR target/17990 (sse used for negate without -mfpmath=sse)

        PR target/17990
        * config/i386/i386.md (negsf2): Fix condition for using sse.
        (negdf2, abssf2, absdf2): Likewise.
        (negsf2_if, abssf2_if): Don't disable if sse enabled.
        (movv4sf_internal splitter): Postpone til after reload.
        (movv2di_internal splitter): Likewise.

From-SVN: r92119

20 years agore PR target/18002 ('while' loop performace regression on avr target)
Roger Sayle [Tue, 14 Dec 2004 01:47:30 +0000 (01:47 +0000)] 
re PR target/18002 ('while' loop performace regression on avr target)

PR target/18002
PR middle-end/18424
Backport from mainline

2004-03-20  Richard Sandiford  <rsandifo@redhat.com>
* Makefile.in (dojump.o): Depend on $(GGC_H) and dojump.h.
(GTFILES): Add $(srcdir)/dojump.h.
(gt-dojump.h): New dependency.
* dojump.c (and_reg, and_test, shift_test): New static variables.
(prefer_and_bit_test): New function.
(do_jump): Use it to choose between (X & (1 << C)) and (X >> C) & 1.

2004-03-21  Andrew Pinski  <pinskia@gcc.gnu.org>
* dojump.c (prefer_and_bit_test): Fix which part of
the and_test is replaced.

2004-12-10  Roger Sayle  <roger@eyesopen.com>
* dojump.c (do_jump): When attempting to reverse the effects of
fold_single_bit_test, we need to STRIP_NOPS and narrowing type
conversions, and handle BIT_XOR_EXPR that's used to invert the
sense of the single bit test.

From-SVN: r92117

20 years agore PR middle-end/17930 (-mfpmath=sse creates illegal code (movapd with misaligned...
Richard Henderson [Tue, 14 Dec 2004 01:24:36 +0000 (17:24 -0800)] 
re PR middle-end/17930 (-mfpmath=sse creates illegal code (movapd with misaligned argument))

        PR middle-end/17930
        * toplev.c (rest_of_compilation): Fix computation of
        preferred_incoming_stack_boundary.

From-SVN: r92115

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

From-SVN: r92110

20 years agore PR java/14104 (java testsuite fails "linking simple")
Roger Sayle [Mon, 13 Dec 2004 18:00:02 +0000 (18:00 +0000)] 
re PR java/14104 (java testsuite fails "linking simple")

PR java/14104
Backport from mainline
2004-03-31  Andrew Haley  <aph@redhat.com>
* jcf-io.c (opendir_in_zip): Tidy up error handling.

From-SVN: r92096

20 years agore PR rtl-optimization/17186 (ICE in move_for_stack_reg, at reg-stack.c:1065)
Richard Henderson [Mon, 13 Dec 2004 02:34:14 +0000 (18:34 -0800)] 
re PR rtl-optimization/17186 (ICE in move_for_stack_reg, at reg-stack.c:1065)

        PR rtl-opt/17186
        * reg-stack.c (move_for_stack_reg): Handle source register not
        live with a nan.

From-SVN: r92074

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

From-SVN: r92068

20 years agore PR target/18932 (ICE in copyprop_hardreg_forward_1, at regrename.c)
Richard Henderson [Sun, 12 Dec 2004 20:59:23 +0000 (12:59 -0800)] 
re PR target/18932 (ICE in copyprop_hardreg_forward_1, at regrename.c)

        PR target/18932
        * config/i386/i386.md (all splits and peepholes): Use flags_reg_operand
        and compare_operator to propagate the input CC mode to the output.
        * config/i386/i386.c (compare_operator): New.
        * config/i386/i386.h (PREDICATE_CODES): Add it.
        * config/i386/i386-protos.h: Update.

From-SVN: r92059

20 years agoDaily bump.
GCC Administrator [Sun, 12 Dec 2004 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92037

20 years agoDaily bump.
GCC Administrator [Sat, 11 Dec 2004 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r92020

20 years agore PR c/18282 (PR c/17384 patch causes regression from 3.4.2)
Richard Henderson [Fri, 10 Dec 2004 19:23:25 +0000 (11:23 -0800)] 
re PR c/18282 (PR c/17384 patch causes regression from 3.4.2)

        PR c/18282
        * attribs.c (decl_attributes): Clear DECL_ALIGN when relaying out decl.
        * c-common.c (handle_mode_attribute): Handle enumeral types.

From-SVN: r92004

20 years agore PR c++/18731 (ICE on invalid template declaration)
Volker Reichelt [Fri, 10 Dec 2004 16:13:47 +0000 (16:13 +0000)] 
re PR c++/18731 (ICE on invalid template declaration)

PR c++/18731
* parser.c (cp_parser_class_head): Reject typedef-name in class head.

* g++.dg/parser/struct-1.C: New test.
* g++.dg/parser/struct-2.C: New test.
* g++.dg/parser/struct-3.C: New test.

From-SVN: r91995

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Fri, 10 Dec 2004 16:13:47 +0000 (16:13 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r91994

20 years agoDaily bump.
GCC Administrator [Fri, 10 Dec 2004 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r91980

20 years agore PR target/17025 (attribute regparm code-generation bug)
Richard Henderson [Thu, 9 Dec 2004 17:42:38 +0000 (09:42 -0800)] 
re PR target/17025 (attribute regparm code-generation bug)

        PR target/17025
        * config/i386/i386.md (testqi_1_maybe_si, andqi_2_maybe_si): New.
        (test_qi_1, andqi_2): Do not promote to simode.

From-SVN: r91957

20 years agore PR c++/16681 (array initialization in struct construct is a memory hog)
Nathan Sidwell [Thu, 9 Dec 2004 12:21:32 +0000 (12:21 +0000)] 
re PR c++/16681 (array initialization in struct construct is a memory hog)

cp:
PR c++/16681
* init.c (build_zero_init): Build a RANGE_EXPR for an array
initializer.
testsuite:
PR c++/16681
* g++.dg/init/array15.C: New.
* g++.dg/init/array16.C: New.

From-SVN: r91934

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 9 Dec 2004 12:21:32 +0000 (12:21 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r91933

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

From-SVN: r91921

20 years agore PR java/14853 (Assignment to final field permitted when compiling to native)
Tom Tromey [Wed, 8 Dec 2004 17:29:40 +0000 (17:29 +0000)] 
re PR java/14853 (Assignment to final field permitted when compiling to native)

PR java/14853:
* java-tree.h (extract_field_decl): Declare.
* parse.y (extract_field_decl): Renamed from
strip_out_static_field_access_decl.  No longer static.
* check-init.c (get_variable_decl): Unwrap COMPOUND_EXPRs.

From-SVN: r91910

20 years agoFor PR java/14853:
Tom Tromey [Wed, 8 Dec 2004 17:29:02 +0000 (17:29 +0000)] 
For PR java/14853:

* testsuite/libjava.compile/PR14853.java: New file.
* testsuite/libjava.compile/PR14853.xfail: New file.

From-SVN: r91909

20 years agore PR c++/18100 (template member with same name as class not rejected)
Kriang Lerdsuwanakij [Wed, 8 Dec 2004 10:53:29 +0000 (10:53 +0000)] 
re PR c++/18100 (template member with same name as class not rejected)

PR c++/18100
* name-lookup.c (push_class_level_binding): Diagnose nested
class template with the same name as enclosing class.

* g++.dg/lookup/name-clash4.C: New test.

From-SVN: r91869

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Wed, 8 Dec 2004 10:53:29 +0000 (10:53 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r91868

20 years agore PR target/18443 (#pragma pack(1) breaks function pointer initialization)
David Mosberger [Wed, 8 Dec 2004 01:49:13 +0000 (01:49 +0000)] 
re PR target/18443 (#pragma pack(1) breaks function pointer initialization)

        PR target/18443
        * config/ia64/ia64.c (ia64_assemble_integer): Add support for
        emitting unaligned pointer-sized integers.

From-SVN: r91846

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

From-SVN: r91838

20 years agore PR middle-end/17827 (ICE: in make_decl_rtl, at varasm.c:752)
Eric Botcazou [Tue, 7 Dec 2004 07:54:00 +0000 (07:54 +0000)] 
re PR middle-end/17827 (ICE: in make_decl_rtl, at varasm.c:752)

PR middle-end/17827
* c-semantics.c (expand_unreachable_if_stmt): Invoke
expand_cond on the condition.

From-SVN: r91806

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Tue, 7 Dec 2004 07:54:00 +0000 (07:54 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r91805

20 years agoDaily bump.
GCC Administrator [Tue, 7 Dec 2004 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r91795

20 years ago* config/rs6000/sysv4.h: Define RELOCATABLE_NEEDS_FIXUP to 1.
Aldy Hernandez [Mon, 6 Dec 2004 23:59:29 +0000 (23:59 +0000)] 
* config/rs6000/sysv4.h: Define RELOCATABLE_NEEDS_FIXUP to 1.

From-SVN: r91793

20 years agore PR libstdc++/18837 (testsuite_performance.h:63: error: redefinition of 'struct...
Paolo Carlini [Mon, 6 Dec 2004 16:50:44 +0000 (16:50 +0000)] 
re PR libstdc++/18837 (testsuite_performance.h:63: error: redefinition of 'struct mallinfo')

2004-12-06  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/18837
* testsuite/testsuite_performance.h: Fix mallinfo macros for
hpux.

From-SVN: r91782

20 years ago2004-13-06 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
Volker Reichelt [Mon, 6 Dec 2004 16:18:35 +0000 (16:18 +0000)] 
2004-13-06  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>

* config/locale/ieee_1003.1-2001/codecvt_specializations.h
(do_out, do_unshift, do_in): Remove redundant typedef.

From-SVN: r91781

20 years agoDaily bump.
GCC Administrator [Mon, 6 Dec 2004 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r91759

20 years agore PR target/18841 (setjmp and eh receivers can mis-schedule)
Richard Henderson [Sun, 5 Dec 2004 19:59:59 +0000 (11:59 -0800)] 
re PR target/18841 (setjmp and eh receivers can mis-schedule)

        PR target/18841
        * config/alpha/alpha.md (UNSPECV_SETJMPR_ER): New.
        (builtin_setjmp_receiver_er_sl_1): Use it.
        (builtin_setjmp_receiver_er_1): Likewise.
        (builtin_setjmp_receiver_er, exception_receiver_er): Remove.
        (builtin_setjmp_receiver): Don't split for explicit relocs until
        after reload.
        (exception_receiver): Likewise.

From-SVN: r91755

20 years ago* config/rs6000/rs6000.c (rs6000_assemble_integer): Fix typo.
Alan Modra [Sun, 5 Dec 2004 12:52:12 +0000 (12:52 +0000)] 
* config/rs6000/rs6000.c (rs6000_assemble_integer): Fix typo.

From-SVN: r91747

20 years agore PR rtl-optimization/15289 (reload error with non-lowpart subregs)
Richard Henderson [Sun, 5 Dec 2004 05:21:01 +0000 (21:21 -0800)] 
re PR rtl-optimization/15289 (reload error with non-lowpart subregs)

        * emit-rtl.c, expr.c, function.c, integrate.c, optabs.c, rtl.h:
        Revert the patches for PR rtl-opt/15289.

From-SVN: r91743

20 years agoDaily bump.
GCC Administrator [Sun, 5 Dec 2004 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r91733

20 years agoPR c++/17011, c++/17971
Kriang Lerdsuwanakij [Sat, 4 Dec 2004 06:55:00 +0000 (06:55 +0000)] 
PR c++/17011, c++/17971

PR c++/17011, c++/17971
* pt.c (tsubst_copy) <FIELD_DECL case>: Check and diagnose
invalid field.
(tsubst_copy_and_build) <COMPONENT_REF case>: Check
error_mark_node after member substitution.
* semantics.c (finish_id_expression): Call
finish_non_static_data_member for dependent FIELD_DECL.

* g++.dg/template/error15.C: Adjust expected error.
* g++.dg/template/instantiate3.C: Likewise.

From-SVN: r91721

20 years agoDaily bump.
GCC Administrator [Sat, 4 Dec 2004 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r91708

20 years agointegrate.c (expand_inline_function): Accept non-CONCAT arguments for CONCAT paramete...
Eric Botcazou [Fri, 3 Dec 2004 22:32:06 +0000 (22:32 +0000)] 
integrate.c (expand_inline_function): Accept non-CONCAT arguments for CONCAT parameters and invoke read_complex_part...

* integrate.c (expand_inline_function): Accept non-CONCAT arguments
for CONCAT parameters and invoke read_complex_part on them.

From-SVN: r91700

20 years agoexpr.c (write_complex_part): Use simplify_gen_subreg when the submode is at least...
Richard Henderson [Fri, 3 Dec 2004 19:50:35 +0000 (11:50 -0800)] 
expr.c (write_complex_part): Use simplify_gen_subreg when the submode is at least as large as a word.

        * expr.c (write_complex_part): Use simplify_gen_subreg when the
        submode is at least as large as a word.
        (read_complex_part): Likewise.

From-SVN: r91694

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

From-SVN: r91667

20 years agore PR target/9908 ([x86] wrong code generated for virtual method call with -masm...
Roger Sayle [Thu, 2 Dec 2004 21:03:28 +0000 (21:03 +0000)] 
re PR target/9908 ([x86] wrong code generated for virtual method call with -masm-intel)

PR target/9908
* config/i386/i386.md (*call_value_1, *sibcall_value_1): Correct
Intel assembler syntax by using %A1 instead of %*%1.

From-SVN: r91660

20 years agore PR rtl-optimization/15289 (reload error with non-lowpart subregs)
Richard Henderson [Thu, 2 Dec 2004 19:16:37 +0000 (11:16 -0800)] 
re PR rtl-optimization/15289 (reload error with non-lowpart subregs)

        PR rtl-opt/15289
        * emit-rtl.c (gen_complex_constant_part): Remove.
        (gen_realpart, gen_imagpart, subreg_realpart_p): Remove.
        * expr.c (write_complex_part, read_complex_part): New.
        (emit_move_via_alt_mode, emit_move_via_integer, emit_move_resolve_push,
        emit_move_complex_push, emit_move_complex, emit_move_ccmode,
        emit_move_multi_word): Split out from ...
        (emit_move_insn_1): ... here.
        (expand_expr_real) <COMPLEX_EXPR>: Use write_complex_part.
        <REALPART_EXPR, IMAGPART_EXPR>: Use read_complex_part.
        <CONJ_EXPR>: Likewise.
        * function.c (assign_parms): Hard-code transformations
        instead of using gen_realpart/gen_imagpart.
        * integrate.c (initialize_for_inline): Likewise.
        * optabs.c (expand_unop): Use read_complex_part/write_complex_part.
        (expand_complex_abs): Likewise.
        (expand_binop): Likewise.  Rearrange to build a CONCAT at the end,
        rather than creating a complex target at the beginning.
        * rtl.h (gen_realpart, gen_imagpart, subreg_realpart_p): Remove.
        (read_complex_part, write_complex_part): Declare.

From-SVN: r91653

20 years agore PR c++/18123 (ICE on templated enum)
Kriang Lerdsuwanakij [Thu, 2 Dec 2004 11:51:33 +0000 (11:51 +0000)] 
re PR c++/18123 (ICE on templated enum)

PR c++/18123
* parser.c (cp_parser_type_specifier): Don't create new enum
type if it is not in the form 'enum [identifier] { [...] };'.
Catch template declaration of enum.

* g++.dg/parse/enum2.C: New test.

From-SVN: r91632

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 2 Dec 2004 11:51:33 +0000 (11:51 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r91631

20 years agore PR target/16952 (GCC for powerpc cross target with -mrelocatable reports error)
Alan Modra [Thu, 2 Dec 2004 06:34:21 +0000 (17:04 +1030)] 
re PR target/16952 (GCC for powerpc cross target with -mrelocatable reports error)

PR target/16952
* gcc.dg/ppc-eabi.c: New.

From-SVN: r91621

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 2 Dec 2004 06:34:21 +0000 (06:34 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r91620

20 years agors6000.c (rs6000_assemble_integer): Put back the #ifdef RELOCATABLE_NEEDS_FIXUP.
Alan Modra [Thu, 2 Dec 2004 06:15:58 +0000 (06:15 +0000)] 
rs6000.c (rs6000_assemble_integer): Put back the #ifdef RELOCATABLE_NEEDS_FIXUP.

* config/rs6000/rs6000.c (rs6000_assemble_integer): Put back the
#ifdef RELOCATABLE_NEEDS_FIXUP.

From-SVN: r91618

20 years agore PR preprocessor/17651 (Erroneous preprocessor output with -g when generating depen...
Nathanael Nerode [Thu, 2 Dec 2004 02:32:21 +0000 (02:32 +0000)] 
re PR preprocessor/17651 (Erroneous preprocessor output with -g when generating dependencies)

2004-12-01  Nathanael Nerode  <neroden@gcc.gnu.org>

PR preprocessor/17651
* c-opts.c (sanitize_cpp_opts): Make flag_no_output imply
flag_no_line_commands.
* c-ppoutput.c (pp_file_change): Remove now-redundant check of
flag_no_output.

PR preprocessor/17610
* directives.c (do_include_common): Error out if an empty filename
is given for #include (or #include_next or #import).
PR preprocessor/17610
* testsuite/gcc.dg/cpp/empty-include.c: New testcase.

From-SVN: r91607

20 years agore PR target/16952 (GCC for powerpc cross target with -mrelocatable reports error)
Alan Modra [Thu, 2 Dec 2004 02:28:31 +0000 (02:28 +0000)] 
re PR target/16952 (GCC for powerpc cross target with -mrelocatable reports error)

PR target/16952
* config/rs6000/rs6000.c (rs6000_assemble_integer): Replace
#ifdef RELOCATABLE_NEEDS_FIXUP with if.
* config/rs6000/linux.h (RELOCATABLE_NEEDS_FIXUP): Define in terms
of target_flags_explicit.
* config/rs6000/linux64.h (RELOCATABLE_NEEDS_FIXUP): Ditto for biarch
case.  Define as 0 for non-biarch.

From-SVN: r91606

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

From-SVN: r91597

20 years agoexpr.c (optimize_bitfield_assignment_op): Split out from ...
Richard Henderson [Wed, 1 Dec 2004 22:57:20 +0000 (14:57 -0800)] 
expr.c (optimize_bitfield_assignment_op): Split out from ...

        * expr.c (optimize_bitfield_assignment_op): Split out from ...
        (expand_assignment): ... here.  Use handled_component_p to gate
        get_inner_reference code.  Simplify MEM handling.  Special case
        CONCAT destinations.
        (get_inner_reference): Handle REAL/IMAGPART_EXPR.
        (handled_component_p): Likewise.

From-SVN: r91585

20 years agore PR c++/17431 (Internal error: Segmentation fault (program cc1plus))
Nathan Sidwell [Wed, 1 Dec 2004 12:58:17 +0000 (12:58 +0000)] 
re PR c++/17431 (Internal error: Segmentation fault (program cc1plus))

cp:
PR c++/17431
* call.c (standard_conversion): Add FLAGS parameter. Do not allow
derived to base conversion when checking constructor
accessibility.
(implicit_conversion): Pass FLAGS to standard_conversion.
(check_constructir_callable): Disallow conversion functions.
testsuite:
PR c++/17431
* g++.dg/overload/arg1.C: New.
* g++.dg/overload/arg2.C: New.
* g++.dg/overload/arg3.C: New.
* g++.dg/overload/arg4.C: New.

From-SVN: r91561

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Wed, 1 Dec 2004 12:58:17 +0000 (12:58 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r91560

20 years agore PR target/12817 ([SYSV] Altivec code generation error with many registers used)
Alan Modra [Wed, 1 Dec 2004 05:54:18 +0000 (05:54 +0000)] 
re PR target/12817 ([SYSV] Altivec code generation error with many registers used)

PR target/12817
* config/rs6000/rs6000.c (rs6000_emit_prologue): Use r0 for vrsave.

From-SVN: r91554

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

From-SVN: r91546

20 years agofold-const.c (extract_muldiv_1): If ctype is unsigned and type signed...
Jakub Jelinek [Tue, 30 Nov 2004 15:07:47 +0000 (16:07 +0100)] 
fold-const.c (extract_muldiv_1): If ctype is unsigned and type signed...

* fold-const.c (extract_muldiv_1) <case ABS_EXPR>: If ctype is
unsigned and type signed, build ABS_EXPR with signed_type (ctype)
and only afterwards convert to ctype.

* gcc.c-torture/execute/20041126-1.c: New test.

From-SVN: r91526

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

From-SVN: r91500

20 years agore PR target/17224 (relocation truncated to fit: GPREL22)
Richard Henderson [Mon, 29 Nov 2004 19:19:20 +0000 (11:19 -0800)] 
re PR target/17224 (relocation truncated to fit: GPREL22)

        PR target/17224
        * config/ia64/ia64.c (sdata_symbolic_operand): Deny offsets
        outside the referenced object.

From-SVN: r91480

20 years agoDaily bump.
GCC Administrator [Mon, 29 Nov 2004 00:16:48 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r91439

20 years agoDaily bump.
GCC Administrator [Sun, 28 Nov 2004 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r91401

20 years agore PR target/16343 (invalid code when using -meabi -msdata=eabi)
Andreas Fischer [Sat, 27 Nov 2004 22:57:09 +0000 (22:57 +0000)] 
re PR target/16343 (invalid code when using -meabi -msdata=eabi)

PR target/16343
* config/rs6000/rs6000.c (rs6000_elf_in_small_data_p): Disallow
functions, strings and thread-local vars.

Co-Authored-By: Alan Modra <amodra@bigpond.net.au>
From-SVN: r91398

20 years ago* gcc.dg/loop-6.c: New test.
Falk Hueffner [Sat, 27 Nov 2004 16:51:39 +0000 (16:51 +0000)] 
* gcc.dg/loop-6.c: New test.

From-SVN: r91380

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sat, 27 Nov 2004 16:51:39 +0000 (16:51 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r91379

20 years agore PR middle-end/12769 (-mlongcall doesn't convert all calls to long calls for builti...
Alan Modra [Sat, 27 Nov 2004 01:08:01 +0000 (01:08 +0000)] 
re PR middle-end/12769 (-mlongcall doesn't convert all calls to long calls for builtin functions)

PR target/12769
* config/rs6000/rs6000.c (init_cumulative_args): Set call_cookie
from rs6000_default_long_calls for libcalls.

From-SVN: r91363

20 years agore PR target/18686 (#pragma longcall broken on 3.4.x)
Alan Modra [Sat, 27 Nov 2004 00:50:21 +0000 (00:50 +0000)] 
re PR target/18686 (#pragma longcall broken on 3.4.x)

PR target/18686
* config/rs6000/rs6000-c.c (rs6000_pragma_longcall): Use
integer_zerop and integer_onep instead of comparing against
canonical trees.

From-SVN: r91360

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

From-SVN: r91356

20 years agore PR c++/6764 (Throwing exception causes crash with '-O2 -fomit-frame-pointer')
Richard Henderson [Fri, 26 Nov 2004 05:07:25 +0000 (21:07 -0800)] 
re PR c++/6764 (Throwing exception causes crash with '-O2 -fomit-frame-pointer')

        PR c++/6764
        * reload1.c (set_initial_eh_label_offset): New.
        (set_initial_label_offsets): Use it.

From-SVN: r91327

20 years agore PR rtl-optimization/16356 (Failure to use count register (branch on count register))
Alan Modra [Fri, 26 Nov 2004 04:38:53 +0000 (15:08 +1030)] 
re PR rtl-optimization/16356 (Failure to use count register (branch on count register))

PR rtl-optimization/16356
* config/rs6000/rs6000.md (floatdisf2_internal2): Rewrite with
separate output register and one less jump.  Enable for powerpc64.
(floatdisf2): Adjust for above.

From-SVN: r91325

20 years agoDaily bump.
GCC Administrator [Fri, 26 Nov 2004 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r91310

20 years agoconfig.gcc (avr-*-rtems*): Fix typo.
Ralf Corsepius [Thu, 25 Nov 2004 04:52:15 +0000 (05:52 +0100)] 
config.gcc (avr-*-rtems*): Fix typo.

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

* config.gcc (avr-*-rtems*): Fix typo.

From-SVN: r91275

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

From-SVN: r91260

20 years agohowto.html: Fix incorrect link.
Jonathan Wakely [Wed, 24 Nov 2004 18:19:51 +0000 (18:19 +0000)] 
howto.html: Fix incorrect link.

2004-11-24  Jonathan Wakely  <redi@kayari.org>

* docs/html/ext/howto.html: Fix incorrect link.
* docs/html/documentation.html: Regenerate.

From-SVN: r91184

20 years agore PR rtl-optimization/18614 (ICE in simplify_binary_operation)
Uros Bizjak [Wed, 24 Nov 2004 14:20:56 +0000 (15:20 +0100)] 
re PR rtl-optimization/18614 (ICE in simplify_binary_operation)

PR rtl-optimization/18614
* simplify-rtx.c (simplify_binary_operation): Do not
simplify inner elements of constant arguments of
VEC_CONCAT insn.

testsuite:

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

From-SVN: r91159

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Wed, 24 Nov 2004 14:20:56 +0000 (14:20 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r91158

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

From-SVN: r91127

20 years agobackport: re PR middle-end/17813 (ada bootstrap failure on i486-linux)
Eric Botcazou [Tue, 23 Nov 2004 13:12:35 +0000 (14:12 +0100)] 
backport: re PR middle-end/17813 (ada bootstrap failure on i486-linux)

Backport from mainline:
2004-10-18  Eric Botcazou  <ebotcazou@libertysurf.fr>
                    Roger Sayle  <roger@eyesopen.com>

PR middle-end/17813
* dojump.c (discard_pending_stack_adjust): New function.
(clear_pending_stack_adjust): Call it.
* expr.h (discard_pending_stack_adjust): Declare it.
* explow.c (emit_stack_save): Emit pending stack adjustments
before saving the stack pointer.
(emit_stack_restore): Discard pending stack adjustments before
restoring the stack pointer.

From-SVN: r91090

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Tue, 23 Nov 2004 13:12:35 +0000 (13:12 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r91089

20 years agot-rtems: New.
Ralf Corsepius [Tue, 23 Nov 2004 10:17:55 +0000 (11:17 +0100)] 
t-rtems: New.

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

* config/c4x/t-rtems: New.
* config.gcc: Reflect having added c4x/t-rtems.

From-SVN: r91084

20 years agot-rtems: New.
Ralf Corsepius [Tue, 23 Nov 2004 05:38:14 +0000 (06:38 +0100)] 
t-rtems: New.

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

* config/arm/t-rtems: New.
* config.gcc: Reflect having added arm/t-rtems.

From-SVN: r91077

20 years agoconfig.gcc: Add avr-*-rtems*.
Ralf Corsepius [Tue, 23 Nov 2004 04:06:41 +0000 (05:06 +0100)] 
config.gcc: Add avr-*-rtems*.

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

* config.gcc: Add avr-*-rtems*.
* config/avr/t-rtems: New.
* config/avr/rtems.h: New.

From-SVN: r91072

20 years agore PR rtl-optimization/14838 (ICE when building with -O2 -g)
John David Anglin [Tue, 23 Nov 2004 03:01:10 +0000 (03:01 +0000)] 
re PR rtl-optimization/14838 (ICE when building with -O2 -g)

PR rtl-optimization/14838
* emit-rtl.c (get_first_nonnote_insn): Don't assume first insn is a
note.
(get_last_nonnote_insn): Don't assume last insn is a note.

From-SVN: r91068

20 years agoDaily bump.
GCC Administrator [Tue, 23 Nov 2004 00:21:46 +0000 (00:21 +0000)] 
Daily bump.

From-SVN: r91052

20 years agoDaily bump.
GCC Administrator [Mon, 22 Nov 2004 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r90991

20 years agoinclhack.def (alpha_pthread_init): Fix technical problems with the last check-in...
Roger Sayle [Sun, 21 Nov 2004 23:59:53 +0000 (23:59 +0000)] 
inclhack.def (alpha_pthread_init): Fix technical problems with the last check-in caused by CVS variable substitution.

* fixinc/inclhack.def (alpha_pthread_init): Fix technical problems
with the last check-in caused by CVS variable substitution.
* fixinc/fixincl.x: Likewise.
* fixinc/tests/base/pthread.h: Likewise.

Co-Authored-By: Bruce Korb <bkorb@gnu.org>
From-SVN: r90990

20 years agoinclhack.def (alpha_pthread_init): New fix.
Roger Sayle [Sun, 21 Nov 2004 19:41:28 +0000 (19:41 +0000)] 
inclhack.def (alpha_pthread_init): New fix.

* fixinc/inclhack.def (alpha_pthread_init): New fix.
* fixinc/fixincl.x: Regenerate.
* fixinc/tests/base/pthread.h: Update for new test.

From-SVN: r90984

20 years agoDaily bump.
GCC Administrator [Sun, 21 Nov 2004 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r90971

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

From-SVN: r90944

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

From-SVN: r90886

20 years agolocale_facets.tcc (time_get<>::do_get_weekday, [...]): Absolutely avoid dereferencing...
Paolo Carlini [Thu, 18 Nov 2004 10:50:19 +0000 (10:50 +0000)] 
locale_facets.tcc (time_get<>::do_get_weekday, [...]): Absolutely avoid dereferencing end iterators.

2004-11-18  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (time_get<>::do_get_weekday,
time_get<>::do_get_monthname): Absolutely avoid dereferencing
end iterators.

* include/bits/locale_facets.tcc (time_get<>::_M_extract_name):
Minor tweak.

From-SVN: r90855

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

From-SVN: r90834

20 years agore PR target/18263 ([3.4 only] Build broken for ARC.)
Ramana Radhakrishnan [Wed, 17 Nov 2004 12:29:16 +0000 (12:29 +0000)] 
re PR target/18263 ([3.4 only] Build broken for ARC.)

PR target/18263
* config/arc/lib1funcs.asm (___umulsidi3): Change use of cmp to the
equivalent on the A4.

From-SVN: r90806

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

From-SVN: r90774

20 years agore PR c/18498 (gcc allows non-integral bitfield types)
Joseph Myers [Tue, 16 Nov 2004 19:55:47 +0000 (19:55 +0000)] 
re PR c/18498 (gcc allows non-integral bitfield types)

PR c/18498
* c-decl.c (grokdeclarator): Call check_bitfield_type_and_width
after processing the declarator.

testsuite:
* gcc.dg/bitfld-13.c: New test.

From-SVN: r90755

20 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Tue, 16 Nov 2004 19:55:47 +0000 (19:55 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.

From-SVN: r90754

20 years agohowto.html: Document change from _GLIBCPP_CONCEPT_CHECKS to _GLIBCXX_CONCEPT_CHECKS...
Jonathan Wakely [Tue, 16 Nov 2004 12:42:54 +0000 (12:42 +0000)] 
howto.html: Document change from _GLIBCPP_CONCEPT_CHECKS to _GLIBCXX_CONCEPT_CHECKS in 3.4.

2004-11-16  Jonathan Wakely  <redi@gcc.gnu.org>

* docs/html/19_diagnostics/howto.html: Document change from
_GLIBCPP_CONCEPT_CHECKS to _GLIBCXX_CONCEPT_CHECKS in 3.4.

From-SVN: r90735