public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/108384] error: conversion of register to a different size in ‘view_convert_expr’ Date: Thu, 12 Jan 2023 16:26:28 +0000 [thread overview] Message-ID: <bug-108384-4-jCxF8WzXHb@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-108384-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108384 --- Comment #3 from David Binderman <dcb314 at hotmail dot com> --- (In reply to Andrew Pinski from comment #2) > The code is undefined ... > > func_23(l_26[1]); > > func_23(struct S0 p_24, struct S0 p_25) Interesting. It looks like the reduction has not preserved the two parameters required of func_23. From the original csmith produced code: $ fgrep func_23 bug873.c static union U2 * func_23(struct S0 p_24, const struct S1 p_25); if ((((*l_9) &= 0x3631L) , (safe_div_func_int32_t_s_s((safe_sub_func_int8_t_s_s((((safe_mod_func_uint32_t_u_u(((func_17(func_23(l_26[1], l_27), l_9, ((*l_1367) = l_1366), (safe_add_func_uint32_t_u_u(((safe_div_func_uint8_t_u_u(((safe_rshift_func_uint8_t_u_s((l_27.f0 > p_3), 1)) || (((safe_div_func_int64_t_s_s(p_3, p_3)) != 0x47247D4EED584808LL) || g_1119)), 0x21L)) > g_1165[0]), 0xB3A4A36DL)), l_27.f4.f0) <= 0x334C102EE31FC4EFLL) & p_3), g_7.f0)) & g_1165[0]) || l_1397), 0L)), 0x55B9621EL)))) static union U2 * func_23(struct S0 p_24, const struct S1 p_25) Two parameters in the first declaration, two in the call and two in the definition.
next prev parent reply other threads:[~2023-01-12 16:26 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-01-12 14:53 [Bug c/108384] New: " dcb314 at hotmail dot com 2023-01-12 14:56 ` [Bug c/108384] " dcb314 at hotmail dot com 2023-01-12 16:11 ` [Bug ipa/108384] " pinskia at gcc dot gnu.org 2023-01-12 16:26 ` dcb314 at hotmail dot com [this message] 2023-01-12 17:05 ` dcb314 at hotmail dot com 2023-01-12 17:14 ` dcb314 at hotmail dot com 2023-01-12 17:19 ` dcb314 at hotmail dot com 2023-01-12 17:35 ` dcb314 at hotmail dot com 2023-01-12 18:32 ` dcb314 at hotmail dot com 2023-01-12 19:29 ` [Bug ipa/108384] [13 Regression] " pinskia at gcc dot gnu.org 2023-01-12 19:30 ` jakub at gcc dot gnu.org 2023-01-12 19:43 ` pinskia at gcc dot gnu.org 2023-01-12 21:11 ` jamborm at gcc dot gnu.org 2023-01-13 7:26 ` rguenth at gcc dot gnu.org 2023-02-02 16:20 ` jamborm at gcc dot gnu.org 2023-02-03 12:30 ` cvs-commit at gcc dot gnu.org 2023-02-03 12:33 ` jamborm at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-108384-4-jCxF8WzXHb@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).