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

            Bug ID: 107295
           Summary: [13 Regression] Rejected code in libreoffice with -m32
                    since r13-3290-g98e341130f87984a
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---

Since the revision, the following code is rejected:

$ g++ skia.ii -m32 -c -std=c++17
skia.ii:7:22: error: ‘(F{((float)0.0l)} + (F){0.0f})’ is not a constant
expression
    7 | constexpr F F0 = F() + 0.0f;

$ g++-12 skia.ii -m32 -c -std=c++17
$ g++ skia.ii -c -std=c++17

Reply via email to