]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix -fpedantic combined with `F()' invocation,
authorCraig Burley <burley@gnu.ai.mit.edu>
Sun, 8 Feb 1998 23:50:28 +0000 (23:50 +0000)
committerJeff Law <law@gcc.gnu.org>
Sun, 8 Feb 1998 23:50:28 +0000 (16:50 -0700)
commitdb1e9ec96f125c7f451b80c60e122e18138ff527
treedd538554836c09d04423fc6d5787cb0747e6cc40
parent09f009c66f2cefd5a8bd097378d253d49b4ce134
Fix -fpedantic combined with `F()' invocation,

        also -fugly-comma combined with `IARGC()' invocation:
        * bad.def (FFEBAD_NULL_ARGUMENT_W): New diagnostic.
        * expr.c (ffeexpr_finished_): Don't reject null expressions
        in the argument-expression context -- let outer context
        handle that.
        (ffeexpr_token_arguments_): Warn about null expressions
        here if -fpedantic (as appropriate).
        Obey -fugly-comma for only external-procedure invocations.

From-SVN: r17792
gcc/f/ChangeLog.egcs
gcc/f/bad.def
gcc/f/expr.c