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: PATCH: PR c++/39060: [4.4 regression] ICE with lots of invalid member functions


H.J. Lu wrote:
This patch returns NULL if default_argument is error_mark_node.

So if parsing the default argument fails, we pretend the parameter itself didn't exist? Why does that work better than just setting default_argument to NULL_TREE?


Jason


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