This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/33992] [4.3 Regression] profiledbootstrap is broken
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Feb 2008 09:59:43 -0000
- Subject: [Bug bootstrap/33992] [4.3 Regression] profiledbootstrap is broken
- References: <bug-33992-13189@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from rguenth at gcc dot gnu dot org 2008-02-06 09:59 -------
profiledbootstrap on x86_64 fails for me with
checking for x86_64-unknown-linux-gnu-gcc... /space/rguenther/obj/./gcc/xgcc
-B/space/rguenther/obj/./gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include
checking for suffix of object files... configure: error: cannot compute suffix
of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stagefeedback-target-libgcc] Error 1
make[2]: Leaving directory `/space/rguenther/obj'
make[1]: *** [stagefeedback-bubble] Error 2
make[1]: Leaving directory `/space/rguenther/obj'
make: *** [profiledbootstrap] Error 2
obj> cat stage_current
stagefeedback
obj> tail x86_64-unknown-linux-gnu/libgcc/config.log
configure:2588: /space/rguenther/obj/./gcc/xgcc -B/space/rguenther/obj/./gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include -c -g -O2 -fprofile-use
conftest.c >&5
<built-in>:0: internal compiler error: in real_to_decimal, at real.c:1656
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:2591: $? = 1
where this ICE also occurs for empty conftest.c and if only preprocessing
using the stagefeedback cc1.
backtrace for just ./cc1 -quiet -E /dev/null
#0 fancy_abort (file=0xb530b2 "../../trunk/gcc/real.c", line=1656,
function=0xb53b20 "real_to_decimal") at ../../trunk/gcc/diagnostic.c:659
#1 0x000000000065d352 in real_to_decimal (str=0x7fff736bd500
"��s�\177",
r_orig=<value optimized out>, buf_size=<value optimized out>, digits=17,
crop_trailing_zeros=0) at ../../trunk/gcc/real.c:1656
#2 0x0000000000471275 in builtin_define_with_hex_fp_value (
macro=0x7fff736bd620 "__DBL_MAX__", type=<value optimized out>, digits=1,
hex_str=<value optimized out>, fp_suffix=0xb0b55b "",
fp_cast=0xb29315 "%s") at ../../trunk/gcc/c-cppbuiltin.c:859
#3 0x00000000004714c1 in builtin_define_float_constants (
name_prefix=0xaff950 "DBL", fp_suffix=0xb0b55b "", fp_cast=0xb29315 "%s",
type=0x2b19379cf780) at ../../trunk/gcc/c-cppbuiltin.c:205
#4 0x0000000000471ab3 in c_cpp_builtins (pfile=0xecbf70)
at ../../trunk/gcc/c-cppbuiltin.c:516
#5 0x0000000000467c9a in finish_options () at ../../trunk/gcc/c-opts.c:1508
#6 0x0000000000468069 in c_common_init () at ../../trunk/gcc/c-opts.c:1243
#7 0x000000000047341e in c_objc_common_init ()
at ../../trunk/gcc/c-objc-common.c:72
#8 0x00000000006d0410 in toplev_main (argc=0, argv=<value optimized out>)
at ../../trunk/gcc/toplev.c:2130
#9 0x00002b19377a4154 in __libc_start_main () from /lib64/libc.so.6
#10 0x0000000000403f49 in _start ()
in frame 3, the hex float looks good:
(gdb) print buf
$3 = "0x0.", 'f' <repeats 13 times>, "8p1024\000
so it must be indeed the real_to_decimal monster that is miscompiled with
-O2 -fprofile-use (given the 'correct' profile).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33992