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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2025-04-08
            Summary|Possible "accepts invalid": |[12/13/14/15 Regression]
                   |member access into          |Possible "accepts invalid":
                   |incomplete type 'struct s'  |member access into
                   |                            |incomplete type 'struct s'
   Target Milestone|---                         |12.5
      Known to fail|                            |10.1.0, 8.2.0, 8.5.0, 9.1.0
      Known to work|                            |3.4.6, 5.1.0, 7.1.0, 7.5.0,
                   |                            |8.1.0
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |needs-bisection

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> >Who is correct? (Please elaborate by quoting the C++ standard.)
> 
> 
> Most likely NOT GCC. Since EDG, MSVC and clang all agree this is ill-formed.

And older versions of GCC reject it to ...

Reply via email to