public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/104028] New: M68k: Error: value -16034 out of range
@ 2022-01-14 10:22 giulio.benetti at benettiengineering dot com
  2022-01-14 10:25 ` [Bug c/104028] " giulio.benetti at benettiengineering dot com
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: giulio.benetti at benettiengineering dot com @ 2022-01-14 10:22 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104028
           Summary: M68k: Error: value -16034 out of range
           Product: gcc
           Version: 10.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: giulio.benetti at benettiengineering dot com
  Target Milestone: ---

When building package sg3_utils on buildroot we get this error:
```
/home/peko/autobuild/instance-0/output-1/host/bin/m68k-linux-gcc
-DHAVE_CONFIG_H -I. -I..  -iquote ../include -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -Wall -W  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64  -Os -g2  -fno-dwarf2-cfi-asm  -Wl,-elf2flt=-r -static
-c -o sg_dd.o sg_dd.c
/tmp/cccfKmZB.s: Assembler messages:
/tmp/cccfKmZB.s:17093: Error: value -16034 out of range
/tmp/cccfKmZB.s:17093: Error: value of -16034 too large for field of 1 byte at
23149
make[3]: *** [Makefile:1176: sg_vpd.o] Error 1
```

To reproduce it:
```
# git clone git://git.busybox.net/buildroot
# cd buildroot
# git checkout feb9185fc185c1f76e3789b0dc521e3cf98c1ebb
# wget -O .config
http://autobuild.buildroot.net/results/c49300d12a209b18f41d389f092324592b881277/config
# make olddefconfig && make
```

I'm going to add the preprocessed files.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug c/104028] M68k: Error: value -16034 out of range
  2022-01-14 10:22 [Bug c/104028] New: M68k: Error: value -16034 out of range giulio.benetti at benettiengineering dot com
@ 2022-01-14 10:25 ` giulio.benetti at benettiengineering dot com
  2022-01-14 10:25 ` giulio.benetti at benettiengineering dot com
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: giulio.benetti at benettiengineering dot com @ 2022-01-14 10:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Giulio Benetti <giulio.benetti at benettiengineering dot com> ---
Created attachment 52188
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52188&action=edit
Pre-processed sg_dd.c(sg_dd.i)

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug c/104028] M68k: Error: value -16034 out of range
  2022-01-14 10:22 [Bug c/104028] New: M68k: Error: value -16034 out of range giulio.benetti at benettiengineering dot com
  2022-01-14 10:25 ` [Bug c/104028] " giulio.benetti at benettiengineering dot com
@ 2022-01-14 10:25 ` giulio.benetti at benettiengineering dot com
  2022-01-14 13:27 ` [Bug target/104028] " marxin at gcc dot gnu.org
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: giulio.benetti at benettiengineering dot com @ 2022-01-14 10:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Giulio Benetti <giulio.benetti at benettiengineering dot com> ---
Created attachment 52189
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52189&action=edit
Pre-processed sg_dd.c(sg_dd.s)

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/104028] M68k: Error: value -16034 out of range
  2022-01-14 10:22 [Bug c/104028] New: M68k: Error: value -16034 out of range giulio.benetti at benettiengineering dot com
  2022-01-14 10:25 ` [Bug c/104028] " giulio.benetti at benettiengineering dot com
  2022-01-14 10:25 ` giulio.benetti at benettiengineering dot com
@ 2022-01-14 13:27 ` marxin at gcc dot gnu.org
  2022-01-14 13:33 ` marxin at gcc dot gnu.org
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-01-14 13:27 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needs-reduction
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Reducing that right now..

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/104028] M68k: Error: value -16034 out of range
  2022-01-14 10:22 [Bug c/104028] New: M68k: Error: value -16034 out of range giulio.benetti at benettiengineering dot com
                   ` (2 preceding siblings ...)
  2022-01-14 13:27 ` [Bug target/104028] " marxin at gcc dot gnu.org
@ 2022-01-14 13:33 ` marxin at gcc dot gnu.org
  2022-01-14 22:28 ` giulio.benetti at benettiengineering dot com
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-01-14 13:33 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2022-01-14

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Please provide output of m68k-linux-gcc with -v option.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/104028] M68k: Error: value -16034 out of range
  2022-01-14 10:22 [Bug c/104028] New: M68k: Error: value -16034 out of range giulio.benetti at benettiengineering dot com
                   ` (3 preceding siblings ...)
  2022-01-14 13:33 ` marxin at gcc dot gnu.org
