https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91716
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-checking
Status|UNCONFIRMED |NEW
Last reconfirmed| |2019-09-11
CC| |edlinger at gcc dot gnu.org,
| |law at gcc dot gnu.org
Target Milestone|--- |9.3
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
#1 0x000000000174739f in output_constant (exp=<string_cst 0x7ffff69d0ba0>,
size=1, align=8, reverse=false, merge_strings=false)
at /space/rguenther/src/svn/trunk2/gcc/varasm.c:5026
5026 gcc_checking_assert (check_string_literal (exp, size));
Confirmed.
4834 static bool
4835 check_string_literal (tree string, unsigned HOST_WIDE_INT size)
4836 {
...
4849 if (mem_size != size)
4850 return false;
triggers. mem_size == 0, size == 1.
but thissize in the caller is 0, still we pass in 'size'!?
blaming the above shows Jeff and Bernd (CCed).