Commit b1bdc68d by Georg-Johann Lay Committed by Georg-Johann Lay

avr.c (avr_set_current_function): Check cfun->machine to be non-NULL.

	* config/avr/avr.c (avr_set_current_function): Check cfun->machine
	to be non-NULL.

From-SVN: r191715
parent c2405775
2012-09-25 Georg-Johann Lay <avr@gjlay.de>
* config/avr/avr.c (avr_set_current_function): Check cfun->machine
to be non-NULL.
2012-09-25 Georg-Johann Lay <avr@gjlay.de>
PR target/54641
* config/avr/t-avr: Use ALL_COMPILERFLAGS instead of ALL_CFLAGS
for sources compiled with COMPILER.
......
......@@ -550,6 +550,7 @@ avr_set_current_function (tree decl)
if (decl == NULL_TREE
|| current_function_decl == NULL_TREE
|| current_function_decl == error_mark_node
|| ! cfun->machine
|| cfun->machine->attributes_checked_p)
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment