[Bug c++/47791] New: finish function is using absolute value instead of the #defined one

bviyer at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Feb 18 00:16:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47791

           Summary: finish function is using absolute value instead of the
                    #defined one
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: bviyer@gmail.com


GCC Version: GCC 4.6.0-20101211-experimental

In couple places, the parameters passed into "finish_function" is the absolute
value and not the "#define"d one. 

E.g. in the "cp_parser_lambda_body" function, finish function is passed in the
number "2" instead of using "SF_INCLASS_INLINE." I think this could cause some
problems in future versions.

Thanks,

Balaji V. Iyer.



More information about the Gcc-bugs mailing list