Ping?

Would be great to get this in, it's currently showing up as a major issue on 
our nightlies.

Cheers,
Tamar

> -----Original Message-----
> From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches-
> ow...@gcc.gnu.org] On Behalf Of Tom de Vries
> Sent: 25 September 2016 10:08
> To: GCC Patches
> Subject: [PATCH, PR77558] Remove RECORD_TYPE special-casing in
> std_canonical_va_list_type
> 
> Hi,
> 
> this patch fixes PR77558, an ice-on-invalid-code 6/7 regression.
> 
> The fix for PR71602 introduced the invalid-code test-case
> c-c++-common/va-arg-va-list-type.c:
> ...
> __builtin_va_list *pap;
> 
> void
> fn1 (void)
> {
>    __builtin_va_arg (pap, double); /* { dg-error "first argument to 'va_arg' 
> not
> of type 'va_list'" } */ } ...
> 
> The test-case passes for x86_64, but fails for aarch64 and ICEs for arm.
> 
> The ICE happens because the patch for PR71602 is incomplete. The patch
> tries to be more strict about returning a canonical va_list only for actual
> va_lists, but doesn't implement this for structure va_list types, such as we
> have for arm, aarch64 and alpha.
> 
> This patch adds the missing part, and fixes the ICE.
> 
> OK for trunk, 6-branch?
> 
> Thanks,
> - Tom

Reply via email to