aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Christopher <echristo@redhat.com>2005-02-15 23:18:04 +0000
committerEric Christopher <echristo@gcc.gnu.org>2005-02-15 23:18:04 +0000
commit6da55c00778900ffd44630fa110ea83207a1a516 (patch)
tree88d1edaa90379d91bcd7b9bad1e228c48a4e8210 /gcc
parent6f85d0c4797a5f39c061288e059c6c24cb9290f9 (diff)
downloadgcc-6da55c00778900ffd44630fa110ea83207a1a516.zip
gcc-6da55c00778900ffd44630fa110ea83207a1a516.tar.gz
gcc-6da55c00778900ffd44630fa110ea83207a1a516.tar.bz2
re PR preprocessor/19077 (Internal compiler error compiling MPlayer)
2005-02-15 Eric Christopher <echristo@redhat.com> PR preprocessor/19077 * macro.c (cpp_macro_definition): Move handling of whitespace to PREV_WHITE conditional. Remove overloading of len variable. 2005-02-15 Eric Christopher <echristo@redhat.com> * gcc.dg/cpp/20050215-1.c: New file. From-SVN: r95080
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/cpp/20050215-1.c10
2 files changed, 14 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index fc56108..34b9f12 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2005-02-15 Eric Christopher <echristo@redhat.com>
+
+ * gcc.dg/cpp/20050215-1.c: New file.
+
2005-02-15 James A. Morrison <phython@gcc.gnu.org>
PR tree-optimization/15785
diff --git a/gcc/testsuite/gcc.dg/cpp/20050215-1.c b/gcc/testsuite/gcc.dg/cpp/20050215-1.c
new file mode 100644
index 0000000..e5aaf22
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/cpp/20050215-1.c
@@ -0,0 +1,10 @@
+/* Testcase for memory corruption bug in macro processing.
+ See PR preprocessor/19077 for details. */
+
+/* { dg-do compile } */
+/* { dg-options "-g3" } */
+#define FOO(a,b,c,d,e) a b c d e \
+" " \
+" " \
+" "
+int i;