This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug regression/16420] tree ssa regression


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]