[Bug c/35092] New: Global variable reference not resolved with -Os option

2008-02-05 Thread lee_merrill at yahoo dot com
_, 4); } break; return 0; } -- Summary: Global variable reference not resolved with -Os option Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo

[Bug c/35092] Global variable reference not resolved with -Os option

2008-02-05 Thread lee_merrill at yahoo dot com
--- Comment #1 from lee_merrill at yahoo dot com 2008-02-05 15:51 --- Created an attachment (id=15101) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15101&action=view) The source code for causing the described problem Type "make" and then run "btifc"

[Bug c/35092] Global variable reference not resolved with -Os option

2008-02-05 Thread lee_merrill at yahoo dot com
--- Comment #4 from lee_merrill at yahoo dot com 2008-02-05 19:58 --- It might be good to have the compiler issue a warning for such? It's neat that it can tell that it's got a zero pointer... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35092