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

            Bug ID: 64868
           Summary: C front-end rejects valid syntax.
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: u17263 at att dot net

Created attachment 34620
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34620&action=edit
test case

gcc version: 5.0.0 / svn: r220249

gcc -Wall -fopenmp -c bug-9.c
bug-9.c: In function ‘foo’:
bug-9.c:12:22: error: invalid form of ‘#pragma omp atomic’ before ‘;’ token
     fgot = 1.0 / fgot;

Reply via email to