This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/53347] Duplicated redundant condition in compare-elim.c
- From: "bonzini at gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 15 May 2012 09:56:59 +0000
- Subject: [Bug middle-end/53347] Duplicated redundant condition in compare-elim.c
- Auto-submitted: auto-generated
- References: <bug-53347-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53347
--- Comment #1 from Paolo Bonzini <bonzini at gnu dot org> 2012-05-15 09:56:59 UTC ---
The code in conforming_compare matches this comment with or without the
duplicate test:
(1) All comparison patterns are represented as
[(set (reg:CC) (compare:CC (reg) (immediate)))]
so it looks like it could be removed.