From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4806 invoked by alias); 18 Feb 2013 19:43:41 -0000 Received: (qmail 2627 invoked by uid 55); 18 Feb 2013 19:43:09 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug pch/54117] [4.8 Regression] FAIL: ./decl-3.h -O0 -g (internal compiler error) Date: Mon, 18 Feb 2013 19:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: pch X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: steven at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2013-02/txt/msg01845.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54117 --- Comment #20 from Jakub Jelinek 2013-02-18 19:43:06 UTC --- Author: jakub Date: Mon Feb 18 19:42:56 2013 New Revision: 196124 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196124 Log: PR pch/54117 * c-opts.c (c_common_post_options): If debug info is enabled and non-dwarf*, refuse to load PCH files and when writing PCH file warn. * lib/dg-pch.exp (pch-init, pch-finish, check_effective_target_pch_supported_debug): New procs. (dg-flags-pch): If $pch_unsupported, make tests UNSUPPORTED. Likewise if $pch_unsupported_debug and $flags include -g. Skip FAILs about missing *.gch file if $pch_unsupported_debug and dg-require-effective-target pch_unsupported_debug. * g++.dg/pch/pch.exp: Call pch-init and pch-finish. * objc.dg/pch/pch.exp: Likewise. * gcc.dg/pch/pch.exp: Likewise. * gcc.dg/pch/valid-1.c: Add dg-require-effective-target pch_unsupported_debug. * gcc.dg/pch/valid-1.hs: Likewise. * gcc.dg/pch/valid-1b.c: Likewise. * gcc.dg/pch/valid-1b.hs: Likewise. Modified: trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-opts.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/pch/pch.exp trunk/gcc/testsuite/gcc.dg/pch/pch.exp trunk/gcc/testsuite/gcc.dg/pch/valid-1.c trunk/gcc/testsuite/gcc.dg/pch/valid-1.hs trunk/gcc/testsuite/gcc.dg/pch/valid-1b.c trunk/gcc/testsuite/gcc.dg/pch/valid-1b.hs trunk/gcc/testsuite/lib/dg-pch.exp trunk/gcc/testsuite/objc.dg/pch/pch.exp