This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix PR c++/23965: Bogus error message with "<type error>"


On  6 Oct, Gabriel Dos Reis wrote:
> Volker Reichelt <reichelt@igpm.rwth-aachen.de> writes:
> | Hi Mark, hi Gaby,
> | 
> | unfortunately I managed to misread the above suggestion and added
> | 
> |   if (arg == error_mark_node || error_operand_p (arg))
> | 
> | instead of just
> | 
> |   if (error_operand_p (arg))
> | 
> | to the 3.4 branch and mainline. This results in a redundant check.
> | (I applied the correct version to the 4.0 branch.)
> | 
> | The patch below fixes that.
> | Bootstrapped and regtested on i686-pc-linux-gnu.
> | 
> | Ok for mainline? Or should I wait until the semi-freeze is over?
> | 
> | Ok for the 3.4 branch? Or should I wait until after the 3.4.5 release?
> 
> It it makes it into 4.0.x then you may apply it to 3.4.x.

The suboptimal version never made it into the 4.0 branch - as the
branch was frozen then. After the branch reopend I committed the
corrected version to the 4.0 branch. In this sense the 4.0 branch
has the patch.

Applied to mainline and 3.4 branch.

> Thanks,
> 
> -- Gaby



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]