[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#361501: Log for failed build of snowdrop_0.02b-6



* Martin Michlmayr <tbm@cyrius.com> [2006-04-10 15:43]:
> > with preprocessed source if appropriate.
> > See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> > make[1]: *** [snowdrop] Error 1
> > make[1]: Leaving directory `/build/tbm/snowdrop-0.02b'

Preprocessed source and a (fairly large) test case fom delta attached.


(sid)2833:tbm@em64t: ~/delta/bin] /usr/lib/gcc-snapshot/bin//gcc -c -O2 mini.c
mini.c: In function 'extract_sig':
mini.c:12: warning: incompatible implicit declaration of built-in function 'malloc'
mini.c: In function 'main':
mini.c:29: warning: incompatible implicit declaration of built-in function 'strlen'
mini.c: In function 'extract_sig':
mini.c:3: internal compiler error: in merge_alias_info, at tree-ssa-copy.c:235
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
(sid)2837:tbm@em64t: ~/delta/bin] /usr/lib/gcc-snapshot/bin//gcc -c  -funroll-loops  mini.c
mini.c: In function 'extract_sig':
mini.c:12: warning: incompatible implicit declaration of built-in function 'malloc'
mini.c: In function 'main':
mini.c:29: warning: incompatible implicit declaration of built-in function 'strlen'
(sid)2838:tbm@em64t: ~/delta/bin]



-- 
Martin Michlmayr
http://www.cyrius.com/

Attachment: snowdrop.i.bz2
Description: Binary data

typedef long unsigned int size_t;
extract_sig (char *orig, char *mod)
{
  int cap[4] = {
  }
  , trd = 0;
  unsigned char *chan[4];
  int chpos[4] = {
  };
  unsigned char *bigchan;
  int bigpos = 0;
  chan[0] = malloc (cap[0] / 8 + 8);
  chan[1] = malloc (cap[1] / 8 + 8);
    {
      int z, si[4], va[4];
    gotsync:for (z = 0; z < 4; z++)
	  {
	    append_binary (chan[z], chpos[z], (char *) &va[z], si[z]);
	  }
    }
  append_binary (bigchan, bigpos, chan[1], chpos[1]);
}
main (int argc, char **argv)
{
  if (!__extension__ (
		       {
		       size_t __s1_len, __s2_len;
		       (__builtin_constant_p (argv[1])
			&& (__s1_len = strlen (argv[1]), __s2_len =
			    (!((size_t) (const void *) ((argv[1]) + 1) -
			       (size_t) (const void *) (argv[1]) == 1)
			     || __s2_len >= 4)) ? __builtin_strcmp (argv[1],
								    "-e")
			: (__builtin_constant_p (argv[1])
			   && ((size_t) (const void *) ((argv[1]) + 1) -
			       __s1_len < 4) ? (__builtin_constant_p ("-e")
						&&
						((size_t) (const void *)
						 (size_t) (const void
							   *) ("-e") ==
						 1) ?
						: (__extension__ (
											      {
											      __const
											      *__s2
											      =
											      (__const
											       *)
											      ("-e");
											      register
											      __result
											      =
											      (((__const unsigned char *) (__const char *) (argv[1]))[0] - __s2[0]); __result;}
  ))):						   
			   (__builtin_constant_p ("-e")
			    && ((size_t) (const void *) (("-e") + 1) -
				4) ? (__builtin_constant_p (argv[1])
				      &&
				      ((size_t) (const void *) ((argv[1]) + 1)
				       - (size_t) (const void *) (argv[1]) ==
				       1) ? __builtin_strcmp (argv[1],
							      "-e")
				      : (__extension__ (
								      {
								      __const
								      *__s1 =
								      (__const
								       *)
								      (argv
								       [1]);
								      register
								      __result
								      =
								      ((__const unsigned char *) (__const char *) ("-e"))[0]; __result;}
))):					 __builtin_strcmp (argv[1],
							   "-e"))));}
      ))
    {
    }
}

Reply to: