1. 18 Apr, 2003 10 commits
    • rtlanal.c (reg_overlap_mentioned_p): Handle ZERO_EXTRACT and SIGN_EXTRACT. · c553b702
      
      	* rtlanal.c (reg_overlap_mentioned_p): Handle ZERO_EXTRACT
      	and SIGN_EXTRACT.
      
      From-SVN: r65782
      Roger Sayle committed
    • configure.in (powerpc64*-*-linux*): Remove. · e9b84181
      	* configure.in (powerpc64*-*-linux*): Remove.
      	* configure: Rebuilt.
      libffi/
      	* include/ffi.h.in (POWERPC64): Define if 64-bit.
      	(enum ffi_abi): Add FFI_LINUX64 on POWERPC.
      	Make it the default on POWERPC64.
      	(FFI_TRAMPOLINE_SIZE): Define to 24 on POWERPC64.
      	* configure.in: Change powerpc-*-linux* into powerpc*-*-linux*.
      	* configure: Rebuilt.
      	* src/powerpc/ffi.c (hidden): Define.
      	(ffi_prep_args_SYSV): Renamed from
      	ffi_prep_args.  Cast pointers to unsigned long to shut up warnings.
      	(NUM_GPR_ARG_REGISTERS64, NUM_FPR_ARG_REGISTERS64,
      	ASM_NEEDS_REGISTERS64): New.
      	(ffi_prep_args64): New function.
      	(ffi_prep_cif_machdep): Handle FFI_LINUX64 ABI.
      	(ffi_call): Likewise.
      	(ffi_prep_closure): Likewise.
      	(flush_icache): Surround by #ifndef POWERPC64.
      	(ffi_dblfl): New union type.
      	(ffi_closure_helper_SYSV): Use it to avoid aliasing problems.
      	(ffi_closure_helper_LINUX64): New function.
      	* src/powerpc/ppc_closure.S: Surround whole file by #ifndef
      	__powerpc64__.
      	* src/powerpc/sysv.S: Likewise.
      	(ffi_call_SYSV): Rename ffi_prep_args to ffi_prep_args_SYSV.
      	* src/powerpc/linux64.S: New file.
      	* src/powerpc/linux64_closure.S: New file.
      	* Makefile.am (EXTRA_DIST): Add src/powerpc/linux64.S and
      	src/powerpc/linux64_closure.S.
      	(TARGET_SRC_POWERPC): Likewise.
      
      	* src/ffitest.c (closure_test_fn, closure_test_fn1, closure_test_fn2,
      	closure_test_fn3): Fix result printing on big-endian 64-bit
      	machines.
      	(main): Print tst2_arg instead of uninitialized tst2_result.
      
      	* src/ffitest.c (main): Hide what closure pointer really points to
      	from the compiler.
      
      From-SVN: r65781
      Jakub Jelinek committed
    • porting.texi (_GLIBCPP_USE_C99_CHECK): New macro. · 9c594837
      	* docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
      	(_GLIBCPP_USE_C99_DYNAMIC): New macro.
      	(_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
      	(_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
      	* config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
      	New macro.
      	(_GLIBCPP_USE_C99_DYNAMIC): New macro.
      	(_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
      	(_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
      	* include/c_std/std_cstdlib.h: Use new macros.
      	* include/c_std/std_cstdio.h: Use new macros.
      	* include/c_std/std_cwchar.h: Use new macros.
      
      From-SVN: r65778
      Loren J. Rittle committed
    • std_cmath.h (C99 FP capture): Only undefine said C99 FP macros, if actually captured. · c04ec67e
      	* include/c_std/std_cmath.h (C99 FP capture): Only undefine said
      	C99 FP macros, if actually captured.
      
      From-SVN: r65777
      Loren J. Rittle committed
    • re PR rtl-optimization/7675 (ICE in fixup_var_refs_1) · 6a29edea
      	PR optimization/7675
      	* c-typeck.c (build_external_ref): Set the DECL_NONLOCAL flag
      	on VAR_DECL, PARM_DECL and FUNCTION_DECL from within
      	nested functions if they refer to declarations from parent functions.
      	* stmt.c (expand_decl): Don't put automatic variables in registers
      	if the DECL_NONLOCAL flag is set.
      
      From-SVN: r65774
      Eric Botcazou committed
    • re PR libstdc++/9555 (ostream inserters fail to set badbit on exception) · 06e7ca50
      
      2003-04-17  Benjamin Kosnik  <bkoz@redhat.com>
      
      	PR libstdc++/9555
      	* include/bits/ostream.tcc: Catch all exceptions for formatted
      	output, instead of std::exception and derivatives.
      	* include/bits/istream.tcc: Same.
      	* testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
      	* testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
      	* testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
      	* testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
      	* testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
      	* testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
      	New.
      
      From-SVN: r65770
      Benjamin Kosnik committed
    • c++config: Minor cosmetic tweaks. · 3cfbe178
      2003-04-17  Phil Edwards  <pme@gcc.gnu.org>
      
      	* include/bits/c++config:  Minor cosmetic tweaks.
      
      From-SVN: r65768
      Phil Edwards committed
    • testsuite_flags.in (PCHFLAGS): Find PCH in new home. · 8520f704
      	* testsuite_flags.in (PCHFLAGS): Find PCH in new home.
      	* include/Makefile.am (pch_input): Find in ${target_builddir}.
      	(pch_output): Rename to...
      	(pch_output_builddir): ..this.  Find in ${target_builddir}.
      	(pch_source): Tweak.
      	(pch_build): Key off a built file.
      	(pch_output rule): Rename to...
      	(pch_input rule): ...this.  Produce ${pch_output_builddir}
      	instead of ${pch_output}.
      	(install-pch rule): Install ${pch_output_builddir}.
      	* include/Makefile.in: Regenerated.
      
      From-SVN: r65767
      Loren J. Rittle committed
    • gcse.c (compute_ld_motion_mems): For MEM destinations... · 4d3eb89a
      	* gcse.c (compute_ld_motion_mems): For MEM destinations, only
      	consider those to be movable where the source matches
      	want_to_gcse_p.
      	(update_ld_motion_stores): In comment, refer to
      	compute_ld_motion_mems for validity of replacement.
      
      From-SVN: r65766
      Hans-Peter Nilsson committed
    • Daily bump. · dc93be8d
      From-SVN: r65765
      GCC Administrator committed
  2. 17 Apr, 2003 30 commits