Re: C++ exception handling optimization performance

2015-04-25 Thread Jan Hubicka
Hi, > Hello all, > > With gcc, does the fact that some branch results in a C++ exception > effect the performance of a function when that exception branch > isn't entered? In other words, does the presence of a throw effect > the optimizer in any way? EH handling is implemented in a way minimizin

Re: Re: [RFC] Documenting support functions and data structures

2015-04-25 Thread Joseph Myers
On Thu, 16 Apr 2015, Manuel López-Ibáñez wrote: > And yes, I would also be extremely happy if someone figured out a way to > ensure the docs match the comments. We can probably automatically generate > from the *.opt files most of invoke.texi and even the list of what enables > what. But there are

Re: Questions about C as used/implemented in practice

2015-04-25 Thread Joseph Myers
On Fri, 17 Apr 2015, Peter Sewell wrote: > [1/15] How predictable are reads from padding bytes? > If you zero all bytes of a struct and then write some of its members, do > reads of the padding return zero? (e.g. for a bytewise CAS or hash of > the struct, or to know that no security-relevant da

Re: WPP capabilities in gcc

2015-04-25 Thread Shoham Peller
Hi Guys, It's been 4 days. Can someone help me? I really want to get started on this project, if it's needed, and if it is, I think it'll give a very missed and needed feature to gcc. Thanks, Shoham On 04/22/2015 10:19 PM, Shoham Peller wrote: Hi, Me and a couple of friends needed, in our L

Shared object compiled with g++ is not unloaded

2015-04-25 Thread Max Dmitrichenko
Hi all! I've faced with strange behavior when I investigated a bug on a rather new distros of Linux. I'm not sure that it is a bug of gcc, but may be someone can bring some light to it. So, my project heavily uses plugins which are dynamically loaded with dlopen() and unloaded with dlclose() func