--- Comment #5 from rth at gcc dot gnu dot org 2006-05-01 15:11 ---
We went through three iterations of this on the branch.
The variable identification step cannot be done before gimplification,
because it requires that we also mark some variables that are created
by the gimplification
--- Comment #1 from dnovillo at gcc dot gnu dot org 2006-04-28 19:02
---
(In reply to comment #0)
The gimplifier should not be emitting errors.
Why, exactly? Some diagnostics are impossible to emit early enough. Is this a
documented requirement? What's the rationale?
--
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-04-28 19:05 ---
(In reply to comment #1)
Why, exactly? Some diagnostics are impossible to emit early enough. Is this
a
documented requirement? What's the rationale?
Read the comments in PR 24222 but basicially the
--- Comment #3 from dnovillo at gcc dot gnu dot org 2006-04-28 19:17
---
(In reply to comment #2)
Read the comments in PR 24222 but basicially the gimplifier is not should not
being doing any semantic anlyasis, that is the job of the front-end.
Well, some of the structural
--- Comment #3 from dnovillo at gcc dot gnu dot org 2006-04-28 19:17
---
Well, some of the structural analysis for which emit errors is done even later
than that, so it would be naive to pretend that we can catch everything during
parsing.
I don't understand why it is hard.
--- Comment #4 from pinskia at physics dot uc dot edu 2006-04-28 19:20
---
Subject: Re: [4.2 Regression] Some OpenMP semantics are caught too late (in
the gimplifier)
--- Comment #3 from dnovillo at gcc dot gnu dot org 2006-04-28 19:17
---
Well, some of the
--
steven at gcc dot gnu dot org changed:
What|Removed |Added
CC||rth at gcc dot gnu dot org
Status|UNCONFIRMED