https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84848
Uroš Bizjak <ubizjak at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target|hppa64-hp-hpux11.11 |hppa64-hp-hpux11.11, | |alphaev68-linux-gnu CC| |ubizjak at gmail dot com --- Comment #8 from Uroš Bizjak <ubizjak at gmail dot com> --- Also happens on alphaev68-linux-gnu. BTW: on x86_64-linux-gnu the testcae "works" because it gets optimized to: main: subq $8, %rsp call _gfortran_set_args movl $options.0.3777, %esi movl $7, %edi call _gfortran_set_options xorl %eax, %eax addq $8, %rsp ret So, it just happens that init-regs pass initializes FRAME.1 reg to 0, which is not the case for alphaev68, as the variable lives in memory.