public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/60023] New: [4.9 Regression] ICE: verify_gimple failed: dead STMT in EH table with -O3 -fnon-call-exceptions -mavx2
@ 2014-02-01  9:49 zsojka at seznam dot cz
  2014-02-01 15:58 ` [Bug tree-optimization/60023] " hjl.tools at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: zsojka at seznam dot cz @ 2014-02-01  9:49 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60023
           Summary: [4.9 Regression] ICE: verify_gimple failed: dead STMT
                    in EH table with -O3 -fnon-call-exceptions -mavx2
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz

Created attachment 32008
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32008&action=edit
partially reduced testcase

Compiler output:
$ gcc -O3 -fnon-call-exceptions -mavx2 -std=c++0x testcase.C
testcase.C: In function 'void __copy_move_b(_Bit_iterator, _Bit_iterator)':
testcase.C:110:6: error: dead STMT in EH table
 void __copy_move_b (_Bit_iterator __last, _Bit_iterator __result)
      ^
# VUSE <.MEM_81>
_55 = *SR.55_29(D);
testcase.C:110:6: error: dead STMT in EH table
# .MEM_89 = VDEF <.MEM_79>
*SR.53_41(D) = _45;
testcase.C:110:6: error: dead STMT in EH table
# .MEM_90 = VDEF <.MEM_80>
*SR.54_35(D) = _51;
testcase.C:110:6: error: dead STMT in EH table
# .MEM_91 = VDEF <.MEM_81>
*SR.55_29(D) = _57;
testcase.C:110:6: error: dead STMT in EH table
# .MEM_88 = VDEF <.MEM_78>
*SR.52_47(D) = _39;
testcase.C:110:6: error: dead STMT in EH table
# VUSE <.MEM_82>
_61 = *SR.56_23(D);
testcase.C:110:6: error: dead STMT in EH table
# VUSE <.MEM_22>
_25 = *SR.50_1(D);
testcase.C:110:6: error: dead STMT in EH table
# VUSE <.MEM_83>
_67 = *SR.57_105(D);
testcase.C:110:6: error: dead STMT in EH table
# VUSE <.MEM_77>
_31 = *SR.51_8(D);
testcase.C:110:6: error: dead STMT in EH table
# VUSE <.MEM_84>
_73 = *SR.58_106(D);
testcase.C:110:6: error: dead STMT in EH table
# .MEM_92 = VDEF <.MEM_82>
*SR.56_23(D) = _63;
testcase.C:110:6: error: dead STMT in EH table
# .MEM_86 = VDEF <.MEM_22>
*SR.50_1(D) = _27;
testcase.C:110:6: error: dead STMT in EH table
# .MEM_93 = VDEF <.MEM_83>
*SR.57_105(D) = _69;
testcase.C:110:6: error: dead STMT in EH table
# .MEM_87 = VDEF <.MEM_77>
*SR.51_8(D) = _33;
testcase.C:110:6: error: dead STMT in EH table
# .MEM_94 = VDEF <.MEM_84>
*SR.58_106(D) = _75;
testcase.C:110:6: error: dead STMT in EH table
# VUSE <.MEM_78>
_37 = *SR.52_47(D);
testcase.C:110:6: error: dead STMT in EH table
# VUSE <.MEM_79>
_43 = *SR.53_41(D);
testcase.C:110:6: error: dead STMT in EH table
# VUSE <.MEM_80>
_49 = *SR.54_35(D);
testcase.C:110:6: internal compiler error: verify_gimple failed
0xd16113 verify_gimple_in_cfg(function*)
        /mnt/svn/gcc-trunk/gcc/tree-cfg.c:4940
0xbf10b2 execute_function_todo
        /mnt/svn/gcc-trunk/gcc/passes.c:1853
0xbf1a03 execute_todo
        /mnt/svn/gcc-trunk/gcc/passes.c:1887
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.


This source contains uninitialised variables, but the original unreduced
testcase didn't.


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

* [Bug tree-optimization/60023] [4.9 Regression] ICE: verify_gimple failed: dead STMT in EH table with -O3 -fnon-call-exceptions -mavx2
  2014-02-01  9:49 [Bug tree-optimization/60023] New: [4.9 Regression] ICE: verify_gimple failed: dead STMT in EH table with -O3 -fnon-call-exceptions -mavx2 zsojka at seznam dot cz
@ 2014-02-01 15:58 ` hjl.tools at gmail dot com
  2014-02-03  9:43 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2014-02-01 15:58 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-02-01
                 CC|                            |hjl.tools at gmail dot com,
                   |                            |jakub at gcc dot gnu.org,
                   |                            |kirill.yukhin at intel dot com
   Target Milestone|---                         |4.9.0
     Ever confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
It is caused by r205856.


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

* [Bug tree-optimization/60023] [4.9 Regression] ICE: verify_gimple failed: dead STMT in EH table with -O3 -fnon-call-exceptions -mavx2
  2014-02-01  9:49 [Bug tree-optimization/60023] New: [4.9 Regression] ICE: verify_gimple failed: dead STMT in EH table with -O3 -fnon-call-exceptions -mavx2 zsojka at seznam dot cz
  2014-02-01 15:58 ` [Bug tree-optimization/60023] " hjl.tools at gmail dot com
@ 2014-02-03  9:43 ` rguenth at gcc dot gnu.org
  2014-02-03 16:02 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-02-03  9:43 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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

* [Bug tree-optimization/60023] [4.9 Regression] ICE: verify_gimple failed: dead STMT in EH table with -O3 -fnon-call-exceptions -mavx2
  2014-02-01  9:49 [Bug tree-optimization/60023] New: [4.9 Regression] ICE: verify_gimple failed: dead STMT in EH table with -O3 -fnon-call-exceptions -mavx2 zsojka at seznam dot cz
  2014-02-01 15:58 ` [Bug tree-optimization/60023] " hjl.tools at gmail dot com
  2014-02-03  9:43 ` rguenth at gcc dot gnu.org
@ 2014-02-03 16:02 ` jakub at gcc dot gnu.org
  2014-02-04 13:08 ` jakub at gcc dot gnu.org
  2014-02-04 13:09 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-02-03 16:02 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 32029
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32029&action=edit
gcc49-pr60023.patch

Untested fix.


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

* [Bug tree-optimization/60023] [4.9 Regression] ICE: verify_gimple failed: dead STMT in EH table with -O3 -fnon-call-exceptions -mavx2
  2014-02-01  9:49 [Bug tree-optimization/60023] New: [4.9 Regression] ICE: verify_gimple failed: dead STMT in EH table with -O3 -fnon-call-exceptions -mavx2 zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2014-02-03 16:02 ` jakub at gcc dot gnu.org
@ 2014-02-04 13:08 ` jakub at gcc dot gnu.org
  2014-02-04 13:09 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-02-04 13:08 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Feb  4 13:08:00 2014
New Revision: 207464

URL: http://gcc.gnu.org/viewcvs?rev=207464&root=gcc&view=rev
Log:
    PR tree-optimization/60023
    * tree-if-conv.c (predicate_mem_writes): Pass true instead of
    false to gsi_replace.
    * tree-vect-stmts.c (vect_finish_stmt_generation): If stmt
    has been in some EH region and vec_stmt could throw, add
    vec_stmt into the same EH region.
    * tree-data-ref.c (get_references_in_stmt): If IFN_MASK_LOAD
    has no lhs, ignore it.
    * internal-fn.c (expand_MASK_LOAD): Likewise.

    * g++.dg/vect/pr60023.cc: New test.

Added:
    trunk/gcc/testsuite/g++.dg/vect/pr60023.cc
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/internal-fn.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-data-ref.c
    trunk/gcc/tree-if-conv.c
    trunk/gcc/tree-vect-stmts.c


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

* [Bug tree-optimization/60023] [4.9 Regression] ICE: verify_gimple failed: dead STMT in EH table with -O3 -fnon-call-exceptions -mavx2
  2014-02-01  9:49 [Bug tree-optimization/60023] New: [4.9 Regression] ICE: verify_gimple failed: dead STMT in EH table with -O3 -fnon-call-exceptions -mavx2 zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2014-02-04 13:08 ` jakub at gcc dot gnu.org
@ 2014-02-04 13:09 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-02-04 13:09 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.


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

end of thread, other threads:[~2014-02-04 13:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-01  9:49 [Bug tree-optimization/60023] New: [4.9 Regression] ICE: verify_gimple failed: dead STMT in EH table with -O3 -fnon-call-exceptions -mavx2 zsojka at seznam dot cz
2014-02-01 15:58 ` [Bug tree-optimization/60023] " hjl.tools at gmail dot com
2014-02-03  9:43 ` rguenth at gcc dot gnu.org
2014-02-03 16:02 ` jakub at gcc dot gnu.org
2014-02-04 13:08 ` jakub at gcc dot gnu.org
2014-02-04 13:09 ` jakub 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).