aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/csinfo.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2012-04-02 12:51:58 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2012-04-02 12:51:58 +0200
commitcf5ba8a881c32483bc11e05cc1ee3bcc990d32c6 (patch)
tree168cc4772edea64b02c164aad0c4c50eb0e7c6fe /gcc/ada/csinfo.adb
parent5bd5034e244983cb1d6655a759efafcd5b6287aa (diff)
downloadgcc-cf5ba8a881c32483bc11e05cc1ee3bcc990d32c6.zip
gcc-cf5ba8a881c32483bc11e05cc1ee3bcc990d32c6.tar.gz
gcc-cf5ba8a881c32483bc11e05cc1ee3bcc990d32c6.tar.bz2
[multiple changes]
2012-04-02 Robert Dewar <dewar@adacore.com> * s-atopri.ads: Minor reformatting. 2012-04-02 Thomas Quinot <quinot@adacore.com> * sem_util.adb: Minor reformatting, minor code cleanup. 2012-04-02 Ed Schonberg <schonberg@adacore.com> * lib-xref.adb (Generate_Reference): For a reference to an operator symbol, set the sloc to point to the first character of the operator name, and not to the initial quaote. (Output_References): Ditto for the definition of an operator symbol. 2012-04-02 Vincent Celier <celier@adacore.com> * ali.adb (Scan_Ali): Recognize Z lines. Set Implicit_With_From_Instantiation to True in the With_Record for Z lines. * ali.ads (With_Record): New Boolean component Implicit_With_From_Instantiation, defaulted to False. * csinfo.adb: Indicate that Implicit_With_From_Instantiation is special * lib-writ.adb (Write_ALI): New array Implicit_With. (Collect_Withs): Set Implicit_With for the unit is it is not Yes. (Write_With_Lines): Write a Z line instead of a W line if Implicit_With is Yes for the unit. * sem_ch12.adb (Inherit_Context): Only add a unit in the context if it is not there yet. * sinfo.ads: New flag Implicit_With_From_Instantiation (Flag12) added. From-SVN: r186079
Diffstat (limited to 'gcc/ada/csinfo.adb')
-rw-r--r--gcc/ada/csinfo.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ada/csinfo.adb b/gcc/ada/csinfo.adb
index ef319cf..024af66 100644
--- a/gcc/ada/csinfo.adb
+++ b/gcc/ada/csinfo.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2010, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2012, 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- --
@@ -218,6 +218,7 @@ begin
Set (Special, "Has_Dynamic_Range_Check", True);
Set (Special, "Has_Dynamic_Length_Check", True);
Set (Special, "Has_Private_View", True);
+ Set (Special, "Implicit_With_From_Instantiation", True);
Set (Special, "Is_Controlling_Actual", True);
Set (Special, "Is_Overloaded", True);
Set (Special, "Is_Static_Expression", True);