[Bug fortran/32867] [4.3 Regression] 459.GemsFDTD in SPEC CPU 2006 fails to compile

hjl at lucon dot org gcc-bugzilla@gcc.gnu.org
Mon Jul 23 16:31:00 GMT 2007



------- Comment #5 from hjl at lucon dot org  2007-07-23 16:31 -------
A smaller testcase:

[hjl@gnu-26 459.GemsFDTD]$ cat foo.f90 
SUBROUTINE Parser(nx, ny, keyword)
  character(80), PARAMETER, dimension(1:2) :: keywords = &
   (/'PROBLEMSIZE', &
     'NFTRANS_TD'/)
  integer, intent(inout) :: nx, ny
  character(80), intent(inout) :: keyword
  select case (keyword)
  case (trim(keywords(1))) ! PROBLEMSIZE
    nx = 1
  case (trim(keywords(2))) !'NFTRANS_TD'
    ny = 1
  end select
END SUBROUTINE Parser
[hjl@gnu-26 459.GemsFDTD]$ ../126826/usr/bin/gfortran       -O2 -ffast-math    
   -DSPEC_CPU_LP64          -S  foo.f90
foo.f90:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-26 459.GemsFDTD]$ 


-- 


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



More information about the Gcc-bugs mailing list