Fix 20090126-1_0 ICE (ICE in WHOPR combining -O0 to -O2 object)

Richard Guenther richard.guenther@gmail.com
Wed Apr 21 20:04:00 GMT 2010


2010/4/21 Jan Hubicka <hubicka@ucw.cz>:
>> On Wed, Apr 21, 2010 at 8:18 PM, Jan Hubicka <hubicka@ucw.cz> wrote:
>> > +         warning (0,
>>
>> Bah, "warning (0,...)".
>> How about making this a Wdisabled-optimization warning? Or maybe even
>> just an inform?
>
> I think this should be on by default, since this really tells user that he
> did something stupid in his build machinery rather than that GCC decided
> that this particular crazy function can not be handled by given pass.
>
> But I would be only happy if someone suggest me correct diagnostic.
> Inform would be fine with me I guess.

You should use inform () and dg-message.

Richard.

> Honza
>



More information about the Gcc-patches mailing list