RE: [PATCH] Fix stack red zone bug (PR38644)

2011-09-27 Thread Jiangning Liu
> -Original Message- > From: Richard Guenther [mailto:richard.guent...@gmail.com] > Sent: Tuesday, September 27, 2011 3:41 PM > To: Jiangning Liu > Cc: Andrew Pinski; gcc-patches@gcc.gnu.org > Subject: Re: [PATCH] Fix stack red zone bug (PR38644) > > On Tue, Sep 27, 2011 at 5:32 AM, Jian

Re: Intrinsics for N2965: Type traits and base classes

2011-09-27 Thread Benjamin Kosnik
> This patch consists intrinsics to properly create the bases and > direct_bases of a class in the correct order (including multiple > nested ambiguous virtual and non-virtual classes) for N2965 > (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2965.html). > This allows you to create

Re: Intrinsics for N2965: Type traits and base classes

2011-09-27 Thread Benjamin Kosnik
Oops, this is the right patch. -benjamindiff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index a59a0b6..e1176ee 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,14 @@ 2011-09-27 Benjamin Kosnik + * doc/Makefile.am: Add tr2 support. + * doc/Makefile.in

Re: Intrinsics for N2965: Type traits and base classes

2011-09-27 Thread Michael Spertus
uple? I kind of like > it seems simple. It's what's in N2965, so let's start there. > > Since it's the first TR2 header, I did the build bits for you. > > Also, I cc'd the library list. > > best, > benjamin > <20110927-4.patch>

[PATCH] Account for devirtualization opportunities in inliner

2011-09-27 Thread Maxim Kuvyrkov
Jan, The following patch starts a series of patches which improve devirtualization optimizations in GCC. This patch builds on ipa-cp.c and ipa-prop.c infrastructure for analyzing parameters and jump functions and adds basic estimation of devirtualization benefit from inlining an edge. E.g., i

Re: [google] Backport r178628 from trunk to google/gcc-4_6 (issue5139050)

2011-09-27 Thread 關振德
This is okay On Mon, Sep 26, 2011 at 6:14 PM, Guozhi Wei wrote: > Hi > > This patch removes the XPASS of test case 20040204-1.c on arm. > > Tested by > on arm: make check-gcc > RUNTESTFLAGS="--target_board=arm-sim/thumb/arch=armv7-a > tree-ssa.exp=20040204-1.c" > on x86_64: make check-gcc RUNTE

RE: [PATCH] Fix stack red zone bug (PR38644)

2011-09-27 Thread Jiangning Liu
> > -static inline bool > > +extern bool > > static bool > > >  ix86_using_red_zone (void) > >  { > >   return TARGET_RED_ZONE && !TARGET_64BIT_MS_ABI; > > @@ -35958,6 +35958,9 @@ ix86_autovectorize_vector_sizes (void) > >  #define TARGET_STACK_PROTECT_FAIL ix86_stack_protect_fail > >  #endif > >

[arm-embedded] Backport mainline r173371

2011-09-27 Thread Terry Guo
Backport mainline r173371 to ARM/embedded-4_6-branch. Committed. 2011-09-28 Terry Guo Backport r173371 from mainline 2011-05-04 Andreas Krebbel * calls.c (emit_library_call_value_1): Invoke promote_function_mode hook on libcall arguments. * explow.c

RE: [PATCH] Fix stack red zone bug (PR38644)

2011-09-27 Thread Jiangning Liu
Just realized ChangeLog needs to be changed as well. ChangeLog: * config/i386/i386.c (ix86_using_red_zone): Remove inline. (TARGET_STACK_USING_RED_ZONE): New. * config/rs6000/rs6000.c (rs6000_stack_using_red_zone): New. (TARGET_STACK_USING_RED_ZONE): New. (

Re: [ARM] Optimise handling of neon_vget_high/low

2011-09-27 Thread Richard Sandiford
Ramana Radhakrishnan writes: > On 14 September 2011 13:30, Richard Sandiford > wrote: >> neon_vget_high and neon_vget_low extract one half of a vector. >> The patterns look like: >> >> (define_insn "neon_vget_highv16qi" >>  [(set (match_operand:V8QI 0 "s_register_operand" "=w") >>        (vec_sel

<    1   2