public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/50414] New: gfortran -Ofast SIGSEGV in store_constructor
@ 2011-09-15  8:48 zeccav at gmail dot com
  2011-09-15 10:03 ` [Bug tree-optimization/50414] " Joost.VandeVondele at pci dot uzh.ch
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: zeccav at gmail dot com @ 2011-09-15  8:48 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50414
           Summary: gfortran -Ofast SIGSEGV in store_constructor
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zeccav@gmail.com


Created attachment 25290
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25290
please compile it with -Ofast

gfortran -Ofast SIGSEGV in store_constructor


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

* [Bug tree-optimization/50414] gfortran -Ofast SIGSEGV in store_constructor
  2011-09-15  8:48 [Bug fortran/50414] New: gfortran -Ofast SIGSEGV in store_constructor zeccav at gmail dot com
@ 2011-09-15 10:03 ` Joost.VandeVondele at pci dot uzh.ch
  2011-09-15 10:04 ` Joost.VandeVondele at pci dot uzh.ch
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Joost.VandeVondele at pci dot uzh.ch @ 2011-09-15 10:03 UTC (permalink / raw)
  To: gcc-bugs

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

Joost VandeVondele <Joost.VandeVondele at pci dot uzh.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|fortran                     |tree-optimization

--- Comment #1 from Joost VandeVondele <Joost.VandeVondele at pci dot uzh.ch> 2011-09-15 09:59:37 UTC ---
Breakpoint 2, internal_error (gmsgid=0xf3ffe8 "gimple check: expected %s(%s),
have %s(%s) in %s, at %s:%d") at ../../gcc/gcc/diagnostic.c:833
833     {
(gdb) bt
#0  internal_error (gmsgid=0xf3ffe8 "gimple check: expected %s(%s), have %s(%s)
in %s, at %s:%d") at ../../gcc/gcc/diagnostic.c:833
#1  0x000000000079a306 in gimple_check_failed (gs=0x7ffff5b58580,
file=Unhandled dwarf expression opcode 0xf3
) at ../../gcc/gcc/gimple.c:1156
#2  0x0000000000aa8f9f in gimple_phi_arg (op=<value optimized out>,
vec_oprnds=0x7fffffffd5e8, op_num=0, number_of_vectors=1, reduc_index=2,
slp_node=Unhandled dwarf expression opcode 0xfa
)
    at ../../gcc/gcc/gimple.h:3369
#3  gimple_phi_arg_imm_use_ptr (op=<value optimized out>,
vec_oprnds=0x7fffffffd5e8, op_num=0, number_of_vectors=1, reduc_index=2,
slp_node=Unhandled dwarf expression opcode 0xfa
)
    at ../../gcc/gcc/tree-flow-inline.h:452
#4  vect_get_constant_vectors (op=<value optimized out>,
vec_oprnds=0x7fffffffd5e8, op_num=0, number_of_vectors=1, reduc_index=2,
slp_node=Unhandled dwarf expression opcode 0xfa
)
    at ../../gcc/gcc/tree-vect-slp.c:2013
#5  0x0000000000aab177 in vect_get_slp_defs (op0=0x7ffff5b55910, op1=0x0,
slp_node=0x16d5d70, vec_oprnds0=0x7fffffffd5e8, vec_oprnds1=0x0, reduc_index=2)
    at ../../gcc/gcc/tree-vect-slp.c:2145
#6  0x0000000000a983cb in vect_create_epilog_for_reduction
(vect_defs=0x16d6260, stmt=0x7ffff5b58580, ncopies=1,
reduc_code=REDUC_MAX_EXPR,
    reduction_phis=0x16d66c0, reduc_index=2, double_reduc=false,
slp_node=0x16d5d70) at ../../gcc/gcc/tree-vect-loop.c:3541
#7  0x0000000000a9cf8d in vectorizable_reduction (stmt=0x7fff00000001,
gsi=0x7fffffffd900, vec_stmt=0x7fffffffd878, slp_node=0x16d5d70)
    at ../../gcc/gcc/tree-vect-loop.c:4902
#8  0x0000000000a91805 in vect_transform_stmt (stmt=0x7ffff5b58580,
gsi=0x7fffffffd900, strided_store=0x7fffffffd8ff, slp_node=0x16d5d70,
slp_node_instance=Unhandled dwarf expression opcode 0xf3
)
    at ../../gcc/gcc/tree-vect-stmts.c:5218
#9  0x0000000000aa7b40 in vect_schedule_slp_instance (node=0x16d5d70,
instance=0x16d5ed0, vectorization_factor=Unhandled dwarf expression opcode 0xf3
) at ../../gcc/gcc/tree-vect-slp.c:2574
#10 0x0000000000aadbc8 in vect_schedule_slp (loop_vinfo=Unhandled dwarf
expression opcode 0xf3
) at ../../gcc/gcc/tree-vect-slp.c:2604
#11 0x0000000000aa1a5c in vect_transform_loop (loop_vinfo=0x16ff380) at
../../gcc/gcc/tree-vect-loop.c:5317
#12 0x0000000000aae7e3 in vectorize_loops () at
../../gcc/gcc/tree-vectorizer.c:214
#13 0x0000000000876d37 in execute_one_pass (pass=0x1498f00) at
../../gcc/gcc/passes.c:2063


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

* [Bug tree-optimization/50414] gfortran -Ofast SIGSEGV in store_constructor
  2011-09-15  8:48 [Bug fortran/50414] New: gfortran -Ofast SIGSEGV in store_constructor zeccav at gmail dot com
  2011-09-15 10:03 ` [Bug tree-optimization/50414] " Joost.VandeVondele at pci dot uzh.ch
