[Bug optimization/14019] New: fortran if statement with .and. causes optimizer to produce wrong code
mmrashid at ucdavis dot edu
gcc-bugzilla@gcc.gnu.org
Wed Feb 4 19:12:00 GMT 2004
A short fortran program compiled and loaded with g77 causes the following
problem: an if statement within a do-loop that contains two logical expressions
separated by .and. causes the code above the if statement, and inside the loop,
to not be executed (i.e. it is skipped over). This only occurs when invoking
g77 with any level of optimization.
--
Summary: fortran if statement with .and. causes optimizer to
produce wrong code
Product: gcc
Version: 2.96 (redhat)
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mmrashid at ucdavis dot edu
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14019
More information about the Gcc-bugs
mailing list