Re: [PATCH/AARCH64] Fix 64893: ICE with vget_lane_u32 with C++ front-end at -O0

2015-03-06 Thread James Greenhalgh
On Fri, Mar 06, 2015 at 10:03:46AM +, pins...@gmail.com wrote: > > On Mar 6, 2015, at 1:45 AM, James Greenhalgh > > wrote: > > > >> On Thu, Feb 12, 2015 at 03:37:33PM +, Christophe Lyon wrote: > >>> On 8 February 2015 at 03:24, Andrew Pinski wrote: > >>> On Fri, Feb 6, 2015 at 5:02 PM,

Re: [PATCH/AARCH64] Fix 64893: ICE with vget_lane_u32 with C++ front-end at -O0

2015-03-06 Thread pinskia
> On Mar 6, 2015, at 1:45 AM, James Greenhalgh wrote: > >> On Thu, Feb 12, 2015 at 03:37:33PM +, Christophe Lyon wrote: >>> On 8 February 2015 at 03:24, Andrew Pinski wrote: >>> On Fri, Feb 6, 2015 at 5:02 PM, Andrew Pinski wrote: >>>PR target/64893 >>>* config/aarch

Re: [PATCH/AARCH64] Fix 64893: ICE with vget_lane_u32 with C++ front-end at -O0

2015-03-06 Thread James Greenhalgh
On Thu, Feb 12, 2015 at 03:37:33PM +, Christophe Lyon wrote: > On 8 February 2015 at 03:24, Andrew Pinski wrote: > > On Fri, Feb 6, 2015 at 5:02 PM, Andrew Pinski wrote: > > PR target/64893 > > * config/aarch64/aarch64-builtins.c > > (aarch64_init_simd_builtins): > >

Re: [PATCH/AARCH64] Fix 64893: ICE with vget_lane_u32 with C++ front-end at -O0

2015-02-12 Thread Christophe Lyon
On 8 February 2015 at 03:24, Andrew Pinski wrote: > On Fri, Feb 6, 2015 at 5:02 PM, Andrew Pinski wrote: >> On Mon, Feb 2, 2015 at 11:37 PM, Jakub Jelinek wrote: >>> On Mon, Feb 02, 2015 at 02:51:43PM -0800, Andrew Pinski wrote: While trying to build the GCC 5 with GCC 5, I ran into an ICE

Re: [PATCH/AARCH64] Fix 64893: ICE with vget_lane_u32 with C++ front-end at -O0

2015-02-11 Thread Marcus Shawcroft
On 8 February 2015 at 02:24, Andrew Pinski wrote: > Here is the updated patch with Jakub's comments included and added a > testcase for the 0, 0 case. > > Thanks, > Andrew Pinski > ChangeLog: > > PR target/64893 > * config/aarch64/aarch64-builtins.c (aarch64_init_simd_builtins

Re: [PATCH/AARCH64] Fix 64893: ICE with vget_lane_u32 with C++ front-end at -O0

2015-02-07 Thread Andrew Pinski
On Fri, Feb 6, 2015 at 5:02 PM, Andrew Pinski wrote: > On Mon, Feb 2, 2015 at 11:37 PM, Jakub Jelinek wrote: >> On Mon, Feb 02, 2015 at 02:51:43PM -0800, Andrew Pinski wrote: >>> While trying to build the GCC 5 with GCC 5, I ran into an ICE when >>> building libcpp at -O0. The problem is the C++

Re: [PATCH/AARCH64] Fix 64893: ICE with vget_lane_u32 with C++ front-end at -O0

2015-02-06 Thread Andrew Pinski
On Mon, Feb 2, 2015 at 11:37 PM, Jakub Jelinek wrote: > On Mon, Feb 02, 2015 at 02:51:43PM -0800, Andrew Pinski wrote: >> While trying to build the GCC 5 with GCC 5, I ran into an ICE when >> building libcpp at -O0. The problem is the C++ front-end was not >> folding sizeof(a)/sizeof(a[0]) when p

Re: [PATCH/AARCH64] Fix 64893: ICE with vget_lane_u32 with C++ front-end at -O0

2015-02-03 Thread pinskia
> On Feb 3, 2015, at 3:57 AM, Alan Lawrence wrote: > > > Andrew Pinski wrote: >> While trying to build the GCC 5 with GCC 5, I ran into an ICE when >> building libcpp at -O0. The problem is the C++ front-end was not >> folding sizeof(a)/sizeof(a[0]) when passed to a function at -O0. The >>

Re: [PATCH/AARCH64] Fix 64893: ICE with vget_lane_u32 with C++ front-end at -O0

2015-02-03 Thread Alan Lawrence
Andrew Pinski wrote: While trying to build the GCC 5 with GCC 5, I ran into an ICE when building libcpp at -O0. The problem is the C++ front-end was not folding sizeof(a)/sizeof(a[0]) when passed to a function at -O0. The C++ front-end keeps around sizeof until the gimplifier and there is no wa

Re: [PATCH/AARCH64] Fix 64893: ICE with vget_lane_u32 with C++ front-end at -O0

2015-02-02 Thread Jakub Jelinek
On Mon, Feb 02, 2015 at 02:51:43PM -0800, Andrew Pinski wrote: > While trying to build the GCC 5 with GCC 5, I ran into an ICE when > building libcpp at -O0. The problem is the C++ front-end was not > folding sizeof(a)/sizeof(a[0]) when passed to a function at -O0. The > C++ front-end keeps around