https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63361
Bug ID: 63361 Summary: Test case c-c++-common/ubsan/float-cast-overflow-1.c fails on Pentium2 Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: bernd.edlinger at hotmail dot de CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org Rev: 215226 FAIL: c-c++-common/ubsan/float-cast-overflow-1.c -O0 output pattern test, is (/home/ed/gnu/gcc-build/gcc/testsuite/gcc/float-cast-overflow-1.exe+0x8048604): runtime error: value -133 is outside the range of representable values of type 'signed char' FAIL: c-c++-common/ubsan/float-cast-overflow-1.c -O1 output pattern test, is (/home/ed/gnu/gcc-build/gcc/testsuite/gcc/float-cast-overflow-1.exe+0x80485eb): runtime error: value -133 is outside the range of representable values of type 'signed char' FAIL: c-c++-common/ubsan/float-cast-overflow-1.c -O2 output pattern test, is (/home/ed/gnu/gcc-build/gcc/testsuite/gcc/float-cast-overflow-1.exe+0x804f647): runtime error: value -133 is outside the range of representable values of type 'signed char' FAIL: c-c++-common/ubsan/float-cast-overflow-1.c -O3 -fomit-frame-pointer output pattern test, is (/home/ed/gnu/gcc-build/gcc/testsuite/gcc/float-cast-overflow-1.exe+0x804f647): runtime error: value -133 is outside the range of representable values of type 'signed char' FAIL: c-c++-common/ubsan/float-cast-overflow-1.c -O3 -g output pattern test, is /home/ed/gnu/gcc-trunk/gcc/testsuite/c-c++-common/ubsan/float-cast-overflow-1.c:17: runtime error: value -133 is outside the range of representable values of type 'signed char' FAIL: c-c++-common/ubsan/float-cast-overflow-1.c -Os output pattern test, is (/home/ed/gnu/gcc-build/gcc/testsuite/gcc/float-cast-overflow-1.exe+0x8048505): runtime error: value -133 is outside the range of representable values of type 'signed char' FAIL: c-c++-common/ubsan/float-cast-overflow-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none output pattern test, is (/home/ed/gnu/gcc-build/gcc/testsuite/gcc/float-cast-overflow-1.exe+0x804f647): runtime error: value -133 is outside the range of representable values of type 'signed char' FAIL: c-c++-common/ubsan/float-cast-overflow-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects output pattern test, is (/home/ed/gnu/gcc-build/gcc/testsuite/gcc/float-cast-overflow-1.exe+0x804f657): runtime error: value -133 is outside the range of representable values of type 'signed char' cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 5 model name : Pentium II (Deschutes) stepping : 2 microcode : 0x2a cpu MHz : 448.822 cache size : 512 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pse36 mmx fxsr bogomips : 897.64 clflush size : 32 cache_alignment : 32 address sizes : 36 bits physical, 32 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 5 model name : Pentium II (Deschutes) stepping : 2 microcode : 0x2a cpu MHz : 448.822 cache size : 512 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pse36 mmx fxsr bogomips : 897.67 clflush size : 32 cache_alignment : 32 address sizes : 36 bits physical, 32 bits virtual power management: