This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] PR c++/19004: backport to 3.4 branch
On 2 Sep, Gabriel Dos Reis wrote:
> Volker Reichelt <reichelt@igpm.rwth-aachen.de> writes:
>
> | On 2 Sep, Gabriel Dos Reis wrote:
> | > Volker Reichelt <reichelt@igpm.rwth-aachen.de> writes:
> | >
> | > | And another backport to the 3.4 branch fresh out of the
> | > | regression tester:
> | > |
> | > | Bootstrapped and regtested on i686-pc-linux-gnu.
> | > | Ok for the 3.4 branch?
> | >
> | > Yup.
> | >
> | > -- Gaby
> |
> | On second thought, rather not:
> | I introduced a bogus semicolon at the end of the if-statement.
> | Ooops ;-)
> |
> | - if (TREE_CODE (expression) == OVERLOAD)
> | + if (TREE_CODE (expression) == OVERLOAD
> | + || TREE_CODE (expression) == FUNCTION_DECL);
>
> I should not be reviewing patches early in the morning before
> reaching nominal cafe level :-p
>
> -- Gaby
OK. Here's a cup for the next patch. ;-)
___
\_/O
The corrected version also passed bootstrap and regtesting.
Committed to 3.4 branch.
Regards,
Volker