1. 25 Nov, 2013 10 commits
  2. 24 Nov, 2013 10 commits
  3. 23 Nov, 2013 16 commits
  4. 22 Nov, 2013 4 commits
    • Fix demangler to handle conversion operators correctly. · 85d09f61
      libiberty/
      	PR other/59195
      	* cp-demangle.c (struct d_info_checkpoint): New struct.
      	(struct d_print_info): Add current_template field.
      	(d_operator_name): Set flag when processing a conversion
      	operator.
      	(cplus_demangle_type): When processing <template-args> for
      	a conversion operator, backtrack if necessary.
      	(d_expression_1): Renamed from d_expression.
      	(d_expression): New wrapper around d_expression_1.
      	(d_checkpoint): New function.
      	(d_backtrack): New function.
      	(d_print_init): Initialize current_template.
      	(d_print_comp): Set current_template.
      	(d_print_cast): Put current_template in scope for
      	printing conversion operator name.
      	(cplus_demangle_init_info): Initialize is_expression and
      	is_conversion.
      	* cp-demangle.h (struct d_info): Add is_expression and
      	is_conversion fields.
      	* testsuite/demangle-expected: New test cases.
      
      From-SVN: r205292
      Cary Coutant committed
    • re PR sanitizer/59061 (Port leaksanitizer) · 9065ada9
      	PR sanitizer/59061
      	* common.opt (static-liblsan): Add.
      	* config/gnu-user.h (STATIC_LIBLSAN_LIBS, STATIC_LIBUBSAN_LIBS):
      	Define.
      	* flag-types.h (enum sanitize_code): Add SANITIZE_LEAK.  Renumber
      	SANITIZE_SHIFT, SANITIZE_DIVIDE, SANITIZE_UNREACHABLE, SANITIZE_VLA,
      	SANITIZE_RETURN.
      	* opts.c (common_handle_option): Handle -fsanitize=leak.
      	* gcc.c (ADD_STATIC_LIBLSAN_LIBS, LIBLSAN_SPEC): Define.
      	(LIBUBSAN_SPEC): Don't test LIBUBSAN_EARLY_SPEC.
      	(LIBUBSAN_EARLY_SPEC): Remove.
      	(SANITIZER_EARLY_SPEC): Don't do anything for libubsan.
      	(SANITIZER_SPEC): Add -fsanitize=leak handling.
      	(sanitize_spec_function): Handle %sanitize(leak).
      	* doc/invoke.texi (-static-liblsan, -fsanitize=leak): Document.
      
      	* c-c++-common/asan/no-redundant-instrumentation-7.c: Fix
      	cleanup-tree-dump directive.
      
      	* configure.tgt: Set LSAN_SUPPORTED=yes for x86_64-linux.
      	* configure.ac (LSAN_SUPPORTED): New AM_CONDITIONAL.
      	* configure: Regenerated.
      	* lsan/Makefile.am (toolexeclib_LTLIBRARIES, lsan_files,
      	liblsan_la_SOURCES, liblsan_la_LIBADD, liblsan_la_LDFLAGS): Add.
      	* lsan/Makefile.in: Regenerated.
      
      From-SVN: r205290
      Jakub Jelinek committed
    • safe_local_iterator.h (_Safe_local_iterator<>): Remove _M_bucket, use same… · 2e5189c8
      safe_local_iterator.h (_Safe_local_iterator<>): Remove _M_bucket, use same information in normal local_iterator.
      
      2013-11-22  François Dumont  <fdumont@gcc.gnu.org>
      
      	* include/debug/safe_local_iterator.h (_Safe_local_iterator<>):
      	Remove _M_bucket, use same information in normal local_iterator.
      	(operator==): Remove redundant _M_can_compare check.
      	* include/debug/safe_local_iterator.tcc: Adapt.
      	* include/debug/unordered_set: Likewise.
      	* include/debug/unordered_map: Likewise.
      
      From-SVN: r205289
      François Dumont committed
    • 20081223-1.c: Add -ffat-lto-objects. · 79a8482c
      	* gcc.dg/20081223-1.c: Add -ffat-lto-objects.
      	* gcc.dg/vect/vect.exp: Add -ffat-lto-objects.
      
      From-SVN: r205288
      Jan Hubicka committed