public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgomp/64734] New: ICE at omp lowering
@ 2015-01-22 17:59 u17263 at att dot net
  2015-01-23 12:50 ` [Bug middle-end/64734] [4.9/5 Regression] " jakub at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: u17263 at att dot net @ 2015-01-22 17:59 UTC (permalink / raw)
  To: gcc-bugs

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


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

* [Bug middle-end/64734] [4.9/5 Regression] ICE at omp lowering
  2015-01-22 17:59 [Bug libgomp/64734] New: ICE at omp lowering u17263 at att dot net
@ 2015-01-23 12:50 ` jakub at gcc dot gnu.org
  2015-01-23 14:15 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-01-23 12:50 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-01-22
                 CC|                            |mpolacek at gcc dot gnu.org
   Target Milestone|---                         |4.9.3
            Summary|ICE at omp lowering         |[4.9/5 Regression] ICE at
                   |                            |omp lowering
     Ever confirmed|0                           |1

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |openmp
             Status|NEW                         |ASSIGNED
          Component|libgomp                     |middle-end

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.


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

* [Bug middle-end/64734] [4.9/5 Regression] ICE at omp lowering
  2015-01-22 17:59 [Bug libgomp/64734] New: ICE at omp lowering u17263 at att dot net
  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
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-01-23 14:15 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           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 34554
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34554&action=edit
gcc5-pr64734.patch

Untested fix.


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

* [Bug middle-end/64734] [4.9/5 Regression] ICE at omp lowering
  2015-01-22 17:59 [Bug libgomp/64734] New: ICE at omp lowering u17263 at att dot net
  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
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-01-23 18:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Jan 23 18:19:50 2015
New Revision: 220053

URL: https://gcc.gnu.org/viewcvs?rev=220053&root=gcc&view=rev
Log:
    PR middle-end/64734
    * omp-low.c (scan_sharing_clauses): Don't ignore
    OMP_CLAUSE_MAP_ZERO_BIAS_ARRAY_SECTION GOMP_MAP_POINTER clauses
    on target data/update constructs.

    * libgomp.c/pr64734.c: New test.

Added:
    trunk/libgomp/testsuite/libgomp.c/pr64734.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/omp-low.c
    trunk/libgomp/ChangeLog


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

* [Bug middle-end/64734] [4.9/5 Regression] ICE at omp lowering
  2015-01-22 17:59 [Bug libgomp/64734] New: ICE at omp lowering u17263 at att dot net
                   ` (2 preceding siblings ...)
  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
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-01-23 18:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Jan 23 18:30:51 2015
New Revision: 220054

URL: https://gcc.gnu.org/viewcvs?rev=220054&root=gcc&view=rev
Log:
    PR middle-end/64734
    * omp-low.c (scan_sharing_clauses): Don't ignore
    OMP_CLAUSE_MAP_ZERO_BIAS_ARRAY_SECTION GOMP_MAP_POINTER clauses
    on target data/update constructs.

    * libgomp.c/pr64734.c: New test.

Added:
    branches/gcc-4_9-branch/libgomp/testsuite/libgomp.c/pr64734.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/omp-low.c
    branches/gcc-4_9-branch/libgomp/ChangeLog


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

* [Bug middle-end/64734] [4.9/5 Regression] ICE at omp lowering
  2015-01-22 17:59 [Bug libgomp/64734] New: ICE at omp lowering u17263 at att dot net
                   ` (3 preceding siblings ...)
  2015-01-23 18:32 ` jakub at gcc dot gnu.org
@ 2015-01-23 20:02 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-01-23 20:02 UTC (permalink / raw)
  To: gcc-bugs

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

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.


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

end of thread, other threads:[~2015-01-23 20:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-22 17:59 [Bug libgomp/64734] New: ICE at omp lowering u17263 at att dot net
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

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).