[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    [Bug sanitizer/69099] New: ICE when compiling gcc.dg/atomic/c11-atomic-exec-2.c with -fsanitize=floa
From:       "dominiq at lps dot ens.fr" <gcc-bugzilla () gcc ! gnu ! org>
Date:       2015-12-31 10:49:58
Message-ID: bug-69099-4 () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]

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

            Bug ID: 69099
           Summary: ICE when compiling gcc.dg/atomic/c11-atomic-exec-2.c
                    with -fsanitize=float-cast-overflow
           Product: gcc
           Version: 6.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,
                    mpolacek at gcc dot gnu.org
  Target Milestone: ---

Compiling gcc.dg/atomic/c11-atomic-exec-2.c with -fsanitize=float-cast-overflow
gives the ICE

/opt/gcc/_clean/gcc/testsuite/gcc.dg/atomic/c11-atomic-exec-2.c: In function
'test_mult':
/opt/gcc/_clean/gcc/testsuite/gcc.dg/atomic/c11-atomic-exec-2.c:71:60: internal
compiler error: in gimplify_expr, at gimplify.c:10845
   TEST_COMPOUND_ARITH (CMPLX (1.5, 2.5), CMPLX (3.5, 4.5), *);
                                                            ^

/opt/gcc/_clean/gcc/testsuite/gcc.dg/atomic/c11-atomic-exec-2.c:15:14: note: in
definition of macro 'TEST_COMPOUND'
       if ((a OP##= (RHSVAL)) != (TYPE) ((TYPE) (LHSVAL) OP (RHSVAL))) \
              ^~

/opt/gcc/_clean/gcc/testsuite/gcc.dg/atomic/c11-atomic-exec-2.c:71:3: note: in
expansion of macro 'TEST_COMPOUND_ARITH'
   TEST_COMPOUND_ARITH (CMPLX (1.5, 2.5), CMPLX (3.5, 4.5), *);
   ^~~~~~~~~~~~~~~~~~~


/opt/gcc/_clean/gcc/testsuite/gcc.dg/atomic/c11-atomic-exec-2.c:71:60: internal
compiler error: Abort trap: 6
   TEST_COMPOUND_ARITH (CMPLX (1.5, 2.5), CMPLX (3.5, 4.5), *);
                                                            ^

/opt/gcc/_clean/gcc/testsuite/gcc.dg/atomic/c11-atomic-exec-2.c:15:14: note: in
definition of macro 'TEST_COMPOUND'
       if ((a OP##= (RHSVAL)) != (TYPE) ((TYPE) (LHSVAL) OP (RHSVAL))) \
              ^~

/opt/gcc/_clean/gcc/testsuite/gcc.dg/atomic/c11-atomic-exec-2.c:71:3: note: in
expansion of macro 'TEST_COMPOUND_ARITH'
   TEST_COMPOUND_ARITH (CMPLX (1.5, 2.5), CMPLX (3.5, 4.5), *);
   ^~~~~~~~~~~~~~~~~~~

gcc: internal compiler error: Abort trap: 6 (program cc1)

with 5.3.0 and trunk (6.0).=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic