[Bug target/85666] gcc-8.0.1 fails to build mmix target: gcc/libgcc/libgcc2.h:203:20: internal compiler error: in leaf_function_p, at final.c:4488

2018-09-16 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85666 Hans-Peter Nilsson changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/85666] gcc-8.0.1 fails to build mmix target: gcc/libgcc/libgcc2.h:203:20: internal compiler error: in leaf_function_p, at final.c:4488

2018-09-16 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85666 --- Comment #15 from Hans-Peter Nilsson --- Author: hp Date: Sun Sep 16 21:23:36 2018 New Revision: 264351 URL: https://gcc.gnu.org/viewcvs?rev=264351&root=gcc&view=rev Log: PR target/85666 * config/mmix/mmix.c (mmix_assemble_int

[Bug target/85666] gcc-8.0.1 fails to build mmix target: gcc/libgcc/libgcc2.h:203:20: internal compiler error: in leaf_function_p, at final.c:4488

2018-09-09 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85666 Hans-Peter Nilsson changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/85666] gcc-8.0.1 fails to build mmix target: gcc/libgcc/libgcc2.h:203:20: internal compiler error: in leaf_function_p, at final.c:4488

2018-09-09 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85666 --- Comment #13 from Hans-Peter Nilsson --- Author: hp Date: Sun Sep 9 18:12:14 2018 New Revision: 264183 URL: https://gcc.gnu.org/viewcvs?rev=264183&root=gcc&view=rev Log: PR target/85666 * config/mmix/mmix.c (mmix_assemble_int

[Bug target/85666] gcc-8.0.1 fails to build mmix target: gcc/libgcc/libgcc2.h:203:20: internal compiler error: in leaf_function_p, at final.c:4488

2018-09-09 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85666 --- Comment #12 from Hans-Peter Nilsson --- Author: hp Date: Sun Sep 9 18:05:48 2018 New Revision: 264182 URL: https://gcc.gnu.org/viewcvs?rev=264182&root=gcc&view=rev Log: PR target/85666 * config/mmix/mmix.c (MMIX_CFUN_NEEDS_S

[Bug target/85666] gcc-8.0.1 fails to build mmix target: gcc/libgcc/libgcc2.h:203:20: internal compiler error: in leaf_function_p, at final.c:4488

2018-05-27 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85666 --- Comment #11 from Hans-Peter Nilsson --- (In reply to Hans-Peter Nilsson from comment #10) > Created attachment 44180 [details] > patch to mmix.c > > Builds libgcc. More late this weekend, I hope. I now see the assertion in assemble_integer

[Bug target/85666] gcc-8.0.1 fails to build mmix target: gcc/libgcc/libgcc2.h:203:20: internal compiler error: in leaf_function_p, at final.c:4488

2018-05-24 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85666 --- Comment #10 from Hans-Peter Nilsson --- Created attachment 44180 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44180&action=edit patch to mmix.c Builds libgcc. More late this weekend, I hope.

[Bug target/85666] gcc-8.0.1 fails to build mmix target: gcc/libgcc/libgcc2.h:203:20: internal compiler error: in leaf_function_p, at final.c:4488

2018-05-24 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85666 --- Comment #9 from Hans-Peter Nilsson --- (In reply to Wilco from comment #8) > I don't think that comment is accurate. Of course it isn't accurate *now*, but it explains why the code looks as it is. I see the "phase-computing" code in expand_u

[Bug target/85666] gcc-8.0.1 fails to build mmix target: gcc/libgcc/libgcc2.h:203:20: internal compiler error: in leaf_function_p, at final.c:4488

2018-05-21 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85666 --- Comment #8 from Wilco --- (In reply to Hans-Peter Nilsson from comment #7) > Thank you for your interest in the MMIX port. > > (In reply to Wilco from comment #3) > > (In reply to Sergei Trofimovich from comment #1) > > > > > #define MMIX_

[Bug target/85666] gcc-8.0.1 fails to build mmix target: gcc/libgcc/libgcc2.h:203:20: internal compiler error: in leaf_function_p, at final.c:4488

2018-05-20 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85666 --- Comment #7 from Hans-Peter Nilsson --- Thank you for your interest in the MMIX port. (In reply to Wilco from comment #3) > (In reply to Sergei Trofimovich from comment #1) > > > #define MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS

[Bug target/85666] gcc-8.0.1 fails to build mmix target: gcc/libgcc/libgcc2.h:203:20: internal compiler error: in leaf_function_p, at final.c:4488

2018-05-20 Thread slyfox at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85666 --- Comment #6 from Sergei Trofimovich --- An observation (does not pretend to be a fix) to make gcc compile standard library and be able to build runnable hello world on gcc master: 1. MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS can be unoptimised

[Bug target/85666] gcc-8.0.1 fails to build mmix target: gcc/libgcc/libgcc2.h:203:20: internal compiler error: in leaf_function_p, at final.c:4488

2018-05-08 Thread slyfox at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85666 --- Comment #5 from Sergei Trofimovich --- (In reply to Hans-Peter Nilsson from comment #4) > (In reply to Sergei Trofimovich from comment #0) > > gcc-7.3.0 worked. gcc-8.0.1 fails as: > > Don't you mean "9.0.1" which is what gcc outputs for the

[Bug target/85666] gcc-8.0.1 fails to build mmix target: gcc/libgcc/libgcc2.h:203:20: internal compiler error: in leaf_function_p, at final.c:4488

2018-05-08 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85666 Hans-Peter Nilsson changed: What|Removed |Added CC||hp at gcc dot gnu.org --- Comment #

[Bug target/85666] gcc-8.0.1 fails to build mmix target: gcc/libgcc/libgcc2.h:203:20: internal compiler error: in leaf_function_p, at final.c:4488

2018-05-08 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85666 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #3 from Wil

[Bug target/85666] gcc-8.0.1 fails to build mmix target: gcc/libgcc/libgcc2.h:203:20: internal compiler error: in leaf_function_p, at final.c:4488

2018-05-05 Thread slyfox at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85666 Sergei Trofimovich changed: What|Removed |Added CC||wdijkstr at arm dot com --- Comment

[Bug target/85666] gcc-8.0.1 fails to build mmix target: gcc/libgcc/libgcc2.h:203:20: internal compiler error: in leaf_function_p, at final.c:4488

2018-05-05 Thread slyfox at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85666 --- Comment #1 from Sergei Trofimovich --- looks like leaf_function_p() predicate fails right at start of cfgexpand when it tries to pick stack frame size. leaf_function_p() has a few hints that it's knowingly trying to do it before expand finish