public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/59139] New: internal compiler error: in get_val_for, at tree-ssa-loop-niter.c:2267
@ 2013-11-14 23:13 regehr at cs dot utah.edu
  2013-11-21 14:46 ` [Bug tree-optimization/59139] [4.7/4.8/4.9 Regression] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: regehr at cs dot utah.edu @ 2013-11-14 23:13 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59139

            Bug ID: 59139
           Summary: internal compiler error: in get_val_for, at
                    tree-ssa-loop-niter.c:2267
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: regehr at cs dot utah.edu

[regehr@imp test]$ gcc -O3 -c -Wall ./work20/reduce_55RZFl/small.c
./work20/reduce_55RZFl/small.c: In function ‘fn2’:
./work20/reduce_55RZFl/small.c:4:6: internal compiler error: in get_val_for, at
tree-ssa-loop-niter.c:2267
 void fn2() {
      ^
0xafe7c9 get_val_for
    /users/regehr/z/compiler-source/gcc/gcc/tree-ssa-loop-niter.c:2267
0xb0162b loop_niter_by_eval(loop*, edge_def*)
    /users/regehr/z/compiler-source/gcc/gcc/tree-ssa-loop-niter.c:2335
0xb01934 find_loop_niter_by_eval(loop*, edge_def**)
    /users/regehr/z/compiler-source/gcc/gcc/tree-ssa-loop-niter.c:2394
0xae4c5f canonicalize_loop_induction_variables
    /users/regehr/z/compiler-source/gcc/gcc/tree-ssa-loop-ivcanon.c:929
0xae682b canonicalize_induction_variables()
    /users/regehr/z/compiler-source/gcc/gcc/tree-ssa-loop-ivcanon.c:998
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.
[regehr@imp test]$ cat ./work20/reduce_55RZFl/small.c
int a, b, c, d, e;
int fn1(p1, p2) { return p2 == 0 ? p1 : 1 % p2; }

void fn2() {
  c = 0;
  for (;; c = (unsigned short)c) {
    b = 2;
    for (; b; b = a) {
      e = fn1(2, c && 1);
      d = c == 0 ? e : c;
      if (d)
        return;
    }
  }
}
[regehr@imp test]$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/mnt/local/randomtest/compiler-install/gcc-r204770-install/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /users/regehr/z/compiler-source/gcc/configure
--prefix=/users/regehr/z/compiler-install/gcc-r204770-install
--enable-languages=c,c++ --enable-multilib
Thread model: posix
gcc version 4.9.0 20131114 (experimental) (GCC)
>From gcc-bugs-return-434647-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 14 23:36:58 2013
Return-Path: <gcc-bugs-return-434647-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25261 invoked by alias); 14 Nov 2013 23:36:58 -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 25244 invoked by uid 48); 14 Nov 2013 23:36:55 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/59131] Compiler segfaults while generating code to save local variables in transactional section
Date: Thu, 14 Nov 2013 23:36:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.7.3
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: WAITING
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: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-59131-4-dFuUGRVD12@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59131-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59131-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: 2013-11/txt/msg01424.txt.bz2
Content-length: 504

http://gcc.gnu.org/bugzilla/show_bug.cgi?idY131

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2013-11-14
     Ever confirmed|0                           |1

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Nothing is attached.


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

end of thread, other threads:[~2014-03-17 14:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-14 23:13 [Bug c/59139] New: internal compiler error: in get_val_for, at tree-ssa-loop-niter.c:2267 regehr at cs dot utah.edu
2013-11-21 14:46 ` [Bug tree-optimization/59139] [4.7/4.8/4.9 Regression] " rguenth at gcc dot gnu.org
2013-11-22 11:05 ` rguenth at gcc dot gnu.org
2013-12-02 15:43 ` rguenth at gcc dot gnu.org
2013-12-02 15:43 ` rguenth at gcc dot gnu.org
2013-12-02 15:44 ` [Bug tree-optimization/59139] [4.7 " rguenth at gcc dot gnu.org
2014-03-17 14:39 ` rguenth at gcc dot gnu.org
2014-03-17 14:40 ` rguenth 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).