Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: Gildos at gmail dot com
I write this simple code in the file test.cpp:
#
#include
int main(int argc, char**argv)
{
(void)argv;
int pippo[100] ;
pippo[1000] = 1 ;
pippo[0] = pippo[0] ;
return
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57367
--- Comment #4 from Guido Del Sarto ---
I do not receive warnings with the following (no dead code).
#
#include
void warning( int pippo[100] )
{
pippo[1000] += pippo[0];
printf( "%d\n", pippo[1000] ) ;
}
int main(int argc, char**ar