------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-03 16:53 ------- Confirmed. Note you don't even have to include the *(&a) part either: typedef struct { char chars[5]; } baz_t;
extern baz_t * baz; extern void foo (baz_t); int bar (const baz_t * ls) { foo (ls == 0 ? *baz : *ls); } But the above worked with "4.0.0 20050225" so something more recent introduced the problem. -- What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2005-04-03 16:53:11 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20739