expr: build string_constant only for a char type
authorMartin Liska <mliska@suse.cz>
Mon, 27 Jul 2020 10:30:24 +0000 (12:30 +0200)
committerMartin Liska <mliska@suse.cz>
Mon, 27 Jul 2020 14:18:15 +0000 (16:18 +0200)
commit7355a9408b990cdd20db91e2e1ba0b03e801d6a6
treeb4ac93ea3879309cc588bdcfcc05e89a5da238b6
parent8e5584f7a1746ec1c3e187084832e5a58432ac74
expr: build string_constant only for a char type

gcc/ChangeLog:

PR tree-optimization/96058
* expr.c (string_constant): Build string_constant only
for a type that has same precision as char_type_node
and is an integral type.
gcc/expr.c