re PR ada/16098 (Illegal program not detected, RM 13.1(6))
authorSamuel Tardieu <sam@rfc1149.net>
Mon, 14 Apr 2008 12:11:06 +0000 (12:11 +0000)
committerSamuel Tardieu <sam@gcc.gnu.org>
Mon, 14 Apr 2008 12:11:06 +0000 (12:11 +0000)
commitb039b10e28c986b8099ad6e013d6426387667a48
tree3f275bf15cb26d5dd46bb90a5dd417c790a7ed3d
parentcb572b755dcc64f8e5581f8734e5b1034381d41b
re PR ada/16098 (Illegal program not detected, RM 13.1(6))

    gcc/ada/
PR ada/16098
* sem_prag.adb (Error_Pragma_Ref): New.
(Process_Convention): Specialized message for non-local
subprogram renaming. Detect the problem in homonyms as well.

    gcc/testsuite/
PR ada/16098
* gnat.dg/specs/renamings.ads: New.

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