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 fortran/34837] gfortran crashes and asks for bug report



------- Comment #1 from burnus at gcc dot gnu dot org  2008-01-17 22:45 -------
Thanks for the bug report; however, I fail to reproduce the bug with either of
4.1.3, 4.2.2 and 4.3.0 on x86-64-linux.

Your version "4.2.0 (experimental)" is relatively old. (Even 4.1.3 might
contain a bug fix, which was not in yet in 4.2.0.)

Can you try with a newer version, for instance the one available from
http://gcc.gnu.org/wiki/GFortranBinaries ?

 * * *

The newest gfortran versions also have the following warning by default:

  weights = rate_err**-2.0
                      1
Warning: Extension: Unary operator following arithmetic operator (use
parentheses) at (1)

This is not only invalid Fortran but also not always well defined. What does
the following mean:  "a**-b*c"  Does mean "a**(-b) * c"  or  "a**(-b*c)" -
different compilers make different choices here. (In your case the choice is
unambiguous but still not standard conform.)


-- 


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


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