This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/49114] Reload failed to handle (set reg:X (plus:X (subreg:X (reg:Y) 0) (const_int)))
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 29 Jun 2011 16:18:28 +0000
- Subject: [Bug rtl-optimization/49114] Reload failed to handle (set reg:X (plus:X (subreg:X (reg:Y) 0) (const_int)))
- Auto-submitted: auto-generated
- References: <bug-49114-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49114
--- Comment #11 from H.J. Lu <hjl.tools at gmail dot com> 2011-06-29 16:17:38 UTC ---
(In reply to comment #9)
> Trunk now fails to build on PPC with the following:
>
> /home/gccbuild/gcc_trunk_anonsvn/gcc/gcc/reload.c: In function âpush_reloadâ:
> /home/gccbuild/gcc_trunk_anonsvn/gcc/gcc/reload.c:926:28: error: variable
> âout_subreg_locâ set but not used [-Werror=unused-but-set-variable]
> /home/gccbuild/gcc_trunk_anonsvn/gcc/gcc/reload.c:926:8: error: variable
> âin_subreg_locâ set but not used [-Werror=unused-but-set-variable]
Can you try the patch I uploaded?