public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/63520] New: ICE: in get_biv_step, at loop-iv.c:824 with -fsanitize=undefined on ppc64
@ 2014-10-13  6:05 trippels at gcc dot gnu.org
  2014-11-18 10:20 ` [Bug sanitizer/63520] " trippels at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-10-13  6:05 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 63520
           Summary: ICE: in get_biv_step, at loop-iv.c:824 with
                    -fsanitize=undefined on ppc64
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
                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: powerpc64-unknown-linux-gnu

trippels@gcc1-power7 libdecnumber % cat decNumber.i
int a;
void
fn1 (void)
{
  for (;;)
    {
      if (a == 1)
        break;
      a -= 1;
    }
}

trippels@gcc1-power7 libdecnumber % gcc -c -fsanitize=undefined -O2 decNumber.i
decNumber.i: In function ‘fn1’:
decNumber.i:11:1: internal compiler error: in get_biv_step, at loop-iv.c:824
 }
 ^
0x105a9b13 get_biv_step
        ../../gcc/gcc/loop-iv.c:824
0x105a9b13 iv_analyze_biv
        ../../gcc/gcc/loop-iv.c:913
0x105a9f8b iv_analyze_op
        ../../gcc/gcc/loop-iv.c:1189
0x105a9e6f iv_analyze_op
        ../../gcc/gcc/loop-iv.c:1159
0x105aa2cb iv_analyze_expr(rtx_insn*, rtx_def*, machine_mode, rtx_iv*)
        ../../gcc/gcc/loop-iv.c:969
0x105aa3d3 iv_analyze_expr(rtx_insn*, rtx_def*, machine_mode, rtx_iv*)
        ../../gcc/gcc/loop-iv.c:1025
0x105aabeb iv_analyze_def
        ../../gcc/gcc/loop-iv.c:1120
0x105a9df3 iv_analyze_op
        ../../gcc/gcc/loop-iv.c:1191
0x105ab30b iv_number_of_iterations
        ../../gcc/gcc/loop-iv.c:2387
0x105ab30b check_simple_exit
        ../../gcc/gcc/loop-iv.c:2950
0x105ab30b find_simple_exit(loop*, niter_desc*)
        ../../gcc/gcc/loop-iv.c:2975
0x105ac97f get_simple_loop_desc(loop*)
        ../../gcc/gcc/loop-iv.c:3056
0x10d8e99f doloop_optimize
        ../../gcc/gcc/loop-doloop.c:617
0x10d8e99f doloop_optimize_loops()
        ../../gcc/gcc/loop-doloop.c:745
0x1059f253 execute
        ../../gcc/gcc/loop-init.c:643
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
>From gcc-bugs-return-463885-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 13 06:54:22 2014
Return-Path: <gcc-bugs-return-463885-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 24046 invoked by alias); 13 Oct 2014 06:54:21 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 23986 invoked by uid 48); 13 Oct 2014 06:54:15 -0000
From: "olegendo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/53513] [SH] Add support for fschg and fpchg insns and improve fenv support
Date: Mon, 13 Oct 2014 06:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 4.8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: olegendo at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-53513-4-xYbvNtAPYf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-53513-4@http.gcc.gnu.org/bugzilla/>
References: <bug-53513-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-10/txt/msg00906.txt.bz2
Content-length: 4510

https://gcc.gnu.org/bugzilla/show_bug.cgi?idS513

--- Comment #18 from Oleg Endo <olegendo at gcc dot gnu.org> ---
(In reply to Oleg Endo from comment #15)
> Created attachment 33691 [details]
> a possible patch
>
> The previous patch was buggy, it always generated a PR toggle sequence, even
> if a mode should be set directly.

I've tested the patch, there are some new failures:

-m4 -mb:
FAIL: g++.dg/torture/type-generic-1.C   -O0  execution test
FAIL: gcc.c-torture/execute/builtins/complex-1.c execution,  -O0
FAIL: gcc.c-torture/execute/builtins/complex-1.c execution,  -Og -g
FAIL: gcc.c-torture/execute/complex-6.c   -O0  execution test
FAIL: gcc.c-torture/execute/gofast.c   -O0  execution test
FAIL: gcc.c-torture/execute/ieee/20010114-2.c execution,  -O0
FAIL: gcc.c-torture/execute/ieee/20010114-2.c execution,  -O1
FAIL: gcc.c-torture/execute/ieee/20010114-2.c execution,  -Og -g
FAIL: gcc.c-torture/execute/ieee/20030331-1.c execution,  -O0
FAIL: gcc.c-torture/execute/ieee/copysign1.c execution,  -O0
FAIL: gcc.c-torture/execute/ieee/mzero3.c execution,  -O0
FAIL: gcc.dg/torture/type-generic-1.c   -O0  execution test

-m4 -ml:
FAIL: g++.dg/torture/type-generic-1.C   -O0  execution test
FAIL: g++.dg/torture/type-generic-1.C   -O1  execution test
FAIL: g++.dg/torture/type-generic-1.C   -O2  execution test
FAIL: g++.dg/torture/type-generic-1.C   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  execution test
FAIL: g++.dg/torture/type-generic-1.C   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  execution test
FAIL: g++.dg/torture/type-generic-1.C   -O3 -fomit-frame-pointer  execution
test
FAIL: g++.dg/torture/type-generic-1.C   -O3 -g  execution test
FAIL: g++.dg/torture/type-generic-1.C   -Os  execution test
FAIL: gcc.c-torture/execute/builtins/complex-1.c execution,  -O0
FAIL: gcc.c-torture/execute/builtins/complex-1.c execution,  -Og -g
FAIL: gcc.c-torture/execute/complex-6.c   -O0  execution test
FAIL: gcc.c-torture/execute/conversion.c   -O0  execution test
FAIL: gcc.c-torture/execute/gofast.c   -O0  execution test
FAIL: gcc.c-torture/execute/ieee/20010114-2.c execution,  -O0
FAIL: gcc.c-torture/execute/ieee/20010114-2.c execution,  -O1
FAIL: gcc.c-torture/execute/ieee/20010114-2.c execution,  -Og -g
FAIL: gcc.c-torture/execute/ieee/20030331-1.c execution,  -O0
FAIL: gcc.c-torture/execute/ieee/copysign1.c execution,  -O0
FAIL: gcc.c-torture/execute/ieee/mzero3.c execution,  -O0
FAIL: gcc.dg/pr28796-2.c execution test
FAIL: gcc.dg/torture/fp-int-convert-float.c   -O0  execution test
FAIL: gcc.dg/torture/fp-int-convert-float.c   -O1  execution test
FAIL: gcc.dg/torture/fp-int-convert-float.c   -O2  execution test
FAIL: gcc.dg/torture/fp-int-convert-float.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  execution test
FAIL: gcc.dg/torture/fp-int-convert-float.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  execution test
FAIL: gcc.dg/torture/fp-int-convert-float.c   -O3 -fomit-frame-pointer
execution test
FAIL: gcc.dg/torture/fp-int-convert-float.c   -O3 -g  execution test
FAIL: gcc.dg/torture/fp-int-convert-float.c   -Os  execution test
FAIL: gcc.dg/torture/type-generic-1.c   -O0  execution test
FAIL: gcc.dg/torture/type-generic-1.c   -O1  execution test
FAIL: gcc.dg/torture/type-generic-1.c   -O2  execution test
FAIL: gcc.dg/torture/type-generic-1.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  execution test
FAIL: gcc.dg/torture/type-generic-1.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  execution test
FAIL: gcc.dg/torture/type-generic-1.c   -O3 -fomit-frame-pointer  execution
test
FAIL: gcc.dg/torture/type-generic-1.c   -O3 -g  execution test
FAIL: gcc.dg/torture/type-generic-1.c   -Os  execution test
FAIL: gcc.dg/torture/vec-cvt-1.c   -O0  execution test
FAIL: gcc.dg/torture/vec-cvt-1.c   -O1  execution test
FAIL: gcc.dg/torture/vec-cvt-1.c   -O2  execution test
FAIL: gcc.dg/torture/vec-cvt-1.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  execution test
FAIL: gcc.dg/torture/vec-cvt-1.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  execution test
FAIL: gcc.dg/torture/vec-cvt-1.c   -O3 -fomit-frame-pointer  execution test
FAIL: gcc.dg/torture/vec-cvt-1.c   -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  execution test
FAIL: gcc.dg/torture/vec-cvt-1.c   -O3 -fomit-frame-pointer -funroll-loops
execution test
FAIL: gcc.dg/torture/vec-cvt-1.c   -O3 -g  execution test
FAIL: gcc.dg/torture/vec-cvt-1.c   -Os  execution test


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-11-19 12:07 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-13  6:05 [Bug sanitizer/63520] New: ICE: in get_biv_step, at loop-iv.c:824 with -fsanitize=undefined on ppc64 trippels at gcc dot gnu.org
2014-11-18 10:20 ` [Bug sanitizer/63520] " trippels at gcc dot gnu.org
2014-11-18 10:24 ` mpolacek at gcc dot gnu.org
2014-11-18 13:58 ` trippels at gcc dot gnu.org
2014-11-18 14:46 ` jakub at gcc dot gnu.org
2014-11-18 15:26 ` trippels at gcc dot gnu.org
2014-11-18 16:10 ` trippels at gcc dot gnu.org
2014-11-18 16:14 ` jakub at gcc dot gnu.org
2014-11-18 16:26 ` trippels at gcc dot gnu.org
2014-11-18 16:28 ` mpolacek at gcc dot gnu.org
2014-11-18 16:42 ` trippels at gcc dot gnu.org
2014-11-18 16:54 ` trippels at gcc dot gnu.org
2014-11-19  9:49 ` jakub at gcc dot gnu.org
2014-11-19 12:07 ` trippels at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).