Re: Question about IPA and ordering of terms

2017-06-28 Thread Richard Biener
On June 28, 2017 6:10:27 PM GMT+02:00, Tamar Christina wrote: >Hi All, > >I noticed something weird with IPA and I'm wondering if it's a bug or >not. > >Given these two functions > >double >check_d_pos (double x, double y) >{ > return x * __builtin_copysign (1.0, y); >} > >double >check_d_neg (d

Question about IPA and ordering of terms

2017-06-28 Thread Tamar Christina
Hi All, I noticed something weird with IPA and I'm wondering if it's a bug or not. Given these two functions double check_d_pos (double x, double y) { return x * __builtin_copysign (1.0, y); } double check_d_neg (double x, double y) { return __builtin_copysign (-1.0, y) * x; } and current

GCC 6.4 Release Candidate available from gcc.gnu.org

2017-06-28 Thread Richard Biener
A release candidate for GCC 6.4 is available from ftp://gcc.gnu.org/pub/gcc/snapshots/6.4.0-RC-20170628/ and shortly its mirrors. It has been generated from SVN revision 249715. I have so far bootstrapped and tested the release candidate on x86_64-unknown-linux-gnu. Please test it and

Re: What kind of data would be put into code section?

2017-06-28 Thread Andrew Haley
On 28/06/17 05:00, Benxi Liu wrote: > I'm using GCC 5.4.0. I know that in some situations, GCC will put > data into .text section, to improve performance. I know one case is > jump table, but I'm still curious about other cases. What kind of data > will be put into executable sections? Is there a

GCC 6 branch now frozen for upcoming GCC 6.4 release

2017-06-28 Thread Richard Biener
All changes require release manager approval. Thanks, Richard.

Re: What kind of data would be put into code section?

2017-06-28 Thread Benxi Liu
Hi R0b0t1, Thanks for your reply! That helps me a lot, and now I know it's a more complicated question than I've thought. I'm using GCC on X86_64, more specially, on linux x86_64. I also find that when compiling with -O2, GCC will emits some data(like const string or const int) into .text. I wonder