]> git.ipfire.org Git - thirdparty/gcc.git/commit
i386: Remove declaration of unused functions
authorEvgeny Karpov <Evgeny.Karpov@microsoft.com>
Tue, 25 Jun 2024 21:59:35 +0000 (21:59 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Wed, 26 Jun 2024 07:38:49 +0000 (07:38 +0000)
commitf4e847ba69a36d433d68cc2b41068cd59ffa1cd3
tree47442f7108f76d1a809802735dbd65d9fcec652a
parent812c70bf4981958488331d4ea5af8709b5321da1
i386: Remove declaration of unused functions

The patch fixes the issue introduced in
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=63512c72df09b43d56ac7680cdfd57a66d40c636
and reported at
https://gcc.gnu.org/pipermail/gcc-patches/2024-June/655599.html .

Regards,
Evgeny

The patch fixes the issue with compilation on x86_64-gnu-linux
when warnings for unused functions are treated as errors.

gcc/ChangeLog:

* config/i386/i386.cc (legitimize_dllimport_symbol): Remove unused
functions.
(legitimize_pe_coff_extern_decl): Likewise.
gcc/config/i386/i386.cc