Bug 26550 - ICE in gimplify_expr() on valid code
Summary: ICE in gimplify_expr() on valid code
Status: RESOLVED DUPLICATE of bug 25619
Alias: None
Product: gcc
Classification: Unclassified
Component: fortran (show other bugs)
Version: 4.2.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-03 19:08 UTC by Uttam Pawar
Modified: 2006-03-03 19:11 UTC (History)
5 users (show)

See Also:
Host: powerpc64-linux
Target: powerpc64-linux
Build: powerpc64-linux
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Uttam Pawar 2006-03-03 19:08:42 UTC
Hello,
Following code causes an ICE in gimplify_expr().
$ cat test.f90
module my_module
   implicit none
   type point
        real :: x
   end type point
   type(point), pointer, public :: stdin => NULL()
contains
      subroutine p(w)
      character(128) :: w
      call r(stdin,(/w/))
   end subroutine
end

elm3b11:/home/pawar> /opt/gcc-nightly/trunk-20060303/bin/gfortran test.f90
test.f90: In function ‘p’:
test.f90:10: internal compiler error: in gimplify_expr, at gimplify.c:5788
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Comment 1 Andrew Pinski 2006-03-03 19:11:30 UTC

*** This bug has been marked as a duplicate of 25619 ***