------- Comment #3 from jakub at gcc dot gnu dot org  2008-09-01 15:38 -------
Created an attachment (id=16179)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16179&action=view)
gcc44-pr36904.patch

Updated patch, apparently all other problems can be fixed just by never
expanding the conditional keywords to self.  This will make preprocessing them
tiny bit slower (as the macro_to_expand hook might be called several times on
it), but means we handle right even the cases where cpp_get_token is called
with
a conditional macro token in some inner context where following tokens aren't
seen yet (e.g. macro args, etc.).

I don't have any altivec.h codebase around, could one of you test this on
something larger?  Thanks.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #15990|0                           |1
        is obsolete|                            |
         AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED


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

Reply via email to