This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/78319] [7 Regression] PASS->FAIL: gcc.dg/uninit-pred-8_a.c bogus warning (test for bogus messages, line 20)
- From: "thopre01 at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 14 Nov 2016 14:16:45 +0000
- Subject: [Bug tree-optimization/78319] [7 Regression] PASS->FAIL: gcc.dg/uninit-pred-8_a.c bogus warning (test for bogus messages, line 20)
- Auto-submitted: auto-generated
- References: <bug-78319-4@http.gcc.gnu.org/bugzilla/>
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!