@ 2022-01-14 22:28 ` giulio.benetti at benettiengineering dot com
  2022-01-14 22:28 ` giulio.benetti at benettiengineering dot com
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: giulio.benetti at benettiengineering dot com @ 2022-01-14 22:28 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Giulio Benetti <giulio.benetti at benettiengineering dot com> ---
This is the output log with -v. Now it's built not in parallel and the file
where gcc fails is not sg_dd.c so I'm going to update .i and .s files.

```
Target: m68k-buildroot-uclinux-uclibc
Configured with: ./configure
--prefix=/builds/bootlin/toolchains-builder/build/m68k-coldfire--uclibc--stable-2021.11-1
--sysconfdir=/builds/bootlin/toolchains-builder/build/m68k-coldfire--uclibc--stable-2021.11-1/etc
--enable-static --target=m68k-buildroot-uclinux-uclibc
--with-sysroot=/builds/bootlin/toolchains-builder/build/m68k-coldfire--uclibc--stable-2021.11-1/m68k-buildroot-uclinux-uclibc/sysroot
--enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib
--disable-decimal-float
--with-gmp=/builds/bootlin/toolchains-builder/build/m68k-coldfire--uclibc--stable-2021.11-1
--with-mpc=/builds/bootlin/toolchains-builder/build/m68k-coldfire--uclibc--stable-2021.11-1
--with-mpfr=/builds/bootlin/toolchains-builder/build/m68k-coldfire--uclibc--stable-2021.11-1
--with-pkgversion='Buildroot toolchains.bootlin.com-2021.11-1'
--with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath
--disable-libquadmath-support --disable-libsanitizer --disable-tls
--enable-threads --without-isl --without-cloog --with-cpu=5208
--enable-languages=c,c++,fortran
--with-build-time-tools=/builds/bootlin/toolchains-builder/build/m68k-coldfire--uclibc--stable-2021.11-1/m68k-buildroot-uclinux-uclibc/bin
--disable-shared --disable-libgomp
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 10.3.0 (Buildroot toolchains.bootlin.com-2021.11-1) 
COLLECT_GCC_OPTIONS='-msoft-float' '-mcpu=5208' '-D' 'HAVE_CONFIG_H' '-I' '.'
'-I' '..' '-iquote' '../include' '-D' '_LARGEFILE64_SOURCE' '-D'
'_FILE_OFFSET_BITS=64' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D'
'_FILE_OFFSET_BITS=64' '-Wall' '-Wextra' '-D' '_LARGEFILE_SOURCE' '-D'
'_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-g2'
'-fno-dwarf2-cfi-asm' '-static' '-v' '-save-temps' '-c' '-o' 'sg_vpd.o'

/home/giuliobenetti/br_reproduce/c49300d12a209b18f41d389f092324592b881277/output/host/opt/ext-toolchain/bin/../libexec/gcc/m68k-buildroot-uclinux-uclibc/10.3.0/cc1
-E -quiet -v -I . -I .. -iprefix
/home/giuliobenetti/br_reproduce/c49300d12a209b18f41d389f092324592b881277/output/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/10.3.0/
-isysroot
/home/giuliobenetti/br_reproduce/c49300d12a209b18f41d389f092324592b881277/output/host/m68k-buildroot-uclinux-uclibc/sysroot
-D HAVE_CONFIG_H -D _LARGEFILE64_SOURCE -D _FILE_OFFSET_BITS=64 -D
_LARGEFILE_SOURCE -D _LARGEFILE64_SOURCE -D _FILE_OFFSET_BITS=64 -D
_LARGEFILE_SOURCE -D _LARGEFILE64_SOURCE -D _FILE_OFFSET_BITS=64 -iquote
../include sg_vpd.c -msoft-float -mcpu=5208 -Wall -Wextra -fno-dwarf2-cfi-asm
-g2 -fworking-directory -Os -fpch-preprocess -o sg_vpd.i
ignoring duplicate directory
"/home/giuliobenetti/br_reproduce/c49300d12a209b18f41d389f092324592b881277/output/host/opt/ext-toolchain/bin/../lib/gcc/../../lib/gcc/m68k-buildroot-uclinux-uclibc/10.3.0/include"
ignoring nonexistent directory
"/home/giuliobenetti/br_reproduce/c49300d12a209b18f41d389f092324592b881277/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/local/include"
ignoring duplicate directory
"/home/giuliobenetti/br_reproduce/c49300d12a209b18f41d389f092324592b881277/output/host/opt/ext-toolchain/bin/../lib/gcc/../../lib/gcc/m68k-buildroot-uclinux-uclibc/10.3.0/include-fixed"
ignoring duplicate directory
"/home/giuliobenetti/br_reproduce/c49300d12a209b18f41d389f092324592b881277/output/host/opt/ext-toolchain/bin/../lib/gcc/../../lib/gcc/m68k-buildroot-uclinux-uclibc/10.3.0/../../../../m68k-buildroot-uclinux-uclibc/include"
#include "..." search starts here:
 ../include
#include <...> search starts here:
 .
 ..

/home/giuliobenetti/br_reproduce/c49300d12a209b18f41d389f092324592b881277/output/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/10.3.0/include

/home/giuliobenetti/br_reproduce/c49300d12a209b18f41d389f092324592b881277/output/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/10.3.0/include-fixed

/home/giuliobenetti/br_reproduce/c49300d12a209b18f41d389f092324592b881277/output/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/10.3.0/../../../../m68k-buildroot-uclinux-uclibc/include

/home/giuliobenetti/br_reproduce/c49300d12a209b18f41d389f092324592b881277/output/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include
End of search list.
COLLECT_GCC_OPTIONS='-msoft-float' '-mcpu=5208' '-D' 'HAVE_CONFIG_H' '-I' '.'
'-I' '..' '-iquote' '../include' '-D' '_LARGEFILE64_SOURCE' '-D'
'_FILE_OFFSET_BITS=64' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D'
'_FILE_OFFSET_BITS=64' '-Wall' '-Wextra' '-D' '_LARGEFILE_SOURCE' '-D'
'_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-g2'
'-fno-dwarf2-cfi-asm' '-static' '-v' '-save-temps' '-c' '-o' 'sg_vpd.o'

/home/giuliobenetti/br_reproduce/c49300d12a209b18f41d389f092324592b881277/output/host/opt/ext-toolchain/bin/../libexec/gcc/m68k-buildroot-uclinux-uclibc/10.3.0/cc1
-fpreprocessed sg_vpd.i -quiet -dumpbase sg_vpd.c -msoft-float -mcpu=5208
-auxbase-strip sg_vpd.o -g2 -Os -Wall -Wextra -version -fno-dwarf2-cfi-asm -o
sg_vpd.s
GNU C17 (Buildroot toolchains.bootlin.com-2021.11-1) version 10.3.0
(m68k-buildroot-uclinux-uclibc)
        compiled by GNU C version 4.9.2, GMP version 6.2.1, MPFR version 4.1.0,
MPC version 1.2.1, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C17 (Buildroot toolchains.bootlin.com-2021.11-1) version 10.3.0
(m68k-buildroot-uclinux-uclibc)
        compiled by GNU C version 4.9.2, GMP version 6.2.1, MPFR version 4.1.0,
MPC version 1.2.1, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 398ace21b84f90bbc3bb6d683e915903
COLLECT_GCC_OPTIONS='-msoft-float' '-mcpu=5208' '-D' 'HAVE_CONFIG_H' '-I' '.'
'-I' '..' '-iquote' '../include' '-D' '_LARGEFILE64_SOURCE' '-D'
'_FILE_OFFSET_BITS=64' '-D' '_LARGEFILE_SOURCE' '-D' '_LARGEFILE64_SOURCE' '-D'
'_FILE_OFFSET_BITS=64' '-Wall' '-Wextra' '-D' '_LARGEFILE_SOURCE' '-D'
'_LARGEFILE64_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-Os' '-g2'
'-fno-dwarf2-cfi-asm' '-static' '-v' '-save-temps' '-c' '-o' 'sg_vpd.o'

/home/giuliobenetti/br_reproduce/c49300d12a209b18f41d389f092324592b881277/output/host/opt/ext-toolchain/bin/../lib/gcc/m68k-buildroot-uclinux-uclibc/10.3.0/../../../../m68k-buildroot-uclinux-uclibc/bin/as
-mno-float -mcpu=5208 -o sg_vpd.o sg_vpd.s
sg_vpd.s: Assembler messages:
sg_vpd.s:17093: Error: value -16034 out of range
sg_vpd.s:17093: Error: value of -16034 too large for field of 1 byte at 23149
```

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/104028] M68k: Error: value -16034 out of range
  2022-01-14 10:22 [Bug c/104028] New: M68k: Error: value -16034 out of range giulio.benetti at benettiengineering dot com
                   ` (4 preceding siblings ...)
  2022-01-14 22:28 ` giulio.benetti at benettiengineering dot com
