[Bug tree-optimization/78319] [7 Regression] PASS->FAIL: gcc.dg/uninit-pred-8_a.c bogus warning (test for bogus messages, line 20)

thopre01 at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 14 14:17:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78319

--- Comment #3 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> ---
(In reply to prathamesh3492 from comment #2)
> Hi Thomas,
> I am trying to cross-build for cortex-m4 to reproduce the issue locally.
> Could you please share the configure opts you used ?
> 
> Thanks,
> Prathamesh

Hi Prathamesh,

Only --target=arm-none-eabi is necessary to reproduce as long as you pass
-mcpu=cortex-m7 -mthumb on the command line.

Here's what I used to reproduce:

$SRC/configure --prefix=$PWD/../install --target=arm-none-eabi
make all-gcc
make install-gcc
export PATH=$PWD/../install:$PATH
arm-none-eabi-gcc -S -O2 -Wuninitialized -mcpu=cortex-m7 -mthumb
$SRC/gcc/testsuite/gcc.dg/uninit-pred-8_a.c

Thanks for working on this!


More information about the Gcc-bugs mailing list