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/19310] unnecessary error for overflowing results



------- Comment #4 from jvdelisle at gcc dot gnu dot org  2006-06-08 01:04 -------
Steve,

I was just about to post an RFC to the list because this PR is requesting a
change of philosophy regarding compile time vs runtime behavior.  Your comment
about -fallow-inf-nan answers my question.  I can see where some users would
want the compile time error, while others may want to use, for example,
exp(1000) to give an infinity.

I think the patch will be straight forward including updating the appropriate
texi.  The -fallow-inf-nan can be applied to range_check in simplify.c and that
will cover most if not all relevant intrinsics.

The default behavior will be to do as is now and give the compile error.


-- 


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


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