diff options
author | Jason Merrill <jason@redhat.com> | 2019-09-23 13:48:00 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2019-09-23 13:48:00 -0400 |
commit | 33ba6ac3912614d2e2c5bb1bad2f4f069525e700 (patch) | |
tree | a4484a7075b47ffc96663cea3b6083ede11733b2 /gcc/gimple-expr.c | |
parent | 1a09197cb1bc05a71d1866d1220937289da02c5e (diff) | |
download | gcc-33ba6ac3912614d2e2c5bb1bad2f4f069525e700.zip gcc-33ba6ac3912614d2e2c5bb1bad2f4f069525e700.tar.gz gcc-33ba6ac3912614d2e2c5bb1bad2f4f069525e700.tar.bz2 |
PR c++/91809 - bit-field and ellipsis.
decay_conversion converts a bit-field access to its declared type, which
isn't what we want here; it even has a comment that the caller is expected
to have already used default_conversion to perform integral promotion. This
function handles arithmetic promotion differently, but we still don't want
to call decay_conversion before that happens.
* call.c (convert_arg_to_ellipsis): Don't call decay_conversion for
arithmetic arguments.
From-SVN: r276059
Diffstat (limited to 'gcc/gimple-expr.c')
0 files changed, 0 insertions, 0 deletions