https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70258
--- Comment #3 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> --- Author: hjl Date: Thu Mar 17 11:07:10 2016 New Revision: 234284 URL: https://gcc.gnu.org/viewcvs?rev=234284&root=gcc&view=rev Log: Set flag_pic to flag_pie for PIE in LTO Since PIE implies PIC, we should set flag_pic to flag_pie for PIE in LTO. PR lto/70258 * lto-lang.c (lto_post_options): Set flag_pic to flag_pie for PIE. Modified: trunk/gcc/lto/ChangeLog trunk/gcc/lto/lto-lang.c