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!

Reply via email to