@ 2022-01-14 22:28 ` giulio.benetti at benettiengineering dot com
  2022-01-14 22:29 ` giulio.benetti at benettiengineering dot com
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: giulio.benetti at benettiengineering dot com @ 2022-01-14 22:28 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Giulio Benetti <giulio.benetti at benettiengineering dot com> ---
Created attachment 52199
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52199&action=edit
Pre-processed sg_vpd.c(sg_vpd.i)

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/104028] M68k: Error: value -16034 out of range
  2022-01-14 10:22 [Bug c/104028] New: M68k: Error: value -16034 out of range giulio.benetti at benettiengineering dot com
                   ` (5 preceding siblings ...)
  2022-01-14 22:28 ` giulio.benetti at benettiengineering dot com
@ 2022-01-14 22:29 ` giulio.benetti at benettiengineering dot com
  2022-01-14 22:30 ` giulio.benetti at benettiengineering dot com
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: giulio.benetti at benettiengineering dot com @ 2022-01-14 22:29 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Giulio Benetti <giulio.benetti at benettiengineering dot com> ---
Created attachment 52200
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52200&action=edit
Pre-processed sg_vpd.c(sg_vpd.s)

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/104028] M68k: Error: value -16034 out of range
  2022-01-14 10:22 [Bug c/104028] New: M68k: Error: value -16034 out of range giulio.benetti at benettiengineering dot com
                   ` (6 preceding siblings ...)
  2022-01-14 22:29 ` giulio.benetti at benettiengineering dot com
