public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug ada/16098] Illegal program not detected, RM 13.1(6) [not found] <bug-16098-286@http.gcc.gnu.org/bugzilla/> @ 2008-04-12 3:08 ` sam at gcc dot gnu dot org 2008-04-14 12:12 ` sam at gcc dot gnu dot org 2008-04-14 12:13 ` sam at gcc dot gnu dot org 2 siblings, 0 replies; 5+ messages in thread From: sam at gcc dot gnu dot org @ 2008-04-12 3:08 UTC (permalink / raw) To: gcc-bugs -- sam at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |sam at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED Last reconfirmed|2005-06-14 20:23:24 |2008-04-12 03:08:05 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16098 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/16098] Illegal program not detected, RM 13.1(6) [not found] <bug-16098-286@http.gcc.gnu.org/bugzilla/> 2008-04-12 3:08 ` [Bug ada/16098] Illegal program not detected, RM 13.1(6) sam at gcc dot gnu dot org @ 2008-04-14 12:12 ` sam at gcc dot gnu dot org 2008-04-14 12:13 ` sam at gcc dot gnu dot org 2 siblings, 0 replies; 5+ messages in thread From: sam at gcc dot gnu dot org @ 2008-04-14 12:12 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from sam at gcc dot gnu dot org 2008-04-14 12:11 ------- Subject: Bug 16098 Author: sam Date: Mon Apr 14 12:11:06 2008 New Revision: 134262 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134262 Log: 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. Added: trunk/gcc/testsuite/gnat.dg/specs/renamings.ads Modified: trunk/gcc/ada/ChangeLog trunk/gcc/ada/sem_prag.adb trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16098 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/16098] Illegal program not detected, RM 13.1(6) [not found] <bug-16098-286@http.gcc.gnu.org/bugzilla/> 2008-04-12 3:08 ` [Bug ada/16098] Illegal program not detected, RM 13.1(6) sam at gcc dot gnu dot org 2008-04-14 12:12 ` sam at gcc dot gnu dot org @ 2008-04-14 12:13 ` sam at gcc dot gnu dot org 2 siblings, 0 replies; 5+ messages in thread From: sam at gcc dot gnu dot org @ 2008-04-14 12:13 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from sam at gcc dot gnu dot org 2008-04-14 12:12 ------- Fixed in SVN. -- sam at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16098 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/16098] New: Illegal program not detected, RM 13.1(6) @ 2004-06-20 11:32 ludovic dot brenta at insalien dot org 2004-06-20 16:41 ` [Bug ada/16098] " pinskia at gcc dot gnu dot org 2004-10-31 19:51 ` pinskia at gcc dot gnu dot org 0 siblings, 2 replies; 5+ messages in thread From: ludovic dot brenta at insalien dot org @ 2004-06-20 11:32 UTC (permalink / raw) To: gcc-bugs -- Pragma convention is a representation pragma (RM B.1(28)), and -- such pragmas apply to multiple entities with the same name (RM -- 13.1(5)). A representation pragma is illegal if applied to a -- non-local renamed entity (RM 13.1(6)). package Test_248683 is procedure p1(x: integer); end Test_248683; with Test_248683; package pak2 is procedure p2(x: integer) renames Test_248683.p1; procedure p2(x: float); pragma convention(C, p2); --ERROR: applied to non-local renames end pak2; I expect: test_248683.adb:13:04: representation pragma applied to non-local subprogram "p2" declared at line 3 Instead I get: cannot generate code for file test_248683.ads (package spec) to check package spec for errors, use -gnatc gnatmake: "test_248683.ads" compilation error With -c -gnatc I get nothing. -- Summary: Illegal program not detected, RM 13.1(6) Product: gcc Version: 3.4.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: ada AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ludovic dot brenta at insalien dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16098 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/16098] Illegal program not detected, RM 13.1(6) 2004-06-20 11:32 [Bug ada/16098] New: " ludovic dot brenta at insalien dot org @ 2004-06-20 16:41 ` pinskia at gcc dot gnu dot org 2004-10-31 19:51 ` pinskia at gcc dot gnu dot org 1 sibling, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-06-20 16:41 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16098 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/16098] Illegal program not detected, RM 13.1(6) 2004-06-20 11:32 [Bug ada/16098] New: " ludovic dot brenta at insalien dot org 2004-06-20 16:41 ` [Bug ada/16098] " pinskia at gcc dot gnu dot org @ 2004-10-31 19:51 ` pinskia at gcc dot gnu dot org 1 sibling, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-10-31 19:51 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-31 19:51 ------- Confirmed. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Known to fail| |4.0.0 Last reconfirmed|0000-00-00 00:00:00 |2004-10-31 19:51:58 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16098 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-04-14 12:13 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-16098-286@http.gcc.gnu.org/bugzilla/> 2008-04-12 3:08 ` [Bug ada/16098] Illegal program not detected, RM 13.1(6) sam at gcc dot gnu dot org 2008-04-14 12:12 ` sam at gcc dot gnu dot org 2008-04-14 12:13 ` sam at gcc dot gnu dot org 2004-06-20 11:32 [Bug ada/16098] New: " ludovic dot brenta at insalien dot org 2004-06-20 16:41 ` [Bug ada/16098] " pinskia at gcc dot gnu dot org 2004-10-31 19:51 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).