Commit Graph

115956 Commits

Author SHA1 Message Date
Benjamin Kosnik 0b28472897 re PR libstdc++/52689 (static linking with libstdc++ fails)
2012-03-28  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/52689
	* libsupc++/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
	* libsupc++/Makefile.in: Regenerated.
	* src/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
	(libstdc___la_SOURCES): Add in compatiblity files, with content
	that varies with -DPIC.
	* src/Makefile.in: Regenerated.
	* src/c++11/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
	* src/c++11/Makefile.in: Regenerated.
	* src/c++11/compatibility-atomic-c++0x.cc: Guard with PIC.
	* src/c++11/compatibility-c++0x.cc: Same.
	* src/c++11/future.cc: Consolidate compatibility bits into..
	* src/c++11/mutex.cc: Consolidate compatibility bits into..
	* src/c++11/compatibility-thread-cxx0x.cc: ...here. New.
	* src/c++98/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
	* src/c++98/Makefile.in: Regenerated.
	* src/c++98/compatibility-ldbl.cc: Guard with PIC
	* src/c++98/compatibility-list-2.cc: Same.
	* src/c++98/compatibility-list.cc: Same.
	* src/c++98/compatibility.cc: Tweak comments.

From-SVN: r185950
2012-03-29 06:14:32 +00:00
Ian Lance Taylor a0c8ad3bdf compiler, libgo: unsafe.{Sizeof,Alignof,Offsetof} return uintptr.
From-SVN: r185946
2012-03-29 03:53:13 +00:00
Jason Merrill 917c1602aa re PR c++/52746 (Explicit virtual destructor call replaced by direct call in template function)
PR c++/52746
	* typeck.c (lookup_destructor): Clear BASELINK_QUALIFIED_P if
	we didn't get an explicit scope.
	* pt.c (tsubst_baselink): Likewise.

From-SVN: r185945
2012-03-28 22:58:29 -04:00
GCC Administrator 8187e104e7 Daily bump.
From-SVN: r185943
2012-03-29 00:19:04 +00:00
Ian Lance Taylor 199ebde370 mksysinfo: Fix use of _in6_addr in _zone_net_addr_t.
From Rainer Orth.

From-SVN: r185938
2012-03-28 23:19:06 +00:00
H.J. Lu 1ab8b791c8 Add ABI_64 and replace ISA_X32 with ABI_X32
2012-03-28  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/biarch64.h (TARGET_64BIT_DEFAULT): Add
	OPTION_MASK_ABI_64.

	* config/i386/gnu-user64.h (SPEC_64): Support TARGET_BI_ARCH == 2.
	(SPEC_X32): Likewise.
	(MULTILIB_DEFAULTS): Likewise.

	* config/i386/i386.c (isa_opts): Remove -m64.
	(ix86_target_string): Properly handle -m32/-m64/-mx32.
	(ix86_option_override_internal): Properly
	set OPTION_MASK_ISA_64BIT and OPTION_MASK_ISA_X32 as well as
	handle -m32, -m64 and -mx32.

	* config/i386/i386.h (TARGET_X32): Replace OPTION_ISA_X32
	with OPTION_ABI_X32.  Moved after TARGET_LP64.
	(TARGET_LP64): Changed to OPTION_ABI_64.

	* config/i386/i386.opt (m64): Replace ISA_64BIT with ABI_64.
	(mx32): Replace ISA_X32 with ABI_X32.

From-SVN: r185937
2012-03-28 15:42:28 -07:00
Ian Lance Taylor 2e540b5059 compiler: fix null-dereference on invalid len() arg.
This patch fixes an ICE caused by syntax errors in arguments
to unary built-in functions like len().

Updates issue 7.

From Rémy Oudompheng.

From-SVN: r185935
2012-03-28 22:31:02 +00:00
Ian Lance Taylor 1fbb888cfc compiler: avoid an ICE on bound interface methods used as values.
Updates issue 7.

From-SVN: r185933
2012-03-28 22:25:37 +00:00
Ian Lance Taylor 350733e388 compiler: fix method finalization of unnamed structs.
Used to trigger an ICE on
  var v struct{I}; type I interface{}

Updates issue 7.

