diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-03 10:17:45 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-03 10:17:45 +0000 |
commit | 3aa582cd74c2d892c68361298d2e6e83b9d1d595 (patch) | |
tree | 41abafb12cf236ecdac96d64bfd1687099cd01c1 /gcc/ada/exp_dist.adb | |
parent | c6b238e7262edea86776753c5a4b371ea56cdbdc (diff) | |
download | gcc-3aa582cd74c2d892c68361298d2e6e83b9d1d595.tar.gz |
2011-08-03 Robert Dewar <dewar@adacore.com>
* prj-proc.adb, exp_util.ads, exp_ch9.adb, make.adb, prj-ext.adb,
prj-ext.ads, alfa.ads, sem_ch4.adb, makeutl.adb, makeutl.ads,
lib-xref-alfa.adb, sem_cat.adb, exp_dist.adb, get_alfa.adb,
prj-env.adb, prj-env.ads, prj-tree.adb, alfa.ads: Minor reformatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177260 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/exp_dist.adb')
-rw-r--r-- | gcc/ada/exp_dist.adb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ada/exp_dist.adb b/gcc/ada/exp_dist.adb index 51cf49a98bd..5f6180bdc21 100644 --- a/gcc/ada/exp_dist.adb +++ b/gcc/ada/exp_dist.adb @@ -1030,6 +1030,10 @@ package body Exp_Dist is pragma Warnings (Off, Subp_Str); begin + -- Disable expansion of stubs if serious errors have been diagnosed, + -- because otherwise some illegal remote subprogram declarations + -- could cause cascaded errors in stubs. + if Serious_Errors_Detected /= 0 then return; end if; @@ -3841,6 +3845,10 @@ package body Exp_Dist is pragma Warnings (Off, Subp_Val); begin + -- Disable expansion of stubs if serious errors have been + -- diagnosed, because otherwise some illegal remote subprogram + -- declarations could cause cascaded errors in stubs. + if Serious_Errors_Detected /= 0 then return; end if; @@ -6849,6 +6857,10 @@ package body Exp_Dist is Proxy_Obj_Addr : Entity_Id; begin + -- Disable expansion of stubs if serious errors have been + -- diagnosed, because otherwise some illegal remote subprogram + -- declarations could cause cascaded errors in stubs. + if Serious_Errors_Detected /= 0 then return; end if; |