Deprecating min/max extension in C++
Andrew Pinski
pinskia@physics.uc.edu
Tue Mar 8 14:36:00 GMT 2005
On Mar 8, 2005, at 8:04 AM, Giovanni Bajo wrote:
> Andrew Pinski <pinskia@physics.uc.edu> wrote:
>
>>> Well, that sounds largely impossible. Can you point exactly which bug
>>> are
>>> you talking of? I know for a fact that the extension itself has
>>> always
>>> worked for basic rvalue usage, with basic types. Instead, I would not
>>> be
>>> surprised if some more complex usage of it used to be (or still is)
>>> broken,
>>> like weird lvalue contexts, usage in templates, operator overloading
>>> or
>>> similar.
>>
>> Yes this was PR 19068 and bug 18548.
>
>
> Thanks. Nonetheless, both are regressions, and both shows a rather
> complex
> situation which includes pointer tricks. My statement that basic usage
> of
> the extension has always worked still holds.
The number of pointer tricks were very simple. There more likely
another
way to reproduce the bug but it would be hard to find one which is as
simple
as the testcases in those PRs.
-- Pinski
More information about the Gcc
mailing list