This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

C++ PATCH for c++/78690 (ICE with using and global type with same name)


We entered type_dependent_object_expression_p considering an
IDENTIFIER_NODE, which is always dependent.  But because there's a
global type with the same name, the identifier had global_type_node as
its type, which isn't recognized as a dependent type.  Fixed by
handling IDENTIFIER_NODE directly.

Tested x86_64-pc-linux-gnu, applying to trunk.

Attachment: 78690.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]