Jakub,
  I would like to create a test case for a couple of the
failures I see in gcc.dg-struct-layout-1 on Darwin PPC -m64
so I can submit a PR for this one. I have been able to find
all of the lines in the generated testcase for the failed
tests...

http://gcc.gnu.org/ml/gcc/2006-09/msg00211.html

However I am still rather fuzzy on how I can coax the
actual code to be generated for individual tests. For
example, If I were to paste..

T(94,struct atal16{}a;,)

into struct-layout-1_test.h would I append it to the
original...

T(0,enum E2 a:31;,B(0,a,e2_m1,e2_0))

...or replace it? Also I assume I should be editing
the struct-layout-1_test.h in the original source
directory and not in any darwin_object directory
created by the gcc build. Lastly, I am confused by
your comment...

  Then you can just cut and paste that line from the generated testcase
  (the test line number is the first argument of the macro on each line)
  say into say struct-layout-1_test.h and can build it as any other compat.exp
  testcase.

Does this mean that I just execute only the gcc.dg/compat/compat.exp
testcase manually (ie...

make check-gcc RUNTESTFLAGS="--target_board=unix'{-m64}' compat.exp"

...or should I do attempt to invoke the designated testcase in
a slightly different manner?
           Jack
ps Where should I expect to see the newly created testcase appear
and under what name? Thanks in advance for any clarifications.

Reply via email to