1. 30 Jan, 2012 1 commit
  2. 27 Jan, 2012 1 commit
  3. 09 Jan, 2012 2 commits
    • rguenth's avatar
      2012-01-09 Richard Guenther <rguenther@suse.de> · d6fb6576
      rguenth authored
      	* macro.c (_cpp_builtin_macro_text): Remove unused variable map.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183013 138bc75d-0d04-0410-961f-82ee72b054a4
      d6fb6576
    • gfunck's avatar
      libcpp/ · 5e791406
      gfunck authored
      	PR preprocessor/33919
      	* files.c (_cpp_get_file_name): New. Implement file name
      	access function.
      	* internal.h (_cpp_get_file_name): New prototype.
      	* macro.c (_cpp_builtin_macro_text): Call _cpp_get_file_name()
      	to use pfile->main_file in lieu of traversing INCLUDED_FROM chain.
      
      gcc/testsuite/
      	PR preprocessor/33919
      	* gcc.dg/pr33919.c: New test.
      	* gcc.dg/pr33919-0.h: New test header file.
      	* gcc.dg/pr33919-1.h: Ditto.
      	* gcc.dg/pr33919-2.h: Ditto.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183003 138bc75d-0d04-0410-961f-82ee72b054a4
      5e791406
  4. 03 Jan, 2012 1 commit
  5. 20 Dec, 2011 2 commits
    • jsm28's avatar
      gcc: · 32074525
      jsm28 authored
      	* c-decl.c (diagnose_mismatched_decls, grokdeclarator, grokfield)
      	(finish_struct): Refer to C11 in comments.  Use flag_isoc11.
      	* c-parser.c (c_parser_static_assert_declaration)
      	(c_parser_static_assert_declaration_no_semi, c_parser_declspecs)
      	(c_parser_alignas_specifier, c_parser_alignof_expression): Refer
      	to C11 in comments.  Use flag_isoc11.
      	* c-typeck.c (comptypes_check_different_types): Refer to C11 in
      	comment.
      	* doc/cpp.texi (Overview): Refer to -std=c11 instead of -std=c1x.
      	* doc/cppopts.texi (-std=c11, -std=gnu11): Document in preference
      	to -std=c1x and -std=gnu1x.
      	* doc/extend.texi (Inline, Alternate Keywords, Other Builtins)
      	(__builtin_complex, Unnamed Fields): Refer to -std=c11 and C11
      	instead of -std=c1x and C1X.
      	* doc/invoke.texi (-std=c11, -std=iso9899:2011): Document in
      	preference to -std=c1x.
      	(-std=gnu11): Document in preference to -std=gnu1x.
      	* doc/standards.texi: Document C11 instead of C1X.  Document C11
      	as actual standard.  Document headers required from freestandi...
      32074525
    • schwab's avatar
      config/: · 80cfebdb
      schwab authored
      	* warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in
      	expr call.
      fixincludes/:
      	* configure: Regenerate.
      gcc/:
      	* configure: Regenerate.
      libcpp/:
      	* configure: Regenerate.
      libdecnumber/:
      	* configure: Regenerate.
      libiberty/:
      	* configure: Regenerate.
      lto-plugin/:
      	* configure: Regenerate.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182546 138bc75d-0d04-0410-961f-82ee72b054a4
      80cfebdb
  6. 19 Dec, 2011 1 commit
    • schwab's avatar
      Check for warning flags without no- prefix · 705de1ef
      schwab authored
      config/:
      	PR bootstrap/51388
      	* warnings.m4 (ACX_PROG_CC_WARNING_OPTS)
      	(ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Run the test without the
      	no- prefix.
      fixincludes/:
      	* configure: Regenerate.
      gcc/:
      	* configure: Regenerate.
      libcpp/:
      	* configure: Regenerate.
      libdecnumber/:
      	* configure: Regenerate.
      libiberty/:
      	* configure: Regenerate.
      lto-plugin/:
      	* configure: Regenerate.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182478 138bc75d-0d04-0410-961f-82ee72b054a4
      705de1ef
  7. 07 Dec, 2011 1 commit
    • jakub's avatar
      PR bootstrap/50237 · b735cc56
      jakub authored
      	* internal.h (_cpp_init_lexer): New prototype.
      	* init.c (init_library): Call it.
      	* lex.c (init_vectorized_lexer): Remove constructor attribute,
      	add inline keyword.
      	(HAVE_init_vectorized_lexer): Define.
      	(_cpp_init_lexer): New function.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182090 138bc75d-0d04-0410-961f-82ee72b054a4
      b735cc56
  8. 05 Dec, 2011 1 commit
  9. 22 Nov, 2011 1 commit
  10. 21 Nov, 2011 1 commit
    • jason's avatar
      PR c++/50958 · b06c89b6
      jason authored
      gcc/cp/
      	* parser.c (lookup_literal_operator): New.
      	(cp_parser_userdef_char_literal): Use it.
      	(cp_parser_userdef_numeric_literal): Use it.
      	(cp_parser_userdef_string_literal): Use lookup_name.
      libcpp/
      	* expr.c (cpp_userdef_char_remove_type): Fix typo.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181595 138bc75d-0d04-0410-961f-82ee72b054a4
      b06c89b6
  11. 03 Nov, 2011 1 commit
    • matz's avatar
      libcpp/ · 7c801b60
      matz authored
      	PR bootstrap/50857
      	* configure.ac: Check for -fno-exceptions -fno-rtti.
      	* configure: Regenerate.
      	* Makefile.in (NOEXCEPTION_FLAGS): New flag.
      	(ALL_CXXFLAGS): Use it.
      
      gcc/
      	PR bootstrap/50857
      	* configure.ac: Check for -fno-exceptions -fno-rtti.
      	* configure: Regenerate.
      	* Makefile.in (NOEXCEPTION_FLAGS): New flag.
      	(ALL_CXXFLAGS): Use it.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180833 138bc75d-0d04-0410-961f-82ee72b054a4
      7c801b60
  12. 02 Nov, 2011 2 commits
    • paolo's avatar
      2011-11-02 Paolo Carlini <paolo.carlini@oracle.com> · d8954404
      paolo authored
      	* internal.h (uxstrdup, ustrchr): Return const unsigned char *.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180796 138bc75d-0d04-0410-961f-82ee72b054a4
      d8954404
    • jason's avatar
      PR c++/50810 · 7e783eb3
      jason authored
      gcc/c-family
      	* c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
      	of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
      	Wnarrowing for C++0x and C++98.
      	* c.opt ([Wnarrowing]): Update.
      gcc/cp
      	* typeck2.c (check_narrowing): Adjust OPT_Wnarrowing diagnostics.
      	(digest_init_r): Call check_narrowing irrespective of the C++ dialect.
      	* decl.c (check_initializer): Likewise.
      	* semantics.c (finish_compound_literal): Likewise.
      gcc/
      	* configure.ac: Add -Wno-narrowing to warning options.
      libcpp/
      	* configure.ac: Add -Wno-narrowing to warning options.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180794 138bc75d-0d04-0410-961f-82ee72b054a4
      7e783eb3
  13. 31 Oct, 2011 2 commits
    • jason's avatar
      PR libstdc++/1773 · de803ff2
      jason authored
      	* init.c (cpp_init_builtins): Set __cplusplus for C++11.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180708 138bc75d-0d04-0410-961f-82ee72b054a4
      de803ff2
    • jason's avatar
      PR c++/50920 · 0d84dc2d
      jason authored
      gcc/c-family
      	* c-common.h (cxx_dialect): Add cxx11 and cxx03.
      	* c.opt: Add -std=c++11, -std=gnu++11, -std=gnu++03,
      	and -Wc++11-compat.
      	* c-opts.c (set_std_cxx11): Rename from set_std_cxx0x.
      gcc/cp
      	* class.c (check_field_decl): Change c++0x in diags to c++11.
      	* error.c (maybe_warn_cpp0x): Likewise.
      	* parser.c (cp_parser_diagnose_invalid_type_name): Likewise.
      	* pt.c (check_default_tmpl_args): Likewise.
      libcpp
      	* include/cpplib.h (enum c_lang): Rename CLK_CXX0X to CLK_CXX11,
      	CLK_GNUCXX0X to CLK_GNUCXX11.
      libstdc++-v3
      	* include/bits/c++0x_warning.h: Change -std=c++0x to -std=c++11.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180707 138bc75d-0d04-0410-961f-82ee72b054a4
      0d84dc2d
  14. 26 Oct, 2011 1 commit
    • jason's avatar
      Implement C++11 user-defined literals. · 244db24d
      jason authored
      libcpp/
      	* expr.c: (cpp_interpret_float_suffix, cpp_interpret_int_suffix,
      	cpp_userdef_string_remove_type, cpp_userdef_string_add_type,
      	cpp_userdef_char_remove_type, cpp_userdef_char_add_type,
      	cpp_userdef_string_p, cpp_userdef_char_p, cpp_get_userdef_suffix): New.
      	(cpp_classify_number): Classify unrecognized tokens as user-defined
      	literals.
      	* include/cpplib.h: Add new tokens for user-defined literals.
      	* init.c: Add new preprocessor flag (cxx11).
      	* lex.c: (lex_string, lex_raw_string): Handle user-defined literals
      	including concatenation and promotion with suffixes.
      c-family/
      	* c-common.c (build_userdef_literal): New.
      	* c-common.def: New tree code.
      	* c-common.h (tree_userdef_literal): New tree struct and accessors.
      	* c-lex.c (interpret_float): Add suffix parm.
      	(c_lex_with_flags): Build literal tokens.
      cp/
      	* cp-objcp-common.c: (cp_tree_size) Return size of USERDEF_LITERAL tree.
      	* cp-tree.h: (UDLIT_OP_*, UDLIT_OPER_P): Literal operator
      	name tools. New tree code for user-defined literals.
      	* cxx-pretty-print.h: (pp_cxx_userdef_literal) New.
      	* cxx-pretty-print.c: (pp_cxx_userdef_literal) New.
      	(pp_cxx_primary_expression, pp_cxx_expression): Use it.
      	* decl.c: (cp_tree_node_structure): Return new tree code.
      	(duplicate_decls): Check for raw vs. template operator conflicts.
      	(grokfndecl, grokdeclarator): New checks for literal operators.
      	* error.c: (dump_expr): Warn about user-defined literals
      	in C++98 mode. (dump_function_name): Pretty printing.
      	* mangle.c: (write_literal_operator_name): New.
      	(write_unqualified_id, write_unqualified_name): Use it.
      	* parser.c: (cp_parser_operator): Handle operator"".
      	(cp_parser_userdef_char_literal, cp_parser_userdef_numeric_literal,
      	cp_parser_userdef_string_literal): New.
      	(cp_parser_primary_expression): Handle new user-defined literal tokens
      	with new functions.
      	* semantics.c: (potential_constant_expression_1): Add
      	user-defined literals.
      	* typeck.c (check_raw_literal_operator,
      	check_literal_operator_args): New.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180536 138bc75d-0d04-0410-961f-82ee72b054a4
      244db24d
  15. 25 Oct, 2011 2 commits
    • dodji's avatar
      Fix lookup of macro maps · 68928989
      dodji authored
      	* line-map.c (linemap_macro_map_lookup): Fix logic.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180427 138bc75d-0d04-0410-961f-82ee72b054a4
      68928989
    • dodji's avatar
      Support expansion of reserved locations wrapped in virtual locations · 5ebe2143
      dodji authored
      libcpp/
      
      	* include/line-map.h (linemap_expand_location): Take a line table
      	parameter.  Update comment.
      	(linemap_resolve_location): Update comment.
      	(linemap_expand_location_full): Remove.
      	* line-map.c (linemap_resolve_location):  Handle reserved
      	locations; return a NULL map in those cases.
      	(linemap_expand_location): If location is reserved, return a
      	zeroed expanded location.  Update comment.  Take a line table to
      	assert that the function takes non-virtual locations only.
      	(linemap_expand_location_full): remove.
      	(linemap_dump_location): Handle the fact that
      	linemap_resolve_location can return NULL line maps when the
      	location resolves to a reserved location.
      
      gcc/
      	* input.c (expand_location): Rewrite using
      	linemap_resolve_location and linemap_expand_location.  Add a
      	comment.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180426 138bc75d-0d04-0410-961f-82ee72b054a4
      5ebe2143
  16. 22 Oct, 2011 1 commit
  17. 20 Oct, 2011 1 commit
  18. 18 Oct, 2011 1 commit
    • dodji's avatar
      Fix bootstrap on !NO_IMPLICIT_EXTERN_C and ia32 targets · 2a688977
      dodji authored
      libcpp/
      
      	* include/line-map.h (struct linemap_stats): Change the type of
      	the members from size_t to long.
      	* macro.c (macro_arg_token_iter_init): Unconditionally initialize
      	iter->location_ptr.
      
      gcc/c-family/
      
      	* c-lex.c (fe_file_change): Use LINEMAP_SYSP when
      	!NO_IMPLICIT_EXTERN_C.
      
      gcc/
      	* input.c (dump_line_table_statistics): Use long, not size_t.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180124 138bc75d-0d04-0410-961f-82ee72b054a4
      2a688977
  19. 17 Oct, 2011 6 commits
    • dodji's avatar
      Fix bootstrapping with --disable-checking · a67520a9
      dodji authored
      libcpp/ChangeLog
      
      	* line-map.c (linemap_macro_map_loc_to_exp_point): Avoid setting a
      	variable without using it if ENABLE_CHECKING is not defined.  Mark
      	the LOCATION parameter as being unused.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180090 138bc75d-0d04-0410-961f-82ee72b054a4
      a67520a9
    • dodji's avatar
      Reduce memory waste due to non-power-of-2 allocs · 1ae3520e
      dodji authored
      This patch basically arranges for the allocation size of line_map
      buffers to be as close as possible to a power of two.  This
      *significantly* decreases peak memory consumption as (macro) maps are
      numerous and stay live during all the compilation.
      
      The patch adds a new ggc_round_alloc_size interface to the ggc
      allocator.  In each of the two main allocator implementations ('page'
      and 'zone') the function has been extracted from the main allocation
      function code and returns the actual size of the allocated memory
      region, thus giving a chance to the caller to maximize the amount of
      memory it actually uses from the allocated memory region.  In the
      'none' allocator implementation (that uses xmalloc) the
      ggc_round_alloc_size just returns the requested allocation size.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180086 138bc75d-0d04-0410-961f-82ee72b054a4
      1ae3520e
    • dodji's avatar
      Add line map statistics to -fmem-report output · e77b8253
      dodji authored
      This patch adds statistics about line maps' memory consumption and
      macro expansion to the output of -fmem-report.  It has been useful in
      trying to reduce the memory consumption of the macro maps support.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180085 138bc75d-0d04-0410-961f-82ee72b054a4
      e77b8253
    • dodji's avatar
      Support -fdebug-cpp option · 62db153a
      dodji authored
      This patch adds -fdebug-cpp option. When used with -E this dumps the
      relevant macro map before every single token. This clutters the output
      a lot but has proved to be invaluable in tracking some bugs during the
      development of the virtual location support.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180084 138bc75d-0d04-0410-961f-82ee72b054a4
      62db153a
    • dodji's avatar
      Generate virtual locations for tokens · ce70f433
      dodji authored
      This second instalment uses the infrastructure of the previous patch
      to allocate a macro map for each macro expansion and assign a virtual
      location to each token resulting from the expansion.
      
      To date when cpp_get_token comes across a token that happens to be a
      macro, the macro expander kicks in, expands the macro, pushes the
      resulting tokens onto a "token context" and returns a dummy padding
      token. The next call to cpp_get_token goes look into the token context
      for the next token [which is going to result from the previous macro
      expansion] and returns it.  If the token is a macro, the macro expander
      kicks in and you know the story.
      
      This patch piggy-backs on that macro expansion process, so to speak.
      First it modifies the macro expander to make it create a macro map for
      each macro expansion. It then allocates a virtual location for each
      resulting token.  Virtual locations of tokens resulting from macro
      expansions are then stored on a special kind of context called an...
      ce70f433
    • dodji's avatar
      Linemap infrastructure for virtual locations · 97bfb9ef
      dodji authored
      This is the first instalment of a set which goal is to track locations
      of tokens across macro expansions.  Tom Tromey did the original work
      and attached the patch to PR preprocessor/7263.  This opus is a
      derivative of that original work.
      
      This patch modifies the linemap module of libcpp to add virtual
      locations support.
      
      A virtual location is a mapped location that can resolve to several
      different physical locations.  It can always resolve to the spelling
      location of a token.  For tokens resulting from macro expansion it can
      resolve to:
        - either the location of the expansion point of the macro.
        - or the location of the token in the definition of the
        macro
        - or, if the token is an argument of a function-like macro,
        the location of the use of the matching macro parameter in
        the definition of the macro
      
      The patch creates a new type of line map called a macro map.  For every
      single macro expansion, there is a macro map that generates a virtual
      location for every single resulting token of the expansion.
      
      The good old type of line map we all know is now called an ordinary
      map.  That one still encodes spelling locations as it has always had.
      
      As a result linemap_lookup as been extended to return a macro map when
      given a virtual location resulting from a macro expansion.  The layout
      of structs line_map has changed to support this new type of map.  So
      did the layout of struct line_maps.  Accessor macros have been
      introduced to avoid messing with the implementation details of these
      datastructures directly.  This helped already as we have been testing
      different ways of arranging these datastructure.  Having to constantly
      adjust client code that is too tied with the internals of line_map and
      line_maps would have been even more painful.
      
      Of course, many new public functions have been added to the linemap
      module to handle the resolution of virtual locations.
      
      This patch introduces the infrastructure but no part of the compiler
      uses virtual locations yet.
      
      However the client code of the linemap data structures has been
      adjusted as per the changes.  E.g, it's not anymore reliable for a
      client code to manipulate struct line_map directly if it just wants to
      deal with spelling locations, because struct line_map can now
      represent a macro map as well.  In that case, it's better to use the
      convenient API to resolve the initial (possibly virtual) location to a
      spelling location (or to an ordinary map) and use that.
      
      This is the reason why the patch adjusts the Java, Ada and Fortran
      front ends.
      
      Also, note that virtual locations are not supposed to be ordered for
      relations '<' and '>' anymore.  To test if a virtual location appears
      "before" another one, one has to use a new operator exposed by the
      line map interface.  The patch updates the only spot (in the
      diagnostics module) I have found that was making the assumption that
      locations were ordered for these relations.  This is the only change
      that introduces a use of the new line map API in this patch, so I am
      adding a regression test for it only.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180081 138bc75d-0d04-0410-961f-82ee72b054a4
      97bfb9ef
  20. 28 Aug, 2011 1 commit
    • dodji's avatar
      Fix the use of linemap_add and remove unnecessary kludge · 1dc92c59
      dodji authored
      libcpp/
      
      	* line-map.c (linemap_add): Assert that reason must not be
      	LC_RENAME when called for the first time on a "main input file".
      
      c-family/
      
      	* c-pch.c (c_common_read_pch): Call linemap_add with LC_ENTER as it's
      	the first time it's being called on this main TU.
      
      gcc/lto/
      
      	* lto-lang.c (lto_init): Likewise.  Also, avoid calling
      	linemap_add twice.
      
      gcc/fortran/
      
      	* scanner.c (load_file): Don't abuse LC_RENAME reason while
      	(indirectly) calling linemap_add.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178146 138bc75d-0d04-0410-961f-82ee72b054a4
      1dc92c59
  21. 22 Aug, 2011 1 commit
    • gchare's avatar
      Add ability to force lexed tokens' source_locations. · 6ea2c7a3
      gchare authored
      Use it to force BUILTINS_LOCATION when declaring builtins instead of creating a <built-in> entry in the line_table which is wrong.
      
      	* c-opts.c (c_finish_options): Force BUILTINS_LOCATION for tokens
      	defined in cpp_init_builtins and c_cpp_builtins.
      
      	gcc/fortran/ChangeLog
      	* cpp.c (gfc_cpp_init): Force BUILTINS_LOCATION for tokens
      	defined in cpp_define_builtins.
      
      	libcpp/ChangeLog
      	* init.c (cpp_create_reader): Inititalize forced_token_location_p.
      	* internal.h (struct cpp_reader): Add field forced_token_location_p.
      	* lex.c (_cpp_lex_direct): Use forced_token_location_p.
      	(cpp_force_token_locations): New.
      	(cpp_stop_forcing_token_locations): New.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177973 138bc75d-0d04-0410-961f-82ee72b054a4
      6ea2c7a3
  22. 18 Aug, 2011 3 commits
  23. 15 Aug, 2011 1 commit
    • gchare's avatar
      LINEMAP_POSITION_FOR_COLUMN had the exact same effect as · 80ea6373
      gchare authored
      linemap_position_for_column, removed it and updated users
      to use linemap_position_for_column instead
      
              libcpp/ChangeLog
      	* include/line-map.h (LINEMAP_POSITION_FOR_COLUMN): Remove.
      	Update all users to use linemap_position_for_column instead.
      
              gcc/go/ChangeLog
      	* gofrontend/lex.cc (Lex::location): Update to use
      	linemap_position_for_column instead.
              (Lex::earlier_location): Likewise.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177768 138bc75d-0d04-0410-961f-82ee72b054a4
      80ea6373
  24. 28 Jul, 2011 2 commits
  25. 25 Jul, 2011 1 commit
  26. 22 Jul, 2011 1 commit
    • ro's avatar
      2011-07-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> · 6678cb4e
      ro authored
      	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
      
      	gcc:
      	PR bootstrap/49794
      	* configure.ac: Test AM_ICONV with CXX.
      	* configure: Regenerate.
      	* config/sol2-c.c (solaris_format_types): Use EXPORTED_CONST.
      
      	gcc/ada:
      	PR bootstrap/49794
      	* init.c [sun && __SVR4 && !__vxworks] (__gnat_install_handler):
      	Assign to act.sa_sigaction.
      	* tracebak.c [USE_GENERIC_UNWINDER] (__gnat_backtrace): Cast
      	current->return_address to char * before arithmetic.
      
      	libcpp:
      	PR bootstrap/49794
      	* configure.ac: Test AM_ICONV with CXX.
      	* configure: Regenerate.
      	* system.h (HAVE_DESIGNATED_INITIALIZERS): Never define for C++.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176620 138bc75d-0d04-0410-961f-82ee72b054a4
      6678cb4e
  27. 15 Jul, 2011 1 commit
    • dodji's avatar
      Use source_location where it is due · c219ee5c
      dodji authored
      libcpp/
      
      	* directives.c (struct if_stack): Use source_location as type
      	here.
      	* include/cpplib.h (struct cpp_callbacks)<include, define, undef,
      	indent, def_pragma, used_define, used_undef>: Properly use
      	source_location as parameter type, rather than unsigned int.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176333 138bc75d-0d04-0410-961f-82ee72b054a4
      c219ee5c