From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C61303858D20; Mon, 9 Jan 2023 12:24:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C61303858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673267045; bh=btLQO+WkipqjKStvVgv2jxdESlpJV8jjmRvO8a6qzTg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RLUIuHEb5vP32fp981CtqDu8sJH2IdPWNzMr667CWKGOBmvH/CBIGBxkJj4TQqMkg sD39GEQG/7LXmIlClC3LoCIswSkPWayEMGHoyuPuvWYjzP3wudBp9jq/dkNcUMSeVh lIvTqKvcgQtHt9k4XSMomY7P9J66OwkHH8BIREAo= From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/108340] compiler segfault Date: Mon, 09 Jan 2023 12:24:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 12.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org 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: cc 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=3D108340 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marxin at gcc dot gnu.org --- Comment #2 from Martin Li=C5=A1ka --- Working on that, it's fixed on master, so bisecting now. Reduced test-case: int DMA_List_CheckNodesBaseAddresses_pNode1, DMA_List_CheckNodesBaseAddresses_pNode2; int DMA_List_CheckNodesBaseAddresses() { unsigned temp =3D ((int)&DMA_List_CheckNodesBaseAddresses_pNode1 | (int)&DMA_List_CheckNodesBaseAddresses_pNode2) & 65535 << 16; int ref =3D (int)&DMA_List_CheckNodesBaseAddresses_pNode1; if (temp !=3D (ref & 65535 << 16)) return 1; } $ arm-suse-linux-gnueabi-gcc-11 pr108340.i -c -O2 during GIMPLE pass: evrp pr108340.i: In function 'DMA_List_CheckNodesBaseAddresses': pr108340.i:10:1: internal compiler error: Segmentation fault 10 | } | ^ 0x7ffff78b78df ??? =20=20=20=20=20=20=20 /usr/src/debug/glibc-2.36/signal/../sysdeps/unix/sysv/linux/x86_64/libc_sig= action.c:0 0x7ffff78a15af __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 0x7ffff78a1678 __libc_start_main_impl ../csu/libc-start.c:381 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.=