This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
fix debug/14492
- From: Richard Henderson <rth at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 14 Oct 2004 16:28:40 -0700
- Subject: fix debug/14492
Easy enough. Dwarf2 bits can't handle FP at all, so just claim ignorance.
r~
* dwarf2out.c (loc_descriptor_from_tree): Handle FIX_*_EXPR.
Index: dwarf2out.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/dwarf2out.c,v
retrieving revision 1.478.2.12
diff -c -p -d -r1.478.2.12 dwarf2out.c
*** dwarf2out.c 14 Oct 2004 00:06:58 -0000 1.478.2.12
--- dwarf2out.c 14 Oct 2004 23:25:43 -0000
*************** loc_descriptor_from_tree (tree loc, int
*** 8851,8856 ****
--- 8851,8862 ----
case EXPR_WITH_FILE_LOCATION:
return loc_descriptor_from_tree (EXPR_WFL_NODE (loc), addressp);
+ 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. */