[Bug tree-optimization/58532] [4.9 Regression] bootstrap failure with BOOT_CFLAGS="-g -O3"

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Wed Oct 2 08:23:00 GMT 2013


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

David Binderman <dcb314 at hotmail dot com> changed:

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

--- Comment #10 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to Richard Biener from comment #9)
> Fixed.

Not sure. My second bootstrap still fails on revision 203101

../src/trunk/configure --prefix=/home/dcb/gcc/results --enable-checking=yes
--enable-languages=c,c++,fortran

produces

In file included from ../../src/trunk/gcc/function.h:27:0,
                 from ../../src/trunk/gcc/df-scan.c:32:
../../src/trunk/gcc/df-scan.c: In function ‘void
df_ref_record.constprop(df_collection_rec*, rtx, basic_block, df_insn_info*,
df_ref_type, int)’:
../../src/trunk/gcc/hard-reg-set.h:156:44: error: array subscript is above
array bounds [-Werror=array-bounds]
   (!!((SET)[(BIT) / UHOST_BITS_PER_WIDE_INT] \
                                            ^
../../src/trunk/gcc/df-scan.c:2824:18: note: in expansion of macro
‘TEST_HARD_REG_BIT’

I presume --disable-werror would avoid the problem ?


More information about the Gcc-bugs mailing list