Commit 616f6d84 by Steven Bosscher

system.h: Poison PROMOTED_MODE

	* system.h: Poison PROMOTED_MODE
	* integrate.c (expand_inline_function): Don't mention the
	PROMOTED_MODE.
	* loop.c (update_giv_derive): Same.
	* tree.h (DECL_RTL): Same.

From-SVN: r75878
parent b3e5b452
2003-01-14 Steven Bosscher <stevenb@suse.de>
* system.h: Poison PROMOTED_MODE
* integrate.c (expand_inline_function): Don't mention the
PROMOTED_MODE.
* loop.c (update_giv_derive): Same.
* tree.h (DECL_RTL): Same.
2004-01-14 J"orn Rennecke <joern.rennecke@superh.com> 2004-01-14 J"orn Rennecke <joern.rennecke@superh.com>
PR target/9365 PR target/9365
...@@ -117,7 +125,7 @@ ...@@ -117,7 +125,7 @@
2004-01-13 Vladimir Makarov <vmakarov@redhat.com> 2004-01-13 Vladimir Makarov <vmakarov@redhat.com>
* rtl.def: Add comment about new option in automata_option. * rtl.def: Add comment about new option in automata_option.
* genautomata.c (PROGRESS_OPTION): New macro. * genautomata.c (PROGRESS_OPTION): New macro.
(progress_flag): New global variable. (progress_flag): New global variable.
......
...@@ -771,7 +771,7 @@ expand_inline_function (tree fndecl, tree parms, rtx target, int ignore, ...@@ -771,7 +771,7 @@ expand_inline_function (tree fndecl, tree parms, rtx target, int ignore,
abort (); abort ();
/* The mode if LOC and ARG can differ if LOC was a variable /* The mode if LOC and ARG can differ if LOC was a variable
that had its mode promoted via PROMOTED_MODE. */ that had its mode promoted. */
arg_vals[i] = convert_modes (pmode, arg_vals[i] = convert_modes (pmode,
TYPE_MODE (TREE_TYPE (arg)), TYPE_MODE (TREE_TYPE (arg)),
expand_expr (arg, NULL_RTX, mode, expand_expr (arg, NULL_RTX, mode,
......
...@@ -6212,7 +6212,7 @@ update_giv_derive (const struct loop *loop, rtx p) ...@@ -6212,7 +6212,7 @@ update_giv_derive (const struct loop *loop, rtx p)
*MULT_VAL to CONST0_RTX, and store the invariant into *INC_VAL. *MULT_VAL to CONST0_RTX, and store the invariant into *INC_VAL.
We also want to detect a BIV when it corresponds to a variable We also want to detect a BIV when it corresponds to a variable
whose mode was promoted via PROMOTED_MODE. In that case, an increment whose mode was promoted. In that case, an increment
of the variable may be a PLUS that adds a SUBREG of that variable to of the variable may be a PLUS that adds a SUBREG of that variable to
an invariant and then sign- or zero-extends the result of the PLUS an invariant and then sign- or zero-extends the result of the PLUS
into the variable. into the variable.
......
...@@ -622,7 +622,8 @@ typedef char _Bool; ...@@ -622,7 +622,8 @@ typedef char _Bool;
LIBGCC_NEEDS_DOUBLE FINAL_PRESCAN_LABEL DEFAULT_CALLER_SAVES \ LIBGCC_NEEDS_DOUBLE FINAL_PRESCAN_LABEL DEFAULT_CALLER_SAVES \
LOAD_ARGS_REVERSED MAX_INTEGER_COMPUTATION_MODE \ LOAD_ARGS_REVERSED MAX_INTEGER_COMPUTATION_MODE \
CONVERT_HARD_REGISTER_TO_SSA_P ASM_OUTPUT_MAIN_SOURCE_FILENAME \ CONVERT_HARD_REGISTER_TO_SSA_P ASM_OUTPUT_MAIN_SOURCE_FILENAME \
FIRST_INSN_ADDRESS TEXT_SECTION SHARED_BSS_SECTION_ASM_OP FIRST_INSN_ADDRESS TEXT_SECTION SHARED_BSS_SECTION_ASM_OP \
PROMOTED_MODE
/* Hooks that are no longer used. */ /* Hooks that are no longer used. */
#pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \ #pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \
......
...@@ -1346,12 +1346,7 @@ struct tree_type GTY(()) ...@@ -1346,12 +1346,7 @@ struct tree_type GTY(())
field. Always equal to TYPE_MODE (TREE_TYPE (decl)) except for a field. Always equal to TYPE_MODE (TREE_TYPE (decl)) except for a
FIELD_DECL. */ FIELD_DECL. */
#define DECL_MODE(NODE) (DECL_CHECK (NODE)->decl.mode) #define DECL_MODE(NODE) (DECL_CHECK (NODE)->decl.mode)
/* Holds the RTL expression for the value of a variable or function. If /* Holds the RTL expression for the value of a variable or function.
PROMOTED_MODE is defined, the mode of this expression may not be same
as DECL_MODE. In that case, DECL_MODE contains the mode corresponding
to the variable's data type, while the mode
of DECL_RTL is the mode actually used to contain the data.
This value can be evaluated lazily for functions, variables with This value can be evaluated lazily for functions, variables with
static storage duration, and labels. */ static storage duration, and labels. */
#define DECL_RTL(NODE) \ #define DECL_RTL(NODE) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment