This is the mail archive of the gcc-patches@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]

Re: [patch, fortran] Point to -frange-check in the error message (Re: data type problems)


Hi Tobias,

Noone commented your patch:

2007-04-12 Tobias Burnus <burnus@net-b.de>

        * primary.c (match_integer_constant): Mention -fno-range-check
        in the error message.

I think it's a good idea, but I'd change the message from:
+      gfc_error ("Integer too big for its kind at %C. Use -fno-range-check "
+                "to disable this check.");
to something that is not so directive (after all, it's only a
workaround, and probably a bad thing to do if you can modify the
code). Perhaps "This check can be disabled with option
-fno-range-check"?

Let's say we give 48 hours to people who want to object or help design
the wording of the message, and then it's OK to commit. If you have
another idea for the message than the one I gave, please go for it!

FX


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