re PR debug/9905 (Unhandled STMT_EXPR in loc_descriptor_from_tree)

PR debug/9905
	* dwarf2out.c (loc_descriptor_from_tree): Handle MODIFY_EXPR by
	recursing through first argument.

From-SVN: r68379
This commit is contained in:
Andreas Schwab 2003-06-23 19:33:13 +00:00 committed by Andreas Schwab
parent bb4f6e6bb7
commit 032cb60206
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2003-06-23 Andreas Schwab <schwab@suse.de>
PR debug/9905
* dwarf2out.c (loc_descriptor_from_tree): Handle MODIFY_EXPR by
recursing through first argument.
2003-06-23 Kazu Hirata <kazu@cs.umass.edu>
* ChangeLog.1: Fix a typo.

View File

@ -8809,6 +8809,7 @@ loc_descriptor_from_tree (loc, addressp)
case NON_LVALUE_EXPR:
case VIEW_CONVERT_EXPR:
case SAVE_EXPR:
case MODIFY_EXPR:
return loc_descriptor_from_tree (TREE_OPERAND (loc, 0), addressp);
case COMPONENT_REF: