------- Comment #13 from aldot at gcc dot gnu dot org 2008-06-10 11:20 ------- should have been int argh(void) __attribute__((error ("dce?")));
works without __builtin_constant_p and fails even with -Os -ftree-dce -fweb -ftree-fre -ftree-pre pr36359.c: In function 'foo': pr36359.c:7: error: call to 'argh' declared with attribute error: dce? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36359