[Bug libfortran/48785] BOZ editing of real numbers not working with -std=f2008
thenlich at users dot sourceforge.net
gcc-bugzilla@gcc.gnu.org
Mon May 2 14:11:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48785
--- Comment #6 from Thomas Henlich <thenlich at users dot sourceforge.net> 2011-05-02 14:10:22 UTC ---
Can you elaborate on this?
Previously we allowed the format with -std=gnu.
Now we want to allow it with -std=gnu or -std=f2008. So we call require_type()
only if neither of these options is set.
That's why I changed the mask from GFC_STD_GNU to (GFC_STD_GNU |
GFC_STD_F2008).
And the values have different bits set, so the OR is not redundant:
#define GFC_STD_F2008 (1<<7) /* New in F2008. */
#define GFC_STD_LEGACY (1<<6) /* Backward compatibility. */
#define GFC_STD_GNU (1<<5) /* GNU Fortran extension. */
More information about the Gcc-bugs
mailing list