------- Comment #5 from ro at CeBiTec dot Uni-Bielefeld dot DE 2010-06-24
12:20 -------
Subject: Re: [4.4/4.5/4.6 regression] Preprocessor ICE with -m64 and
--traditional-cpp
> ------- Comment #4 from jakub at gcc dot gnu dot org 2010-06-24 11:51 -------
> created. But, as this PR lacks a testcase (well, the testcase depends on a
> proprietary header file not included here), it is hard to guess what's going
> on.
I could include the OpenSolaris header, which is licensed under CDDL,
but I've just been able to construct a minimal testcase:
$ cat include.c
#include <stdlib.h>
$ cat stdlib.h
#pragma redefine_extname mkstemp64 mkstemp
$ ./cc1 -E -traditional-cpp ./include.c -o include.i -I . -m64
In file included from ./include.c:2:0:
./stdlib.h:1:0: internal compiler error: Abort
This should make it easier to find what's going on. Unlike the original
test case from the GCC testsuite, this one fails even without -m64.
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39213