public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/100441] New: [ICE] output_constant_pool_2, at varasm.c:3955
@ 2021-05-06  0:58 tim at klingt dot org
  2021-05-06  6:36 ` [Bug target/100441] " rguenth at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: tim at klingt dot org @ 2021-05-06  0:58 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100441
           Summary: [ICE] output_constant_pool_2, at varasm.c:3955
           Product: gcc
           Version: 10.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tim at klingt dot org
  Target Milestone: ---

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

i came across an ICE that appears when compiling for arch64 and optimisations
enabled.

```
➜  dev /path/to/sdk/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ -S -O
testcase2.i -fpermissive -w
testcase2.i:43:1: internal compiler error: in output_constant_pool_2, at
varasm.c:3955
   43 | } // namespace a
      | ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
➜  dev /path/to/sdk/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ -S
testcase2.i -fpermissive -w
➜  dev
➜  dev /path/to/sdk/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ --version 
aarch64-poky-linux-g++ (GCC) 9.2.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
```

reduced test-case is attached. could reproduce the issue with gcc-9.2, 9.3 and
10.2

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

end of thread, other threads:[~2021-09-11 14:29 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-06  0:58 [Bug c++/100441] New: [ICE] output_constant_pool_2, at varasm.c:3955 tim at klingt dot org
2021-05-06  6:36 ` [Bug target/100441] " rguenth at gcc dot gnu.org
2021-05-06  6:44 ` tim at klingt dot org
2021-05-06  8:48 ` acoplan at gcc dot gnu.org
2021-05-06 10:16 ` acoplan at gcc dot gnu.org
2021-05-06 10:32 ` jakub at gcc dot gnu.org
2021-05-06 14:10 ` acoplan at gcc dot gnu.org
2021-05-06 14:30 ` acoplan at gcc dot gnu.org
2021-05-06 16:24 ` [Bug target/100441] [8/9 Regression] ICE in " acoplan at gcc dot gnu.org
2021-05-06 16:40 ` jakub at gcc dot gnu.org
2021-05-07 10:36 ` cvs-commit at gcc dot gnu.org
2021-05-07 10:38 ` cvs-commit at gcc dot gnu.org
2021-05-07 10:41 ` ktkachov at gcc dot gnu.org
2021-05-07 11:19 ` acoplan at gcc dot gnu.org
2021-09-11 14:29 ` 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).