This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/53728] [4.6 regression] Bootstrap comparison failure (gcc/varasm.o differs) with CFLAGS="-O2 -march=pentium3"
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 11 Mar 2013 22:43:38 +0000
- Subject: [Bug bootstrap/53728] [4.6 regression] Bootstrap comparison failure (gcc/varasm.o differs) with CFLAGS="-O2 -march=pentium3"
- Auto-submitted: auto-generated
- References: <bug-53728-4@http.gcc.gnu.org/bugzilla/>
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)