[Bug middle-end/59630] [4.7/4.8/4.9 Regression] ICE converting the return type of a builtin function

2014-01-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59630 --- Comment #6 from Richard Biener --- Author: rguenth Date: Wed Jan 8 09:06:27 2014 New Revision: 206421 URL: http://gcc.gnu.org/viewcvs?rev=206421&root=gcc&view=rev Log: 2014-01-08 Richard Biener PR middle-end/59630 * gimple.h (is_

[Bug middle-end/59630] [4.7/4.8/4.9 Regression] ICE converting the return type of a builtin function

2014-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59630 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug middle-end/59630] [4.7/4.8/4.9 Regression] ICE converting the return type of a builtin function

2014-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59630 --- Comment #4 from Richard Biener --- (In reply to Jakub Jelinek from comment #2) > Started with my r182761 but say: > _Bool foo (int x) > { > _Bool (*f)(int) = __builtin_abs; > return f(x); > } > ICEs at -O2 already since the gimple_call_fnt

[Bug middle-end/59630] [4.7/4.8/4.9 Regression] ICE converting the return type of a builtin function

2014-01-02 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59630 --- Comment #3 from Marek Polacek --- One alternative could be the following (though completely untested): --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -14227,6 +14227,10 @@ fold_call_stmt (gimple stmt, bool ignore) of a builtin, will u

[Bug middle-end/59630] [4.7/4.8/4.9 Regression] ICE converting the return type of a builtin function

2014-01-02 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59630 Jakub Jelinek changed: What|Removed |Added CC||hubicka at gcc dot gnu.org,

[Bug middle-end/59630] [4.7/4.8/4.9 Regression] ICE converting the return type of a builtin function

2014-01-02 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59630 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|