1. 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
  2. 18 Aug, 2011 3 commits
  3. 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
  4. 28 Jul, 2011 2 commits
  5. 25 Jul, 2011 1 commit
  6. 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
  7. 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
  8. 08 Jul, 2011 1 commit
  9. 07 Jul, 2011 1 commit
    • ro's avatar
      gcc: · 14f27bc6
      ro authored
      	PR target/39150
      	* configure.ac (gcc_cv_as_hidden): Also accept
      	x86_64-*-solaris2.1[0-9]*.
      	(gcc_cv_as_cfi_directive): Likewise.
      	(gcc_cv_as_comdat_group_group): Likewise.
      	(set_have_as_tls): Likewise.
      	* configure: Regenerate.
      	* config.gcc (i[34567]86-*-solaris2*): Also handle
      	x86_64-*-solaris2.1[0-9]*.
      	* config.host (i[34567]86-*-solaris2*): Likewise.
      	* config/sparc/sol2.h (ASM_CPU_DEFAULT_SPEC): Remove.
      	* config/sol2-bi.h (ASM_CPU_DEFAULT_SPEC): Redefine.
      	[USE_GLD] (ARCH_DEFAULT_EMULATION): Define.
      	(TARGET_LD_EMULATION): Use it.
      	* config/i386/sol2.h (ASM_CPU_DEFAULT_SPEC): Define.
      	(SUBTARGET_CPU_EXTRA_SPECS): Add asm_cpu_default.
      	* config/i386/sol2-bi.h (ASM_CPU32_DEFAULT_SPEC): Define.
      	(ASM_CPU64_DEFAULT_SPEC): Define.
      	(ASM_CPU_SPEC): Use %(asm_cpu_default).
      	(ASM_SPEC): Redefine.
      	(DEFAULT_ARCH32_P): Define using TARGET_64BIT_DEFAULT.
      	* config/host-solaris.c [__x86_64__] (TRY_EMPTY_VM_SPACE): Reduce.
      	* doc/install.texi (Specific, amd64-*-solaris2.1[0-9]*):
      	Document.
      	(Specific, ...
      14f27bc6
  10. 21 Jun, 2011 1 commit
  11. 16 Jun, 2011 1 commit
  12. 06 Jun, 2011 1 commit
    • dodji's avatar
      PR preprocessor/48532 · 2c694d44
      dodji authored
      libcpp/
      
      	* directives.c (do_pragma): Don't forget the invocation location
      	when parsing the pragma name of a namespaced pragma directive.
      
      gcc/testsuite/
      
      	* gcc.dg/cpp/pragma-3.c: New test case.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174694 138bc75d-0d04-0410-961f-82ee72b054a4
      2c694d44
  13. 02 Jun, 2011 1 commit
  14. 22 May, 2011 2 commits
  15. 12 May, 2011 1 commit
  16. 25 Apr, 2011 1 commit
    • jkratoch's avatar
      include/ · cdd0bb4b
      jkratoch authored
      	* ansidecl.h (ENUM_BITFIELD): New, from gcc/system.h.
      
      contrib/
      	* paranoia.cc (ENUM_BITFIELD): Remove.
      
      gcc/
      	* system.h (ENUM_BITFIELD): Remove.
      
      libcpp/
      	* system.h (ENUM_BITFIELD): Remove.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172933 138bc75d-0d04-0410-961f-82ee72b054a4
      cdd0bb4b
  17. 23 Apr, 2011 1 commit
  18. 20 Apr, 2011 1 commit
    • meyering's avatar
      remove useless if-before-free tests · dd045aee
      meyering authored
      Change "if (E) free (E);" to "free (E);" everywhere except in the
      libgo/, intl/, zlib/ and classpath/ directories.
      Also transform equivalent variants like
      "if (E != NULL) free (E);" and allow an extra cast on the
      argument to free.  Otherwise, the tested and freed "E"
      expressions must be identical, modulo white space.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172785 138bc75d-0d04-0410-961f-82ee72b054a4
      dd045aee
  19. 03 Apr, 2011 1 commit
  20. 25 Mar, 2011 1 commit
    • ktietz's avatar
      2011-03-25 Kai Tietz <ktietz@redhat.com> · bb7824b5
      ktietz authored
      	* files.c (file_hash_eq): Use filename_cmp
      	instead of strcmp.
      	(nonexistent_file_hash_eq): Likewise.
      	(remap_filename): Likewise.
      	Handle absolute DOS-path,
      	(append_file_to_dir): Check for IS_DIR_SEPARATOR
      	instead of slash.
      	(read_name_map): Likewise.
      	* linemap.c (linemap_add): Use filename_cmp
      	instead of strcmp.
      	* mkdeps.c (apply_vpath): Use filename_ncmp
      	instead of strncmp.
      	(deps_restore): Use filename_cmp instead of
      	strcmp.
      	* init.c (read_original_directory): Use
      	IS_DIR_SEPARATOR instead of checking for slash.
      
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171521 138bc75d-0d04-0410-961f-82ee72b054a4
      bb7824b5
  21. 24 Mar, 2011 1 commit
  22. 21 Mar, 2011 1 commit
  23. 18 Mar, 2011 1 commit
  24. 05 Mar, 2011 1 commit
  25. 07 Jan, 2011 1 commit
  26. 04 Jan, 2011 1 commit
  27. 03 Jan, 2011 1 commit
  28. 19 Dec, 2010 2 commits
  29. 18 Dec, 2010 2 commits
  30. 17 Dec, 2010 1 commit
  31. 13 Dec, 2010 1 commit
  32. 23 Nov, 2010 1 commit
  33. 18 Nov, 2010 1 commit
  34. 16 Nov, 2010 1 commit