Skip to content
Snippets Groups Projects
  1. Mar 22, 2010
  2. Mar 21, 2010
    • Richard Earnshaw's avatar
      re PR target/42321 (NEON/VFP registers from inline assembly clobber list are... · f8b68ed3
      Richard Earnshaw authored
      re PR target/42321 (NEON/VFP registers from inline assembly clobber list are saved/restored incorrectly)
      
      	PR target/42321
      	* arm.c (arm_output_epilogue): Correctly match VFP pop instructions
      	with their corresponding prologue pushes.
      
      From-SVN: r157609
      f8b68ed3
    • Dave Korn's avatar
      re PR target/42811 (java.lang.ExceptionInInitializerError in ecj1) · 474b97ce
      Dave Korn authored
      	PR target/42811
      	* libjava/configure.ac (DLLTOOL): Call AC_CHECK_TOOL.
      	(libgcj_sublib_core_extra_deps): New host-dependent configure var.
      	(LIBGCJ_SUBLIB_CORE_EXTRA_DEPS): AC_SUBST it.
      	* libjava/configure.host (libgcj_sublib_core_extra_deps): Define
      	appropriately on Cygwin and MinGW.
      	(libgcj_sublib_core_extra_deps): Add libgcj-noncore-dummy import
      	stub library on Cygwin and MinGW.
      	* libjava/Makefile.am (LIBJAVA_CORE_EXTRA): Import AC_SUBST'd
      	LIBGCJ_SUBLIB_CORE_EXTRA_DEPS if building sublibs, else define empty.
      	(libgcj_la_DEPENDENCIES): Use it.
      	(DLL_VERSION): New makefile macro.
      	(libgcj-noncore-dummy.dll.a): New build rule for dummy import stub
      	library.
      	(libgcj_noncore_la_LIBADD): Trim superfluous convenience libs.
      	(AM_MAKEFLAGS): Add DLLTOOL recursive propagation.
      	* libjava/libgcj-noncore-dummy.def: New file.
      	* libjava/Makefile.in: Regenerate.
      	* libjava/include/Makefile.in: Likewise.
      	* libjava/testsuite/Makefile.in: Likewise.
      	* libjava/configure: Likewise.
      	* libjava/gcj/Makefile.in: Likewise.
      
      From-SVN: r157606
      474b97ce
    • Dave Korn's avatar
      PR target/42811 (prerequisite) · 713812e2
      Dave Korn authored
      	PR target/42811 (prerequisite)
      	* jvmti.cc (_Jv_GetJVMTIEnv): Avoid use of uninitialised memory.
      
      From-SVN: r157605
      713812e2
    • Dave Korn's avatar
      PR target/42811 (prerequisite) · 045a52c8
      Dave Korn authored
      	PR target/42811 (prerequisite)
      	* include/private/gc_priv.h (struct roots) [CYGWIN32]: Don't
      	declare r_next member on Cygwin as on other windows hosts.
      	(LOG_RT_SIZE) [CYGWIN32]: Don't define likewise.
      	(RT_SIZE) [CYGWIN32]: Likewise.
      	(struct _GC_arrays) [CYGWIN32]: Do declare _heap_bases[] member
      	likewise.
      	(GC_heap_bases) [CYGWIN32]: Do define likewise.
      	(struct _SYSTEM_INFO) [CYGWIN32]: Do forward-declare likewise.
      	(GC_sysinfo) [CYGWIN32]: Do declare extern likewise.
      	(GC_n_heap_bases) [CYGWIN32]: Likewise.
      	(GC_is_tmp_root) [CYGWIN32]: Do prototype likewise.
      	* include/private/gcconfig.h (GC_win32_get_mem) [CYGWIN32]: Likewise.
      	(GET_MEM) [CYGWIN32]: Do define likewise.
      	* boehm-gc/ptr_chck.c (GC_is_visible) [CYGWIN32]: Do handle dynamic
      	registration likewise.
      	* boehm-gc/os_dep.c (GC_setpagesize) [CYGWIN32]: Do define likewise.
      	(GC_no_win32_dlls) [CYGWIN32]: Define as constant false, unlike
      	other windows hosts.
      	(GC_sysinfo) [CYGWIN32]: Define as on other windows hosts.
      	(GC_n_heap_bases) [CYGWIN32]: Likewise.
      	(GLOBAL_ALLOC_TEST) [CYGWIN32]: Likewise.
      	(GC_win32_get_mem) [CYGWIN32]: Likewise, but wrapping GC_unix_get_mem
      	rather than GlobalAlloc/VirtualAlloc.
      	(GC_win32_free_heap) [CYGWIN32]: Likewise, but wrapping free instead
      	of GlobalFree (even though the function body is optimised away).
      	* boehm-gc/mark_rts.c (add_roots_to_index) [CYGWIN32]: Define as on
      	other windows hosts.
      	(GC_add_roots_inner) [CYGWIN32]: Avoid overlapping or adjacent
      	intervals likewise.
      	(GC_clear_roots) [CYGWIN32]: Clear GC_root_index[] likewise.
      	(GC_rebuild_root_index) [CYGWIN32]: Define as on other windows hosts.
      	(GC_remove_tmp_roots) [CYGWIN32]: Call it likewise.
      	(GC_remove_roots) [CYGWIN32]: Don't define, as on other windows hosts.
      	(GC_is_tmp_root) [CYGWIN32]: Define, as on other windows hosts.
      	(GC_cond_register_dynamic_libraries) [CYGWIN32]: Handle temporary
      	roots and dynamic registration likewise.
      	* boehm-gc/dyn_load.c (GC_has_static_roots) [CYGWIN32]: Define as on
      	other windows hosts.
      	(GC_register_has_static_roots_callback) [CYGWIN32]: Likewise.
      	(GC_cond_add_roots) [CYGWIN32]: Likewise.
      	(GC_register_main_static_data) [CYGWIN32]: Define to always return
      	false, as on MSWINCE
      	(HAVE_REGISTER_MAIN_STATIC_DATA) [CYGWIN32]: Define as on other
      	windows hosts.
      	(GC_warn_fb) [CYGWIN32]: Likewise.
      	(GC_disallow_ignore_fb) [CYGWIN32]: Likewise.
      	(GC_ignore_fb_mb) [CYGWIN32]: Likewise.
      	(GC_ignore_fb) [CYGWIN32]: Likewise.
      	(is_frame_buffer) [CYGWIN32]: Likewise.
      	(GC_dump_meminfo) [CYGWIN32]: Likewise.
      	(GC_wnt) [CYGWIN32]: Define to constant true.
      	(GC_register_dynamic_libraries) [CYGWIN32]: Define as on other
      	windows hosts.
      
      From-SVN: r157604
      045a52c8
    • Kaveh R. Ghazi's avatar
      ppc-sdata-1.c: Require nonpic. · 242ba308
      Kaveh R. Ghazi authored
      	* gcc.target/powerpc/ppc-sdata-1.c: Require nonpic.
      	* gcc.target/powerpc/ppc-sdata-2.c: Likewise.
      
      From-SVN: r157603
      242ba308
    • GCC Administrator's avatar
      Daily bump. · b4c3699e
      GCC Administrator authored
      From-SVN: r157600
      b4c3699e
  3. Mar 20, 2010
    • Simon Martin's avatar
      re PR c++/43081 (ICE with invalid in-class initializer) · 7801b86a
      Simon Martin authored
      
      gcc/cp/
      
      2010-03-20  Simon Martin  <simartin@users.sourceforge.net>
      
      	PR c++/43081:
      	* decl2.c (grokfield): Handle invalid initializers for member
      	functions.
      
      gcc/testsuite/
      
      2010-03-20  Simon Martin  <simartin@users.sourceforge.net>
      	    Michael Matz  <matz@suse.de>
      
      	PR c++/43081
      	* g++.dg/parse/crash56.C: New test.
      
      Co-Authored-By: default avatarMichael Matz <matz@suse.de>
      
      From-SVN: r157597
      7801b86a
    • Andrew Pinski's avatar
      re PR target/43156 (SPU-elf ICEs on simple programs) · 941ce52b
      Andrew Pinski authored
      2010-03-20  Andrew Pinski  <pinskia@gmail.com>
      
              PR target/43156
              * config/spu/spu.c (spu_expand_prologue): Don't emit NOTE_INSN_DELETED
              at the begining or end.
              (spu_expand_epilogue): Likewise.
      
      From-SVN: r157596
      941ce52b
    • Paul Thomas's avatar
      re PR fortran/43450 (-fwhole-file: ICE in gfc_create_module_variable, at fortran/trans-decl.c:3386) · b8849663
      Paul Thomas authored
      2010-03-20  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/43450
      	* trans-decl.c (gfc_create_module_variable): With -fwhole-file
      	do not assert the context of derived types.
      
      2010-03-20  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/43450
      	* gfortran.dg/whole_file_15.f90 : New test.
      
      From-SVN: r157595
      b8849663
    • Jerry DeLisle's avatar
      re PR fortran/43409 (I/O: INQUIRE for SIZE does not work.) · 21b04412
      Jerry DeLisle authored
      2010-03-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/43409
      	* gfortran.dg/inquire_size.f90: New test.
      
      From-SVN: r157594
      21b04412
    • Jerry DeLisle's avatar
      re PR fortran/43409 (I/O: INQUIRE for SIZE does not work.) · 41c3cddc
      Jerry DeLisle authored
      2010-03-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/43409
      	* ioparm.def: Change inquire size variable to type pointer to
      	GFC_IO_INT type.
      
      2010-03-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/43409
      	* io/unix.h: Add prototype for new function to return file size.
      	* io/unix.c (file_size): New function.
      	* io/inquire.c (inquire_via_unit): Use new function.
      	(inquire_via_filename): Use new function.
      
      From-SVN: r157593
      41c3cddc
    • Richard Guenther's avatar
      re PR rtl-optimization/43438 (possible wrong code bug) · d491d2af
      Richard Guenther authored
      2010-03-20  Richard Guenther  <rguenther@suse.de>
      
      	PR rtl-optimization/43438
      	* combine.c (make_extraction): Properly zero-/sign-extend an
      	extraction of the low part of a CONST_INT.  Also handle
      	CONST_DOUBLE.
      
      	* gcc.c-torture/execute/pr43438.c: New testcase.
      
      From-SVN: r157592
      d491d2af
    • Dodji Seketeli's avatar
      re PR c++/43375 (ICE during compiling SSE code) · 39bac010
      Dodji Seketeli authored
      Fix for PR c++/43375
      
      gcc/cp/ChangeLog:
      	PR c++/43375
      	* method.c (make_alias_for): Avoid crashing when DECL_LANG_SPECIFIC
      	is NULL.
      	* decl2.c (vague_linkage_p): Likewise.
      
      gcc/testsuite/g++.dg/ChangeLog:
      	PR c++/43375
      	* g++.dg/abi/mangle42.C: New test.
      
      From-SVN: r157590
      39bac010
    • Mike Stump's avatar
      darwin.h (SUBTARGET32_DEFAULT_CPU): Add. · 4dd9ee92
      Mike Stump authored
      	* config/i386/darwin.h (SUBTARGET32_DEFAULT_CPU): Add.
      	* config/i386/i386.c (SUBTARGET32_DEFAULT_CPU): Add.
      	(override_options): Use SUBTARGET32_DEFAULT_CPU.
      
      From-SVN: r157589
      4dd9ee92
    • GCC Administrator's avatar
      Daily bump. · 66845dac
      GCC Administrator authored
      From-SVN: r157588
      66845dac
  4. Mar 19, 2010
    • Andrew Pinski's avatar
      re PR c/43211 (ICE with incomplete type in function argument) · e49a760f
      Andrew Pinski authored
      2010-03-19  Andrew Pinski  <andrew_pinski@caviumnetworks.com>
      
              PR C/43211
              * c-decl.c (grokparms): Set arg_types to NULL_TREE if there was an error.
      
      2010-03-19  Andrew Pinski  <andrew_pinski@caviumnetworks.com>
      
              PR C/43211
              * gcc.dg/pr43211.c: New test.
              * gcc.dg/pr18809-1.c: Don't expect an error when calling foo.
      
      From-SVN: r157585
      e49a760f
    • Bernd Schmidt's avatar
      optabs.c (avoid_expensive_constant): Fix formatting. · fdb2c684
      Bernd Schmidt authored
      	* optabs.c (avoid_expensive_constant): Fix formatting.
      
      From-SVN: r157584
      fdb2c684
    • Bernd Schmidt's avatar
      thumb-andsi.c: Correct dg-options and add dg-require-effective-target. · 036efbf2
      Bernd Schmidt authored
      	* gcc.target/arm/thumb-andsi.c: Correct dg-options and add
      	dg-require-effective-target.
      
      From-SVN: r157583
      036efbf2
    • Bernd Schmidt's avatar
      re PR target/40697 (inefficient code to extract least bits from an integer value) · c99102b8
      Bernd Schmidt authored
      gcc/
      	PR target/40697
      	* optabs.c (avoid_expensive_constant): Use rtx_cost to find out
      	the cost of loading the constant rather than assuming
      	COSTS_N_INSNS (1).
      	* config/arm/arm.c (thumb1_rtx_costs) <case CONST_INT>: If the
      	outer code is AND, do the same tests as the andsi3 expander and
      	return COSTS_N_INSNS (1) if and is cheap.
      
      testsuite/
      	PR target/40697
      	* gcc.target/arm/thumb-andsi.c: New test.
      
      From-SVN: r157582
      c99102b8
    • Bernd Schmidt's avatar
      re PR rtl-optimization/42258 (redundant register move around mul instruction) · 002b2dee
      Bernd Schmidt authored
      gcc/
      	PR rtl-optimization/42258
      	* ira-lives.c (check_and_make_def_conflict): Ignore conflict for a
      	use that may match DEF.
      
      testsuite/
      	PR rtl-optimization/42258
      	* gcc.target/arm/thumb1-mul-moves.c: New test.
      
      From-SVN: r157581
      002b2dee
    • Michael Matz's avatar
      re PR c++/43116 (ICE when using attributes in a function alias declaration) · f9ceed32
      Michael Matz authored
      	PR c++/43116
      	* attribs.c (decl_attributes): When rebuilding a function pointer
      	type use the same qualifiers as the original pointer type.
      
      testsuite/
      	* g++.dg/other/pr43116.C: New testcase.
      
      From-SVN: r157578
      f9ceed32
    • Martin Jambor's avatar
      gimple.texi (Logical Operators): Describe is_gimple_ip_invariant and... · 3795eae6
      Martin Jambor authored
      gimple.texi (Logical Operators): Describe is_gimple_ip_invariant and is_gimple_ip_invariant_address.
      
      2010-03-19  Martin Jambor  <mjambor@suse.cz>
      
      	* doc/gimple.texi (Logical Operators): Describe is_gimple_ip_invariant
      	and is_gimple_ip_invariant_address.
      
      From-SVN: r157576
      3795eae6
    • Ramana Radhakrishnan's avatar
      Revert work around for PR40521 · ae0bef88
      Ramana Radhakrishnan authored
      2010-03-19  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
              Revert
              2009-10-01  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
              * config/arm/arm.c (arm_override_options): Turn off
              flag_dwarf2_cfi_asm for AAPCS variants.
      
      From-SVN: r157575
      ae0bef88
    • Ramana Radhakrishnan's avatar
      re PR target/43399 (bootstrap failure in stage1) · 9abf5d7b
      Ramana Radhakrishnan authored
      Fix PR target/43399
      
      2010-03-19  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
             PR target/43399
             * config/arm/arm.c (emit_multi_reg_push): Update comments.
             Use PRE_MODIFY instead of PRE_DEC.
             (emit_sfm): Use PRE_MODIFY instead of PRE_DEC.
             (vfp_emit_fstmd): Likewise.
      
      From-SVN: r157574
      9abf5d7b
    • Bruce Korb's avatar
      remove vestiges of inadvertently committed changes · 73489878
      Bruce Korb authored
      From-SVN: r157573
      73489878
    • Paolo Carlini's avatar
      freestanding.cc: Avoid -Wall warnings. · 0c563715
      Paolo Carlini authored
      2010-03-19  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/17_intro/freestanding.cc: Avoid -Wall warnings.
      
      From-SVN: r157572
      0c563715
    • Rodolfo Lima's avatar
      shared_ptr.h (shared_ptr(unique_ptr&&), [...]): Remove explicit specifier (as per DR 925). · 28de604e
      Rodolfo Lima authored
      2010-03-19  Rodolfo Lima  <rodolfo@rodsoft.org>
      
      	* include/bits/shared_ptr.h (shared_ptr(unique_ptr&&),
      	shared_ptr(auto_ptr&&)): Remove explicit specifier (as per DR 925).
      	* include/bits/shared_ptr_base.h: Likewise.
      	* testsuite/20_util/shared_ptr/creation/dr925.cc: New.
      
      From-SVN: r157570
      28de604e
    • Michael Matz's avatar
      re PR target/43305 (ICE: in emit_unop_insn, at optabs.c:3838 with -Os -ffast-math and ilogbl()) · 8a0b1aa4
      Michael Matz authored
      	PR 43305
      	* builtins.c (expand_builtin_interclass_mathfn,
      	expand_builtin_signbit): Use maybe_emit_unop_insn, emit libcalls
      	if that fails.
      
      testsuite/
      	* gcc.dg/pr43305.c: New testcase.
      
      From-SVN: r157567
      8a0b1aa4
    • Paolo Carlini's avatar
      random.tcc: Minor formatting changes. · afcd05a7
      Paolo Carlini authored
      2010-03-19  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/random.tcc: Minor formatting changes.
      
      2010-03-19  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/stl_algo.h (shuffle): Fix typo in signature.
      	* include/bits/algorithmfwd.h: Adjust.
      	* testsuite/25_algorithms/shuffle/requirements/
      	explicit_instantiation/2.cc: Likewise.
      	* testsuite/25_algorithms/shuffle/requirements/
      	explicit_instantiation/pod.cc: Likewise.
      
      From-SVN: r157565
      afcd05a7
    • Paolo Carlini's avatar
      stl_algo.h (shuffle): Add, per D3056. · 247d8075
      Paolo Carlini authored
      2010-03-19  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/stl_algo.h (shuffle): Add, per D3056.
      	(random_shuffle): Fix signature in C++0x mode.
      	(lower_bound, __lg): Move...
      	* include/bits/stl_algobase.h: ... here.
      	* include/bits/algorithmfwd.h: Adjust.
      	* include/parallel/algorithmfwd.h: Likewise.
      	* include/parallel/algo.h: Likewise.
      	* include/bits/hashtable_policy.h (__lower_bound): Remove,
      	adjust callers.
      	* include/tr1/hashtable_policy.h (__lower_bound): Likewise.
      	* include/bits/random.tcc (__detail::__transform): Add,
      	adjust std::transform callers; don't include <algorithm>.
      	* testsuite/25_algorithms/shuffle/1.cc: Add.
      	* testsuite/25_algorithms/shuffle/requirements/
      	explicit_instantiation/2.cc: Likewise.
      	* testsuite/25_algorithms/shuffle/requirements/
      	explicit_instantiation/pod.cc: Likewise.
      
      	* include/bits/random.h: Add comments.
      
      From-SVN: r157564
      247d8075
    • Jack Howarth's avatar
      re PR ada/42554 (Can't build GNAT tools) · 0aeb3cc6
      Jack Howarth authored
      	PR ada/42554
      	* configure.ac: Only pass -c to ranlib for darwin9 and earlier.
      	* configure: Regenerate.
      
      From-SVN: r157563
      0aeb3cc6
Loading