public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/32136]  New: ICE with transfer in gfc_conv_array_initializer
@ 2007-05-29  6:45 burnus at gcc dot gnu dot org
  2007-05-29 20:01 ` [Bug fortran/32136] " pault at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-05-29  6:45 UTC (permalink / raw)
  To: gcc-bugs

x.f90: In function 'MAIN__':
x.f90:2: internal compiler error: in gfc_conv_array_initializer, at
fortran/trans-array.c:3693

for:

real(kind(0d0)), parameter :: r(1) = &
    transfer(transfer(sqrt(2d0), (/ .true. /) ), (/ 0d0 /), 1)
print *,r
end


-- 
           Summary: ICE with transfer in gfc_conv_array_initializer
           Product: gcc
           Version: 4.3.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
OtherBugsDependingO 31237
             nThis:


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32136


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug fortran/32136] ICE with transfer in gfc_conv_array_initializer
  2007-05-29  6:45 [Bug fortran/32136] New: ICE with transfer in gfc_conv_array_initializer burnus at gcc dot gnu dot org
@ 2007-05-29 20:01 ` pault at gcc dot gnu dot org
  2007-06-23 12:33 ` dfranke at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pault at gcc dot gnu dot org @ 2007-05-29 20:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pault at gcc dot gnu dot org  2007-05-29 20:01 -------
I don't hit an ICE (Cygwin/amd64) but see a wrong result.  It works fine with
anything other than logical, as long as the SIZE parameter is set to ensure
that truncation of the source data does not occur.

Confirmed

Paul


-- 

pault 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         |2007-05-29 20:01:36
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32136


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug fortran/32136] ICE with transfer in gfc_conv_array_initializer
  2007-05-29  6:45 [Bug fortran/32136] New: ICE with transfer in gfc_conv_array_initializer burnus at gcc dot gnu dot org
  2007-05-29 20:01 ` [Bug fortran/32136] " pault at gcc dot gnu dot org
@ 2007-06-23 12:33 ` dfranke at gcc dot gnu dot org
  2007-06-24 19:24 ` pault at gcc dot gnu dot org
  2007-06-24 19:24 ` burnus at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2007-06-23 12:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from dfranke at gcc dot gnu dot org  2007-06-23 12:33 -------
There is no ICE on i686-pc-linux-gnu (confirmed by gdb and valgrind).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32136


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug fortran/32136] ICE with transfer in gfc_conv_array_initializer
  2007-05-29  6:45 [Bug fortran/32136] New: ICE with transfer in gfc_conv_array_initializer burnus at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-06-24 19:24 ` pault at gcc dot gnu dot org
@ 2007-06-24 19:24 ` burnus at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-06-24 19:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from burnus at gcc dot gnu dot org  2007-06-24 19:23 -------
Close bug as no one can reproduce it any more.
The ICE is still present in 4.2.x and 4.1.x, but as this is no regression, we
can close this PR.


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32136


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug fortran/32136] ICE with transfer in gfc_conv_array_initializer
  2007-05-29  6:45 [Bug fortran/32136] New: ICE with transfer in gfc_conv_array_initializer burnus at gcc dot gnu dot org
  2007-05-29 20:01 ` [Bug fortran/32136] " pault at gcc dot gnu dot org
  2007-06-23 12:33 ` dfranke at gcc dot gnu dot org
@ 2007-06-24 19:24 ` pault at gcc dot gnu dot org
  2007-06-24 19:24 ` burnus at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pault at gcc dot gnu dot org @ 2007-06-24 19:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pault at gcc dot gnu dot org  2007-06-24 19:24 -------
Subject: Bug 32136

Author: pault
Date: Sun Jun 24 19:24:02 2007
New Revision: 125987

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125987
Log:
2007-06-24  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/32136
        * gfortran.dg/pr32136.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/pr32136.f90
Modified:
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32136


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-06-24 19:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-29  6:45 [Bug fortran/32136] New: ICE with transfer in gfc_conv_array_initializer burnus at gcc dot gnu dot org
2007-05-29 20:01 ` [Bug fortran/32136] " pault at gcc dot gnu dot org
2007-06-23 12:33 ` dfranke at gcc dot gnu dot org
2007-06-24 19:24 ` pault at gcc dot gnu dot org
2007-06-24 19:24 ` burnus 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).