This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug regression/16420] tree ssa regression
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jul 2004 23:38:27 -0000
- Subject: [Bug regression/16420] tree ssa regression
- References: <20040707232418.16420.echristo@redhat.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-07 23:38 -------
This looks to more of a target problem.
Here is the tree dump:
;; Function f (f.1115)
f (i)
{
<bb 0>:
if (i == 2) goto <L0>; else goto <L1>;
<L0>:;
__builtin_nonlocal_goto (&<D1119>, &CHAIN.3->__nl_goto_buf);
<L1>:;
return 0;
}
;; Function s (s)
s (i)
{
void l1 = <<< error >>>;
int T.0;
struct FRAME.s FRAME.2;
<bb 0>:
if (i > 0) goto <L0>; else goto <L7>;
<L7>:;
T.0 = 1;
goto <bb 3> (<L4>);
<L0>:;
T.0 = f (i) [static-chain: &FRAME.2];
goto <bb 3> (<L4>);
<L1>: [non-local];
T.0 = 1;
<L4>:;
return T.0;
}
x ()
{
int T.9;
int T.8;
int T.7;
int T.5;
<bb 0>:
T.7 = s (0);
if (T.7 != 1) goto <L9>; else goto <L0>;
<L9>:;
T.5 = 0;
goto <bb 4> (<L4>);
<L0>:;
T.8 = s (1);
if (T.8 != 0) goto <L10>; else goto <L1>;
<L10>:;
T.5 = 0;
goto <bb 4> (<L4>);
<L1>:;
T.9 = s (2);
if (T.9 != 1) goto <L3>; else goto <L11>;
<L11>:;
T.5 = 1;
goto <bb 4> (<L4>);
<L3>:;
T.5 = 0;
<L4>:;
return T.5;
}
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16420