diff options
Diffstat (limited to 'gcc/tree-ssa.c')
| -rw-r--r-- | gcc/tree-ssa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa.c b/gcc/tree-ssa.c index 5b9b3cc..1ddaf7d 100644 --- a/gcc/tree-ssa.c +++ b/gcc/tree-ssa.c @@ -1273,7 +1273,7 @@ warn_uninit (tree t, const char *msgid, location_t *locus) return; /* Hard register variables get their initial value from the ether. */ - if (DECL_HARD_REGISTER (var)) + if (TREE_CODE (var) == VAR_DECL && DECL_HARD_REGISTER (var)) return; /* TREE_NO_WARNING either means we already warned, or the front end |
