public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/30092]  New: Segmentation fault with -ftreevectorize and SQRT()
@ 2006-12-06 20:02 burnus at gcc dot gnu dot org
  2006-12-07 10:26 ` [Bug tree-optimization/30092] " burnus at gcc dot gnu dot org
  2006-12-08 21:05 ` tkoenig at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: burnus at gcc dot gnu dot org @ 2006-12-06 20:02 UTC (permalink / raw)
  To: gcc-bugs

Using current SVN gcc/gfortran, the following program gives a SEGV with
 gfortran -ftree-vectorize -O3 -c
but not if I remove the -ftree-vectorize option.

The vectorization of sqrt is PR21466 / PR30032, but afterwards it was still
working. Thus it is probably some interaction between the gimple work and the
sqrt vectorization.

------------------------------------------
       SUBROUTINE EOS(NODES, DENS, PRES, CS, CGAMMA)
      IMPLICIT NONE
      INTEGER NODES
      REAL CGAMMA
      REAL, DIMENSION(NODES) :: DENS, PRES, CS
      REAL, PARAMETER :: RGAS = 8.314
      CS(:NODES) = SQRT(CGAMMA*PRES(:NODES)/DENS(:NODES))
      END SUBROUTINE EOS
------------------------------------------


-- 
           Summary: Segmentation fault with -ftreevectorize and SQRT()
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org
GCC target triplet: x86_64-unknown-linux-gnu


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


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

* [Bug tree-optimization/30092] Segmentation fault with -ftreevectorize and SQRT()
  2006-12-06 20:02 [Bug tree-optimization/30092] New: Segmentation fault with -ftreevectorize and SQRT() burnus at gcc dot gnu dot org
@ 2006-12-07 10:26 ` burnus at gcc dot gnu dot org
  2006-12-08 21:05 ` tkoenig at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: burnus at gcc dot gnu dot org @ 2006-12-07 10:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from burnus at gcc dot gnu dot org  2006-12-07 10:25 -------
Works today => Close bug


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME


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


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

* [Bug tree-optimization/30092] Segmentation fault with -ftreevectorize and SQRT()
  2006-12-06 20:02 [Bug tree-optimization/30092] New: Segmentation fault with -ftreevectorize and SQRT() burnus at gcc dot gnu dot org
  2006-12-07 10:26 ` [Bug tree-optimization/30092] " burnus at gcc dot gnu dot org
@ 2006-12-08 21:05 ` tkoenig at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2006-12-08 21:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from tkoenig at gcc dot gnu dot org  2006-12-08 21:05 -------
Hi Tobias,

could write this into a test case for gfortran.dg?

If it broke once, we should at make sure it doesn't break again.

Thomas


-- 

tkoenig at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tkoenig at gcc dot gnu dot
                   |                            |org


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


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

end of thread, other threads:[~2006-12-08 21:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-06 20:02 [Bug tree-optimization/30092] New: Segmentation fault with -ftreevectorize and SQRT() burnus at gcc dot gnu dot org
2006-12-07 10:26 ` [Bug tree-optimization/30092] " burnus at gcc dot gnu dot org
2006-12-08 21:05 ` tkoenig 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).