[Bug optimization/13653] [3.3 regression] -O2 -funroll-loop miscompiles POOMA testcase

rguenth at tat dot physik dot uni-tuebingen dot de gcc-bugzilla@gcc.gnu.org
Fri Jan 16 08:52:00 GMT 2004


------- Additional Comments From rguenth at tat dot physik dot uni-tuebingen dot de  2004-01-16 08:51 -------
Subject: Re:  [3.3 regression] -O2 -funroll-loop
 miscompiles POOMA testcase

On Thu, 15 Jan 2004, bangerth at dealii dot org wrote:

>
> ------- Additional Comments From bangerth at dealii dot org  2004-01-15 19:10 -------
> For whatever reason, the sources I just attached need to be compiled
> with -pthread. Trying to reduce the testcase presently exceeds my time
> limits, though, in particular since compiling with these flags and
> -ggdb does not yield any meaningful backtrace etc :-( Local variables
> are also useless, so I am not sure whether Richard's initial analysis
> is valid.
>
> Richard: can you try and see what happens when you use a recent snapshot
> from gcc mainline?

It works for g++-3.4 (GCC) 3.4.0 20040114 (experimental), and I don't need
to build with -pthread (but maybe this is because my compilers are
configured with --enable-threads=posix?).  Of course I used the
"unincluded" testcase with HEAD because of libstdc++ incompatibilities.

Richard.

--
Richard Guenther <richard dot guenther at uni-tuebingen dot de>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13653



More information about the Gcc-bugs mailing list