[Bug middle-end/57192] [4.9 Regression] miscompilation at -O3

2013-05-13 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57192 Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch changed: What|Removed |Added Status|REOPENED

[Bug middle-end/57192] [4.9 Regression] miscompilation at -O3

2013-05-12 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57192 --- Comment #16 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch --- (In reply to Bill Schmidt from comment #15) I was able to download your code, and I can't reproduce the problem on powerpc64-unknown-linux-gnu with current trunk.

[Bug middle-end/57192] [4.9 Regression] miscompilation at -O3

2013-05-09 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57192 --- Comment #13 from Bill Schmidt wschmidt at gcc dot gnu.org --- (In reply to Joost VandeVondele from comment #0) when compiled at -O3 . Compiling with 4.8 branch, or 4.9 and -O2 doesn't cause this behavior. I just want to point out that SLSR

[Bug middle-end/57192] [4.9 Regression] miscompilation at -O3

2013-05-09 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57192 --- Comment #14 from Bill Schmidt wschmidt at gcc dot gnu.org --- Of course, there can be secondary effects that cause SLSR to kick in with different intermediate code, but it's something to consider.

[Bug middle-end/57192] [4.9 Regression] miscompilation at -O3

2013-05-09 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57192 --- Comment #15 from Bill Schmidt wschmidt at gcc dot gnu.org --- I was able to download your code, and I can't reproduce the problem on powerpc64-unknown-linux-gnu with current trunk.

[Bug middle-end/57192] [4.9 Regression] miscompilation at -O3

2013-05-08 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57192 --- Comment #9 from Dominique d'Humieres dominiq at lps dot ens.fr 2013-05-08 06:01:02 UTC --- On x86_64-apple-darwin10.8.0 at revision 198697 with the patch at http://gcc.gnu.org/ml/gcc-patches/2013-05/msg00367.html the test executes under

[Bug middle-end/57192] [4.9 Regression] miscompilation at -O3

2013-05-08 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57192 --- Comment #10 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch 2013-05-08 06:18:54 UTC --- (In reply to comment #9) On x86_64-apple-darwin10.8.0 at revision 198697 with the patch at

[Bug middle-end/57192] [4.9 Regression] miscompilation at -O3

2013-05-08 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57192 --- Comment #11 from Dominique d'Humieres dominiq at lps dot ens.fr 2013-05-08 06:27:32 UTC --- Can you check what you see by running f951 under valgrind ? It fails for me with: [macbook] f90/bug% valgrind

[Bug middle-end/57192] [4.9 Regression] miscompilation at -O3

2013-05-08 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57192 --- Comment #12 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch 2013-05-08 13:03:59 UTC --- Reduced testcase that still triggers the valgrind warning during compilation: MODULE orbital_pointers INTEGER, DIMENSION(:,:),

[Bug middle-end/57192] [4.9 Regression] miscompilation at -O3

2013-05-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57192 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.0

[Bug middle-end/57192] [4.9 Regression] miscompilation at -O3

2013-05-07 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57192 Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch changed: What|Removed |Added CC|

[Bug middle-end/57192] [4.9 Regression] miscompilation at -O3

2013-05-07 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57192 --- Comment #2 from Bill Schmidt wschmidt at gcc dot gnu.org 2013-05-07 18:23:21 UTC --- Created attachment 30047 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30047 Proposed patch Hi Joost, Can you please apply the proposed

[Bug middle-end/57192] [4.9 Regression] miscompilation at -O3

2013-05-07 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57192 --- Comment #3 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch 2013-05-07 18:54:55 UTC --- (In reply to comment #2) Created attachment 30047 [details] Proposed patch I'll give it a try. Meanwhile, this might be an

[Bug middle-end/57192] [4.9 Regression] miscompilation at -O3

2013-05-07 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57192 --- Comment #4 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch 2013-05-07 19:01:56 UTC --- BTW, on trunk: ../../gcc/gcc/gimple-ssa-strength-reduction.c: In function ‘void analyze_candidates_and_replace()’:

[Bug middle-end/57192] [4.9 Regression] miscompilation at -O3

2013-05-07 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57192 --- Comment #5 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch 2013-05-07 19:16:31 UTC --- Current trunk (without the patch) seems to fix also the original problem. At least for this case, the proposed patch seems not

[Bug middle-end/57192] [4.9 Regression] miscompilation at -O3

2013-05-07 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57192 Bill Schmidt wschmidt at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED

[Bug middle-end/57192] [4.9 Regression] miscompilation at -O3

2013-05-07 Thread wschmidt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57192 --- Comment #7 from Bill Schmidt wschmidt at gcc dot gnu.org 2013-05-07 20:13:10 UTC --- Ah, and thanks for noting the compile warning. I would have expected that to get caught in bootstrap, odd. I'll fix that.

[Bug middle-end/57192] [4.9 Regression] miscompilation at -O3

2013-05-07 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57192 Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch changed: What|Removed |Added Status|RESOLVED