public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/47190] New: [4.5/4.6 Regression] ICE: in function_and_variable_visibility, at ipa.c:934 with static weakref variable
@ 2011-01-06 14:44 zsojka at seznam dot cz
  2011-01-06 16:02 ` [Bug tree-optimization/47190] " hubicka at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: zsojka at seznam dot cz @ 2011-01-06 14:44 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.5/4.6 Regression] ICE: in
                    function_and_variable_visibility, at ipa.c:934 with
                    static weakref variable
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


This might be a known problem, but bugzilla search didn't return any results

----- testcase.c -----
static int i __attribute__ ((weakref));
----------------------

Compiler output:
$ gcc testcase.c
testcase.c:1:1: internal compiler error: in function_and_variable_visibility,
at ipa.c:934
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


(gdb) bt
#0  fancy_abort (file=0x11b8518
"/usr/portage/distfiles/svn-src/gcc/trunk/gcc/ipa.c", line=934, 
    function=0x11b86e0 "function_and_variable_visibility") at
/usr/portage/distfiles/svn-src/gcc/trunk/gcc/diagnostic.c:892
#1  0x0000000000b1c477 in function_and_variable_visibility (whole_program=0
'\000')
    at /usr/portage/distfiles/svn-src/gcc/trunk/gcc/ipa.c:933
#2  0x00000000007f1e56 in execute_one_pass (pass=0x163cd00) at
/usr/portage/distfiles/svn-src/gcc/trunk/gcc/passes.c:1553
#3  0x00000000007f258a in execute_ipa_pass_list (pass=0x163cd00)
    at /usr/portage/distfiles/svn-src/gcc/trunk/gcc/passes.c:1920
#4  0x0000000000af9d81 in ipa_passes () at
/usr/portage/distfiles/svn-src/gcc/trunk/gcc/cgraphunit.c:1722
#5  cgraph_optimize () at
/usr/portage/distfiles/svn-src/gcc/trunk/gcc/cgraphunit.c:1794
#6  0x0000000000af9fda in cgraph_finalize_compilation_unit ()
    at /usr/portage/distfiles/svn-src/gcc/trunk/gcc/cgraphunit.c:1042
#7  0x0000000000509d6c in c_write_global_declarations () at
/usr/portage/distfiles/svn-src/gcc/trunk/gcc/c-decl.c:9843
#8  0x00000000008db9e6 in compile_file (argc=12, argv=0x7fffffffdaf8)
    at /usr/portage/distfiles/svn-src/gcc/trunk/gcc/toplev.c:591
#9  do_compile (argc=12, argv=0x7fffffffdaf8) at
/usr/portage/distfiles/svn-src/gcc/trunk/gcc/toplev.c:1874
#10 toplev_main (argc=12, argv=0x7fffffffdaf8) at
/usr/portage/distfiles/svn-src/gcc/trunk/gcc/toplev.c:1937
#11 0x00007ffff6586bbd in __libc_start_main () from /lib/libc.so.6
#12 0x00000000004f0955 in _start ()

Tested revisions:
r168535 - crash
4.5 r168062 - crash
4.4 r168062 - OK


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

end of thread, other threads:[~2012-07-02  9:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-06 14:44 [Bug tree-optimization/47190] New: [4.5/4.6 Regression] ICE: in function_and_variable_visibility, at ipa.c:934 with static weakref variable zsojka at seznam dot cz
2011-01-06 16:02 ` [Bug tree-optimization/47190] " hubicka at gcc dot gnu.org
2011-01-14 14:28 ` rguenth at gcc dot gnu.org
2011-01-19 20:53 ` jakub at gcc dot gnu.org
2011-01-22 16:24 ` hubicka at gcc dot gnu.org
2011-01-26 14:40 ` hubicka at gcc dot gnu.org
2011-01-26 14:56 ` hjl.tools at gmail dot com
2011-01-26 15:10 ` [Bug tree-optimization/47190] [4.5 " hubicka at gcc dot gnu.org
2011-02-02 18:03 ` dnovillo at gcc dot gnu.org
2011-04-28 15:27 ` rguenth at gcc dot gnu.org
2012-07-02  9:49 ` rguenth at gcc dot gnu.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).