gengtype-lex.l: Catch stray GTY markers in the files gengtype looks at.

* gengtype-lex.l: Catch stray GTY markers in the files gengtype
	looks at.
	* alias.c (alias_invariant_size): Make alias_invariant_size
	static, fix GTY marker.

From-SVN: r82493
This commit is contained in:
Geoffrey Keating 2004-05-31 19:49:50 +00:00 committed by Geoffrey Keating
parent c3e8c6b838
commit 133f7a77c2
3 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2004-05-31 Geoffrey Keating <geoffk@apple.com>
* gengtype-lex.l: Catch stray GTY markers in the files gengtype
looks at.
* alias.c (alias_invariant_size): Make alias_invariant_size
static, fix GTY marker.
2004-05-31 Kazu Hirata <kazu@cs.umass.edu>
PR tree-optimization/15743.

View File

@ -182,7 +182,7 @@ static GTY (()) rtx static_reg_base_value[FIRST_PSEUDO_REGISTER];
Because this array contains only pseudo registers it has no effect
after reload. */
static GTY((length("alias_invariant_size"))) rtx *alias_invariant;
unsigned GTY(()) int alias_invariant_size;
static GTY(()) unsigned int alias_invariant_size;
/* Vector indexed by N giving the initial (unchanging) value known for
pseudo-register N. This array is initialized in init_alias_analysis,

View File

@ -333,6 +333,11 @@ ITYPE {IWORD}({WS}{IWORD})*
"unterminated comment or string; unexpected EOF");
}
^"#define"{WS}"GTY(" /* do nothing */
{WS}"GTY"{WS}?"(" {
error_at_line (&lexer_line, "stray GTY marker");
}
%%
void