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 tree-optimization/37368] [4.4 Regression] Segfault in remove_unused_locals



------- Comment #3 from tbm at cyrius dot com  2008-09-04 10:24 -------
/* Testcase by Martin Michlmayr <tbm@cyrius.com> */

static int
FindSmallestPitch (int i)
{
  int Pitches1[5];
  int *linePitches = ((void *) 0);
  switch (i)
  {
    case 0x0519:
      linePitches = Pitches1;
  }
  return *linePitches;
}
void MGASetupDGAMode (int i)
{
  FindSmallestPitch (i);
}


-- 


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


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