[Bug c++/82357] [8 Regression] bogus error: cannot bind bitfield

trippels at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 9 12:25:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82357

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1

--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Also seen when building Chromium:

../../v8/src/parsing/expression-classifier.h: In member function ‘void
v8::internal::ExpressionClassifier<Types>::Accumulate(v8::internal::ExpressionClassifier<Types>*,
unsigned int, bool)’:                                 
../../v8/src/parsing/expression-classifier.h:321:40: error: cannot bind
bitfield
‘((v8::internal::ExpressionClassifier<Types>*)this)->v8::internal::ExpressionClassifier<Types>::function_properties_’
to ‘unsigned int&’      
         function_properties_ |= inner->function_properties_;                   
                                        ^~~~~~~~~~~~~~~~~~~~                    
../../v8/src/parsing/expression-classifier.h:330:33: error: cannot bind
bitfield
‘((v8::internal::ExpressionClassifier<Types>*)this)->v8::internal::ExpressionClassifier<Types>::invalid_productions_’
to ‘unsigned int&’      
         invalid_productions_ |= errors;    
                                 ^~~~~~


More information about the Gcc-bugs mailing list