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

Frank Scheiner <frank.scheiner at web dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |frank.scheiner at web dot de

--- Comment #20 from Frank Scheiner <frank.scheiner at web dot de> ---
(In reply to Jan-Benedict Glaw from comment #14)
> Still observable as of a8994014041:

In the meantime `kernel/kallsyms.o` produced fine for gcc-15-20250406 ([1]) and
Linux 6.15-rc1 for ia64.

```
time make -j24 LOCALVERSION="-25428722c4d8-ia64-w-gcc-15-20250406" ARCH=ia64
CROSS_COMPILE=ia64-linux- all
[...]
  AR      drivers/cdrom/built-in.a
  CC      kernel/kallsyms.o
  CC [M]  drivers/cdrom/cdrom.o
[...]
```

[1]:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=b39d5fad621c25812fb764e3a8808bab3f2fe774

****

Also Sergei's test code from [2] does compile with gcc-15-20240623 and
gcc-16-20250810:

```
$ /opt/gcc-16-20250810-nolibc/ia64-linux/bin/ia64-linux-gcc -O2 -c feat.c -o
bug.o  -Wall
feat.c: In function 'dccp_feat_signal_nn_change_feat':
feat.c:39:17: warning: 'entry_0' may be used uninitialized
[-Wmaybe-uninitialized]
   39 |     if (entry_0 == dccp_feat_list_lookup_feat_num &&
      |         ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
feat.c:35:8: note: 'entry_0' was declared here
   35 |   char entry_0;
      |        ^~~~~~~

$ /opt/gcc-16-20250810-nolibc/ia64-linux/bin/ia64-linux-gcc -O3 -c feat.c -o
bug.o  -Wall
<DITO>

$ /opt/gcc-15-20240623-nolibc/ia64-linux/bin/ia64-linux-gcc -O2 -c feat.c -o
bug.o  -Wall
<DITO>

$ /opt/gcc-15-20240623-nolibc/ia64-linux/bin/ia64-linux-gcc -O3 -c feat.c -o
bug.o  -Wall
<DITO>
```

[2]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87281#c12

I don't know what gcc command line is needed to reproduce Joseph's test, but if
the other tests are testing for the same issue, the problem seems to be gone or
latent again.

Reply via email to