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]
Other format: [Raw text]

[Bug bootstrap/43684] multiple 'set but not used' errors.



------- Comment #1 from iains at gcc dot gnu dot org  2010-04-09 11:30 -------
Created an attachment (id=20346)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20346&action=view)
Remove (or wrap, as necessary) set but unused vars.

this replaces and consolidates the patches referenced above.

gcc/fortran/
        PR bootstrap/43684
        * gfortranspec.c: Do not expose vars only used by
        HAVE_LD_STATIC_DYNAMIC targets unless compiling for such.

gcc/
        PR bootstrap/43684
        * varasm.c (default_assemble_visibility): Wrap vars that are 
        set, but unused, by targets without GAS.
        * config/rs6000/rs6000.c: Remove set, but unused, vars.
        * config/darwin.c: Ditto.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43684


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