On Mon, 8 Jan 2024, Tamar Christina wrote:

> Hi All,
> 
> In C you can have loops without a condition, the original version of the patch
> was rejecting the use of #pragma GCC novector, however during review it was
> changed to not due this with the reason that we didn't want to give a compile
> error with such cases.
> 
> However because annotations seem to be only be allowed on conditions (unless
> I'm mistaken?) the attached example ICEs because there's no condition.
> 
> This will have it ignore the pragma instead of ICEing.  I don't know if this 
> is
> the best solution,  but as far as I can tell we can't attach the annotation to
> anything else.
> 
> Bootstrapped Regtested on aarch64-none-linux-gnu and no issues.
> 
> Ok for master?

OK.

-- 
Joseph S. Myers
josmy...@redhat.com

Reply via email to