[Bug testsuite/38036] [4.4 Regression][AVR] FAIL: gcc.c-torture/execute/pr37573.c execution

2008-11-25 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 Target Milestone|--- |4.4.0 http

[Bug ada/37681] [4.4 Regression] Building 64-bit libada fails on Solaris/x86: alignment error

2008-11-25 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2008-11-25 16:34 --- So, this is fixed now? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/38264] New: tree_forwarder_block_p says no to first basic block

2008-11-25 Thread rguenth at gcc dot gnu dot org
Component: middle-end 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=38264

[Bug middle-end/38264] tree_forwarder_block_p says no to first basic block

2008-11-25 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-11-25 19:11 --- Created an attachment (id=16767) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16767&action=view) patch Patch that miscompares. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38264

[Bug tree-optimization/37869] PTA results wrong for "non-pointer" variables

2008-11-25 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-11-25 20:29 --- Subject: Bug 37869 Author: rguenth Date: Tue Nov 25 20:27:44 2008 New Revision: 142202 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142202 Log: 2008-11-25 Richard Guenther <[EMAI

[Bug tree-optimization/37869] PTA results wrong for "non-pointer" variables

2008-11-25 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-11-25 21:23 --- Testcase from comment #1 has wrong points-to sets on the trunk as well (-O). end = &NONLOCAL temp_4 = end end_7 = end_1 temp_8 = temp_2 end_1 = end end_1 = end_7 temp_2 = temp_4 temp_2 = temp_8 ... end_7 is a

[Bug tree-optimization/37869] PTA results wrong for "non-pointer" variables

2008-11-25 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-11-25 21:45 --- Simpler testcase: void foo (unsigned long *end) { unsigned long *temp = end - 1; while (1) *end-- = *temp; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37869

[Bug target/38269] Segmentation fault in main_block_label when using -fno-unit-at-a-time and precompiled headers containing inline functions

2008-11-25 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-11-25 22:38 --- Then do not use PCH. Seriously, this is not going to be fixed unless you provide a patch ;) Rather I hope we will end up removing the current PCH implementation. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug middle-end/38271] [4.4 Regression] Spurious / missing "... used uninitialized in this function" warning

2008-11-26 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-11-26 10:00 --- Doesn't happen on 64bit x86_64. Testcase which doesn't warn with 4.3: struct xxx { short a; short b; void *c; }; void bar(struct xxx); void foo(struct xxx *p, int i) { struct xxx s = *p;

[Bug tree-optimization/37869] PTA results wrong for "non-pointer" variables

2008-11-26 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2008-11-26 09:47 --- Subject: Bug 37869 Author: rguenth Date: Wed Nov 26 09:46:23 2008 New Revision: 142213 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142213 Log: 2008-11-25 Daniel Berlin <[EMAI

[Bug tree-optimization/37869] PTA results wrong for "non-pointer" variables

2008-11-26 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-11-26 09:47 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug tree-optimization/38180] CCP does not propagate through constant initializers

2008-11-26 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-11-26 12:28 --- Subject: Bug 38180 Author: rguenth Date: Wed Nov 26 12:27:33 2008 New Revision: 142217 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142217 Log: 2008-11-26 Richard Guenther <[EMAI

[Bug c++/38278] [4.4 Regression] C++ namespace collision

2008-11-26 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-11-26 17:08 --- This is perfectly valid code. It works when you omit the parens around min - smells related to a recent fix that I don't remember ... -- rguenth at gcc dot gnu dot org changed: What|Re

[Bug middle-end/38284] verify_stmts failed when compile with -O2 -fira -fipa-pta -fPIC

2008-11-27 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-11-27 10:18 --- Still -fipa-pta is necessary to reproduce the failure. ipa-pta is broken, so, wontfix. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/38074] [4.4 Regression] missed inlining since IRA merge on Core2 Duo

2008-11-28 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-11-28 11:19 --- Probably because the other doubly-nested loop bodies inside that loop are considered way more hot. Does using profile-feedback help? -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug tree-optimization/38301] New: vectorization breaks type-based aliasing rules

