Skip to content
Snippets Groups Projects
Commit 42bdf814 authored by Richard Biener's avatar Richard Biener
Browse files

c/98200 - improve error recovery for GIMPLE FE

This avoids ICEing by making sure to propagate error early.

2020-12-09  Richard Biener  <rguenther@suse.de>

	PR c/98200
gcc/c/
	* gimple-parser.c (c_parser_gimple_postfix_expression): Return
	early on error.

gcc/testsuite/
	* gcc.dg/gimplefe-error-8.c: New testcase.
parent 1cb2d1d5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment