public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/28416] New: ICE on allocatable codes
@ 2006-07-18 7:42 sfilippone at uniroma2 dot it
2006-07-18 7:43 ` [Bug fortran/28416] " sfilippone at uniroma2 dot it
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: sfilippone at uniroma2 dot it @ 2006-07-18 7:42 UTC (permalink / raw)
To: gcc-bugs
While testing the patch for TR15581 I encountered this ICE, which is not
strictly related to the patch itself, since I reproduced below with the base
compiler.
The base compiler should refuse the code, the patched compiler should accept
it.
[sfilippo@localhost ALLOCATABLE]$ gfortran -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.2-20060715/configure --prefix=/usr/local/gcc42
Thread model: posix
gcc version 4.2.0 20060715 (experimental)
[sfilippo@localhost ALLOCATABLE]$ gfortran -c test2.f90
test2.f90: In function 'foo':
test2.f90:1: internal compiler error: in gfc_conv_descriptor_data_get, at
fortran/trans-array.c:148
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: ICE on allocatable codes
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sfilippone at uniroma2 dot it
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28416
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/28416] ICE on allocatable codes
2006-07-18 7:42 [Bug fortran/28416] New: ICE on allocatable codes sfilippone at uniroma2 dot it
@ 2006-07-18 7:43 ` sfilippone at uniroma2 dot it
2006-07-18 10:42 ` fxcoudert at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: sfilippone at uniroma2 dot it @ 2006-07-18 7:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from sfilippone at uniroma2 dot it 2006-07-18 07:42 -------
Created an attachment (id=11909)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11909&action=view)
test case
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28416
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/28416] ICE on allocatable codes
2006-07-18 7:42 [Bug fortran/28416] New: ICE on allocatable codes sfilippone at uniroma2 dot it
2006-07-18 7:43 ` [Bug fortran/28416] " sfilippone at uniroma2 dot it
@ 2006-07-18 10:42 ` fxcoudert at gcc dot gnu dot org
2006-07-18 14:38 ` paul dot richard dot thomas at cea dot fr
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2006-07-18 10:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from fxcoudert at gcc dot gnu dot org 2006-07-18 10:42 -------
Confirmed, and not target-specific.
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
GCC build triplet|i686-pc-linux-gnu |
GCC host triplet|i686-pc-linux-gnu |
GCC target triplet|i686-pc-linux-gnu |
Known to fail| |4.2.0
Last reconfirmed|0000-00-00 00:00:00 |2006-07-18 10:42:03
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28416
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/28416] ICE on allocatable codes
2006-07-18 7:42 [Bug fortran/28416] New: ICE on allocatable codes sfilippone at uniroma2 dot it
2006-07-18 7:43 ` [Bug fortran/28416] " sfilippone at uniroma2 dot it
2006-07-18 10:42 ` fxcoudert at gcc dot gnu dot org
@ 2006-07-18 14:38 ` paul dot richard dot thomas at cea dot fr
2006-07-18 18:45 ` eedelman at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: paul dot richard dot thomas at cea dot fr @ 2006-07-18 14:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from paul dot richard dot thomas at cea dot fr 2006-07-18 14:38 -------
The fix, as described on the list, is to be found in the latest patch to
PR20541 - the TR15581 story. It includes the corrections to the
going-out-of-scope cleanup, as well.
I am sorry that I cannot deal with it; I hope that Erik is in a position to do
so.
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28416
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/28416] ICE on allocatable codes
2006-07-18 7:42 [Bug fortran/28416] New: ICE on allocatable codes sfilippone at uniroma2 dot it
` (2 preceding siblings ...)
2006-07-18 14:38 ` paul dot richard dot thomas at cea dot fr
@ 2006-07-18 18:45 ` eedelman at gcc dot gnu dot org
2006-07-24 20:16 ` eedelman at gcc dot gnu dot org
2006-08-14 19:50 ` eedelman at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: eedelman at gcc dot gnu dot org @ 2006-07-18 18:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from eedelman at gcc dot gnu dot org 2006-07-18 18:45 -------
(In reply to comment #3)
> The fix, as described on the list, is to be found in the latest patch to
> PR20541 - the TR15581 story. It includes the corrections to the
> going-out-of-scope cleanup, as well.
>
> I am sorry that I cannot deal with it; I hope that Erik is in a position to do
> so.
I'll see what I can do about it.
--
eedelman at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |eedelman at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2006-07-18 10:42:03 |2006-07-18 18:45:00
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28416
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/28416] ICE on allocatable codes
2006-07-18 7:42 [Bug fortran/28416] New: ICE on allocatable codes sfilippone at uniroma2 dot it
` (3 preceding siblings ...)
2006-07-18 18:45 ` eedelman at gcc dot gnu dot org
@ 2006-07-24 20:16 ` eedelman at gcc dot gnu dot org
2006-08-14 19:50 ` eedelman at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: eedelman at gcc dot gnu dot org @ 2006-07-24 20:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from eedelman at gcc dot gnu dot org 2006-07-24 20:16 -------
Subject: Bug 28416
Author: eedelman
Date: Mon Jul 24 20:15:59 2006
New Revision: 115721
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115721
Log:
fortran/
2006-07-24 Erik Edelmann <eedelman@gcc.gnu.org>
PR fortran/28416
* trans-array.c (gfc_conv_array_parameter): Give special treatment
for ALLOCATABLEs if they are themselves dummy variables.
testsuite/
2006-07-24 Erik Edelmann <eedelman@gcc.gnu.org>
PR fortran/28416
* gfortran.dg/allocatable_dummy_3.f90: New.
Added:
trunk/gcc/testsuite/gfortran.dg/allocatable_dummy_3.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-array.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28416
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/28416] ICE on allocatable codes
2006-07-18 7:42 [Bug fortran/28416] New: ICE on allocatable codes sfilippone at uniroma2 dot it
` (4 preceding siblings ...)
2006-07-24 20:16 ` eedelman at gcc dot gnu dot org
@ 2006-08-14 19:50 ` eedelman at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: eedelman at gcc dot gnu dot org @ 2006-08-14 19:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from eedelman at gcc dot gnu dot org 2006-08-14 19:50 -------
Fixed on 4.2. (No need to fix it on 4.1, since allocatable dummies aren't
supported there.)
--
eedelman at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28416
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-08-14 19:50 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-18 7:42 [Bug fortran/28416] New: ICE on allocatable codes sfilippone at uniroma2 dot it
2006-07-18 7:43 ` [Bug fortran/28416] " sfilippone at uniroma2 dot it
2006-07-18 10:42 ` fxcoudert at gcc dot gnu dot org
2006-07-18 14:38 ` paul dot richard dot thomas at cea dot fr
2006-07-18 18:45 ` eedelman at gcc dot gnu dot org
2006-07-24 20:16 ` eedelman at gcc dot gnu dot org
2006-08-14 19:50 ` eedelman 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).