+2007-05-08 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/31854
+ * config/i386/i386.c (ix86_function_regparm): Process local
+ functions only when TREE_CODE (decl) equals FUNCTION_DECL.
+
2007-05-07 Mike Stump <mrs@apple.com>
* doc/invoke.texi (Warning Options): Document that -Wempty-body
return 2;
/* Use register calling convention for local functions when possible. */
- if (decl && flag_unit_at_a_time && !profile_flag)
+ if (decl && TREE_CODE (decl) == FUNCTION_DECL
+ && flag_unit_at_a_time && !profile_flag)
{
struct cgraph_local_info *i = cgraph_local_info (decl);
if (i && i->local)
+2007-05-08 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/31854
+ * gcc.target/i386/pr31854.c: New test.
+
2007-05-07 Janis Johnson <janis187@us.ibm.com>
* gcc.dg/pch/pch.exp: XFAIL largefile on Solaris 10 x86.
2007-05-07 Uros Bizjak <ubizjak@gmail.com>
- * gcc.dg/dfp/convert-bfp-fold.c: Remove extra assignment to
- sf variable. Rearrange conversions from binary float to decimal float.
+ * gcc.dg/dfp/convert-bfp-fold.c: Remove extra assignment to 'sf'
+ variable. Rearrange conversions from binary float to decimal float.
2007-05-07 Mark Mitchell <mark@codesourcery.com>
--- /dev/null
+/* { dg-do compile { target dfp } } */
+/* { dg-options "-O -std=gnu99" } */
+
+_Decimal128 d128;
+long double tf;
+
+void foo (void)
+{
+ d128 = tf;
+}