- Apr 18, 2017
-
-
Jakub Jelinek authored
re PR tree-optimization/80443 (ICE on valid code at -O2 on x86_64-linux-gnu: in set_value_range, at tree-vrp.c:367) PR tree-optimization/80443 * tree-vrp.c (intersect_ranges): For signed 1-bit precision type, instead of adding 1, subtract -1 and similarly instead of subtracting 1 add -1. * gcc.c-torture/compile/pr80443.c: New test. From-SVN: r246981
-
Richard Sandiford authored
re PR rtl-optimization/80357 (ICE in model_update_limit_points_in_group, at haifa-sched.c:1982 on powerpc64le-linux-gnu) gcc/ PR rtl-optimization/80357 * haifa-sched.c (tmp_bitmap): New variable. (model_recompute): Handle duplicate use records. (alloc_global_sched_pressure_data): Initialize tmp_bitmap. (free_global_sched_pressure_data): Free it. gcc/testsuite/ PR rtl-optimization/80357 * gcc.c-torture/compile/pr80357.c: New test. From-SVN: r246980
-
Bernd Edlinger authored
2017-04-18 Bernd Edlinger <bernd.edlinger@hotmail.de> Revert: 2017-02-20 Bernd Edlinger <bernd.edlinger@hotmail.de> * Makefile.in (BUILD_SYSTEM_HEADER_DIR): New make variabe. (LIMITS_H_TEST, if_multiarch, stmp-fixinc): Use BUILD_SYSTEM_HEADER_DIR instead of SYSTEM_HEADER_DIR. From-SVN: r246979
-
Jeff Law authored
re PR middle-end/80422 (ICE on valid code at -O3 in 32-bit mode on x86_64-linux-gnu: in operator[], at vec.h:732) PR middle-end/80422 * cfgcleanup.c (try_crossjump_to_edge): Verify SRC1 and SRC2 have predecessors after walking up the insn chain. PR middle-end/80422 * gcc.c-torture/compile/pr80422.c: New test. From-SVN: r246975
-
Jakub Jelinek authored
PR debug/80263 * dwarf2out.c (modified_type_die): Try harder not to emit internal sizetype type into debug info. * gcc.dg/debug/dwarf2/pr80263.c: New test. From-SVN: r246973
-
Michael Meissner authored
[gcc] 2017-04-18 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/80099 * config/rs6000/rs6000.c (rs6000_expand_vector_extract): Eliminate unneeded test for TARGET_UPPER_REGS_SF. * config/rs6000/vsx.md (vsx_extract_v4sf_var): Likewise. [gcc/testsuite] 2017-04-18 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/80099 * gcc.target/powerpc/pr80099-1.c: New test. * gcc.target/powerpc/pr80099-2.c: Likewise. * gcc.target/powerpc/pr80099-3.c: Likewise. * gcc.target/powerpc/pr80099-4.c: Likewise. * gcc.target/powerpc/pr80099-5.c: Likewise. From-SVN: r246972
-
Jakub Jelinek authored
PR sanitizer/80444 * sancov.c (sancov_pass): Use gsi_start_nondebug_after_labels_bb instead of gsi_after_labels. * gcc.dg/sancov/pr80444.c: New test. From-SVN: r246971
-
Jeff Law authored
* regcprop.c (maybe_mode_change): Avoid creating copies of the stack pointer. Revert: 2017-04-13 Jeff Law <law@redhat.com> * config/mips.mips.md (zero_extendsidi2): Do not allow SP to appear in operands[1] if it is a MEM and TARGET_MIPS16 is active. From-SVN: r246970
-
Georg-Johann Lay authored
From-SVN: r246969
-
Georg-Johann Lay authored
re PR c++/79435 (ICE on invalid C++ code (with member access into an incomplete type) on x86_64-linux-gnu: Segmentation fault) gcc/ PR target/79435 * config/avr/avr.c (intl.h): Include it. (avr_pgm_check_var_decl) [reason]: Wrap diagnostic snippets into _(). From-SVN: r246966
-
Jakub Jelinek authored
PR middle-end/79788 PR middle-end/80375 * c-common.c (c_common_type_for_mode): Don't handle widest_*_literal_type_node here. c_common_signed_or_unsigned_type): Likewise. (c_common_nodes_and_builtins): Set widest_*_literal_type_node to *intTI_type_node or *intDI_type_node depending on whether TImode is supported by the target or not. * gcc.dg/pr79788-1.c: New test. * gcc.dg/pr79788-2.c: New test. From-SVN: r246965
-
Jonathan Wakely authored
* include/std/functional (default_searcher, __boyer_moore_array_base) (__is_std_equal_to, __boyer_moore_base_t, boyer_moore_searcher) (boyer_moore_horspool_searcher): Remove redundant namespace qualification. (default_searcher::operator()): Construct return value early and advance second member in-place. (boyer_moore_horspool_searcher::operator()): Increment random access iterator directly instead of using std::next. (boyer_moore_searcher::operator()): Fix return value. * testsuite/20_util/function_objects/searchers.cc: Check both parts of return values. From-SVN: r246964
-
Marek Polacek authored
* error.c (dump_expr): Handle TREE_LIST. * parser.c (cp_parser_std_attribute_list): Return error_mark if make_pack_expansion returns an error. * g++.dg/cpp0x/alignas11.C: New test. From-SVN: r246963
-
Marek Polacek authored
* tree.c (strip_typedefs): Handle UNDERLYING_TYPE. * g++.dg/cpp0x/alias-decl-59.C: New test. From-SVN: r246962
-
Martin Liska authored
2017-04-18 Martin Liska <mliska@suse.cz> PR gcov-profile/78783 * libgcov-driver.c (gcov_get_filename): New function. 2017-04-18 Martin Liska <mliska@suse.cz> PR gcov-profile/78783 * gcov-tool.c (gcov_output_files): Validate that destination file is either removed by the tool or by a user. From-SVN: r246961
-
GCC Administrator authored
From-SVN: r246960
-
- Apr 17, 2017
-
-
Ian Lance Taylor authored
Reviewed-on: https://go-review.googlesource.com/40775 From-SVN: r246957
-
Bernd Edlinger authored
PR c++/80287 * class.c (fixup_may_alias): Fix all type variants. gcc/testsuite 2017-04-17 Bernd Edlinger <bernd.edlinger@hotmail.de> PR c++/80287 * g++.dg/lto/pr80287_0.C: New test. From-SVN: r246955
-
Jason Merrill authored
* tree.c (lvalue_kind): Return clk_class for an array prvalue. From-SVN: r246954
-
Jason Merrill authored
From-SVN: r246953
-
Paul Thomas authored
2017-04-17 Paul Thomas <pault@gcc.gnu.org> PR fortran/80440 * module.c (find_symtree_for_symbol): Delete. (read_module): Remove the call to the above. From-SVN: r246952
-
Kelvin Nilsen authored
re PR target/80315 (Calling __builtin_crypto_vshasigmaw with argument 3 out of range creates an unrecognizable insn) gcc/testsuite/ChangeLog: 2017-04-12 Kelvin Nilsen <kelvin@gcc.gnu.org> PR target/80315 * gcc.target/powerpc/pr80315-1.c: New test. * gcc.target/powerpc/pr80315-2.c: New test. * gcc.target/powerpc/pr80315-3.c: New test. * gcc.target/powerpc/pr80315-4.c: New test. From-SVN: r246949
-
GCC Administrator authored
From-SVN: r246948
-
- Apr 16, 2017
-
-
Tom de Vries authored
2017-04-16 Tom de Vries <tom@codesourcery.com> * g++.dg/parse/error11.C: Remove braces around line number in dejagnu directive. * g++.dg/parse/error3.C: Same. * g++.old-deja/g++.pt/niklas01a.C: Same. * gcc.dg/990506-0.c: Same. * gcc.dg/cpp/19990413-1.c: Same. * gcc.dg/cpp/pragma-1.c: Same. * gcc.dg/cpp/pragma-2.c: Same. * gcc.dg/m-un-2.c: Same. * objc.dg/private-1.m: Same. From-SVN: r246945
-
GCC Administrator authored
From-SVN: r246944
-
- Apr 15, 2017
-
-
Uros Bizjak authored
* gcc.dg/pr54669.c: Fix dg-do directive. * gcc.dg/pr78582.c: Ditto. * gcc.dg/pr80020.c: Ditto. * gcc.dg/torture/pr57993-2.cpp: Ditto. * gcc.dg/tree-ssa/builtin-sprintf-3.c: Ditto. * gcc.dg/tree-ssa/builtin-sprintf-4.c: Ditto. * gcc.dg/tree-ssa/builtin-sprintf-5.c: Ditto. * gcc.dg/tree-ssa/builtin-sprintf-6.c: Ditto. * gcc.dg/tree-ssa/builtin-sprintf-warn-5.c: Ditto. * gcc.dg/tree-ssa/pr79327-2.c: Ditto. * gcc.dg/tree-ssa/pr79352.c: Ditto. * gcc.dg/tree-ssa/pr79376.c: Ditto. * gcc.dg/tree-ssa/pr79691.c: Ditto. From-SVN: r246941
-
Dominique d'Humieres authored
2017-04-15 Dominique d'Humieres <dominiq@lps.ens.fr> * gfortran.dg/deferred_character_3.f90: Fix dg directive. * gfortran.dg/generic_29.f90: Likewise. * gfortran.dg/goacc/multi-clause.f90: Likewise. * gfortran.dg/pr41922.f90: Likewise. * gfortran.dg/pr70006.f90: Likewise. From-SVN: r246940
-
Segher Boessenkool authored
Bin's commit r246810, for PR80153, fixes 20050830-1.c for -m64 (it already passed for -m32). So, this patch removes the remaining xfail. gcc/testsuite/ PR tree-optimization/66612 * gcc.target/powerpc/20050830-1.c: Remove xfail. From-SVN: r246939
-
Alexandre Oliva authored
Arrange for the first typedef to an anonymous type in the same context to be used as the linkage name for the type. for gcc/cp/ChangeLog * decl.c (name_unnamed_type): Split out of... (grokdeclarator): ... this. * decl.h (name_unnamed_type): Declare. for libcc1/ChangeLog * libcp1plugin.cc (plugin_build_decl): Call name_unnamed_type. From-SVN: r246938
-
GCC Administrator authored
From-SVN: r246937
-
- Apr 14, 2017
-
-
Janus Weil authored
2017-04-14 Janus Weil <janus@gcc.gnu.org> PR fortran/80361 * class.c (generate_finalization_wrapper): Give the finalization wrapper the recursive attribute. 2017-04-14 Janus Weil <janus@gcc.gnu.org> PR fortran/80361 * gfortran.dg/class_62.f90: New test case. From-SVN: r246934
-
Andrew Burgess authored
We use a negative ID number to link together the doloop_begin and doloop_end instructions. This negative ID number is setup within doloop_begin, at this point the ID is stored into the loop end instruction (doloop_end_i) and placed into the doloop_begin_i instruction. In arc.c (arc_reorg) we extract the ID from the doloop_end_i instruction in order to find the matching doloop_begin_i instruction, though the ID is only used in some cases. Currently in arc_reorg when we extract the ID we negate it. This negation is invalid. The ID stored in both doloop_end_i and doloop_begin_i is already negative, the negation in arc_reorg means that if we need to use the ID to find the doloop_begin_i then we will never find it (as the IDs will never match). This commit removes the unneeded negation, moves the extraction of the ID into a more appropriately scoped block and adds a new test for this issue. gcc/ChangeLog: * config/arc/arc.c (arc_reorg): Move loop_end_id into a more local block, and do not negate it, the stored id is already negative. gcc/testsuite/ChangeLog: * gcc.target/arc/loop-1.c: New file. Co-Authored-By:
Guy Benyei <guybe@mellanox.com> From-SVN: r246933
-
Andrew Burgess authored
The old ARC assembler would accept expressions like 'LABEL-(.&-4)' which would calculate the offset from the PCL to LABEL. The new ARC assembler does not accept these expressions, instead there's an @pcl synax, used like LABEL@pcl which gives the offset from PCL to LABEL. Most of the use of the old expression syntax have been removed, however, this one got missed. gcc/ChangeLog: * config/arc/arc.md (doloop_begin_i): Use @pcl assembler syntax. From-SVN: r246932
-
Michael Meissner authored
[gcc] 2017-04-14 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/80098 * config/rs6000/rs6000-cpus.def (OTHER_P9_VECTOR_MASKS): Define masks of options that should be turned off if the VSX vector options are turned off. (OTHER_P8_VECTOR_MASKS): Likewise. (OTHER_VSX_VECTOR_MASKS): Likewise. * config/rs6000/rs6000.c (rs6000_option_override_internal): Call rs6000_disable_incompatible_switches to validate no type switches like -mvsx. (rs6000_incompatible_switch): New function to disallow turning on other vector options if -mno-vsx, -mno-power8-vector, or -mno-power9-vector are specified. [gcc/testsuite] 2017-04-14 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/80098 * gcc.target/powerpc/pr80098-1.c: New test. * gcc.target/powerpc/pr80098-2.c: Likewise. * gcc.target/powerpc/pr80098-3.c: Likewise. * gcc.target/powerpc/pr80098-4.c: Likewise. From-SVN: r246930
-
Claudiu Zissulescu authored
gcc/ 2017-04-17 Claudiu Zissulescu <claziss@synopsys.com> * config/arc/arc.h (CRT_CALL_STATIC_FUNCTION): Use long calls. From-SVN: r246927
-
Claudiu Zissulescu authored
The use of CFA_FRAME_BASE_OFFSET and ARG_POINTER_CFA_OFFSET macros leads to wrong offset calculation for DW_OP_fbreg constructions. Remove them. gcc/ 2017-04-14 Claudiu Zissulescu <claziss@synopsys.com> * config/arc/arc-protos.h (arc_decl_pretend_args): Remove. * config/arc/arc.c (arc_decl_pretend_args): Likewise. * config/arc/arc.h (CFA_FRAME_BASE_OFFSET): Likewise. (ARG_POINTER_CFA_OFFSET): Likewise. From-SVN: r246926
-
Claudiu Zissulescu authored
Update arc_mode_dependent_address_p to avoid emitting subreg(mem (reg ..)) when expanding by relaxing the conditions. gcc/ 2017-04-14 Claudiu Zissulescu <claziss@synopsys.com> * config/arc/arc.c (arc_mode_dependent_address_p): Relax conditions to take advantage of various optimizations. From-SVN: r246925
-
Jeff Law authored
mips.mips.md (zero_extendsidi2): Do not allow SP to appear in operands[1] if it is a MEM and TARGET_MIPS16 is active. * config/mips.mips.md (zero_extendsidi2): Do not allow SP to appear in operands[1] if it is a MEM and TARGET_MIPS16 is active. (zero_extendsidi2_dext): Likewise. From-SVN: r246924
-
GCC Administrator authored
From-SVN: r246923
-
- Apr 13, 2017
-
-
Jakub Jelinek authored
* plugin/plugin-nvptx.c (cuda_lib_inited): Use signed char type instead of char. From-SVN: r246918
-