public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/61522] New: [4.10 regression] ICE while building libgcc in LRA
@ 2014-06-16 13:52 ramana at gcc dot gnu.org
2014-06-16 13:53 ` [Bug rtl-optimization/61522] " ramana at gcc dot gnu.org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: ramana at gcc dot gnu.org @ 2014-06-16 13:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61522
Bug ID: 61522
Summary: [4.10 regression] ICE while building libgcc in LRA
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: ramana at gcc dot gnu.org
./cc1 -O2 -march=armv7-a fixed-bit.i
#0 0x00000000 in ?? ()
#1 0x0052b152 in assign_by_spills () at /work/gcc/gcc/lra-assigns.c:1434
#2 0x0052b3b6 in lra_assign () at /work/gcc/gcc/lra-assigns.c:1499
#3 0x0052631c in lra (f=0x0) at /work/gcc/gcc/lra.c:2230
#4 0x004e6a04 in do_reload () at /work/gcc/gcc/ira.c:5325
#5 0x004e6d66 in (anonymous namespace)::pass_reload::execute (this=0x1104d20)
at /work/gcc/gcc/ira.c:5486
#6 0x0059ca64 in execute_one_pass (pass=0x1104d20) at
/work/gcc/gcc/passes.c:2180
#7 0x0059cc3a in execute_pass_list_1 (pass=0x1104d20) at
/work/gcc/gcc/passes.c:2233
#8 0x0059cc5c in execute_pass_list_1 (pass=0x11040c0) at
/work/gcc/gcc/passes.c:2234
#9 0x0059cc86 in execute_pass_list (fn=0xb67cc820, pass=0x1101cc0) at
/work/gcc/gcc/passes.c:2244
#10 0x002fea08 in expand_function (node=0xb697fc40) at
/work/gcc/gcc/cgraphunit.c:1787
#11 0x002feef8 in expand_all_functions () at /work/gcc/gcc/cgraphunit.c:1921
#12 0x002ff760 in compile () at /work/gcc/gcc/cgraphunit.c:2265
#13 0x002ff8b2 in finalize_compilation_unit () at
/work/gcc/gcc/cgraphunit.c:2342
#14 0x001b30ea in c_write_global_declarations () at
/work/gcc/gcc/c/c-decl.c:10452
#15 0x006629d2 in compile_file () at /work/gcc/gcc/toplev.c:562
#16 0x00664de4 in do_compile () at /work/gcc/gcc/toplev.c:1918
#17 0x00664f64 in toplev_main (argc=4, argv=0xbefff484) at
/work/gcc/gcc/toplev.c:1994
#18 0x00bf8dba in main (argc=4, argv=0xbefff484) at /work/gcc/gcc/main.c:36
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/61522] [4.10 regression] ICE while building libgcc in LRA
2014-06-16 13:52 [Bug rtl-optimization/61522] New: [4.10 regression] ICE while building libgcc in LRA ramana at gcc dot gnu.org
@ 2014-06-16 13:53 ` ramana at gcc dot gnu.org
2014-06-16 13:57 ` ramana at gcc dot gnu.org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ramana at gcc dot gnu.org @ 2014-06-16 13:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61522
Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Target| |arm-none-linux-gnueabihf
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-06-16
Known to work| |4.9.0
Ever confirmed|0 |1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/61522] [4.10 regression] ICE while building libgcc in LRA
2014-06-16 13:52 [Bug rtl-optimization/61522] New: [4.10 regression] ICE while building libgcc in LRA ramana at gcc dot gnu.org
2014-06-16 13:53 ` [Bug rtl-optimization/61522] " ramana at gcc dot gnu.org
@ 2014-06-16 13:57 ` ramana at gcc dot gnu.org
2014-06-16 13:58 ` ramana at gcc dot gnu.org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ramana at gcc dot gnu.org @ 2014-06-16 13:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61522
Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |christophe.lyon at st dot com
--- Comment #1 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
*** Bug 61521 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/61522] [4.10 regression] ICE while building libgcc in LRA
2014-06-16 13:52 [Bug rtl-optimization/61522] New: [4.10 regression] ICE while building libgcc in LRA ramana at gcc dot gnu.org
2014-06-16 13:53 ` [Bug rtl-optimization/61522] " ramana at gcc dot gnu.org
2014-06-16 13:57 ` ramana at gcc dot gnu.org
@ 2014-06-16 13:58 ` ramana at gcc dot gnu.org
2014-06-16 14:00 ` ramana at gcc dot gnu.org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ramana at gcc dot gnu.org @ 2014-06-16 13:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61522
--- Comment #2 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
Same failure also with
./cc1 -O2 -fPIC -march=armv7-a test.c
$> cat test.c
typedef int(__kernel_cmpxchg64_t)(const long long *oldval,
const long long *newval, long long *ptr);
long long __attribute__((visibility("hidden")))
__sync_fetch_and_nand_8(long long *ptr, long long val) {
int failure;
long long tmp, tmp2;
do {
tmp = *ptr;
tmp2 = ~(tmp & val);
failure = (*(__kernel_cmpxchg64_t *)0xffff0f60)(&tmp, &tmp2, ptr);
} while (failure != 0);
}
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/61522] [4.10 regression] ICE while building libgcc in LRA
2014-06-16 13:52 [Bug rtl-optimization/61522] New: [4.10 regression] ICE while building libgcc in LRA ramana at gcc dot gnu.org
` (2 preceding siblings ...)
2014-06-16 13:58 ` ramana at gcc dot gnu.org
@ 2014-06-16 14:00 ` ramana at gcc dot gnu.org
2014-06-16 14:06 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ramana at gcc dot gnu.org @ 2014-06-16 14:00 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61522
--- Comment #3 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
Appears to begin with
Commit 211655:
2014-06-13 Vladimir Makarov <vmakarov@redhat.com>
* lra-assign.c (assign_by_spills): Add code to assign vector regs
to inheritance pseudos.
* config/i386/i386.c (ix86_spill_class): Add check on NO_REGS.
causes GCC trunk to fail to build on ARM & AArch64 targets.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/61522] [4.10 regression] ICE while building libgcc in LRA
2014-06-16 13:52 [Bug rtl-optimization/61522] New: [4.10 regression] ICE while building libgcc in LRA ramana at gcc dot gnu.org
` (3 preceding siblings ...)
2014-06-16 14:00 ` ramana at gcc dot gnu.org
@ 2014-06-16 14:06 ` rguenth at gcc dot gnu.org
2014-06-16 14:10 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-06-16 14:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61522
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.10.0
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/61522] [4.10 regression] ICE while building libgcc in LRA
2014-06-16 13:52 [Bug rtl-optimization/61522] New: [4.10 regression] ICE while building libgcc in LRA ramana at gcc dot gnu.org
` (4 preceding siblings ...)
2014-06-16 14:06 ` rguenth at gcc dot gnu.org
@ 2014-06-16 14:10 ` rguenth at gcc dot gnu.org
2014-06-16 14:36 ` ramana at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-06-16 14:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61522
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
if (lra_reg_info[regno].restore_regno < 0
|| ! bitmap_bit_p (&lra_inheritance_pseudos, regno)
|| (spill_class
= ((enum reg_class)
targetm.spill_class
((reg_class_t) rclass,
PSEUDO_REGNO_MODE (regno)))) == NO_REGS)
doesn't check if targetm.spill_class is non-NULL
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/61522] [4.10 regression] ICE while building libgcc in LRA
2014-06-16 13:52 [Bug rtl-optimization/61522] New: [4.10 regression] ICE while building libgcc in LRA ramana at gcc dot gnu.org
` (5 preceding siblings ...)
2014-06-16 14:10 ` rguenth at gcc dot gnu.org
@ 2014-06-16 14:36 ` ramana at gcc dot gnu.org
2014-06-16 15:55 ` vmakarov at gcc dot gnu.org
2014-07-02 13:42 ` ktkachov at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: ramana at gcc dot gnu.org @ 2014-06-16 14:36 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61522
Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/61522] [4.10 regression] ICE while building libgcc in LRA
2014-06-16 13:52 [Bug rtl-optimization/61522] New: [4.10 regression] ICE while building libgcc in LRA ramana at gcc dot gnu.org
` (6 preceding siblings ...)
2014-06-16 14:36 ` ramana at gcc dot gnu.org
@ 2014-06-16 15:55 ` vmakarov at gcc dot gnu.org
2014-07-02 13:42 ` ktkachov at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2014-06-16 15:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61522
--- Comment #5 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
Author: vmakarov
Date: Mon Jun 16 15:55:03 2014
New Revision: 211711
URL: https://gcc.gnu.org/viewcvs?rev=211711&root=gcc&view=rev
Log:
2014-06-16 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/61522
* lra-assigns.c (assign_by_spills): Check null
targetm.spill_class.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/lra-assigns.c
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/61522] [4.10 regression] ICE while building libgcc in LRA
2014-06-16 13:52 [Bug rtl-optimization/61522] New: [4.10 regression] ICE while building libgcc in LRA ramana at gcc dot gnu.org
` (7 preceding siblings ...)
2014-06-16 15:55 ` vmakarov at gcc dot gnu.org
@ 2014-07-02 13:42 ` ktkachov at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: ktkachov at gcc dot gnu.org @ 2014-07-02 13:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61522
ktkachov at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
CC| |ktkachov at gcc dot gnu.org
Resolution|--- |FIXED
--- Comment #6 from ktkachov at gcc dot gnu.org ---
Thus fixed it seems...
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2014-07-02 13:42 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-16 13:52 [Bug rtl-optimization/61522] New: [4.10 regression] ICE while building libgcc in LRA ramana at gcc dot gnu.org
2014-06-16 13:53 ` [Bug rtl-optimization/61522] " ramana at gcc dot gnu.org
2014-06-16 13:57 ` ramana at gcc dot gnu.org
2014-06-16 13:58 ` ramana at gcc dot gnu.org
2014-06-16 14:00 ` ramana at gcc dot gnu.org
2014-06-16 14:06 ` rguenth at gcc dot gnu.org
2014-06-16 14:10 ` rguenth at gcc dot gnu.org
2014-06-16 14:36 ` ramana at gcc dot gnu.org
2014-06-16 15:55 ` vmakarov at gcc dot gnu.org
2014-07-02 13:42 ` ktkachov 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).