http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58226
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW CC| |burnus at gcc dot gnu.org --- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> --- Also works for me as I have "-mtune=generic -march=x86-64" by default. Code wise, I think one should do something like the following: --- options.c (Revision 203206) +++ options.c (Arbeitskopie) @@ -1139,6 +1139,10 @@ gfc_get_option_string (void) size_t len, pos; char *result; + /* Allocate and return a one-character string with '\0'. */ + if (!save_decoded_options_count) + return = XCNEWVEC (char, 1); + /* Determine required string length. */ len = 0;