https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100491
--- Comment #3 from Fredrik Hederstierna <fredrik.hederstie...@securitas-direct.com> --- It is strange that SRA is skipped only when adding the (unnecessary) function prototype: static int addsym (register char[], char *, int, hash_table_t, int); If skipping the prototype, or adding 'wrong' prototype, then SRA runs correctly. Eg, this will also work adding static int addsym ();