On Tue, May 03, 2022 at 05:46:50PM -0700, Palmer Dabbelt wrote:
> This test was relying on undefined behavior, with -Wundef I get
>
> gcc/testsuite/gcc.dg/pr102892-1.c: In function 'main':
> cc/testsuite/gcc.dg/pr102892-1.c:14:18: warning: 'a' is used
> uninitialized [-Wuninitialized]
>
On Wed, May 4, 2022 at 2:47 AM Palmer Dabbelt wrote:
>
> This test was relying on undefined behavior, with -Wundef I get
>
> gcc/testsuite/gcc.dg/pr102892-1.c: In function 'main':
> cc/testsuite/gcc.dg/pr102892-1.c:14:18: warning: 'a' is used
> uninitialized [-Wuninitialized]
>14
This test was relying on undefined behavior, with -Wundef I get
gcc/testsuite/gcc.dg/pr102892-1.c: In function 'main':
cc/testsuite/gcc.dg/pr102892-1.c:14:18: warning: 'a' is used uninitialized
[-Wuninitialized]
14 | for (long a; a < 1; ++a)
|~~^~~
g