> > thanks. I did not notice we have -fshort-enum by default targets. I suppose
> > we want:
> > /* { dg-xfail-if "" { arm-eabi-* } { "*" } { "" } } */
>
> Well, not that (which matches "eabi" against the vendor part of the
> triplet), but skip for the short_enums effective-target keyword.
Ok. Did not know about short_enums (my dejagnu-fu is still very limited :( )
/* { dg-skip-if "require -fno-short-enums to work" {target short_enums} } */
Alternatively I suppose I can add enum value set to INT_MAX to force enum to be
large.
Honza
>
> --
> Joseph S. Myers
> [email protected]