[Bug tree-optimization/48377] [4.6/4.7 regression] miscompilation at -O3

2011-06-27 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48377 --- Comment #47 from Jakub Jelinek jakub at gcc dot gnu.org 2011-06-27 17:55:40 UTC --- Author: jakub Date: Mon Jun 27 17:55:35 2011 New Revision: 175544 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=175544 Log: Backported from

[Bug tree-optimization/48377] [4.6/4.7 regression] miscompilation at -O3

2011-06-26 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48377 --- Comment #46 from Jakub Jelinek jakub at gcc dot gnu.org 2011-06-26 07:58:18 UTC --- Author: jakub Date: Sun Jun 26 07:57:30 2011 New Revision: 175408 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=175408 Log: 2011-06-26 Jakub Jelinek

[Bug tree-optimization/48377] [4.6/4.7 regression] miscompilation at -O3

2011-06-03 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48377 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added CC||ebotcazou at

[Bug tree-optimization/48377] [4.6/4.7 regression] miscompilation at -O3

2011-06-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48377 --- Comment #40 from Jakub Jelinek jakub at gcc dot gnu.org 2011-06-03 10:06:26 UTC --- (In reply to comment #39) Fixed (the testcase with aligned(1)). The original is INVALID. The testcase with aligned(1) cannot pass on strict-alignment

[Bug tree-optimization/48377] [4.6/4.7 regression] miscompilation at -O3

2011-06-03 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48377 --- Comment #41 from Eric Botcazou ebotcazou at gcc dot gnu.org 2011-06-03 10:41:55 UTC --- Can you explain why it cannot pass on strict-alignment targets? The read is done through a type with explicit low alignment, so strict alignment

[Bug tree-optimization/48377] [4.6/4.7 regression] miscompilation at -O3

2011-06-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48377 --- Comment #42 from Jakub Jelinek jakub at gcc dot gnu.org 2011-06-03 10:54:54 UTC --- It surprises me it doesn't handle it, that is clearly a bug. Conceptually it is no different from struct A { char c; unsigned int d; }

[Bug tree-optimization/48377] [4.6/4.7 regression] miscompilation at -O3

2011-06-03 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48377 --- Comment #43 from Eric Botcazou ebotcazou at gcc dot gnu.org 2011-06-03 11:10:35 UTC --- Conceptually it is no different from struct A { char c; unsigned int d; } __attribute__((packed)); unsigned int id (struct A *p) { return p-d;

[Bug tree-optimization/48377] [4.6/4.7 regression] miscompilation at -O3

2011-06-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48377 --- Comment #44 from Jakub Jelinek jakub at gcc dot gnu.org 2011-06-03 11:24:27 UTC --- Created attachment 24423 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=24423 gcc46-pr48377.patch I don't see why mode should be relevant, the MEM_REF

[Bug tree-optimization/48377] [4.6/4.7 regression] miscompilation at -O3

2011-06-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48377 --- Comment #45 from Richard Guenther rguenth at gcc dot gnu.org 2011-06-03 12:55:18 UTC --- (In reply to comment #44) Created attachment 24423 [details] gcc46-pr48377.patch I don't see why mode should be relevant, the MEM_REF should have

[Bug tree-optimization/48377] [4.6/4.7 regression] miscompilation at -O3

2011-04-08 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48377 --- Comment #36 from Jakub Jelinek jakub at gcc dot gnu.org 2011-04-08 11:38:23 UTC --- Author: jakub Date: Fri Apr 8 11:38:19 2011 New Revision: 172172 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=172172 Log: PR

[Bug tree-optimization/48377] [4.6/4.7 regression] miscompilation at -O3

2011-04-08 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48377 --- Comment #37 from Jakub Jelinek jakub at gcc dot gnu.org 2011-04-08 11:45:31 UTC --- Author: jakub Date: Fri Apr 8 11:45:29 2011 New Revision: 172174 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=172174 Log: PR

[Bug tree-optimization/48377] [4.6/4.7 regression] miscompilation at -O3

2011-04-08 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48377 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED