public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/63915] New: gomp/pr60823-2.c:31:1: error: dead STMT in EH table
@ 2014-11-17 13:49 aivchenk at gmail dot com
  2014-11-17 14:00 ` [Bug tree-optimization/63915] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: aivchenk at gmail dot com @ 2014-11-17 13:49 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63915

            Bug ID: 63915
           Summary: gomp/pr60823-2.c:31:1: error: dead STMT in EH table
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: aivchenk at gmail dot com

>g++ gcc/testsuite/c-c++-common/gomp/pr60823-2.c -O1 -fopenmp-simd -fPIC -m32

gcc/testsuite/c-c++-common/gomp/pr60823-2.c: In function ‘int main()’:
gcc/testsuite/c-c++-common/gomp/pr60823-2.c:31:1: error: dead STMT in EH table
 main ()
 ^
# .MEM_15 = VDEF <.MEM_42>
_16 = foo (_14, _13);
gcc/testsuite/c-c++-common/gomp/pr60823-2.c:31:1: internal compiler error:
verify_gimple failed
0xcf687d verify_gimple_in_cfg(function*, bool)
        /export/users/aivchenk/src/gcc_mainline/gcc/tree-cfg.c:5027
0xbfd25f execute_function_todo
        /export/users/aivchenk/src/gcc_mainline/gcc/passes.c:1868
0xbfdbc3 execute_todo
        /export/users/aivchenk/src/gcc_mainline/gcc/passes.c:1925
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.
>From gcc-bugs-return-467038-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Nov 17 13:50:24 2014
Return-Path: <gcc-bugs-return-467038-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2050 invoked by alias); 17 Nov 2014 13:50:23 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 1970 invoked by uid 48); 17 Nov 2014 13:50:20 -0000
From: "iverbin at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/63868] [5 Regression] Multiple failures in the libgomp test suite between r217458 and r217501.
Date: Mon, 17 Nov 2014 13:50:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libgomp
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: iverbin at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-63868-4-eZsaI9TFed@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63868-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63868-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-11/txt/msg01510.txt.bz2
Content-length: 439

https://gcc.gnu.org/bugzilla/show_bug.cgi?idc868

--- Comment #4 from Ilya Verbin <iverbin at gmail dot com> ---
It seems that support of offload sections in Mach-O will require substantial
changes to gcc/config/darwin.c, like it was done for LTO.

I'm going to disable the generation of any offload sections when a compiler is
configured without --enable-offload-targets, i.e. when ENABLE_OFFLOADING is not
defined. Is this change ok?


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

* [Bug tree-optimization/63915] gomp/pr60823-2.c:31:1: error: dead STMT in EH table
  2014-11-17 13:49 [Bug tree-optimization/63915] New: gomp/pr60823-2.c:31:1: error: dead STMT in EH table aivchenk at gmail dot com
@ 2014-11-17 14:00 ` rguenth at gcc dot gnu.org
  2014-11-18 16:11 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-17 14:00 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63915

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-11-17
                 CC|                            |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  Looks like the vectorizer fails to remove EH side-effects or we
fail
to mark the OMP simd functions as nothrow.  Jakub?


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

* [Bug tree-optimization/63915] gomp/pr60823-2.c:31:1: error: dead STMT in EH table
  2014-11-17 13:49 [Bug tree-optimization/63915] New: gomp/pr60823-2.c:31:1: error: dead STMT in EH table aivchenk at gmail dot com
  2014-11-17 14:00 ` [Bug tree-optimization/63915] " rguenth at gcc dot gnu.org
@ 2014-11-18 16:11 ` jakub at gcc dot gnu.org
  2014-11-19  9:51 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-11-18 16:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63915

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 34027
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34027&action=edit
gcc5-pr63915.patch

Untested fix.


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

* [Bug tree-optimization/63915] gomp/pr60823-2.c:31:1: error: dead STMT in EH table
  2014-11-17 13:49 [Bug tree-optimization/63915] New: gomp/pr60823-2.c:31:1: error: dead STMT in EH table aivchenk at gmail dot com
  2014-11-17 14:00 ` [Bug tree-optimization/63915] " rguenth at gcc dot gnu.org
  2014-11-18 16:11 ` jakub at gcc dot gnu.org
@ 2014-11-19  9:51 ` jakub at gcc dot gnu.org
  2014-11-28 13:36 ` jakub at gcc dot gnu.org
  2014-11-28 17:11 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-11-19  9:51 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63915

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Nov 19 09:50:58 2014
New Revision: 217759

URL: https://gcc.gnu.org/viewcvs?rev=217759&root=gcc&view=rev
Log:
    PR tree-optimization/63915
    * tree-vect-stmts.c (vectorizable_simd_clone_call): Pass
    true instead of false as last argument to gsi_replace.

    * c-c++-common/gomp/pr60823-4.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/gomp/pr60823-4.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-stmts.c


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

* [Bug tree-optimization/63915] gomp/pr60823-2.c:31:1: error: dead STMT in EH table
  2014-11-17 13:49 [Bug tree-optimization/63915] New: gomp/pr60823-2.c:31:1: error: dead STMT in EH table aivchenk at gmail dot com
                   ` (2 preceding siblings ...)
  2014-11-19  9:51 ` jakub at gcc dot gnu.org
@ 2014-11-28 13:36 ` jakub at gcc dot gnu.org
  2014-11-28 17:11 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-11-28 13:36 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63915

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Nov 28 13:35:28 2014
New Revision: 218152

URL: https://gcc.gnu.org/viewcvs?rev=218152&root=gcc&view=rev
Log:
    Backported from mainline
    2014-11-19  Jakub Jelinek  <jakub@redhat.com>

    PR tree-optimization/63915
    * tree-vect-stmts.c (vectorizable_simd_clone_call): Pass
    true instead of false as last argument to gsi_replace.

    * c-c++-common/gomp/pr60823-4.c: New test.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/c-c++-common/gomp/pr60823-4.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_9-branch/gcc/tree-vect-stmts.c


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

* [Bug tree-optimization/63915] gomp/pr60823-2.c:31:1: error: dead STMT in EH table
  2014-11-17 13:49 [Bug tree-optimization/63915] New: gomp/pr60823-2.c:31:1: error: dead STMT in EH table aivchenk at gmail dot com
                   ` (3 preceding siblings ...)
  2014-11-28 13:36 ` jakub at gcc dot gnu.org
@ 2014-11-28 17:11 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-11-28 17:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63915

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

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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed for 4.9.3+.


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

end of thread, other threads:[~2014-11-28 17:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-17 13:49 [Bug tree-optimization/63915] New: gomp/pr60823-2.c:31:1: error: dead STMT in EH table aivchenk at gmail dot com
2014-11-17 14:00 ` [Bug tree-optimization/63915] " rguenth at gcc dot gnu.org
2014-11-18 16:11 ` jakub at gcc dot gnu.org
2014-11-19  9:51 ` jakub at gcc dot gnu.org
2014-11-28 13:36 ` jakub at gcc dot gnu.org
2014-11-28 17:11 ` 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).