[Bug bootstrap/70650] [6 regression] bootstrap failure: ICE in emit_move_insn, at expr.c:3546

2016-04-14 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70650 --- Comment #18 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #17 from ro at CeBiTec dot Uni-Bielefeld.DE Uni-Bielefeld.DE> --- [...] > Just for the record, with your patch a sparc-sun-solaris2.12 bootstrap > is well into stage2, so

[Bug bootstrap/70650] [6 regression] bootstrap failure: ICE in emit_move_insn, at expr.c:3546

2016-04-14 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70650 --- Comment #17 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #8 from Jason Merrill --- [...] > This fixes the reduced testcase for me on sparc, does it fix bootstrap on the > various targets? Just for the record, with your patch a

[Bug bootstrap/70650] [6 regression] bootstrap failure: ICE in emit_move_insn, at expr.c:3546

2016-04-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70650 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug bootstrap/70650] [6 regression] bootstrap failure: ICE in emit_move_insn, at expr.c:3546

2016-04-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70650 --- Comment #15 from Jason Merrill --- (In reply to Jack Howarth from comment #14) > (In reply to Jason Merrill from comment #13) > Is darwin the only target using TREE_TYPE rather than DECL_ARG_TYPE? No, that should be the same for all

[Bug bootstrap/70650] [6 regression] bootstrap failure: ICE in emit_move_insn, at expr.c:3546

2016-04-14 Thread howarth.at.gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70650 --- Comment #14 from Jack Howarth --- (In reply to Jason Merrill from comment #13) Is darwin the only target using TREE_TYPE rather than DECL_ARG_TYPE?

[Bug bootstrap/70650] [6 regression] bootstrap failure: ICE in emit_move_insn, at expr.c:3546

2016-04-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70650 --- Comment #13 from Jason Merrill --- The darwin problem is with an ipa-icf thunk trying to pass the parameter on directly, which breaks because it's using the parameter's TREE_TYPE rather than DECL_ARG_TYPE. expand_call handles this

[Bug bootstrap/70650] [6 regression] bootstrap failure: ICE in emit_move_insn, at expr.c:3546

2016-04-14 Thread howarth.at.gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70650 --- Comment #12 from Jack Howarth --- (In reply to Jakub Jelinek from comment #6) > Shorter testcase: > struct A {}; > > void > foo (struct A a, int b) > { > } > compiles with sparc-solaris C, but doesn't with C++. This test case doesn't

[Bug bootstrap/70650] [6 regression] bootstrap failure: ICE in emit_move_insn, at expr.c:3546

2016-04-14 Thread howarth.at.gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70650 --- Comment #11 from Jack Howarth --- In case it helps, with the proposed patch, the backtrace from fancy_abort in the failing string-inst.cc compilation on darwin appears as... (lldb) bt * thread #1: tid = 0x54d252, 0x0001018798f3

[Bug bootstrap/70650] [6 regression] bootstrap failure: ICE in emit_move_insn, at expr.c:3546

2016-04-14 Thread howarth.at.gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70650 --- Comment #10 from Jack Howarth --- (In reply to Jason Merrill from comment #8) > Created attachment 38269 [details] > patch > > This fixes the reduced testcase for me on sparc, does it fix bootstrap on > the various targets? The proposed

[Bug bootstrap/70650] [6 regression] bootstrap failure: ICE in emit_move_insn, at expr.c:3546

2016-04-14 Thread howarth.at.gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70650 --- Comment #9 from Jack Howarth --- Created attachment 38270 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38270=edit bzip2 compressed preprocessed source for libstdc++-v3/src/c++11/string-inst.cc on x86_64-apple-darwin15

[Bug bootstrap/70650] [6 regression] bootstrap failure: ICE in emit_move_insn, at expr.c:3546

2016-04-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70650 --- Comment #8 from Jason Merrill --- Created attachment 38269 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38269=edit patch This fixes the reduced testcase for me on sparc, does it fix bootstrap on the various targets?

[Bug bootstrap/70650] [6 regression] bootstrap failure: ICE in emit_move_insn, at expr.c:3546

2016-04-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70650 --- Comment #7 from Jakub Jelinek --- Seems sparc-solaris passes even for C the empty struct as a separate argument (the empty struct goes into %o0, the int argument into %o1).

[Bug bootstrap/70650] [6 regression] bootstrap failure: ICE in emit_move_insn, at expr.c:3546

2016-04-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70650 --- Comment #6 from Jakub Jelinek --- Shorter testcase: struct A {}; void foo (struct A a, int b) { } compiles with sparc-solaris C, but doesn't with C++.

[Bug bootstrap/70650] [6 regression] bootstrap failure: ICE in emit_move_insn, at expr.c:3546

2016-04-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70650 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug bootstrap/70650] [6 regression] bootstrap failure: ICE in emit_move_insn, at expr.c:3546

2016-04-14 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70650 --- Comment #5 from Rainer Orth --- Created attachment 38260 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38260=edit preprocessed input

[Bug bootstrap/70650] [6 regression] bootstrap failure: ICE in emit_move_insn, at expr.c:3546

2016-04-13 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70650 Rainer Orth changed: What|Removed |Added Target|x86_64-apple-darwin15 |x86_64-apple-darwin15,