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

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).