This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/28528] [4.0/4.1/4.2 Regression] C language extensions override -x in C++ driver
- From: "dannysmith at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Aug 2006 00:24:19 -0000
- Subject: [Bug driver/28528] [4.0/4.1/4.2 Regression] C language extensions override -x in C++ driver
- References: <bug-28528-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from dannysmith at gcc dot gnu dot org 2006-08-25 00:24 -------
Subject: Bug 28528
Author: dannysmith
Date: Fri Aug 25 00:24:10 2006
New Revision: 116392
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116392
Log:
PR driver/28528
* g++spec.c (lang_specific_driver): Always check if we need to
swallow a space-separated arg to '-x'.
* lang-specs.h: Don't create ouput files for '-xc++-header'
if -fsyntax-only.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/g++spec.c
trunk/gcc/cp/lang-specs.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28528