[Bug c++/79490] ICE when using -fsyntax-only with CATCH unit testing framework header
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 13 16:29:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79490
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Status|WAITING |NEW
Summary|ICE when compiling CATCH |ICE when using
|unit testing framework |-fsyntax-only with CATCH
|header |unit testing framework
| |header
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Thanks. C-Reduce stripped it down to this, which ICEs with -fsyntax-only
struct IRegistryHub {
virtual ~IRegistryHub();
};
namespace {
class A : IRegistryHub {};
A *fn1();
}
void fn2() { delete fn1(); }
More information about the Gcc-bugs
mailing list