summaryrefslogtreecommitdiffstats
path: root/gcc/ada/exp_disp.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-02 14:46:28 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-02 14:46:28 +0000
commit2352042aff1fcb2306257f4f4535a54f912722ae (patch)
treeb03a52623c2c60777a03c69a4a170e54e79a9a34 /gcc/ada/exp_disp.adb
parent73d3a7edff980d3a22df83a4947a0c4f062c2989 (diff)
downloadppe42-gcc-2352042aff1fcb2306257f4f4535a54f912722ae.tar.gz
ppe42-gcc-2352042aff1fcb2306257f4f4535a54f912722ae.zip
2011-08-02 Javier Miranda <miranda@adacore.com>
* exp_ch6.adb (Expand_N_Subprogram_Body): Enable generation of TSDs in the JVM target. * exp_ch7.adb (Expand_N_Package_Body): Enable generation of TSDs in the JVM target. * exp_disp.adb (Build_VM_TSDs): No action needed if the runtime has no TSD support. 2011-08-02 Vincent Celier <celier@adacore.com> * prj-nmsc.adb (File_Found): New components Excl_File and Excl_Line (No_Space_Img): New function (Find_Excluded_Sources): When reading from a file, record the file name and the line number for each excluded source. (Mark_Excluded_Sources): When reporting an error, if the excluded sources were read from a file, include file name and line number in the error message. 2011-08-02 Ed Schonberg <schonberg@adacore.com> * sem_res.adb (Resolve_Call): implement rule in RM 12.5.1 (23.3/2). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177167 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/exp_disp.adb')
-rw-r--r--gcc/ada/exp_disp.adb5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ada/exp_disp.adb b/gcc/ada/exp_disp.adb
index 4b0e8c96e0d..9eff2347e80 100644
--- a/gcc/ada/exp_disp.adb
+++ b/gcc/ada/exp_disp.adb
@@ -569,7 +569,10 @@ package body Exp_Disp is
-- Start of processing for Build_VM_TSDs
begin
- if not Expander_Active or else No_Run_Time_Mode then
+ if not Expander_Active
+ or else No_Run_Time_Mode
+ or else not RTE_Available (RE_Type_Specific_Data)
+ then
return;
end if;
OpenPOWER on IntegriCloud