2008-11-28 Thread rguenth at gcc dot gnu dot org
-optimization AssignedTo: rguenth at gcc dot gnu dot org ReportedBy: rguenth at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38301

[Bug middle-end/37742] [4.4 Regression] ICE in vectorizer with restrict pointer

2008-11-28 Thread rguenth at gcc dot gnu dot org
--- Comment #24 from rguenth at gcc dot gnu dot org 2008-11-28 11:30 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug tree-optimization/37955] [4.4 Regression] internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447

2008-11-28 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2008-11-28 11:31 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug tree-optimization/37955] [4.4 Regression] internal compiler error: in vectorizable_store, at tree-vect-transform.c:5447

2008-11-28 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2008-11-28 11:32 --- Subject: Bug 37955 Author: rguenth Date: Fri Nov 28 11:30:45 2008 New Revision: 142257 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142257 Log: 2008-11-28 Richard Guenther <[EMAI

[Bug middle-end/37742] [4.4 Regression] ICE in vectorizer with restrict pointer

2008-11-28 Thread rguenth at gcc dot gnu dot org
--- Comment #25 from rguenth at gcc dot gnu dot org 2008-11-28 11:32 --- Subject: Bug 37742 Author: rguenth Date: Fri Nov 28 11:30:45 2008 New Revision: 142257 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142257 Log: 2008-11-28 Richard Guenther <[EMAI

[Bug bootstrap/38302] inefficient use of strlen in for loop

2008-11-30 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-11-30 11:33 --- Also the compiler is able to do this optimization. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38302

[Bug target/38306] [4.4 Regression] 15% slowdown of computational kernel

2008-11-30 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-11-30 11:38 --- Due to the high density of branches in the code this is easily a code layout and/or padding issue. Different architectures have different constraints on their decoders and branch predictors related to branch

[Bug middle-end/35560] Missing CSE/PRE for memory operations involved in virtual call.

2008-11-30 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-11-30 11:56 --- Well, the middle-end thinks that *ap is clobbered by the calls to foo/bar (which it obviously is). The middle-end has no idea that the _vptr member of *ap is special and not clobbered (is it?). We do not have a

[Bug c++/38297] O2 causes invalid code

2008-11-30 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2008-11-30 11:43 --- Note that the C standard forbids type-punning through a union. Basically it says that you may only read from a union member if you have previously written to it. It also says that all other bits apart from the

[Bug target/38306] [4.4 Regression] 15% slowdown of computational kernel

2008-11-30 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-11-30 11:48 --- Oh, maybe try -fno-tree-reassoc as well. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38306

[Bug tree-optimization/26307] load PRE creates type mismatches

2008-11-30 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-11-30 12:01 --- PRE now does the correct thing: pretmp.13_12 = *entry_ptr_1(D); : # prephitmp.14_14 = PHI D.1235_4 = prephitmp.14_14; D.1239_5 = (int *) D.1235_4; with pretmp and the prephitmp being (void *) pointers

[Bug middle-end/35560] Missing CSE/PRE for memory operations involved in virtual call.

2008-11-30 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-11-30 12:09 --- Note that we also do not CSE OBJ_TYPE_REF trees which seem to be valid gimple in place of the call in GIMPLE_CALLs so they do not get a separate value-number. (not that we would do anything useful with them if they

[Bug tree-optimization/38328] Massive performance regression for jpeg_idct_islow

2008-11-30 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-11-30 16:23 --- Which tuning are you using? Try enabling -mtune=generic (possibly by default). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38328

[Bug target/38306] [4.4 Regression] 15% slowdown of computational kernel

2008-11-30 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-11-30 16:39 --- Not on all targets though. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38306

[Bug c++/38334] New: pmf accesses violate strict-aliasing rules

2008-11-30 Thread rguenth at gcc dot gnu dot org
org ReportedBy: rguenth at gcc dot gnu dot org OtherBugsDependingO 36509 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38334

[Bug target/27432] -fschedule-insns -O2 -march=athlon cause compilation error

2008-11-30 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2008-11-30 17:55 --- The testcase in this PR works since GCC 4.0. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27432

[Bug middle-end/36509] [4.4 Regression]: gcc.dg/Wstrict-aliasing-float-ptr-int-obj.c

2008-11-30 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-11-30 18:50 --- Created an attachment (id=16794) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16794&action=view) patch re-enabling the warning So we have a new blocker here... attaching the otherwise workin

[Bug middle-end/35560] Missing CSE/PRE for memory operations involved in virtual call.

2008-11-30 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-11-30 19:38 --- Yeah, that definitely complicates matters. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35560

[Bug c++/38335] Code warning

2008-11-30 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-11-30 19:50 --- You mean like g++ -S -O2 t.C -Wall t.C: In function ‘int main(int, char**)’: t.C:12: warning: array subscript is above array bounds ? Seriously, there is too many code around modifying the induction variable in a

[Bug tree-optimization/38328] Massive performance regression for jpeg_idct_islow

2008-11-30 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-11-30 20:37 --- What is the gcc output if you append -v? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38328

[Bug tree-optimization/38328] Massive performance regression for jpeg_idct_islow

2008-11-30 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2008-11-30 21:04 --- Append -v to the command-line you use for compiling ;) Seriously, if using -mtune=generic works then this is a Debian packaging issue of their gcc-snapshot compiler. -- http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug middle-end/38336] fold_builtin_memory_op generates invalid GIMPLE

