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

            Bug ID: 81209
           Summary: [7/8 Regression] -fsanitize=undefined ICE on darwin
           Product: gcc
           Version: 8.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,
                    iains at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at 
gcc dot gnu.org,
                    marxin at gcc dot gnu.org, ro at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-apple-darwin16
            Target: x86_64-apple-darwin16
             Build: x86_64-apple-darwin16

The test is still failing on darwin (r249645):

FAIL: g++.dg/ubsan/pr81125.C   -O0  (internal compiler error)
FAIL: g++.dg/ubsan/pr81125.C   -O0  (test for excess errors)
FAIL: g++.dg/ubsan/pr81125.C   -O1  (internal compiler error)
FAIL: g++.dg/ubsan/pr81125.C   -O1  (test for excess errors)
FAIL: g++.dg/ubsan/pr81125.C   -O2  (internal compiler error)
FAIL: g++.dg/ubsan/pr81125.C   -O2  (test for excess errors)
FAIL: g++.dg/ubsan/pr81125.C   -O2 -flto  (internal compiler error)
FAIL: g++.dg/ubsan/pr81125.C   -O2 -flto  (test for excess errors)
FAIL: g++.dg/ubsan/pr81125.C   -O2 -flto -flto-partition=none  (internal
compiler error)
FAIL: g++.dg/ubsan/pr81125.C   -O2 -flto -flto-partition=none  (test for excess
errors)
FAIL: g++.dg/ubsan/pr81125.C   -O3 -g  (internal compiler error)
FAIL: g++.dg/ubsan/pr81125.C   -O3 -g  (test for excess errors)

With trunk the ICE is

/opt/gcc/_clean/gcc/testsuite/g++.dg/ubsan/pr81125.C:19:14: internal compiler
error: in gimple_add_tmp_var, at gimplify.c:716
   long b = a % c;
            ~~^~~

With gcc-7 it is

/opt/gcc/_clean/gcc/testsuite/g++.dg/ubsan/pr81125.C:19:14: internal compiler
error: in make_decl_rtl, at varasm.c:1311
   long b = a % c;
            ~~^~~

Reply via email to