diff options
author | Gary Dismukes <dismukes@gnat.com> | 2004-10-27 15:02:23 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2004-10-27 15:02:23 +0200 |
commit | 427024aeb0b494def455696e8c4887810799af6b (patch) | |
tree | 408464bcf4d877e8201a113ac861678cd352011b | |
parent | 48ab11824084110ac36405f7a367a15dfaf65938 (diff) | |
download | gcc-427024aeb0b494def455696e8c4887810799af6b.zip gcc-427024aeb0b494def455696e8c4887810799af6b.tar.gz gcc-427024aeb0b494def455696e8c4887810799af6b.tar.bz2 |
gnat1drv.adb: Suppress calling the back end when Frontend_Layout_On_Target is true.
2004-10-26 Gary Dismukes <dismukes@gnat.com>
* gnat1drv.adb: Suppress calling the back end when
Frontend_Layout_On_Target is true.
From-SVN: r89653
-rw-r--r-- | gcc/ada/gnat1drv.adb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ada/gnat1drv.adb b/gcc/ada/gnat1drv.adb index b51edf2..0c2b939 100644 --- a/gcc/ada/gnat1drv.adb +++ b/gcc/ada/gnat1drv.adb @@ -573,12 +573,16 @@ begin -- We don't call for annotations on a subunit, because to process those -- the back-end requires that the parent(s) be properly compiled. + -- Annotation is suppressed for targets where front-end layout is + -- enabled, because the front end determines representations. + -- Annotation is also suppressed in the case of compiling for -- the Java VM, since representations are largely symbolic there. if Back_End_Mode = Declarations_Only and then (not (Back_Annotate_Rep_Info or Debug_Flag_AA) or else Main_Kind = N_Subunit + or else Targparm.Frontend_Layout_On_Target or else Hostparm.Java_VM) then Sem_Ch13.Validate_Unchecked_Conversions; |