Re: [GOOGLE] Prevent x_flag_complex_method to be set to 2 for C++.

2014-02-11 Thread Xinliang David Li
ok. David On Tue, Feb 11, 2014 at 5:30 PM, Cong Hou wrote: > With this patch x_flag_complex_method won't be set to 2 for C++ so > that multiply/divide between std::complex objects won't be replaced by > expensive builtin function calls. > > Bootstrapped and passed regression test. > > OK for Goo

[GOOGLE] Prevent x_flag_complex_method to be set to 2 for C++.

2014-02-11 Thread Cong Hou
With this patch x_flag_complex_method won't be set to 2 for C++ so that multiply/divide between std::complex objects won't be replaced by expensive builtin function calls. Bootstrapped and passed regression test. OK for Google branch? thanks, Cong Index: gcc/c-family/c-opts.c ===