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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70650
Jason Merrill changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
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
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?
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
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
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
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
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
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?
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).
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++.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70650
Richard Biener changed:
What|Removed |Added
Priority|P3 |P1
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
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,
16 matches
Mail list logo