[Bug c/21794] GCC accepts invalid code

2005-05-28 Thread jsm28 at gcc dot gnu dot org
--- Additional Comments From jsm28 at gcc dot gnu dot org 2005-05-28 10:45 --- c90-const-expr-2.c and c99-const-expr-2.c already contain assertions that (void *)(void *)0 is not a null pointer constant; this just part of the known constant expressions issues. *** This bug has been

[Bug c/21794] GCC accepts invalid code

2005-05-27 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-05-28 02:08 --- Subject: Re: New: GCC accepts invalid code On Sat, 28 May 2005, neil at gcc dot gnu dot org wrote: gcc -Wall -ansi -pedantic -fsyntax-only erroneously accepts the following: void bar(void);