diff options
| author | Tom Tromey <tromey@redhat.com> | 2007-11-12 00:38:48 +0000 |
|---|---|---|
| committer | Tom Tromey <tromey@gcc.gnu.org> | 2007-11-12 00:38:48 +0000 |
| commit | f1e207107a8fca7d0f8792502b576688ede5df58 (patch) | |
| tree | 3f463456ccd4e5d3927d4137b115dbd7bb507c51 /libcpp/ChangeLog | |
| parent | b131ad7c3db37bb79f21f5f6532447d0e030acaa (diff) | |
| download | gcc-f1e207107a8fca7d0f8792502b576688ede5df58.tar.gz gcc-f1e207107a8fca7d0f8792502b576688ede5df58.tar.bz2 gcc-f1e207107a8fca7d0f8792502b576688ede5df58.zip | |
re PR c++/17577 (#pragma implementation no longer diagnoses use after file to which it applies)
gcc/cp
PR c++/17577:
* lex.c (handle_pragma_implementation): Use cpp_included_before.
gcc/testsuite
PR c++/17577:
* g++.dg/ext/pr17577.h: New file.
* g++.dg/ext/pr17577.C: New file.
libcpp
PR c++/17557:
* include/cpplib.h (cpp_included_before): Declare.
* files.c (struct file_hash_entry) <location>: New field.
(_cpp_find_file): Initialize new field.
(make_cpp_dir): Likewise.
(cpp_included_before): New function.
From-SVN: r130093
Diffstat (limited to 'libcpp/ChangeLog')
| -rw-r--r-- | libcpp/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index c7cfa174709..4c33bd7d8d3 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,17 @@ +2007-11-11 Tom Tromey <tromey@redhat.com> + + PR c++/17557: + * include/cpplib.h (cpp_included_before): Declare. + * files.c (struct file_hash_entry) <location>: New field. + (_cpp_find_file): Initialize new field. + (make_cpp_dir): Likewise. + (cpp_included_before): New function. + +2007-11-05 Tom Tromey <tromey@redhat.com> + + * include/line-map.h (LINEMAP_POSITION_FOR_COLUMN): Wrap in + do-while. + 2007-11-01 Tom Tromey <tromey@redhat.com> PR preprocessor/30805: |
