aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr44509.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-06-14 14:30:29 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2010-06-14 14:30:29 +0200
commit5bca794b0df69689d0bcc6d03697f169e543dd2c (patch)
treee71b7a923da3e97aad52cfbe029d629009a66b0a /gcc/testsuite/gcc.dg/pr44509.c
parent689cb4acaa076bc1e537298fe71c00102e58e782 (diff)
downloadgcc-5bca794b0df69689d0bcc6d03697f169e543dd2c.zip
gcc-5bca794b0df69689d0bcc6d03697f169e543dd2c.tar.gz
gcc-5bca794b0df69689d0bcc6d03697f169e543dd2c.tar.bz2
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
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr44509.c')
-rw-r--r--gcc/testsuite/gcc.dg/pr44509.c9
1 files changed, 9 insertions, 0 deletions
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__;
+}