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(); }

Reply via email to