| Subject: | Re: PATCH: PR c++/39060: [4.4 regression] ICE with lots of invalid member functions |
|---|---|
| From: | Jason Merrill |
| Date: | Sat, 07 Mar 2009 16:46:33 -0500 |
H.J. Lu wrote: On Sat, Mar 7, 2009 at 1:23 PM, Jason Merrill <jason@xxxxxxxxxx> wrote: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? I still got /tmp/x.ii:19: internal compiler error: canonical types differ for identical types void (A::)(void*) and void (A::)(void*) Yes, I expected that it wouldn't work better, I was curious why it makes a difference. It seems that the problem is coming in when we build the method type. Jason |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: PATCH: PR c++/39060: [4.4 regression] ICE with lots of invalid member functions, H.J. Lu |
|---|---|
| Next by Date: | Re: PATCH: PR c++/39060: [4.4 regression] ICE with lots of invalid member functions, H.J. Lu |
| Previous by Thread: | Re: PATCH: PR c++/39060: [4.4 regression] ICE with lots of invalid member functions, H.J. Lu |
| Next by Thread: | Re: PATCH: PR c++/39060: [4.4 regression] ICE with lots of invalid member functions, H.J. Lu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |