PR c++/35652 [4.2/4.3/4.4 Regression] offset warning should be given in the front-end
Mark Mitchell
mark@codesourcery.com
Tue Mar 31 01:23:00 GMT 2009
Jakub Jelinek wrote:
>> test.c: In function 'f':
>> test.c:5: error: offset '2' outside bounds of constant string
>> test.c:5: error: offset '3' outside bounds of constant string
>
> Yeah, got a bunch of reports about this too. I think the patch should be
> reverted at least on the 4.4 branch.
I agree; that's unacceptable behavior in a release.
Thanks,
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
More information about the Gcc-patches
mailing list