Re: C++ PATCH for c++/53137 (ICE with lambda in template)

2012-06-30 Thread H.J. Lu
On Fri, Jun 1, 2012 at 9:50 AM, Jason Merrill wrote: > In 4.7, this is one bug: we are doing a push_to_top_level to instantiate the > lambda, and then not pushing back into the function scope that the lambda > belongs to.  Fixed by following the lead of synthesize_method and only doing > push_func

Re: Allow use of ranges in copyright notices

2012-06-30 Thread David Edelsohn
On Sat, Jun 30, 2012 at 10:58 AM, Joseph S. Myers wrote: > I propose that GCC should allow the use of ranges of years (e.g. > 1987-2012) in copyright notices on source files. As described at > : > > * This requires a notice in REA

Re: Coverage unlinking

2012-06-30 Thread Nathan Sidwell
On 06/24/12 01:14, Xinliang David Li wrote: thanks for the fix. It works fine for me. Thanks. I have committed it.

Allow use of ranges in copyright notices

2012-06-30 Thread Joseph S. Myers
I propose that GCC should allow the use of ranges of years (e.g. 1987-2012) in copyright notices on source files. As described at : * This requires a notice in README about the use of range notation; I propose such a notice bel

[patch] Move lowering of switches to bit tests to GIMPLE

2012-06-30 Thread Steven Bosscher
Hello, This patch moves the emit_case_bit_tests method of switch lowering from 'expand' to a GIMPLE pass. Initially, I planned to move all switch lowering to something other than a casesi or tablejump to GIMPLE, but this is more involved than I anticipated. My plan was (and still is, but for late

Re: [patch] Remove CASE_USE_BIT_TESTS target macro

2012-06-30 Thread Steven Bosscher
On Sat, Jun 30, 2012 at 10:58 AM, Georg-Johann Lay wrote: > Steven Bosscher schrieb: >> >> Hello, >> >> This patch removes the CASE_USE_BIT_TESTS target macro. The default >> value of the macro is defined in stmt.c, where the only user of the >> macro is also. No target re-defines the macro. >> >>

Re: [patch] Remove CASE_USE_BIT_TESTS target macro

2012-06-30 Thread Georg-Johann Lay
Steven Bosscher schrieb: Hello, This patch removes the CASE_USE_BIT_TESTS target macro. The default value of the macro is defined in stmt.c, where the only user of the macro is also. No target re-defines the macro. (I wonder if the test is necessary at all. AFAICT all targets support shifts in

Re: [RFC, ARM] later split of symbol_refs

2012-06-30 Thread Georg-Johann Lay
Dmitry Melnik schrieb: On 06/27/2012 07:53 PM, Richard Earnshaw wrote: Please update the ChangeLog entry (it's not appropriate to mention Sourcery G++) and add a comment as Steven has suggested. Otherwise OK. Updated. Ok to commit now? -- Best regards, Dmitry 2009-05-29 Julian Brown