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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2024-03-21
             Status|UNCONFIRMED                 |NEW

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Note, when not in a template, such as
void
qux (int x)
{
  #pragma GCC novector
  while (int y = foo (x))
    ;
}
with the above foo template, we ignore the annotation because the middle-end
doesn't find it at the right spot:
warning: ignoring loop annotation
C doesn't allow defining a variable in while loop's condition, so can't
cross-check what it does instead.

Reply via email to