public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/46434] New: crx-elf --enable-werror-always build fails
@ 2010-11-11 13:15 amylaar at gcc dot gnu.org
2010-11-15 14:24 ` [Bug target/46434] " amylaar at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: amylaar at gcc dot gnu.org @ 2010-11-11 13:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46434
Summary: crx-elf --enable-werror-always build fails
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Keywords: build
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: amylaar@gcc.gnu.org
Blocks: 44756
Target: crx-elf
../../../gcc/gcc/config/crx/crx.c: In function ‘crx_addr_reg_p’:
../../../gcc/gcc/config/crx/crx.c:595:7: error: variable ‘reg’ set but not used
[-Werror=unused-but-set-variable]
../../../gcc/gcc/config/crx/crx.c: In function ‘crx_expand_epilogue’:
../../../gcc/gcc/config/crx/crx.c:1442:7: error: variable ‘return_reg’ set but
n
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/46434] crx-elf --enable-werror-always build fails
2010-11-11 13:15 [Bug target/46434] New: crx-elf --enable-werror-always build fails amylaar at gcc dot gnu.org
@ 2010-11-15 14:24 ` amylaar at gcc dot gnu.org
2010-11-19 19:26 ` amylaar at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: amylaar at gcc dot gnu.org @ 2010-11-15 14:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46434
Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
--- Comment #1 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> 2010-11-15 14:17:30 UTC ---
A patch has been posted here:
http://gcc.gnu.org/ml/gcc-patches/2010-11/msg01303.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/46434] crx-elf --enable-werror-always build fails
2010-11-11 13:15 [Bug target/46434] New: crx-elf --enable-werror-always build fails amylaar at gcc dot gnu.org
2010-11-15 14:24 ` [Bug target/46434] " amylaar at gcc dot gnu.org
@ 2010-11-19 19:26 ` amylaar at gcc dot gnu.org
2010-11-22 21:33 ` rth at gcc dot gnu.org
2010-11-22 22:06 ` amylaar at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: amylaar at gcc dot gnu.org @ 2010-11-19 19:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46434
--- Comment #2 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> 2010-11-19 19:22:31 UTC ---
Author: amylaar
Date: Fri Nov 19 19:22:27 2010
New Revision: 166954
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166954
Log:
PR target/46434
* config/crx/crx.c (crx_expand_epilogue): Remove unused variable.
Index: config/crx/crx.c
===================================================================
--- config/crx/crx.c (revision 166609)
+++ config/crx/crx.c (working copy)
@@ -613,6 +613,8 @@ static int crx_addr_reg_p (rtx addr_reg)
return FALSE;
}
+ gcc_assert (REGNO (reg) != CC_REGNUM);
+
return TRUE;
}
@@ -1439,17 +1441,12 @@ crx_expand_prologue (void)
void
crx_expand_epilogue (void)
{
- rtx return_reg;
-
/* Nonzero if we need to return and pop only RA. This will generate a
* different insn. This differentiate is for the peepholes for call as last
* statement in function. */
int only_popret_RA = (save_regs[RETURN_ADDRESS_REGNUM]
&& (sum_regs == UNITS_PER_WORD));
- /* Return register. */
- return_reg = gen_rtx_REG (Pmode, RETURN_ADDRESS_REGNUM);
-
if (frame_pointer_needed)
/* Restore the stack pointer with the frame pointers value */
emit_move_insn (stack_pointer_rtx, frame_pointer_rtx);
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/crx/crx.c
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/46434] crx-elf --enable-werror-always build fails
2010-11-11 13:15 [Bug target/46434] New: crx-elf --enable-werror-always build fails amylaar at gcc dot gnu.org
2010-11-15 14:24 ` [Bug target/46434] " amylaar at gcc dot gnu.org
2010-11-19 19:26 ` amylaar at gcc dot gnu.org
@ 2010-11-22 21:33 ` rth at gcc dot gnu.org
2010-11-22 22:06 ` amylaar at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: rth at gcc dot gnu.org @ 2010-11-22 21:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46434
--- Comment #3 from Richard Henderson <rth at gcc dot gnu.org> 2010-11-22 21:20:58 UTC ---
Author: rth
Date: Mon Nov 22 21:20:52 2010
New Revision: 167053
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167053
Log:
PR target/46434
* config/crx/crx.c (crx_addr_reg): Rename from crx_addr_reg_p;
return the address register extracted.
(crx_decompose_address): Update the extracted address register.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/crx/crx.c
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/46434] crx-elf --enable-werror-always build fails
2010-11-11 13:15 [Bug target/46434] New: crx-elf --enable-werror-always build fails amylaar at gcc dot gnu.org
` (2 preceding siblings ...)
2010-11-22 21:33 ` rth at gcc dot gnu.org
@ 2010-11-22 22:06 ` amylaar at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: amylaar at gcc dot gnu.org @ 2010-11-22 22:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46434
Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #4 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> 2010-11-22 22:05:18 UTC ---
Patches have been applied to trunk.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-11-22 22:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-11 13:15 [Bug target/46434] New: crx-elf --enable-werror-always build fails amylaar at gcc dot gnu.org
2010-11-15 14:24 ` [Bug target/46434] " amylaar at gcc dot gnu.org
2010-11-19 19:26 ` amylaar at gcc dot gnu.org
2010-11-22 21:33 ` rth at gcc dot gnu.org
2010-11-22 22:06 ` amylaar at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).