re PR preprocessor/71681 (header.gcc file lookup is broken for -remap)
2016-10-21 Andris Pavenis <andris.pavenis@iki.fi> PR preprocessor/71681 * gcc.dg/cpp/pr71681-1.c: New testcase * gcc.dg/cpp/pr71681-2.c: Likewise * gcc.dg/cpp/remap/header.gcc: File for added test-cases * gcc.dg/cpp/remap/a/header.gcc: Likewise * gcc.dg/cpp/remap/a/t_1.h: Likewise * gcc.dg/cpp/remap/a/t_2.h: Likewise From-SVN: r241415
This commit is contained in:
parent
9d8ff2f63b
commit
67a6cac73c
7 changed files with 24 additions and 0 deletions
|
@ -1,3 +1,13 @@
|
|||
2016-10-21 Andris Pavenis <andris.pavenis@iki.fi>
|
||||
|
||||
PR preprocessor/71681
|
||||
* gcc.dg/cpp/pr71681-1.c: New testcase
|
||||
* gcc.dg/cpp/pr71681-2.c: Likewise
|
||||
* gcc.dg/cpp/remap/header.gcc: File for added test-cases
|
||||
* gcc.dg/cpp/remap/a/header.gcc: Likewise
|
||||
* gcc.dg/cpp/remap/a/t_1.h: Likewise
|
||||
* gcc.dg/cpp/remap/a/t_2.h: Likewise
|
||||
|
||||
2016-10-21 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR target/78057
|
||||
|
|
5
gcc/testsuite/gcc.dg/cpp/pr71681-1.c
Normal file
5
gcc/testsuite/gcc.dg/cpp/pr71681-1.c
Normal file
|
@ -0,0 +1,5 @@
|
|||
// PR preprocessor/71681
|
||||
// { dg-do preprocess }
|
||||
// { dg-options "-remap -I$srcdir/gcc.dg/cpp/remap" }
|
||||
|
||||
#include "a/t1.h"
|
5
gcc/testsuite/gcc.dg/cpp/pr71681-2.c
Normal file
5
gcc/testsuite/gcc.dg/cpp/pr71681-2.c
Normal file
|
@ -0,0 +1,5 @@
|
|||
// PR preprocessor/71681
|
||||
// { dg-do preprocess }
|
||||
// { dg-options "-remap -I$srcdir/gcc.dg/cpp/remap" }
|
||||
|
||||
#include "a/t2.h"
|
1
gcc/testsuite/gcc.dg/cpp/remap/a/header.gcc
Normal file
1
gcc/testsuite/gcc.dg/cpp/remap/a/header.gcc
Normal file
|
@ -0,0 +1 @@
|
|||
t2.h t_2.h
|
1
gcc/testsuite/gcc.dg/cpp/remap/a/t_1.h
Normal file
1
gcc/testsuite/gcc.dg/cpp/remap/a/t_1.h
Normal file
|
@ -0,0 +1 @@
|
|||
/* Test file for cpp option -remap test */
|
1
gcc/testsuite/gcc.dg/cpp/remap/a/t_2.h
Normal file
1
gcc/testsuite/gcc.dg/cpp/remap/a/t_2.h
Normal file
|
@ -0,0 +1 @@
|
|||
/* Test file for cpp option -remap test */
|
1
gcc/testsuite/gcc.dg/cpp/remap/header.gcc
Normal file
1
gcc/testsuite/gcc.dg/cpp/remap/header.gcc
Normal file
|
@ -0,0 +1 @@
|
|||
a/t1.h a/t_1.h
|
Loading…
Add table
Reference in a new issue