2008-11-30 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-11-30 21:15 --- The failure is that fold_builtin_memory_op forgets to properly make the return value available if 'ignore' is passed as true. This confuses COND_EXPR gimplification. The fix may be non-trivial. --

[Bug middle-end/38336] fold_builtin_memory_op generates invalid GIMPLE

2008-11-30 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-11-30 21:17 --- Btw, ERRMSG.12 = stat.11 != 0 ? (void) __builtin_memcpy ((void *) &err, (void *) ERRMSG.12, 30) : (void) 0; doesn't make sense. You assign void to ERRMSG.12 which is not void. -- rguenth at gcc do

[Bug tree-optimization/38328] Massive performance regression for jpeg_idct_islow

2008-11-30 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2008-11-30 21:29 --- " /usr/lib/gcc-snapshot/libexec/gcc/i486-linux-gnu/4.4.0/cc1 -quiet -v -I. -D_REENTRANT -DPIC ./jidctint.c -quiet -dumpbase jidctint.c -mtune=i486 -auxbase-strip .libs/jidctint.o -g -g -O2 -Wall -version -fP

[Bug tree-optimization/38072] [4.3 Regression] ICE during inlining of valid code

2008-11-30 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38072

[Bug middle-end/37861] [4.3 Regression] Bogus array bounds warning

2008-11-30 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37861

[Bug c++/36654] [4.2/4.3 Regression] Inlined con/de-structor breaks virtual inheritance dllimport classes

2008-11-30 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.3 regression] Inlined|[4.2/4.3 Regression] Inlined |con/de-structor

[Bug c++/37314] [4.2/4.3/4.4 Regression] seg violation

2008-11-30 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|WAITING |NEW Priority|P3 |P2 Last

[Bug c/38337] Wrong "is used uninitialized in this function" warning

2008-12-01 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-12-01 09:45 --- works for me -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Summary

[Bug middle-end/38338] [4.4 Regression] Compile abort when compiling code which used to work

2008-12-01 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-12-01 09:47 --- This is a recent regression, r141893 works. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/38334] pmf accesses violate strict-aliasing rules

2008-12-01 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-12-01 09:49 --- There's a pointer-adjustment in the original code (we just cprop a zero). If there was a suitable member forwprop should have re-constructed an access. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38334

[Bug c/38341] Wrong warning comparison of promoted ~unsigned with unsigned

