comparison gcc/stmt.c @ 63:b7f97abdc517 gcc-4.6-20100522

update gcc from gcc-4.5.0 to gcc-4.6
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Mon, 24 May 2010 12:47:05 +0900
parents 77e2b8dfacca
children f6334be47118
comparison
equal deleted inserted replaced
56:3c8a44c06a95 63:b7f97abdc517
1 /* Expands front end tree to back end RTL for GCC 1 /* Expands front end tree to back end RTL for GCC
2 Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 2 Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997,
3 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 3 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
4 Free Software Foundation, Inc. 4 2010 Free Software Foundation, Inc.
5 5
6 This file is part of GCC. 6 This file is part of GCC.
7 7
8 GCC is free software; you can redistribute it and/or modify it under 8 GCC is free software; you can redistribute it and/or modify it under
9 the terms of the GNU General Public License as published by the Free 9 the terms of the GNU General Public License as published by the Free
50 #include "target.h" 50 #include "target.h"
51 #include "gimple.h" 51 #include "gimple.h"
52 #include "regs.h" 52 #include "regs.h"
53 #include "alloc-pool.h" 53 #include "alloc-pool.h"
54 #include "pretty-print.h" 54 #include "pretty-print.h"
55 #include "bitmap.h"
56
55 57
56 /* Functions and data structures for expanding case statements. */ 58 /* Functions and data structures for expanding case statements. */
57 59
58 /* Case label structure, used to hold info on labels within case 60 /* Case label structure, used to hold info on labels within case
59 statements. We handle "range" labels; for a single-value label 61 statements. We handle "range" labels; for a single-value label
2533 static void 2535 static void
2534 do_jump_if_equal (enum machine_mode mode, rtx op0, rtx op1, rtx label, 2536 do_jump_if_equal (enum machine_mode mode, rtx op0, rtx op1, rtx label,
2535 int unsignedp) 2537 int unsignedp)
2536 { 2538 {
2537 do_compare_rtx_and_jump (op0, op1, EQ, unsignedp, mode, 2539 do_compare_rtx_and_jump (op0, op1, EQ, unsignedp, mode,
2538 NULL_RTX, NULL_RTX, label); 2540 NULL_RTX, NULL_RTX, label, -1);
2539 } 2541 }
2540 2542
2541 /* Not all case values are encountered equally. This function 2543 /* Not all case values are encountered equally. This function
2542 uses a heuristic to weight case labels, in cases where that 2544 uses a heuristic to weight case labels, in cases where that
2543 looks like a reasonable thing to do. 2545 looks like a reasonable thing to do.