From-SVN: r185931
2012-03-28 22:21:57 +00:00
Eric Botcazou 2defb110db * tree.c (tree_size) <VECTOR_CST>: New case.
From-SVN: r185930
2012-03-28 21:59:23 +00:00
Ian Lance Taylor 552ab9772f compiler: fix crashes.
The compiler would crash on:
        if true || x, y := 1, 2 {}
and
        var s string
        s = append(s, "hello")

Reported in issue 3186.

From-SVN: r185928
2012-03-28 21:33:15 +00:00
Uros Bizjak 2310e4504d i386.c (ix86_modes_tieable_p): Handle 32bit AVX modes.
* config/i386/i386.c (ix86_modes_tieable_p): Handle 32bit AVX modes.
	(ix86_expand_vector_move_misalign): Remove un-needed gen_lowpart calls.

From-SVN: r185927
2012-03-28 23:28:15 +02:00
Ian Lance Taylor 5caf63ca3f compiler: Rewrite handling of untyped numeric constants.
Fixes various bugs when, e.g., using float or complex
constants in integer contexts.

From-SVN: r185925
2012-03-28 21:27:28 +00:00
Paul Thomas b59e90711f re PR fortran/52652 (call to gfc_match_asynchronous for allocatable at parse.c line 164)
2012-03-28  Paul Thomas  <pault@gcc.gnu.org>
	Tobias Burnus  <burnus@gcc.gnu.org>

	PR fortran/52652
	* match.c (gfc_match_allocate, gfc_match_deallocate): Change
	"not.. or" to "neither.. nor".
	* parse.c (decode_specification_statement): Correct error in
	chpice of matching function for "allocatable". 

2012-03-28  Paul Thomas  <pault@gcc.gnu.org>
	Tobias Burnus  <burnus@gcc.gnu.org>

	PR fortran/52652
	* gfortran.dg/allocate_class_1.f90 : Change error test.
	* gfortran.dg/allocate_with_typespec_4.f90 : Change error test.
	* gfortran.dg/allocate_alloc_opt_1.f90 : Change error test.
	* gfortran.dg/deallocate_alloc_opt_1.f90 : Change error test.


Co-Authored-By: Tobias Burnus <burnus@gcc.gnu.org>

From-SVN: r185924
2012-03-28 20:45:16 +00:00
Richard Guenther 32e8bfc3f6 typeck2.c (process_init_constructor_array): Use the proper type for computing the array length.
2012-03-28  Richard Guenther  <rguenther@suse.de>

	* typeck2.c (process_init_constructor_array): Use the proper
	type for computing the array length.

From-SVN: r185919
2012-03-28 15:04:23 +00:00
Jakub Jelinek f25a65f5d1 re PR middle-end/52691 (va_start to builtin_next_arg optimization lost)
PR middle-end/52691
	* tree-ssa-ccp.c (optimize_stdarg_builtin): Optimize
	__builtin_va_start to __builtin_next_arg if the latter is
	builtin_decl_explicit_p rather than when it is not.

	* gcc.dg/pr52691.c: New test.

From-SVN: r185917
2012-03-28 16:47:45 +02:00
Jakub Jelinek 6df000ae2d Update Copyright year.
From-SVN: r185915
2012-03-28 16:45:21 +02:00
Jakub Jelinek 26a7fca2ed re PR middle-end/52750 (32xsigned char __builtin_shuffle)
PR middle-end/52750
	* tree-vect-generic.c (vector_element): Perform multiplication
	for pos in bitsizetype type instead of idx type.

	* gcc.c-torture/compile/pr52750.c: New test.

