This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/51929] [4.7 Regression] ICE: verify_cgraph_node failed with -O2 -fno-guess-branch-probability -fipa-cp-clone


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

--- Comment #1 from Zdenek Sojka <zsojka at seznam dot cz> 2012-02-05 15:15:07 UTC ---
Created attachment 26575
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26575
autoreduced testcase

Probably the same problem.

$ gcc -O -fno-guess-branch-probability -fipa-cp -fipa-cp-clone
--param=max-inline-insns-single=25 testcase-min4.ii 
testcase-min4.ii:142:1: error: edge points to wrong declaration:
...
  References:  var:std::string str_01 (addr) fn:<built-in>/16 (addr)
  Refering this function: 
testcase-min4.ii:142:1: internal compiler error: verify_cgraph_node failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r183883 - crash
4.6 r180325 - OK


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]