public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "mikpe at it dot uu.se" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/47422] New: [4.6 regression] bootstrap failure due to warnings in compare-elim.c Date: Sun, 23 Jan 2011 15:33:00 -0000 [thread overview] Message-ID: <bug-47422-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47422 Summary: [4.6 regression] bootstrap failure due to warnings in compare-elim.c Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned@gcc.gnu.org ReportedBy: mikpe@it.uu.se Bootstrapping 4.6-20110122 on powerpc64-linux fails with: /mnt/archive/gcc-4.6-20110122/gcc/compare-elim.c: In function 'maybe_select_cc_mode': /mnt/archive/gcc-4.6-20110122/gcc/compare-elim.c:407:58: error: unused parameter 'b' [-Werror=unused-parameter] cc1: all warnings being treated as errors make[3]: *** [compare-elim.o] Error 1 make[3]: *** Waiting for unfinished jobs.... rm gcj-dbtool.pod jcf-dump.pod jv-convert.pod grmic.pod gcj.pod gc-analyze.pod cpp.pod gfdl.pod gij.pod gcov.pod gfortran.pod fsf-funding.pod gcc.pod make[3]: Leaving directory `/mnt/archive/objdir46/gcc' make[2]: *** [all-stage2-gcc] Error 2 make[2]: Leaving directory `/mnt/archive/objdir46' make[1]: *** [stage2-bubble] Error 2 make[1]: Leaving directory `/mnt/archive/objdir46' make: *** [bootstrap] Error 2 The problem is that the rs6000 SELECT_CC_MODE macro ignores its last parameter, so the 'b' parameter to maybe_select_cc_mode is unused, triggering the error. Targets without SELECT_CC_MODE (e.g. m68k) also break, see <http://gcc.gnu.org/ml/gcc-patches/2011-01/msg01607.html>.
next reply other threads:[~2011-01-23 13:53 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-01-23 15:33 mikpe at it dot uu.se [this message] 2011-01-23 15:47 ` [Bug bootstrap/47422] " schwab@linux-m68k.org
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=bug-47422-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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).