From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 96B2B3858C74; Thu, 12 Jan 2023 19:29:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 96B2B3858C74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673551770; bh=8ZaYiwz/3IG2thG5gwHvqJMQlwkSsBRIabTuMqLcBMw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KvziBT4322LnU+Oa6lPKm2oqvBFYs9E7YSZy8ukyTkXoWN8qlwVFXWlylSOporD56 YPvSyZScSypUxZa3bm/8sfxy+qzOQcHxZs6TCNxG3fkTPb4ODgpCEnI2fOxQKCZhR/ WS4t0RdTd5kpFILhRGU1IvV05XGmkHQ5NNKf3vko= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBpcGEvMTA4Mzg0XSBbMTMgUmVncmVzc2lvbl0gZXJyb3I6?= =?UTF-8?B?IGNvbnZlcnNpb24gb2YgcmVnaXN0ZXIgdG8gYSBkaWZmZXJlbnQgc2l6ZSBp?= =?UTF-8?B?biDigJh2aWV3X2NvbnZlcnRfZXhwcuKAmQ==?= Date: Thu, 12 Jan 2023 19:29:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc cf_reconfirmed_on bug_status everconfirmed target_milestone 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=3D108384 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|error: conversion of |[13 Regression] error: |register to a different |conversion of register to a |size in =E2=80=98view_convert_expr=E2=80=99 |different = size in | |=E2=80=98view_convert_expr= =E2=80=99 Last reconfirmed| |2023-01-12 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Target Milestone|--- |13.0 --- Comment #9 from Andrew Pinski --- Confirmed. Here is a cleaned up testcase where you don't need the -ftrivial-auto-var-init=3Dzero option either; just -O3 ``` struct S0 { int f0; short f1; unsigned f2 : 7; short f3; } func_2_l_27; int *g_389; int safe_sub_func_int16_t_s_s(void); void safe_lshift_func_uint8_t_u_s(int); void func_23(struct S0 p_24, struct S0 p_25) { int *l_1051 =3D g_389; if (safe_sub_func_int16_t_s_s()) for (;;) safe_lshift_func_uint8_t_u_s(p_24.f1); *l_1051 =3D p_25.f0; } void func_2(void) { struct S0 l_26[] =3D {4, 5, 4, 6, 4, 5, 4, 6}; __builtin_clear_padding (&l_26); func_23(l_26[1], func_2_l_27); } ```=