This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch]: Add push_macro/pop_macro feature for all targets by moving it from C frontent into libcpp


2009/11/3 Joseph S. Myers <joseph@codesourcery.com>:
> On Tue, 3 Nov 2009, Kai Tietz wrote:
>
>> 2009-11-03 ?Kai Tietz ?<kai.tietz@onevision.com>
>>
>> ? ? ? ? * gcc.c-torture/execute/pushpop_macro.c: New testcase.
>
> You said things worked for C but were broken for C++. ?Now you propose
> adding a C testcase. ?Is this another case that was broken before but
> works after the patch? ?Are there cases failing for C++ but not for C (if
> so, such a case should be added to the C++ testsuite)?
>
> --
> Joseph S. Myers
> joseph@codesourcery.com
>

Yes, you are right. The C++ case is necessary to show the issue for
the cygwin/mingw targets.

New patch contains test for C++, too.

ChangeLog

2009-11-03  Kai Tietz  <kai.tietz@onevision.com>

        * g++.dg/torture/pushpop_macro.C: New testcase.



Kai

-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination

Attachment: mvpushpop.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]