On 27/10/16 11:25, Renlin Li wrote: > Hi all, > > This a simple patch to fix gcc.target/aarch64/pr66912.c. > It's a test case only applicable to small memory model which is the default > one. >
/* { dg-final { scan-assembler ":got(page_lo15)?:n_common" } } */ i think this is supposed to work on tiny and small model as well. (:got:var vs :gotpage_lo15:var) it will have to be updated for large model when we have support for that. > It has been tested to run only when the memory model is small. > Okay to commit? > > Regards, > Renlin Li > > gcc/testsuite/ChangeLog: > > 2016-10-27 Renlin Li <renlin...@arm.com> > > * gcc.target/aarch64/pr66912.c: Skip tiny and large memory model.