[Bug sanitizer/80550] error: case label does not reduce to an integer constant

2017-04-27 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80550 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug sanitizer/80550] error: case label does not reduce to an integer constant

2017-04-27 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80550 --- Comment #1 from Markus Trippelsdorf --- Looks like a dup of PR66880. richi said in that bug: »It would be better to make the C FE reject this as constant expression which invokes undefined behavior. IMHO -fsanitize should never sanitize