public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "u17263 at att dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgomp/64734] New: ICE at omp lowering
Date: Thu, 22 Jan 2015 17:59:00 -0000	[thread overview]
Message-ID: <bug-64734-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 64734
           Summary: ICE at omp lowering
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
          Assignee: unassigned at gcc dot gnu.org
          Reporter: u17263 at att dot net
                CC: jakub at gcc dot gnu.org

Created attachment 34533
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34533&action=edit
test case

gcc version: 5.0.0 / svn : r220005

gcc -Wall -fopenmp -o bug-5 bug-5.c
bug-5.c: In function ‘main’:
bug-5.c:5:10: warning: unused variable ‘tid’ [-Wunused-variable]
   int x, tid[32];
          ^
bug-5.c:5:7: warning: unused variable ‘x’ [-Wunused-variable]
   int x, tid[32];
       ^
bug-5.c:7:9: internal compiler error: Segmentation fault
 #pragma omp target data map (to:tid[0:32]) map (to:x)
         ^
0xac672f crash_signal
        /home/mentor/gomp/trunk/gcc/toplev.c:381
0x9b676b build_sender_ref
        /home/mentor/gomp/trunk/gcc/omp-low.c:1220
0x9e533c lower_omp_target
        /home/mentor/gomp/trunk/gcc/omp-low.c:11406
0x9dc271 lower_omp_1
        /home/mentor/gomp/trunk/gcc/omp-low.c:11765
0x9dc271 lower_omp
        /home/mentor/gomp/trunk/gcc/omp-low.c:11853
0x9dc0dd lower_omp_1
        /home/mentor/gomp/trunk/gcc/omp-low.c:11697
0x9dc0dd lower_omp
        /home/mentor/gomp/trunk/gcc/omp-low.c:11853
0x9dcdcd lower_omp_1
        /home/mentor/gomp/trunk/gcc/omp-low.c:11706
0x9dcdcd lower_omp
        /home/mentor/gomp/trunk/gcc/omp-low.c:11853
0x9dcdcd lower_omp_1
        /home/mentor/gomp/trunk/gcc/omp-low.c:11706
0x9dcdcd lower_omp
        /home/mentor/gomp/trunk/gcc/omp-low.c:11853
0x9ded9c execute_lower_omp
        /home/mentor/gomp/trunk/gcc/omp-low.c:11891
0x9ded9c execute
        /home/mentor/gomp/trunk/gcc/omp-low.c:11928
>From gcc-bugs-return-474432-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 22 18:00:46 2015
Return-Path: <gcc-bugs-return-474432-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12842 invoked by alias); 22 Jan 2015 18:00:42 -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 12606 invoked by uid 55); 22 Jan 2015 18:00:19 -0000
From: "wmi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/64557] get_addr in true_dependence_1 cannot handle VALUE inside an expr
Date: Thu, 22 Jan 2015 18:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 4.9.3
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: wmi at gcc dot gnu.org
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-64557-4-fiUiwj1oNx@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64557-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64557-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: 2015-01/txt/msg02426.txt.bz2
Content-length: 459

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

--- Comment #3 from wmi at gcc dot gnu.org ---
Author: wmi
Date: Thu Jan 22 17:59:23 2015
New Revision: 220010

URL: https://gcc.gnu.org/viewcvs?rev"0010&root=gcc&view=rev
Log:
2015-01-22  Wei Mi  <wmi@google.com>

        PR rtl-optimization/64557
        * dse.c (record_store): Call get_addr for mem_addr.
        (check_mem_read_rtx): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dse.c


             reply	other threads:[~2015-01-22 17:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-22 17:59 u17263 at att dot net [this message]
2015-01-23 12:50 ` [Bug middle-end/64734] [4.9/5 Regression] " jakub at gcc dot gnu.org
2015-01-23 14:15 ` jakub at gcc dot gnu.org
2015-01-23 18:21 ` jakub at gcc dot gnu.org
2015-01-23 18:32 ` jakub at gcc dot gnu.org
2015-01-23 20:02 ` jakub at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-64734-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).