Bug 44756 - [meta-bug] --enable-werror-always issues
Summary: [meta-bug] --enable-werror-always issues
Status: NEW
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 4.6.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: build, meta-bug
Depends on: 48595 49401 52504 54640 54664 55035 56457 67347 44335 44749 44750 44751 44752 44754 44755 44757 44758 44759 44760 44761 44762 44764 44765 44766 44767 44769 44770 44771 45444 46314 46386 46407 46412 46415 46417 46427 46428 46430 46431 46432 46433 46434 46435 46436 46437 46438 46450 46456 46623 46735 46737 46738 46739 46740 46881 47063 47088 47091 47096 47097 47100 47111 47112 47113 47114 47129 47134 47135 48895 48896 48897 48899 48901 48903 49098 49099 49403 49415 49862 50513 52495 52498 52499 52500 52501 52502 52550 54637 54639 54641 54660 54661 54662 55034 55042 55045 56444 56445
Blocks: 47093
  Show dependency treegraph
 
Reported: 2010-07-01 16:41 UTC by Jorn Wolfgang Rennecke
Modified: 2015-08-25 01:26 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2010-07-25 01:59:44


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jorn Wolfgang Rennecke 2010-07-01 16:41:25 UTC
Issues to be fixed before --enable-werror-always with a recent gcc compiler
can be required for cross build tests:

In order to get better coverage for non-native targets on i686-pc-linux-gnu,
I've tried to build a configuration for each other target architecture
directory configured with --enable-werror-always:

alpha-linux-gnu  hppa-linux-gnu  mips-elf             sh-elf
arc-elf          ia64-elf        mmix-knuth-mmixware  sparc-elf
arm-eabi         iq2000-elf      mn10300-elf          spu-elf
avr-elf          lm32-elf        moxie-elf            v850-elf
bfin-elf         m32c-elf        pdp11-elf            vax-linux-gnu
cris-elf         m32r-elf        picochip-elf         xstormy16-elf
crx-elf          m68hc11-elf     ppc-elf              xtensa-elf
fr30-elf         m68k-elf        rx-elf
frv-elf          mcore-elf       s390-linux-gnu
h8300-elf        mep-elf         score-elf

out of these 37 configurations, only seven succeeded:

alpha-linux-gnu
hppa-linux-gnu
ia64-elf
mips-elf
ppc-elf
s390-linux-gnu
sparc-elf
Comment 1 Andrew Pinski 2010-07-25 01:59:44 UTC
Confirmed.
Comment 2 Jorn Wolfgang Rennecke 2010-11-04 14:58:48 UTC
Author: amylaar
Date: Thu Nov  4 14:58:40 2010
New Revision: 166313

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166313
Log:
        PR bootstrap/44756
        * ifcvt.c (noce_emit_cmove): Add ATTRIBUTE_UNUSED to target and
        unsignedp.
        * reload1.c (set_reload_reg): Add ATTRIBUTE_UNUSED to regno.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ifcvt.c
    trunk/gcc/reload1.c
Comment 3 Jorn Wolfgang Rennecke 2010-11-04 18:01:50 UTC
Author: amylaar
Date: Thu Nov  4 18:01:45 2010
New Revision: 166320

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166320
Log:
        PR bootstrap/44756
        * function.c (thread_prologue_and_epilogue_insns): Add
        ATTRIBUTE_UNUSED to seq, epilogue_end and entry_edge.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/function.c
Comment 4 Jorn Wolfgang Rennecke 2010-11-04 19:58:44 UTC
Author: amylaar
Date: Thu Nov  4 19:58:40 2010
New Revision: 166328

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166328
Log:
        PR bootstrap/44756
        * varasm.c (asm_output_bss): Add ATTRIBUTE_UNUSED to function.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/varasm.c
Comment 5 Jorn Wolfgang Rennecke 2010-11-04 20:51:51 UTC
Author: amylaar
Date: Thu Nov  4 20:51:43 2010
New Revision: 166332

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166332
Log:
	PR bootstrap/44756
	* genopinit.c (main) [FIXUNS_TRUNC_LIKE_FIX_TRUNC]: Cast
	iteration variables to enum machine_mode.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/genopinit.c
Comment 6 Jorn Wolfgang Rennecke 2010-11-05 13:27:29 UTC
Author: amylaar
Date: Fri Nov  5 13:27:23 2010
New Revision: 166360

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166360
Log:
	PR bootstrap/44756
	* expr.c (emit_push_insn): Cast value of PUSH_ROUNDING before
	comparing it to a signed value.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expr.c
Comment 7 Jorn Wolfgang Rennecke 2010-11-05 16:27:37 UTC
Author: amylaar
Date: Fri Nov  5 16:27:25 2010
New Revision: 166366

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166366
Log:
	PR bootstrap/44756
	* expr.c (can_store_by_pieces): Add ATTRIBUTE_UNUSED to cst.
	* haifa-sched.c (initiate_bb_reg_pressure_info): Add ATTRIBUTE_UNUSED
	to i.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expr.c
    trunk/gcc/haifa-sched.c
Comment 8 Jorn Wolfgang Rennecke 2010-11-12 17:11:14 UTC
Author: amylaar
Date: Fri Nov 12 17:11:06 2010
New Revision: 166660

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166660
Log:
	PR bootstrap/44756
	PR build/44767
	* doc/tm.texi.in (LOCAL_ALIGNMENT): State that the type, if any,
	should be unsigned.
	(STACK_SLOT_ALIGNMENT, LOCAL_DECL_ALIGNMENT, PUSH_ROUNDING): Likewise.
	* doc/tm.texi: Regenerate.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/doc/tm.texi
    trunk/gcc/doc/tm.texi.in
Comment 9 Jorn Wolfgang Rennecke 2010-11-29 04:38:27 UTC
Author: amylaar
Date: Mon Nov 29 04:38:21 2010
New Revision: 167234

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167234
Log:
	PR bootstrap/44756
	* cppbuiltin.c: Include target.h .
	(define_builtin_macros_for_type_sizes):
	Use targetm.float_words_big_endian.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cppbuiltin.c