This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/29463] Value of a static expression of a decimal fixed point type must be a multiple of the smal
- From: "laurent at guerby dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Oct 2006 21:31:06 -0000
- Subject: [Bug ada/29463] Value of a static expression of a decimal fixed point type must be a multiple of the smal
- References: <bug-29463-12922@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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