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

S. Davis Herring <herring at lanl dot gov> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
      Known to work|                            |8.3.0
      Known to fail|                            |9.1.0

--- Comment #1 from S. Davis Herring <herring at lanl dot gov> ---
The similar instantiation trick of

  enum {force_instantiation=!&x};

works and fails for the same versions.  Tellingly, the warning about the
pointer never being null is prefixed with "In instantiation of 'struct A<0>':"
in the versions that work.

Reply via email to