@ 2011-09-15 10:04 ` Joost.VandeVondele at pci dot uzh.ch
  2011-09-15 10:33 ` [Bug tree-optimization/50414] [4.7 Regression] " dominiq at lps dot ens.fr
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Joost.VandeVondele at pci dot uzh.ch @ 2011-09-15 10:04 UTC (permalink / raw)
  To: gcc-bugs

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

Joost VandeVondele <Joost.VandeVondele at pci dot uzh.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011-09-15
     Ever Confirmed|0                           |1


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

* [Bug tree-optimization/50414] [4.7 Regression] gfortran -Ofast SIGSEGV in store_constructor
  2011-09-15  8:48 [Bug fortran/50414] New: gfortran -Ofast SIGSEGV in store_constructor zeccav at gmail dot com
  2011-09-15 10:03 ` [Bug tree-optimization/50414] " Joost.VandeVondele at pci dot uzh.ch
  2011-09-15 10:04 ` Joost.VandeVondele at pci dot uzh.ch
@ 2011-09-15 10:33 ` dominiq at lps dot ens.fr
  2011-09-15 11:30 ` dominiq at lps dot ens.fr
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-09-15 10:33 UTC (permalink / raw)
  To: gcc-bugs

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|gfortran -Ofast SIGSEGV in  |[4.7 Regression] gfortran
                   |store_constructor           |-Ofast SIGSEGV in
                   |                            |store_constructor

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-09-15 10:27:53 UTC ---
This is a regression that occurred between revisions 173852 (OK) and 175707
(ICE). If needed, I'll be able to narrow the range later today.


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

* [Bug tree-optimization/50414] [4.7 Regression] gfortran -Ofast SIGSEGV in store_constructor
  2011-09-15  8:48 [Bug fortran/50414] New: gfortran -Ofast SIGSEGV in store_constructor zeccav at gmail dot com
                   ` (2 preceding siblings ...)
  2011-09-15 10:33 ` [Bug tree-optimization/50414] [4.7 Regression] " dominiq at lps dot ens.fr
@ 2011-09-15 11:30 ` dominiq at lps dot ens.fr
  2011-09-15 13:29 ` irar at il dot ibm.com
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-09-15 11:30 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-09-15 11:27:35 UTC ---
> This is a regression that occurred between revisions 173852 (OK) and 175707
> (ICE). If needed, I'll be able to narrow the range later today.

173817 is OK
173917 gives the ICE


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

* [Bug tree-optimization/50414] [4.7 Regression] gfortran -Ofast SIGSEGV in store_constructor
  2011-09-15  8:48 [Bug fortran/50414] New: gfortran -Ofast SIGSEGV in store_constructor zeccav at gmail dot com
                   ` (3 preceding siblings ...)
  2011-09-15 11:30 ` dominiq at lps dot ens.fr
@ 2011-09-15 13:29 ` irar at il dot ibm.com
  2011-09-18 11:43 ` irar at gcc dot gnu.org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: irar at il dot ibm.com @ 2011-09-15 13:29 UTC (permalink / raw)
  To: gcc-bugs

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

Ira Rosen <irar at il dot ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |irar at il dot ibm.com
         AssignedTo|unassigned at gcc dot       |irar at il dot ibm.com
                   |gnu.org                     |

