[Bug c/36941] gcc does not reject invalid cast
sabre at nondot dot org
gcc-bugzilla@gcc.gnu.org
Fri Jul 25 22:32:00 GMT 2008
------- Comment #3 from sabre at nondot dot org 2008-07-25 22:31 -------
Though that does raise a question. Does GCC normally emit errors for undefined
behavior? I thought the policy was to insert runtime traps? If so, doesn't
the { x; } case qualify, or does it violate some other constraint?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36941
More information about the Gcc-bugs
mailing list