This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On Fri, 3 Aug 2012, Richard Guenther wrote:
+/* Some quadruple precision helpers. */ +static int +quad_int_cmp (double_int l0, double_int h0, + double_int l1, double_int h1, bool uns) +{ + int c = double_int_cmp (h0, h1, uns); + if (c != 0) return c; + return double_int_ucmp (l0, l1); +}
I suppose that's appropriate for double-int.h as static inline function.
Ok with or without moving it (we can do that as followup anyway) if testing is ok.
Thanks, I applied it without moving, and am now doing a quick bootstrap of the following (to make sure I didn't forget a ';' during the copy-paste).
2012-08-03 Marc Glisse <marc.glisse@inria.fr>
* tree-vrp.c (quad_int_cmp): Move ... * double-int.h (quad_int_cmp): ... here.
-- Marc Glisse
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |