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] Fix error recovery ICEs (PR c/83595)


On Sat, Dec 30, 2017 at 08:37:25PM +0100, Jakub Jelinek wrote:
> Hi!
> 
> As the patch shows, in lots of spots the C FE can return a c_expr
> with error_mark_node value, but uninitialized locations, so if something
> calls expr.get_location (), it can ICE.
> 
> Other spots are already using the set_error method which sets the value
> to error_mark_node and in addition to that clears the locations.
> 
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?

Ok.

	Marek


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