From 5bca794b0df69689d0bcc6d03697f169e543dd2c Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 14 Jun 2010 14:30:29 +0200 Subject: re PR bootstrap/44509 (Revision 160626 breaks bootstrap on *-apple-darwin*) PR bootstrap/44509 * c-config-lang.in (gtfiles): Add c-family/c-cppbuiltin.c. * c-family/c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h. (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers. (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use ggc_strdup instead of xstrdup. * gcc.dg/pr44509.c: New test. From-SVN: r160729 --- gcc/testsuite/gcc.dg/pr44509.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 gcc/testsuite/gcc.dg/pr44509.c (limited to 'gcc/testsuite/gcc.dg/pr44509.c') diff --git a/gcc/testsuite/gcc.dg/pr44509.c b/gcc/testsuite/gcc.dg/pr44509.c new file mode 100644 index 0000000..7c50bd0 --- /dev/null +++ b/gcc/testsuite/gcc.dg/pr44509.c @@ -0,0 +1,9 @@ +/* PR bootstrap/44509 */ +/* { dg-do compile } */ +/* { dg-options "--param ggc-min-expand=0 --param ggc-min-heapsize=0" } */ + +double +foo (void) +{ + return __DBL_MAX__ - __FLT_MAX__; +} -- cgit v1.1