aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/options.c
diff options
context:
space:
mode:
authorKewen Lin <linkw@linux.ibm.com>2021-09-20 21:00:04 -0500
committerKewen Lin <linkw@linux.ibm.com>2021-09-20 21:00:04 -0500
commit63c6446f77b9001d26f973114450d790749f282b (patch)
treeebe9cea0659455a0ba329d436b1d6f0f9a022076 /gcc/fortran/options.c
parent56c24f18cce0da6405c5071b838844447fa81ac8 (diff)
downloadgcc-63c6446f77b9001d26f973114450d790749f282b.zip
gcc-63c6446f77b9001d26f973114450d790749f282b.tar.gz
gcc-63c6446f77b9001d26f973114450d790749f282b.tar.bz2
ipa-fnsummary: Remove inconsistent bp_pack_value
There is one inconsistent bit-field streaming out and in. On the side of streaming in: bp_pack_value (&bp, info->inlinable, 1); bp_pack_value (&bp, false, 1); bp_pack_value (&bp, info->fp_expressions, 1); while on the side of the streaming out: info->inlinable = bp_unpack_value (&bp, 1); info->fp_expressions = bp_unpack_value (&bp, 1) The removal of Cilk Plus support r8-4956 missed to remove the streaming out of the bit, instead just change the value for streaming out to be always false. By hacking fp_expression_p to always return true, I can see it reads the wrong fp_expressions value (false) out in wpa. gcc/ChangeLog: * ipa-fnsummary.c (ipa_fn_summary_write): Remove inconsistent bitfield stream out.
Diffstat (limited to 'gcc/fortran/options.c')
0 files changed, 0 insertions, 0 deletions