Commit af1747ef by Richard Kenner Committed by Richard Kenner

dbxout.c (dbxout_type, [...]): Don't call print_int_cst_octal with something…

dbxout.c (dbxout_type, [...]): Don't call print_int_cst_octal with something that's not an INTEGER_CST.

	* dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
	print_int_cst_octal with something that's not an INTEGER_CST.

From-SVN: r33147
parent 57014cb9
Fri Apr 14 07:40:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> Fri Apr 14 07:40:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
print_int_cst_octal with something that's not an INTEGER_CST.
* config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
and not a SUBREG to a FLOAT rtl. and not a SUBREG to a FLOAT rtl.
......
...@@ -1176,6 +1176,10 @@ dbxout_type (type, full, show_arg_types) ...@@ -1176,6 +1176,10 @@ dbxout_type (type, full, show_arg_types)
and hence they can't span same size unsigned types. */ and hence they can't span same size unsigned types. */
if (use_gnu_debug_info_extensions if (use_gnu_debug_info_extensions
&& TYPE_MIN_VALUE (type) != 0
&& TREE_CODE (TYPE_MIN_VALUE (type)) == INTEGER_CST
&& TYPE_MAX_VALUE (type) != 0
&& TREE_CODE (TYPE_MAX_VALUE (type)) == INTEGER_CST
&& (TYPE_PRECISION (type) > TYPE_PRECISION (integer_type_node) && (TYPE_PRECISION (type) > TYPE_PRECISION (integer_type_node)
|| (TYPE_PRECISION (type) == TYPE_PRECISION (integer_type_node) || (TYPE_PRECISION (type) == TYPE_PRECISION (integer_type_node)
&& TREE_UNSIGNED (type)) && TREE_UNSIGNED (type))
...@@ -1650,7 +1654,7 @@ print_int_cst_octal (c) ...@@ -1650,7 +1654,7 @@ print_int_cst_octal (c)
<< (HOST_BITS_PER_WIDE_INT / 3 * 3)) << (HOST_BITS_PER_WIDE_INT / 3 * 3))
- 1); - 1);
fprintf (asmfile, "%o%01o", (int)beg, (int)middle); fprintf (asmfile, "%o%01o", (int) beg, (int) middle);
print_octal (end, HOST_BITS_PER_WIDE_INT / 3); print_octal (end, HOST_BITS_PER_WIDE_INT / 3);
} }
} }
...@@ -1663,7 +1667,7 @@ print_octal (value, digits) ...@@ -1663,7 +1667,7 @@ print_octal (value, digits)
int i; int i;
for (i = digits - 1; i >= 0; i--) for (i = digits - 1; i >= 0; i--)
fprintf (asmfile, "%01o", (int)((value >> (3 * i)) & 7)); fprintf (asmfile, "%01o", (int) ((value >> (3 * i)) & 7));
} }
/* Output the name of type TYPE, with no punctuation. /* Output the name of type TYPE, with no punctuation.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment