[Bug middle-end/57461] [4.9 Regression] ICE (segfault) for pass_final's ggc_collect: in lookup_page_table_entry, depending on details like (length of?) identifier names, file name of source file

Joost.VandeVondele at mat dot ethz.ch gcc-bugzilla@gcc.gnu.org
Thu Sep 26 06:12:00 GMT 2013


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

Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Joost.VandeVondele at mat dot ethz
                   |                            |.ch

--- Comment #4 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> ---
This is a reduced testcase from PR58024, which is very likely a dup, however,
it is much smaller:

Using 

 gfortran -c -fopenmp  --param=ggc-min-heapsize=0 --param=ggc-min-expand=0 
bug.f90


subroutine factorize_slu_r ()
  factor_loop : do
     !$OMP PARALLEL DO SCHEDULE (DYNAMIC) PRIVATE (info)
     reduce_loop : do k = 1, n-l, 2*l
  if(.NOT. (info >= 0)) then
    stop
  endif
     end do reduce_loop
  end do factor_loop
end subroutine factorize_slu_r


bug.f90: In function ‘factorize_slu_r’:
bug.f90:10:0: internal compiler error: Segmentation fault
 end subroutine factorize_slu_r
 ^
0x9bbe5f crash_signal
    ../../gcc/gcc/toplev.c:334
0x661303 lookup_page_table_entry
    ../../gcc/gcc/ggc-page.c:593
0x661303 ggc_set_mark(void const*)
    ../../gcc/gcc/ggc-page.c:1467


More information about the Gcc-bugs mailing list