This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/13656] New: [3.4 Regression] ICE after redeclaring size_t in the system headers
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jan 2004 15:00:10 -0000
- Subject: [Bug c/13656] New: [3.4 Regression] ICE after redeclaring size_t in the system headers
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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