public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/58438] New: [4.9 Regression ICE: in check_rtl, at lra.c:2036
@ 2013-09-16 22:46 markus at trippelsdorf dot de
  2013-09-16 22:47 ` [Bug rtl-optimization/58438] [4.9 Regression] " markus at trippelsdorf dot de
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: markus at trippelsdorf dot de @ 2013-09-16 22:46 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58438
           Summary: [4.9 Regression ICE: in check_rtl, at lra.c:2036
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: markus at trippelsdorf dot de


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

* [Bug rtl-optimization/58438] [4.9 Regression] ICE: in check_rtl, at lra.c:2036
  2013-09-16 22:46 [Bug rtl-optimization/58438] New: [4.9 Regression ICE: in check_rtl, at lra.c:2036 markus at trippelsdorf dot de
@ 2013-09-16 22:47 ` markus at trippelsdorf dot de
  2013-09-17  4:36 ` mpolacek at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: markus at trippelsdorf dot de @ 2013-09-16 22:47 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
During profiled bootstrap:
/var/tmp/gcc_build_dir/./prev-gcc/xg++ -B/var/tmp/gcc_build_dir/./prev-gcc/
-B/usr/x86_64-pc-linux-gnu/bin/ -nostdinc++
-B/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libs
tdc++-v3/src/.libs
-B/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
-I/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_6
4-pc-linux-gnu
-I/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/include
-I/var/tmp/gcc/libstdc++-v3/libsupc++
-L/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/
libstdc++-v3/src/.libs
-L/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
-c   -march=native -O3 -pipe -fuse-linker-plugin -flto=jobserver -fno-fa
t-lto-objects -frandom-seed=1 -fprofile-generate -fno-lto -DIN_GCC  
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qua
l -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc
-I../../gcc/gcc/. -I../../gcc/gcc
/../include -I../../gcc/gcc/../libcpp/include  -I../../gcc/gcc/../libdecnumber
-I../../gcc/gcc/../libdecnumber/bid -I../libdecnumber
-I../../gcc/gcc/../libbacktrace    ../../
gcc/gcc/tree-ssa-uninit.c -o tree-ssa-uninit.o
../../gcc/gcc/tree-ssa-uninit.c: In function ‘bool
is_use_properly_guarded(gimple, basic_block, gimple, unsigned int,
pointer_set_t*)’:
../../gcc/gcc/tree-ssa-uninit.c:1845:1: internal compiler error: in check_rtl,
at lra.c:2036

Reducing...
>From gcc-bugs-return-429947-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Sep 16 23:05:42 2013
Return-Path: <gcc-bugs-return-429947-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12944 invoked by alias); 16 Sep 2013 23:05:42 -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 12922 invoked by uid 48); 16 Sep 2013 23:05:39 -0000
From: "markus at trippelsdorf dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/58438] [4.9 Regression] ICE: in check_rtl, at lra.c:2036
Date: Mon, 16 Sep 2013 23:05:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: markus at trippelsdorf dot de
X-Bugzilla-Status: UNCONFIRMED
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-58438-4-7efeSBLG1J@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58438-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58438-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-09/txt/msg01187.txt.bz2
Content-length: 991

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

--- Comment #2 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
markus@x4 gcc % cat test.ii
enum gimple_code {};
struct A {
  gimple_code code;
};
struct B {
  A gsbase;
};
int **a;
int b, d, e, f, g, h, i, j, k, l, m, n, o;
gimple_code c, p;
class C {
  virtual unsigned m_fn1();
};
B q;
static int fn1() {
  int r;
  if (k)
    i = 0;
  for (; i; j++) {
    b = c <= 0;
    if (b)
      n = *a[0];
    b = p && c;
    if (b)
      r = *a[0];
    b = q.gsbase.code && c;
    if (b)
      o = *a[0];
    m = o;
    if (e || 1 & r || d || l)
      return 0;
  }
}

class D : C {
  unsigned m_fn1() {
    fn1();
    for (; h; g++)
      for (;; f++)
        ;
  }
};
void fn2() { new D; }

markus@x4 gcc % g++ -c -march=amdfam10 -O3 -fprofile-generate test.ii
test.ii: In member function ‘virtual unsigned int D::m_fn1()’:
test.ii:41:3: internal compiler error: in check_rtl, at lra.c:2036
>From gcc-bugs-return-429948-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Sep 16 23:45:41 2013
Return-Path: <gcc-bugs-return-429948-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7186 invoked by alias); 16 Sep 2013 23:45:41 -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 7135 invoked by uid 48); 16 Sep 2013 23:45:37 -0000
From: "tammy at Cadence dot COM" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/58208] deque<std::string> 32-bit "-O3" bug
Date: Mon, 16 Sep 2013 23:45: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.1
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: tammy at Cadence dot COM
X-Bugzilla-Status: UNCONFIRMED
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-58208-4-s4xduqxnfW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58208-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58208-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-09/txt/msg01188.txt.bz2
Content-length: 512

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

--- Comment #13 from Tammy Hsu <tammy at Cadence dot COM> ---
Hi Mikael,

My last comment probably is not clear enough. The import (testcase) I built on
RHEL 5.5 crashes on RHEL 5.5, but if I ran it on Fedora 19, it works.

So if you take the import you built on CentOS 5.8 (crashes on CentOS 5.8) to
the Fedora 17 system, I think it will run fine.

May be the above information will give you some hint regarding what's the cause
of this issue?

Thanks, Tammy


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

* [Bug rtl-optimization/58438] [4.9 Regression] ICE: in check_rtl, at lra.c:2036
  2013-09-16 22:46 [Bug rtl-optimization/58438] New: [4.9 Regression ICE: in check_rtl, at lra.c:2036 markus at trippelsdorf dot de
  2013-09-16 22:47 ` [Bug rtl-optimization/58438] [4.9 Regression] " markus at trippelsdorf dot de
@ 2013-09-17  4:36 ` mpolacek at gcc dot gnu.org
  2013-09-17  5:07 ` mpolacek at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-09-17  4:36 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-09-17
                 CC|                            |mpolacek at gcc dot gnu.org
   Target Milestone|---                         |4.9.0
     Ever confirmed|0                           |1

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.


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

* [Bug rtl-optimization/58438] [4.9 Regression] ICE: in check_rtl, at lra.c:2036
  2013-09-16 22:46 [Bug rtl-optimization/58438] New: [4.9 Regression ICE: in check_rtl, at lra.c:2036 markus at trippelsdorf dot de
  2013-09-16 22:47 ` [Bug rtl-optimization/58438] [4.9 Regression] " markus at trippelsdorf dot de
  2013-09-17  4:36 ` mpolacek at gcc dot gnu.org
@ 2013-09-17  5:07 ` mpolacek at gcc dot gnu.org
  2013-09-18 18:24 ` vmakarov at gcc dot gnu.org
  2013-09-19  5:52 ` markus at trippelsdorf dot de
  4 siblings, 0 replies; 6+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-09-17  5:07 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vmakarov at gcc dot gnu.org

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with r202630.


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

* [Bug rtl-optimization/58438] [4.9 Regression] ICE: in check_rtl, at lra.c:2036
  2013-09-16 22:46 [Bug rtl-optimization/58438] New: [4.9 Regression ICE: in check_rtl, at lra.c:2036 markus at trippelsdorf dot de
                   ` (2 preceding siblings ...)
  2013-09-17  5:07 ` mpolacek at gcc dot gnu.org
@ 2013-09-18 18:24 ` vmakarov at gcc dot gnu.org
  2013-09-19  5:52 ` markus at trippelsdorf dot de
  4 siblings, 0 replies; 6+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2013-09-18 18:24 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
Author: vmakarov
Date: Wed Sep 18 18:24:49 2013
New Revision: 202714

URL: http://gcc.gnu.org/viewcvs?rev=202714&root=gcc&view=rev
Log:
2013-09-18  Vladimir Makarov  <vmakarov@redhat.com>

    PR rtl-optimization/58438
    * lra.c (lra): Clear lra_optional_reload_pseudos in upper loop.
    * lra-constraints.c (undo_optional_reloads): Keep optional reloads
    from previous subpasses.

2013-09-18  Vladimir Makarov  <vmakarov@redhat.com>

    PR rtl-optimization/58438
    * g++.dg/pr58438.C: New test.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lra-constraints.c
    trunk/gcc/lra.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug rtl-optimization/58438] [4.9 Regression] ICE: in check_rtl, at lra.c:2036
  2013-09-16 22:46 [Bug rtl-optimization/58438] New: [4.9 Regression ICE: in check_rtl, at lra.c:2036 markus at trippelsdorf dot de
                   ` (3 preceding siblings ...)
  2013-09-18 18:24 ` vmakarov at gcc dot gnu.org
@ 2013-09-19  5:52 ` markus at trippelsdorf dot de
  4 siblings, 0 replies; 6+ messages in thread
From: markus at trippelsdorf dot de @ 2013-09-19  5:52 UTC (permalink / raw)
  To: gcc-bugs

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

Markus Trippelsdorf <markus at trippelsdorf dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
Fixed. Thanks.


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

end of thread, other threads:[~2013-09-19  5:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-16 22:46 [Bug rtl-optimization/58438] New: [4.9 Regression ICE: in check_rtl, at lra.c:2036 markus at trippelsdorf dot de
2013-09-16 22:47 ` [Bug rtl-optimization/58438] [4.9 Regression] " markus at trippelsdorf dot de
2013-09-17  4:36 ` mpolacek at gcc dot gnu.org
2013-09-17  5:07 ` mpolacek at gcc dot gnu.org
2013-09-18 18:24 ` vmakarov at gcc dot gnu.org
2013-09-19  5:52 ` markus at trippelsdorf dot de

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).