Skip to content
Snippets Groups Projects
Commit 1a4259dc authored by Jan Hubicka's avatar Jan Hubicka Committed by Jan Hubicka
Browse files

re PR c/28419 (ICE using __FUNCTION__ in invalid code)

	PR c/28419
	* c-decl.c (c_make_fname_decl): Do not segfault in case where
	current_function_decl is set but current_function_scope is not.

	* gcc.dg/pr28319.c: New test.

From-SVN: r117684
parent f19218e5
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