- 20 Feb, 2017 26 commits
-
-
From-SVN: r245614
Joseph Myers committed -
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: r245613
Bernd Edlinger committed -
* call.c (build_special_member_call): Use tf_no_cleanup. From-SVN: r245612
Jason Merrill committed -
2017-02-14 Aaron Sawdey <acsawdey@linux.vnet.ibm.com> * gcc.dg/strncmp-2.c: Portability fixes. From-SVN: r245608
Aaron Sawdey committed -
gcc/testsuite/ChangeLog: 2017-02-20 Kelvin Nilsen <kelvin@gcc.gnu.org> PR target/78056 * gcc.target/powerpc/pr78056-8.c: Remove. From-SVN: r245607
Kelvin Nilsen committed -
invoke.texi (use-after-scope-direct-emission-threshold): Fix typos and grammar, use active voice, and clarify. * doc/invoke.texi (use-after-scope-direct-emission-threshold): Fix typos and grammar, use active voice, and clarify. Co-Authored-By: Martin Liska <mliska@suse.cz> From-SVN: r245606
Gerald Pfeifer committed -
PR sanitizer/79558 * ubsan.c (ubsan_type_descriptor): Check if TYPE_MAX_VALUE is null. * c-c++-common/ubsan/bounds-14.c: New test. From-SVN: r245605
Marek Polacek committed -
PR middle-end/79537 * gimplify.c (gimplify_expr): Handle unused *&&L;. * gcc.dg/comp-goto-4.c: New. From-SVN: r245604
Marek Polacek committed -
2017-02-20 Paul Thomas <pault@gcc.gnu.org> PR fortran/79599 * interface.c (check_dtio_arg_TKR_intent): Supply 'must' missing from error message. 2017-02-20 Paul Thomas <pault@gcc.gnu.org> PR fortran/79523 * interface.c (gfc_find_typebound_dtio_proc): Guard test for flavor attribute by checking that symbol is resolved. From-SVN: r245603
Paul Thomas committed -
PR target/79568 * config/i386/i386.c (ix86_expand_builtin): Handle OPTION_MASK_ISA_AVX512VL and OPTION_MASK_ISA_64BIT in ix86_builtins_isa[fcode].isa as a requirement of those flags and any other flag in the bitmask. (ix86_init_mmx_sse_builtins): Use 0 instead of ~OPTION_MASK_ISA_64BIT as mask. * config/i386/i386-builtin.def (__builtin_ia32_rdtsc, __builtin_ia32_rdtscp, __builtin_ia32_pause, __builtin_ia32_bsrsi, __builtin_ia32_rdpmc, __builtin_ia32_rolqi, __builtin_ia32_rolhi, __builtin_ia32_rorqi, __builtin_ia32_rorhi): Likewise. * gcc.target/i386/pr79568-1.c: New test. * gcc.target/i386/pr79568-2.c: New test. * gcc.target/i386/pr79568-3.c: New test. From-SVN: r245602
Jakub Jelinek committed -
gcc/ PR target/78012 * lra-constraints.c (split_reg): Check requested split mode is supported by the register. From-SVN: r245601
Matthew Fortune committed -
gcc/ * lra-constraints.c (simplify_operand_subreg): Remove early return false. From-SVN: r245600
Matthew Fortune committed -
gcc/ PR target/78660 * lra-constraints.c (curr_insn_transform): Tighten condition for converting SUBREG reloads from OP_OUT to OP_INOUT. From-SVN: r245599
Matthew Fortune committed -
gcc/ PR target/78660 * lra-constraints.c (curr_insn_transform): Handle WORD_REGISTER_OPERATIONS requirements when reloading SUBREGs. From-SVN: r245598
Matthew Fortune committed -
2017-02-16 Paul Thomas <pault@gcc.gnu.org> PR fortran/79382 * decl.c (access_attr_decl): Test for presence of generic DTIO interface and emit error if not present. 2017-02-16 Paul Thomas <pault@gcc.gnu.org> PR fortran/79382 * io/transfer.c (check_dtio_proc): New function. (formatted_transfer_scalar_read): Use it. (formatted_transfer_scalar_write): ditto. 2017-02-16 Paul Thomas <pault@gcc.gnu.org> PR fortran/79382 * gfortran.dg/dtio_10.f90 : Change test of error message. * gfortran.dg/dtio_23.f90 : New test. * gfortran.dg/dtio_24.f90 : New test. From-SVN: r245596
Paul Thomas committed -
2017-02-20 Paul Thomas <pault@gcc.gnu.org> PR fortran/79434 * parse.c (check_component, parse_union): Whitespace. (set_syms_host_assoc): For a derived type, check if the module in which it was declared is one of the submodule ancestors. If it is, make the components public. Otherwise, reset attribute 'host_assoc' and set 'use-assoc' so that encapsulation is preserved. 2017-02-20 Paul Thomas <pault@gcc.gnu.org> PR fortran/79434 * gfortran.dg/submodule_25.f08 : New test. From-SVN: r245595
Paul Thomas committed -
* pt.c (find_parameter_packs_r): Don't walk into the type of templates other than template template-parameters. From-SVN: r245594
Jason Merrill committed -
* class.c (build_base_path): Check processing_template_decl. From-SVN: r245593
Jason Merrill committed -
* decl.c (type_dependent_init_p): Check the type of a CONSTRUCTOR. From-SVN: r245592
Jason Merrill committed -
* parser.c (cp_parser_simple_declaration): Fix check for type definition. From-SVN: r245591
Jason Merrill committed -
* parser.c (cp_parser_exception_specification_opt): Remove suggestion for deprecated dynamic exception-specification. From-SVN: r245590
Jason Merrill committed -
* pt.c (unify) [INDIRECT_REF]: Handle pack expansions. From-SVN: r245589
Jason Merrill committed -
* pt.c (do_class_deduction): Use STRIP_TEMPLATE rather than DECL_TEMPLATE_RESULT. From-SVN: r245588
Jason Merrill committed -
* parser.c (cp_parser_class_head): If we're in the middle of an expression, use ts_within_enclosing_non_class. From-SVN: r245587
Jason Merrill committed -
* call.c (add_function_candidate): Also check that DECL_INHERITED_CTOR_BASE is reference-related to the parameter type. From-SVN: r245586
Jason Merrill committed -
From-SVN: r245585
GCC Administrator committed
-
- 19 Feb, 2017 12 commits
-
-
re PR fortran/79447 ([F08] gfortran rejects valid & accepts invalid internal subprogram in a submodule) 2017-02-19 Paul Thomas <pault@gcc.gnu.org> PR fortran/79447 * decl.c (gfc_set_constant_character_len): Whitespace. (gfc_match_end): Catch case where a procedure is contained in a module procedure and ensure that 'end procedure' is the correct termination. 2017-02-19 Paul Thomas <pault@gcc.gnu.org> PR fortran/79447 * gfortran.dg/submodule_24.f08 : New test. From-SVN: r245582
Paul Thomas committed -
gcc/testsuite/ChangeLog: 2017-02-19 Andre Vehreschild <vehre@gcc.gnu.org> PR fortran/79229 * gfortran.dg/class_allocate_24.f90: New test. gcc/fortran/ChangeLog: 2017-02-19 Andre Vehreschild <vehre@gcc.gnu.org> PR fortran/79229 * trans-expr.c (gfc_trans_assignment_1): Deref indirect refs when compiling with -fcheck=mem to check the pointer and not the data. From-SVN: r245581
Andre Vehreschild committed -
2017-02-19 Paul Thomas <pault@gcc.gnu.org> PR fortran/79402 * resolve.c (fixup_unique_dummy): New function. (gfc_resolve_expr): Call it for dummy variables with a unique symtree name. 2017-02-19 Paul Thomas <pault@gcc.gnu.org> PR fortran/79402 * gfortran.dg/submodule_23.f90: New test. From-SVN: r245580
Paul Thomas committed -
re PR fortran/79335 (Conditional jump or move depends on uninitialised in value get_scalar_to_descriptor_type(tree_node*, symbol_attribute) (trans-expr.c:53)) gcc/fortran/ChangeLog: 2017-02-19 Andre Vehreschild <vehre@gcc.gnu.org> PR fortran/79335 * trans-array.c (duplicate_allocatable_coarray): Ensure attributes passed are properly initialized. (structure_alloc_comps): Same. * trans-expr.c (gfc_trans_structure_assign): Same. From-SVN: r245579
Andre Vehreschild committed -
re PR c++/79380 (ICE on C++11 code with illegal alignas specifier on x86_64-linux-gnu: unexpected expression ‘f’ of kind overload) /cp 2017-02-19 Paolo Carlini <paolo.carlini@oracle.com> PR c++/79380 * typeck.c (cxx_alignas_expr): Reject a non-integral alignas argument. /testsuite 2017-02-19 Paolo Carlini <paolo.carlini@oracle.com> PR c++/79380 * g++.dg/cpp0x/alignas8.C: New. From-SVN: r245578
Paolo Carlini committed -
2016-05-30 Uros Bizjak <ubizjak@gmail.com> * config/i386/sync.md (mfence_nosse): Use "lock orl $0, -4(%esp)". From-SVN: r245577
Uros Bizjak committed -
2017-02-19 Dinka Ranns <dinka.ranns@googlemail.com> C++17 GB50 resolution * include/std/chrono (duration::operator++()): Add _GLIBCXX17_CONSTEXPR. (duration::operator++(int)): Likewise. (duration::operator--()): Likewise. (duration::operator--(int)): Likewise. (duration::operator+=(const duration&)): Likewise. (duration::operator-=(const duration&)): Likewise. (duration::operator*=(const rep&)): Likewise. (duration::operator/=(const rep&)): Likewise. (duration::operator%=(const rep&)): Likewise. (duration::operator%=(const duration&)): Likewise. (time_point::operator+=(const duration&)): Likewise. (time_point::operator-=(const duration&)): Likewise. * testsuite/20_util/duration/arithmetic/constexpr_c++17.cc: New test. * testsuite/20_util/duration/literals/range.cc: Adjust dg-error. * testsuite/20_util/time_point/arithmetic/constexpr.cc: New test. From-SVN: r245575
Dinka Ranns committed -
gcc: PR c++/69523 * doc/invoke.texi (C++ Dialect Options) [-Wliteral-suffix]: Update description. gcc/cp: 2017-02-19 Eric Fiselier <eric@efcs.ca> Jonathan Wakely <jwakely@redhat.com> PR c++/69523 * parser.c (cp_parser_unqualified_id): Use OPT_Wliteral_suffix to control warning about literal suffix identifiers without a leading underscore. gcc/testsuite: 2017-02-19 Eric Fiselier <eric@efcs.ca> Jonathan Wakely <jwakely@redhat.com> PR c++/69523 * g++.dg/cpp0x/Wliteral-suffix2.C: New test. From-SVN: r245574
Jonathan Wakely committed -
From-SVN: r245572
Gerald Pfeifer committed -
gimple-parser.c (c_parser_gimple_postfix_expression): Check return value of c_parser_parse_ssa_name against error_mark_node and emit... 2017-02-19 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> * gimple-parser.c (c_parser_gimple_postfix_expression): Check return value of c_parser_parse_ssa_name against error_mark_node and emit error if ssa name is anonymous and written as default definition. From-SVN: r245571
Prathamesh Kulkarni committed -
2017-02-19 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> * gimple-pretty-print.c (dump_ternary_rhs): Adjust gimple dump format for FMA_EXPR. c/ * gimple-parser.c (c_parser_gimple_postfix_expression): Handle FMA_EXPR. testsuite/ * gcc.dg/gimplefe-26.c: New test. From-SVN: r245570
Prathamesh Kulkarni committed -
From-SVN: r245569
GCC Administrator committed
-
- 18 Feb, 2017 2 commits
-
-
* doc/xml/manual/io.xml: Update link to groups.google.com. Tweak link description. From-SVN: r245565
Gerald Pfeifer committed -
* final.c (last_columnnum, override_columnnum): New variables. (final_start_function): Set last_columnnum, pass it to begin_prologue hook and pass 0 to dwarf2out_begin_prologue. (final_scan_insn): Update override_columnnum. Pass last_columnnum to source_line debug hook. (notice_source_line): Compute last_columnnum and for debug_column_info return true on column changes. * debug.h (struct gcc_debug_hooks): Add column argument to source_line and begin_prologue hooks. (debug_nothing_int_charstar_int_bool): Remove prototype. (debug_nothing_int_int_charstar, debug_nothing_int_int_charstar_int_bool): New prototypes. (dwarf2out_begin_prologue): Add column argument. * debug.c (do_nothing_debug_hooks): Adjust source_line and begin_prologue hooks. (debug_nothing_int_charstar_int_bool): Remove. (debug_nothing_int_int_charstar, debug_nothing_int_int_charstar_int_bool): New functions. * dwarf2out.c (dwarf2out_begin_prologue): Add column argument, pass it through to dwarf2out_source_line. (dwarf2_lineno_debug_hooks): Adjust begin_prologue hook. (dwarf2out_source_line): Add column argument, emit it if requested. * sdbout.c (sdbout_source_line, sdbout_begin_prologue): Add column arguments. * xcoffout.h (xcoffout_begin_prologue, xcoffout_source_line): Likewise. * xcoffout.c (xcoffout_begin_prologue, xcoffout_source_line): Likewise. * vmsdbgout.c (vmsdbgout_begin_prologue): Add column argument, pass it through to dwarf2out_begin_prologue. (vmsdbgout_source_line): Add column argument, pass it through to dwarf2out_source_line. * dbxout.c (dbxout_begin_prologue): Add column argument, adjust dbxout_source_line caller. (dbxout_source_line): Add column argument. From-SVN: r245564
Jakub Jelinek committed
-