This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] fix interaction of -S and -x {c,c++}-header
- From: "Jan Beulich" <JBeulich at suse dot com>
- To: "Bernd Schmidt" <bschmidt at redhat dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 01 Jul 2016 09:26:27 -0600
- Subject: Re: [PATCH] fix interaction of -S and -x {c,c++}-header
- Authentication-results: sourceware.org; auth=none
- References: <5776444E02000078000FA514 at prv-mh dot provo dot novell dot com> <5c2bdd45-3a46-6601-a9f8-8b2259d7cd6a at redhat dot com>
>>> On 01.07.16 at 17:17, <bschmidt@redhat.com> wrote:
> On 07/01/2016 10:22 AM, Jan Beulich wrote:
>> Irrespective of the use of -o this so far resulted in "error: output
>> filename specified twice", since cc1_options already produces a -o
>> option when -S was specified.
>>
>> gcc/
>> 2016-07-01 Jan Beulich <jbeulich@suse.com>
>>
>> * varasm.c (get_variable_section): Validate initializer in
>> named .bss-like sections.
>
> Ok with the right ChangeLog.
Oops, I'm sorry for that. This is what it was supposed to be:
gcc/
2016-07-01 Jan Beulich <jbeulich@suse.com>
* gcc.c (default_compilers["@c-header"]): Conditionalize "-o".
gcc/cp/
2016-07-01 Jan Beulich <jbeulich@suse.com>
* lang-specs.h ("@c++-header"): Conditionalize "-o".
gcc/testsuite/
2016-07-01 Jan Beulich <jbeulich@suse.com>
* g++.dg/header.c: New.
* gcc.dg/header.c: New.
Jan