This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/15933] [3.5 Regression] Caching of include files breaks compilation


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-11 13:49 -------
Confirmed, I can narrow down the date a lot.
It works in 20040603 but not in 20040607 and the only patch which went in that time frame for the 
preprocessor was:
2004-06-05  Zack Weinberg  <zack@codesourcery.com>

        * Makefile.am: Add makedepend.
        * Makefile.in, aclocal.m4: Regenerate.
        * charset.c: Insert a space to avoid a warning.
        * directives.c: Include mkdeps.h.
        (_cpp_handle_directive): Reenable macro expander if appropriate.
        (undefine_macros): Inline body of _cpp_free_definition for speed.
        Do not call undef callback or _cpp_warn_if_unused_macro.
        (cpp_get_deps): New interface.
        * files.c (search_cache): Add pfile argument.  Check for file
        that would be found by "" or <> search here...
        (_cpp_find_file): ...not here.  Correct recorded start_dir of
        files found by directory-of-current-file search that would be
        found by "" or <> search.
        * init.c (cpp_add_dependency_target): Delete.
        * internal.h (struct lexer_state): Add discarding_output flag.
        * lex.c (lex_identifier): Compute hash function while scanning.
        * macro.c (cpp_scan_nooutput): Disable macro expansion outside
        directives.
        * makedepend.c: New file.
        * mkdeps.c (struct deps): Add vpath vector.
        (apply_vpath, deps_add_vpath): New function.
        (deps_free): Free vpath vector.
        (deps_add_dep, deps_add_target): Use apply_vpath.
        * symtab.c (calc_hash): Use HT_HASHSTEP and HT_FINISH.
        (ht_lookup_with_hash): New function.
        * cpplib.h, mkdeps.h: Update prototypes.
        * symtab.h: Update prototypes.
        (HT_HASHSTEP, HT_FINISH): New macros.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|zack at codesourcery dot com|zack at gcc dot gnu dot org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
  GCC build triplet|x86_64-linux-gnu            |
   GCC host triplet|x86_64-linux-gnu            |
 GCC target triplet|x86_64-linux-gnu            |
           Keywords|                            |wrong-code
      Known to fail|                            |3.5.0
      Known to work|                            |3.4.0
   Last reconfirmed|0000-00-00 00:00:00         |2004-06-11 13:49:16
               date|                            |
            Summary|Caching of include files    |[3.5 Regression] Caching of
                   |breaks compilation          |include files breaks
                   |                            |compilation
   Target Milestone|---                         |3.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15933


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]