On 07/17/2013 04:50 AM, Kyrylo Tkachov wrote:
With this patch we now get PASS->FAIL: gcc.dg/pr42611.c, because the error
message now appears on the line of the definition of the struct. This patch
fixes the testcase.
Ok to apply to trunk?
Please.
Jason
Hi Jason,
> From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches-
> ow...@gcc.gnu.org] On Behalf Of Jason Merrill
> Sent: 14 July 2013 00:00
> To: Joseph S. Myers
> Cc: Eric Botcazou; gcc-patches@gcc.gnu.org; Richard Biener
> Subject: PATCH (c,c++) for c++/57793
>
>
On 07/10/2013 01:24 AM, Eric Botcazou wrote:
The idea behind the existing trick is that the reference is within the bounds
of the base object, i.e. the global offset (offset<<3 + bitpos) is positive,
but the bitpos part is negative, so we rearrange it into ((offset-c>>3)<<3 +
(bitpos+c)). Here t