public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "philipp.koegel at mailbox dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/95562] New: ICE when using noexcept depending on boolean template parameter Date: Sat, 06 Jun 2020 13:19:15 +0000 [thread overview] Message-ID: <bug-95562-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95562 Bug ID: 95562 Summary: ICE when using noexcept depending on boolean template parameter Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: philipp.koegel at mailbox dot org Target Milestone: --- * gcc version: 10.1.0 * system type: x86_64-linux-gnu * configured with: ../gcc-10.1.0/configure --prefix=/opt/compiler-explorer/gcc-build/staging --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --disable-bootstrap --enable-multiarch --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --enable-clocale=gnu --enable-languages=c,c++,fortran,ada,d --enable-ld=yes --enable-gold=yes --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-linker-build-id --enable-lto --enable-plugins --enable-threads=posix --with-pkgversion=Compiler-Explorer-Build * The command line that triggers the bug: g++ -c noexcept_bug.cpp * Source code that triggers the bug: template <bool Nothrow> struct Functions { void (*func)(void*) noexcept(Nothrow); }; void test() { Functions<true> f{nullptr}; } * Compiler output: <source>: In instantiation of 'struct Functions<true>': <source>:9:21: required from here <source>:4:12: internal compiler error: Segmentation fault 4 | void (*func)(void*) noexcept(Nothrow); | ^~~~ Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. * Additional notes: g++ version 9.3 has no issues with the above code.
next reply other threads:[~2020-06-06 13:19 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-06-06 13:19 philipp.koegel at mailbox dot org [this message] 2020-06-09 11:28 ` [Bug c++/95562] [10/11 Regression] ICE when using noexcept depending on boolean template parameter since r10-1280-g78f7607db4c53f8c marxin at gcc dot gnu.org 2020-06-09 13:21 ` mpolacek at gcc dot gnu.org 2020-06-09 22:05 ` mpolacek at gcc dot gnu.org 2020-06-10 13:36 ` cvs-commit at gcc dot gnu.org 2020-06-10 15:33 ` cvs-commit at gcc dot gnu.org 2020-06-10 15:34 ` mpolacek at gcc dot gnu.org 2020-06-15 16:19 ` mpolacek at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-95562-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).