This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR c++/35652 [4.2/4.3/4.4 Regression] offset warning should be given in the front-end
2009/3/31 Rafael Espindola <espindola@google.com>:
>> I think this is
>>
>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36902
>
> I tried the proposed patch
>
> http://gcc.gnu.org/ml/gcc-patches/2008-10/msg01117.html
>
> but still have the same warning
Not surprising. The text of the warning in PR 36902 is totally
different and that patch just makes VRP a bit smarter about switches,
while your testcase has no switches at all.
Rafael, would you mind attaching the preprocessed testcase to PR 35652?
Thanks,
Manuel.