Summary: | cpp0 core dump when _Pragma implies #pragma dependency | ||
---|---|---|---|
Product: | gcc | Reporter: | nkoch |
Component: | preprocessor | Assignee: | Neil Booth <neil> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gcc-bugs |
Priority: | P3 | ||
Version: | unknown | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: |
Description
nkoch
2002-08-07 08:56:01 UTC
State-Changed-From-To: open->feedback State-Changed-Why: Can you please send a coherent bug report? Responsible-Changed-From-To: unassigned->neil Responsible-Changed-Why: I fixed it. State-Changed-From-To: feedback->closed State-Changed-Why: Fixed. http://gcc.gnu.org/ml/gcc-patches/2002-08/msg01029.html From: neil@gcc.gnu.org To: gcc-gnats@gcc.gnu.org Cc: Subject: preprocessor/7526 Date: 14 Aug 2002 20:17:55 -0000 CVSROOT: /cvs/gcc Module name: gcc Changes by: neil@gcc.gnu.org 2002-08-14 13:17:55 Modified files: gcc : ChangeLog cpplib.c gcc/testsuite : ChangeLog Added files: gcc/testsuite/gcc.dg/cpp: _Pragma3.c Log message: PR preprocessor/7526 * cpplib.c (run_directive): Kludge so _Pragma dependency works. testsuite: * gcc.dg/cpp/_Pragma3.c: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=1.15186&r2=1.15187 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpplib.c.diff?cvsroot=gcc&r1=1.320&r2=1.321 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.2030&r2=1.2031 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/_Pragma3.c.diff?cvsroot=gcc&r1=NONE&r2=1.1 From: neil@gcc.gnu.org To: gcc-gnats@gcc.gnu.org Cc: Subject: preprocessor/7526 Date: 15 Aug 2002 19:46:45 -0000 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-3_2-branch Changes by: neil@gcc.gnu.org 2002-08-15 12:46:44 Modified files: gcc : ChangeLog cppfiles.c cppinit.c cpplib.h cpplib.c gcc/testsuite : ChangeLog gcc/doc : cpp.texi cppenv.texi Added files: gcc/testsuite/gcc.dg/cpp: _Pragma3.c vararg3.c vararg4.c Log message: PR preprocessor/7358 PR preprocessor/7357 PR preprocessor/7526 * cppfiles.c (stack_include_file): Ignore main file if appropriate. Correct test of whether a dependency should be output. * cppinit.c (init_dependency_output): Ignore main file for SUNPRO_DEPENDENCIES. (struct lang_flags): Rename trigraphs std. (set_lang): Update. * cpplib.c (run_directive): Kludge so _Pragma dependency works. * cpplib.h (struct cpp_options): New members. * cppmacro.c (collect_args): Flag whether to swallow a possible future comma pasted with varargs. (replace_args): Use this flag. * doc/cpp.texi: Update varargs extension documentation. * doc/cppenv.texi: Update. testsuite: * gcc.dg/cpp/_Pragma3.c, gcc.dg/cpp/vararg3.c, gcc.dg/cpp/vararg4.c: New tests. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.13152.2.657.2.12&r2=1.13152.2.657.2.13 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cppfiles.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.144&r2=1.144.6.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cppinit.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.202.2.5&r2=1.202.2.5.2.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpplib.h.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.201.2.1&r2=1.201.2.1.4.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpplib.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.290.2.1&r2=1.290.2.1.4.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.1672.2.166.2.5&r2=1.1672.2.166.2.6 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/cpp.texi.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.24.2.3&r2=1.24.2.3.4.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/cppenv.texi.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.1.2.1&r2=1.1.2.1.4.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/_Pragma3.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=NONE&r2=1.1.2.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/vararg3.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=NONE&r2=1.1.8.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/vararg4.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=NONE&r2=1.1.8.1 From: neil@gcc.gnu.org To: gcc-gnats@gcc.gnu.org Cc: Subject: preprocessor/7526 Date: 15 Aug 2002 19:47:47 -0000 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-3_2-branch Changes by: neil@gcc.gnu.org 2002-08-15 12:47:46 Modified files: gcc : cppmacro.c Log message: PR preprocessor/7358 PR preprocessor/7357 PR preprocessor/7526 * cppfiles.c (stack_include_file): Ignore main file if appropriate. Correct test of whether a dependency should be output. * cppinit.c (init_dependency_output): Ignore main file for SUNPRO_DEPENDENCIES. (struct lang_flags): Rename trigraphs std. (set_lang): Update. * cpplib.c (run_directive): Kludge so _Pragma dependency works. * cpplib.h (struct cpp_options): New members. * cppmacro.c (collect_args): Flag whether to swallow a possible future comma pasted with varargs. (replace_args): Use this flag. * doc/cpp.texi: Update varargs extension documentation. * doc/cppenv.texi: Update. testsuite: * gcc.dg/cpp/_Pragma3.c, gcc.dg/cpp/vararg3.c, gcc.dg/cpp/vararg4.c: New tests. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cppmacro.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.91.6.6&r2=1.91.6.6.2.1 |