public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/57097] New: [4.8/4.9 Regression] ICE: in find_hard_regno_for, at lra-assigns.c:561 with -O2 -fPIC -m32
@ 2013-04-28 6:35 zsojka at seznam dot cz
2013-04-29 12:24 ` [Bug target/57097] " mpolacek at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: zsojka at seznam dot cz @ 2013-04-28 6:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57097
Bug #: 57097
Summary: [4.8/4.9 Regression] ICE: in find_hard_regno_for, at
lra-assigns.c:561 with -O2 -fPIC -m32
Classification: Unclassified
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
Created attachment 29956
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29956
reduced testcase
Compiler output:
$ gcc -O2 -fPIC -m32 testcase.c
testcase.c: In function 'main':
testcase.c:27:1: internal compiler error: in find_hard_regno_for, at
lra-assigns.c:561
}
^
0x8eeb4f find_hard_regno_for
/mnt/svn/gcc-trunk/gcc/lra-assigns.c:561
0x8ef0b1 assign_by_spills
/mnt/svn/gcc-trunk/gcc/lra-assigns.c:1198
0x8f1693 lra_assign()
/mnt/svn/gcc-trunk/gcc/lra-assigns.c:1427
0x8ece6c lra(_IO_FILE*)
/mnt/svn/gcc-trunk/gcc/lra.c:2308
0x8a0268 do_reload
/mnt/svn/gcc-trunk/gcc/ira.c:4619
0x8a0268 rest_of_handle_reload
/mnt/svn/gcc-trunk/gcc/ira.c:4731
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.
$ gcc -v
Using built-in specs.
COLLECT_GCC=/mnt/svn/gcc-trunk/binary-latest/bin/gcc
COLLECT_LTO_WRAPPER=/mnt/svn/gcc-trunk/binary-198362-lto-fortran-checking-yes-rtl-df/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /mnt/svn/gcc-trunk//configure --enable-checking=yes,rtl,df
--enable-languages=c,c++,lto,fortran
--prefix=/mnt/svn/gcc-trunk/binary-198362-lto-fortran-checking-yes-rtl-df/
--without-cloog --without-ppl
Thread model: posix
gcc version 4.9.0 20130427 (experimental) (GCC)
Tested revisions:
r198362 - crash
4.8 r198018 - crash
4.7 r198018 - OK
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/57097] [4.8/4.9 Regression] ICE: in find_hard_regno_for, at lra-assigns.c:561 with -O2 -fPIC -m32
2013-04-28 6:35 [Bug target/57097] New: [4.8/4.9 Regression] ICE: in find_hard_regno_for, at lra-assigns.c:561 with -O2 -fPIC -m32 zsojka at seznam dot cz
@ 2013-04-29 12:24 ` mpolacek at gcc dot gnu.org
2013-05-01 7:48 ` [Bug target/57097] [4.8 " jakub at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-04-29 12:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57097
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-04-29
CC| |mpolacek at gcc dot
| |gnu.org, vmakarov at gcc
| |dot gnu.org
Ever Confirmed|0 |1
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> 2013-04-29 12:24:41 UTC ---
Confirmed. Started with gcc.gnu.org/r193588
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/57097] [4.8 Regression] ICE: in find_hard_regno_for, at lra-assigns.c:561 with -O2 -fPIC -m32
2013-04-28 6:35 [Bug target/57097] New: [4.8/4.9 Regression] ICE: in find_hard_regno_for, at lra-assigns.c:561 with -O2 -fPIC -m32 zsojka at seznam dot cz
2013-04-29 12:24 ` [Bug target/57097] " mpolacek at gcc dot gnu.org
@ 2013-05-01 7:48 ` jakub at gcc dot gnu.org
2013-05-02 3:16 ` pinskia at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-05-01 7:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57097
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
Known to work| |4.9.0
Summary|[4.8/4.9 Regression] ICE: |[4.8 Regression] ICE: in
|in find_hard_regno_for, at |find_hard_regno_for, at
|lra-assigns.c:561 with -O2 |lra-assigns.c:561 with -O2
|-fPIC -m32 |-fPIC -m32
Known to fail|4.9.0 |
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-05-01 07:48:34 UTC ---
Author: vmakarov
Date: Mon Apr 29 19:42:20 2013
New Revision: 198432
URL: http://gcc.gnu.org/viewcvs?rev=198432&root=gcc&view=rev
Log:
2013-04-29 Vladimir Makarov <vmakarov@redhat.com>
PR target/57097
* lra-constraints.c (process_alt_operands): Discourage a bit more
using memory for pseudos. Print cost dump for alternatives.
Modify cost values for conflicts with early clobbers.
(curr_insn_transform): Spill pseudos reassigned to NO_REGS.
2013-04-29 Vladimir Makarov <vmakarov@redhat.com>
PR target/57097
* gcc.target/i386/pr57097.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/i386/pr57097.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/lra-constraints.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/57097] [4.8 Regression] ICE: in find_hard_regno_for, at lra-assigns.c:561 with -O2 -fPIC -m32
2013-04-28 6:35 [Bug target/57097] New: [4.8/4.9 Regression] ICE: in find_hard_regno_for, at lra-assigns.c:561 with -O2 -fPIC -m32 zsojka at seznam dot cz
2013-04-29 12:24 ` [Bug target/57097] " mpolacek at gcc dot gnu.org
2013-05-01 7:48 ` [Bug target/57097] [4.8 " jakub at gcc dot gnu.org
@ 2013-05-02 3:16 ` pinskia at gcc dot gnu.org
2013-05-02 3:16 ` pinskia at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-05-02 3:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57097
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ishiura-compiler at ml dot
| |kwansei.ac.jp
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-05-02 03:16:35 UTC ---
*** Bug 57131 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/57097] [4.8 Regression] ICE: in find_hard_regno_for, at lra-assigns.c:561 with -O2 -fPIC -m32
2013-04-28 6:35 [Bug target/57097] New: [4.8/4.9 Regression] ICE: in find_hard_regno_for, at lra-assigns.c:561 with -O2 -fPIC -m32 zsojka at seznam dot cz
` (2 preceding siblings ...)
2013-05-02 3:16 ` pinskia at gcc dot gnu.org
@ 2013-05-02 3:16 ` pinskia at gcc dot gnu.org
2013-05-02 6:03 ` jakub at gcc dot gnu.org
2013-05-02 19:29 ` jakub at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-05-02 3:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57097
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Target Milestone|--- |4.8.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/57097] [4.8 Regression] ICE: in find_hard_regno_for, at lra-assigns.c:561 with -O2 -fPIC -m32
2013-04-28 6:35 [Bug target/57097] New: [4.8/4.9 Regression] ICE: in find_hard_regno_for, at lra-assigns.c:561 with -O2 -fPIC -m32 zsojka at seznam dot cz
` (3 preceding siblings ...)
2013-05-02 3:16 ` pinskia at gcc dot gnu.org
@ 2013-05-02 6:03 ` jakub at gcc dot gnu.org
2013-05-02 19:29 ` jakub at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-05-02 6:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57097
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |vmakarov at gcc dot gnu.org
|gnu.org |
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/57097] [4.8 Regression] ICE: in find_hard_regno_for, at lra-assigns.c:561 with -O2 -fPIC -m32
2013-04-28 6:35 [Bug target/57097] New: [4.8/4.9 Regression] ICE: in find_hard_regno_for, at lra-assigns.c:561 with -O2 -fPIC -m32 zsojka at seznam dot cz
` (4 preceding siblings ...)
2013-05-02 6:03 ` jakub at gcc dot gnu.org
@ 2013-05-02 19:29 ` jakub at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-05-02 19:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57097
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-05-02 19:29:15 UTC ---
Author: vmakarov
Date: Thu May 2 17:56:40 2013
New Revision: 198557
URL: http://gcc.gnu.org/viewcvs?rev=198557&root=gcc&view=rev
Log:
2013-05-02 Vladimir Makarov <vmakarov@redhat.com>
Backport from mainline
2013-04-29 Vladimir Makarov <vmakarov@redhat.com>
PR target/57097
* lra-constraints.c (process_alt_operands): Discourage a bit more
using memory for pseudos. Print cost dump for alternatives.
Modify cost values for conflicts with early clobbers.
(curr_insn_transform): Spill pseudos reassigned to NO_REGS.
2013-05-02 Vladimir Makarov <vmakarov@redhat.com>
Backport from mainline
2013-04-29 Vladimir Makarov <vmakarov@redhat.com>
PR target/57097
* gcc.target/i386/pr57097.c: New test.
Added:
branches/gcc-4_8-branch/gcc/testsuite/gcc.target/i386/pr57097.c
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/lra-constraints.c
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-05-02 19:29 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-28 6:35 [Bug target/57097] New: [4.8/4.9 Regression] ICE: in find_hard_regno_for, at lra-assigns.c:561 with -O2 -fPIC -m32 zsojka at seznam dot cz
2013-04-29 12:24 ` [Bug target/57097] " mpolacek at gcc dot gnu.org
2013-05-01 7:48 ` [Bug target/57097] [4.8 " jakub at gcc dot gnu.org
2013-05-02 3:16 ` pinskia at gcc dot gnu.org
2013-05-02 3:16 ` pinskia at gcc dot gnu.org
2013-05-02 6:03 ` jakub at gcc dot gnu.org
2013-05-02 19:29 ` 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).