dwarf2out.c (mem_loc_descriptor): Don't ICE on {S,U}S_{PLUS,MINUS,NEG,ABS,ASHIFT}.

* dwarf2out.c (mem_loc_descriptor): Don't ICE on
	{S,U}S_{PLUS,MINUS,NEG,ABS,ASHIFT}.

From-SVN: r155992
This commit is contained in:
Jakub Jelinek 2010-01-17 21:43:15 +01:00 committed by Jakub Jelinek
parent 3b3f318a47
commit e5165811a8
2 changed files with 16 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2010-01-17 Jakub Jelinek <jakub@redhat.com>
* dwarf2out.c (mem_loc_descriptor): Don't ICE on
{S,U}S_{PLUS,MINUS,NEG,ABS,ASHIFT}.
2010-01-17 Richard Guenther <rguenther@suse.de>
PR middle-end/42248

View File

@ -13438,12 +13438,21 @@ mem_loc_descriptor (rtx rtl, enum machine_mode mode,
/* In theory, we could implement the above. */
/* DWARF cannot represent the unsigned compare operations
natively. */
case SS_TRUNCATE:
case US_TRUNCATE:
case SS_MULT:
case US_MULT:
case SS_DIV:
case US_DIV:
case SS_PLUS:
case US_PLUS:
case SS_MINUS:
case US_MINUS:
case SS_NEG:
case US_NEG:
case SS_ABS:
case SS_ASHIFT:
case US_ASHIFT:
case SS_TRUNCATE:
case US_TRUNCATE:
case UDIV:
case UMOD:
case UNORDERED: