diff options
author | Mark Mitchell <mark@codesourcery.com> | 2005-10-11 20:58:46 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2005-10-11 20:58:46 +0000 |
commit | 393e756da72a7e508b102c04c0fa2e83f136f7aa (patch) | |
tree | ad1f06ab728212d615db8d82cc4ed542b8c44bc5 /gcc/fortran/f95-lang.c | |
parent | 8f4c0ef6a4333e52b4a33cecd1bef3c48c701d63 (diff) | |
download | gcc-393e756da72a7e508b102c04c0fa2e83f136f7aa.zip gcc-393e756da72a7e508b102c04c0fa2e83f136f7aa.tar.gz gcc-393e756da72a7e508b102c04c0fa2e83f136f7aa.tar.bz2 |
re PR c++/21089 (C++ front-end does not "inline" the static const double)
PR c++/21089
* call.c (convert_like_real): Use decl_constant_value, not
integral_constant_value.
* init.c (constant_value_1): New function.
(integral_constant_value): Use it.
(decl_constant_value): Likewise.
* typeck.c (decay_conversion): Use decl_constant_value, not
integral_constant_value.
PR c++/21089
* g++.dg/init/float1.C: New test.
From-SVN: r105256
Diffstat (limited to 'gcc/fortran/f95-lang.c')
0 files changed, 0 insertions, 0 deletions