This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/15587] New: Illegal program not detected, deferred constants without a completion
- From: "ludovic dot brenta at insalien dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 May 2004 18:37:40 -0000
- Subject: [Bug ada/15587] New: Illegal program not detected, deferred constants without a completion
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
-- RM 7.4(2) A deferred constant requires a completion.
package pak1 is
private
max_speed: constant float; --ERROR: no completion
upper_bound: constant integer; --ERROR: no completion
switch: constant boolean; --ERROR: no completion
true: constant boolean; --ERROR: no completion
false: constant boolean; --ERROR: no completion
end pak1;
$ gnatmake pak1
gcc -c pak1.ads
Compilation finished at Wed Apr 14 18:46:37
--
Summary: Illegal program not detected, deferred constants without
a completion
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ludovic dot brenta at insalien dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15587