Re: New Bugzilla keyword for memory model bugs?

2012-10-15 Thread Tobias Burnus
Hello Steven, Steven Bosscher wrote: Can someone please add a BZ keyword for the C11/C++11 memory model? I think it would be good to tag missed-optimizations or wrong-code bugs for the memory model with such a special keyword to have a BZ search find them quickly. Adding a keyword is simple, i

Re: macro's and local variables

2012-10-15 Thread Mischa Baars
Hi, If you look at them more closely, you will see that the two different macro's give different answers to the same problem. If you like, I will retry at gcc-h...@gcc.gnu.org, although I suppose binut...@sourceware.org should be having a copy too. Thanks, Mischa. On 10/13/2012 02:03 AM, J

Re: Normalizing the bitmap APIs.

2012-10-15 Thread Michael Matz
Hi, On Sat, 13 Oct 2012, Lawrence Crowl wrote: > > > I have no problem in always returning a status change, if you are OK > > > with that. > > > > I am ok with that. > > There is some rationale for being concerned about performance, as the > checking routines need to read memory locations that

bounds checking in STL containers

2012-10-15 Thread Ахриев Альберт
Hi All, It appears that operator[] in STL containers (e.g. vector, deque) does not check bounds any more (g++ 4.7.2). Two-three generations ago g++ was very cautious about consistency checking but not now. I would appeal to developers to reconsider this pretty tough decision. I have recently

Re: bounds checking in STL containers

2012-10-15 Thread Jonathan Wakely
On 15 October 2012 18:14, Ахриев Альберт wrote: > Hi All, > > It appears that operator[] in STL containers (e.g. vector, deque) does not > check bounds any more (g++ 4.7.2). If you want to discuss the C++ library then you should mail the libstd...@gcc.gnu.org list. > Two-three generations ago g+

Re: Normalizing the bitmap APIs.

2012-10-15 Thread Lawrence Crowl
On 10/15/12, Michael Matz wrote: > On Sat, 13 Oct 2012, Lawrence Crowl wrote: > > > > I have no problem in always returning a status change, > > > > if you are OK with that. > > > > > > I am ok with that. > > > > There is some rationale for being concerned about performance, > > as the checking ro

Re: Normalizing the bitmap APIs.

2012-10-15 Thread Diego Novillo
On 2012-10-15 13:21 , Lawrence Crowl wrote: Given this, and that the other bitmap interfaces mostly return a changed flag, we should opt for the simpler API, always returning it. That includes the few remaining bitmap.h functions that aren't already doing so. Does anyone have objections to th

AArch64 port

2012-10-15 Thread David Edelsohn
I am pleased to announce that the GCC Steering Committee has accepted the AArch64 port for inclusion in GCC and appointed Richard Earnshaw and Marcus Shawcroft as co-maintainers. Happy hacking! David

Re: What happened to the IRA interprocedural reg-alloc work? (function_used_regs and friends)

2012-10-15 Thread Vladimir Makarov
On 12-10-15 7:14 AM, Steven Bosscher wrote: Hi Vlad, While browsing through old yara/ira patches, I came across this patch of yours from several years ago: http://gcc.gnu.org/ml/gcc-patches/2007-01/msg01625.html That work was in your IRA presentation at the GCC summit in 2007, and it was also