From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11823 invoked by alias); 15 Jul 2014 17:42:34 -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 11659 invoked by uid 48); 15 Jul 2014 17:42:28 -0000 From: "dhowells at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/61812] gcc ICE incorrectly says "The bug is not reproducible, so it is likely a hardware or OS problem." Date: Tue, 15 Jul 2014 17:42:00 -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: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dhowells at redhat dot com X-Bugzilla-Status: RESOLVED 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: 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-07/txt/msg01004.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61812 --- Comment #5 from dhowells at redhat dot com --- (In reply to Andrew Pinski from comment #4) > Also even though it might be a true gcc issue, it does not say it is a > hardware issue, the message says likely. This could also mean a gc or a > memory issue inside gcc. Except detecting that vs a memory issue is much > harder. It's a bug with the code on the redhat/ branch that generates this message. The problem is that when it detects an ICE, the gcc driver runs the cc1 binary twice more and compares the output - but the output contains a userspace pointer from within gcc itself, eg: (call (mem:QI (symbol_ref:SI ("abort") [flags 0x41] ) [0 __builtin_abort S1 A8]) and this may legitimately differ due to the kernel mapping things in different places during execve() and mmap().