sprint.adb (Write_Itype): Preserve Sloc of declaration...
authorEd Schonberg <schonberg@adacore.com>
Wed, 15 Feb 2006 09:46:08 +0000 (10:46 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 15 Feb 2006 09:46:08 +0000 (10:46 +0100)
commit62b80eaf3872270d72c8ec9a5b57ae04bab76061
tree3d1795da2fde35f2c6ac4fbf797a4d505e65d53a
parentb8e51f72bd934e95a47811f99347a7bcf2dfbde6
sprint.adb (Write_Itype): Preserve Sloc of declaration...

2006-02-13  Ed Schonberg  <schonberg@adacore.com>
    Robert Dewar  <dewar@adacore.com>

* sprint.adb (Write_Itype): Preserve Sloc of declaration, if any, to
preserve the source unit where the itype is declared, and prevent a
backend abort.
(Note_Implicit_Run_Time_Call): New procedure
(Write_Itype): Handle missing cases (E_Class_Wide_Type and
E_Subprogram_Type)

* sprint.ads: Document use of $ for implicit run time routine call

From-SVN: r111099
gcc/ada/sprint.adb
gcc/ada/sprint.ads