public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/17318] New: Put_Line (X'Img (Index)), index ignored
@ 2004-09-04 13:17 ludovic dot brenta at insalien dot org
2004-10-13 2:06 ` [Bug ada/17318] " pinskia at gcc dot gnu dot org
2004-11-24 21:06 ` pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: ludovic dot brenta at insalien dot org @ 2004-09-04 13:17 UTC (permalink / raw)
To: gcc-bugs
(Debian bug #248695)
with text_io; use text_io;
procedure Test_248685 is
x: integer := 12345;
begin
put(integer'image(x)(4));
new_line;
put(x'img(4));
new_line;
end Test_248685;
The results expected are:
3
3
Instead, the program prints:
3
12345
--
Ludovic Brenta.
--
Summary: Put_Line (X'Img (Index)), index ignored
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=17318
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-11-24 21:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-04 13:17 [Bug ada/17318] New: Put_Line (X'Img (Index)), index ignored ludovic dot brenta at insalien dot org
2004-10-13 2:06 ` [Bug ada/17318] " pinskia at gcc dot gnu dot org
2004-11-24 21:06 ` 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).