This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/54072] BOZ with -std=f2008: wrongly accepted to TRANSFER/ABS/...; two BOZ not rejected for IOR/IEOR/IAND
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 23 Jul 2012 13:44:47 +0000
- Subject: [Bug fortran/54072] BOZ with -std=f2008: wrongly accepted to TRANSFER/ABS/...; two BOZ not rejected for IOR/IEOR/IAND
- Auto-submitted: auto-generated
- References: <bug-54072-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54072
--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-07-23 13:44:47 UTC ---
(In reply to comment #1)
> Misleading error message:
> Error: Extension: BOZ literal at (1) outside a DATA statement and outside
> INT/REAL/DBLE/CMPLX
> As comment 0 shows, there are now many more intrinsics where BOZ literals are
> allowed. The message text should be updated.
http://gcc.gnu.org/onlinedocs/gfortran/BOZ-literal-constants.html has a similar
issue: It also only lists the 4 Fortran 2003 intrinsics; one should mention
that some additional Fortran 2008 intrinsics also accept BOZ.