Commit Graph

131010 Commits

Author SHA1 Message Date
Paolo Carlini
7086e4b647 2014-07-11 Paolo Carlini <paolo.carlini@oracle.com>
* Minor ChangeLog adjustments.

From-SVN: r212470
2014-07-11 22:25:16 +00:00
Paolo Carlini
2410819b6d re PR c++/53159 (Missing narrowing check)
/cp
2014-07-11  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/53159
	* call.c (build_user_type_conversion_1): Copy LOOKUP_NO_NARROWING
	into convflags.
	* decl.c (check_initializer): Don't call check_narrowing here,
	set LOOKUP_NO_NARROWING.
	* typeck2.c (digest_init_r): Likewise.

/testsuite
2014-07-11  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/53159
	* g++.dg/cpp0x/Wnarrowing1.C: New.

From-SVN: r212469
2014-07-11 21:53:59 +00:00
Jason Merrill
54c61de798 * doc/invoke.texi: Document -fno-use-all-virtuals.
From-SVN: r212468
2014-07-11 17:10:49 -04:00
Jan Hubicka
0b83e68824 vapool.c: Include tree-ssa-alias.h, gimple.h and lto-streamer.h
* vapool.c: Include tree-ssa-alias.h, gimple.h and lto-streamer.h
	(varpool_get_constructor): New function.
	(varpool_ctor_useable_for_folding_p): Break out from ...
	(ctor_for_folding): ... here; use varpool_get_constructor.
	(varpool_assemble_decl): Likewise.
	* lto-streamer.h (struct output_block): Turn cgraph_node
	to symbol filed.
	(lto_input_variable_constructor): Declare.
	* ipa-visibility.c (function_and_variable_visibility): Use
	varpool_get_constructor.
	* cgraph.h (varpool_get_constructor): Declare.
	(varpool_ctor_useable_for_folding_p): New function.
	* lto-streamer-out.c (get_symbol_initial_value): Take encoder
	parameter; return error_mark_node for non-trivial constructors.
	(lto_write_tree_1, DFS_write_tree): UPdate use of
	get_symbol_initial_value.
	(output_function): Update initialization of symbol.
	(output_constructor): New function.
	(copy_function): Rename to ..
	(copy_function_or_variable): ... this one; handle vars too.
	(lto_output): Output variable sections.
	* lto-streamer-in.c (input_constructor): New function.
	(lto_read_body): Rename from ...
	(lto_read_body_or_constructor): ... this one; handle vars
	too.
	(lto_input_variable_constructor): New function.
	* ipa-prop.c (ipa_prop_write_jump_functions,
	ipa_prop_write_all_agg_replacement): Update.
	* lto-cgraph.c (compute_ltrans_boundary): Use it.
	(output_cgraph_opt_summary): Set symbol to NULL.

	* lto-partition.c (add_references_to_partition): Use 
	varpool_ctor_useable_for_folding_p.
	* lto.c (lto_read_in_decl_state): Update sanity check.

From-SVN: r212467
2014-07-11 17:43:44 +00:00
Jan Hubicka
01a92e7042 ipa-prop.c (ipa_binfo_from_known_type_jfunc): In LTO do not walk non-polymorphic types.
* ipa-prop.c (ipa_binfo_from_known_type_jfunc): In LTO do not walk
	non-polymorphic types.
	* ipa-cp.c (ipa_get_jf_ancestor_result): Likewise.
	* ipa-devirt.c (types_same_for_odr): Do not explode when one
	of types is not polymorphic.

From-SVN: r212466
2014-07-11 17:36:35 +00:00
Vladimir Makarov
12b308fa86 lra-constraints.c (remove_inheritance_pseudos): Process destination pseudo too.
2014-07-11  Vladimir Makarov  <vmakarov@redhat.com>

	* lra-constraints.c (remove_inheritance_pseudos): Process
	destination pseudo too.

