[Bug c++/36993] g++ crashes with segfault upon wrong placement of case label

drahflow at gmx dot de gcc-bugzilla@gcc.gnu.org
Thu Sep 10 07:43:00 GMT 2009



------- Comment #3 from drahflow at gmx dot de  2009-09-10 07:43 -------
Subject: Re:  g++ crashes with segfault upon wrong placement
 of case label

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

paolo dot carlini at oracle dot com wrote:
> ------- Comment #2 from paolo dot carlini at oracle dot com  2009-09-09 18:53 -------
> Current mainline (151568) instead just accepts it. Is it now an accept-invalid?
I suppose so.

I am not a language lawyer, so that stuff might indeed be legal C++, however
it's
still immoral then, so a warning should definitely be produced.

Jens
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqor40ACgkQzhchXT4RR5B+pwCfQz40auN50AyviMum35rGJzHT
Jb8An0/+j2ZiAFhcEdKsUN/xzhf1m8aV
=4rYk
-----END PGP SIGNATURE-----


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36993



More information about the Gcc-bugs mailing list