public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "vmakarov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/63491] Ice in LRA with simple vector test case on power
Date: Tue, 10 Mar 2015 19:12:00 -0000	[thread overview]
Message-ID: <bug-63491-4-rGbAhy3GgY@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-63491-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #7 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
(In reply to Peter Bergner from comment #6)
> (In reply to Vladimir Makarov from comment #5)
> > Sorry, I can not reproduce the bug on the today trunk.  Probably it was
> > fixed by numerous changes in LRA since Oct.
> 
> This still fails for me today on my big endian system using revision 220792.
> Did you use the exact same compiler options I used?
> 
> 
> [bergner@makalu-lp1 LRA]$ cat pr63491.i 
> typedef __int128_t __attribute__((__vector_size__(16))) vector_128_t;
> typedef unsigned long long scalar_64_t;
> 
> vector_128_t
> foo (void)
> {
>   union {
>     scalar_64_t i64[2];
>     vector_128_t v128;
>   } u;
>   u.i64[0] = 1;
>   u.i64[1] = 2;
>   return u.v128;
> }
> [bergner@makalu-lp1 LRA]$
> /home/bergner/gcc/build/gcc-fsf-mainline-pr63491/gcc/xgcc
> -B/home/bergner/gcc/build/gcc-fsf-mainline-pr63491/gcc -O1 -m64 -mcpu=power8
> -mlra -S pr63491.i 
> pr63491.i: In function ‘foo’:
> pr63491.i:14:1: internal compiler error: in check_and_process_move, at
> lra-constraints.c:1170
>  }
>  ^
> 0x10994a7b check_and_process_move
> 	/home/bergner/gcc/gcc-fsf-mainline-pr63491/gcc/lra-constraints.c:1167
> 0x1099d45b curr_insn_transform
> 	/home/bergner/gcc/gcc-fsf-mainline-pr63491/gcc/lra-constraints.c:3463
> 0x109a1cdb lra_constraints(bool)
> 	/home/bergner/gcc/gcc-fsf-mainline-pr63491/gcc/lra-constraints.c:4451
> 0x1098221b lra(_IO_FILE*)
> 	/home/bergner/gcc/gcc-fsf-mainline-pr63491/gcc/lra.c:2292
> 0x109050d7 do_reload
> 	/home/bergner/gcc/gcc-fsf-mainline-pr63491/gcc/ira.c:5418
> 0x1090576f execute
> 	/home/bergner/gcc/gcc-fsf-mainline-pr63491/gcc/ira.c:5589
> Please submit a full bug report,
> with preprocessed source if appropriate.

I tried again the test on gcc rev. 221324 (Mar 10) with the mentioned options
and I've failed to reproduce the crash.
>From gcc-bugs-return-480015-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 10 19:21:08 2015
Return-Path: <gcc-bugs-return-480015-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6405 invoked by alias); 10 Mar 2015 19:21:07 -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 6335 invoked by uid 55); 10 Mar 2015 19:21:03 -0000
From: "yroux at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/64896] [4.9/5 Regression] ICE in get_address_mode, at rtlanal.c:5442
Date: Tue, 10 Mar 2015 19:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ipa
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: yroux at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-64896-4-NhlFAI8aBd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64896-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64896-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-03/txt/msg01159.txt.bz2
Content-length: 1025

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

--- Comment #11 from Yvan Roux <yroux at gcc dot gnu.org> ---
Author: yroux
Date: Tue Mar 10 19:20:30 2015
New Revision: 221333

URL: https://gcc.gnu.org/viewcvs?rev"1333&root=gcc&view=rev
Log:
gcc/
2015-03-10  Yvan Roux  <yvan.roux@linaro.org>

    Backport from trunk r220489.
    2015-02-06  Jakub Jelinek  <jakub@redhat.com>

    PR ipa/64896
    * cgraphunit.c (cgraph_node::expand_thunk): If
    restype is not is_gimple_reg_type nor the thunk_fndecl
    returns aggregate_value_p, set restmp to a temporary variable
    instead of resdecl.

gcc/testsuite/
2015-03-10  Yvan Roux  <yvan.roux@linaro.org>

    Backport from trunk r220489.
    2015-02-06  Jakub Jelinek  <jakub@redhat.com>

    PR ipa/64896
    * g++.dg/ipa/pr64896.C: New test.


Added:
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/ipa/pr64896.C
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/cgraphunit.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog


  parent reply	other threads:[~2015-03-10 19:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-63491-4@http.gcc.gnu.org/bugzilla/>
2014-10-09 18:06 ` bergner at gcc dot gnu.org
2014-10-09 18:18 ` dje at gcc dot gnu.org
2014-10-10 15:18 ` bergner at gcc dot gnu.org
2015-02-13 16:51 ` vmakarov at gcc dot gnu.org
2015-02-18 21:24 ` bergner at gcc dot gnu.org
2015-03-10 19:12 ` vmakarov at gcc dot gnu.org [this message]
2015-03-10 21:39 ` bergner at gcc dot gnu.org
2015-03-11 22:10 ` bergner at gcc dot gnu.org
2015-03-12 16:02 ` bergner at gcc dot gnu.org
2015-03-16 21:45 ` bergner at gcc dot gnu.org
2015-03-18 17:22 ` vmakarov at gcc dot gnu.org
2015-03-19 22:12 ` vmakarov 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-63491-4-rGbAhy3GgY@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).