@ 2022-01-14 22:30 ` giulio.benetti at benettiengineering dot com
  2022-01-14 23:26 ` schwab@linux-m68k.org
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: giulio.benetti at benettiengineering dot com @ 2022-01-14 22:30 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Giulio Benetti <giulio.benetti at benettiengineering dot com> ---
Note that bug is still present in gcc 11.2.0 so it's probable it's still in
master branch.

Thank you for taking care.
Best regards

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/104028] M68k: Error: value -16034 out of range
  2022-01-14 10:22 [Bug c/104028] New: M68k: Error: value -16034 out of range giulio.benetti at benettiengineering dot com
                   ` (7 preceding siblings ...)
  2022-01-14 22:30 ` giulio.benetti at benettiengineering dot com
@ 2022-01-14 23:26 ` schwab@linux-m68k.org
  2022-01-15  1:25 ` giulio.benetti at benettiengineering dot com
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: schwab@linux-m68k.org @ 2022-01-14 23:26 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Andreas Schwab <schwab@linux-m68k.org> ---
It's a duplicated case vector load, where the second one is placed far off from
its table.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/104028] M68k: Error: value -16034 out of range
  2022-01-14 10:22 [Bug c/104028] New: M68k: Error: value -16034 out of range giulio.benetti at benettiengineering dot com
                   ` (8 preceding siblings ...)
  2022-01-14 23:26 ` schwab@linux-m68k.org
@ 2022-01-15  1:25 ` giulio.benetti at benettiengineering dot com
  2022-01-17  9:40 ` marxin at gcc dot gnu.org
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: giulio.benetti at benettiengineering dot com @ 2022-01-15  1:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from Giulio Benetti <giulio.benetti at benettiengineering dot com> ---
Ah, forgot to mention that it builds fine with -O0.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/104028] M68k: Error: value -16034 out of range
  2022-01-14 10:22 [Bug c/104028] New: M68k: Error: value -16034 out of range giulio.benetti at benettiengineering dot com
                   ` (9 preceding siblings ...)
  2022-01-15  1:25 ` giulio.benetti at benettiengineering dot com
@ 2022-01-17  9:40 ` marxin at gcc dot gnu.org
  2022-01-17  9:40 ` marxin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-01-17  9:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #11 from Martin Liška <marxin at gcc dot gnu.org> ---
Reduced test-case:

$ cat pr104028.c
# 1 "" 3
struct {
  _Bool do_force;
  int examine;
  int vpd_pn
} svpd_decode_t10_op;
svpd_decode_t10_sg_fd, svpd_decode_t10_op_1, svpd_decode_t10_op_2;
svpd_decode_t10_rp() {
  _Bool inhex_active = svpd_decode_t10_sg_fd;
  int pn = svpd_decode_t10_op_2;
  if (inhex_active)
    pn = svpd_decode_t10_rp;
  if (!inhex_active && svpd_decode_t10_op_1)
    vpd_fetch_page();
  switch (pn) {
  case 2:
    if (inhex_active)
      sg_ll_inquiry_v2();
  case 181:
    vpd_fetch_page();
  case 182:
    vpd_fetch_page();
  case 183:
    vpd_fetch_page();
  case 184:
    vpd_fetch_page(svpd_decode_t10_op);
  case 185:
    vpd_fetch_page();
  }
}

