[PATCH] gold testsuite: conditionalize -fmerge-constants use, clean up test

Cary Coutant ccoutant@google.com
Fri Oct 11 21:45:00 GMT 2013


> gold/
>         * configure.ac (MERGE_CONSTANTS_CFLAGS): New check.
>         * configure: Regenerate.
>         * Makefile.in: Regenerate.
>         * testsuite/merge_string_literals_1.c: Renamed to have .cc suffix.
>         * testsuite/merge_string_literals_2.c: Likewise.
>         * testsuite/Makefile.am
>         (merge_string_literals_1.o, merge_string_literals_2.o): Update deps.
>         (AM_CFLAGS, AM_CXXFLAGS): Use $(MERGE_CONSTANTS_FLAGS) in place of
>         literal -fmerge-constants.
>         * testsuite/Makefile.in: Regenerate.

You've got two different spellings here: MERGE_CONSTANTS_FLAGS and
MERGE_CONSTANTS_CFLAGS. How about just "MERGE_CONSTANTS_FLAG"?

OK with that change.

-cary



More information about the Binutils mailing list