]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/gcclibs/libcpp/ChangeLog.gcc43
Import mandoc 1.14.4
[FreeBSD/FreeBSD.git] / contrib / gcclibs / libcpp / ChangeLog.gcc43
1 2007-06-05  Joerg Wunsch  <j.gnu@uriah.heep.sax.de> (r250566)
2
3         PR preprocessor/23479
4         * expr.c (cpp_classify_number): Implement 0b-prefixed binary
5         integer constants.
6         (append_digit): Likewise.
7         * include/cpplib.h: Add CPP_N_BINARY, to be used for 0b-prefixed
8         binary integer constants.
9         
10 2007-05-31  Dave Korn  <dave.korn@artimi.com> (r125212)
11
12         PR preprocessor/14331
13         * lex.c (_cpp_get_fresh_line):  Don't warn if no newline at EOF.
14
15 2007-05-24  Ollie Wild  <aaw@google.com> (r125041)
16
17         * macro.c (_cpp_builtin_macro_text): Handle BT_COUNTER.
18         * pch.c (cpp_write_pch_deps): Save __COUNTER__ state.
19         (cpp_write_pch_state): Save __COUNTER__ state.
20         (cpp_valid_state): Check valid __COUNTER__ state.
21         (cpp_read_state): Read new __COUNTER__ state.
22         * include/cpplib.h (enum builtin_type): Add BT_COUNTER enumerator.
23         * init.c (builtin_array): Add __COUNTER__/BT_COUNTER.
24         * internal.h (struct cpp_reader): Add counter member.
25
26 2007-05-21  Ian Lance Taylor  <iant@google.com> (r124929)
27
28         * internal.h (struct cpp_reader): Add new fields:
29         nonexistent_file_hash and nonexistent_file_ob.
30         * files.c: Include "obstack.h".
31         (find_file_in_dir): Before trying to open the file, look up the
32         path name in the hash table of nonexistent files.  After failing
33         to open the file, add the path name to the hash table.
34         (_cpp_find_file): Cache the results of looking up the file name
35         starting with the quote and bracket chain heads, if we can.
36         (nonexistent_file_hash_eq): New static function.
37         (_cpp_init_files): Initialize pfile->nonexistent_file_hash and
38         pfile->nonexistent_file_ob.
39         (_cpp_cleanup_files): Free pfile->nonexistent_file_hash and
40         pfile->nonexistent_file_ob.
41
42 2007-05-14  Janis Johnson  <janis187@us.ibm.com> (r124731)
43
44         PR c/31924
45         * expr.c (interpret_float_suffix): Check for invalid suffix.
46
47 2007-05-02  Eric Christopher  <echristo@apple.com> (r124358)
48
49         * expr.c (num_div_op): Don't overflow if the result is
50         zero.
51
52 2007-05-02  Tom Tromey  <tromey@redhat.com> (r124356)
53
54         PR preprocessor/28709:
55         * macro.c (paste_tokens): Remove PASTE_LEFT from the old lhs.
56
57 2007-01-30  Tom Tromey  <tromey@redhat.com> (r121340)
58
59         PR preprocessor/29966:
60         * macro.c (lex_expansion_token): Save and restore cpp_reader's
61         cur_token.
62         (_cpp_create_definition): Don't restore cur_token here.
63         * lex.c (_cpp_lex_token): Added assertion.
64
65 2006-12-29  Ian Lance Taylor  <iant@google.com> (r120263)
66
67         * lex.c (_cpp_clean_line): Add uses of __builtin_expect.  Don't
68         look backward at the end of the line unless we saw a backslash.