From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C84A73858D33; Thu, 11 May 2023 11:52:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C84A73858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683805939; bh=ujP8gteRhMHFRbz0zt+zUgFXbpycXQJtzrV7FlRS68E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Puwhx62CKThPhgS15FgVOpngXuHLteYA66IrGrSwh3Hc/+mF9Sq0J8GQuEiD6GLYS 9fP3EJlNdv+lCURB0NOzn9yLPzZGD9XPxah/t39mZovpLOIJczmBlWeLDPEvNAujlA bG+mxnNzVBMNjffg74biBSlYniYcoF/U8RWlL38E= From: "gaius at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug modula2/109810] String literal exceeding array causes ICE Date: Thu, 11 May 2023 11:52:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: modula2 X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gaius at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: gaius at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109810 --- Comment #2 from Gaius Mulley --- gm2 -g highice.mod=20 highice.mod:6:6: warning: string constant is too large to be assigned to the array 6 | a :=3D '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 =E2=80=98_M2_highice_init=E2=80=99: 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 for instructions=