This is the mail archive of the gcc@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]

Deprecating min/max extension in C++


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.
-- 
Giovanni Bajo


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