[Bug middle-end/87854] [9 Regression] gcc.c-torture/compile/pr46534.c ICE for 16-bit size_t

jozef.l at mittosystems dot com gcc-bugzilla@gcc.gnu.org
Thu Nov 15 15:03:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87854

--- Comment #6 from Jozef Lawrynowicz <jozef.l at mittosystems dot com> ---
(In reply to Jakub Jelinek from comment #5)
> Yeah, that is the goal.  And you should either add msp430-*-* to dg-skip-if,
> or do we have some effective targets for all targets with 16-bit size_t (or
> perhaps < 32-bit), so that we could skip them all at once?

Effective target "size32plus" checks if an array with 24-bit size compiles
successfully so would cover this test.

I wonder if it would be better to add a dg-error directive (which references
this PR) for these targets rather than skipping the test?


More information about the Gcc-bugs mailing list