From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16773 invoked by alias); 25 Sep 2012 19:55:59 -0000 Received: (qmail 16649 invoked by uid 48); 25 Sep 2012 19:55:34 -0000 From: "dave at boostpro dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/54706] -fsyntax-only suppresses a compilation error Date: Tue, 25 Sep 2012 19:55: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-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dave at boostpro dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2012-09/txt/msg02112.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54706 --- Comment #3 from Dave Abrahams 2012-09-25 19:55:31 UTC --- (In reply to comment #1) > As already discussed in another PR, with -fsyntax-only no template > instantiation occurs. Can be that? Certainly that explains it. > In any case, let's add Jason in CC about the instantiation issue, quite a few > people are not so happy about it. Maybe a good occasion to clarify that (very > old, AFAIK) choice... Or change it, or provide another option. Clang's -fsyntax-only does instantiate, BTW.