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 middle-end/48028] [4.4 Regression] undeserved uninitialized variable warning regression since 4.4.2


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-03-08 00:19:48 UTC ---
So the code looks like (after inlining and folding of *&):
int f(void);
int g1(void);
void g2(int);

int g(void)
{
  int selret;
  int e = 0;
  while (1)
  {
    e = f();
    if (e!= 0)
      selret = g1();
    if (e==4)
      continue;
    if (e!=0)
      break;
    g2(selret);
  }
  return 0;
}


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