From-SVN: r212464
2014-07-11 17:19:53 +00:00
Rong Xu
d5313205ef libgcov-util.c (gcov_max_filename): Fix declartion.
2014-07-11  Rong Xu  <xur@google.com>

	* libgcov-util.c (gcov_max_filename): Fix declartion.

From-SVN: r212463
2014-07-11 17:02:18 +00:00
Rong Xu
68f6800408 gcov-tool.c (gcov_output_files): Fix build error introduced in commit r212448.
2014-07-11  Rong Xu  <xur@google.com>

	* gcov-tool.c (gcov_output_files): Fix build error introduced in
	commit r212448.

From-SVN: r212462
2014-07-11 16:59:30 +00:00
Pitchumani Sivanupandi
cba4ea9e2d avr-arch.h (avr_mcu_t): Add text section start attribute.
* config/avr/avr-arch.h (avr_mcu_t): Add text section start attribute.
	* config/avr/avr-devices.c (AVR_MCU): Same.
	(avr_mcu_types): add text start value to end of device list.
	* config/avr/avr-mcus.def: Add text section start for all devices.
	(ata5782): Add new avr5 device.
	(ata5831): Same.
	* config/avr/avr-tables.opt: Regenerate.
	* config/avr/avr.h: Add declaration for text section start handler.
	(EXTRA_SPEC_FUNCTIONS): Add text section start handler to SPEC function=
s.
	(LINK_SPEC): Include text section start handler to linker spec.
	* config/avr/driver-avr.c (avr_device_to_text_start): New function to
	pass -Ttext option to linker if the text section start for the device i=
s
	not zero.
	* config/avr/t-multilib: Regenerate.
	* doc/avr-mmcu.texi: Regenerate.

From-SVN: r212461
2014-07-11 20:22:10 +04:00
David Edelsohn
8762d747ca aix51.h (LINK_SPEC): Remove -bnodelcsect.
* config/rs6000/aix51.h (LINK_SPEC): Remove -bnodelcsect.
        * config/rs6000/aix52.h (LINK_SPEC): Same.
        * config/rs6000/aix53.h (LINK_SPEC): Same.
        * config/rs6000/aix61.h (LINK_SPEC): Same.
        * config/rs6000/xcoff.h (MAKE_DECL_ONE_ONLY): Define.

From-SVN: r212460
2014-07-11 11:47:48 -04:00
Samuel Bronson
f4da031c41 gdb-test.exp (gdb-test): Turn off GDB's auto-load, list loaded libs.
2014-07-11  Samuel Bronson  <naesten@gmail.com>

	* testsuite/lib/gdb-test.exp (gdb-test): Turn off GDB's auto-load,
	list loaded libs.

From-SVN: r212459
2014-07-11 16:32:29 +01:00
Samuel Bronson
7cd41cda09 libstdc++.exp (libstdc++_init): Set $GCC_COLORS="" instead of insisting that GCC understand...
2014-07-11  Samuel Bronson  <naesten@gmail.com>

	* testsuite/lib/libstdc++.exp  (libstdc++_init): Set $GCC_COLORS=""
	instead of insisting that GCC understand -fdiagnostics-color=never

