[Bug middle-end/67946] Function multiversioning ICE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67946 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |6.0 Known to work||10.1.0, 12.0, 6.1.0, 6.4.0, ||7.1.0, 8.5.0 Resolution|--- |FIXED Keywords||ice-on-valid-code Known to fail||5.5.0 Status|NEW |RESOLVED See Also||https://gcc.gnu.org/bugzill ||a/show_bug.cgi?id=79124 --- Comment #5 from Andrew Pinski --- Fixed so closing. Most likely just like PR 79124.
[Bug middle-end/67946] Function multiversioning ICE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67946 --- Comment #4 from Stupachenko Evgeny --- fixed starting from gcc 6
[Bug middle-end/67946] Function multiversioning ICE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67946 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2015-10-13 Component|target |middle-end Ever confirmed|0 |1 --- Comment #3 from Richard Biener --- I don't think compiling with -mavx is desired here. The "bug" is that DECL_MODE doesn't have the same special-casing of vectors as TYPE_MODE has and ... /* Holds the machine mode corresponding to the declaration of a variable or field. Always equal to TYPE_MODE (TREE_TYPE (decl)) except for a FIELD_DECL. */ #define DECL_MODE(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.mode) ... the comment also is wrong here. Not sure if we really want to change the above to sth like #define DECL_MODE(NODE) \ (VECTOR_TYPE_P (TREE_TYPE (NODE)) \ ? vector_type_mode (TREE_TYPE (NODE)) \ : DECL_COMMON_CHECK (NODE)->decl_common.mode) though. Maybe changing references to DECL_MODE to use TYPE_MODE in some selected places would be enough ...