public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/15841] New: Illegal program not detected, RM 3.9(17)
@ 2004-06-06 10:16 ludovic dot brenta at insalien dot org
2004-10-12 4:03 ` [Bug ada/15841] " pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: ludovic dot brenta at insalien dot org @ 2004-06-06 10:16 UTC (permalink / raw)
To: gcc-bugs
-- RM 3.9(17)
-- Given a prefix X that is of a class-wide tagged type
with ada.tags;
package Test_247015 is
type T1 is tagged null record;
x: T1;
y: ada.tags.tag := T1(x)'Tag; --ERROR: prefix of 'tag must be classwide
end Test_247015;
I expect an error message like this:
test_247015.ads:7:22: "T1(x)" is not a classwide tagged type
But I get nothing.
--
Summary: Illegal program not detected, RM 3.9(17)
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=15841
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/15841] Illegal program not detected, RM 3.9(17)
2004-06-06 10:16 [Bug ada/15841] New: Illegal program not detected, RM 3.9(17) ludovic dot brenta at insalien dot org
@ 2004-10-12 4:03 ` pinskia at gcc dot gnu dot org
2004-10-29 13:27 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-12 4:03 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15841
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/15841] Illegal program not detected, RM 3.9(17)
2004-06-06 10:16 [Bug ada/15841] New: Illegal program not detected, RM 3.9(17) ludovic dot brenta at insalien dot org
2004-10-12 4:03 ` [Bug ada/15841] " pinskia at gcc dot gnu dot org
@ 2004-10-29 13:27 ` pinskia at gcc dot gnu dot org
2004-10-29 13:30 ` pinskia at gcc dot gnu dot org
2004-10-29 13:31 ` charlet at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-29 13:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-29 13:27 -------
On the mainline I get:
test_247015.ads:7:26: "Tag" attribute can only be applied to objects of class-wide type
test_247015.ads:8:16: missing ";"
Is this a correct error?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15841
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/15841] Illegal program not detected, RM 3.9(17)
2004-06-06 10:16 [Bug ada/15841] New: Illegal program not detected, RM 3.9(17) ludovic dot brenta at insalien dot org
2004-10-12 4:03 ` [Bug ada/15841] " pinskia at gcc dot gnu dot org
2004-10-29 13:27 ` pinskia at gcc dot gnu dot org
@ 2004-10-29 13:30 ` pinskia at gcc dot gnu dot org
2004-10-29 13:31 ` charlet at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-29 13:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-29 13:30 -------
Note the error about the semicolon was my fault for not copying the semicolon at the end of the line
but does not matter we still reject it:
test_247015.ads:7:23: "Tag" attribute can only be applied to objects of class-wide type
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15841
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/15841] Illegal program not detected, RM 3.9(17)
2004-06-06 10:16 [Bug ada/15841] New: Illegal program not detected, RM 3.9(17) ludovic dot brenta at insalien dot org
` (2 preceding siblings ...)
2004-10-29 13:30 ` pinskia at gcc dot gnu dot org
@ 2004-10-29 13:31 ` charlet at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: charlet at gcc dot gnu dot org @ 2004-10-29 13:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From charlet at gcc dot gnu dot org 2004-10-29 13:31 -------
Yes, error message seems fine.
Closing.
Arno
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15841
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-10-29 13:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-06 10:16 [Bug ada/15841] New: Illegal program not detected, RM 3.9(17) ludovic dot brenta at insalien dot org
2004-10-12 4:03 ` [Bug ada/15841] " pinskia at gcc dot gnu dot org
2004-10-29 13:27 ` pinskia at gcc dot gnu dot org
2004-10-29 13:30 ` pinskia at gcc dot gnu dot org
2004-10-29 13:31 ` charlet 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).