This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/14050] New: c99 restrict doesn't work in abs declarator


c99's restrict doesn't work in an abstract declarator:

int regexec(int [restrict]);

t7.c:1: error: static or type qualifiers in abstract declarator

gcc version 3.4 20031207 (experimental)

In

http://gcc.gnu.org/ml/gcc/2004-02/msg00461.html

Nathan claimed it was valid.

-- 
           Summary: c99 restrict doesn't work in abs declarator
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mrs at apple dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-apple-darwin6.3
  GCC host triplet: powerpc-apple-darwin6.3
GCC target triplet: powerpc-apple-darwin6.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14050


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]