[Bug target/45754] Driver core dump when duplicating -Wall command line option
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-09-23 09:12 --- I can't reproduce this on x86_64-linux, so it must be target specific. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Component|driver |target GCC build triplet|Configured with: ... (see | |body) | GCC host triplet|gcc version 4.3.4 20090804 | |(release) 1 (GCC) | GCC target triplet|Target: i686-pc-cygwin |i686-pc-cygwin Summary|Driver core dump (when |Driver core dump when |duplicating -Wall command |duplicating -Wall command |line option |line option http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45754
[Bug middle-end/45325] [4.6 Regression] target attribute doesn't work with -march=i586
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-09-23 09:16 --- Yes, my patch should be a no-op on this failure, it just avoids calling convert_move if it would ICE anyway. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45325
[Bug target/45752] [4.5 regression] ICE in ix86_vectorize_builtin_vec_perm_ok
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-09-23 09:30 --- Confirmed. #2 0x00ec5b41 in ix86_vectorize_builtin_vec_perm_ok ( vec_type=0x75a04dc8, mask=0x75a7d2a0) at /space/rguenther/src/svn/gcc-4_5-branch/gcc/config/i386/i386.c:30144 30144 gcc_assert (vec_mask 0 vec_mask = 3); (gdb) p vec_mask $1 = 0 1912 if (!targetm.vectorize.builtin_vec_perm_ok (vectype, 1913 mask_vec)) (gdb) call debug_generic_expr (mask_vec) { 0xfff8, 0xfff8, 0xfff8, 0xfffb, 0xfffb, 0xfffb, 0xfffe, 0xfffe } (gdb) call debug_generic_expr (vectype) const vector short unsigned int I don't know why the mask elements are negative, but that's certainly the problem with extract_vec_perm_cst which requires positive elements. The problem is surely latent on trunk (no changes in that area). Ira? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||irar at gcc dot gnu dot org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Known to fail||4.5.0 4.5.1 Known to work||4.4.4 4.6.0 Last reconfirmed|-00-00 00:00:00 |2010-09-23 09:30:22 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45752
[Bug bootstrap/45751] [4.6 Regression] Bootstrap failure: at stage 1 xgcc segfault
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45751
[Bug tree-optimization/45750] [4.6 Regression] ICE: in iterative_hash_expr, at tree.c:6831 on invalid code
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-09-23 09:42 --- Mine. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2010-09-23 06:46:05 |2010-09-23 09:42:38 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45750
[Bug middle-end/45758] [4.6 Regression] ICE in expr_invariant_in_loop_p
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-09-23 10:44 --- Somehow works for me. What's your target? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||spop at gcc dot gnu dot org Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45758
[Bug tree-optimization/45750] [4.6 Regression] ICE: in iterative_hash_expr, at tree.c:6831 on invalid code
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-09-23 11:00 --- Subject: Bug 45750 Author: rguenth Date: Thu Sep 23 11:00:27 2010 New Revision: 164555 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164555 Log: 2010-09-23 Richard Guenther rguent...@suse.de PR middle-end/45750 * gimplify.c (gimplify_expr): Properly pass on GS_ERROR when gimplifying MEM_REF. * gcc.dg/pr45750.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/pr45750.c Modified: trunk/gcc/ChangeLog trunk/gcc/gimplify.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45750
[Bug tree-optimization/45750] [4.6 Regression] ICE: in iterative_hash_expr, at tree.c:6831 on invalid code
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-09-23 11:00 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45750
[Bug middle-end/45565] [4.6 Regression] ICE: in execute_todo, at passes.c:1276 with -fno-toplevel-reorder -fno-inline -fipa-cp-clone -fkeep-inline-functions
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-09-23 12:39 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45565
[Bug middle-end/45565] [4.6 Regression] ICE: in execute_todo, at passes.c:1276 with -fno-toplevel-reorder -fno-inline -fipa-cp-clone -fkeep-inline-functions
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-09-23 12:39 --- Subject: Bug 45565 Author: rguenth Date: Thu Sep 23 12:39:26 2010 New Revision: 164561 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164561 Log: 2010-09-23 Richard Guenther rguent...@suse.de PR tree-optimization/45565 * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Make sure to adjust the fndecl before replacing the stmt. * g++.dg/ipa/pr45565.C: New testcase. Added: trunk/gcc/testsuite/g++.dg/ipa/pr45565.C Modified: trunk/gcc/ChangeLog trunk/gcc/cgraphunit.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45565
[Bug tree-optimization/45743] [4.6 Regression] gfortran.dg/whole_file_3.f90 ICE: verify_stmts failed: invalid conversion in gimple call with -finline-small-functions
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45743
[Bug driver/45749] Response file unwrapped between collect2.exe and ld.exe
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-09-22 19:57 --- (In reply to comment #5) See the code in collect_execute: if (HAVE_GNU_LD at_file_supplied argv[0] != NULL) { /* If using @file arguments, create a temporary file and put the contents of argv into it. Then change argv to an array corresponding to a single argument @FILE, where FILE is the temporary filename. */ So maybe HAVE_GNU_LD is not true when it should be. Or collect2 is not invoked with a response file. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45749
[Bug driver/45749] Response file unwrapped between collect2.exe and ld.exe
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-09-22 19:59 --- Btw, on i?86-linux I see /* Define if using GNU as. */ #ifndef USED_FOR_TARGET #define HAVE_GNU_AS 0 #endif /* Define if using GNU ld. */ #ifndef USED_FOR_TARGET #define HAVE_GNU_LD 0 #endif in auto-host.h ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45749
[Bug tree-optimization/45580] [4.6 Regression] Building WebKit fails with compiler catching SIGSEGV in gimple_fold_obj_type_ref_known_binfo()
--- Comment #15 from rguenth at gcc dot gnu dot org 2010-09-21 09:52 --- Subject: Bug 45580 Author: rguenth Date: Tue Sep 21 09:52:00 2010 New Revision: 164474 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164474 Log: 2010-09-21 Richard Guenther rguent...@suse.de PR tree-optimization/45580 * tree-ssa-propagate.c (substitute_and_fold): Always replace regular uses. * gimple-fold.c (gimple_fold_obj_type_ref): For a BINFO without virtuals fold the call into a regular indirect one. * g++.dg/torture/pr45580.C: New testcase. Added: trunk/gcc/testsuite/g++.dg/torture/pr45580.C Modified: trunk/gcc/ChangeLog trunk/gcc/gimple-fold.c trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-propagate.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45580
[Bug tree-optimization/45580] [4.6 Regression] Building WebKit fails with compiler catching SIGSEGV in gimple_fold_obj_type_ref_known_binfo()
--- Comment #16 from rguenth at gcc dot gnu dot org 2010-09-21 09:53 --- ICE fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45580
[Bug tree-optimization/45734] [4.6 Regression] Devirtualization results in wrong-code
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-09-21 10:12 --- The following is miscompiled since ever (and also ICC miscompiles it), so I'm not sure if it is valid to use 'f' to refer to the Bar object. namespace std { typedef __SIZE_TYPE__ size_t; } inline void* operator new(std::size_t, void* __p) throw() { return __p; } extern C void abort (void); class Foo { public: virtual void test (void) { abort (); } }; class Bar : public Foo { public: virtual void test (void) { } }; int main() { Foo f; new (f) Bar(); f.test(); return 0; } A variant with using a pointer of type Bar * like int main() { Foo f; static_castFoo *(new (f) Bar())-test(); return 0; } only breaks on recent trunk. int main() { Foo f; new (f) Bar(); (f)-test(); return 0; } also breaks always. While int main() { Foo f, *p; p = new (f) Bar(); p-test(); return 0; } works. int main() { Foo f, *p; new (f) Bar(); ((Foo *)(void *)f)-test(); return 0; } also works. Fun. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||jason at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45734
[Bug target/45739] static evaluation of SSE intrinsics (pxor)
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-09-21 10:25 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement Status|UNCONFIRMED |NEW Component|middle-end |target Ever Confirmed|0 |1 Keywords||missed-optimization Last reconfirmed|-00-00 00:00:00 |2010-09-21 10:25:16 date|| Summary|[missed optimization] static|static evaluation of SSE |evaluation of SSE intrinsics|intrinsics (pxor) |(pxor) | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45739
[Bug middle-end/45738] [4.6 Regression] ICE: tree check: expected var_decl, have debug_expr_decl in const_value_known_p, at varpool.c:375
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||hubicka at gcc dot gnu dot ||org Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45738
[Bug lto/45736] [4.6 Regression] ICE: in cgraph_remove_unreachable_nodes, at ipa.c:245 with -flto and attribute((constructor))
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||hubicka at gcc dot gnu dot ||org Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45736
[Bug tree-optimization/45704] [4.5 Regression] load byte instruction is used for volatile int
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-09-21 10:47 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45704
[Bug tree-optimization/45704] [4.5 Regression] load byte instruction is used for volatile int
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-09-21 10:47 --- Subject: Bug 45704 Author: rguenth Date: Tue Sep 21 10:47:28 2010 New Revision: 164475 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164475 Log: 2010-09-21 Richard Guenther rguent...@suse.de PR middle-end/45704 * gimplify.c (gimplify_modify_expr_rhs): Preserve volatileness. * gcc.dg/torture/pr45704.c: New testcase. Added: branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/torture/pr45704.c Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/gimplify.c branches/gcc-4_5-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45704
[Bug java/44495] [4.6 regression] ICE in java_mangle_resource_name, at java/mangle.c:658
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44495
[Bug fortran/44945] [4.6 Regression] Wrong decl for module vars / FAIL: gfortran.dg/char_array_structure_constructor.f90
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44945
[Bug c/45054] [4.6 Regression] struct-by-value-1.c fail.
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45054
[Bug target/45250] [4.6 Regression] FAIL: tr1/5_numerical_facilities/special_functions/01_assoc_laguerre/check_nan.cc
--- Comment #10 from rguenth at gcc dot gnu dot org 2010-09-21 13:17 --- Hm, fixed? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45250
[Bug middle-end/45251] [4.6 Regression] Java testsuite regressions on hppa-linux
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45251
[Bug ada/45394] [4.6 regression] gnat fails to build on s390, trunk 20100814
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-09-21 13:24 --- Still broken? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45394
[Bug bootstrap/45445] [4.6 regression] ARM bootstrap failure: comparison failures after stage 3
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45445
[Bug c/45491] [4.6 Regression] FAIL: gcc.c-torture/compile/pr45085.c
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-09-21 13:32 --- Probably another callee-copy thing. Needs investigation. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45491
[Bug middle-end/45550] [4.6 regression] internal compiler error: in fold_convert_loc, at fold-const.c:1899
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-09-21 13:34 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45550
[Bug c++/45562] [4.6 Regression] ICE: SIGSEGV in cp_build_unary_op (typeck.c:5083) with -std=gnu++0x -fipa-cp-clone -fcompare-debug
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45562
[Bug tree-optimization/45563] [4.6 Regression] g++.dg/opt/devirt1.C ICEs in ipcp_init_cloned_node, at ipa-cp.c:190 with -fno-early-inlining -fipa-cp-clone
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45563
[Bug middle-end/45565] [4.6 Regression] ICE: in execute_todo, at passes.c:1276 with -fno-toplevel-reorder -fno-inline -fipa-cp-clone -fkeep-inline-functions
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45565
[Bug tree-optimization/45572] [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45572
[Bug tree-optimization/45626] [4.6 Regression] Segfault in fold_const_aggregate_ref
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-09-21 13:56 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45626
[Bug tree-optimization/45653] [4.6 Regression] ICE: in cgraph_decide_inlining_of_small_functions, at ipa-inline.c:1241 with -fno-early-inlining -fno-ipa-cp -fno-ipa-pure-const
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-09-21 14:00 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45653
[Bug middle-end/45687] [4.6 Regression] possible wrong code bug
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45687
[Bug tree-optimization/45623] [4.5 Regression] GCC 4.5.[01] breaks our ffi on Linux64. ABI break?
--- Comment #30 from rguenth at gcc dot gnu dot org 2010-09-20 08:33 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to fail||4.5.1 Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45623
[Bug tree-optimization/45623] [4.5 Regression] GCC 4.5.[01] breaks our ffi on Linux64. ABI break?
--- Comment #31 from rguenth at gcc dot gnu dot org 2010-09-20 08:34 --- Subject: Bug 45623 Author: rguenth Date: Mon Sep 20 08:33:46 2010 New Revision: 164430 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164430 Log: 2010-09-20 Richard Guenther rguent...@suse.de PR tree-optimization/45623 * tree-ssa-structalias.c (get_constraint_for_ptr_offset): Adjust. (get_constraint_for_component_ref): If computing a constraint for the rhs handle type punning through unions. (get_constraint_for_address_of): Adjust. (get_constraint_for_1): Likewise. (get_constraint_for): Likewise. (get_constraint_for_rhs): New function. (do_structure_copy): Adjust. (make_constraint_to): Likewise. (handle_const_call): Likewise. (find_func_aliases): Likewise. * gcc.dg/torture/pr45623.c: New testcase. Added: branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/torture/pr45623.c Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/testsuite/ChangeLog branches/gcc-4_5-branch/gcc/tree-ssa-structalias.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45623
[Bug tree-optimization/45580] [4.6 Regression] Building WebKit fails with compiler catching SIGSEGV in gimple_fold_obj_type_ref_known_binfo()
--- Comment #12 from rguenth at gcc dot gnu dot org 2010-09-20 09:10 --- Mine. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2010-09-07 16:51:12 |2010-09-20 09:10:27 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45580
[Bug driver/45731] Header missing for assembler option help.
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-09-20 09:30 --- (In reply to comment #2) And yet, it does not help (with or without dashes) that corei7 is claimed to be supported and yet is not. --target-help is documented as alias for --help=target, but that doesn't print this help - which means that the 2nd half of --target-help is from the assembler and linker: -mveclibabi=Vector library ABI to use -mxop Support XOP built-in functions and code generation ... end of GCC options, assembler options starting: -Q ignored -V print assembler version number ... Linker options == Use -Wl,OPTION to pass OPTION to the linker. ... which means a proper header is missing for Assembler options. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Component|target |driver Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2010-09-20 09:30:32 date|| Summary|gcc 4.5.1 -march=corei7 |Header missing for assembler |fails |option help. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45731
[Bug tree-optimization/45732] [4.6 Regression] ICE: in bit_value_unop, at tree-ssa-ccp.c:1861 at -O1
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-09-20 10:39 --- Mine. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2010-09-20 10:39:42 date|| Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45732
[Bug tree-optimization/45580] [4.6 Regression] Building WebKit fails with compiler catching SIGSEGV in gimple_fold_obj_type_ref_known_binfo()
--- Comment #13 from rguenth at gcc dot gnu dot org 2010-09-20 11:45 --- namespace std { typedef __SIZE_TYPE__ size_t; } inline void* operator new(std::size_t, void* __p) throw() { return __p; } extern C void abort (void); class Foo { public: virtual void test (void) { abort (); } }; class Bar { public: virtual void test (void) { } }; int main() { Foo f; Bar *b; b = new (f) Bar(); b-test(); return 0; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45580
[Bug middle-end/45705] [4.3/4.4/4.5/4.6 Regression] Useless store not optimized away
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-09-20 14:40 --- Subject: Bug 45705 Author: rguenth Date: Mon Sep 20 14:40:10 2010 New Revision: 164434 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164434 Log: 2010-09-20 Richard Guenther rguent...@suse.de PR tree-optimization/45705 * tree-ssa-dom.c (optimize_stmt): Perform redundant store elimination. * gcc.dg/tree-ssa/ssa-dom-dse-1.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-dse-1.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-dom.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45705
[Bug middle-end/45705] [4.3/4.4/4.5 Regression] Useless store not optimized away
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-09-20 14:46 --- Fixed on trunk sofar. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to work||4.6.0 Summary|[4.3/4.4/4.5/4.6 Regression]|[4.3/4.4/4.5 Regression] |Useless store not optimized |Useless store not optimized |away|away http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45705
[Bug tree-optimization/45734] New: [4.6 Regression] Devirtualization results in wrong-code
namespace std { typedef __SIZE_TYPE__ size_t; } inline void* operator new(std::size_t, void* __p) throw() { return __p; } extern C void abort (void); class Foo { public: virtual void test (void) { abort (); } }; class Bar { public: virtual void test (void) { } }; int main() { Foo f; Bar *b; b = new (f) Bar(); b-test(); return 0; } -- Summary: [4.6 Regression] Devirtualization results in wrong-code Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rguenth at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45734
[Bug tree-optimization/45734] [4.6 Regression] Devirtualization results in wrong-code
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||hubicka at gcc dot gnu dot ||org, jamborm at gcc dot gnu ||dot org Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45734
[Bug tree-optimization/45734] [4.6 Regression] Devirtualization results in wrong-code
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-09-20 15:46 --- Of course it is ;) Before pointer-conversions became useless we didn't propagate the invariant address into the OBJ_TYPE_REF expression. We still have useful function-pointer conversions as well, because dropping them would wreck CALL_EXPRs, too (we need to preserve the original function type, similar to the alias-type on MEM_REFs). I suppose we could do the same for OBJ_TYPE_REFs that I plan(ned) for CALL_EXPRs - store the pointed-to type via a MEM_REF - thus a dereferenced address. You'd then have CALL_EXPR (MEM [fnptr], args ...) OBJ_TYPE_REF (MEM [fnptr], MEM [objptr], index) where both TREE_TYPE of the function and the object are kept like the FE specified them. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45734
[Bug tree-optimization/45704] [4.5 Regression] load byte instruction is used for volatile int
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-09-20 15:54 --- Subject: Bug 45704 Author: rguenth Date: Mon Sep 20 15:54:03 2010 New Revision: 164439 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164439 Log: 2010-09-20 Richard Guenther rguent...@suse.de PR middle-end/45704 * gimplify.c (gimplify_modify_expr_rhs): Preserve volatileness. * gcc.dg/torture/pr45704.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr45704.c Modified: trunk/gcc/ChangeLog trunk/gcc/gimplify.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45704
[Bug tree-optimization/45714] [4.6 Regression] Vectorization of double pow function causes a segmentation fault
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-09-19 09:40 --- (In reply to comment #3) gimple_bb (stmt) returns NULL for that statement (D.1575_33 = __builtin_pow (D.1542_14, D.1574_32)). We can avoid vectorization in such cases, but looks like it should be fixed to return the actual basic block. If it returns NULL then that stmt was not properly inserted into the insn stream (or removed). Ira -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45714
[Bug tree-optimization/45580] [4.6 Regression] Building WebKit fails with compiler catching SIGSEGV in gimple_fold_obj_type_ref_known_binfo()
--- Comment #11 from rguenth at gcc dot gnu dot org 2010-09-19 10:19 --- Created an attachment (id=21832) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21832action=view) patch Patch I'm testing. The call isn't a virtual one, so in principle the FE lied to us here (probably ignoring the placement new itself). So we can try to recover. The propagation part ensures the original ICE happens at first CCP pass already. Now - we should be able to extract the method we call from bb 2: jsNull (); MEM[(struct NonNullPassRefPtr *)D.2023] = D.2021_16(D); JSObject::JSObject (MEM[(struct JSByteArray *)cell].D.1813, D.2023); MEM[(struct JSByteArray *)cell].D.1813.D.1778._vptr.JSCell = _ZTV11JSByteArray[2]; MEM[(struct JSByteArray *)cell].m_classInfo = 0B; D.1967_8 = MEM[(struct JSCell *)cell]._vptr.JSCell; D.1968_9 = *D.1967_8; D.1968_9 (cell); but FRE only manages to simplify it down to D.1967_8 = _ZTV11JSByteArray[2]; D.1968_9 = *D.1967_8; D.1968_9 (cell); I suppose that's where Honza's SCCVN folding will eventually help. At DOM: D.1968_9 = _ZTV11JSByteArray[2]; D.1968_9 (cell); but maybe we are confused by the vtable being weak: .weak _ZTV11JSByteArray .section .rodata._ZTV11JSByteArray,aG,@progbits,_ZTV11JSByteArray,comdat .align 8 .type _ZTV11JSByteArray, @object .size _ZTV11JSByteArray, 16 _ZTV11JSByteArray: .long 0 .long _ZTI11JSByteArray .long _ZN11JSByteArrayD1Ev .long _ZN11JSByteArrayD0Ev though .rodata means we should have folded it anyway. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45580
[Bug tree-optimization/43959] [4.6 Regression] FAIL: gcc.dg/torture/builtin-cproj-1.c -O1 (test for excess errors)
--- Comment #17 from rguenth at gcc dot gnu dot org 2010-09-19 11:10 --- Ah. The following fixes it for me on a cross. Can you bootstrap regtest and install it? It's pre-approved if it works for you. Thanks. Index: gcc/function.c === --- gcc/function.c (revision 164396) +++ gcc/function.c (working copy) @@ -3578,7 +3578,7 @@ gimplify_parameters (void) compare_tree_int (DECL_SIZE_UNIT (parm), STACK_CHECK_MAX_VAR_SIZE) 0)) { - local = create_tmp_var (type, get_name (parm)); + local = create_tmp_reg (type, get_name (parm)); DECL_IGNORED_P (local) = 0; /* If PARM was addressable, move that flag over to the local copy, as its address will be taken, @@ -3592,7 +3592,7 @@ gimplify_parameters (void) tree ptr_type, addr; ptr_type = build_pointer_type (type); - addr = create_tmp_var (ptr_type, get_name (parm)); + addr = create_tmp_reg (ptr_type, get_name (parm)); DECL_IGNORED_P (addr) = 0; local = build_fold_indirect_ref (addr); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43959
[Bug lto/45727] ICE: in subreg_get_info, at rtlanal.c:3092
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-09-19 13:23 --- Yes, please open a new bugreport for that. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Summary|ICE: in subreg_get_info, at |ICE: in subreg_get_info, at |rtlanal.c:3092 |rtlanal.c:3092 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45727
[Bug tree-optimization/45716] [4.6 regression] ICE: segmentation fault at gcc/tree-ssa-ccp.c:1347
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-09-18 09:26 --- Honza. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||hubicka at gcc dot gnu dot ||org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2010-09-18 09:26:32 date|| Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45716
[Bug tree-optimization/45714] [4.6 Regression] Vectorization of double pow function causes a segmentation fault
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Summary|Vectorization of double pow |[4.6 Regression] |function causes a |Vectorization of double pow |segmentation fault |function causes a ||segmentation fault Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45714
[Bug middle-end/45712] [4.6 Regression] Segmentation violation when compiling spec source on either x86 or ppc with debugging
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-09-18 09:28 --- It should never return NULL for global vars. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||hubicka at gcc dot gnu dot ||org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2010-09-18 09:28:21 date|| Summary|Segmentation violation when |[4.6 Regression] |compiling spec source on|Segmentation violation when |either x86 or ppc with |compiling spec source on |debugging |either x86 or ppc with ||debugging Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45712
[Bug c++/45709] [4.3/4.4/4.5/4.6 regression] internal compiler error: in add_phi_arg, at tree-phinodes.c:395
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2010-09-17 20:25:35 |2010-09-18 09:28:41 date|| Target Milestone|--- |4.3.6 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45709
[Bug tree-optimization/45580] [4.6 Regression] Building WebKit fails with compiler catching SIGSEGV in gimple_fold_obj_type_ref_known_binfo()
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-09-18 09:32 --- (In reply to comment #4) The problem is a big one. In short, placement new operator changes the type of an object to another, which re-sets up the VMT. Then there is call of a virtual method of the latter type. CCP however happily propagates the initial declaration (of a type with no virtual methods) to the OBJ_TYPE_REF and attempts to fold it. The folding function naturally expect to see some virtual methods in BINFOs but there are none and we dereference a NULL pointer. I don't quite understand from the description what is going on. Did you manage to produce a smaller testcase? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45580
[Bug middle-end/45706] [4.6 regression] gcc.dg/vect/vect-114.c
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45706
[Bug c++/45709] [4.3/4.4/4.5/4.6 regression] internal compiler error: in add_phi_arg, at tree-phinodes.c:395
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-09-18 09:53 --- We run into /* With return slot optimization we can end up with non-gimple (foo *)this-m, fix that here. */ if (TREE_CODE (new_arg) != SSA_NAME TREE_CODE (new_arg) != FUNCTION_DECL !is_gimple_val (new_arg)) { gimple_seq stmts = NULL; new_arg = force_gimple_operand (new_arg, stmts, true, NULL); gsi_insert_seq_on_edge_immediate (new_edge, stmts); but inserting on an edge that needs splitting, which wrecks new_edge. Index: tree-inline.c === --- tree-inline.c (revision 164388) +++ tree-inline.c (working copy) @@ -2021,8 +2021,11 @@ copy_phis_for_bb (basic_block bb, copy_b !is_gimple_val (new_arg)) { gimple_seq stmts = NULL; + basic_block tem; new_arg = force_gimple_operand (new_arg, stmts, true, NULL); - gsi_insert_seq_on_edge_immediate (new_edge, stmts); + tem = gsi_insert_seq_on_edge_immediate (new_edge, stmts); + if (tem) + new_edge = find_edge (tem, new_bb); } add_phi_arg (new_phi, new_arg, new_edge, gimple_phi_arg_location_from_edge (phi, old_edge)); fixes that. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45709
[Bug tree-optimization/45580] [4.6 Regression] Building WebKit fails with compiler catching SIGSEGV in gimple_fold_obj_type_ref_known_binfo()
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-09-18 10:02 --- autoreducing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45580
[Bug tree-optimization/45580] [4.6 Regression] Building WebKit fails with compiler catching SIGSEGV in gimple_fold_obj_type_ref_known_binfo()
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-09-18 10:15 --- (In reply to comment #7) (In reply to comment #6) autoreducing. Is this I reduce it myself or I have some tool reduce it for me? If the latter is the case, then what is the tool for automatic testcase reduction? I have some tool. See http://gcc.gnu.org/wiki/A_guide_to_testcase_reduction -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45580
[Bug c++/45709] [4.3/4.4/4.5/4.6 regression] internal compiler error: in add_phi_arg, at tree-phinodes.c:395
--- Comment #9 from rguenth at gcc dot gnu dot org 2010-09-18 11:38 --- Subject: Bug 45709 Author: rguenth Date: Sat Sep 18 11:38:25 2010 New Revision: 164390 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164390 Log: 2010-09-18 Richard Guenther rguent...@suse.de PR tree-optimization/45709 * tree-inline.c (copy_phis_for_bb): Fixup new_edge when we splitted it. * g++.dg/torture/pr45709.C: New testcase. Added: trunk/gcc/testsuite/g++.dg/torture/pr45709.C Modified: trunk/gcc/ChangeLog trunk/gcc/tree-inline.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45709
[Bug c++/45709] [4.3/4.4/4.5/4.6 regression] internal compiler error: in add_phi_arg, at tree-phinodes.c:395
--- Comment #10 from rguenth at gcc dot gnu dot org 2010-09-18 11:39 --- Subject: Bug 45709 Author: rguenth Date: Sat Sep 18 11:39:44 2010 New Revision: 164391 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164391 Log: 2010-09-18 Richard Guenther rguent...@suse.de PR tree-optimization/45709 * tree-inline.c (copy_phis_for_bb): Fixup new_edge when we splitted it. * g++.dg/torture/pr45709.C: New testcase. Added: branches/gcc-4_5-branch/gcc/testsuite/g++.dg/torture/pr45709.C Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/tree-inline.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45709
[Bug c++/45709] [4.3/4.4 Regression] internal compiler error: in add_phi_arg, at tree-phinodes.c:395
--- Comment #11 from rguenth at gcc dot gnu dot org 2010-09-18 12:30 --- Stopping here for now - I guess doing immediate insertion still can break things as if there is another PHI node we'll iterate over the edges again (but now including split ones) and find_edge (new_edge-src-aux, bb) will break as new_edge-src is the newly inserted block. I suppose delaying edge insert commits until after at least this block is finished is better. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to work||4.5.2 4.6.0 Summary|[4.3/4.4/4.5/4.6 regression]|[4.3/4.4 Regression] |internal compiler error: in |internal compiler error: in |add_phi_arg, at tree- |add_phi_arg, at tree- |phinodes.c:395 |phinodes.c:395 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45709
[Bug c++/45709] [4.3/4.4 Regression] internal compiler error: in add_phi_arg, at tree-phinodes.c:395
--- Comment #12 from rguenth at gcc dot gnu dot org 2010-09-18 12:42 --- Yep - testcase that still ICEs (now w/ a segfault): struct Region { int storage[4]; int count; }; static inline Region subtract(int lhs) { Region reg; int* storage = reg.storage; int* storage2 = reg.storage; if (lhs 0) storage++, storage2--; reg.count = storage - reg.storage + storage2 - reg.storage; return reg; } void bar(int a) { const Region copyBack(subtract(a)); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45709
[Bug tree-optimization/45580] [4.6 Regression] Building WebKit fails with compiler catching SIGSEGV in gimple_fold_obj_type_ref_known_binfo()
--- Comment #9 from rguenth at gcc dot gnu dot org 2010-09-18 12:54 --- Created an attachment (id=21828) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21828action=view) reduced testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45580
[Bug c++/45709] [4.3/4.4 Regression] internal compiler error: in add_phi_arg, at tree-phinodes.c:395
--- Comment #13 from rguenth at gcc dot gnu dot org 2010-09-18 12:54 --- new patch in testing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45709
[Bug debug/45717] [4.5 Regression] regression in debug info on simple C++ code
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Summary|regression in debug info on |[4.5 Regression] regression |simple C++ code |in debug info on simple C++ ||code Target Milestone|--- |4.5.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45717
[Bug tree-optimization/45580] [4.6 Regression] Building WebKit fails with compiler catching SIGSEGV in gimple_fold_obj_type_ref_known_binfo()
--- Comment #10 from rguenth at gcc dot gnu dot org 2010-09-18 15:06 --- Well - I think the point is that if the dynamic type of storage differs from its static type (as it happens with placement new) you cannot rely on TYPE_BINFO to be correct at all. Which means that instead of ICEing you can get wrong code easily as well. I think you need to dump using TYPE_BINFO completely and instead rely on the function pointer only. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45580
[Bug c++/45709] [4.3/4.4 Regression] internal compiler error: in add_phi_arg, at tree-phinodes.c:395
--- Comment #14 from rguenth at gcc dot gnu dot org 2010-09-18 17:13 --- Subject: Bug 45709 Author: rguenth Date: Sat Sep 18 17:13:04 2010 New Revision: 164397 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164397 Log: 2010-09-18 Richard Guenther rguent...@suse.de PR tree-optimization/45709 * tree-inline.c (copy_phis_for_bb): Delay commit of edge insertions until after all PHI nodes of the block are processed. * g++.dg/torture/pr45709-2.C: New testcase. Added: trunk/gcc/testsuite/g++.dg/torture/pr45709-2.C Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-inline.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45709
[Bug c++/45709] [4.3/4.4 Regression] internal compiler error: in add_phi_arg, at tree-phinodes.c:395
--- Comment #15 from rguenth at gcc dot gnu dot org 2010-09-18 17:16 --- Subject: Bug 45709 Author: rguenth Date: Sat Sep 18 17:16:42 2010 New Revision: 164398 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164398 Log: 2010-09-18 Richard Guenther rguent...@suse.de PR tree-optimization/45709 * tree-inline.c (copy_phis_for_bb): Delay commit of edge insertions until after all PHI nodes of the block are processed. * g++.dg/torture/pr45709-2.C: New testcase. Added: branches/gcc-4_5-branch/gcc/testsuite/g++.dg/torture/pr45709-2.C Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/testsuite/ChangeLog branches/gcc-4_5-branch/gcc/tree-inline.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45709
[Bug c++/45709] [4.3/4.4 Regression] internal compiler error: in add_phi_arg, at tree-phinodes.c:395
--- Comment #16 from rguenth at gcc dot gnu dot org 2010-09-18 17:23 --- Subject: Bug 45709 Author: rguenth Date: Sat Sep 18 17:23:20 2010 New Revision: 164399 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164399 Log: 2010-09-18 Richard Guenther rguent...@suse.de PR tree-optimization/45709 * tree-inline.c (copy_phis_for_bb): Delay commit of edge insertions until after all PHI nodes of the block are processed. * g++.dg/torture/pr45709.C: New testcase. * g++.dg/torture/pr45709-2.C: Likewise. Added: branches/gcc-4_4-branch/gcc/testsuite/g++.dg/torture/pr45709-2.C branches/gcc-4_4-branch/gcc/testsuite/g++.dg/torture/pr45709.C Modified: branches/gcc-4_4-branch/gcc/ChangeLog branches/gcc-4_4-branch/gcc/testsuite/ChangeLog branches/gcc-4_4-branch/gcc/tree-inline.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45709
[Bug tree-optimization/45709] [4.3 Regression] internal compiler error: in add_phi_arg, at tree-phinodes.c:395
--- Comment #17 from rguenth at gcc dot gnu dot org 2010-09-18 17:24 --- Backport for 4.3 pending testing. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Component|c++ |tree-optimization Known to work|4.5.2 4.6.0 |4.4.5 4.5.2 4.6.0 Summary|[4.3/4.4 Regression]|[4.3 Regression] internal |internal compiler error: in |compiler error: in |add_phi_arg, at tree- |add_phi_arg, at tree- |phinodes.c:395 |phinodes.c:395 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45709
[Bug tree-optimization/43959] [4.6 Regression] FAIL: gcc.dg/torture/builtin-cproj-1.c -O1 (test for excess errors)
--- Comment #14 from rguenth at gcc dot gnu dot org 2010-09-18 18:25 --- You have way more non-SSA variables - possibly due to callee-copy of args (again). I suppose some optimizations end up being disabled for some reason by that, but likely nobody will be interested to fixup missed optimizations for this target :/ So - if you are interested (heh ...) I'd start comparing dumps to i?86 dumps and see where they start to diverge badly. Also try and see why you end up with complex double cd.1; complex long double cld.0; not in SSA form: REALPART_EXPR cld.0 = cld$real_19; IMAGPART_EXPR cld.0 = cld$imag_20; REALPART_EXPR cd.1 = cd$real_10; IMAGPART_EXPR cd.1 = cd$imag_11; REALPART_EXPR cd.1 = Inf; on i?86 I never even start having partial definitions of these on the lhs ... (but I also do not have the callee-copy, so you might check if SRA makes those partial defs from them by trying with -fno-tree-sra). If you're not interested I suggest to XFAIL the testcase for the failing platforms. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||rguenth at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43959
[Bug lto/45721] [4.6 Regression] ICE: in function_and_variable_visibility, at ipa.c:673 with -flto
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||hubicka at gcc dot gnu dot ||org Keywords||lto Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45721
[Bug middle-end/45722] [4.6 Regression] FAIL: gcc.c-torture/execute/20040709-2.c execution at -O1 and -Os
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-09-18 18:43 --- Can you please reduce preprocessed source? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Summary|FAIL: gcc.c-|[4.6 Regression] FAIL: |torture/execute/20040709-2.c|gcc.c- |execution at -O1 and -Os|torture/execute/20040709-2.c ||execution at -O1 and -Os Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45722
[Bug middle-end/45720] [4.6 regression] Revision 164367 miscompiled SPEC CPU 2K
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-09-18 18:45 --- I also see 450.soplex and 481.wrf fail. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45720
[Bug tree-optimization/45709] [4.3 Regression] internal compiler error: in add_phi_arg, at tree-phinodes.c:395
--- Comment #18 from rguenth at gcc dot gnu dot org 2010-09-18 18:54 --- Subject: Bug 45709 Author: rguenth Date: Sat Sep 18 18:53:53 2010 New Revision: 164400 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164400 Log: 2010-09-18 Richard Guenther rguent...@suse.de PR tree-optimization/45709 * tree-inline.c (copy_phis_for_bb): Delay commit of edge insertions until after all PHI nodes of the block are processed. * g++.dg/torture/pr45709.C: New testcase. * g++.dg/torture/pr45709-2.C: Likewise. Added: branches/gcc-4_3-branch/gcc/testsuite/g++.dg/torture/pr45709-2.C branches/gcc-4_3-branch/gcc/testsuite/g++.dg/torture/pr45709.C Modified: branches/gcc-4_3-branch/gcc/ChangeLog branches/gcc-4_3-branch/gcc/testsuite/ChangeLog branches/gcc-4_3-branch/gcc/tree-inline.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45709
[Bug tree-optimization/45709] [4.3 Regression] internal compiler error: in add_phi_arg, at tree-phinodes.c:395
--- Comment #19 from rguenth at gcc dot gnu dot org 2010-09-18 18:54 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to fail||4.3.5 Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45709
[Bug rtl-optimization/45678] [4.4/4.5/4.6 Regression] crash on vector code with -m32 -msse
--- Comment #22 from rguenth at gcc dot gnu dot org 2010-09-17 09:00 --- Subject: Bug 45678 Author: rguenth Date: Fri Sep 17 09:00:23 2010 New Revision: 164356 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164356 Log: 2010-09-17 Richard Guenther rguent...@suse.de PR middle-end/45678 * builtins.c (fold_builtin_memory_op): Always properly adjust alignment of memory accesses. Modified: trunk/gcc/ChangeLog trunk/gcc/builtins.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45678
[Bug c/23104] [4.3/4.4/4.5/4.6 Regression] C does not reject the same function in two different TUs with -combine
--- Comment #18 from rguenth at gcc dot gnu dot org 2010-09-17 09:06 --- -combine has been removed from GCC 4.6 in favor of LTO, closing as WONTFIX. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23104
[Bug tree-optimization/26850] unused function not eliminated with -fwhole-program --combine
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-09-17 09:06 --- -combine has been removed from GCC 4.6 in favor of LTO, closing as WONTFIX. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26850
[Bug c/24068] Unconditional warning when using -combine
--- Comment #12 from rguenth at gcc dot gnu dot org 2010-09-17 09:06 --- -combine has been removed from GCC 4.6 in favor of LTO, closing as WONTFIX. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24068
[Bug c/27899] Compile warning with --combine and global register variables.
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-09-17 09:06 --- -combine has been removed from GCC 4.6 in favor of LTO, closing as WONTFIX. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27899
[Bug middle-end/29171] forgotten memcpy with -ffreestanding -fwhole-program --combine
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-09-17 09:06 --- -combine has been removed from GCC 4.6 in favor of LTO, closing as WONTFIX. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29171
[Bug middle-end/30075] Missed optimizations with -fwhole-program -combine
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-09-17 09:06 --- -combine has been removed from GCC 4.6 in favor of LTO, closing as WONTFIX. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30075
[Bug c/35034] weakref vs. -combine
--- Comment #12 from rguenth at gcc dot gnu dot org 2010-09-17 09:06 --- -combine has been removed from GCC 4.6 in favor of LTO, closing as WONTFIX. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35034
[Bug tree-optimization/37756] ICE building object file with -O3 and -combine
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-09-17 09:06 --- -combine has been removed from GCC 4.6 in favor of LTO, closing as WONTFIX. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37756
[Bug c/37973] Document that -MM and -combine don't mix
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-09-17 09:06 --- -combine has been removed from GCC 4.6 in favor of LTO, closing as WONTFIX. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37973
[Bug middle-end/40506] ICE with -fwhole-program --combine (verify_stmts failed)
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-09-17 09:06 --- -combine has been removed from GCC 4.6 in favor of LTO, closing as WONTFIX. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40506
[Bug tree-optimization/40150] ICE in cgraph_estimate_size_after_inlining, at ipa-inline.c:188 with -combine
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-09-17 09:06 --- -combine has been removed from GCC 4.6 in favor of LTO, closing as WONTFIX. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40150
[Bug driver/41962] gcc fails to compile with -combine -no-integrated-cpp
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-09-17 09:06 --- -combine has been removed from GCC 4.6 in favor of LTO, closing as WONTFIX. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41962
[Bug tree-optimization/44776] FAIL: gcc.dg/matrix/transpose-3.c execution, -fprofile-use -fipa-matrix-reorg -fdump-ipa-matrix-reorg -O3 -fwhole-program -combine
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-09-17 09:06 --- -combine has been removed from GCC 4.6 in favor of LTO, closing as WONTFIX. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44776
[Bug c/44041] [4.5 regression] -combine ICE: verify_gimple failed (invalid conversion in return statement)
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-09-17 09:06 --- -combine has been removed from GCC 4.6 in favor of LTO, closing as WONTFIX. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44041
[Bug tree-optimization/45623] [4.5 Regression] GCC 4.5.[01] breaks our ffi on Linux64. ABI break?
--- Comment #29 from rguenth at gcc dot gnu dot org 2010-09-17 09:09 --- (In reply to comment #28) (In reply to comment #27) Fixed for trunk sofar. Is there an eta for 4.5 backport? We need this to switch Firefox to 4.5 on Linux. I just want to play safe and see if there is any fallout on trunk. You can use the attachment in comment #24 for the 4.5 branch (and I'd appreciate testing if this fixes your original problem) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45623
[Bug middle-end/45699] [4.6 Regression] Incorrect copy constructor generated with -O
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Summary|Incorrect copy constructor |[4.6 Regression] Incorrect |generated with -O |copy constructor generated ||with -O Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45699
[Bug c++/45697] __restrict__ inconsistent in presence of typedefs
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-09-17 09:39 --- Confirmed. Both variants are rejected when using the C frontend. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords||accepts-invalid Last reconfirmed|-00-00 00:00:00 |2010-09-17 09:39:43 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45697
[Bug rtl-optimization/45695] [4.5/4.6 Regression] -O1 wrong-code by cmove
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Component|c |rtl-optimization Known to work||4.5.1 Priority|P3 |P1 Summary|-O1 wrong-code by cmove |[4.5/4.6 Regression] -O1 ||wrong-code by cmove Target Milestone|--- |4.5.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45695
[Bug target/45693] [4.6 regression] All Tru64 UNIX EH tests fail
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45693