public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/47190] New: [4.5/4.6 Regression] ICE: in function_and_variable_visibility, at ipa.c:934 with static weakref variable
Date: Thu, 06 Jan 2011 14:44:00 -0000	[thread overview]
Message-ID: <bug-47190-4@http.gcc.gnu.org/bugzilla/> (raw)

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


             reply	other threads:[~2011-01-06 14:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-06 14:44 zsojka at seznam dot cz [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-47190-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).