public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/67891] New: [6 Regression] FAIL: gcc.dg/pr43300.c (internal compiler error) on alpha-linux-gnu
@ 2015-10-08  7:58 ubizjak at gmail dot com
  2015-10-08  9:08 ` [Bug middle-end/67891] " rguenth at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: ubizjak at gmail dot com @ 2015-10-08  7:58 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 67891
           Summary: [6 Regression] FAIL: gcc.dg/pr43300.c (internal
                    compiler error) on alpha-linux-gnu
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ubizjak at gmail dot com
                CC: aoliva at gcc dot gnu.org
  Target Milestone: ---

r228175 introduced following testcase failure on alpha-linux-gnu:

FAIL: gcc.dg/pr43300.c (internal compiler error)
FAIL: gcc.dg/pr43300.c (test for excess errors)

The failure can be triggered with a crosscompiler from x86_64-linux-gnu to
alpha-linux-gnu:

~/gcc-build-alpha/gcc/cc1 -Os -quiet pr43300.c
pr43300.c: In function ‘foo’:
pr43300.c:8:1: internal compiler error: in adjust_one_expanded_partition_var,
at cfgexpand.c:1401
 foo (int x, V2SF a)
 ^
0x7b18e3 adjust_one_expanded_partition_var
        ../../gcc-svn/trunk/gcc/cfgexpand.c:1401
0x7c2a19 execute
        ../../gcc-svn/trunk/gcc/cfgexpand.c:6217
Please submit a full bug report,
>From gcc-bugs-return-499007-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 08 08:00:03 2015
Return-Path: <gcc-bugs-return-499007-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 109421 invoked by alias); 8 Oct 2015 08:00:02 -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 109073 invoked by uid 48); 8 Oct 2015 07:59:59 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/67766] [6 Regression]: Bootstrap failure on alpha-linux-gnu: ICE in simplify_subreg, at simplify-rtx.c
Date: Thu, 08 Oct 2015 08:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-67766-4-wffofsDEcv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67766-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67766-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-10/txt/msg00562.txt.bz2
Content-length: 443

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

--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Uroš Bizjak from comment #4)

> Bootstrap and regression test went OK [1].  There is however one new
> testsuite failure that looks related to your original patch from 2015-09-27:
> 
> FAIL: gcc.dg/pr43300.c (internal compiler error)
> FAIL: gcc.dg/pr43300.c (test for excess errors)

---> PR 67891
>From gcc-bugs-return-499008-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 08 08:05:20 2015
Return-Path: <gcc-bugs-return-499008-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 119073 invoked by alias); 8 Oct 2015 08:05:20 -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 119010 invoked by uid 48); 8 Oct 2015 08:05:16 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/67124] [6 Regression] wrong code at -O1, -O2 and -O3 on x86_64-linux-gnu
Date: Thu, 08 Oct 2015 08:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords: ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: component
Message-ID: <bug-67124-4-OzlzzQp3Dh@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67124-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67124-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-10/txt/msg00563.txt.bz2
Content-length: 433

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|rtl-optimization            |target

--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think a fix is required for *movdi_internal.  Back to target bug.


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

* [Bug middle-end/67891] [6 Regression] FAIL: gcc.dg/pr43300.c (internal compiler error) on alpha-linux-gnu
  2015-10-08  7:58 [Bug middle-end/67891] New: [6 Regression] FAIL: gcc.dg/pr43300.c (internal compiler error) on alpha-linux-gnu ubizjak at gmail dot com
@ 2015-10-08  9:08 ` rguenth at gcc dot gnu.org
  2015-10-09  5:37 ` aoliva at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-10-08  9:08 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |6.0


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

* [Bug middle-end/67891] [6 Regression] FAIL: gcc.dg/pr43300.c (internal compiler error) on alpha-linux-gnu
  2015-10-08  7:58 [Bug middle-end/67891] New: [6 Regression] FAIL: gcc.dg/pr43300.c (internal compiler error) on alpha-linux-gnu ubizjak at gmail dot com
  2015-10-08  9:08 ` [Bug middle-end/67891] " rguenth at gcc dot gnu.org
@ 2015-10-09  5:37 ` aoliva at gcc dot gnu.org
  2015-10-09  6:18 ` aoliva at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: aoliva at gcc dot gnu.org @ 2015-10-09  5:37 UTC (permalink / raw)
  To: gcc-bugs

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

Alexandre Oliva <aoliva at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2015-10-09
           Assignee|unassigned at gcc dot gnu.org      |aoliva at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
Mine.  Looking into it.


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

* [Bug middle-end/67891] [6 Regression] FAIL: gcc.dg/pr43300.c (internal compiler error) on alpha-linux-gnu
  2015-10-08  7:58 [Bug middle-end/67891] New: [6 Regression] FAIL: gcc.dg/pr43300.c (internal compiler error) on alpha-linux-gnu ubizjak at gmail dot com
  2015-10-08  9:08 ` [Bug middle-end/67891] " rguenth at gcc dot gnu.org
  2015-10-09  5:37 ` aoliva at gcc dot gnu.org
