http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41159
Bill Pringlemeir <bpringlemeir at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bpringlemeir at gmail dot | |com --- Comment #9 from Bill Pringlemeir <bpringlemeir at gmail dot com> 2011-04-14 21:57:23 UTC --- I believe I also have this occurring with host=x86_64-linux target=arm-linux-gnueabi. After reading this ticket, I retried my compiles with the same link and compile optimization level and it succeeds. I understand that you want gcc to support different option levels for both compile and link. However, I don't know that most people want this and I am not use to passing the linker options; a diagnostic for ld/gold plug-in when there is an optimization mismatch may be helpful? Is that a possibility for 4.5.x and 4.6.x releases?