public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/16527] New: 3.3.4 (i486-slackware-linux-gnu) in substitute_in_expr, at tree.c:2039
@ 2004-07-13 17:25 bernard dot weisser at wanadoo dot fr
2004-07-13 17:27 ` [Bug ada/16527] " pinskia at gcc dot gnu dot org
2004-07-13 18:21 ` charlet at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: bernard dot weisser at wanadoo dot fr @ 2004-07-13 17:25 UTC (permalink / raw)
To: gcc-bugs
BUGS_REPORTED 16> gcc -v
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/specs
Configured with: ../gcc-3.3.4/configure --prefix=/usr --enable-shared
--enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld
--verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.3.4
+ gcc -c string_lists.adb
+===========================GNAT BUG DETECTED==============================+
| 3.3.4 (i486-slackware-linux-gnu) in substitute_in_expr, at tree.c:2039 |
| Error detected at string_lists.adb:5:74 |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html. |
| Include the entire contents of this bug box in the report. |
| Include the exact gcc or gnatmake command that you entered. |
| Also include sources listed below in gnatchop format |
| concatenated together with no headers between files. |
+==========================================================================+
package String_Lists is
pragma Elaborate_Body;
type String_List (
Maxcard: Natural;
Maxlen : Natural)
is private;
private
type Index_List is array (Natural range <>) of Natural;
type String_List (
Maxcard: Natural;
Maxlen : Natural)
is record
Card : Natural:= 0;
Lasts: Index_List(0..Maxcard) := (others=> 0);
Value: String(1..Maxlen);
end record;
end String_Lists;
package body String_Lists is
function "+" (Left: String_List; Right: String_List) return String_List is
List : String_List (Maxcard => Left.Card + Right.Card,
Maxlen => Left.Lasts(Left.Card) +
Right.Lasts(Right.Card));
begin
return List;
end "+";
end String_Lists;
--
Summary: 3.3.4 (i486-slackware-linux-gnu) in substitute_in_expr,
at tree.c:2039
Product: gcc
Version: 3.3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bernard dot weisser at wanadoo dot fr
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: i486-slackware-linux
GCC target triplet: i486-slackware-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16527
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug ada/16527] 3.3.4 (i486-slackware-linux-gnu) in substitute_in_expr, at tree.c:2039
2004-07-13 17:25 [Bug ada/16527] New: 3.3.4 (i486-slackware-linux-gnu) in substitute_in_expr, at tree.c:2039 bernard dot weisser at wanadoo dot fr
@ 2004-07-13 17:27 ` pinskia at gcc dot gnu dot org
2004-07-13 18:21 ` charlet at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-13 17:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-13 17:27 -------
Can you try 3.4.0?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16527
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug ada/16527] 3.3.4 (i486-slackware-linux-gnu) in substitute_in_expr, at tree.c:2039
2004-07-13 17:25 [Bug ada/16527] New: 3.3.4 (i486-slackware-linux-gnu) in substitute_in_expr, at tree.c:2039 bernard dot weisser at wanadoo dot fr
2004-07-13 17:27 ` [Bug ada/16527] " pinskia at gcc dot gnu dot org
@ 2004-07-13 18:21 ` charlet at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: charlet at gcc dot gnu dot org @ 2004-07-13 18:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From charlet at gcc dot gnu dot org 2004-07-13 18:21 -------
Works fine on mainline (and probably 3.4 as well).
Arno
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16527
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-07-13 18:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-13 17:25 [Bug ada/16527] New: 3.3.4 (i486-slackware-linux-gnu) in substitute_in_expr, at tree.c:2039 bernard dot weisser at wanadoo dot fr
2004-07-13 17:27 ` [Bug ada/16527] " pinskia at gcc dot gnu dot org
2004-07-13 18:21 ` 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).