This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/29463] Value of a static expression of a decimal fixed point type must be a multiple of the smal



------- Comment #1 from laurent at guerby dot net  2006-10-13 21:31 -------
Confirmed with gcc version 4.2.0 20060922 (experimental), GCC accepts-invalid
here.

Note:
Y : constant T := 0.01;

is correctly rejected with:
test.adb:5:22: value has extraneous low order digits


-- 

laurent at guerby dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |accepts-invalid
   Last reconfirmed|0000-00-00 00:00:00         |2006-10-13 21:31:05
               date|                            |


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]