2008-12-01 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-12-01 10:01 --- /* Warn if two unsigned values are being compared in a size larger than their original size, and one (and only one) is the result of a `~' operator. This comparison will always fail. Also wa

[Bug c/38343] ice for legal code with -O2

2008-12-01 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-12-01 10:42 --- Reducing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38343

[Bug middle-end/38343] [4.4 Regression] ice for legal code with -O2

2008-12-01 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-12-01 10:50 --- typedef struct myodbc3_err_str { char sqlstate[6]; } MYODBC3_ERR_STR; static MYODBC3_ERR_STR myodbc3_errors[] = { { "01000" } }; void myodbc_sqlstate2_init(void) { __builtin_stpcpy(myodbc3_errors[0

[Bug target/38344] [4.3 Regression] bootstrap failure in libjava/link.cc (ICE in invariant_for_use)

2008-12-01 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||ice-on-valid-code Known to fail

[Bug target/38344] [4.3 Regression] bootstrap failure in libjava/link.cc (ICE in invariant_for_use)

2008-12-01 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-12-01 11:06 --- Can you figure out which patch is the cause? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38344

[Bug c/38341] Wrong warning comparison of promoted ~unsigned with unsigned

2008-12-01 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-12-01 12:49 --- As I said, for the first case we optimize away the promotions before the warning code comes along. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38341

[Bug c/38346] NTPL pthread_create is thread safe ?

2008-12-01 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-12-01 14:44 --- This is not related to GCC. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/38352] cos() returns incorrect value in FE_UPWARD rounding mode

2008-12-01 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-12-01 16:36 --- Not a GCC issue. And invalid anyway, C99 math always rounds to even. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/38355] ICE with -fipa-struct-reorg

2008-12-02 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-12-02 11:05 --- Re-opening as the -fipa-struct-reorg case. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/38358] Could not compile gcc using large include files

2008-12-02 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-12-02 11:10 --- If you are having a large array initializer you may run into memory problems and/or internal limitations. Without a testcase it's hard to tell. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38358

[Bug tree-optimization/38359] [4.3/4.4 regression] ICE in set_lattice_value, at tree-ssa-ccp.c:466

2008-12-02 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-12-02 11:18 --- I will have a look. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/38366] gcc doesn't call functions that are struct arguments correctly

2008-12-02 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-12-02 11:22 --- This seems to work for me with r141893 which means this broke recently. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/38369] [4.3 regression] ICE (SIGSEGV in number_of_iterations_exit)

2008-12-02 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-12-02 12:07 --- reducing. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC

[Bug other/38370] inconsistent warnings

2008-12-02 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-12-02 12:12 --- *** This bug has been marked as a duplicate of 38341 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/38341] Wrong warning comparison of promoted ~unsigned with unsigned

2008-12-02 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-12-02 12:12 --- *** Bug 38370 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/38359] [4.3/4.4 regression] ICE in set_lattice_value, at tree-ssa-ccp.c:466

2008-12-02 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-12-02 12:21 --- Minimal testcase: unsigned _ov_64_seek_lap (_Bool x1, _Bool x2, _Bool x3) { unsigned ltmp_3978_7__PHI_TEMPORARY; unsigned ltmp_4011_7__PHI_TEMPORARY; signed ltmp_4011_7; if (!x1 || !x2) while (1

[Bug tree-optimization/38359] [4.3/4.4 regression] ICE in set_lattice_value, at tree-ssa-ccp.c:466

2008-12-02 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-12-02 13:23 --- This is const_binop folding -1 >> -130 to zero and fold_binary -1 >> n to -1. 11458 case RSHIFT_EXPR: 11459 /* Optimize -1 >> x for arithmetic right shifts. */ 11460 if

[Bug c/38364] [4.4 Regression] -ftrapv triggers integer miscompilation

2008-12-02 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-12-02 11:15 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC

[Bug tree-optimization/38359] [4.3/4.4 regression] ICE in set_lattice_value, at tree-ssa-ccp.c:466

