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]

ICE in make_decl_rtl while compiling glibc-2.2.2


Hi,

the appended little code lets current gcc-3.0 ICE in make_decl_rtl:

[fsirl@enzo:/cvsx/rawhide/BUILD/glibc-2.2.2/csu]$ /cvsx/obj/gcc3/gcc/cc1 
-fpreprocessed sysdep.i -quiet -dumpbase sysdep.c -mnew-mnemonics -mpowerpc 
-g -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -version -o sysdep.s
GNU CPP version 3.0 20010322 (prerelease) (cpplib) (PowerPC GNU/Linux)
GNU C version 3.0 20010322 (prerelease) (ppc-redhat-linux)
        compiled by GNU C version 3.0 20010321 (prerelease).
sysdep.i:15: Internal compiler error in make_decl_rtl, at varasm.c:597
Please submit a full bug report, with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

Franz.


extern int errno;

extern int *__errno_location (void) __attribute__ ((__const__));

int
__syscall_error (int err_no)
{
  (*__errno_location ()) = (err_no);
  return -1;
}

int errno = 0;
extern __typeof (errno) _errno __attribute__ ((weak, alias ("errno")));


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