[Bug bootstrap/39631] New: f951 seg faults while building libgfortran

sje at cup dot hp dot com gcc-bugzilla@gcc.gnu.org
Fri Apr 3 20:20:00 GMT 2009


f951 generates a seg fault while building on hppa1.1-hp-hpux11.11.  It can be
reproduced by compiling the following fortran code with -O2 optimization:

elemental function gfortran_specific_dim_r16 (p1, p2)
   real (kind=16), intent (in) :: p1, p2
   real (kind=16) :: gfortran_specific_dim_r16
   gfortran_specific_dim_r16 = dim (p1, p2)
end function

The segfault is coming from the ira_assert in ira_reuse_stack_slot at line 2966
of ira-color.c.  allocno is NULL but gets dereferenced in the
ALLOCNO_HARD_REGNO macro.

It started failing sometime before r145385 and after r145268.  During that
period the compiler was not building correctly on PA so I don't yet know
exactly what change broke it.


-- 
           Summary: f951 seg faults while building libgfortran
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sje at cup dot hp dot com
GCC target triplet: hppa1.1-hp-hpux11.11


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



More information about the Gcc-bugs mailing list