Re: Change default BOOT_CFLAGS for release builds

2012-08-05 Thread Ryan Hill
On Fri, 3 Aug 2012 17:11:04 +0300 (EEST) Dimitrios Apostolou wrote: > I got no replies, so I guess there is no will to move GCC to -O3 by > default, so I shouldn't bother submitting a patch? > > As a reminder, cc1 is 0-4% faster but almost 10% bigger executable. > Testsuite showed no regressio

Tree Versioning Question

2012-08-05 Thread Matt Davis
Hello, I am using cgraph_function_versioning() to create a duplicate function, e.g. a clone. This usually has worked well for me in the past, but I have run into an interesting case where the tree_function_versioning() code is performing a split_edge() on the successor of the entry basic block. W

Weird optimization flags behavior

2012-08-05 Thread Parang Saraf
Hi, I am facing some weird issues with the optimization flags. I tried posting this in the gcc-help but got no response. Here is my query: I can see the flags enabled for each optimization level using "gcc -Q -On -help=optimizers" (flags enabled) Also, when I compile a program for a particular op

gcc-4.8-20120805 is now available

2012-08-05 Thread gccadmin
Snapshot gcc-4.8-20120805 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.8-20120805/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.8 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk

Re: at exit alternative for AIX

2012-08-05 Thread Perry Smith
On Aug 5, 2012, at 3:50 PM, Perry Smith wrote: > > On Aug 5, 2012, at 1:09 PM, David Edelsohn wrote: > >> On Sun, Aug 5, 2012 at 9:56 AM, Perry Smith wrote: >> >>> I was planning on exploring when _GLOBAL__FD was called today. I >>> need to figure out when gcc puts the call to the dtor in _G

Re: at exit alternative for AIX

2012-08-05 Thread Perry Smith
On Aug 5, 2012, at 1:09 PM, David Edelsohn wrote: > On Sun, Aug 5, 2012 at 9:56 AM, Perry Smith wrote: > >> I was planning on exploring when _GLOBAL__FD was called today. I >> need to figure out when gcc puts the call to the dtor in _GLOBAL__FD >> path rather than in the atexit path. The net

Re: at exit alternative for AIX

2012-08-05 Thread David Edelsohn
On Sun, Aug 5, 2012 at 9:56 AM, Perry Smith wrote: > I was planning on exploring when _GLOBAL__FD was called today. I > need to figure out when gcc puts the call to the dtor in _GLOBAL__FD > path rather than in the atexit path. The net implies that "static" uses > atexit while a global non-stat

Re: at exit alternative for AIX

2012-08-05 Thread Ian Lance Taylor
On Sun, Aug 5, 2012 at 6:56 AM, Perry Smith wrote: > > Part of my confusion / concern is "why have two methods?" > Does the spec say that dtors much be called at different times? The use of _GLOBAL_FD in GCC is AIX-specific, and appears to be required to get destructors in shared libraries to run

Re: at exit alternative for AIX

2012-08-05 Thread Perry Smith
On Aug 4, 2012, at 11:56 PM, Ian Lance Taylor wrote: > On Sat, Aug 4, 2012 at 2:43 PM, Perry Smith wrote: >> >> I hope I've researched this enough to ask decent questions. >> >> I'm running gcc 4.5.2. AIX 6.1 TL07 SP03. >> >> The essence of the problem is when a shared library is loaded, som