From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 84F5D38582A1; Tue, 18 Jul 2023 10:37:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 84F5D38582A1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689676620; bh=YIjklmbZCjy3s22RW0/jmru1LYGjq27bg8jRqfKAtUc=; h=From:To:Subject:Date:From; b=vcAqL5/c3ngB0mXikTwdWEmEgZuXAUnfDyDutyAB4cqm7kt9uCbbsatmU2Tdw3RJ7 RO/0T9m5rJN1ivE/L+eVA5EGvYKw8LffB3SVxWYIAP8eFkybTK5AoQfUZ+fZeJBouk pivMaeyWUDIuU+tMp4Ndi+RuszlGnElRdBFqOd48= From: "ibuclaw at gdcproject dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/110712] New: d: ICE: verify_gimple_failed (conversion of register to a different size in 'view_convert_expr') Date: Tue, 18 Jul 2023 10:37:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ibuclaw at gdcproject dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110712 Bug ID: 110712 Summary: d: ICE: verify_gimple_failed (conversion of register to a different size in 'view_convert_expr') Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- Seen with gdc-12 with --enable-checking turned on, assume that it's going to still be the case with mainline. d21: error: conversion of register to a different size in =E2=80=98view_con= vert_expr=E2=80=99 VIEW_CONVERT_EXPR(ap_3(D)); # .MEM_4 =3D VDEF <.MEM_1(D)> this_2(D)->ap =3D VIEW_CONVERT_EXPR(ap_3(D)); during GIMPLE pass: ssa d21: internal compiler error: verify_gimple failed 0x11aad62 verify_gimple_in_cfg(function*, bool) ../../gcc/tree-cfg.cc:5561 0x1073dae execute_function_todo ../../gcc/passes.cc:2085 0x107431a execute_todo ../../gcc/passes.cc:2139 --- import gcc.builtins : va_list =3D __builtin_va_list; struct S { this(va_list ap) { this.ap =3D ap; } va_list ap; } --- Assigning a va_list parameter (static array saturated to a pointer on x86_6= 4) to a field (static array on x86_64) fails miserably to pass tree checks.=