diff options
author | Robert Dewar <dewar@adacore.com> | 2007-08-14 10:37:08 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2007-08-14 10:37:08 +0200 |
commit | 939c12d26a67c4e4d42d106d31c8f821b68cb1fb (patch) | |
tree | 0b0083f9957b2140f9c2d30921874267d00521be /gcc/ada/alloc.ads | |
parent | 835d23b2e08bb08e88163700eac0dc08442b2b0b (diff) | |
download | gcc-939c12d26a67c4e4d42d106d31c8f821b68cb1fb.zip gcc-939c12d26a67c4e4d42d106d31c8f821b68cb1fb.tar.gz gcc-939c12d26a67c4e4d42d106d31c8f821b68cb1fb.tar.bz2 |
inline.adb, [...]: Suppress unmodified in-out parameter warning in some cases This patch is a also...
2007-08-14 Robert Dewar <dewar@adacore.com>
Ed Schonberg <schonberg@adacore.com>
* inline.adb, types.ads, inline.ads, frontend.adb, alloc.ads:
Suppress unmodified in-out parameter warning in some cases
This patch is a also fairly significant change to the way suppressible
checks are handled.
* checks.ads, checks.adb (Install_Null_Excluding_Check): No check
needed for access to concurrent record types generated by the expander.
(Generate_Range_Check): When generating a temporary to capture the
value of a conversion that requires a range check, set the type of the
temporary before rewriting the node, so that the type is always
properly placed for back-end use.
(Apply_Float_Conversion_Check): Handle case where the conversion is
truncating.
(Get_Discriminal): Code reformatting. Climb the scope stack looking
for a protected type in order to examine its discriminants.
From-SVN: r127410
Diffstat (limited to 'gcc/ada/alloc.ads')
-rw-r--r-- | gcc/ada/alloc.ads | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ada/alloc.ads b/gcc/ada/alloc.ads index 4d00671..317d3ff 100644 --- a/gcc/ada/alloc.ads +++ b/gcc/ada/alloc.ads @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 1992-2006, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2007, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -63,15 +63,15 @@ package Alloc is Elmts_Initial : constant := 1_200; -- Elists Elmts_Increment : constant := 100; - Entity_Suppress_Initial : constant := 100; -- Sem - Entity_Suppress_Increment : constant := 200; - Inlined_Bodies_Initial : constant := 50; -- Inline Inlined_Bodies_Increment : constant := 200; Inlined_Initial : constant := 100; -- Inline Inlined_Increment : constant := 100; + In_Out_Warnings_Initial : constant := 100; -- Sem_Warn + In_Out_Warnings_Increment : constant := 100; + Interp_Map_Initial : constant := 200; -- Sem_Type Interp_Map_Increment : constant := 100; |