[Bug rtl-optimization/34132] [4.3 Regression] ICE: internal consistency failure (invalid rtl sharing found in the insn)

tbm at cyrius dot com gcc-bugzilla@gcc.gnu.org
Sat Nov 17 12:00:00 GMT 2007



------- Comment #2 from tbm at cyrius dot com  2007-11-17 11:59 -------
/* Testcase by Martin Michlmayr <tbm@cyrius.com> */

static char *sd_msg = "%s%u.msg";
void SdmOpenMsg (short mode, char *msgname, int filemode)
{
  if (mode == 0)
  {
    xprintf (msgname, (char *) sd_msg);
    filemode = 1;
  }
  else if (mode == 1)
    filemode = 00;
  xprintf (msgname, (char *) sd_msg);
  xprintf (filemode, "%d");
}


-- 


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



More information about the Gcc-bugs mailing list