From-SVN: r185914
2012-03-28 16:40:57 +02:00
Richard Guenther 7d776ee252 loop-init.c (loop_optimizer_init): If loops are preserved perform incremental initialization of required loop features.
2012-03-28  Richard Guenther  <rguenther@suse.de>

	* loop-init.c (loop_optimizer_init): If loops are preserved
	perform incremental initialization of required loop features.
	(loop_optimizer_finalize): If loops are to be preserved only
	clean up optional loop features.
	(rtl_loop_done): Forcefully free loops here.
	* cgraph.c (cgraph_release_function_body): Forcefully free
	loops.
	* cfgexpand.c (expand_gimple_cond): Properly add new basic-blocks
	to existing loops.
	(construct_init_block): Likewise.
	(construct_exit_block): Likewise.
	(gimple_expand_cfg): Clear LOOP_CLOSED_SSA loop state.  Cleanup
	the CFG after expanding.
	* cfgloop.c (verify_loop_structure): Calculate or verify
	dominators.  If we needed to calculate them, free them afterwards.
	* tree-pass.h (PROP_loops): New define.
	* tree-ssa-loop.c (pass_tree_loop_init): Provide PROP_loops.
	* basic-block.h (CLEANUP_CFG_CHANGED): New.
	* cfgcleanup.c (merge_blocks_move): Protect loop latches.
	(cleanup_cfg): If we did something and have loops around, fix
	them up.
	* cse.c (rest_of_handle_cse_after_global_opts): Call cleanup_cfg
	with CLEANUP_CFG_CHANGED.
	* cfghooks.c (merge_blocks): If we merge a loop header into
	its predecessor, update the loop structure.
	(duplicate_block): If we copy a loop latch, adjust loop state
	to note we may have multiple latches.
	(delete_basic_block): Mark loops for fixup if we remove a loop.
	* cfganal.c (forwarder_block_p): Protect loop latches, headers
	and preheaders.
	* cfgrtl.c (rtl_can_merge_blocks): Protect loop latches.
	(cfg_layout_can_merge_blocks_p): Likewise.
	* cprop.c (bypass_block): If we create a loop with multiple
	entries, mark it for removal.
	* except.c (emit_to_new_bb_before): Add the new basic-block
	to existing loops.
	* tree-eh.c (lower_resx): Likewise.
	* omp-low.c (finalize_task_copyfn): Do not copy PROP_loops.
	(expand_omp_taskreg): Likewise.
	* tree-inline.c (initialize_cfun): Likewise.
	* tree-mudflap.c (add_bb_to_loop): Prototype.
	(mf_build_check_statement_for): Properly add new basic-blocks
	to existing loops.
	* tree-ssa-threadupdate.c (thread_block): Mark loops for fixup
	if we remove a loop.
	(thread_through_loop_header): Likewise.
	* trans-mem.c (tm_log_emit_save_or_restores): Properly add
	new basic-blocks to existing loops.
	(expand_transaction): Likewise.
	* Makefile.in (except.o): Add $(CFGLOOP_H).
	(expr.o): Likewise.
	(cgraph.o): Likewise.
	(cprop.o): Likewise.
	(cfgexpand.o): Likewise.
	(cfganal.o): Likewise.
	(trans-mem.o): Likewise.
	(tree-eh.o): Likewise.

From-SVN: r185913
2012-03-28 12:14:26 +00:00
Georg-Johann Lay 911ba85554 re PR target/52692 ([avr]: Add support for avr-specific built-ins + LTO)
gcc/
	PR target/52692
	* config/avr/avr.c (TARGET_BUILTIN_DECL): New define.
	(avr_builtin_decl): New static function.
	(struct avr_builtin_description, avr_bdesc): Move up.
	Add GTY marker. Add field fndecl. Remove redundant field id.
	(avr_init_builtins): Initialize avr_bdesc[ID].fndecl.
	(avr_expand_builtin): Code cleanup because .id is removed.
	
testsuite/
	PR target/52692
	* gcc.target/avr/torture/builtins-2.c: New test.

From-SVN: r185910
2012-03-28 09:13:41 +00:00
Georg-Johann Lay 7fd6378ef4 re PR target/52737 ([avr]: -mtiny-stack shall not influence multilib selection)
PR target/52737
	* contrib/gcc_update (files_and_dependencies):
	Remove gcc/config/avr/t-multilib from touch data.

gcc/
	PR target/52737
	* config.gcc (tm_file): Remove avr/multilib.h.

	* doc/invoke.texi (AVR Options): Adjust
	documentation of -mtiny-stack.

	* config/avr/genmultilib.awk: Remove code to generate multilib.h.
	(BEGIN): Use -msp8 as multilib option instead of -mtiny-stack.
	* config/avr/t-avr: Remove generation of multilib.h.
	* config/avr/t-multilib: Regenerate.
	* config/avr/multilib.h: Remove.
	* config/avr/avr.opt (-msp8): New option.
	(avr_sp8): New variable.
	* config/avr/driver-avr.c (avr_device_to_sp8): New function.
	* config/avr/avr.h (AVR_HAVE_SPH): New define.
	(AVR_HAVE_8BIT_SP): Also set by avr_sp8 i.e. -msp8.
	(avr_device_to_sp8): New prototype.
	(EXTRA_SPEC_FUNCTIONS): Add { "device_to_sp8", avr_device_to_sp8 }
	(DRIVER_SELF_SPECS): New define.
	* config/avr/avr-c.c (avr_cpu_cpp_builtins): New built-in defines:
	__AVR_SP8__, __AVR_HAVE_SPH__.
	* config/avr/avr.c (output_movhi): Use AVR_HAVE_SPH instead of
	AVR_HAVE_8BIT_SP to decide if SP_H is present.
	(avr_file_start): Ditto.
	
libgcc/
	PR target/52737
	* config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
	instead of __AVR_HAVE_8BIT_SP__.

From-SVN: r185907
2012-03-28 08:31:26 +00:00
Jakub Jelinek be47bf24cb re PR target/52736 (miscompilation: store to aliased __m128d is 8 Bytes off)
PR target/52736
	* config/i386/sse.md (sse2_loadlpd splitter): Use offset 0
	instead of 8 in adjust_address.

	* gcc.target/i386/pr52736.c: New test.

From-SVN: r185904
2012-03-28 10:01:00 +02:00
Terry Guo 0805e111c7 Makefile.am (TEST_GCC_EXEC_PREFIX): New.
libstdc++-v3:
	* testsuite/Makefile.am (TEST_GCC_EXEC_PREFIX): New.
	* testsuite/Makefile.in: Regenerated.

From-SVN: r185903
2012-03-28 01:34:07 +00:00
GCC Administrator ab46f9af65 Daily bump.
From-SVN: r185902
2012-03-28 00:19:02 +00:00
Aurelien Buhrig 00d6b19abd re PR middle-end/51893 (Wrong subword index computation in store_bit_field_1 on BIG_ENDIAN targets)
PR middle-end/51893
	* expmed.c (store_bit_field_1): Fix wordnum value for big-endian
	targets.

From-SVN: r185897
2012-03-27 20:50:16 +00:00
Jonathan Wakely 28d5436f07 functional (mem_fn): Qualify to prevent ADL.
* include/std/functional (mem_fn): Qualify to prevent ADL.
	* testsuite/20_util/function_objects/mem_fn/adl.cc: New.

From-SVN: r185895
2012-03-27 21:25:12 +01:00
Oleg Endo 8c6d71c06b re PR target/50751 (SH Target: Displacement addressing does not work for QImode and HImode)
PR target/50751
	* config/sh/sh.c (sh_legitimize_address, sh_legitimize_reload_address):
	Rearrange conditional logic.  Move displacement address calculations
	to ...
	(sh_find_mov_disp_adjust): ... this new function.

