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



--- Comment #7 from Uros Bizjak <ubizjak at gmail dot com> 2013-03-11 22:43:38 
UTC ---

Testcase:



--cut here--

extern int global_options;

extern unsigned char *mode_size;



extern int printf (const char *, ...);



void mergeable_constant_section (int mode, unsigned long long align)

{

  unsigned int modesize = mode_size[mode] * 8;



  if (global_options && modesize <= align && (align & (align - 1)) == 0)

    {

      unsigned int flags;



      printf ("%d", (int) (align / 8));

      flags = align / 8;

      printf ("%u", (unsigned int) flags);

    }

}

--cut here--



$ ~/gcc-build-46/gcc/xgcc -B ~/gcc-build-46/gcc -O2 -m32 -march=pentium3 \

-fcompare-debug pr53728.c

xgcc: error: pr53728.c: -fcompare-debug failure (length)

Reply via email to