https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109810

--- Comment #2 from Gaius Mulley <gaius at gcc dot gnu.org> ---
gm2 -g highice.mod 
highice.mod:6:6: warning: string constant is too large to be assigned to the
array
    6 |    a := '12'
      |      ^~
*** WARNING *** there are active plugins, do not report this as a bug unless
you can reproduce it without enabling any plugins.
Event                            | Plugins
PLUGIN_FINISH                    | m2rte
during GIMPLE pass: lower
In function ‘_M2_highice_init’:
cc1gm2: internal compiler error: in constant_byte_string, at expr.cc:12378
0x725205 constant_byte_string
        ../../gcc-13.1.0-RC-20230419/gcc/expr.cc:12378
0x9dde49 c_strlen(tree_node*, int, c_strlen_data*, unsigned int)
        ../../gcc-13.1.0-RC-20230419/gcc/builtins.cc:609
0xbc4f43 gimple_fold_builtin_memory_op
        ../../gcc-13.1.0-RC-20230419/gcc/gimple-fold.cc:976
0xbc6b8c gimple_fold_builtin
        ../../gcc-13.1.0-RC-20230419/gcc/gimple-fold.cc:5018
0xbc6b8c gimple_fold_call
        ../../gcc-13.1.0-RC-20230419/gcc/gimple-fold.cc:5576
0xbc8a3b fold_stmt_1
        ../../gcc-13.1.0-RC-20230419/gcc/gimple-fold.cc:6328
0x1c11ae7 lower_stmt
        ../../gcc-13.1.0-RC-20230419/gcc/gimple-low.cc:793
0x1c12752 lower_sequence
        ../../gcc-13.1.0-RC-20230419/gcc/gimple-low.cc:229
0x1c12752 lower_gimple_bind
        ../../gcc-13.1.0-RC-20230419/gcc/gimple-low.cc:882
0x1c128fb lower_function_body
        ../../gcc-13.1.0-RC-20230419/gcc/gimple-low.cc:119
0x1c128fb execute
        ../../gcc-13.1.0-RC-20230419/gcc/gimple-low.cc:206
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions

Reply via email to