https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78038
--- Comment #9 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Fri Oct 21 07:55:30 2016 New Revision: 241395 URL: https://gcc.gnu.org/viewcvs?rev=241395&root=gcc&view=rev Log: [ree] PR rtl-optimization/78038: Handle global register dataflow definitions in ree PR rtl-optimization/78038 * ree.c (get_defs): Return NULL if a defining insn for REG cannot be deduced to set REG through the RTL structure. (make_defs_and_copies_lists): Return false on a failing get_defs call. * gcc.target/aarch64/pr78038.c: New test. Added: trunk/gcc/testsuite/gcc.target/aarch64/pr78038.c Modified: trunk/gcc/ChangeLog trunk/gcc/ree.c trunk/gcc/testsuite/ChangeLog