public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/58447] New: ICE: verify_gimple failed tree-cfg.c:4819
@ 2013-09-17 17:22 dimhen at gmail dot com
  2013-09-18  8:28 ` [Bug tree-optimization/58447] " mpolacek at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: dimhen at gmail dot com @ 2013-09-17 17:22 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58447
           Summary: ICE: verify_gimple failed tree-cfg.c:4819
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dimhen at gmail dot com

Created attachment 30838
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30838&action=edit
testcase

gcc-4.9 rev.202642
Fedora 19/x86_64

ICE with -O3
PASS with -O2

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/gcc_current/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /home/dimhen/src/gcc_current/configure
--prefix=/usr/local/gcc_current --with-multilib-list=m64
--enable-checking=yes,df,fold,rtl,tree --enable-languages=c,c++,lto
--enable-plugin --with-tune=native --with-arch=native
--enable-version-specific-runtime-libs
Thread model: posix
gcc version 4.9.0 20130917 (experimental) [trunk revision 202642] (GCC) 

$ g++ -fpreprocessed -O3 -c SmallVectorTest.ii
SmallVectorTest.ii: In member function ‘void
{anonymous}::Q<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ =
N<{anonymous}::M>]’:
SmallVectorTest.ii:97:43: error: invalid PHI argument
 template <typename gtest_TypeParam_> void Q<gtest_TypeParam_>::TestBody() {
                                           ^
.MEM_22
SmallVectorTest.ii:97:43: error: incompatible types in PHI argument 0
int

void

e_lsm.27_29 = PHI <.MEM_22(3)>
SmallVectorTest.ii:97:43: internal compiler error: verify_gimple failed
0xc69c2d verify_gimple_in_cfg(function*)
    /home/dimhen/src/gcc_current/gcc/tree-cfg.c:4819
0xb4a677 execute_function_todo
    /home/dimhen/src/gcc_current/gcc/passes.c:1833
0xb4add7 execute_todo
    /home/dimhen/src/gcc_current/gcc/passes.c:1866
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-430010-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Sep 17 17:47:23 2013
Return-Path: <gcc-bugs-return-430010-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22604 invoked by alias); 17 Sep 2013 17:28:32 -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 14597 invoked by uid 48); 17 Sep 2013 17:23:57 -0000
From: "bugdal at aerifal dot cx" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/58446] Support for musl libc
Date: Tue, 17 Sep 2013 17:28: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:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bugdal at aerifal dot cx
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: cc
Message-ID: <bug-58446-4-pnAutd0qp6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58446-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58446-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/msg01250.txt.bz2
Content-length: 888

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

Rich Felker <bugdal at aerifal dot cx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugdal at aerifal dot cx

--- Comment #9 from Rich Felker <bugdal at aerifal dot cx> ---
I don't know what the maintenance policy is for non-latest releases, but it
would be wonderful if we could get these into the 4.7 series before it's
closed, too. Bootstrapping new toolchains/systems with a different libc than
the host system's libc, it's much easier to start with a GCC that doesn't need
C++, and it would be a big help if our users could just start with GCC 4.7.x
and have it work out of the box, rather than needing to apply third-party
patches.

(Speaking from the standpoint of musl maintainer.)


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

* [Bug tree-optimization/58447] ICE: verify_gimple failed tree-cfg.c:4819
  2013-09-17 17:22 [Bug tree-optimization/58447] New: ICE: verify_gimple failed tree-cfg.c:4819 dimhen at gmail dot com
@ 2013-09-18  8:28 ` mpolacek at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-09-18  8:28 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |mpolacek at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Should be already fixed by richi's r202644.


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

end of thread, other threads:[~2013-09-18  8:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-17 17:22 [Bug tree-optimization/58447] New: ICE: verify_gimple failed tree-cfg.c:4819 dimhen at gmail dot com
2013-09-18  8:28 ` [Bug tree-optimization/58447] " mpolacek 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).