Skip to content
Snippets Groups Projects
  1. Aug 03, 2004
    • Nathanael Nerode's avatar
      Revert bogus portion of previous commit · bf7d3350
      Nathanael Nerode authored
      From-SVN: r85502
      bf7d3350
    • Robert Millan's avatar
      configure.in: Turn mt-linux into mt-gnu. · 98a5bb3b
      Robert Millan authored
      ChangeLog:
      
      2004-08-01  Robert Millan  <robertmh@gnu.org>
      
      	* configure.in: Turn mt-linux into mt-gnu. Use mt-gnu and enable
      	libmudflap for all GNU-based systems (with Glibc).
      	* configure: Regenerate.
      
      config/ChangeLog:
      
      2004-08-01  Robert Millan  <robertmh@gnu.org>
      
      	* mt-linux: Rename to ...
      	* mt-gnu: ... this.
      
      libffi/ChangeLog:
      
      2004-08-01  Robert Millan  <robertmh@gnu.org>
      
      	* configure.ac: Detect knetbsd-gnu and kfreebsd-gnu.
      	* configure: Regenerate.
      
      From-SVN: r85501
      98a5bb3b
    • Maciej W. Rozycki's avatar
      acinclude.m4 (AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h> and mmap()... · 4d447364
      Maciej W. Rozycki authored
      acinclude.m4 (AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h> and mmap() explicitly instead of relying on preset...
      
      2004-07-30  Maciej W. Rozycki  <macro@linux-mips.org>
      
      	* acinclude.m4 (AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h>
      	and mmap() explicitly instead of relying on preset autoconf cache
      	variables.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      From-SVN: r85500
      4d447364
    • Nathanael Nerode's avatar
      Remove spurious conflict marker · b522f768
      Nathanael Nerode authored
      From-SVN: r85499
      b522f768
    • Maciej W. Rozycki's avatar
      aclocal.m4 (gcc_AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h> and mmap()... · 3b0727a0
      Maciej W. Rozycki authored
      aclocal.m4 (gcc_AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h> and mmap() explicitly instead of relying on preset...
      
      2004-07-30  Maciej W. Rozycki  <macro@linux-mips.org>
      
      	* aclocal.m4 (gcc_AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h>
      	and mmap() explicitly instead of relying on preset autoconf cache
      	variables.
      	* configure: Regenerate.
      
      From-SVN: r85498
      3b0727a0
    • H.J. Lu's avatar
      re PR target/16570 (missing _mm_malloc and _mm_free functions in xmmintrin.h) · f6bc51cb
      H.J. Lu authored
      gcc/
      
      2004-08-03  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/16570
      	* config.gcc (i[34567]86-*-* | x86_64-*-*): Add i386/t-gmm_malloc
      	to tmake_file.
      	(i[34567]86-*-linux*aout* | i[34567]86-*-linux*libc1): Likewise.
      	(i[34567]86-*-linux* | x86_64-*-linux*): Add i386/t-pmm_malloc
      	to tmake_file.
      
      	* config/i386/t-gmm_malloc: New file.
      	* config/i386/t-pmm_malloc: Likewise.
      
      	* config/i386/xmmintrin.h: Include <mm_malloc.h>.
      
      2004-08-03  H.J. Lu  <hongjiu.lu@intel.com>
      	    Tanguy Fautr�  <tfautre@pandora.be>
      
      	* config/i386/pmm_malloc.h: New file.
      
      2004-08-03  Danny Smith  <dannysmith@users.sourceforge.net>
      
      	* config/i386/gmm_malloc.h: New file.
      
      gcc/testsuite/
      
      2004-08-03  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/16570
      	* gcc.dg/i386-sse-9.c: New test.
      
      From-SVN: r85496
      f6bc51cb
    • Nathanael Nerode's avatar
      acinclude.m4: Include no-executables.m4. · ed698112
      Nathanael Nerode authored
      	* acinclude.m4: Include no-executables.m4.
      	* aclocal.m4: Rebuild.
      	* configure.in: Convert to the autoconf 2.59 version of
      	of the no-executables hack, and also of the nonstandard CXX
      	hack and the multilibbed CC and CXX hack.  Change prerequisite
      	to autoconf 2.59.
      	* configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
      	* Makefile.in, gcj/Makefile.in, include/Makefile.in,
      	testsuite/Makefile.in: Regenerate.
      
      From-SVN: r85495
      ed698112
    • Dale Johannesen's avatar
      rs6000.c (machopic_output_stub): Align Darwin stubs. · d974312d
      Dale Johannesen authored
      2004-08-03  Dale Johannesen  <dalej@apple.com>
      
      	* config/rs6000/rs6000.c (machopic_output_stub):  Align Darwin stubs.
      	* c-common.c: Include opts.h.
      	(c_common_get_alias_set): Fix check for a single input file.
      	* toplev.c: Remove current_file_decl.
      	* tree.h: Ditto.
      
      From-SVN: r85492
      d974312d
    • Tom Tromey's avatar
      * jni.cc: Reindented. · 8e9031ec
      Tom Tromey authored
      From-SVN: r85491
      8e9031ec
    • Mark Mitchell's avatar
      config.gcc (arm*-*-symbianelf*): New target. · 336bd6ac
      Mark Mitchell authored
      	* config.gcc (arm*-*-symbianelf*): New target.
      	* config/arm/symbian.h: New file.
      
      From-SVN: r85490
      336bd6ac
    • Mark Mitchell's avatar
      gthr-gnat.c: Add visibility #pragmas. · 3fc1f660
      Mark Mitchell authored
      	* gthr-gnat.c: Add visibility #pragmas.
      	* gthr-gnat.h : Likewise.
      	* gthr.h: Likewise.
      	* libgcc2.c (__ffsSI2): Move prototype to libgcc2.h.
      	(__ffsDI2): Likewise.
      	(__clzSI2): Likewise.
      	(__ctzSI2): Likewise.
      	(__ctzDI2): Likewise.
      	(__popcountSI2): Likewise.
      	(__popcountDI2): Likewise.
      	(__paritySI2): Likewise.
      	(__parityDI2): Likewise.
      	* libgcc2.h: Add visibility #pragmas.
      	(__clzDI2): Add prototype.
      	(__clzSI2): Likewise.
      	(__ctzSI2): Likewise.
      	(__ffsDI2): Likewise.
      	(__ffsSI2): Likewise.
      	(__ctzDI2): Likewise.
      	(__popcountSI2): Likewise.
      	(__popcountDI2): Likewise.
      	(__paritySI2): Likewise.
      	(__parityDI2): Likewise.
      	* unwind-dw2-fde.h: Add visibility #pragmas.
      	* unwind.h: Likewise.
      
      From-SVN: r85489
      3fc1f660
    • David Edelsohn's avatar
      rs6000.c (rs6000_rtx_costs): Calculate cost of constants more accurately. · 066cd967
      David Edelsohn authored
      
              * config/rs6000/rs6000.c (rs6000_rtx_costs): Calculate cost of
              constants more accurately.  Adjust costs for FMA instructions.
              Add cases for most logical and float operations.  Recurse into
              most operands.
      
      Co-Authored-By: default avatarDale Johannesen <dalej@apple.com>
      Co-Authored-By: default avatarRoger Sayle <roger@eyesopen.com>
      
      From-SVN: r85488
      066cd967
    • Richard Earnshaw's avatar
      * config.gcc (strongarm-*, xscale-*): Add t-arm to tmake_files. · 315cd6b5
      Richard Earnshaw authored
      From-SVN: r85487
      315cd6b5
    • Pat Haugen's avatar
      ra-build.c (conflicts_between_webs): For webs that cross a call add conflicts... · 8589ae15
      Pat Haugen authored
      ra-build.c (conflicts_between_webs): For webs that cross a call add conflicts to regs_invalidated_by_call.
      
      2004-08-03  Pat Haugen  <pthaugen@us.ibm.com>
      
              * ra-build.c (conflicts_between_webs): For webs that cross a call add
              conflicts to regs_invalidated_by_call.
      
      From-SVN: r85482
      8589ae15
    • Paul Brook's avatar
      * config/arm/arm.c (emit_sfm): Only emit a single frame adjustment. · 8ee6eb4e
      Paul Brook authored
      From-SVN: r85480
      8ee6eb4e
    • Joseph Myers's avatar
      * gcc.dg/array-7.c, gcc.dg/c99-tag-2.c: New tests. · 7a1f75f1
      Joseph Myers authored
      From-SVN: r85479
      7a1f75f1
    • Dale Johannesen's avatar
      mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin. · 029277b7
      Dale Johannesen authored
      2004-08-03  Dale Johannesen  <dalej@apple.com>
      
               * mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin.
      
      From-SVN: r85478
      029277b7
    • Jan Hubicka's avatar
      coverage.c (tree_coverage_counter_ref): Fix computation of the new ARRAY_REF argument. · d836edf8
      Jan Hubicka authored
      	* coverage.c (tree_coverage_counter_ref): Fix computation of the new
      	ARRAY_REF argument.
      
      From-SVN: r85477
      d836edf8
    • Richard Earnshaw's avatar
      arm-cores.def: Sort by architecture. · f9e8581a
      Richard Earnshaw authored
      * arm-cores.def: Sort by architecture.  Add arm946es, arm966es,
      arm968es, arm10e, arm1020e, arm1022e.
      * invoke.texi: Update list of ARM cores.
      * arm-tune.md: Regenerate.
      
      From-SVN: r85476
      f9e8581a
    • Frank Ch. Eigler's avatar
      mf-runtime.c (compare_uintptr_t): Remove function. · 73c3d568
      Frank Ch. Eigler authored
      2004-08-03  Frank Ch. Eigler  <fche@redhat.com>
      
      	* mf-runtime.c (compare_uintptr_t): Remove function.  Inline
      	simplified contents in all former callers.
      
      From-SVN: r85475
      73c3d568
    • Richard Earnshaw's avatar
      1e45521f
    • Roger Sayle's avatar
      re PR libfortran/16137 (Fortran compiler unable to produce executables as... · 453310d8
      Roger Sayle authored
      re PR libfortran/16137 (Fortran compiler unable to produce executables as libfortran depends on C99 math functions)
      
      
      	PR libgfortran/16137
      	* configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
      	copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
      	scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      
      	* instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
      	copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
      	nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
      	implementations for targets that don't support C99 float functions.
      
      From-SVN: r85473
      453310d8
    • Richard Earnshaw's avatar
      gentune.sh: New file. · 2f71a20a
      Richard Earnshaw authored
      * arm/gentune.sh: New file.
      * arm/t-arm: New file.
      * arm/arm-tune.md: New file (autogenerated).
      * config.gcc (arm*-*-*): Add t-arm to tmake_file for all variants.
      * arm.md (attribute tune): Delete.  Include arm-tune.md.
      
      From-SVN: r85472
      2f71a20a
    • Paolo Carlini's avatar
      list.tcc: Trivial formatting fixes. · 6e0a7f2b
      Paolo Carlini authored
      2004-08-03  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/list.tcc: Trivial formatting fixes.
      
      From-SVN: r85470
      6e0a7f2b
    • Paolo Bonzini's avatar
      gcc.c (add_prefix, [...]): Remove penultimate parameter. · 1a5d37a1
      Paolo Bonzini authored
      2004-08-03  Paolo Bonzini <bonzini@gnu.org>
      
      	* gcc.c (add_prefix, add_sysrooted_prefix): Remove
      	penultimate parameter.  All callers adjusted.
      	(struct prefix_list): Remove used_flag_ptr.
      	(find_a_file): Do not set *pl->used_flag_ptr.
      	(warn_B, warn_std_ptr): Remove.
      
      From-SVN: r85469
      1a5d37a1
    • Paolo Bonzini's avatar
      Makefile.def (host-modules): Add gcc. · d32ab992
      Paolo Bonzini authored
      2004-08-03 Paolo Bonzini <bonzini@gnu.org>
      
      	* Makefile.def (host-modules): Add gcc.
      	* Makefile.in: Regenerate.
      	* Makefile.tpl (sorry): New rule.
      	(configure-host, all-host, [+make_target+]-host, do-check,
      	install-host): Do not add gcc as a special case.
      	(host modules): Add a small special-casing for gcc.  Export
      	extra_make_flags through the environment.
      	(maybe-configure-gcc, configure-gcc, maybe-all-gcc, all-gcc,
      	maybe-check-gcc, check-gcc, maybe-install-gcc, install-gcc,
      	other recursive targets for gcc): Remove.
      
      	(all, do-[+make_target+], do-check): Wrap between unstage and stage.
      	(stage, unstage): New rules.
      	(stage[+id+]-start, stage[+id+]-end, [+compare-target+],
      	distclean-stage[+id+]): Use stage_current.
      	([+bootstrap-target+], profiledbootstrap): Do not invoke manually
      	the stage*-start rules.
      
      From-SVN: r85468
      d32ab992
    • Yossi Markovich's avatar
      altivec.md (altivec_vnmsubfp): Fix wrong pattern. · 097538f1
      Yossi Markovich authored
      
              * config/rs6000/altivec.md (altivec_vnmsubfp): Fix wrong pattern.
      
      [[Split portion of a mixed commit.]]
      
      Co-Authored-By: default avatarMostafa Hagog <mustafa@il.ibm.com>
      
      From-SVN: r85466.2
      097538f1
    • Joseph Myers's avatar
      20001023-1.c, [...]: Declare built-in functions used. · ee712eab
      Joseph Myers authored
      	* gcc.dg/20001023-1.c, gcc.dg/20001108-1.c, gcc.dg/20001117-1.c,
      	gcc.dg/20010202-1.c, gcc.dg/20011008-2.c, gcc.dg/20011214-1.c,
      	gcc.dg/20020201-1.c, gcc.dg/20020312-2.c, gcc.dg/20020426-2.c,
      	gcc.dg/20030331-2.c, gcc.dg/20030612-1.c, gcc.dg/20030926-1.c,
      	gcc.dg/20031216-1.c, gcc.dg/20031218-3.c, gcc.dg/20040305-2.c,
      	gcc.dg/980226-1.c, gcc.dg/Wreturn-type2.c,
      	gcc.dg/Wunreachable-6.c, gcc.dg/Wunreachable-7.c,
      	gcc.dg/align-1.c, gcc.dg/builtin-prefetch-1.c,
      	gcc.dg/builtins-17.c, gcc.dg/builtins-19.c, gcc.dg/builtins-2.c,
      	gcc.dg/builtins-20.c, gcc.dg/builtins-21.c, gcc.dg/builtins-7.c,
      	gcc.dg/builtins-8.c, gcc.dg/cpp/19930510-1.c,
      	gcc.dg/cpp/charconst-3.c, gcc.dg/cpp/charconst-4.c,
      	gcc.dg/cpp/mi6.c, gcc.dg/cpp/tr-paste.c, gcc.dg/cpp/trad/mi6.c,
      	gcc.dg/cpp/trad/paste.c, gcc.dg/cpp/trad/strify.c,
      	gcc.dg/fastmath-1.c, gcc.dg/fshort-wchar.c, gcc.dg/i386-387-7.c,
      	gcc.dg/i386-387-8.c, gcc.dg/i386-asm-1.c, gcc.dg/i386-cadd.c,
      	gcc.dg/i386-fpcvt-3.c, gcc.dg/i386-loop-3.c,
      	gcc.dg/i386-memset-1.c, gcc.dg/loop-2.c, gcc.dg/nest.c,
      	gcc.dg/noncompile/971104-1.c, gcc.dg/noncompile/990416-1.c,
      	gcc.dg/noncompile/scope.c, gcc.dg/pack-test-4.c,
      	gcc.dg/pack-test-5.c, gcc.dg/pch/inline-4.c, gcc.dg/postincr-1.c,
      	gcc.dg/pr10392-1.c, gcc.dg/pragma-align.c,
      	gcc.dg/profile-generate-1.c, gcc.dg/sibcall-1.c,
      	gcc.dg/sibcall-2.c, gcc.dg/sibcall-3.c, gcc.dg/sibcall-4.c,
      	gcc.dg/sibcall-5.c, gcc.dg/sibcall-6.c, gcc.dg/switch-warn-1.c,
      	gcc.dg/switch-warn-2.c, gcc.dg/torture/builtin-attr-1.c,
      	gcc.dg/torture/builtin-math-1.c, gcc.dg/torture/builtin-noret-2.c,
      	gcc.dg/trampoline-1.c, gcc.dg/tree-ssa/20030703-1.c,
      	gcc.dg/tree-ssa/20030703-2.c, gcc.dg/tree-ssa/20030708-1.c,
      	gcc.dg/tree-ssa/20030709-3.c, gcc.dg/tree-ssa/20030710-1.c,
      	gcc.dg/tree-ssa/20030711-1.c, gcc.dg/tree-ssa/20030729-1.c,
      	gcc.dg/tree-ssa/20030730-1.c, gcc.dg/tree-ssa/20030730-2.c,
      	gcc.dg/tree-ssa/20030731-1.c, gcc.dg/tree-ssa/20030807-11.c,
      	gcc.dg/tree-ssa/20030807-2.c, gcc.dg/tree-ssa/20030807-5.c,
      	gcc.dg/tree-ssa/20030807-7.c, gcc.dg/tree-ssa/20030808-1.c,
      	gcc.dg/tree-ssa/20030814-1.c, gcc.dg/tree-ssa/20030814-2.c,
      	gcc.dg/tree-ssa/20030814-3.c, gcc.dg/tree-ssa/20030814-4.c,
      	gcc.dg/tree-ssa/20030814-5.c, gcc.dg/tree-ssa/20030814-6.c,
      	gcc.dg/tree-ssa/20030814-7.c, gcc.dg/tree-ssa/20030815-1.c,
      	gcc.dg/tree-ssa/20030907-1.c, gcc.dg/tree-ssa/20030917-3.c,
      	gcc.dg/tree-ssa/20030922-1.c, gcc.dg/tree-ssa/20031113-1.c,
      	gcc.dg/tree-ssa/20040121-1.c, gcc.dg/tree-ssa/20040319-1.c,
      	gcc.dg/tree-ssa/20040324-1.c, gcc.dg/tree-ssa/20040326-1.c,
      	gcc.dg/tree-ssa/20040326-2.c, gcc.dg/tree-ssa/20040517-1.c,
      	gcc.dg/tree-ssa/ssa-ccp-10.c, gcc.dg/tree-ssa/ssa-pre-1.c,
      	gcc.dg/tree-ssa/tailcall-1.c, gcc.dg/tree-ssa/tailrecursion-5.c,
      	gcc.dg/ultrasp3.c, gcc.dg/winline-7.c, gcc.misc-tests/bprob-1.c,
      	gcc.misc-tests/bprob-2.c, gcc.misc-tests/gcov-3.c,
      	gcc.misc-tests/gcov-4.c, gcc.misc-tests/gcov-4b.c,
      	gcc.misc-tests/gcov-6.c, gcc.misc-tests/gcov-7.c,
      	gcc.misc-tests/i386-pf-3dnow-1.c,
      	gcc.misc-tests/i386-pf-athlon-1.c,
      	gcc.misc-tests/i386-pf-none-1.c, gcc.misc-tests/i386-pf-sse-1.c,
      	objc.dg/nested-func-1.m, objc.dg/special/unclaimed-category-1.m:
      	Declare built-in functions used.
      	* gcc.dg/torture/builtin-attr-1.c (nexttoward): Use FPTEST2ARG2.
      
      From-SVN: r85465
      ee712eab
    • Mark Mitchell's avatar
      new_op.cc: Update comments. · 610b0ddd
      Mark Mitchell authored
      	* libsupc++/new_op.cc: Update comments.
      	* libsupc++/del_op.cc: Likewise.
      
      From-SVN: r85464
      610b0ddd
    • Mark Mitchell's avatar
      cxxabi.h: Make all declarations have default visibility. · 723acbd5
      Mark Mitchell authored
      	* libsupc++/cxxabi.h: Make all declarations have default
      	visibility.
      	* libsupc++/exception: Likewise.
      	* libsupc++/new: Likewise.
      	* libsupc++/typeinfo: Likewise.
      	* libsupc++/unwind-cxx.h: Likewise.
      	* libsupc++/eh_alloc.cc (__cxa_allocate_exception): Put it into
      	the __cxxabiv1 namespace.
      	(__cxa_free_exception): Likewise.
      	* libsupc++/eh_aux_runtime.cc (__cxa_bad_cast): Likewise.
      	(__cxa_bad_typeid): Likewise.
      	* libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
      	(__cxa_end_catch): Likewise.
      	* libsupc++/eh_globals.cc (__cxa_get_globals_fast): Likewise.
      	(__cxa_get_globals): Likewise.
      	* libsupc++/eh_throw.cc (__cxa_throw): Likewise.
      	(__cxa_rethrow): Likewise.
      	* libsupc++/pure.cc (__cxa_pure_virtual): Likewise.
      	* libsupc++/eh_type.cc: Include <cxxabi.h>.
      
      From-SVN: r85463
      723acbd5
    • Geoffrey Keating's avatar
      Index: ChangeLog · aeb732c1
      Geoffrey Keating authored
      2004-08-02  Geoffrey Keating  <geoffk@apple.com>
      
      	* ltcf-cxx.sh: On Darwin, make archive multi-module, and don't
      	use -all_load flag.
      
      Index: gcc/ChangeLog
      2004-08-02  Geoffrey Keating  <geoffk@apple.com>
      
      	* dwarf2out.c (output_call_frame_info): Don't change data format
      	due to TARGET_USES_WEAK_UNWIND_INFO.  Always refer to the local
      	label.  Use 'true' not '1'.
      	* doc/install.texi (powerpc-*-darwin*): Mention cctools version
      	required.
      
      From-SVN: r85461
      aeb732c1
    • Bryce McKinlay's avatar
      Timestamp.java (valueOf): Synchronize access to dateFormat. · 474f5417
      Bryce McKinlay authored
      2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
      
      	* java/sql/Timestamp.java (valueOf): Synchronize access to
      	dateFormat.
      
      From-SVN: r85460
      474f5417
    • GCC Administrator's avatar
      Daily bump. · faebe6c2
      GCC Administrator authored
      From-SVN: r85458
      faebe6c2
  2. Aug 02, 2004
    • Bryce McKinlay's avatar
      re PR java/16701 (Error when constant initializer depends on another constant... · 899deeca
      Bryce McKinlay authored
      re PR java/16701 (Error when constant initializer depends on another constant with restricted access)
      
      2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
      
      	PR java/16701
      	* parse.y (fold_constant_for_init): Call resolve_field_access with
      	correct current_class context.
      
      2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
      
      	* testsuite/libjava.compile/PR16701.java: New test.
      
      From-SVN: r85453
      899deeca
    • Mark Mitchell's avatar
      Makefile.am (hosted_source): Add libmath and testsuite. · 4c24b21a
      Mark Mitchell authored
      	* Makefile.am (hosted_source): Add libmath and testsuite.
      	(SUBDIRS): Remove them.
      	* acinclude.m4: (GLIBCXX_ENABLED_HOSTED): Default to freestanding
      	on arm*-*-symbianelf*.
      	* crossconfig.m4: Add arm*-*-symbianelf* support.
      	* include/c_std/std/std_cstdlib.h (stdlib.h): Do not include it
      	when freestanding.  Do not bring names into std:: namespace with
      	"using" when freestanding.  Declare required functions and macros
      	when freestanding.
      	* libsupc++/Makefile.am (c_sources): Do not include cp-demangle.c
      	when freestanding.
      	* libsupc++/del_op.cc: Declare "free" only when freestanding.
      	* libsupc++/eh_alloc.cc (cstring): Include it only when hosted.
      	(malloc): Declare when freestanding.
      	(free): Likewise.
      	(memset): Likewise.
      	(__cxa_allocate_exception): Call malloc, not std::malloc.  Likewise
      	for memset.
      	(__cxa_free_exception): Likewise for free.
      	* libsupc++/new_op.cc: Declare "malloc" when freestanding.
      	* libsupc++/pure.cc (writestr): Define to nothing when
      	freestanding.
      	* libsupc++/vterminate.cc: Do not define anything when
      	freestanding.
      	* Makefile.in: Regenerated.
      	* aclocal.m4: Likewise.
      	* configure: Likewise.
      	* include/Makefile.in: Likewise.
      	* libmath/Makefile.in: Likewise.
      	* libsupc++/Makefile.in: Likewise.
      	* po/Makefile.in: Likewise.
      	* src/Makefile.in: Likewise.
      	* testsuite/Makefile.in: Likewise.
      
      From-SVN: r85452
      4c24b21a
    • Gabriel Dos Reis's avatar
      * gdbinit.in: Reflect previous changes to rtunion_def. · e0d9dfa2
      Gabriel Dos Reis authored
      From-SVN: r85449
      e0d9dfa2
    • Mark Mitchell's avatar
      re PR c++/16707 (ICE with using) · 7756db03
      Mark Mitchell authored
      	PR c++/16707
      	* name-lookup.c (validate_nonmember_using_decl): Robustify.
      
      	PR c++/16707
      	* g++.dg/lookup/using12.C: New test.
      
      From-SVN: r85446
      7756db03
    • Mark Mitchell's avatar
      null1.C: Fix PR number. · 6ed7c4d8
      Mark Mitchell authored
      	* g++.dg/init/null1.C: Fix PR number.
      	* g++.dg/parse/namespace10.C: Likewise.
      
      From-SVN: r85444
      6ed7c4d8
    • Roger Sayle's avatar
      fold-const.c (fold): The transformation "X % -Y" -> "X % Y" is only valid for TRUNC_MOD_EXPR. · 31597620
      Roger Sayle authored
      	* fold-const.c (fold) <TRUNC_MOD_EXPR>: The transformation "X % -Y"
      	-> "X % Y" is only valid for TRUNC_MOD_EXPR.
      
      From-SVN: r85443
      31597620
    • Paolo Bonzini's avatar
      Sync from src. · 25b656e7
      Paolo Bonzini authored
      From-SVN: r85442
      25b656e7
Loading