http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45824
Summary: Update expr.c's check_inquiry for C_SIZEOF,
compiler_version/_options, etc.
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Keywords: rejects-valid
Severity: normal
Priority: P3
Component: fortran
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Follow up to PR 40568 - but also to PR 40569. The PR of the former - I might
not have copied all remaining tasks.
ISO_C_BINDING's C_SIZEOF but also ISO_FORTRAN_ENV's
compiler_options/compiler_version as listed under Fortran 2008's "7.1.11 Speci
cation expression" as "specication inquiry".
If I understood this part of the previous PR correctly, it means that expr.c's
check_inquiry needs to be updated.
I think except for some F95 vs. newer checks, most items should be handled via
flags in add_function/subroutine of intrinsic.c as one easily forgets to update
check_inquiry.