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]

Re: Tweak for gcc.dg/cpp/20000628-1.c



  In message <20000629122711.V279@wolery.cumb.org>you write:
  > This patch makes 20000628-1.c trigger the bug it's supposed to test
  > for, instead of that bug plus a stack of syntax-error complaints.
  > asm(""); is rejected in -ansi mode, and all the dg tests run in -ansi
  > mode unless that is specifically overridden.
  > 
  > I took the opportunity to tighten up the test a bit.
  > 
  > zw
  > 
  > 	* gcc.dg/cpp/20000628-1a.h: Don't use asm().  On each
  > 	of the first three inclusions, declare one variable.  On the
  > 	fourth, error.
  > 	* gcc.dg/cpp/20000628-1.c (main): Reference the three variables
  > 	declared by 20000628-1a.h.
This is fine.  Please install this test.
jeff

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