Mercurial > hg > CbC > CbC_gcc
comparison gcc/tree-cfgcleanup.c @ 47:3bfb6c00c1e0
update it from 4.4.2 to 4.4.3.
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 07 Feb 2010 17:44:34 +0900 |
parents | a06113de4d67 |
children | 77e2b8dfacca |
comparison
equal
deleted
inserted
replaced
46:b85a337e5837 | 47:3bfb6c00c1e0 |
---|---|
1 /* CFG cleanup for trees. | 1 /* CFG cleanup for trees. |
2 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 | 2 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 |
3 Free Software Foundation, Inc. | 3 Free Software Foundation, Inc. |
4 | 4 |
5 This file is part of GCC. | 5 This file is part of GCC. |
6 | 6 |
7 GCC is free software; you can redistribute it and/or modify | 7 GCC is free software; you can redistribute it and/or modify |
515 return false; | 515 return false; |
516 | 516 |
517 control_bb = single_pred (bb); | 517 control_bb = single_pred (bb); |
518 stmt = last_stmt (control_bb); | 518 stmt = last_stmt (control_bb); |
519 | 519 |
520 if (gimple_code (stmt) != GIMPLE_OMP_SECTIONS_SWITCH) | 520 if (stmt == NULL || gimple_code (stmt) != GIMPLE_OMP_SECTIONS_SWITCH) |
521 return false; | 521 return false; |
522 | 522 |
523 /* The block with the control statement normally has two entry edges -- one | 523 /* The block with the control statement normally has two entry edges -- one |
524 from entry, one from continue. If continue is removed, return is | 524 from entry, one from continue. If continue is removed, return is |
525 unreachable, so we remove it here as well. */ | 525 unreachable, so we remove it here as well. */ |