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

            Bug ID: 115090
           Summary: ICE in gimplify_expr, at gimplify.cc:18907 (deduced
                    this)
           Product: gcc
           Version: 14.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jose at serrall dot es
  Target Milestone: ---

Created attachment 58205
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58205&action=edit
Preprocessed source

When porting code to use the new `deduced this` feature, I forgot to switch
`operator()` to `obj()` and got an ICE. Note that this happens even if
`operator()` takes no additional arguments.

Output of gcc --version:
gcc-14 (Homebrew GCC 14.1.0) 14.1.0

However, this also happens on online compilers when compiling for x86_64.

Reply via email to