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; 6+ 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] 6+ messages in thread
[parent not found: <bug-17318-286@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2007-12-05 12:08 UTC | newest]

Thread overview: 6+ 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
     [not found] <bug-17318-286@http.gcc.gnu.org/bugzilla/>
2007-11-28 20:54 ` sam at gcc dot gnu dot org
2007-11-28 20:55 ` sam at gcc dot gnu dot org
2007-12-05 12:08 ` sam 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).