aboutsummaryrefslogtreecommitdiff
path: root/zlib
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2020-12-05 12:34:05 -0500
committerDavid Edelsohn <dje.gcc@gmail.com>2020-12-05 17:10:53 -0500
commitbfa7dd84d1a0d83c716715e91c544203a7ad454d (patch)
treed2612e7c6d9b196ec17ce16bfbd95e2e355b1db4 /zlib
parent40234200864b6c0d0079abbcdc7a4139b60257ff (diff)
downloadgcc-bfa7dd84d1a0d83c716715e91c544203a7ad454d.zip
gcc-bfa7dd84d1a0d83c716715e91c544203a7ad454d.tar.gz
gcc-bfa7dd84d1a0d83c716715e91c544203a7ad454d.tar.bz2
aix: fix ASM_OUTPUT_DEF warning
ASM_OUTPUT_DEF is used by GCC as a proxy to enable alias support. But the macro does not provide the necessary implementation for symbol aliasing on AIX, which uses a different implementation. On AIX, the macro was empty. Because the macro is empty, none of the macro argument are used, which means that some of the variables in the function that calls the macro are never used. This causes a warning when building varasm.c, and -Werror converts that into a fatal error. This patch references the macro arguments as (void) to prevent the warning. 2020-12-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> David Edelsohn <dje.gcc@gmail.com> gcc/ChangeLog: * config/rs6000/xcoff.h (ASM_OUTPUT_DEF): Reference macro arguments.
Diffstat (limited to 'zlib')
0 files changed, 0 insertions, 0 deletions