to be non-NULL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191715
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
if (decl == NULL_TREE
|| current_function_decl == NULL_TREE
|| current_function_decl == error_mark_node
+ || ! cfun->machine
|| cfun->machine->attributes_checked_p)
return;