re PR ada/18680 (pragma Linker_Section problems)
authorSamuel Tardieu <sam@rfc1149.net>
Mon, 14 Apr 2008 13:41:25 +0000 (13:41 +0000)
committerSamuel Tardieu <sam@gcc.gnu.org>
Mon, 14 Apr 2008 13:41:25 +0000 (13:41 +0000)
commit32f7efe1a5140f2b95f62009c2a0315a1ada2c5f
treea0e5eb6d8c22916e37633735e87dd448b9eccc42
parentb039b10e28c986b8099ad6e013d6426387667a48
re PR ada/18680 (pragma Linker_Section problems)

    gcc/ada/
PR ada/18680
* sem_prag.adb (Analyze_Pragma, Linker_Section case): Refuse to
apply pragma Linker_Section on type.

    gcc/testsuite/
PR ada/18680
* gnat.dg/specs/linker_section.ads: New.

From-SVN: r134266
gcc/ada/ChangeLog
gcc/ada/sem_prag.adb
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/specs/linker_section.ads [new file with mode: 0644]