This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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] | |
More than one commercial compiler has commonly recommended optimizations which have poorly documented side effect of ignoring this part of the standard. That would clearly be a bug for gcc or gfortran.Observance of parentheses is a requirement in the C90 and C99 standards, as it always was in Fortran. According to my understanding, gcc doesn't break this part of the standard, even with -ffast-math.
I hope so, but some time ago I had a problem with (a+f)-f simplified as 'a' with optimization. I'll have to dig my archives to see if this is still true.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |