This is the mail archive of the gcc-bugs@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]

No Subject


> I think feature tests are always better than version number tests.  I
> think version number tests are a last resort.  That's because you
> don't actually care what version number you are using.  You only care
> whether a particular feature works.  You might be using some weird
> mutant gas which thinks that it's version 970813 or something (and
> believe me, there are plenty of such mutants out there).

Is merely checking that:

	.p2align 4

and:

	.p2align 4,,7

assemble sufficient or should nm be used to ensure that the expected
results occurred (assuming that a working known nm is available which
uses "standard" arguments and has a "standard" output format).  My
concern is that some non-gas assemblers may assemble this fine, however
they may use .p2align to mean something completely different.

-- John
-------------------------------------------------------------------------
|   Feith Systems  |   Voice: 1-215-646-8000  |  Email: john@feith.com  |
|    John Wehle    |     Fax: 1-215-540-5495  |                         |
-------------------------------------------------------------------------



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