[Bug bootstrap/11611] [tree-ssa] Bootstrap failure on sparc-linux-gnu
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Oct 17 14:54:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11611
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-10-17 14:39 -------
Can you try this patch: <http://gcc.gnu.org/bugzilla/attachment.cgi?id=4949>, it helps me on
ppc-darwin:
Index: opts.c
============================================================
=======
RCS file: /cvs/gcc/gcc/gcc/opts.c,v
retrieving revision 1.31.2.11
diff -u -p -r1.31.2.11 opts.c
--- opts.c 28 Sep 2003 06:06:31 -0000 1.31.2.11
+++ opts.c 17 Oct 2003 13:22:42 -0000
@@ -515,6 +515,10 @@ decode_options (unsigned int argc, const
{
flag_merge_constants = 0;
}
+
+
+ /* Right now on PPC-Darwin, branch on count register is causing gentype to miscompile. */
+ flag_branch_on_count_reg = 0;
if (optimize >= 1)
{
@@ -542,9 +546,12 @@ decode_options (unsigned int argc, const
if (optimize >= 2)
{
+/* Disable so that PPC-darwin can bootstrap. */
+#if 0
flag_optimize_sibling_calls = 1;
flag_cse_follow_jumps = 1;
flag_cse_skip_blocks = 1;
+#endif
flag_gcse = 1;
flag_expensive_optimizations = 1;
flag_strength_reduce = 1;
More information about the Gcc-bugs
mailing list