> Seconded. The warning should take into account existing practices instead
> of forcing the user to make completely bogus changes to the code (and Ada
> should have been tested before the patch was approved).
I have a bootstrap failure on x86-64/Linux:
/home/eric/svn/gcc/gcc/combine.c: In function 'rtx_code
simplify_comparison(rtx_code, rtx_def**, rtx_def**)':
/home/eric/svn/gcc/gcc/combine.c:11928:11: error: this statement may fall
through [-Werror=implicit-fallthrough]
break;
^
/home/eric/svn/gcc/gcc/combine.c:11932:2: note: here
case ZERO_EXTEND:
^~~~
/home/eric/svn/gcc/gcc/combine.c:12340:6: error: this statement may fall
through [-Werror=implicit-fallthrough]
}
^
/home/eric/svn/gcc/gcc/combine.c:12343:2: note: here
case LSHIFTRT:
^~~~
/* ... fall through ... */
/* ... fall through ... */
--
Eric Botcazou