This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/13653] [3.3 regression] -O2 -funroll-loop miscompiles POOMA testcase
- From: "rguenth at tat dot physik dot uni-tuebingen dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jan 2004 08:52:02 -0000
- Subject: [Bug optimization/13653] [3.3 regression] -O2 -funroll-loop miscompiles POOMA testcase
- References: <20040112101346.13653.rguenth@tat.physik.uni-tuebingen.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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