From-SVN: r185894
2012-03-27 20:14:44 +00:00
H.J. Lu 719e1e80d4 Remove MaskExists property from config/*/*.opt files
2012-03-27  H.J. Lu  <hongjiu.lu@intel.com>

	* config/arm/arm.opt (mapcs): Remove MaskExists.
	* config/cris/linux.opt (mno-gotplt): Likewise.
	* config/i386/i386.opt (mhard-float): Likewise.
	(msse4): Likewise.
	(mno-sse4): Likewise.
	* config/m68k/m68k.opt (mhard-float): Likewise.
	* config/mep/mep.op (mcop32): Likewise.
	* config/pa/pa-hpux.opt (msio): Likewise.
	* config/pa/pa64-hpux.opt (mgnu-ld): Likewise.
	* config/picochip/picochip.opt (mlittle): Likewise.
	* config/sh/sh.opt (mrenesas): Likewise.
	* config/sparc/long-double-switch.opt (mlong-double-128): Likewise.
	* config/sparc/sparc.opt (mhard-float): Likewise.
	* config/v850/v850.opt (mv850es): Likewise.
	* config/vax/vax.opt (mg-float): Likewise.

From-SVN: r185893
2012-03-27 12:37:24 -07:00
Martin Jambor 429576acea re PR middle-end/52693 (Wrong code with SRA and arrays)
2012-03-27  Martin Jambor  <mjambor@suse.cz>

	PR middle-end/52693
	* tree-sra.c (sra_modify_assign): Do not call
	load_assign_lhs_subreplacements when working with an unscalarizable
	region.

	* testsuite/gcc.dg/torture/pr52693.c: New test.

From-SVN: r185891
2012-03-27 20:22:39 +02:00
Meador Inge 9a1cb58a99 re PR c++/52672 (internal compiler error: in cxx_eval_indirect_ref, at cp/semantics.c:6766)
PR c++/52672
	* gcc/cp/semantics.c (cxx_fold_indirect_ref): Don't attempt to fold
	stripped child trees that are not pointer types.

From-SVN: r185890
2012-03-27 14:08:13 -04:00
Mike Stump ab7ea426a3 re PR testsuite/52665 (scan-assembler output produces wrong FAIL due to matching .ident)
PR target/52665
	* gcc.target/i386/pr28946.c: Use -fno-ident to avoid spurious
	failures that match branch names.

From-SVN: r185889
2012-03-27 18:01:06 +00:00
H.J. Lu 9a0ee5ed8b Fix a typo in ChangeLog
From-SVN: r185887
2012-03-27 10:17:17 -07:00
Uros Bizjak ae1547cc03 re PR target/52698 (-maddress-mode=long doesn't work)
PR target/52698
	* config/i386/i386-protos.h (ix86_legitimize_reload_address):
	New prototype.
	* config/i386/i386.h (LEGITIMIZE_RELOAD_ADDRESS): New define.
	* config/i386/i386.c: Include reload.h.
	(ix86_legitimize_reload_address): New function.

testsuite/ChangeLog:

	PR target/52698
	* gcc.target/i386/pr52698.c: New test.

From-SVN: r185883
2012-03-27 17:36:34 +02:00
H.J. Lu 1ad36b7eaa Remove MaskNeeded
2012-03-27  H.J. Lu  <hongjiu.lu@intel.com>

	* opth-gen.awk: Allocated a bit for Mask and InverseMask if it
	hasn't been allocated.  Define a target macro for Mask and
	InverseMask if it hasn't been defined.  Remove MaskExists
	handling.

	* doc/options.texi: Remove MaskNeeded.

From-SVN: r185882
2012-03-27 08:28:41 -07:00
Joseph Myers 4f867aee5d * ja.po: Update.
From-SVN: r185878
2012-03-27 15:29:38 +01:00
Joseph Myers d5becefef5 be.po, [...]: Update.
* be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po, ja.po,
	nl.po, ru.po, sr.po, sv.po, tr.po, vi.po, zh_CN.po, zh_TW.po:
	Update.

From-SVN: r185876
2012-03-27 15:26:51 +01:00
Chung-Lin Tang 066922e6cd re PR target/52667 (sh_reorg segfault)
2012-03-27  Chung-Lin Tang  <cltang@codesourcery.com>

	PR target/52667
	* config/sh/sh.c (find_barrier): Add equality check of last_got
	to avoid going above orig insn. Update comments.

From-SVN: r185867
2012-03-27 13:05:01 +00:00
Richard Guenther 005aa1b4fb re PR middle-end/52720 (internal compiler error: in try_move_mult_to_index)
2012-03-27  Richard Guenther  <rguenther@suse.de>

	PR middle-end/52720
	* fold-const.c (try_move_mult_to_index): Handle &x.array more
	explicitely.

	* gcc.dg/torture/pr52720.c: New testcase.

From-SVN: r185865
2012-03-27 12:50:29 +00:00
Eric Botcazou a59b038cc8 expmed.c (store_bit_field): Assert that BITREGION_START is a multiple of a unit before computing the offset...
* expmed.c (store_bit_field): Assert that BITREGION_START is a multiple
	of a unit before computing the offset in units.
	* expr.c (get_bit_range): Return the null range if the enclosing record
	is part of a larger bit field.

From-SVN: r185857
2012-03-27 10:35:55 +00:00
Ramana Radhakrishnan d102ab714f thumb-ifcvt.c: Only run for -mthumb.
2012-03-27  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>

	* gcc.target/arm/thumb-ifcvt.c: Only run for -mthumb.
	* gcc.target/arm/thumb-16bit-ops.c: Likewise.

From-SVN: r185855
2012-03-27 10:26:37 +00:00
Tristan Gingold 9e916de770 unwind-ia64.h: Declare unw_word and unw_sword.
2012-03-26  Tristan Gingold  <gingold@adacore.com>

        * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
        (unw_table_entry): Use unw_word instead of unsigned long.
        (_Unwind_FindTableEntry): Likewise.
        * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
        * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
        (_Unwind_FindTableEntry): Likewise.
        * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
        (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
        (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
        (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
        (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
        (uw_frame_state_for, uw_update_reg_address, uw_update_context)
        (uw_init_context_1, uw_install_context): Likewise.
        (unw_word): Move to unwind-ia64.h

From-SVN: r185852
2012-03-27 09:50:10 +00:00
Tristan Gingold 2283164d2e vms.h (CASE_VECTOR_MODE): Define.
2012-03-27  Tristan Gingold  <gingold@adacore.com>

	* config/ia64/vms.h (CASE_VECTOR_MODE): Define.
	* config/ia64/ia64.md: Remove mode in template.
	Sign extend operand in expand_simple_binop.
	* config/ia64/ia64.h (ASM_OUTPUT_ADDR_DIFF_ELT): Use
	CASE_VECTOR_MODE instead of TARGET_ILP32.
	(ADDR_VEC_ALIGN): Make it depends on CASE_VECTOR_MODE.

From-SVN: r185851
2012-03-27 09:44:00 +00:00
Tristan Gingold f1cdfa016a configure.ac: Add description to AC_DEFINE in GCC_CHECK_MATH_FUNC.
2012-03-27  Tristan Gingold  <gingold@adacore.com>

	* configure.ac: Add description to AC_DEFINE in
	GCC_CHECK_MATH_FUNC.
	* configure: Regenerate
	* config.h.in: Regenerate.

From-SVN: r185850
2012-03-27 09:28:02 +00:00
Jonathan Wakely c4db9a775b type_traits (result_of): Fix handling of cv-quals.
* include/std/type_traits (result_of): Fix handling of cv-quals.
	* testsuite/20_util/result_of/1.cc: New.
	* testsuite/20_util/result_of/2.cc: New.
	* testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
	line numbers.
	* testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
	Likewise.
	* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
	Likewise.

From-SVN: r185845
2012-03-27 10:03:10 +01:00
GCC Administrator 4e578696de Daily bump.
From-SVN: r185829
2012-03-27 00:18:41 +00:00
Steven Bosscher da3237d15e varasm.c (assemble_external): #if 0 out the new assert from the previous commit...
* varasm.c (assemble_external): #if 0 out the new assert from the 
	previous commit, it breaks the Java and Go front ends.

From-SVN: r185825
2012-03-26 20:23:36 +00:00
Steven Bosscher bbee58432c toplev.c (check_global_declaration_1): Do not call assemble_external.
* toplev.c (check_global_declaration_1): Do not call assemble_external.
	* expr.c (emit_block_move_libcall_fn): Likewise.
	(clear_storage_libcall_fn): Likewise.
	(expand_expr_addr_expr_1): Likewise.
	(expand_expr_real_1): Likewise.
	* calls.c (rtx_for_function_call): Likewise.

From-SVN: r185813
2012-03-26 16:39:11 +00:00
Steven Bosscher ffe5d70808 varasm.c (assemble_external): Assert this function is only called during or after expanding to RTL.
* varasm.c (assemble_external): Assert this function is only called
	during or after expanding to RTL.

From-SVN: r185812
2012-03-26 16:35:59 +00:00
Gerald Pfeifer 0a7d093345 re PR libgcj/52694 (bootstrap failure: libjava/java/io/natVMConsole.cc:35:20: error: 'IUCL C' was not declared in this scope)
PR libgcj/52694
	* java/io/natVMConsole.cc (IUCLC): Define, if undefined.

From-SVN: r185811
2012-03-26 16:24:33 +00:00
Martin Jambor 3515a00b46 re PR tree-optimization/50052 (FAIL: gcc.dg/ipa/ipa-sra-2.c scan-tree-dump eipa_sra)
2012-03-26  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/50052
	* tree-sra.c (tree_non_aligned_mem_p): Removed.
	(tree_non_aligned_mem_for_access_p): Likewise.
	(build_accesses_from_assign): Removed strict alignment requirements
	checks.
	(access_precludes_ipa_sra_p): Likewise.

	* testsuite/gcc.dg/ipa/ipa-sra-2.c: Also run on strict-alignment
	platforms.

From-SVN: r185807
2012-03-26 17:46:14 +02:00