This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/39631] New: f951 seg faults while building libgfortran
- From: "sje at cup dot hp dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Apr 2009 20:20:15 -0000
- Subject: [Bug bootstrap/39631] New: f951 seg faults while building libgfortran
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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