This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34837] gfortran crashes and asks for bug report
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jan 2008 22:45:30 -0000
- Subject: [Bug fortran/34837] gfortran crashes and asks for bug report
- References: <bug-34837-15656@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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