Jakub Jelinek <jakub at gcc dot> changed:

           What    |Removed                     |Added
                 CC|                            |jakub at gcc dot,
                   |                            |jason at gcc dot
            Summary|ICE on invalid C++ code: in |[5/6/7 Regression] ICE on
                   |finish_class_member_access_ |invalid C++ code: in
                   |expr, at cp/typeck.c:2783   |finish_class_member_access_
                   |                            |expr, at cp/typeck.c:2783

--- Comment #2 from Jakub Jelinek <jakub at gcc dot> ---
Started with r154223, before that it has been rejected without ICE:
pr77509.C:3:17: warning: direct base ‘A’ inaccessible in ‘C’ due to ambiguity
pr77509.C: In function ‘void foo()’:
pr77509.C:8:8: error: request for member ‘m’ is ambiguous
pr77509.C:1:40: error: candidates are: template<class> void A::m()
pr77509.C:1:40: error:                 template<class> void A::m()
pr77509.C:8:12: error: expected primary-expression before ‘int’
pr77509.C:8:12: error: expected ‘;’ before ‘int’

Reply via email to