trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to initialize dconstp5 and dconstmp5.

ada:
	* trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to
	initialize dconstp5 and dconstmp5.

From-SVN: r71921
This commit is contained in:
Zack Weinberg 2003-09-29 22:14:01 +00:00 committed by Zack Weinberg
parent 9d34041928
commit 783be936d2
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-09-29 Zack Weinberg <zack@codesourcery.com>
* trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to
initialize dconstp5 and dconstmp5.
2003-09-28 Richard Henderson <rth@redhat.com>
* trans.c (tree_transform): Update call to expand_asm_operands.

View File

@ -196,8 +196,8 @@ gigi (gnat_root, max_gnat_node, number_name, nodes_ptr, next_node_ptr,
gnu_except_ptr_stack = tree_cons (NULL_TREE, NULL_TREE, NULL_TREE);
dconstp5 = REAL_VALUE_ATOF ("0.5", DFmode);
dconstmp5 = REAL_VALUE_ATOF ("-0.5", DFmode);
REAL_ARITHMETIC (dconstp5, RDIV_EXPR, dconst1, dconst2);
REAL_ARITHMETIC (dconstmp5, RDIV_EXPR, dconstm1, dconst2);
gnu_standard_long_long_float
= gnat_to_gnu_entity (Base_Type (standard_long_long_float), NULL_TREE, 0);