comp.lang.ada
 help / color / mirror / Atom feed
* Gnat Bug detected?
@ 2003-07-16 12:57 Timo Warns
  2003-07-16 13:18 ` Preben Randhol
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Timo Warns @ 2003-07-16 12:57 UTC (permalink / raw)


Can someone confirm following bug?


--------- test.ads --------- 

with System.Storage_Elements; use System.Storage_Elements;
package Test is
    type A is
	record
	    I: Integer;
	end record;
    B: A;
    J: Integer renames B.I;
    for J'Address use To_Address(0);
end Test;

--------------------------- 


GCC 3.2.2 gives:
| +===========================GNAT BUG DETECTED==============================+
| | 3.2.2 20030205 (release) (i686-pc-linux-gnu) Assert_Failure sinfo.adb:1041|
| | Error detected at test.ads:12:5                                          |
| [...]


Gnat 3.15p gives:
| +===========================GNAT BUG DETECTED==============================+
| | 3.15p  (20020523) (i686-pc-linux-gnu) Gigi abort, Code=401               |
| | Error detected at test.ads:12:34                                         |
| [...]


I don't have any other Ada compilers available. Perhaps this is fixed 
in GCC 3.3 or Gnat 3.16.



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-07-19  5:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-16 12:57 Gnat Bug detected? Timo Warns
2003-07-16 13:18 ` Preben Randhol
2003-07-16 14:27 ` Mark Johnson
2003-07-16 18:19   ` Anh_Vo
2003-07-16 21:21   ` Simon Wright
2003-07-16 17:23 ` Robert I. Eachus
2003-07-16 19:28 ` Adrian Knoth
2003-07-16 20:03 ` Gautier Write-only
2003-07-19  5:51 ` Timo Warns

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox