public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/58332] New: error: inlined_to pointer is set but no predecessors found
@ 2013-09-06  9:54 rsandifo at gcc dot gnu.org
  2013-09-06 10:10 ` [Bug ipa/58332] " hubicka at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2013-09-06  9:54 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58332
           Summary: error: inlined_to pointer is set but no predecessors
                    found
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rsandifo at gcc dot gnu.org
                CC: hubicka at gcc dot gnu.org
            Target: x86_64-linux-gnu

The following testcase:

----------------------------------------------------------------------------
static inline int foo (int x) { return x + 1; }
__attribute__ ((__optimize__ (0))) int bar (void) { return foo (100); }
----------------------------------------------------------------------------

ICEs after r202187 with:

----------------------------------------------------------------------------
foo.c:2:71: error: inlined_to pointer is set but no predecessors found
 __attribute__ ((__optimize__ (0))) int bar (void) { return foo (100); }
                                                                       ^
_ZL3fooi/0 (int foo(int)) @0x7f6911eac000
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  References: 
  Referring: 
  Function int foo(int)/0 is inline copy in int bar()/1
  Availability: local
  Function flags: body local
  Called by: 
  Calls: 
/tmp/foo.c:2:71: internal compiler error: verify_cgraph_node failed
0x918f05 verify_cgraph_node(cgraph_node*)
        /home/richards/gcc/wide-int/gcc/gcc/cgraph.c:2866
0x910531 verify_symtab_node(symtab_node_def*)
        /home/richards/gcc/wide-int/gcc/gcc/symtab.c:772
0x910598 verify_symtab()
        /home/richards/gcc/wide-int/gcc/gcc/symtab.c:789
0x921389 compile()
        /home/richards/gcc/wide-int/gcc/gcc/cgraphunit.c:2146
0x9214b1 finalize_compilation_unit()
        /home/richards/gcc/wide-int/gcc/gcc/cgraphunit.c:2209
0x697554 cp_write_global_declarations()
        /home/richards/gcc/wide-int/gcc/gcc/cp/decl2.c:4364
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
----------------------------------------------------------------------------

I'm not saying we did the right thing before that either,
just that it didn't ICE :-)


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

end of thread, other threads:[~2013-09-17 21:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-06  9:54 [Bug ipa/58332] New: error: inlined_to pointer is set but no predecessors found rsandifo at gcc dot gnu.org
2013-09-06 10:10 ` [Bug ipa/58332] " hubicka at gcc dot gnu.org
2013-09-17  4:33 ` mpolacek at gcc dot gnu.org
2013-09-17  7:51 ` [Bug ipa/58332] [4.9 Regression] " rguenth at gcc dot gnu.org
2013-09-17 18:40 ` hubicka at gcc dot gnu.org
2013-09-17 21:57 ` jan.smets@alcatel-lucent.com

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).