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]

Re: [PATCH] Don't set function's DECL_NAME to an EXPR_WFL


Bryce McKinlay <bryce@albatross.co.nz> writes:

> It is my understanding that removing that code may cause GCJ to ICE on
> certain illegal code where it would otherwise have reported a reasonable
> error. If that's the case, it should definitely remain in at least until
> after the branch.

The problem is that leaving the code in can also produce a compiler
crash on certain illegal code, judging from my (vaguely remembered)
experience, if the FUNCTION_DECL in question ever gets passed to code
in the back-end.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/~per/

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