From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10834 invoked by alias); 8 Apr 2014 03:55:39 -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 10800 invoked by uid 48); 8 Apr 2014 03:55:34 -0000 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/59817] ICE in extract_affine_chrec with -O2 -ftree-loop-linear Date: Tue, 08 Apr 2014 03:55: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: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: NEW 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: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-04/txt/msg00517.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59817 Arseny Solokha changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asolokha at gmx dot com --- Comment #2 from Arseny Solokha --- The following testcase is another way to trigger this segfault: int kd; void n2(void) { static int so; static short int i5; int wj; int *il; int *nk = &so; for (wj = 0; wj < 2; ++wj) *nk = ((i5 += *il) || kd ); } I can reproduce it on x86_64 w/ 4.8.2 and 4.9.0-alpha20140406.