aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2019-01-20 12:55:38 +0000
committerIain Buclaw <ibuclaw@gcc.gnu.org>2019-01-20 12:55:38 +0000
commit5bdebb51a649d04569324f4f1124d5e64a3cbff7 (patch)
tree420e7c58ae557015dac5d880c91f9f924489f3aa /gcc/varasm.c
parent70d87497e760dca94ef78e4e936f6d461f36e80d (diff)
downloadgcc-5bdebb51a649d04569324f4f1124d5e64a3cbff7.zip
gcc-5bdebb51a649d04569324f4f1124d5e64a3cbff7.tar.gz
gcc-5bdebb51a649d04569324f4f1124d5e64a3cbff7.tar.bz2
[D] Fix identity comparison for structs with complex float fields.
gcc/d/ChangeLog: 2019-01-20 Iain Buclaw <ibuclaw@gdcproject.org> * d-codegen.cc (identity_compare_p): Return false if seen built-in type with padding. (build_float_identity): Moved here from expr.cc. (lower_struct_comparison): Handle real and complex types. * d-tree.h (build_float_identity): New. * expr.cc (build_float_identity): Move to d-codegen.cc. gcc/testsuite/ChangeLog: 2019-01-20 Iain Buclaw <ibuclaw@gdcproject.org> * gdc.dg/runnable.d: Add more tests for comparing complex types. From-SVN: r268104
Diffstat (limited to 'gcc/varasm.c')
0 files changed, 0 insertions, 0 deletions