http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50463
Bug #: 50463
Summary: -ftree-dse leeds to wrong code with gfortran
Classification: Unclassified
Product: gcc
Version: 4.6.1
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: fortran
AssignedTo: [email protected]
ReportedBy: [email protected]
compiling the attached code with
gfortran -O a.f b.f c.f
leeds to wrong code.
If compileing with
gfortran -O -fno-tree-dse a.f b.f c.f
the code produce correct results.
