public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/102319] New: [12 Regression] ICE in cpp_atomic_builtins, at c-family/c-cppbuiltin.c:746 since r12-3495-g76b75018b3d053a8
@ 2021-09-14  7:38 marxin at gcc dot gnu.org
  2021-09-14  7:39 ` [Bug c++/102319] " marxin at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-09-14  7:38 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102319
           Summary: [12 Regression] ICE in cpp_atomic_builtins, at
                    c-family/c-cppbuiltin.c:746 since
                    r12-3495-g76b75018b3d053a8
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: jason at gcc dot gnu.org
  Target Milestone: ---

I know that I chose weird param values, but still:

$ gcc
/home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/execute/pr93908.c
--param=constructive-interference-size=0 -c
<built-in>: internal compiler error: in cpp_atomic_builtins, at
c-family/c-cppbuiltin.c:746
0x67b440 cpp_atomic_builtins
        /home/marxin/Programming/gcc/gcc/c-family/c-cppbuiltin.c:746
0x67b440 c_cpp_builtins(cpp_reader*)
        /home/marxin/Programming/gcc/gcc/c-family/c-cppbuiltin.c:1495
0x98e0de c_finish_options
        /home/marxin/Programming/gcc/gcc/c-family/c-opts.c:1485
0x9910b1 c_common_parse_file()
        /home/marxin/Programming/gcc/gcc/c-family/c-opts.c:1230
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

and on ppc64le, the following value fails:

$ ppc64le-linux-gnu-gcc
/home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/execute/pr93908.c
--param=constructive-interference-size=2147483647
...
warning: NEW ICE #1: in cpp_atomic_builtins, at c-family/c-cppbuiltin.c:746
0xdeadbeef cpp_atomic_builtins
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64le/build/gcc/c-family/c-cppbuiltin.c:746
0xdeadbeef c_cpp_builtins(cpp_reader*)
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64le/build/gcc/c-family/c-cppbuiltin.c:1495
0xdeadbeef c_finish_options
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64le/build/gcc/c-family/c-opts.c:1485
0xdeadbeef c_common_parse_file()
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64le/build/gcc/c-family/c-opts.c:1230

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

end of thread, other threads:[~2021-10-04 11:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-14  7:38 [Bug c++/102319] New: [12 Regression] ICE in cpp_atomic_builtins, at c-family/c-cppbuiltin.c:746 since r12-3495-g76b75018b3d053a8 marxin at gcc dot gnu.org
2021-09-14  7:39 ` [Bug c++/102319] " marxin at gcc dot gnu.org
2021-09-14  7:43 ` [Bug c++/102319] " pinskia at gcc dot gnu.org
2021-09-14  9:32 ` jakub at gcc dot gnu.org
2021-10-04 11:20 ` marxin 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).