]>
git.ipfire.org Git - thirdparty/gcc.git/log
Alexandre Oliva [Thu, 23 Dec 2004 16:25:50 +0000 (16:25 +0000)]
re PR c++/18757 (ICE (on invalid) in get_innermost_template_args)
gcc/cp/ChangeLog:
PR c++/18757
* parser.c (cp_parser_template_id): Don't create a CPP_TEMPLATE_ID
if parsing failed.
gcc/testsuite/ChangeLog:
* g++.dg/parse/typename5.C: Adjust for new error.
* g++.dg/parse/typename7.C: New.
From-SVN: r92554
Richard Henderson [Thu, 23 Dec 2004 01:31:17 +0000 (17:31 -0800)]
re PR target/19102 (-march=pentium3 breaks linux kernel compiles w/ gcc-3_4-branch as of 2004/12/20)
PR target/19102
* config/i386/i386.c (x86_inter_unit_moves): Disable.
(ix86_hard_regno_mode_ok): Disallow SSE2 and MMX scalar modes
in SSE registers when only SSE1 enabled.
From-SVN: r92526
GCC Administrator [Thu, 23 Dec 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r92521
GCC Administrator [Wed, 22 Dec 2004 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r92476
David O'Brien [Tue, 21 Dec 2004 18:00:24 +0000 (18:00 +0000)]
backport: freebsd-spec.h: Use KSE pthread lib for -pthread.
2004-12-21 David O'Brien <obrien@FreeBSD.org>
Backport from mainline:
* config/freebsd-spec.h: Use KSE pthread lib for -pthread.
From-SVN: r92465
GCC Administrator [Tue, 21 Dec 2004 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r92441
Andrew Pinski [Mon, 20 Dec 2004 22:34:18 +0000 (22:34 +0000)]
re PR libobjc/12035 (Patch for libobjc/gc.c that fixes compilation error of Objective-C with garbage collector enabled)
2004-12-20 Andrew Pinski <pinskia@physics.uc.edu>
PR libobjc/12035
* gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
they are not used.
Include limits.h and stdlib.h.
Define BITS_PER_WORD.
From-SVN: r92438
Andrew Pinski [Mon, 20 Dec 2004 21:09:37 +0000 (21:09 +0000)]
re PR other/19093 (g++.dg/opt/max1.C fails on ia64 and x86_64)
2004-12-20 Andrew Pinski <pinskia@physics.uc.edu>
PR other/19093
* g++.dg/opt/max1.C: Fix for 64bit targets.
From-SVN: r92432
Richard Henderson [Mon, 20 Dec 2004 05:37:40 +0000 (21:37 -0800)]
i386.c (ix86_hard_regno_mode_ok): Always accept all SSE, MMX, 3DNOW modes in SSE registers...
* config/i386/i386.c (ix86_hard_regno_mode_ok): Always accept all SSE,
MMX, 3DNOW modes in SSE registers; always accept all MMX, 3DNOW modes
in MMX registers.
* config/i386/i386.h (VALID_SSE2_REG_MODE): Don't include
VALID_MMX_REG_MODE.
* config/i386/i386.md (movv4sf_internal, movv4si_internal,
movv2di_internal, movv2si_internal, movv4hi_internal,
movv2sf_internal, movv2df_internal, movv8hi_internal,
movv16qi_internal, movti_internal): Add leading '*' to name.
(movv2di_internal, movv2df_internal, movv8hi_internal,
movv16qi_internal, movv2df, movv8hi, movv16qi, movv2di,
pushv2di, pushv8hi, pushv16qi): Enable for SSE1.
(movv2si_internal, movv4hi_internal): Add SSE alternatives.
(movv8qi_internal, movv2sf_internal): Likewise.
(movtf): Simplify conditional.
(movv2sf, pushv2sf): Enable for MMX.
From-SVN: r92410
GCC Administrator [Mon, 20 Dec 2004 00:16:22 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r92397
Roger Sayle [Sun, 19 Dec 2004 20:01:36 +0000 (20:01 +0000)]
re PR middle-end/19068 ([3.3 only] Wrong code for MIN_EXPR and MAX_EXPR)
PR middle-end/19068
* expr.c (expand_expr_real_1) <MAX_EXPR>: Ensure that target, op0
and op1 are all registers (or constants) before expanding the RTL
comparison sequence [to avoid reg_overlap_mentioned (target, op1)].
* g++.dg/opt/max1.C: New test case.
From-SVN: r92386
GCC Administrator [Sun, 19 Dec 2004 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r92366
Eric Botcazou [Sat, 18 Dec 2004 07:58:12 +0000 (07:58 +0000)]
re PR rtl-optimization/16968 (loop optimizer miscompilation)
PR rtl-optimization/16968
* loop.c (scan_loop): Stop scanning the loop for movable
insns as soon as an optimization barrier is encountered.
From-SVN: r92350
No Author [Sat, 18 Dec 2004 07:58:12 +0000 (07:58 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.
From-SVN: r92349
GCC Administrator [Sat, 18 Dec 2004 00:16:21 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r92341
Nathan Sidwell [Fri, 17 Dec 2004 16:19:23 +0000 (16:19 +0000)]
re PR c++/18975 (Copying objects with mutable non-static data members)
cp:
PR c++/18975
* method.c (do_build_copy_constructor): Refactor. Don't const
qualify a mutable field.
(do_build_assign_ref): Likewise.
testsuite:
PR c++/18975
* g++.dg/other/synth1.C: New.
From-SVN: r92321
Jakub Jelinek [Fri, 17 Dec 2004 16:11:09 +0000 (17:11 +0100)]
20041213 -1.c: Move...
* gcc.c-torture/execute/
20041213 -1.c: Move...
* gcc.c-torture/execute/ieee/
20041213 -1.c: ...to here.
From-SVN: r92320
No Author [Fri, 17 Dec 2004 16:11:09 +0000 (16:11 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.
From-SVN: r92319
GCC Administrator [Fri, 17 Dec 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r92288
H.J. Lu [Thu, 16 Dec 2004 19:16:22 +0000 (19:16 +0000)]
re PR other/18508 ("basename: too few arguments" when building without bootstrap)
2004-12-16 H.J. Lu <hongjiu.lu@intel.com>
PR other/18508
* config/alpha/t-osf4 (SHLIB_LINK): Use `.backup' as the suffix
to back up the existing shared library.
* config/arm/t-netbsd (SHLIB_LINK): Likewise.
* config/mips/t-iris5-6 (SHLIB_LINK): Likewise.
* config/pa/t-hpux-shlib (SHLIB_LINK): Likewise.
* config/sh/t-linux (SHLIB_LINK): Likewise.
* config/t-libunwind-elf (SHLIBUNWIND_LINK): Likewise.
* config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
* config/t-slibgcc-elf-ver (SHLIB_LINK): Likewise.
* config/t-slibgcc-sld (SHLIB_LINK): Likewise.
From-SVN: r92277
Roger Sayle [Thu, 16 Dec 2004 14:42:49 +0000 (14:42 +0000)]
re PR middle-end/18493 (gcc doesn't like switch blocks without case/default labels)
PR middle-end/18493
* c-typeck.c (c_finish_case): Rechain statements if we didn't
encounter any case labels or a default.
* gcc.dg/switch-4.c: New test case.
From-SVN: r92264
Eric Botcazou [Thu, 16 Dec 2004 10:23:32 +0000 (10:23 +0000)]
re PR middle-end/18882 (wrong results with complex long double)
PR middle-end/18882
* function.c (assign_stack_local_1): Use BITS_PER_UNIT alignment
when passed -2 as 'align'.
(put_var_into_stack): Use 'bool' as the type for the three local
predicates. Adjust calls to put_reg_into_stack.
When passed a CONCAT, instruct put_reg_into_stack to use
a consecutive stack slot for the second part.
(put_reg_into_stack): Remove 'promoted_mode' parameter, add
'consecutive_p' parameter. Turn the three predicates into 'bool'
parameters. Retrieve the register mode from 'reg'.
When consecutive_p is true, instruct assign_stack_local_1 to use
BITS_PER_UNIT alignment.
(put_addressof_into_stack): Use 'bool' as the type for the two
local predicates. Adjust call to put_reg_into_stack.
From-SVN: r92256
No Author [Thu, 16 Dec 2004 10:23:32 +0000 (10:23 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.
From-SVN: r92255
Eric Botcazou [Thu, 16 Dec 2004 10:03:02 +0000 (11:03 +0100)]
re PR middle-end/18590 (ICE in add_insn_before, at emit-rtl.c:3599)
PR middle-end/18590
* function.c (fixup_var_refs_insns_with_hash): Do not invoke
fixup_var_refs_insn on insns marked as deleted.
From-SVN: r92253
Richard Henderson [Thu, 16 Dec 2004 09:48:32 +0000 (01:48 -0800)]
re PR target/19028 (ICE in libjava)
PR target/19028
* config/i386/i386.md (sse compare splitter): Test for SF and DFmode
explicitly instead of using VALID_SSE_REG_MODE.
From-SVN: r92252
Richard Henderson [Thu, 16 Dec 2004 01:51:22 +0000 (17:51 -0800)]
re PR target/19005 (Error: bad register name `%sil')
PR target/19005
* config/i386/i386.md (swaphi_1): Swap with swaphi_2, allow with
optimize_size.
(swapqi_1): Rename from swapqi. Enable only for no partial reg
stall and optimize_size.
(swapqi_2): New.
(swaphi_1, swaphi_2, swapqi_1): Add athlon_decode.
(swapsi, swaphi_1, swaphi_2, swapqi_1, swapdi): Remove modrm override.
From-SVN: r92241
GCC Administrator [Thu, 16 Dec 2004 00:16:18 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r92235
H.J. Lu [Thu, 16 Dec 2004 00:15:03 +0000 (00:15 +0000)]
re PR target/18153 (-static-libgcc links in libunwind.so.7)
2004-12-15 H.J. Lu <hongjiu.lu@intel.com>
PR target/18153
* configure.ac: Define HAVE_LD_STATIC_DYNAMIC if linker supports
-Bstatic/-Bdynamic option.
* config.in: Regenerated.
* configure: Likewise.
* gcc.c (init_spec): Pass -Bstatic/-Bdynamic to ld for static
-lunwind if possible.
From-SVN: r92234
Richard Henderson [Wed, 15 Dec 2004 20:03:23 +0000 (12:03 -0800)]
re PR target/19010 (sse and mmx parameter passing broken)
PR target/19010
* config/i386/i386.c (gen_reg_or_parallel): New.
(function_arg): Use it.
(ix86_hard_regno_mode_ok): Test SSE1 and SSE2 separately,
MMX and 3DNOW separately.
(ix86_rtx_costs): Simplify FLOAT_EXTEND case.
* config/i386/i386.h (VALID_SSE2_REG_MODE): Move SSE2 cases from ...
(VALID_SSE_REG_MODE): ... here.
* config/i386/i386.md (movv4sf_internal): Validate one MEM.
(movv4si_internal): Likewise.
(movv2di_internal): Likewise. Enable for SSE2 only.
(movv2di): Enable for SSE2 only.
(pushv4si): Enable for SSE1.
From-SVN: r92215
Eric Botcazou [Wed, 15 Dec 2004 19:17:57 +0000 (19:17 +0000)]
re PR c++/17972 (const/pure functions result in bad asm)
PR c++/17972
* tree-inline.c (expand_call_inline): Set TREE_SIDE_EFFECTS
on the STMT_EXPR wrapping up the inlined body.
From-SVN: r92213
No Author [Wed, 15 Dec 2004 19:17:57 +0000 (19:17 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.
From-SVN: r92212
Eric Botcazou [Wed, 15 Dec 2004 13:41:28 +0000 (14:41 +0100)]
re PR preprocessor/15167 (Internal compiler error with "#pragma once")
PR preprocessor/15167
* cppfiles.c (destroy_cpp_file): New function.
(should_stack_file): Make a new file if the
compared file is still stacked.
From-SVN: r92198
No Author [Wed, 15 Dec 2004 13:41:28 +0000 (13:41 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.
From-SVN: r92197
Eric Botcazou [Wed, 15 Dec 2004 13:35:11 +0000 (13:35 +0000)]
Add missing entry.
From-SVN: r92195
Eric Botcazou [Wed, 15 Dec 2004 12:34:40 +0000 (13:34 +0100)]
re PR other/18665 (-ftrapv borks up simple integer arithmetic)
PR other/18665
* libgcc-std.ver (GCC_3.4.4): Inherit from GCC_3.4.2.
Export __absvti2, __addvti3, __mulvti3, __negvti2 and __subvti3.
* libgcc-darwin.ver (GCC_3.4.4): Inherit from GCC_3.4.
Export __absvti2, __addvti3, __mulvti3, __negvti2 and __subvti3.
* libgcc2.c (__addvsi3): Rename to __addvSI3.
New version if COMPAT_SIMODE_TRAPPING_ARITHMETIC.
(__addvdi3): Rename to __addvDI3.
(__subvsi3): Rename to __subvSI3. Use word type for the result.
New version if COMPAT_SIMODE_TRAPPING_ARITHMETIC.
(__subvdi3): Rename to __subvDI3.
(_mulvsi3): Rename to _mulvSI3.
New version if COMPAT_SIMODE_TRAPPING_ARITHMETIC.
(_mulvdi3): Rename to _mulvDI3.
(__negvsi2): Rename to __negvSI2.
New version if COMPAT_SIMODE_TRAPPING_ARITHMETIC.
(__negvdi2): Rename to __negvDI2.
(__absvsi2): Rename to __absvSI2.
New version if COMPAT_SIMODE_TRAPPING_ARITHMETIC.
(__absvdi2): Rename to __absvDI2.
* libgcc2.h (64-bit targets): Define COMPAT_SIMODE_TRAPPING_ARITHMETIC.
(__absvSI2, __addvSI3, __subvSI3, __mulvSI3, __negvSI2, __absvDI2,
__addvDI3, __subvDI3, __mulvDI3, __negvDI2): Define to the appropriate
symbol and declare.
(__absvsi2, __addvsi3, __subvsi3, __mulvsi3, __negvsi2): Declare if
COMPAT_SIMODE_TRAPPING_ARITHMETIC.
From-SVN: r92189
No Author [Wed, 15 Dec 2004 12:34:40 +0000 (12:34 +0000)]
This commit was manufactured by cvs2svn to create branch
'gcc-3_4-branch'.
From-SVN: r92188
GCC Administrator [Wed, 15 Dec 2004 00:16:10 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r92168
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
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
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
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
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
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
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
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
GCC Administrator [Tue, 14 Dec 2004 00:16:08 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r92110
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
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
GCC Administrator [Mon, 13 Dec 2004 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r92068
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
GCC Administrator [Sun, 12 Dec 2004 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r92037
GCC Administrator [Sat, 11 Dec 2004 00:16:09 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r92020
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
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
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
GCC Administrator [Fri, 10 Dec 2004 00:16:09 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r91980
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
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
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
GCC Administrator [Thu, 9 Dec 2004 00:16:08 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r91921
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
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
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
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
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
GCC Administrator [Wed, 8 Dec 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r91838
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
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
GCC Administrator [Tue, 7 Dec 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r91795
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
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
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
GCC Administrator [Mon, 6 Dec 2004 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r91759
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
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
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
GCC Administrator [Sun, 5 Dec 2004 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r91733
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
GCC Administrator [Sat, 4 Dec 2004 00:16:08 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r91708
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
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
GCC Administrator [Fri, 3 Dec 2004 00:16:17 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r91667
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
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
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
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
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
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
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
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
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
GCC Administrator [Thu, 2 Dec 2004 00:16:08 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r91597
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
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
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
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
GCC Administrator [Wed, 1 Dec 2004 00:16:20 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r91546
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
GCC Administrator [Tue, 30 Nov 2004 00:16:14 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r91500
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