+2014-11-26 Ilya Enkovich <ilya.enkovich@intel.com>
+
+ PR lto/64075
+ * tree-streamer-in.c (unpack_ts_function_decl_value_fields): Use
+ proper size for function_code bitfield.
+ (pack_ts_function_decl_value_fields): Likewise.
+
2014-11-21 Mark Wielaard <mjw@redhat.com>
* doc/invoke.texi (-gdwarf-@{version}): Mention experimental DWARFv5.
+2014-11-26 Ilya Enkovich <ilya.enkovich@intel.com>
+
+ PR lto/64075
+ * gcc.dg/pr64075.c: New.
+
2014-11-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gcc.target/i386/pr63620.c: XFAIL get_pc_thunk scan on
--- /dev/null
+/* PR lto/64075 */
+/* { dg-do compile } */
+/* { dg-require-effective-target lto } */
+/* { dg-options "-flto" } */
+
+_Complex float test (float a, float b, float c, float d)
+{
+ return 1.0iF;
+}
if (DECL_BUILT_IN_CLASS (expr) != NOT_BUILT_IN)
{
DECL_FUNCTION_CODE (expr) = (enum built_in_function) bp_unpack_value (bp,
- 11);
+ 12);
if (DECL_BUILT_IN_CLASS (expr) == BUILT_IN_NORMAL
&& DECL_FUNCTION_CODE (expr) >= END_BUILTINS)
fatal_error ("machine independent builtin code out of range");
bp_pack_value (bp, DECL_PURE_P (expr), 1);
bp_pack_value (bp, DECL_LOOPING_CONST_OR_PURE_P (expr), 1);
if (DECL_BUILT_IN_CLASS (expr) != NOT_BUILT_IN)
- bp_pack_value (bp, DECL_FUNCTION_CODE (expr), 11);
+ bp_pack_value (bp, DECL_FUNCTION_CODE (expr), 12);
}