public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/35645] New: ICE in gimplify_expr, at gimplify.c:6120
@ 2008-03-20 0:39 ludovic at ludovic-brenta dot org
2008-03-20 9:33 ` [Bug ada/35645] " rguenth at gcc dot gnu dot org
2008-05-14 9:21 ` sam at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: ludovic at ludovic-brenta dot org @ 2008-03-20 0:39 UTC (permalink / raw)
To: gcc-bugs
Not sure the declaration below is legal, but it ICEs anyway.
package pak1 is
type T1(x1: integer) is record
x2: integer := T1.x1;
end record;
end pak1;
gcc-4.1 -c pak1.ads
+===========================GNAT BUG DETECTED==============================+
| 4.1.3 20070518 (prerelease) (Debian 4.1.2-8) (x86_64-pc-linux-gnu) GCC
error:|
| in gimplify_expr, at gimplify.c:4519 |
| No source file position information available |
+===========================GNAT BUG DETECTED==============================+
| 4.2.2 (i686-unknown-linux-gnu) in gimplify_expr, at gimplify.c:5888 |
| No source file position information available |
gcc-4.3 -c pak1.ads
+===========================GNAT BUG DETECTED==============================+
| 4.3.1 20080309 (prerelease) (x86_64-pc-linux-gnu) GCC error: |
| in gimplify_expr, at gimplify.c:6120 |
| Error detected around pak1.ads:3 |
--
Summary: ICE in gimplify_expr, at gimplify.c:6120
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ludovic at ludovic-brenta dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35645
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug ada/35645] ICE in gimplify_expr, at gimplify.c:6120
2008-03-20 0:39 [Bug ada/35645] New: ICE in gimplify_expr, at gimplify.c:6120 ludovic at ludovic-brenta dot org
@ 2008-03-20 9:33 ` rguenth at gcc dot gnu dot org
2008-05-14 9:21 ` sam at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-03-20 9:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2008-03-20 09:33 -------
This means there is an unhandled tree in gimplify_expr, which is in this case
probably PLACEHOLDER_EXPR(?):
pak1.t1ip (_init, x1)
{
_init.x1 = (integer) x1;
_init.x2 = <PLACEHOLDER_EXPR struct pak1__t1>.x1;
goto <D.509>;
<D.509>:;
return _init;
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-03-20 09:33:00
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35645
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug ada/35645] ICE in gimplify_expr, at gimplify.c:6120
2008-03-20 0:39 [Bug ada/35645] New: ICE in gimplify_expr, at gimplify.c:6120 ludovic at ludovic-brenta dot org
2008-03-20 9:33 ` [Bug ada/35645] " rguenth at gcc dot gnu dot org
@ 2008-05-14 9:21 ` sam at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: sam at gcc dot gnu dot org @ 2008-05-14 9:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from sam at gcc dot gnu dot org 2008-05-14 09:20 -------
The code is not legal, adding keyword
--
sam at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35645
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-05-14 9:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-20 0:39 [Bug ada/35645] New: ICE in gimplify_expr, at gimplify.c:6120 ludovic at ludovic-brenta dot org
2008-03-20 9:33 ` [Bug ada/35645] " rguenth at gcc dot gnu dot org
2008-05-14 9:21 ` 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).