From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 110603858C53; Mon, 16 Jan 2023 21:10:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 110603858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673903406; bh=+giGr0W7RWp96Asf7WmRPzCGY4KNgTQXx4AmQQR9E6g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=AFTirYlRLOUI+EdIegJm1vG9D/jr3lcPvmMaHP3rALM1jkuG6qCZ8fWmyi6VhGu+G GBL7L5AZnkdW1sIKp9oawu6G7VZzJ86KU3V0+K0l3p4I9MiRMPHGUH1jLQEEKFszzc zRrulOiliN3qYeUWWiAzoTq2o312VldPAhI9L6uc= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/105769] [11/12/13 Regression] program segmentation fault with -ftree-vectorize and nested lambdas Date: Mon, 16 Jan 2023 21:10:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 11.2.1 X-Bugzilla-Keywords: needs-bisection, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D105769 --- Comment #6 from Jakub Jelinek --- The expand dump shows: Partition 4: size 64 align 16 cov_jn Partition 0: size 48 align 16 D.5642 bias D.5613 Partition 1: size 32 align 16 D.5615 Partition 2: size 32 align 16 D.5614 where D.5615 is the est2_t return value slot, D.5614 is the est_t parameter slot, D.5613 the map_t object, D.5642 the 48 byte "struct void", bias the 32 byte var, so there clearly is some stack reuse, but not for the vars I actually see overlapping. Anyway, -fstack-reuse=3Dnone doesn't seem to help (but the -da expand dump = still prints the 3 vars there).=