This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Path to move EDGE_COMPLEX definition
- To: gcc-patches at gcc dot gnu dot org
- Subject: Path to move EDGE_COMPLEX definition
- From: John Wehle <john at feith dot com>
- Date: Sun, 11 Jun 2000 20:09:39 -0400 (EDT)
This patch moves the EDGE_COMPLEX definition to basic-block.h
so that other things can use it.
ChangeLog:
Sat Jun 10 15:24:26 EDT 2000 John Wehle (john@feith.com)
* ifcvt.c (EDGE_COMPLEX): Move definition ...
* basic-block.h (EDGE_COMPLEX): ... here.
Enjoy!
-- John Wehle
------------------8<------------------------8<------------------------
*** gcc/basic-block.h.ORIGINAL Tue Jun 6 00:03:21 2000
--- gcc/basic-block.h Sat Jun 10 15:17:17 2000
*************** typedef struct edge_def {
*** 138,143 ****
--- 138,145 ----
#define EDGE_EH 16
#define EDGE_FAKE 32
+ #define EDGE_COMPLEX (EDGE_ABNORMAL | EDGE_ABNORMAL_CALL | EDGE_EH)
+
/* Basic block information indexed by block number. */
typedef struct basic_block_def {
*** gcc/ifcvt.c.ORIGINAL Tue Jun 6 00:03:40 2000
--- gcc/ifcvt.c Sat Jun 10 15:16:53 2000
***************
*** 51,58 ****
#define MAX_CONDITIONAL_EXECUTE (BRANCH_COST + 1)
#endif
- #define EDGE_COMPLEX (EDGE_ABNORMAL | EDGE_ABNORMAL_CALL | EDGE_EH)
-
#define NULL_EDGE ((struct edge_def *)NULL)
#define NULL_BLOCK ((struct basic_block_def *)NULL)
--- 51,56 ----
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------