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

            Bug ID: 78541
           Summary: [7 Regression] ICE when compiling
                    libquadmath/printf/printf_fp.c with -fsanitize=address
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dominiq at lps dot ens.fr
                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
  Target Milestone: ---

Created attachment 40156
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40156&action=edit
Preprocessed file

Compiling libquadmath/printf/printf_fp.c with -fsanitize=address gives the
following ICE:

% gfc ~/Desktop/printf_fp.i -fsanitize=address -c
../../../work/libquadmath/printf/printf_fp.c: In function
'__quadmath_printf_fp':
../../../work/libquadmath/printf/printf_fp.c:127:1: internal compiler error: in
asan_expand_mark_ifn, at asan.c:2716

../../../work/libquadmath/printf/printf_fp.c:127:1: internal compiler error:
Abort trap: 6

The code compiles with revision r240271 (2016-09-20), but not with r241924
(2016-11-07) and gcc has to be configured with --enable-checking=yes. The
culprit could be r241896.

Reply via email to