sem_prag.adb (Analyze_Pragma, [...]): Extend error to every non-object and change...
authorRobert Dewar <dewar@adacore.com>
Mon, 14 Apr 2008 16:38:16 +0000 (16:38 +0000)
committerSamuel Tardieu <sam@gcc.gnu.org>
Mon, 14 Apr 2008 16:38:16 +0000 (16:38 +0000)
commit2efcad9f79ca7e4708a3f029b88e83b15eaa0727
treea12a22906f62e38b164533479a2e897810f89e73
parent96a791f748bc139f02aa8f874738370ca00632e5
sem_prag.adb (Analyze_Pragma, [...]): Extend error to every non-object and change error message.

2008-04-14  Robert Dewar  <dewar@adacore.com>

    gcc/ada/
* sem_prag.adb (Analyze_Pragma, Linker_Section case): Extend error
to every non-object and change error message.

    gcc/testsuite/
* gnat.dg/specs/linker_section.ads: Check for more error conditions.

From-SVN: r134280
gcc/ada/ChangeLog
gcc/ada/sem_prag.adb
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/specs/linker_section.ads