[Bug middle-end/40021] [4.5 Regression] Revision 146817 miscompiled DAXPY in BLAS

2009-05-06 Thread hjl at gcc dot gnu dot org
--- Comment #15 from hjl at gcc dot gnu dot org 2009-05-06 17:47 --- Subject: Bug 40021 Author: hjl Date: Wed May 6 17:45:40 2009 New Revision: 147195 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147195 Log: 2009-05-06 H.J. Lu Backport from mainline: 2009-

[Bug middle-end/40021] [4.5 Regression] Revision 146817 miscompiled DAXPY in BLAS

2009-05-06 Thread matz at gcc dot gnu dot org
--- Comment #14 from matz at gcc dot gnu dot org 2009-05-06 16:54 --- Hence, fixed. -- matz at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNE

[Bug middle-end/40021] [4.5 Regression] Revision 146817 miscompiled DAXPY in BLAS

2009-05-06 Thread matz at gcc dot gnu dot org
--- Comment #13 from matz at gcc dot gnu dot org 2009-05-06 16:50 --- Subject: Bug 40021 Author: matz Date: Wed May 6 16:49:13 2009 New Revision: 147186 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147186 Log: PR middle-end/40021 * cfgexpand.c (maybe_cleanup_e

[Bug middle-end/40021] [4.5 Regression] Revision 146817 miscompiled DAXPY in BLAS

2009-05-06 Thread hjl dot tools at gmail dot com
--- Comment #12 from hjl dot tools at gmail dot com 2009-05-06 15:48 --- (In reply to comment #11) > (In reply to comment #10) > > Yes, I'll clean this up before submission. Did it help? > > > > I tried it on revision 147173 and it works on test input for > 416.gamess and 465.tonto.

[Bug middle-end/40021] [4.5 Regression] Revision 146817 miscompiled DAXPY in BLAS

2009-05-06 Thread hjl dot tools at gmail dot com
--- Comment #11 from hjl dot tools at gmail dot com 2009-05-06 14:27 --- (In reply to comment #10) > Yes, I'll clean this up before submission. Did it help? > I tried it on revision 147173 and it works on test input for 416.gamess and 465.tonto. I am running reference input now. Than

[Bug middle-end/40021] [4.5 Regression] Revision 146817 miscompiled DAXPY in BLAS

2009-05-06 Thread matz at gcc dot gnu dot org
--- Comment #10 from matz at gcc dot gnu dot org 2009-05-06 09:01 --- Yes, I'll clean this up before submission. Did it help? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40021

[Bug middle-end/40021] [4.5 Regression] Revision 146817 miscompiled DAXPY in BLAS

2009-05-05 Thread hjl dot tools at gmail dot com
--- Comment #9 from hjl dot tools at gmail dot com 2009-05-05 16:28 --- (In reply to comment #8) > Created an attachment (id=17803) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17803&action=view) [edit] > fix for the problem > > I'm regstrapping this patch, it fixes the problem i

[Bug middle-end/40021] [4.5 Regression] Revision 146817 miscompiled DAXPY in BLAS

2009-05-05 Thread matz at gcc dot gnu dot org
--- Comment #8 from matz at gcc dot gnu dot org 2009-05-05 16:11 --- Created an attachment (id=17803) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17803&action=view) fix for the problem I'm regstrapping this patch, it fixes the problem in the testcase. -- http://gcc.gnu.org/

[Bug middle-end/40021] [4.5 Regression] Revision 146817 miscompiled DAXPY in BLAS

2009-05-05 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40021

[Bug middle-end/40021] [4.5 Regression] Revision 146817 miscompiled DAXPY in BLAS

2009-05-05 Thread matz at gcc dot gnu dot org
--- Comment #7 from matz at gcc dot gnu dot org 2009-05-05 15:32 --- The problem is the expansion of this code: : ... D.1650_109 = D.1648_107 | 1; if (D.1650_109 != 0) goto ; else goto ; plus the fact that we need to insert something on edge 4->6. Note how the condition

[Bug middle-end/40021] [4.5 Regression] Revision 146817 miscompiled DAXPY in BLAS

2009-05-05 Thread irar at il dot ibm dot com
--- Comment #6 from irar at il dot ibm dot com 2009-05-05 12:41 --- Reproduced on x86_64-suse-linux. Seems that, somehow, the vectorized version of loop in line 29 is performed, even though the number of scalar iterations is 1. -- irar at il dot ibm dot com changed: What

[Bug middle-end/40021] [4.5 Regression] Revision 146817 miscompiled DAXPY in BLAS

2009-05-05 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||wrong-code Target Milestone|--- |4.5.0 ht

[Bug middle-end/40021] [4.5 Regression] Revision 146817 miscompiled DAXPY in BLAS

2009-05-04 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2009-05-05 00:45 --- Created an attachment (id=17800) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17800&action=view) A testcase [...@gnu-33 pr40021]$ make /export/gnu/import/rrs/146817/usr/bin/gfortran -m32 -c -O2 -ftree-vectori

[Bug middle-end/40021] [4.5 Regression] Revision 146817 miscompiled DAXPY in BLAS

2009-05-04 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2009-05-04 23:09 --- The vectorizer seems broken: /export/gnu/import/rrs/146817/usr/bin/gfortran -m32 -c -O2 -ftree-vectorize -msse2 -mfpmath=sse -ffast-math -ffixed-form test.f /export/gnu/import/rrs/146817/usr/bin/gfortran -m32 -c -O

[Bug middle-end/40021] [4.5 Regression] Revision 146817 miscompiled DAXPY in BLAS

2009-05-04 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2009-05-04 23:07 --- Created an attachment (id=17797) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17797&action=view) A testcase [...@gnu-33 pr40021]$ make /export/gnu/import/rrs/146817/usr/bin/gfortran -m32 -c -O3 -msse2 -mfpmat

[Bug middle-end/40021] [4.5 Regression] Revision 146817 miscompiled DAXPY in BLAS

2009-05-04 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2009-05-04 21:53 --- *** Bug 39973 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40021

[Bug middle-end/40021] [4.5 Regression] Revision 146817 miscompiled DAXPY in BLAS

2009-05-04 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2009-05-04 21:52 --- *** Bug 39972 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40021