public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/57993] New: ICE: verify_ssa failed (definition in block n does not dominate use in block m)
@ 2013-07-26 11:30 antoine.balestrat at gmail dot com
  2013-07-26 12:54 ` [Bug tree-optimization/57993] [4.9 Regression] " mpolacek at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: antoine.balestrat at gmail dot com @ 2013-07-26 11:30 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 57993
           Summary: ICE: verify_ssa failed (definition in block n does not
                    dominate use in block m)
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: antoine.balestrat at gmail dot com

Hello !
I'm using GCC 4.9.0 as of 20130726 :

$ cat dom.c
int a, b, c, d;
char e;
unsigned g;

void f(void)
{
    int h;

    for(; d; d++)
        if(d)
lbl:
            g + a || (d = 0);

    b && (a = e);

    for(h = 0; h < 1; ++h)
    {
        h = c ? : (d = 0);
        g = a = (e | 0);
    }

    if(a)
        goto lbl;

    a = e = 0;
    goto lbl;
}

$ xgcc -w -O2 dom.c
dom.c: In function ‘f’:
dom.c:5:6: error: definition in block 11 does not dominate use in block 10
 void f(void)
      ^
for SSA_NAME: pretmp_51 in statement:
slsr_41 = PHI <pretmp_51(10), pretmp_51(9)>
PHI argument
pretmp_51
for PHI node
slsr_41 = PHI <pretmp_51(10), pretmp_51(9)>
dom.c:5:6: internal compiler error: verify_ssa failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
>From gcc-bugs-return-426759-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jul 26 11:49:43 2013
Return-Path: <gcc-bugs-return-426759-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14568 invoked by alias); 26 Jul 2013 11:49:43 -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 14487 invoked by uid 48); 26 Jul 2013 11:49:40 -0000
From: "henner.sudek at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/57974] std::pow(std::complex<long double>(0),1) returns  (-nan,-nan)
Date: Fri, 26 Jul 2013 11:49:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: henner.sudek at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-57974-4-lihjor9ULv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57974-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57974-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-07/txt/msg01266.txt.bz2
Content-length: 356

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

--- Comment #14 from Henner Sudek <henner.sudek at gmail dot com> ---
First i want to thank you all for the quick response and solving my problem. I
just want to point out that std::pow(std::complex<long double>(0,0),1.) still
returns nan. Maybe there is an way to unify the behavior of these functions?


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

end of thread, other threads:[~2013-08-03 14:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-26 11:30 [Bug tree-optimization/57993] New: ICE: verify_ssa failed (definition in block n does not dominate use in block m) antoine.balestrat at gmail dot com
2013-07-26 12:54 ` [Bug tree-optimization/57993] [4.9 Regression] " mpolacek at gcc dot gnu.org
2013-07-26 13:14 ` mpolacek at gcc dot gnu.org
2013-07-26 16:36 ` wschmidt at gcc dot gnu.org
2013-07-26 16:46 ` mpolacek at gcc dot gnu.org
2013-07-26 17:25 ` wschmidt at gcc dot gnu.org
2013-07-26 18:18 ` wschmidt at gcc dot gnu.org
2013-07-28  0:53 ` wschmidt at gcc dot gnu.org
2013-07-30  1:02 ` wschmidt at gcc dot gnu.org
2013-08-03 14:42 ` wschmidt 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).