@ 2015-10-09  6:18 ` aoliva at gcc dot gnu.org
  2015-10-09  8:12 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: aoliva at gcc dot gnu.org @ 2015-10-09  6:18 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
Created attachment 36469
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36469&action=edit
Patch that works around the problem

Ugh.  assign_parms's use of emit_block_move (as for parameter a in this
testcase) marks decls as addressable that weren't before, so they no longer
pass is_gimple_reg in spite of having SSA defs.  This is turn causes
set_parm_rtl to pass the parm down to set_rtl, instead of the default def, so
the RTL isn't associated with the partition holding the default def.  Oops.

Fortunately, ssa_default_def doesn't seem to mind being called for addressable
decls, so we can just skip the is_gimple_reg test.  I'm testing further to see
that this is indeed the case.


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

* [Bug middle-end/67891] [6 Regression] FAIL: gcc.dg/pr43300.c (internal compiler error) on alpha-linux-gnu
  2015-10-08  7:58 [Bug middle-end/67891] New: [6 Regression] FAIL: gcc.dg/pr43300.c (internal compiler error) on alpha-linux-gnu ubizjak at gmail dot com
                   ` (2 preceding siblings ...)
  2015-10-09  6:18 ` aoliva at gcc dot gnu.org
@ 2015-10-09  8:12 ` rguenth at gcc dot gnu.org
  2015-10-09 12:19 ` aoliva at gcc dot gnu.org
  2015-10-09 12:22 ` aoliva at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-10-09  8:12 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Oct  9 08:12:18 2015
New Revision: 228635

URL: https://gcc.gnu.org/viewcvs?rev=228635&root=gcc&view=rev
Log:
2015-10-09  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/67891
        * gimple-match.h (gimple_simplified_result_is_gimple_val):
        New helper.
        (gimple_resimplify1): Declare.
        (gimple_resimplify2): Likewise.
        (gimple_resimplify3): Likewise.
        * gimple-match-head.c (gimple_resimplify1): Export.
        (gimple_resimplify2): Likewise.
        (gimple_resimplify3): Likewise.
        (maybe_push_res_to_seq): Use gimple_simplified_result_is_gimple_val.
        * gimple-fold.c (gimple_fold_stmt_to_constant_1): Likewise.
        * tree-ssa-sccvn.c (visit_reference_op_load): Use gimple_resimplify1
        to avoid creating stmts without VN info.

        * gcc.dg/tree-ssa/pr67891.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr67891.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-fold.c
    trunk/gcc/gimple-match-head.c
    trunk/gcc/gimple-match.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-sccvn.c


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

* [Bug middle-end/67891] [6 Regression] FAIL: gcc.dg/pr43300.c (internal compiler error) on alpha-linux-gnu
  2015-10-08  7:58 [Bug middle-end/67891] New: [6 Regression] FAIL: gcc.dg/pr43300.c (internal compiler error) on alpha-linux-gnu ubizjak at gmail dot com
                   ` (3 preceding siblings ...)
  2015-10-09  8:12 ` rguenth at gcc dot gnu.org
@ 2015-10-09 12:19 ` aoliva at gcc dot gnu.org
  2015-10-09 12:22 ` aoliva at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: aoliva at gcc dot gnu.org @ 2015-10-09 12:19 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
Author: aoliva
Date: Fri Oct  9 12:18:58 2015
New Revision: 228652

URL: https://gcc.gnu.org/viewcvs?rev=228652&root=gcc&view=rev
Log:
[PR67891] don't test is_gimple_reg after parm expansion

for  gcc/ChangeLog

        PR middle-end/67891
        * cfgexpand.c (set_parm_rtl): Drop is_gimple_reg test.

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


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

* [Bug middle-end/67891] [6 Regression] FAIL: gcc.dg/pr43300.c (internal compiler error) on alpha-linux-gnu
  2015-10-08  7:58 [Bug middle-end/67891] New: [6 Regression] FAIL: gcc.dg/pr43300.c (internal compiler error) on alpha-linux-gnu ubizjak at gmail dot com
                   ` (4 preceding siblings ...)
  2015-10-09 12:19 ` aoliva at gcc dot gnu.org
@ 2015-10-09 12:22 ` aoliva at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: aoliva at gcc dot gnu.org @ 2015-10-09 12:22 UTC (permalink / raw)
  To: gcc-bugs

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

Alexandre Oliva <aoliva at gcc dot gnu.org> changed:

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

--- Comment #5 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
Fixed.  Richi's patch was for PR 67889.


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

end of thread, other threads:[~2015-10-09 12:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-08  7:58 [Bug middle-end/67891] New: [6 Regression] FAIL: gcc.dg/pr43300.c (internal compiler error) on alpha-linux-gnu ubizjak at gmail dot com
2015-10-08  9:08 ` [Bug middle-end/67891] " rguenth at gcc dot gnu.org
2015-10-09  5:37 ` aoliva at gcc dot gnu.org
2015-10-09  6:18 ` aoliva at gcc dot gnu.org
2015-10-09  8:12 ` rguenth at gcc dot gnu.org
2015-10-09 12:19 ` aoliva at gcc dot gnu.org
2015-10-09 12:22 ` aoliva 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).