https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65240
--- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> ---
I also cannot reproduce the ICE with the original test case but I can confirm
it with the test case from comment #6. The test case isn't strictly conforming
(as pointed out by a number warnings when -Wall is used). Resolving the
problems (declaring fn5, adding the missing return statements, or initializing
the local variables a in fn3) makes the ICE disappear.
The problem was introduced in r219854:
commit 5379d8d457b300219d3d8eda38caaa9916f98078
Author: dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Mon Jan 19 18:33:24 2015 +0000
* config/rs6000/default64.h: Include rs6000-cpus.def.
(TARGET_DEFAULT) [LITTLE_ENDIAN]: Use ISA 2.7 (POWER8).
(TARGET_DEFAULT) [BIG_ENDIAN]: Use POWER4.
* config/rs6000/driver-rs6000.c (detect_processor_aix): Add POWER7
and POWER8.
* config/rs6000/linux64.h (PROCESSOR_DEFAULT64): Always default to
POWER8.
* config/rs6000/rs6000.c (rs6000_file_start): Emit .machine
pseudo-op to specify assembler dialect.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219854
138bc75d-0d04-0410-961f-82ee72b054a4