[Bug ada/51483] [4.7/4.8/4.9 regression] cstand.adb:Register_Float_Type makes invalid assumption about FP modes

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 13 15:43:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51483

--- Comment #22 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Thu Mar 13 15:42:42 2014
New Revision: 208547

URL: http://gcc.gnu.org/viewcvs?rev=208547&root=gcc&view=rev
Log:
    PR ada/51483
    * back_end.ads (Register_Type_Proc): Add 'precision' parameter.
    * cstand.adb (Register_Float_Type): Add 'precision' parameter and use
    it to set the RM size.  Use directly 'size' for the Esize.
    * 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.

Modified:
    branches/gcc-4_8-branch/gcc/ada/ChangeLog
    branches/gcc-4_8-branch/gcc/ada/back_end.ads
    branches/gcc-4_8-branch/gcc/ada/cstand.adb
    branches/gcc-4_8-branch/gcc/ada/gcc-interface/gigi.h
    branches/gcc-4_8-branch/gcc/ada/gcc-interface/misc.c



More information about the Gcc-bugs mailing list