This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Bootstrap failure with -fPIC/-O on x86-linux and powerpc-linux
- To: egcs-bugs at cygnus dot com
- Subject: Bootstrap failure with -fPIC/-O on x86-linux and powerpc-linux
- From: Daniel Jacobowitz <drow at false dot org>
- Date: Mon, 25 Jan 1999 20:26:29 -0500
__builtin_constant_p seems to have gotten broken again. libgcc2.a
fails to build with the following error:
../../gcc/varasm.c:3265: Internal compiler error in function decode_rtx_const
Please submit a full bug report to `egcs-bugs@cygnus.com'.
See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
I've attached a test case; it requires both __builtin_constant_p's, and
requires -fPIC -O.
Dan
/--------------------------------\ /--------------------------------\
| Daniel Jacobowitz |__| CMU, CS class of 2002 |
| Debian GNU/Linux Developer __ Part-Time Systems Programmer |
| dan@debian.org | | drow@cs.cmu.edu |
\--------------------------------/ \--------------------------------/
static void
__bb_init_prg ()
{
const char *p = 0;
unsigned long l;
(void)(__extension__ (__builtin_constant_p ( p) && __builtin_constant_p ( l)));
}