[Bug ipa/103378] [12 Regression] ICE: verify_cgraph_node failed (error: semantic interposition mismatch) since r12-5412-g458d2c689963d846
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103378 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #7 from Jan Hubicka --- Fixed by r:4943b75e9f06f0b64ed541430bb7fbccf55fc552 Sorry for wrong PR marker :( I should have cut
[Bug ipa/103378] [12 Regression] ICE: verify_cgraph_node failed (error: semantic interposition mismatch) since r12-5412-g458d2c689963d846
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103378 --- Comment #6 from Jan Hubicka --- I am testing diff --git a/gcc/cgraphunit.cc b/gcc/cgraphunit.cc index 01f4e28204e..bc3dc754481 100644 --- a/gcc/cgraphunit.cc +++ b/gcc/cgraphunit.cc @@ -621,6 +621,7 @@ cgraph_node::analyze (void) tree decl = this->decl; location_t saved_loc = input_location; input_location = DECL_SOURCE_LOCATION (decl); + semantic_interposition = opt_for_fn (decl, flag_semantic_interposition); if (thunk) {
[Bug ipa/103378] [12 Regression] ICE: verify_cgraph_node failed (error: semantic interposition mismatch) since r12-5412-g458d2c689963d846
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103378 --- Comment #5 from Martin Liška --- @Honza: Any progress with this one?
[Bug ipa/103378] [12 Regression] ICE: verify_cgraph_node failed (error: semantic interposition mismatch) since r12-5412-g458d2c689963d846
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103378 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment #4 from David Binderman --- Still seems to be going wrong with gcc trunk dated 20220118.
[Bug ipa/103378] [12 Regression] ICE: verify_cgraph_node failed (error: semantic interposition mismatch) since r12-5412-g458d2c689963d846
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103378 --- Comment #3 from Jan Hubicka --- This is ugly. It is caused by the fact that frontned first finalizes the function and then changes the attribute (by adding new attribute). I guess I can re-process the attributes again after compilation unit is finished...
[Bug ipa/103378] [12 Regression] ICE: verify_cgraph_node failed (error: semantic interposition mismatch) since r12-5412-g458d2c689963d846
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103378 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0 Priority|P3 |P1
[Bug ipa/103378] [12 Regression] ICE: verify_cgraph_node failed (error: semantic interposition mismatch) since r12-5412-g458d2c689963d846
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103378 Jan Hubicka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot gnu.org CC||hubicka at gcc dot gnu.org --- Comment #2 from Jan Hubicka --- mine.
[Bug ipa/103378] [12 Regression] ICE: verify_cgraph_node failed (error: semantic interposition mismatch) since r12-5412-g458d2c689963d846
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103378 Martin Liška changed: What|Removed |Added CC||jamborm at gcc dot gnu.org Last reconfirmed||2021-11-23 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Summary|[12 Regression] ICE:|[12 Regression] ICE: |verify_cgraph_node failed |verify_cgraph_node failed |(error: semantic|(error: semantic |interposition mismatch) |interposition mismatch) ||since ||r12-5412-g458d2c689963d846 --- Comment #1 from Martin Liška --- Started with r12-5412-g458d2c689963d846, note there's a warning: pr103378.c:7:1: warning: optimization attribute on ‘fn3’ follows definition but the attribute doesn’t match [-Wattributes] 7 | double fn3 (double, double) __attribute__ ((optimize ("O2,no-associative-math"))); | ^~ pr103378.c:2:1: note: previous definition of ‘fn3’ with type ‘double(double, double)’ 2 | fn3 (double h, double l) | ^~~