Re: [GIMPLE FE] Avoid ICE with __builtin_abs

2017-02-06 Thread Richard Biener
On Mon, 6 Feb 2017, Richard Biener wrote: > On Sat, 4 Feb 2017, Prathamesh Kulkarni wrote: > > > Hi, > > The following test-case ICE's with -fgimple: > > > > int __GIMPLE foo(int a) > > { > > int t1; > > t1_1 = __builtin_abs (a); > > return t1_1; > > } > > > > gimplefe-2.c:4:3: internal c

Re: [GIMPLE FE] Avoid ICE with __builtin_abs

2017-02-05 Thread Richard Biener
On Sat, 4 Feb 2017, Prathamesh Kulkarni wrote: > Hi, > The following test-case ICE's with -fgimple: > > int __GIMPLE foo(int a) > { > int t1; > t1_1 = __builtin_abs (a); > return t1_1; > } > > gimplefe-2.c:4:3: internal compiler error: in get_callee_fndecl, at > tree.c:9500 >t1_1 = __

[GIMPLE FE] Avoid ICE with __builtin_abs

2017-02-04 Thread Prathamesh Kulkarni
Hi, The following test-case ICE's with -fgimple: int __GIMPLE foo(int a) { int t1; t1_1 = __builtin_abs (a); return t1_1; } gimplefe-2.c:4:3: internal compiler error: in get_callee_fndecl, at tree.c:9500 t1_1 = __builtin_abs (a); ^~~~ 0xe96e8d get_callee_fndecl(tree_node const*) ../..