public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Roman Zippel <zippel@linux-m68k.org> To: gcc-gnats@gcc.gnu.org Subject: c/3092: gcc fails to compile crtstuff.c for linux-m68k Date: Fri, 08 Jun 2001 15:36:00 -0000 [thread overview] Message-ID: <E158Uhi-0007bO-00@sodom> (raw) >Number: 3092 >Category: c >Synopsis: gcc fails to compile crtstuff.c for linux-m68k >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Fri Jun 08 15:36:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Roman Zippel >Release: 3.0 20010606 (prerelease) >Organization: >Environment: System: Linux sodom 2.2.10 #4 Sun Aug 1 14:25:38 CEST 1999 m68k unknown Architecture: m68k host: m68k-unknown-linux-gnu build: m68k-unknown-linux-gnu target: m68k-unknown-linux-gnu configured with: ../gcc-3.0/configure --verbose --cache-file=../config.cache --prefix=/usr/local/egcs --enable-languages=c,c++ >Description: simplify_rtx() returns either const0_rtx or const_true_rtx, but expected_value_to_br_prob() is testing for const1_rtx and const0_rtx, which fails for linux-m68k. The same problem is already reported in PR 1795, but fixed with patch below. Note that this depends on the fix in bootstrap/3090. >How-To-Repeat: Configure for linux-m68k and (cross) compile. >Fix: Index: gcc/predict.c =================================================================== RCS file: /cvs/gcc/egcs/gcc/predict.c,v retrieving revision 1.15.4.1 diff -u -r1.15.4.1 predict.c --- predict.c 2001/05/12 20:32:37 1.15.4.1 +++ predict.c 2001/06/08 19:57:51 @@ -295,7 +295,7 @@ cond = simplify_rtx (cond); /* Turn the condition into a scaled branch probability. */ - if (cond == const1_rtx) + if (cond == const_true_rtx) cond = GEN_INT (PROB_VERY_LIKELY); else if (cond == const0_rtx) cond = GEN_INT (PROB_VERY_UNLIKELY); >Release-Note: >Audit-Trail: >Unformatted:
reply other threads:[~2001-06-08 15:36 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=E158Uhi-0007bO-00@sodom \ --to=zippel@linux-m68k.org \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).