public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/38119] New: [4.4 Regression] character ICE in gfc_trans_create_temp_array
@ 2008-11-14 15:56 burnus at gcc dot gnu dot org
2008-11-14 15:57 ` [Bug fortran/38119] " burnus at gcc dot gnu dot org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-11-14 15:56 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1702 bytes --]
+++ This bug was initially created as a clone of Bug #38095 +++
In trying to reduce the ICE, Mikael Morin actually found a different ICE:
------- Bug #38095 Comment #8 From Mikael Morin 2008-11-12 22:43 -------
I tried to reduce the case.
module bar
implicit none
contains
!
elemental function trim_append(xx,yy) result(xy)
character (len=*), intent(in) :: xx,yy
character (len=len(xx) + len(yy)) :: xy
xy = xx // yy
end function trim_append
!
function same(xx) result(yy)
character (len=*), intent(in) :: xx(:)
character (len=len(xx)) :: yy(size(xx))
yy = xx
end function same
!
subroutine xmain()
character(len=2) :: c(1)
c = trim_append(["a"],same(["b"]))
end subroutine xmain
!
end module bar
pr38095.f90:5: erreur interne du compilateur: dans gfc_trans_create_temp_array,
à fortran/trans-array.c:648
Veuillez soumettre un rapport complet d'anomalies,
avec le source pré-traité si nécessaire.
Consultez <http://gcc.gnu.org/bugs.html> pour plus de détail.
I bet some of you guys recognize that old friend of ours, PR31610, whose patch
was reverted in PR37903.
Of course characters are a special (understand: not working) case. Argh!
This is probably unrelated to the original ICE though.
--
Summary: [4.4 Regression] character ICE in
gfc_trans_create_temp_array
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
BugsThisDependsOn: 38095
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38119
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/38119] [4.4 Regression] character ICE in gfc_trans_create_temp_array
2008-11-14 15:56 [Bug fortran/38119] New: [4.4 Regression] character ICE in gfc_trans_create_temp_array burnus at gcc dot gnu dot org
@ 2008-11-14 15:57 ` burnus at gcc dot gnu dot org
2008-11-14 15:58 ` jakub at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-11-14 15:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from burnus at gcc dot gnu dot org 2008-11-14 15:55 -------
Works in 4.3.2, 4.2.1 and 4.1.3. Fails with 4.4.
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38119
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/38119] [4.4 Regression] character ICE in gfc_trans_create_temp_array
2008-11-14 15:56 [Bug fortran/38119] New: [4.4 Regression] character ICE in gfc_trans_create_temp_array burnus at gcc dot gnu dot org
2008-11-14 15:57 ` [Bug fortran/38119] " burnus at gcc dot gnu dot org
@ 2008-11-14 15:58 ` jakub at gcc dot gnu dot org
2008-11-15 15:54 ` pault at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-11-14 15:58 UTC (permalink / raw)
To: gcc-bugs
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38119
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/38119] [4.4 Regression] character ICE in gfc_trans_create_temp_array
2008-11-14 15:56 [Bug fortran/38119] New: [4.4 Regression] character ICE in gfc_trans_create_temp_array burnus at gcc dot gnu dot org
2008-11-14 15:57 ` [Bug fortran/38119] " burnus at gcc dot gnu dot org
2008-11-14 15:58 ` jakub at gcc dot gnu dot org
@ 2008-11-15 15:54 ` pault at gcc dot gnu dot org
2008-11-16 12:14 ` pault at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pault at gcc dot gnu dot org @ 2008-11-15 15:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pault at gcc dot gnu dot org 2008-11-15 15:53 -------
Created an attachment (id=16683)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16683&action=view)
A fix for the PR
Bootstraps and regtests on FC9/x86_i64
Paul
2008-11-15 Paul Thomas <pault@gcc.gnu.org>
PR fortran/38119
* trans-array.c (gfc_trans_create_temp_array): Set the
loop->from to zero and the renormalisation of loop->to for all
dimensions.
2008-11-15 Paul Thomas <pault@gcc.gnu.org>
PR fortran/38119
* gfortran.dg/array_temporaries_3.f90: New test.
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pault at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38119
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/38119] [4.4 Regression] character ICE in gfc_trans_create_temp_array
2008-11-14 15:56 [Bug fortran/38119] New: [4.4 Regression] character ICE in gfc_trans_create_temp_array burnus at gcc dot gnu dot org
` (2 preceding siblings ...)
2008-11-15 15:54 ` pault at gcc dot gnu dot org
@ 2008-11-16 12:14 ` pault at gcc dot gnu dot org
2008-11-16 12:18 ` pault at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pault at gcc dot gnu dot org @ 2008-11-16 12:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pault at gcc dot gnu dot org 2008-11-16 12:13 -------
Subject: Bug 38119
Author: pault
Date: Sun Nov 16 12:11:53 2008
New Revision: 141915
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141915
Log:
2008-11-16 Paul Thomas <pault@gcc.gnu.org>
PR fortran/38119
* trans-array.c (gfc_trans_create_temp_array): Set the
loop->from to zero and the renormalisation of loop->to for all
dimensions.
2008-11-16 Paul Thomas <pault@gcc.gnu.org>
PR fortran/38119
* gfortran.dg/array_temporaries_3.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/array_temporaries_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=38119
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/38119] [4.4 Regression] character ICE in gfc_trans_create_temp_array
2008-11-14 15:56 [Bug fortran/38119] New: [4.4 Regression] character ICE in gfc_trans_create_temp_array burnus at gcc dot gnu dot org
` (3 preceding siblings ...)
2008-11-16 12:14 ` pault at gcc dot gnu dot org
@ 2008-11-16 12:18 ` pault at gcc dot gnu dot org
2008-11-19 3:27 ` pault at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pault at gcc dot gnu dot org @ 2008-11-16 12:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pault at gcc dot gnu dot org 2008-11-16 12:16 -------
Fixed on trunk. Thanks for the report.
Paul
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38119
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/38119] [4.4 Regression] character ICE in gfc_trans_create_temp_array
2008-11-14 15:56 [Bug fortran/38119] New: [4.4 Regression] character ICE in gfc_trans_create_temp_array burnus at gcc dot gnu dot org
` (4 preceding siblings ...)
2008-11-16 12:18 ` pault at gcc dot gnu dot org
@ 2008-11-19 3:27 ` pault at gcc dot gnu dot org
2008-11-19 3:38 ` pault at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pault at gcc dot gnu dot org @ 2008-11-19 3:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pault at gcc dot gnu dot org 2008-11-19 03:26 -------
Subject: Bug 38119
Author: pault
Date: Wed Nov 19 03:25:00 2008
New Revision: 141990
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141990
Log:
2008-11-19 Paul Thomas <pault@gcc.gnu.org>
PR fortran/38119
* module.c (load_equiv): Regression fix; check that equivalence
members come from the same module only.
2008-11-19 Paul Thomas <pault@gcc.gnu.org>
* gfortran.dg/module_equivalence_6.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/module_equivalence_6.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/module.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38119
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/38119] [4.4 Regression] character ICE in gfc_trans_create_temp_array
2008-11-14 15:56 [Bug fortran/38119] New: [4.4 Regression] character ICE in gfc_trans_create_temp_array burnus at gcc dot gnu dot org
` (5 preceding siblings ...)
2008-11-19 3:27 ` pault at gcc dot gnu dot org
@ 2008-11-19 3:38 ` pault at gcc dot gnu dot org
2008-11-24 21:53 ` pault at gcc dot gnu dot org
2008-11-24 21:53 ` pault at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pault at gcc dot gnu dot org @ 2008-11-19 3:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pault at gcc dot gnu dot org 2008-11-19 03:37 -------
(In reply to comment #5)
> Subject: Bug 38119
>
> Author: pault
> Date: Wed Nov 19 03:25:00 2008
> New Revision: 141990
>
> URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141990
> Log:
> 2008-11-19 Paul Thomas <pault@gcc.gnu.org>
>
> PR fortran/38119
> * module.c (load_equiv): Regression fix; check that equivalence
> members come from the same module only.
>
> 2008-11-19 Paul Thomas <pault@gcc.gnu.org>
>
> * gfortran.dg/module_equivalence_6.f90: New test.
>
> Added:
> trunk/gcc/testsuite/gfortran.dg/module_equivalence_6.f90
> Modified:
> trunk/gcc/fortran/ChangeLog
> trunk/gcc/fortran/module.c
> trunk/gcc/testsuite/ChangeLog
>
Spurious - wrong PR number.
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38119
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/38119] [4.4 Regression] character ICE in gfc_trans_create_temp_array
2008-11-14 15:56 [Bug fortran/38119] New: [4.4 Regression] character ICE in gfc_trans_create_temp_array burnus at gcc dot gnu dot org
` (7 preceding siblings ...)
2008-11-24 21:53 ` pault at gcc dot gnu dot org
@ 2008-11-24 21:53 ` pault at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pault at gcc dot gnu dot org @ 2008-11-24 21:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from pault at gcc dot gnu dot org 2008-11-24 21:51 -------
Subject: Bug 38119
Author: pault
Date: Mon Nov 24 21:50:06 2008
New Revision: 142175
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142175
Log:
2008-11-24 Paul Thomas <pault@gcc.gnu.org>
PR fortran/38119
* gfortran.dg/array_temporaries_3.f90: New test.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gfortran.dg/array_temporaries_3.f90
Modified:
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38119
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug fortran/38119] [4.4 Regression] character ICE in gfc_trans_create_temp_array
2008-11-14 15:56 [Bug fortran/38119] New: [4.4 Regression] character ICE in gfc_trans_create_temp_array burnus at gcc dot gnu dot org
` (6 preceding siblings ...)
2008-11-19 3:38 ` pault at gcc dot gnu dot org
@ 2008-11-24 21:53 ` pault at gcc dot gnu dot org
2008-11-24 21:53 ` pault at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pault at gcc dot gnu dot org @ 2008-11-24 21:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from pault at gcc dot gnu dot org 2008-11-24 21:52 -------
Fixed on trunk and 4.3.
Thanks for the report.
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38119
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2008-11-24 21:53 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-14 15:56 [Bug fortran/38119] New: [4.4 Regression] character ICE in gfc_trans_create_temp_array burnus at gcc dot gnu dot org
2008-11-14 15:57 ` [Bug fortran/38119] " burnus at gcc dot gnu dot org
2008-11-14 15:58 ` jakub at gcc dot gnu dot org
2008-11-15 15:54 ` pault at gcc dot gnu dot org
2008-11-16 12:14 ` pault at gcc dot gnu dot org
2008-11-16 12:18 ` pault at gcc dot gnu dot org
2008-11-19 3:27 ` pault at gcc dot gnu dot org
2008-11-19 3:38 ` pault at gcc dot gnu dot org
2008-11-24 21:53 ` pault at gcc dot gnu dot org
2008-11-24 21:53 ` pault 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).