2008-12-02 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-12-02 14:50 --- Subject: Bug 38359 Author: rguenth Date: Tue Dec 2 14:49:00 2008 New Revision: 142356 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142356 Log: 2008-12-02 Richard Guenther <[EMAI

[Bug tree-optimization/38359] [4.3 Regression] ICE in set_lattice_value, at tree-ssa-ccp.c:466

2008-12-02 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2008-12-02 14:51 --- Fixed for 4.4.0. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to

[Bug tree-optimization/38359] [4.3 Regression] ICE in set_lattice_value, at tree-ssa-ccp.c:466

2008-12-02 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2008-12-02 14:56 --- Subject: Bug 38359 Author: rguenth Date: Tue Dec 2 14:55:04 2008 New Revision: 142357 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142357 Log: 2008-12-02 Richard Guenther <[EMAI

[Bug middle-end/38360] [4.3/4.4 regression] ICE in gimple_op, at gimple.h:1636

2008-12-02 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-12-02 11:16 --- Or rather we should verify arguments to builtin functions properly in the frontends. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38360

[Bug java/38374] New: constant pool references have wrong types in ADDR_EXPR

2008-12-02 Thread rguenth at gcc dot gnu dot org
: constant pool references have wrong types in ADDR_EXPR Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rguenth at gcc dot

[Bug middle-end/38070] [4.3 Regression] ICE in compare_values_warnv

2008-12-03 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Known to

[Bug middle-end/36326] gimplification of aggregate copies introduces extra aggregate copy

2008-12-03 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-12-03 15:11 --- Subject: Bug 36326 Author: rguenth Date: Wed Dec 3 15:10:03 2008 New Revision: 142396 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142396 Log: 2008-12-03 Richard Guenther <[EMAI

[Bug middle-end/36143] [4.4 Regression]: FAIL: g++.dg/tree-ssa/pr19637.C

2008-12-03 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2008-12-03 15:33 --- We should be able to go via a VIEW_CONVERT_EXPR when propagating (struct Foo *) &i into the LHS dereference D.2279_5->i[0]. That is, convert that to VIEW_CONVERT_EXPR (i)->i[0] and further fo

[Bug middle-end/38271] [4.4 Regression] Spurious / missing "... used uninitialized in this function" warning

2008-12-03 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-12-03 16:38 --- Still warns for truct xxx { short a; short b; void *c; }; void bar(struct xxx); void foo(struct xxx *p, int i) { struct xxx s0 = *p; struct xxx s = s0; if (s.a) i++; bar(s); } at -O -m32

[Bug c/38387] psim miscompiled [regression]

2008-12-03 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-12-03 17:04 --- Does it work built with -fno-strict-aliasing? -O1 or -O0? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38387

[Bug libgcj/38396] New: libgcj_bc for 4.3 and 4.4 are binary incompatible but have the same SONAME

2008-12-04 Thread rguenth at gcc dot gnu dot org
itical Priority: P3 Component: libgcj 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=38396

[Bug tree-optimization/38369] [4.3 regression] ICE (SIGSEGV in number_of_iterations_exit)

2008-12-04 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-12-04 12:59 --- Created an attachment (id=16823) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16823&action=view) somewhat reduced testcase ./cc1plus -quiet /tmp/20508.3.min.3.3.i -O -m32 /tmp/20508.3.min.3.

[Bug tree-optimization/38369] [4.3 regression] ICE (SIGSEGV in number_of_iterations_exit)

2008-12-04 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-12-04 13:09 --- This is after early inlining / cfg_cleanup btw. (gdb) call debug_bb_n (7) ;; basic block 7, loop depth 0, count 0 ;; prev block 6, next block 8 ;; pred: 5 [100.0%] (fallthru,exec) 6 [100.0%] (fallthru

[Bug tree-optimization/38401] TreeSSA-PRE load after store misoptimization

2008-12-04 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-12-04 15:14 --- It works with -O3 (with partial-partial PRE enabled). At least phi-translation figures out that *res is zero on the incoming edge. Un-leashing partial-PRE like with Index: tree-ssa-pre.c

[Bug debug/29202] [4.2/4.3/4.4 Regression] ICE with external template and const data in the template

2008-12-04 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2008-12-04 15:17 --- The reduced testcase still fails on the 4.3 branch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/38334] pmf accesses violate strict-aliasing rules

2008-12-04 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-12-04 15:56 --- Subject: Bug 38334 Author: rguenth Date: Thu Dec 4 15:55:25 2008 New Revision: 142437 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142437 Log: 2008-12-04 Richard Guenther <[EMAI

[Bug middle-end/36509] [4.4 Regression]: gcc.dg/Wstrict-aliasing-float-ptr-int-obj.c

2008-12-04 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2008-12-04 15:56 --- Subject: Bug 36509 Author: rguenth Date: Thu Dec 4 15:55:25 2008 New Revision: 142437 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142437 Log: 2008-12-04 Richard Guenther <[EMAI

[Bug middle-end/36509] [4.4 Regression]: gcc.dg/Wstrict-aliasing-float-ptr-int-obj.c

2008-12-04 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2008-12-04 16:25 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/34386] -Wstrict-aliasing=3 ineffective (tree-ssa-alias-warnings.c)

2008-12-04 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-12-04 16:26 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/34385] [4.3 Regression] new miscompilation after PR34148 fix

2008-12-04 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2008-12-04 16:34 --- Note that the trunk still doesn't warn because we transform the invalid access to a valid one by doing node.11_19 = (struct Node *) D.2454_18; D.2456.i = node.11_19; D.2457_20 = VIEW_CONVERT_EXPR(D.24

[Bug c++/38334] pmf accesses violate strict-aliasing rules

2008-12-04 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-12-04 16:26 --- "Fixed". -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/34386] -Wstrict-aliasing=3 ineffective (tree-ssa-alias-warnings.c)

2008-12-04 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34386

[Bug middle-end/38406] [4.4 Regression] Revision 142437 caused gcc.dg/Wstrict-aliasing-converted-assigned.c

2008-12-05 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-12-05 11:10 --- Uhm, I probably forgot to apply one testsuite update. I'll check. -- rguenth at gcc dot gnu dot org changed: What|Removed |

[Bug tree-optimization/38405] [4.4 Regression] (silent failure) handling bitfield in ternary

2008-12-05 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-12-05 11:23 --- The error is likely Folding statement: D.1241_5 = D.1242_4 != 0; Folded into: D.1241_5 = (int) D.1242_4; which is wrong for D.1242; because it sign-extends. -- rguenth at gcc dot gnu dot org changed

[Bug testsuite/38406] [4.4 Regression] Revision 142437 caused gcc.dg/Wstrict-aliasing-converted-assigned.c

2008-12-05 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-12-05 11:57 --- Forwprop optimizes that testcase now on 32bit systems. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug testsuite/38406] [4.4 Regression] Revision 142437 caused gcc.dg/Wstrict-aliasing-converted-assigned.c

