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/13656] New: [3.4 Regression] ICE after redeclaring size_t in the system headers


Try to compile the follow code and you will get an ICE, note this is derived from an 
openbsd's alloca and all the line markers have been removed except for one so that 
redeclaring of size_t is fine for all compilers except for the mainline.

# 1 "/home/gates/pinskia/src/gnu/gcc/src/objdir.openbsd/gcc/include/stddef.h" 3 4
typedef unsigned int size_t;
typedef unsigned int size_t;
void *memchr(const void *, int, size_t);

-- 
           Summary: [3.4 Regression] ICE after redeclaring size_t in the
                    system headers
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, build
          Severity: critical
          Priority: P2
         Component: c
        AssignedTo: zack at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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