------- Comment #7 from jakub at gcc dot gnu dot org  2005-12-31 23:46 -------
Subject: Bug 25294

Author: jakub
Date: Sat Dec 31 23:45:58 2005
New Revision: 109201

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109201
Log:
        PR c++/25294
        * directives.c (do_pragma): If pragma line ends with multi-line
        block comment, end the saved deferred pragma string before that
        comment.  Handle embedded '\0' chars on the pragma line.

        * gcc.dg/pragma-pack-3.c: New test.
        * g++.dg/parse/pragma3.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/parse/pragma3.C
    trunk/gcc/testsuite/gcc.dg/pragma-pack-3.c
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/libcpp/ChangeLog
    trunk/libcpp/directives.c


-- 


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


Reply via email to