From-SVN: r212458
2014-07-11 16:32:14 +01:00
Andreas Schwab
c786fca61b re PR preprocessor/61389 (libcpp diagnostics shouldn't talk about ISO C99 for C++ input files)
PR preprocessor/61389
* gcc.dg/cpp/macsyntx.c: Update expected warnings.
* gcc.dg/cpp/sysmac1.c: Likewise.

From-SVN: r212457
2014-07-11 14:49:27 +00:00
Roman Gareev
a78cfa7fc1 graphite-isl-ast-to-gimple.c (gmp_cst_to_tree): New function.
gcc/
	* graphite-isl-ast-to-gimple.c (gmp_cst_to_tree):
	New function.
	(graphite_verify): New function.
	(ivs_params_clear): New function.
	(gcc_expression_from_isl_ast_expr_id): New function.
	(gcc_expression_from_isl_expr_int): New function.
	(binary_op_to_tree): New function.
	(ternary_op_to_tree): New function.
	(unary_op_to_tree): New function.
	(nary_op_to_tree): New function.
	(gcc_expression_from_isl_expr_op): New function.
	(gcc_expression_from_isl_expression): New function.
	(graphite_create_new_loop): New function.
	(translate_isl_ast_for_loop): New function.
	(get_upper_bound): New function.
	(graphite_create_new_loop_guard): New function.
	(translate_isl_ast_node_for): New function.
	(translate_isl_ast): New function.
	(add_parameters_to_ivs_params): New function.
	(scop_to_isl_ast): New parameter ip.
	(graphite_regenerate_ast_isl): Add generation of GIMPLE code.

From-SVN: r212455
2014-07-11 14:18:44 +00:00
Jan Hubicka
0218574ff5 predicates.md (call expander): Update for DECL_SECTION_NAME being string.
* config/xtensa/predicates.md (call expander): Update for
	DECL_SECTION_NAME being string.

From-SVN: r212454
2014-07-11 13:44:49 +00:00
Samuel Bronson
cdd1ba6210 re PR libstdc++/58962 (Pretty printers use obsolete Python syntax)
2014-07-11  Samuel Bronson  <naesten@gmail.com>
	    Matthias Klose  <doko@ubuntu.com>

	PR libstdc++/58962
	* python/libstdcxx/v6/printers.py: Port to Python 2+3
	(imap): New compat function.
	(izip): Likewise.
	(Iterator): New mixin to allow writing iterators in Python 3 style
	regardless of which version we're running on.
	[Python3] (long) New compat alias for "int".
	* testsuite/lib/gdb-test.exp: Port to Python 2+3 (print syntax)

Co-Authored-By: Matthias Klose <doko@ubuntu.com>

From-SVN: r212453
2014-07-11 14:43:07 +01:00
Richard Biener
21e8fb2258 re PR middle-end/61473 (register sized memmove not inlined)
2014-07-11  Richard Biener  <rguenther@suse.de>

	PR middle-end/61473
	* builtins.c (fold_builtin_memory_op): Inline memory moves
	that can be implemented with a single load followed by a
	single store.
	(c_strlen): Only warn when only_value is not 2.

	* gcc.dg/memmove-4.c: New testcase.
	* gcc.dg/strlenopt-8.c: XFAIL.
	* gfortran.dg/coarray_lib_realloc_1.f90: Adjust.

From-SVN: r212452
2014-07-11 13:42:55 +00:00
Evgeny Stupachenko
53f5803e4d gcc/
* gcc/config/i386/i386.c.orig

From-SVN: r212451
2014-07-11 11:27:42 +00:00
Marat Zakirov
d1c1cbd5c1 re PR target/61561 (arm gcc internal error)
gcc/
2014-07-11  Marat Zakirov  <m.zakirov@samsung.com>

	PR target/61561
	* config/arm/arm.md (*movhi_insn_arch4): Handle stack pointer.
	(*movhi_bytes): Likewise.
	(*arm_movqi_insn): Likewise. 

gcc/testsuite/
2014-07-11  Marat Zakirov  <m.zakirov@samsung.com>

	PR target/61561
	* gcc.dg/pr61561.c: New test.

From-SVN: r212450
2014-07-11 09:02:39 +00:00
Uros Bizjak
4bdf641875 re PR target/56858 (alpha looks for NOTE_INSN_EH_REGION notes that cannot exist)
PR target/56858
	* config/alpha/alpha.c: Include tree-pass.h, context.h
	and pass_manager.h.
	(pass_data_handle_trap_shadows): New pass.
	(pass_handle_trap_shadows::gate): New pass gate function.
	(make_pass_handle_trap_shadows): New function.
	(rest_of_handle_trap_shadows): Ditto.

	(alpha_align_insns_1): Rename from alpha_align_insns.
	(pass_data_align_insns): New pass.
	(pass_align_insns::gate): New pass gate function.
	(make_pass_aling_insns): New function.
	(rest_of_align_insns): Ditto.
	(alpha_align_insns): Ditto.

	(alpha_option_override): Declare handle_trap_shadows info
	and align_insns_info.  Register handle_trap_shadows and align_insns
	passes here.
	(alpha_reorg): Do not call alpha_trap_shadows and
	alpha_align_insn from here.

	(alpha_pad_function_end): Do not skip BARRIERs.

From-SVN: r212449
2014-07-11 09:42:50 +02:00
Rong Xu
c77556a5d1 Add gcov-tool: an offline gcda profile processing tool Support.
2014-07-10  Rong Xu  <xur@google.com>

	Add gcov-tool: an offline gcda profile processing tool
	Support.
	* gcc/gcov-io.c (gcov_position): Make avaialble to gcov-tool.
	(gcov_is_error): Ditto.
	(gcov_read_string): Ditto.
	(gcov_read_sync): Ditto.
	* gcc/gcov-io.h: Move counter defines to gcov-counter.def.
	* gcc/gcov-dump.c (tag_counters): Use gcov-counter.def.
	* gcc/coverage.c: Ditto.
	* gcc/gcov-tool.c: Offline gcda profile processing tool.
        (unlink_gcda_file): Remove one gcda file.
	(unlink_profile_dir): Remove gcda files from the profile path.
	(gcov_output_files): Output gcda files to an output dir.
	(profile_merge): Merge two profiles in directory.
	(print_merge_usage_message): Print merge usage.
	(merge_usage): Print merge usage and exit.
	(do_merge): Driver for profile merge sub-command.
	(profile_rewrite): Rewrite profile.
	(print_rewrite_usage_message): Print rewrite usage.
	(rewrite_usage): Print rewrite usage and exit.
	(do_rewrite): Driver for profile rewrite sub-command.
	(print_usage): Print gcov-info usage and exit.
	(print_version): Print gcov-info version.
	(process_args): Process arguments.
	(main): Main routine for gcov-tool.
	* gcc/Makefile.in: Build and install gcov-tool.
	* gcc/gcov-counter.def: New file split from gcov-io.h.
	* libgcc/libgcov-driver.c (gcov_max_filename): Make available
        to gcov-tool.
	* libgcc/libgcov-merge.c (__gcov_merge_add): Replace
        gcov_read_counter() with a Macro.
	(__gcov_merge_ior): Ditto.
	(__gcov_merge_time_profile): Ditto.
	(__gcov_merge_single): Ditto.
	(__gcov_merge_delta): Ditto.
	* libgcc/libgcov-util.c (void gcov_set_verbose): Set the verbose flag
        in the utility functions.
	(set_fn_ctrs): Utility function for reading gcda files to in-memory
        gcov_list object link lists.
	(tag_function): Ditto.
	(tag_blocks): Ditto.
	(tag_arcs): Ditto.
	(tag_lines): Ditto.
	(tag_counters): Ditto.
	(tag_summary): Ditto.
	(read_gcda_finalize): Ditto.
	(read_gcda_file): Ditto.
	(ftw_read_file): Ditto.
	(read_profile_dir_init): Ditto.
	(gcov_read_profile_dir): Ditto.
	(gcov_read_counter_mem): Ditto.
	(gcov_get_merge_weight): Ditto.
	(merge_wrapper): A wrapper function that calls merging handler.
	(gcov_merge): Merge two gcov_info objects with weights.
	(find_match_gcov_info): Find the matched gcov_info in the list.
	(gcov_profile_merge): Merge two gcov_info object lists.
	(__gcov_add_counter_op): Process edge profile counter values.
	(__gcov_ior_counter_op): Process IOR profile counter values.
	(__gcov_delta_counter_op): Process delta profile counter values.
	(__gcov_single_counter_op): Process single  profile counter values.
	(fp_scale): Callback function for float-point scaling.
	(int_scale): Callback function for integer fraction scaling. 
	(gcov_profile_scale): Scaling profile counters.
	(gcov_profile_normalize): Normalize profile counters.
	* libgcc/libgcov.h: Add headers and functions for gcov-tool use.
        (gcov_get_counter): New.
        (gcov_get_counter_target): Ditto.
        (struct gcov_info): Make the functions field mutable in gcov-tool
        compilation.
	* gcc/doc/gcc.texi: Include gcov-tool.texi.
	* gcc/doc/gcov-tool.texi: Document for gcov-tool.

From-SVN: r212448
2014-07-11 05:48:07 +00:00
Ian Lance Taylor
c14e64d4ca runtime: Rename iface.goc to go-iface.goc.
Rename in order to avoid confusion with the new
runtime/iface.goc file in the Go library master sources.

From-SVN: r212447
2014-07-11 00:39:03 +00:00
Ian Lance Taylor
2802d48b30 runtime: Drop reflectFlags tests.
The flags were used by the reflect package in the past, but
not for a couple of years now.

From-SVN: r212446
2014-07-11 00:26:25 +00:00
GCC Administrator
cb40eec03a Daily bump.
From-SVN: r212445
2014-07-11 00:18:26 +00:00
Edward Smith-Rowland
dfbb5272f4 There is a stray right paren.
Fixed as obvious.

From-SVN: r212442
2014-07-10 22:44:36 +00:00
Edward Smith-Rowland
3976796b6d re PR preprocessor/61389 (libcpp diagnostics shouldn't talk about ISO C99 for C++ input files)
2014-07-10  Edward Smith-Rowland  <3dw4rd@verizon.net>
	    Jonathan Wakely  <jwakely@redhat.com>

	PR CPP/61389
	* macro.c (_cpp_arguments_ok, parse_params, create_iso_definition):
	Warning messages mention C++11 in c++ mode and C99 in c mode.
	* lex.c (lex_identifier_intern, lex_identifier): Ditto


Co-Authored-By: Jonathan Wakely <jwakely@redhat.com>

From-SVN: r212441
2014-07-10 22:26:50 +00:00
Jason Merrill
a25b76d802 re PR c++/61661 (Bogus error: ‘const Outer::Foo{&Outer::Bar}’ is not a constant expression)
PR c++/61661
	* semantics.c (reduced_constant_expression_p): Handle CONSTRUCTOR.

From-SVN: r212439
2014-07-10 17:48:26 -04:00
Jason Merrill
c0221884ec re PR ipa/61659 (Extra undefined symbol because of devirtualization)
PR c++/61659
	PR c++/61687
gcc/c-family/
	* c.opt (-fuse-all-virtuals): New.
gcc/cp/
	* decl2.c (mark_all_virtuals): New variable.
	(maybe_emit_vtables): Check it instead of flag_devirtualize.
	(cp_write_global_declarations): Set it and give helpful diagnostic
	if it introduces errors.
	* class.c (finish_struct_1): Check it.
	* decl.c (grokdeclarator): Clear virtualp after 'virtual auto' error.

From-SVN: r212436
2014-07-10 15:29:59 -04:00
Jonathan Wakely
7757d79bfc any (any::_Manager_alloc::_Data): Reorder tuple members to simplify pretty printing.
* include/experimental/any (any::_Manager_alloc::_Data): Reorder
	tuple members to simplify pretty printing.
	(any::_Manager_alloc::_Data::_M_construct): Fix uses-allocator
	construction.
	* testsuite/experimental/any/cons/4.cc: New.

From-SVN: r212435
2014-07-10 19:08:35 +01:00
Richard Biener
218e53ea1f re PR tree-optimization/61757 (genmodes failure with enable-checking)
2014-07-10  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/61757
	* tree-ssa-dom.c (loop_depth_of_name): Restore.
	(propagate_rhs_into_lhs): Revert part of last change.

From-SVN: r212433
2014-07-10 14:43:07 +00:00
Tom de Vries
3ed71ced71 Add addressing=absolute and isa_rev=0 to mips fuse-caller-save tests
2014-07-10  Tom de Vries  <tom@codesourcery.com>

	* gcc.target/mips/fuse-caller-save.c: Add addressing=absolute to
	dg-options.
	* gcc.target/mips/fuse-caller-save-micromips.c: Same.
	* gcc.target/mips/fuse-caller-save-mips16.c: Same.  Add isa_rev=0 to
	dg-options.

From-SVN: r212432
2014-07-10 14:02:26 +00:00
Richard Biener
bed191cdd1 re PR c/61741 (wrong code with -fno-strict-overflow)
2014-07-10  Richard Biener  <rguenther@suse.de>

	PR c-family/61741
	* c-c++-common/torture/pr61741.c: Use signed char.

From-SVN: r212430
2014-07-10 12:20:32 +00:00
Thomas Schwinge
f9abc06c5e Fix --enable-checking=fold failure.
gcc/
	* fold-const.c (fold_checksum_tree): Look at DECL_VINDEX only for
	FUNCTION_DECLs.

From-SVN: r212428
2014-07-10 14:05:27 +02:00
Eric Botcazou
d764963b54 re PR middle-end/53590 (compiler fails to generate SIMD instruction for FP division)
PR middle-end/53590
	* function.c (allocate_struct_function): Revert r188667 change.

	* gimple-low.c (lower_builtin_setjmp): Use properly-typed constant.

From-SVN: r212424
2014-07-10 10:38:30 +00:00
Francois-Xavier Coudert
56710419ba fpu-*.h (get_fpu_rounding_mode, [...]): Clean up, mark unreachable code as such.
* config/fpu-*.h (get_fpu_rounding_mode, set_fpu_rounding_mode,
	support_fpu_rounding_mode): Clean up, mark unreachable code as such.

From-SVN: r212423
2014-07-10 08:45:38 +00:00
Tom G. Christensen
64d57736e1 install.texi: Remove links to defunct package providers for Solaris.
* doc/install.texi: Remove links to defunct package providers for
	Solaris.

From-SVN: r212422
2014-07-10 08:28:36 +00:00
Yuri Rumyantsev
0fe2dc0e59 re PR tree-optimization/61742 (wrong code at -O3 on x86_64-linux-gnu)
PR tree-optimization/61742

gcc/testsuite/
        * gcc.dg/torture/pr61742.c: New test.
        * gcc.gg/vect/cond-reduc-1.c: Rename it to vect-cond-reduc-1.c
        * gcc.gg/vect/cond-reduc-2.c: Rename it to vect-cond-reduc-2.c

From-SVN: r212421
2014-07-10 07:38:39 +00:00
GCC Administrator
5eb3353874 Daily bump.
From-SVN: r212420
2014-07-10 00:17:11 +00:00
Tom de Vries
e57180433a Add missing ChangeLog entries
From-SVN: r212416
2014-07-09 23:51:22 +00:00
Paolo Carlini
2ec9995341 re PR c++/60686 (message " only declarations of constructors can be ‘explicit’ " now conflicting with C++11)
/cp
2014-07-09  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/60686
	* decl.c (grokdeclarator): Adjust error messages about 'explicit'
	outside class declaration, in friend declaration, and neither on
	constructor nor conversion operator.

/testsuite
2014-07-09  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/60686
	* g++.dg/cpp0x/explicit8.C: New.

From-SVN: r212415
2014-07-09 22:44:42 +00:00
Jason Merrill
a6ea72bf82 re PR libstdc++/61728 (lost symbol FUNC:_ZNK10__cxxabiv117__pbase_type_info15__pointer_catchEPKS0_PPvj@@CXXABI_1.3)
PR libstdc++/61728
	* libsupc++/cxxabi.h: Define __pbase_type_info::__pointer_catch here.
	* libsupc++/tinfo.h: Not here.

From-SVN: r212413
2014-07-09 18:21:49 -04:00
Paolo Carlini
84b6417063 DR 1584 PR c++/57466
/cp
2014-07-09  Paolo Carlini  <paolo.carlini@oracle.com>

	DR 1584
	PR c++/57466
	* pt.c (check_cv_quals_for_unify): Implement resolution, disregard
	cv-qualifiers of function types.

/testsuite
2014-07-09  Paolo Carlini  <paolo.carlini@oracle.com>

	DR 1584
	PR c++/57466
	* g++.dg/template/pr57466.C: New.
	* g++.dg/cpp0x/pr57466.C: Likewise.
	* g++.dg/template/unify6.C: Update.

From-SVN: r212410
2014-07-09 21:23:06 +00:00
Tom de Vries
26e288bab5 Enable fuse-caller-save on self-recursive functions
2014-07-09  Tom de Vries  <tom@codesourcery.com>

	* final.c (get_call_fndecl): Declare.
	(self_recursive_call_p): New function.
	(collect_fn_hard_reg_usage): Handle self-recursive function calls.

	* gcc.target/i386/fuse-caller-save-rec.c: New test.

From-SVN: r212409
2014-07-09 21:03:44 +00:00
Francois-Xavier Coudert
f5168e47a8 libgfortran.h (support_fpu_underflow_control, [...]): New prototypes.
* libgfortran.h (support_fpu_underflow_control,
        get_fpu_underflow_mode, set_fpu_underflow_mode): New prototypes.
	* config/fpu-*.h (support_fpu_underflow_control,
	get_fpu_underflow_mode, set_fpu_underflow_mode):
	New functions.
	* ieee/ieee_arithmetic.F90: Support underflow control.

	* gfortran.dg/ieee/underflow_1.f90: New file.

From-SVN: r212407
2014-07-09 20:32:12 +00:00
Jan Hubicka
958c1d61b1 * ipa-devirt.c (record_node): Walk through aliases.
From-SVN: r212406
2014-07-09 20:00:25 +00:00
Jan Hubicka
da22f50517 * lto-streamer-out.c (hash_scc): Avoid quadratic hashing loop.
From-SVN: r212404
2014-07-09 19:09:50 +00:00
Richard Biener
63dfbb9505 re PR c/61741 (wrong code with -fno-strict-overflow)
2014-07-09  Richard Biener  <rguenther@suse.de>

	PR c-family/61741
	* c-gimplify.c (c_gimplify_expr): Gimplify self-modify expressions
	using unsigned arithmetic if overflow does not wrap instead of
	if overflow is undefined.

	* c-c++-common/torture/pr61741.c: New testcase.

From-SVN: r212400
2014-07-09 17:14:11 +00:00
Pat Haugen
bde56a1d4d * lib/target-supports.exp
(check_effective_target_logical_op_short_circuit): Add powerpc*-*-*.

From-SVN: r212398
2014-07-09 16:26:00 +00:00
Jan Hubicka
1469344a8b revert: stor-layout.c (finish_builtin_struct): Copy fields into the variants.
Revert:
	* stor-layout.c (finish_builtin_struct): Copy fields into the variants.

From-SVN: r212397
2014-07-09 16:11:53 +00:00
Jan Hubicka
ef68f4ab65 ipa-visibility.c (function_and_variable_visibility): Remove temporary hack disabling local aliases on AIX.
* ipa-visibility.c (function_and_variable_visibility): Remove
	temporary hack disabling local aliases on AIX.

From-SVN: r212396
2014-07-09 16:06:17 +00:00