From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 102001 invoked by alias); 5 Aug 2015 04:24:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 101937 invoked by uid 48); 5 Aug 2015 04:24:18 -0000 From: "hp at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/67055] [5/6 Regression] Segmentation fault in fold_builtin_alloca_with_align in tree-ssa-ccp.c Date: Wed, 05 Aug 2015 04:24:00 -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: 5.2.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: hp 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: 5.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-08/txt/msg00266.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67055 Hans-Peter Nilsson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hp at gcc dot gnu.org --- Comment #9 from Hans-Peter Nilsson --- Created attachment 36130 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36130&action=edit rcutorture.c reduced, compile with -O2. Everybody loves a C test-case. This one will expose the same message for at least cris-elf at -O2, so I presume it is the same bug. Observed for r226568. The attached file is reduced from kernel/rcu/rcutorture.c git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git tag next-20150720 compiling for cris-linux, but with the reduced code edited to avoid warnings. Thanks to Chen Gang for the initial report.