This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-02-02 15:11 -------
The testcase "minimal.c" is broken:
Line 2549 in "main" calls "UniformGridPartition<Dim>::partition" (line 2007+)
which calls "UniformGridPartition<Dim>::blocks" (line 1583) which is an
empty function returning a reference which will later be used.
Since the reference is not initialized at all this *has* to crash somewhere.

IMHO we cannot rely on automatic reducers here. :-(
One must know, whether it is safe to delete a line or not.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]