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/13912] [gfortran] Does not accept negative constants


------- Additional Comments From Tobias dot Schlueter at physik dot uni-muenchen dot de  2004-04-22 12:36 -------
It is not valid Fortran, but I vaguely remember that there has been some
discussion on this in the past, possibly in the pre-fork g95 days. It is a
common extension and shouldn't be too hard to implement, though. Of course the
workaround is simple: place parentheses (-1).

-- 


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


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