public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/60079] New: [LRA] ICE when compiling attached case.
@ 2014-02-05 14:58 belagod at gcc dot gnu.org
  2014-02-05 14:59 ` [Bug rtl-optimization/60079] " belagod at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: belagod at gcc dot gnu.org @ 2014-02-05 14:58 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60079

            Bug ID: 60079
           Summary: [LRA] ICE when compiling attached case.
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: belagod at gcc dot gnu.org

When the attached case is compiled with -O2 for AArch64, LRA ICEs thus:

$ ../install/bin/aarch64-none-elf-gcc -O2 besttry.c -c
besttry.c: In function 'ripemd160_block_data_order':
besttry.c:936:1: internal compiler error: in update_reg_eliminate, at
lra-eliminations.c:1157
 }
 ^
0x899638 update_reg_eliminate
        /work/aarch64/src/svn-trunk//gcc/gcc/lra-eliminations.c:1157
0x89ad3c lra_eliminate(bool, bool)
        /work/aarch64/src/svn-trunk//gcc/gcc/lra-eliminations.c:1387
0x897436 lra_constraints(bool)
        /work/aarch64/src/svn-trunk//gcc/gcc/lra-constraints.c:3974
0x8863bc lra(_IO_FILE*)
        /work/aarch64/src/svn-trunk//gcc/gcc/lra.c:2339
0x849f96 do_reload
        /work/aarch64/src/svn-trunk//gcc/gcc/ira.c:5457
0x84ac38 rest_of_handle_reload
        /work/aarch64/src/svn-trunk//gcc/gcc/ira.c:5598
0x84ac38 execute
        /work/aarch64/src/svn-trunk//gcc/gcc/ira.c:5627
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.


My configure:

.../gcc/configure --target=aarch64-none-elf --prefix=.../install
--with-gmp=.../host-tools --with-mpfr=.../host-tools --with-mpc=.../host-tools
--with-pkgversion=unknown --disable-shared --disable-nls --disable-threads
--disable-tls --enable-checking=yes --enable-languages=c,c++ --with-newlib

Sorry, I couldn't reduce the test case any further - commenting any line in
besttry.c makes the ICE go away.


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

* [Bug rtl-optimization/60079] [LRA] ICE when compiling attached case.
  2014-02-05 14:58 [Bug rtl-optimization/60079] New: [LRA] ICE when compiling attached case belagod at gcc dot gnu.org
@ 2014-02-05 14:59 ` belagod at gcc dot gnu.org
  2014-02-06 16:26 ` vmakarov at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: belagod at gcc dot gnu.org @ 2014-02-05 14:59 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60079

--- Comment #1 from Tejas Belagod <belagod at gcc dot gnu.org> ---
Created attachment 32053
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32053&action=edit
Reduced test case for LRA ICE.


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

* [Bug rtl-optimization/60079] [LRA] ICE when compiling attached case.
  2014-02-05 14:58 [Bug rtl-optimization/60079] New: [LRA] ICE when compiling attached case belagod at gcc dot gnu.org
  2014-02-05 14:59 ` [Bug rtl-optimization/60079] " belagod at gcc dot gnu.org
@ 2014-02-06 16:26 ` vmakarov at gcc dot gnu.org
  2014-07-02 13:22 ` ktkachov at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2014-02-06 16:26 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60079

Vladimir Makarov <vmakarov at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vmakarov at gcc dot gnu.org