$ m68k-suse-linux-gcc pr104028.c -c -mcpu=5208 -Os
/tmp/cciKSGSl.s: Assembler messages:
/tmp/cciKSGSl.s:77: Error: value -134 out of range
/tmp/cciKSGSl.s:77: Error: value of ffffff7a too large for field of 1 byte at
000000cf

$ m68k-suse-linux-gcc pr104028.c --version
m68k-suse-linux-gcc (SUSE Linux) 11.2.1 20220103 [revision
d4a1d3c4b377f1d4acb34fe1b55b5088a3f293f6]

we speak about the following instruction:

    77          move.w .L18(%pc,%d2.l),%d0

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/104028] M68k: Error: value -16034 out of range
  2022-01-14 10:22 [Bug c/104028] New: M68k: Error: value -16034 out of range giulio.benetti at benettiengineering dot com
                   ` (10 preceding siblings ...)
  2022-01-17  9:40 ` marxin at gcc dot gnu.org
@ 2022-01-17  9:40 ` marxin at gcc dot gnu.org
  2022-01-22  1:11 ` [Bug target/104028] M68k: Error: value -16034 out of range for switch tables in some cases with optimization law at gcc dot gnu.org
  2024-01-02 12:53 ` mikpelinux at gmail dot com
  13 siblings, 0 replies; 15+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-01-17  9:40 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/104028] M68k: Error: value -16034 out of range for switch tables in some cases with optimization
  2022-01-14 10:22 [Bug c/104028] New: M68k: Error: value -16034 out of range giulio.benetti at benettiengineering dot com
                   ` (11 preceding siblings ...)
  2022-01-17  9:40 ` marxin at gcc dot gnu.org
@ 2022-01-22  1:11 ` law at gcc dot gnu.org
  2024-01-02 12:53 ` mikpelinux at gmail dot com
  13 siblings, 0 replies; 15+ messages in thread
From: law at gcc dot gnu.org @ 2022-01-22  1:11 UTC (permalink / raw)
  To: gcc-bugs

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

Jeffrey A. Law <law at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
                 CC|                            |law at gcc dot gnu.org

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/104028] M68k: Error: value -16034 out of range for switch tables in some cases with optimization
  2022-01-14 10:22 [Bug c/104028] New: M68k: Error: value -16034 out of range giulio.benetti at benettiengineering dot com
                   ` (12 preceding siblings ...)
  2022-01-22  1:11 ` [Bug target/104028] M68k: Error: value -16034 out of range for switch tables in some cases with optimization law at gcc dot gnu.org
@ 2024-01-02 12:53 ` mikpelinux at gmail dot com
  13 siblings, 0 replies; 15+ messages in thread
From: mikpelinux at gmail dot com @ 2024-01-02 12:53 UTC (permalink / raw)
  To: gcc-bugs

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

Mikael Pettersson <mikpelinux at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpelinux at gmail dot com

--- Comment #12 from Mikael Pettersson <mikpelinux at gmail dot com> ---
The reduced test case stopped failing in gcc >= 12 with

# first new commit: [2e96b5f14e4025691b57d2301d71aa6092ed44bc] Backwards jump
threader rewrite with ranger.

but the original test case (sg_vpd.i) still fails with current master.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-01-02 12:53 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-14 10:22 [Bug c/104028] New: M68k: Error: value -16034 out of range giulio.benetti at benettiengineering dot com
2022-01-14 10:25 ` [Bug c/104028] " giulio.benetti at benettiengineering dot com
2022-01-14 10:25 ` giulio.benetti at benettiengineering dot com
2022-01-14 13:27 ` [Bug target/104028] " marxin at gcc dot gnu.org
2022-01-14 13:33 ` marxin at gcc dot gnu.org
2022-01-14 22:28 ` giulio.benetti at benettiengineering dot com
2022-01-14 22:28 ` giulio.benetti at benettiengineering dot com
2022-01-14 22:29 ` giulio.benetti at benettiengineering dot com
2022-01-14 22:30 ` giulio.benetti at benettiengineering dot com
2022-01-14 23:26 ` schwab@linux-m68k.org
2022-01-15  1:25 ` giulio.benetti at benettiengineering dot com
2022-01-17  9:40 ` marxin at gcc dot gnu.org
2022-01-17  9:40 ` marxin at gcc dot gnu.org
2022-01-22  1:11 ` [Bug target/104028] M68k: Error: value -16034 out of range for switch tables in some cases with optimization law at gcc dot gnu.org
2024-01-02 12:53 ` mikpelinux at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).