public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/47422] New: [4.6 regression] bootstrap failure due to warnings in compare-elim.c
@ 2011-01-23 15:33 mikpe at it dot uu.se
  2011-01-23 15:47 ` [Bug bootstrap/47422] " schwab@linux-m68k.org
  0 siblings, 1 reply; 2+ messages in thread
From: mikpe at it dot uu.se @ 2011-01-23 15:33 UTC (permalink / raw)
  To: gcc-bugs

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>.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug bootstrap/47422] [4.6 regression] bootstrap failure due to warnings in compare-elim.c
  2011-01-23 15:33 [Bug bootstrap/47422] New: [4.6 regression] bootstrap failure due to warnings in compare-elim.c mikpe at it dot uu.se
@ 2011-01-23 15:47 ` schwab@linux-m68k.org
  0 siblings, 0 replies; 2+ messages in thread
From: schwab@linux-m68k.org @ 2011-01-23 15:47 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47422

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> 2011-01-23 14:30:08 UTC ---
Fixed in r169142.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-23 14:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-23 15:33 [Bug bootstrap/47422] New: [4.6 regression] bootstrap failure due to warnings in compare-elim.c mikpe at it dot uu.se
2011-01-23 15:47 ` [Bug bootstrap/47422] " schwab@linux-m68k.org

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).