--- Comment #2 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
(In reply to Tejas Belagod from comment #1)
> Created attachment 32053 [details]
> Reduced test case for LRA ICE.

Sorry, I can not reproduce it on the today trunk (I tried -O[0-3] including
-O2).


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

* [Bug rtl-optimization/60079] [LRA] ICE when compiling attached case.
  2014-02-05 14:58 [Bug rtl-optimization/60079] New: [LRA] ICE when compiling attached case belagod at gcc dot gnu.org
  2014-02-05 14:59 ` [Bug rtl-optimization/60079] " belagod at gcc dot gnu.org
  2014-02-06 16:26 ` vmakarov at gcc dot gnu.org
@ 2014-07-02 13:22 ` ktkachov at gcc dot gnu.org
  2014-07-02 14:56 ` belagod at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-07-02 13:22 UTC (permalink / raw)
  To: gcc-bugs

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

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2014-07-02
                 CC|                            |ktkachov at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #3 from ktkachov at gcc dot gnu.org ---
I can't reproduce this with current trunk either.
Tejas, do you think this can be closed?


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

* [Bug rtl-optimization/60079] [LRA] ICE when compiling attached case.
  2014-02-05 14:58 [Bug rtl-optimization/60079] New: [LRA] ICE when compiling attached case belagod at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2014-07-02 13:22 ` ktkachov at gcc dot gnu.org
@ 2014-07-02 14:56 ` belagod at gcc dot gnu.org
  2014-11-14 21:46 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: belagod at gcc dot gnu.org @ 2014-07-02 14:56 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Tejas Belagod <belagod at gcc dot gnu.org> ---
(In reply to ktkachov from comment #3)
> I can't reproduce this with current trunk either.
> Tejas, do you think this can be closed?

I remember the ICE was quite sensitive to any small change to the test case. If
you can't reproduce this, fair enough, it might have been fixed or gone latent.
I hope it's been fixed. :-)


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

* [Bug rtl-optimization/60079] [LRA] ICE when compiling attached case.
  2014-02-05 14:58 [Bug rtl-optimization/60079] New: [LRA] ICE when compiling attached case belagod at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2014-07-02 14:56 ` belagod at gcc dot gnu.org
@ 2014-11-14 21:46 ` pinskia at gcc dot gnu.org
  2014-11-14 22:55 ` pinskia at gcc dot gnu.org
  2014-11-15  0:19 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-11-14 21:46 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
/data1/src/gcc-cavium/toolchain-thunder/scripts/../src/newlib/libc/stdlib/strtol.c:
In function ‘_strtol_r’:
/data1/src/gcc-cavium/toolchain-thunder/scripts/../src/newlib/libc/stdlib/strtol.c:213:1:
internal compiler error: in update_reg_eliminate, at lra-eliminations.c:1202
 }
 ^
>From gcc-bugs-return-466804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 14 21:47:56 2014
Return-Path: <gcc-bugs-return-466804-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28162 invoked by alias); 14 Nov 2014 21:47:56 -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 28113 invoked by uid 48); 14 Nov 2014 21:47:53 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/60079] [LRA] ICE when compiling attached case.
Date: Fri, 14 Nov 2014 21:47: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.0
X-Bugzilla-Keywords: ra
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia at gcc dot gnu.org
X-Bugzilla-Status: NEW
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-60079-4-Mbko3fL5M7@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60079-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60079-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/msg01276.txt.bz2
Content-length: 162

https://gcc.gnu.org/bugzilla/show_bug.cgi?id`079

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note my testcase is with -mabi=ilp32 too.


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

* [Bug rtl-optimization/60079] [LRA] ICE when compiling attached case.
  2014-02-05 14:58 [Bug rtl-optimization/60079] New: [LRA] ICE when compiling attached case belagod at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2014-11-14 21:46 ` pinskia at gcc dot gnu.org
@ 2014-11-14 22:55 ` pinskia at gcc dot gnu.org
  2014-11-15  0:19 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-11-14 22:55 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I can't get a testcase that fails with the non-modified trunk.


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

* [Bug rtl-optimization/60079] [LRA] ICE when compiling attached case.
  2014-02-05 14:58 [Bug rtl-optimization/60079] New: [LRA] ICE when compiling attached case belagod at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2014-11-14 22:55 ` pinskia at gcc dot gnu.org
@ 2014-11-15  0:19 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-11-15  0:19 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #9)
> I can't get a testcase that fails with the non-modified trunk.

My problem was just introduced.

The original problem should have been resolved with:
https://gcc.gnu.org/ml/gcc-patches/2013-12/msg00151.html

so still waiting.


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

end of thread, other threads:[~2014-11-15  0:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-05 14:58 [Bug rtl-optimization/60079] New: [LRA] ICE when compiling attached case belagod at gcc dot gnu.org
2014-02-05 14:59 ` [Bug rtl-optimization/60079] " belagod at gcc dot gnu.org
2014-02-06 16:26 ` vmakarov at gcc dot gnu.org
2014-07-02 13:22 ` ktkachov at gcc dot gnu.org
2014-07-02 14:56 ` belagod at gcc dot gnu.org
2014-11-14 21:46 ` pinskia at gcc dot gnu.org
2014-11-14 22:55 ` pinskia at gcc dot gnu.org
2014-11-15  0:19 ` pinskia 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).