------- Comment #1 from joseph at codesourcery dot com 2008-07-25 22:29 ------- Subject: Re: New: gcc does not reject invalid cast
On Fri, 25 Jul 2008, sabre at nondot dot org wrote:
> GCC accepts:
> extern struct S x;
> void foo() { (void)x; }
What constraint do you think this violates, or are you just reporting a
QoI issue for not diagnosing undefined behavior?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36941
