[Bug tree-optimization/46886] New: [4.5/4.6 Regression] gfortran.dg/array_constructor_9.f90 FAILs with -ftree-parallelize-loops -fstrict-overflow -fno-tree-ch
zsojka at seznam dot cz
gcc-bugzilla@gcc.gnu.org
Fri Dec 10 15:44:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46886
Summary: [4.5/4.6 Regression]
gfortran.dg/array_constructor_9.f90 FAILs with
-ftree-parallelize-loops -fstrict-overflow
-fno-tree-ch
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Created attachment 22707
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22707
reduced testcase (hopefully correctly)
Output:
$ gfortran -O -ftree-parallelize-loops=2 -fstrict-overflow -fno-tree-ch
testcase.f90
$ valgrind -q ./a.out
==7049== Invalid read of size 4
==7049== at 0x400D33: main (testcase.f90:12)
==7049== Address 0x6174788 is 0 bytes after a block of size 1,320 alloc'd
==7049== at 0x4C265BF: realloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==7049== by 0x400C1A: main (testcase.f90:12)
==7049==
==7049== Invalid write of size 4
==7049== at 0x400D37: main (testcase.f90:12)
==7049== Address 0x6174cf8 is 0 bytes after a block of size 1,320 alloc'd
==7049== at 0x4C2648E: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==7049== by 0x400CDD: main (testcase.f90:12)
==7049==
Tested revisions: (for the reduced testcase)
r167643 - fail
4.5 r166509 - fail (original testcase passes)
4.4 r166509 - OK
More information about the Gcc-bugs
mailing list