diff options
author | Jeff Law <jeffreyalaw@gmail.com> | 2022-07-09 11:11:00 -0400 |
---|---|---|
committer | Jeff Law <jeffreyalaw@gmail.com> | 2022-07-09 11:11:00 -0400 |
commit | 46dc26fdfbf3e64f82188e21aa6a13ec23108e8e (patch) | |
tree | b45385e17e48aab10eba7b334cb6ae9379092982 /gcc/value-range.cc | |
parent | 8f1802003d2b0c516362ea816698317129838bcd (diff) | |
download | gcc-46dc26fdfbf3e64f82188e21aa6a13ec23108e8e.zip gcc-46dc26fdfbf3e64f82188e21aa6a13ec23108e8e.tar.gz gcc-46dc26fdfbf3e64f82188e21aa6a13ec23108e8e.tar.bz2 |
[RFA] Improve initialization of objects when the initializer has trailing zeros.
gcc/
* expr.cc (store_expr): Identify trailing NULs in a STRING_CST
initializer and use clear_storage rather than copying the
NULs to the destination array.
Diffstat (limited to 'gcc/value-range.cc')
0 files changed, 0 insertions, 0 deletions