On Tue, 13 Nov 2012, Ian Lance Taylor wrote: > Right now if you run "gcc -fpie -fpic" you get, in effect, "gcc -fpie". > I think you should get "gcc -fpic". In general I think that of the > options -fpic, -fPIC, -fpie, -fPIE, -fno-pic, -fno-PIC, -fno-pie, > -fno-PIE the compiler should act as though only the last of those > options were specified. That follows the usual formulat in which the > last option wins. > > This patch implements that. Bootstrapped and tested on > x86_64-unknown-linux-gnu. OK for mainline?
OK. -- Joseph S. Myers jos...@codesourcery.com