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/15587] New: Illegal program not detected, deferred constants without a completion


-- 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


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