public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "andi-gcc at firstfloor dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/50644] New: ICE in set_is_used added today
Date: Thu, 06 Oct 2011 23:33:00 -0000	[thread overview]
Message-ID: <bug-50644-4@http.gcc.gnu.org/bugzilla/> (raw)

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

             Bug #: 50644
           Summary: ICE in set_is_used added today
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: andi-gcc@firstfloor.org


Since updating to today's trunk I get a ICE in set_is_used while building
a LTOed linux kernel. Yesterday it didn't happen

Running a bisect.

Here's the crash

#7  <signal handler called> 
#8  set_is_used (var=<value optimized out>) at
+../../gcc/gcc/tree-flow-inline.h:562
#9  mark_all_vars_used_1 (var=<value optimized out>) at
+../../gcc/gcc/tree-ssa-live.c:379
#10 0x0000000000860b3e in walk_tree_1 (tp=0x2b11d2f00c00, func=0x7a4390
+<mark_all_vars_used_1(tree*, int*, void*)>, 
    data=0x4296a40, pset=0x0, lh=0) at ../../gcc/gcc/tree.c:10448
#11 0x0000000000860f89 in walk_tree_1 (tp=0x2b11d2efacd0, func=0x7a4390
+<mark_all_vars_used_1(tree*, int*, void*)>, 
    data=0x4296a40, pset=0x0, lh=0) at ../../gcc/gcc/tree.c:10526
#12 0x00000000007a4eb5 in mark_all_vars_used (data=<value optimized out>,
+expr_p=<value optimized out>)
    at ../../gcc/gcc/tree-ssa-live.c:595
#13 remove_unused_locals (data=<value optimized out>, expr_p=<value optimized
+out>)
    at ../../gcc/gcc/tree-ssa-live.c:798
#14 0x000000000068c268 in execute_function_todo (data=Unhandled dwarf
+expression opcode 0xf3
) at ../../gcc/gcc/passes.c:1695
#15 0x000000000068d114 in execute_todo (flags=2132516) at
+../../gcc/gcc/passes.c:1741
#16 0x000000000068f3ce in execute_one_ipa_transform_pass (ipa_pass=0x10ac6e0,
+node=0x2b11e3116ea0)
    at ../../gcc/gcc/passes.c:1919
#17 execute_all_ipa_transforms (ipa_pass=0x10ac6e0, node=0x2b11e3116ea0) at
+../../gcc/gcc/passes.c:1947
#18 0x000000000075fd20 in tree_rest_of_compilation (fndecl=0x2b11d2ed7300) at
+../../gcc/gcc/tree-optimize.c:413
#19 0x000000000051b8a6 in cgraph_expand_function (node=0x2b11e3116ea0) at
+../../gcc/gcc/cgraphunit.c:1805
#20 0x000000000051d182 in cgraph_output_in_order () at
+../../gcc/gcc/cgraphunit.c:1962
#21 cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:2136

...
(gdb) up
#8  set_is_used (var=<value optimized out>) at
+../../gcc/gcc/tree-flow-inline.h:562
562       ann->used = true;
(gdb) p ann
$1 = (var_ann_d *) 0x0


             reply	other threads:[~2011-10-06 23:33 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-06 23:33 andi-gcc at firstfloor dot org [this message]
2011-10-06 23:54 ` [Bug tree-optimization/50644] " andi-gcc at firstfloor dot org
2011-10-07 15:46 ` matz at gcc dot gnu.org
2011-10-07 16:31 ` jakub at gcc dot gnu.org
2011-10-07 16:35 ` matz at gcc dot gnu.org
2011-10-13 13:24 ` andi-gcc at firstfloor dot org
2011-10-13 14:05 ` matz at gcc dot gnu.org
2011-10-20  5:54 ` andi-gcc at firstfloor dot org
2011-10-20  8:16 ` matz at gcc dot gnu.org
2011-10-20 14:06 ` andi-gcc at firstfloor dot org
2011-10-20 16:17 ` matz at gcc dot gnu.org
2011-10-20 16:31 ` andi-gcc at firstfloor dot org
2011-10-20 16:40 ` jakub at gcc dot gnu.org
2011-10-20 16:45 ` andi-gcc at firstfloor dot org
2011-10-29 11:32 ` andi-gcc at firstfloor dot org
2011-10-29 12:59 ` markus at trippelsdorf dot de
2011-10-29 13:08 ` markus at trippelsdorf dot de
2011-10-31 13:17 ` matz at gcc dot gnu.org
2011-10-31 13:38 ` matz at gcc dot gnu.org
2011-10-31 13:43 ` matz at gcc dot gnu.org
2011-11-17 16:09 ` matz at gcc dot gnu.org
2011-11-17 16:35 ` matz 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-50644-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).