This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/51390] Builtin changes on November 29th, broke recip-5.c
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 06 Dec 2011 22:07:53 +0000
- Subject: [Bug target/51390] Builtin changes on November 29th, broke recip-5.c
- Auto-submitted: auto-generated
- References: <bug-51390-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51390
--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-12-06 22:07:53 UTC ---
> Hmmm, you debug where it is segfaulting?
Here it what I get with gdb
f_recip d_recip f_div d_div vec_f_recip vec_d_recip vec_f_div vec_f_div2
vec_f_div53 vec_d_div vec_d_div2 vec_d_div53 v4sf_recip1 v4sf_recip2
v2df_recip1 v4sf_recip3 v2df_recip2
Analyzing compilation unit
Performing interprocedural optimizations
<*free_lang_data> <visibility> <early_local_cleanups> <emutls> <whole-program>
<profile_estimate> <cp> <inline> <pure-const> <static-var>Assembling functions:
f_recip d_recip
/opt/gcc/work/gcc/testsuite/gcc.target/powerpc/recip-5.c: In function
'd_recip':
/opt/gcc/work/gcc/testsuite/gcc.target/powerpc/recip-5.c:12:39: error: Builtin
function __builtin_recipdiv is not supported with the current options
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x0036b27c in store_expr (exp=0x42811dc0, target=0x428fc290,
call_param_p=<value temporarily unavailable, due to optimizations>,
nontemporal=<value temporarily unavailable, due to optimizations>) at
../../work/gcc/expr.c:5170
5170 if (CONSTANT_P (temp) && GET_MODE (temp) == VOIDmode
(gdb) bt
#0 0x0036b27c in store_expr (exp=0x42811dc0, target=0x428fc290,
call_param_p=<value temporarily unavailable, due to optimizations>,
nontemporal=<value temporarily unavailable, due to optimizations>) at
../../work/gcc/expr.c:5170
#1 0x0036b278 in store_expr (exp=0x42811dc0, target=0x428fc290,
call_param_p=<value temporarily unavailable, due to optimizations>,
nontemporal=<value temporarily unavailable, due to optimizations>) at
../../work/gcc/expr.c:5163
Previous frame identical to this frame (gdb could not unwind past this frame)
Current language: auto; currently c++