Re: bug in bit structure compilation

2020-05-14 Thread Jonathan Wakely via Gcc-bugs
I know you've realised the problem here now, but ... This mailing list is for automated mails from our bugzilla database. To report a bug please use bugzilla. Sending email directly to the list will often be ignored, and will never create a bugzilla report. See https://gcc.gnu.org/bugs/ for detai

Re: bug in bit structure compilation

2020-05-14 Thread Andrew Pinski via Gcc-bugs
On Thu, May 14, 2020 at 4:19 PM Geoff Mulligan wrote: > > Version: > gcc -v > Using built-in specs. > COLLECT_GCC=gcc > COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper > OFFLOAD_TARGET_NAMES=nvptx-none > OFFLOAD_TARGET_DEFAULT=1 > Target: x86_64-linux-gnu > Configured with: ../src/

Re: bug in bit structure compilation

2020-05-14 Thread Geoff Mulligan
Obviously I'm an idiot.  signed vs unsigned.  Ugh.  But maybe the compiler should complain about the if test... Geoff On 5/14/20 4:45 PM, Geoff Mulligan wrote: Version: gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_

bug in bit structure compilation

2020-05-14 Thread Geoff Mulligan
Version: gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugu