public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/39631]  New: f951 seg faults while building libgfortran
@ 2009-04-03 20:20 sje at cup dot hp dot com
  2009-04-03 21:19 ` [Bug bootstrap/39631] " sje at cup dot hp dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: sje at cup dot hp dot com @ 2009-04-03 20:20 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-04-12 18:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-03 20:20 [Bug bootstrap/39631] New: f951 seg faults while building libgfortran sje at cup dot hp dot com
2009-04-03 21:19 ` [Bug bootstrap/39631] " sje at cup dot hp dot com
2009-04-03 21:32 ` hjl dot tools at gmail dot com
2009-04-03 21:37 ` vmakarov at redhat dot com
2009-04-03 21:40 ` sje at cup dot hp dot com
2009-04-03 22:26 ` hjl at gcc dot gnu dot org
2009-04-12 18:44 ` danglin at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).