[Bug c++/79363] [6/7 Regression] ICE with NSDMI and array

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 3 22:13:00 GMT 2017


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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-valid-code           |ice-on-invalid-code
             Status|NEW                         |ASSIGNED
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=72775
           Assignee|unassigned at gcc dot gnu.org      |msebor at gcc dot gnu.org

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
The test case is equivalent to (though not exactly the same as) the one in bug
72775.  After some debate on gcc-patches it was decided that the test case
there was invalid, and so is this one, for the same reason.  Thus:
ice-on-invalid-code.

(FWIW, I'd like to revisit the decision for the case in that bug but I'm not
sure that I'd also like to see it extended to this case where the array would
have no elements.)


More information about the Gcc-bugs mailing list