From: Richard Henderson Date: Thu, 14 Oct 2004 23:30:18 +0000 (-0700) Subject: re PR debug/14492 (loc_descriptor_from_tree, in dwarf2out.c:9031) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0ba6c56d92aebf7e6cf7641f9f3e85bdf68bd6c9;p=gcc.git re PR debug/14492 (loc_descriptor_from_tree, in dwarf2out.c:9031) PR debug/14492 * dwarf2out.c (loc_descriptor_from_tree): Handle FIX_*_EXPR. From-SVN: r89066 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6be32d73649..440b4751976 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-10-14 Richard Henderson + + PR debug/14492 + * dwarf2out.c (loc_descriptor_from_tree_1): Handle FIX_*_EXPR. + 2004-10-14 Richard Henderson PR c/17023 diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 75e328d91d3..f4c59741091 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -9171,6 +9171,12 @@ loc_descriptor_from_tree_1 (tree loc, int want_address) } break; + case FIX_TRUNC_EXPR: + case FIX_CEIL_EXPR: + case FIX_FLOOR_EXPR: + case FIX_ROUND_EXPR: + return 0; + default: /* Leave front-end specific codes as simply unknown. This comes up, for instance, with the C STMT_EXPR. */