[Bug fortran/45824] New: Update expr.c's check_inquiry for C_SIZEOF, compiler_version/_options, etc.

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 28 23:34:00 GMT 2010


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: unassigned@gcc.gnu.org
        ReportedBy: burnus@gcc.gnu.org
                CC: dfranke@gcc.gnu.org


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 "speci
cation 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.



More information about the Gcc-bugs mailing list