--- Comment #4 from Ira Rosen <irar at il dot ibm.com> 2011-09-15 12:36:04 UTC ---
Looks like a mix up in the order of stmts in reduction SLP node. I'll take a
better look next week.


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

* [Bug tree-optimization/50414] [4.7 Regression] gfortran -Ofast SIGSEGV in store_constructor
  2011-09-15  8:48 [Bug fortran/50414] New: gfortran -Ofast SIGSEGV in store_constructor zeccav at gmail dot com
                   ` (4 preceding siblings ...)
  2011-09-15 13:29 ` irar at il dot ibm.com
@ 2011-09-18 11:43 ` irar at gcc dot gnu.org
  2011-09-18 12:34 ` irar at il dot ibm.com
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: irar at gcc dot gnu.org @ 2011-09-18 11:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from irar at gcc dot gnu.org 2011-09-18 11:36:22 UTC ---
Author: irar
Date: Sun Sep 18 11:36:15 2011
New Revision: 178941

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178941
Log:

        PR tree-optimization/50414
        * tree-vect-slp.c (vect_get_constant_vectors): Handle MAX_EXPR
        and MIN_EXPR.


Added:
    trunk/gcc/testsuite/gcc.dg/vect/no-scevccp-noreassoc-slp-reduc-7.c
    trunk/gcc/testsuite/gfortran.dg/vect/Ofast-pr50414.f90
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/vect/vect.exp
    trunk/gcc/tree-vect-slp.c


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

* [Bug tree-optimization/50414] [4.7 Regression] gfortran -Ofast SIGSEGV in store_constructor
  2011-09-15  8:48 [Bug fortran/50414] New: gfortran -Ofast SIGSEGV in store_constructor zeccav at gmail dot com
                   ` (5 preceding siblings ...)
  2011-09-18 11:43 ` irar at gcc dot gnu.org
@ 2011-09-18 12:34 ` irar at il dot ibm.com
  2011-09-25  9:59 ` rguenth at gcc dot gnu.org
  2014-11-26 13:17 ` rguenth at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: irar at il dot ibm.com @ 2011-09-18 12:34 UTC (permalink / raw)
  To: gcc-bugs

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

Ira Rosen <irar at il dot ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Ira Rosen <irar at il dot ibm.com> 2011-09-18 11:43:29 UTC ---
Fixed.


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

* [Bug tree-optimization/50414] [4.7 Regression] gfortran -Ofast SIGSEGV in store_constructor
  2011-09-15  8:48 [Bug fortran/50414] New: gfortran -Ofast SIGSEGV in store_constructor zeccav at gmail dot com
                   ` (6 preceding siblings ...)
  2011-09-18 12:34 ` irar at il dot ibm.com
@ 2011-09-25  9:59 ` rguenth at gcc dot gnu.org
  2014-11-26 13:17 ` rguenth at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-09-25  9:59 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0


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

* [Bug tree-optimization/50414] [4.7 Regression] gfortran -Ofast SIGSEGV in store_constructor
  2011-09-15  8:48 [Bug fortran/50414] New: gfortran -Ofast SIGSEGV in store_constructor zeccav at gmail dot com
                   ` (7 preceding siblings ...)
  2011-09-25  9:59 ` rguenth at gcc dot gnu.org
@ 2014-11-26 13:17 ` rguenth at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-26 13:17 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50414
Bug 50414 depends on bug 63379, which changed state.

Bug 63379 Summary: [4.8 Regression] Incorrect vectorization when enabling SSE and O3, initialises loop with wrong value
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63379

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED


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

end of thread, other threads:[~2014-11-26 13:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-15  8:48 [Bug fortran/50414] New: gfortran -Ofast SIGSEGV in store_constructor zeccav at gmail dot com
2011-09-15 10:03 ` [Bug tree-optimization/50414] " Joost.VandeVondele at pci dot uzh.ch
2011-09-15 10:04 ` Joost.VandeVondele at pci dot uzh.ch
2011-09-15 10:33 ` [Bug tree-optimization/50414] [4.7 Regression] " dominiq at lps dot ens.fr
2011-09-15 11:30 ` dominiq at lps dot ens.fr
2011-09-15 13:29 ` irar at il dot ibm.com
2011-09-18 11:43 ` irar at gcc dot gnu.org
2011-09-18 12:34 ` irar at il dot ibm.com
2011-09-25  9:59 ` rguenth at gcc dot gnu.org
2014-11-26 13:17 ` rguenth at gcc dot gnu.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).