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

--- Comment #11 from rguenther at suse dot de <rguenther at suse dot de> ---
On Wed, 2 Oct 2013, dcb314 at hotmail dot com wrote:

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

Yes, it's known that non-standard flags cause spurious warnings so
--disable-werror is recommended if you change flags.

Richard.

Reply via email to