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/37358] [4.4 Regression] IPA-CP generates duplicated symbols at -O3



------- Comment #4 from tbm at cyrius dot com  2008-09-04 06:56 -------
Slightly smaller testcase (I reduced it before I saw there was a PR already)

/* Testcase by Martin Michlmayr <tbm@cyrius.com> */

void pwInit (int h, int multisample, int num_samples);
void glHint (int target, int mode);
static int a;
static int b[10];
void pwInit (int multisample, int num_samples)
{
  pwInit (-1, multisample, num_samples);
}
void pwInit (int h, int multisample, int num_samples)
{
  if (h == -1)
    h = 0;
  for (int i = 0; b[i] >= 0; i++)
    a = num_samples;
  glHint (0x8534, multisample);
}


-- 

tbm at cyrius dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tbm at cyrius dot com


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


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