aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2014-03-13 15:42:21 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2014-03-13 15:42:21 +0000
commit00c5acd39f33c335223428099d5427fad1557db9 (patch)
tree1e9b0042edfbf26cf75b893c217e55b1cfd8d541 /gcc/function.c
parent9299bde01aed78cfea5a779eae1f79bac9c3ac00 (diff)
downloadgcc-00c5acd39f33c335223428099d5427fad1557db9.zip
gcc-00c5acd39f33c335223428099d5427fad1557db9.tar.gz
gcc-00c5acd39f33c335223428099d5427fad1557db9.tar.bz2
re PR ada/51483 (cstand.adb:Register_Float_Type makes invalid assumption about FP modes)
PR ada/51483 * cstand.adb (Register_Float_Type): Add 'precision' parameter and use it to set the RM size. Use directly 'size' for the Esize. (Create_Back_End_Float_Types): Adjust call to above. * get_targ.ads (Register_Type_Proc): Add 'precision' parameter. * set_targ.ads (FPT_Mode_Entry): Add 'precision' component. (Write_Target_Dependent_Values): Adjust comment. * set_targ.adb (Register_Float_Type): Add 'precision' parameter and deal with it. (Write_Target_Dependent_Values): Write the precision in lieu of size. (Initialization): Read the precision in lieu of size and compute the size from the precision and the alignment. * gcc-interface/gigi.h (enumerate_modes): Add integer parameter. * gcc-interface/misc.c (enumerate_modes): Likewise. Do not register types for vector modes, pass the size in addition to the precision. From-SVN: r208546
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions