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

            Bug ID: 110664
           Summary: -std=c2x -pedantic-errors pedwarns on _Float128
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

_Float128 f = 1.0F128;

gcc -S -std=c2x -o /dev/null test.c -pedantic-errors
test.c:1:1: error: ISO C does not support the ‘_Float128’ type [-Wpedantic]
    1 | _Float128 f = 1.0F128;
      | ^~~~~~~~~
test.c:1:1: error: non-standard suffix on floating constant [-Wpedantic]

doesn't seem right to me, shouldn't those pedwarns be skipped for flag_isoc2x?

Reply via email to