public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/45721]  New: [4.6 Regression] ICE: in function_and_variable_visibility, at ipa.c:673 with -flto
@ 2010-09-18 18:01 zsojka at seznam dot cz
  2010-09-18 18:26 ` [Bug lto/45721] " rguenth at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: zsojka at seznam dot cz @ 2010-09-18 18:01 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug lto/45721] [4.6 Regression] ICE: in function_and_variable_visibility, at ipa.c:673 with -flto
  2010-09-18 18:01 [Bug lto/45721] New: [4.6 Regression] ICE: in function_and_variable_visibility, at ipa.c:673 with -flto zsojka at seznam dot cz
@ 2010-09-18 18:26 ` rguenth at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-09-18 18:26 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu dot
                   |                            |org
           Keywords|                            |lto
   Target Milestone|---                         |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45721


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-18 18:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-18 18:01 [Bug lto/45721] New: [4.6 Regression] ICE: in function_and_variable_visibility, at ipa.c:673 with -flto zsojka at seznam dot cz
2010-09-18 18:26 ` [Bug lto/45721] " rguenth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).