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]

Re: [C++ Patch] PR 54575


On 09/14/2012 09:05 AM, Paolo Carlini wrote:
here we crash because strip_typedefs while processing _RequireInputIter
calls make_typename_type which returns error_mark_node (# line 3281).

strip_typedefs should not return error_mark_node unless it gets error_mark_node as an argument; if a typedef-using type is valid, removing the typedefs should still produce a valid type. I ran into a similar bug when I was working on the instantiation-dependent stuff, but I don't remember which bit fixed that one.


PS: I'm also attaching a patchlet for a couple of hard errors in
make_typename_type not protected by (complain & tf_error) spotted in
make_typename_type.

This patchlet is OK.


Jason


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