Repository navigation
Assertion in form_exception_specification_for_generated_function #313
dgrunwald-qt
started this conversation in
Issue Triage - Compilation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Issue Summary
Due to unexpected reentrancy in complete_defaulted_exc_spec, an assertion can occur in form_exception_specification_for_generated_function.
Reproducing Source Code
https://godbolt.org/z/565T1Wfoq
Command-line Options
cpfe --c++17
Type of Issue
[Front End] I do not care but this code CRASHES the compiler.
Additional Details
This reproducer is rejected by gcc-16, accepted by gcc-trunk, and crashes the EDG frontend.
Reproducing (Standard) Configuration(s)
linux-gcc-debug
Reproducing (Non-standard) Configuration
No response
I acknowledge that:
LICENSE.txtfile in my.zipor.tar.gzupload. If I included aLICENSE.txtfile, any tests created using the reproducing source code will be governed by the terms of the license I provided instead.All reactions