This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Fix a typed DWARF stack unsigned comparison thinko
- From: Jakub Jelinek <jakub at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 1 Jun 2011 16:23:08 +0200
- Subject: [committed] Fix a typed DWARF stack unsigned comparison thinko
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
Hi!
While working on patches I'm going to post momentarily, I've noticed
a buglet in ucompare handling, mode is the mode of the comparison, while
obviously I meant op_mode which is the mode of the comparison operands.
Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux,
committed as obvious.
2011-06-01 Jakub Jelinek <jakub@redhat.com>
* dwarf2out.c (mem_loc_descriptor) <do_ucompare>: Call
base_type_for_mode with op_mode instead of mode.
--- gcc/dwarf2out.c.jj 2011-05-31 21:14:53.000000000 +0200
+++ gcc/dwarf2out.c 2011-06-01 12:34:45.985670994 +0200
@@ -14685,7 +14685,7 @@ mem_loc_descriptor (rtx rtl, enum machin
}
else
{
- dw_die_ref type_die = base_type_for_mode (mode, 1);
+ dw_die_ref type_die = base_type_for_mode (op_mode, 1);
dw_loc_descr_ref cvt;
if (type_die == NULL)
Jakub