[Bug sanitizer/88426] Compiler crash if use special code with command line switch -fsanitize=float-cast-overflow

2018-12-09 Thread akaras at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88426

--- Comment #1 from Andrei Karas  ---
Created attachment 45194
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45194=edit
crash log

[Bug sanitizer/88426] New: Compiler crash if use special code with command line switch -fsanitize=float-cast-overflow

2018-12-09 Thread akaras at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88426

Bug ID: 88426
   Summary: Compiler crash if use special code with command line
switch -fsanitize=float-cast-overflow
   Product: gcc
   Version: 8.2.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: sanitizer
  Assignee: unassigned at gcc dot gnu.org
  Reporter: akaras at inbox dot ru
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, marxin at 
gcc dot gnu.org
  Target Milestone: ---

Created attachment 45193
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45193=edit
code sample

GCC crashing if try to compile attached code with command:

gcc -S -fsanitize=float-cast-overflow crash.c

Issue can be reproduced on gcc (GCC) 8.2.1 20181209
and debian unstable gcc-8 package.