X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fdf-scan.c;h=39f444f9fc572f7edfc1dd22c4038935edb8cc52;hb=923e06eee99402adb06f547d2731c482c52e3f40;hp=7179051f0b85684aa4973749e46d3a45257166a0;hpb=89bc53e2cbd952786f78f49a49a8ffa63fee8f67;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/df-scan.c b/gcc/df-scan.c index 7179051f0b8..39f444f9fc5 100644 --- a/gcc/df-scan.c +++ b/gcc/df-scan.c @@ -1,6 +1,6 @@ /* Scanning of rtl for dataflow analysis. Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, - 2008, 2009, 2010, 2011 Free Software Foundation, Inc. + 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. Originally contributed by Michael P. Hayes (m.hayes@elec.canterbury.ac.nz, mhayes@redhat.com) Major rewrite contributed by Danny Berlin (dberlin@dberlin.org) @@ -2794,8 +2794,9 @@ df_ref_create_structure (enum df_ref_class cl, DF_REF_FLAGS_CLEAR (this_ref, DF_HARD_REG_LIVE); /* See if this ref needs to have DF_HARD_REG_LIVE bit set. */ - if ((regno < FIRST_PSEUDO_REGISTER) - && (!DF_REF_IS_ARTIFICIAL (this_ref))) + if (regno < FIRST_PSEUDO_REGISTER + && !DF_REF_IS_ARTIFICIAL (this_ref) + && !DEBUG_INSN_P (DF_REF_INSN (this_ref))) { if (DF_REF_REG_DEF_P (this_ref)) { @@ -3181,6 +3182,7 @@ df_uses_record (struct df_collection_rec *collection_rec, } case RETURN: + case SIMPLE_RETURN: break; case ASM_OPERANDS: @@ -3733,14 +3735,8 @@ df_get_entry_block_def_set (bitmap entry_block_defs) bitmap_clear (entry_block_defs); for (i = 0; i < FIRST_PSEUDO_REGISTER; i++) - { - if (FUNCTION_ARG_REGNO_P (i)) -#ifdef INCOMING_REGNO - bitmap_set_bit (entry_block_defs, INCOMING_REGNO (i)); -#else - bitmap_set_bit (entry_block_defs, i); -#endif - } + if (FUNCTION_ARG_REGNO_P (i)) + bitmap_set_bit (entry_block_defs, INCOMING_REGNO (i)); /* The always important stack pointer. */ bitmap_set_bit (entry_block_defs, STACK_POINTER_REGNUM);