This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/45721] New: [4.6 Regression] ICE: in function_and_variable_visibility, at ipa.c:673 with -flto
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Sep 2010 18:00:59 -0000
- Subject: [Bug lto/45721] New: [4.6 Regression] ICE: in function_and_variable_visibility, at ipa.c:673 with -flto
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Compiler output:
$ gcc -flto -r -nostdlib file[12].c
lto1: internal compiler error: in function_and_variable_visibility, at
ipa.c:673
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper:
/mnt/svn/gcc-trunk/binary-164287-lto-fortran-checking-yes-rtl-df/bin/gcc
returned 1 exit status
collect2: lto-wrapper returned 1 exit status
------ file1.c ------
extern void baz(void);
void *y = (void *)baz;
---------------------
------ file2.c ------
static void bar(void) __attribute__ ((__weakref__("baz")));
void *x = (void *)bar;
---------------------
I don't know if this is valid, but originally those were valid C and C++ files
including only system libraries.
Tested revisions:
r164287 - crash
r163636 - crash
r161659 - OK
r159696 - OK
r153685 - OK
4.5 r163761 - OK
--
Summary: [4.6 Regression] ICE: in
function_and_variable_visibility, at ipa.c:673 with -
flto
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zsojka at seznam dot cz
GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45721