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

            Bug ID: 114042
           Summary: diagnostics about __builtin_stdc_bit_ceil() mentions
                    __builtin_clzg()
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu

Created attachment 57487
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57487&action=edit
reduced testcase

Compiler output:
$ gcc-14 bc.c 
bc.c: In function ‘foo’:
bc.c:4:36: error: argument 1 in call to function ‘__builtin_clzg’ has signed
type
    4 |     return __builtin_stdc_bit_ceil(i);
      |                                    ^


but it should talk about __builtin_stdc_bit_ceil()

Reply via email to