public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99790] New: internal compiler error: in expand_expr_real_2
@ 2021-03-26 12:29 antiro42 at gmail dot com
  2021-03-26 18:02 ` [Bug c++/99790] [8/9/10/11 Regression] " jakub at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: antiro42 at gmail dot com @ 2021-03-26 12:29 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99790
           Summary: internal compiler error: in expand_expr_real_2
           Product: gcc
           Version: 10.2.0
               URL: https://godbolt.org/z/PsMrafh9c
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: antiro42 at gmail dot com
  Target Milestone: ---

internal compiler error: in expand_expr_real_2, at expr.c:8701

Error is reproducible in compiler explorer with both gcc 10.2 and gcc trunk.
See attached URL for a minimal reproduction scenario.

The error seems to occur when trying to use the stored pointer to member in the
lambda.

I tried adding the suggested compiler flags but this did not influence the
result.

The code compiles fine in clang 11.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-10-02  7:30 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-26 12:29 [Bug c++/99790] New: internal compiler error: in expand_expr_real_2 antiro42 at gmail dot com
2021-03-26 18:02 ` [Bug c++/99790] [8/9/10/11 Regression] " jakub at gcc dot gnu.org
2021-03-26 18:04 ` [Bug c++/99790] [8/9/10/11 Regression] internal compiler error: in expand_expr_real_2 since r7-3811 jakub at gcc dot gnu.org
2021-03-29 12:37 ` jakub at gcc dot gnu.org
2021-03-29 12:51 ` jakub at gcc dot gnu.org
2021-03-30 16:16 ` cvs-commit at gcc dot gnu.org
2021-03-30 16:26 ` [Bug c++/99790] [8/9/10 " jakub at gcc dot gnu.org
2021-03-30 22:42 ` cvs-commit at gcc dot gnu.org
2021-03-31  6:46 ` [Bug c++/99790] [8/9 " jakub at gcc dot gnu.org
2021-04-20 23:34 ` cvs-commit at gcc dot gnu.org
2021-04-22 16:52 ` cvs-commit at gcc dot gnu.org
2021-04-22 17:11 ` jakub at gcc dot gnu.org
2021-10-02  7:30 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).