2008-12-05 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-12-05 12:00 --- Subject: Bug 38406 Author: rguenth Date: Fri Dec 5 11:59:21 2008 New Revision: 142471 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142471 Log: 2008-12-05 Richard Guenther <[EMAI

[Bug testsuite/38406] [4.4 Regression] Revision 142437 caused gcc.dg/Wstrict-aliasing-converted-assigned.c

2008-12-05 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-12-05 11:59 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug target/38306] [4.4 Regression] 15% slowdown w.r.t. 4.3 of computational kernel on some architectures

2008-12-05 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||missed-optimization Priority|P3

[Bug c++/38357] [4.2/4.3/4.4 Regression] ICE cc1plus (Segmentation fault)

2008-12-05 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38357

[Bug bootstrap/38300] [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo

2008-12-05 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38300

[Bug preprocessor/38161] [4.4 regression] #elif breaks

2008-12-05 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-12-05 12:20 --- *** This bug has been marked as a duplicate of 36453 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/36453] PR36320 breaks boost

2008-12-05 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2008-12-05 12:20 --- *** Bug 38161 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/38360] [4.3 Regression] ICE in gimple_op, at gimple.h:1636

2008-12-05 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 Summary|[4.3 regression] ICE in |[4.3 Regression

[Bug debug/38367] [4.2/4.3/4.4 Regression] Wrong debug information for big endian function parameters

2008-12-05 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 Summary|[4.1/4.2/4.3/4.4 regression]|[4.2/4.3/4.4

[Bug middle-end/38074] [4.4 Regression] missed inlining on Core2 Duo due to apparent wrong branch prediction/profile

2008-12-05 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2008-12-05 12:21 --- Honza, can you have a look here? I suspect the fortran decl issue prevent proper profile distribution over the callgraph... -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug middle-end/38070] [4.3 Regression] ICE in compare_values_warnv

2008-12-05 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38070

<    2   3   4   5   6   7   8   9   10   11   >