------- Comment #3 from jakub at gcc dot gnu dot org 2007-08-23 12:38 ------- Another testcase: extern enum warn overflow; int foo (void) { return overflow; }
Here 3.4.x silently compiled it and used SImode for the variable, eventhough TYPE_SIZE on the enum warn type nor DECL_SIZE on overflow DECL_EXTERNAL variable was set. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32295