This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

[Patch, gfortran] wrap vars only used for 'HAVE_LD_STATIC_DYNAMIC' targets.


In gfortranspec, the static library decision variables for targets with -Bstatic/dynamic are unused for targets without.
Since they were set to 0 there was no problem until the new "set but not used" warning was added - which becomes a bootstrap fail error @stage2.


this should fix it for targets w/out HAVE_LD_STATIC_DYNAMIC.
Iain

Attachment: 158099-gfortranspec-unused-vars-diff.txt
Description: Text document



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