From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7B99F3838024; Tue, 10 May 2022 20:03:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7B99F3838024 From: "zhenyang.xu at uwaterloo dot ca" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/105554] New: ICE: in emit_block_move_hints, at expr.cc:1829 Date: Tue, 10 May 2022 20:03:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zhenyang.xu at uwaterloo dot ca X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2022 20:03:57 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105554 Bug ID: 105554 Summary: ICE: in emit_block_move_hints, at expr.cc:1829 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: zhenyang.xu at uwaterloo dot ca Target Milestone: --- $ gcc-trunk -v Using built-in specs. COLLECT_GCC=3Dgcc-trunk COLLECT_LTO_WRAPPER=3D/scratch/software/gcc-trunk/libexec/gcc/x86_64-pc-lin= ux-gnu/13.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /tmp/tmp.lx931ugYgb-gcc-builder/gcc/configure --enable-languages=3Dc,c++,lto --enable-checking-yes --enable-multiarch --prefix=3D/scratch/software/gcc-trunk --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 13.0.0 20220510 (experimental) [master -gbb2921ab8] (GCC) $ cat mutant_133870291_1648466141340.c __attribute__((target_clones("arch=3Dcore-avx2", "default"))) a(__attribute__((__vector_size__(4 * sizeof(long)))) long) {} $ gcc-trunk -O3 -g -Wall -Wextra -c mutant_133870291_1648466141340.c mutant_133870291_1648466141340.c:2:1: warning: return type defaults to =E2= =80=98int=E2=80=99 [-Wimplicit-int] 2 | a(__attribute__((__vector_size__(4 * sizeof(long)))) long) {} | ^ mutant_133870291_1648466141340.c: In function =E2=80=98a=E2=80=99: mutant_133870291_1648466141340.c:2:1: note: the ABI for passing parameters = with 32-byte alignment has changed in GCC 4.6 mutant_133870291_1648466141340.c:2:61: warning: control reaches end of non-= void function [-Wreturn-type] 2 | a(__attribute__((__vector_size__(4 * sizeof(long)))) long) {} | ^ mutant_133870291_1648466141340.c:2:1: warning: AVX vector argument without = AVX enabled changes the ABI [-Wpsabi] 2 | a(__attribute__((__vector_size__(4 * sizeof(long)))) long) {} | ^ during RTL pass: expand mutant_133870291_1648466141340.c:2:1: internal compiler error: in emit_block_move_hints, at expr.cc:1829 0x726cd5 emit_block_move_hints(rtx_def*, rtx_def*, rtx_def*, block_op_metho= ds, unsigned int, long, unsigned long, unsigned long, unsigned long, bool, bool= *, bool) /tmp/tmp.lx931ugYgb-gcc-builder/gcc/gcc/expr.cc:1829 0xc29395 emit_block_move(rtx_def*, rtx_def*, rtx_def*, block_op_methods) /tmp/tmp.lx931ugYgb-gcc-builder/gcc/gcc/expr.cc:1915 0xc8dc82 assign_parm_setup_block /tmp/tmp.lx931ugYgb-gcc-builder/gcc/gcc/function.cc:3124 0xc8dc82 assign_parms /tmp/tmp.lx931ugYgb-gcc-builder/gcc/gcc/function.cc:3705 0xc8f602 expand_function_start(tree_node*) /tmp/tmp.lx931ugYgb-gcc-builder/gcc/gcc/function.cc:5161 0xafda98 execute /tmp/tmp.lx931ugYgb-gcc-builder/gcc/gcc/cfgexpand.cc:6691 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.=