From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19229 invoked by alias); 17 Oct 2003 14:39:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 19170 invoked by uid 48); 17 Oct 2003 14:39:42 -0000 Date: Fri, 17 Oct 2003 14:54:00 -0000 Message-ID: <20031017143942.19169.qmail@sources.redhat.com> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030720223228.11611.jim@phython.shacknet.nu> References: <20030720223228.11611.jim@phython.shacknet.nu> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug bootstrap/11611] [tree-ssa] Bootstrap failure on sparc-linux-gnu X-Bugzilla-Reason: CC X-SW-Source: 2003-10/txt/msg01335.txt.bz2 List-Id: 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: , 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;