Commit d29647a4 by Andrew Pinski Committed by Andrew Pinski

decl.c (grokdeclarator): Do not depend on C99's _Bool's behavior.

2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>

        * decl.c (grokdeclarator): Do not depend on C99's _Bool's behavior.

From-SVN: r83066
parent a18f61f8
2004-06-11 Andrew Pinski <pinskia@physics.uc.edu>
* decl.c (grokdeclarator): Do not depend on C99's _Bool's behavior.
2004-06-11 Mark Mitchell <mark@codesourcery.com> 2004-06-11 Mark Mitchell <mark@codesourcery.com>
PR c++/15862 PR c++/15862
......
...@@ -7055,9 +7055,9 @@ grokdeclarator (tree declarator, ...@@ -7055,9 +7055,9 @@ grokdeclarator (tree declarator,
staticp = 0; staticp = 0;
inlinep = !! RIDBIT_SETP (RID_INLINE, specbits); inlinep = !! RIDBIT_SETP (RID_INLINE, specbits);
virtualp = RIDBIT_SETP (RID_VIRTUAL, specbits); virtualp = !! RIDBIT_SETP (RID_VIRTUAL, specbits);
RIDBIT_RESET (RID_VIRTUAL, specbits); RIDBIT_RESET (RID_VIRTUAL, specbits);
explicitp = RIDBIT_SETP (RID_EXPLICIT, specbits) != 0; explicitp = !! RIDBIT_SETP (RID_EXPLICIT, specbits);
RIDBIT_RESET (RID_EXPLICIT, specbits); RIDBIT_RESET (RID_EXPLICIT, specbits);
if (RIDBIT_SETP (RID_STATIC, specbits)) if (RIDBIT_SETP (RID_STATIC, specbits))
...@@ -7069,7 +7069,7 @@ grokdeclarator (tree declarator, ...@@ -7069,7 +7069,7 @@ grokdeclarator (tree declarator,
dname); dname);
staticp = 0; staticp = 0;
} }
friendp = RIDBIT_SETP (RID_FRIEND, specbits); friendp = !! RIDBIT_SETP (RID_FRIEND, specbits);
RIDBIT_RESET (RID_FRIEND, specbits); RIDBIT_RESET (RID_FRIEND, specbits);
if (dependant_name && !friendp) if (dependant_name && !friendp)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment