[Bug tree-optimization/38051] [4.4 Regression] Miscompilation of glibc's memcmp

2008-12-10 Thread rguenth at gcc dot gnu dot org
--- Comment #16 from rguenth at gcc dot gnu dot org 2008-12-10 18:43 --- *** Bug 38478 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added -

[Bug tree-optimization/38051] [4.4 Regression] Miscompilation of glibc's memcmp

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

[Bug tree-optimization/38051] [4.4 Regression] Miscompilation of glibc's memcmp

2008-11-18 Thread jakub at gcc dot gnu dot org
--- Comment #14 from jakub at gcc dot gnu dot org 2008-11-18 23:03 --- Subject: Bug 38051 Author: jakub Date: Tue Nov 18 23:01:35 2008 New Revision: 141983 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141983 Log: PR tree-optimization/38051 * gcc.c-torture/execu

[Bug tree-optimization/38051] [4.4 Regression] Miscompilation of glibc's memcmp

2008-11-18 Thread jakub at gcc dot gnu dot org
--- Comment #13 from jakub at gcc dot gnu dot org 2008-11-18 18:19 --- See http://gcc.gnu.org/ml/gcc-patches/2008-11/msg00905.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38051

[Bug tree-optimization/38051] [4.4 Regression] Miscompilation of glibc's memcmp

2008-11-18 Thread sje at cup dot hp dot com
--- Comment #12 from sje at cup dot hp dot com 2008-11-18 17:31 --- The new test is also failing on IA64 HP-UX and PA HP-UX (32 and 64 bits). It is not failing on IA64 Linux. Could the test have a big-endian/little-endian issue? -- sje at cup dot hp dot com changed: Wha

[Bug tree-optimization/38051] [4.4 Regression] Miscompilation of glibc's memcmp

2008-11-18 Thread dominiq at lps dot ens dot fr
--- Comment #11 from dominiq at lps dot ens dot fr 2008-11-18 13:38 --- The test fails on powerpc-apple-darwin9 (revision 141945, 32 and 64 bit modes): FAIL: gcc.c-torture/execute/pr38051.c execution, -O0 FAIL: gcc.c-torture/execute/pr38051.c execution, -O1 FAIL: gcc.c-torture/execu

[Bug tree-optimization/38051] [4.4 Regression] Miscompilation of glibc's memcmp

2008-11-15 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2008-11-15 15:42 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNE

[Bug tree-optimization/38051] [4.4 Regression] Miscompilation of glibc's memcmp

2008-11-15 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2008-11-15 15:39 --- Subject: Bug 38051 Author: rguenth Date: Sat Nov 15 15:37:57 2008 New Revision: 141887 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141887 Log: 2008-11-15 Richard Guenther <[EMAIL PROTECTED]> PR

[Bug tree-optimization/38051] [4.4 Regression] Miscompilation of glibc's memcmp

2008-11-15 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38051

[Bug tree-optimization/38051] [4.4 Regression] Miscompilation of glibc's memcmp

2008-11-07 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2008-11-07 19:33 --- Created an attachment (id=16633) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16633&action=view) prototype patch Prototype patch. It needs some work as appearantly we cannot use MPT_SYMBOLS reliably there -

[Bug tree-optimization/38051] [4.4 Regression] Miscompilation of glibc's memcmp

2008-11-07 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2008-11-07 18:43 --- During update_alias_info we collect the variables that are written to, but because we use gimple_stored_syms to get at them we miss those that are in memory partitions. If the new partitioning moves them out of a pa

[Bug tree-optimization/38051] [4.4 Regression] Miscompilation of glibc's memcmp

2008-11-07 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-11-07 17:35 --- I will have a look. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Assigne

[Bug tree-optimization/38051] [4.4 Regression] Miscompilation of glibc's memcmp

2008-11-07 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2008-11-07 16:46 --- At *.crited there is still a virtual dependency between a = x; (and b = b0;) and *srcp1 + *srcp2 reads: # MPT.26D.2201_438 = VDEF { MPT.26D.2201 } aD.2099 = xD.2073_296; # MPT.26D.2201_439 = VDEF { MPT.26D.2201

[Bug tree-optimization/38051] [4.4 Regression] Miscompilation of glibc's memcmp

2008-11-07 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2008-11-07 16:32 --- *.copyprop4 still contains the needed stores: [gg5.c : 151] D.2147_293 = a3D.2068_292 >> shlD.2074_195; [gg5.c : 151] D.2148_295 = a0D.2065_294 << shrD.2075_198; [gg5.c : 151] xD.2073_296 = D.2148_295 | D.2147_29

[Bug tree-optimization/38051] [4.4 Regression] Miscompilation of glibc's memcmp

2008-11-07 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2008-11-07 16:19 --- In assembly, it seems the a and b arguments to mymemcmp1 aren't stored into memory at all: .loc 1 128 0 movq(%rax), %r12#* srcp2.272, b0 .LVL54: .loc 1 126 0 movq(%rdi), %rsi

[Bug tree-optimization/38051] [4.4 Regression] Miscompilation of glibc's memcmp

2008-11-07 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-11-07 15:29 --- Confirmed. PRE doesn't do anything interesting though, neither are the differences in the optimized dump interesting from a first look. -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug tree-optimization/38051] [4.4 Regression] Miscompilation of glibc's memcmp

2008-11-07 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2008-11-07 14:57 --- -fno-tree-pre fixes this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38051

[Bug tree-optimization/38051] [4.4 Regression] Miscompilation of glibc's memcmp

2008-11-07 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38051