This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada] Redo handling of consistency check for Optimize_Alignment
- From: Andreas Schwab <schwab at suse dot de>
- To: Arnaud Charlet <charlet at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Robert Dewar <dewar at adacore dot com>, Gary Dismukes <dismukes at adacore dot com>, Javier Miranda <miranda at adacore dot com>, Ed Schonberg <schonberg at adacore dot com>
- Date: Tue, 08 Apr 2008 10:51:23 +0200
- Subject: Re: [Ada] Redo handling of consistency check for Optimize_Alignment
- References: <20080408083806.GA13263@adacore.com>
Arnaud Charlet <charlet@adacore.com> writes:
> @@ -16589,6 +16795,18 @@ package body Sem_Ch3 is
> end if;
> end Check_Anonymous_Access_Components;
>
> + --------------------------------
> + -- Preanalyze_Spec_Expression --
> + --------------------------------
> +
> + procedure Preanalyze_Spec_Expression (N : Node_Id; T : Entity_Id) is
> + Save_In_Spec_Expression : constant Boolean := In_Spec_Expression;
> + begin
> + In_Spec_Expression := True;
> + Preanalyze_And_Resolve (N, T);
That does not compile:
sem_ch3.adb:16806:07: "Preanalyze_And_Resolve" is undefined
sem_ch3.adb:16806:07: possible misspelling of "Pre_Analyze_And_Resolve"
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."