------- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-11 15:47 ------- Here's a reduced testcase that fails with "-O" on i686-pc-linux-gnu:
================================================ int sprintf (char *s, const char *format, ...); int foo(int i, int j) { char *buf, *str; if (i) str = ""; else if (j) str = ""; else return 1; sprintf(buf, str); return 0; } ================================================ -- What |Removed |Added ---------------------------------------------------------------------------- CC| |reichelt at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |monitored Last reconfirmed|0000-00-00 00:00:00 |2004-10-11 15:47:03 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17656