2019-08-09 Richard Earnshaw <rearnsha@arm.com>
- *config/arm/arm.md (addsi3_compare_op1): Add 16-bit thumb-2 variants.
+ * config/arm/arm.md (addsi3_compare_op1): Add 16-bit thumb-2 variants.
(addsi3_compare_op2): Likewise.
2019-08-09 Martin Liska <mliska@suse.cz>
(gimple_ic_transform): Likewise.
(gimple_stringops_transform): Likewise.
-2019-08-08 Mihailo Stojanovic <mistojanovic@wavecomp.com>
+2019-08-08 Mihailo Stojanovic <mistojanovic@wavecomp.com>
* doc/extend.texi: Add const qualifier to ld intrinsics.
2019-08-07 Kito Cheng <kito.cheng@sifive.com>
- * gcc/config/riscv/multilib-generator: (canonical_order): Add 'g'.
+ * config/riscv/multilib-generator: (canonical_order): Add 'g'.
(arch_canonicalize): Support rv32g and rv64g and fix error
handling.
2019-08-06 Kito Cheng <kito.cheng@sifive.com>
- * gcc/config/riscv/multilib-generator: (canonical_order): New.
+ * config/riscv/multilib-generator: (canonical_order): New.
(arch_canonicalize): Dito.
Apply arch_canonicalize for alts.
of reduction stmts.
2019-07-31 Matt Thomas <matt@3am-software.com>
- Nick Hudson <nick@nthcliff.demon.co.uk>
- Matthew Green <mrg@eterna.com.au>
- Maya Rashish <coypu@sdf.org>
+ Nick Hudson <nick@nthcliff.demon.co.uk>
+ Matthew Green <mrg@eterna.com.au>
+ Maya Rashish <coypu@sdf.org>
* config.gcc (hppa*-*-netbsd*): New target.
* config/pa/pa-netbsd.h: New file.
2019-07-28 Alan Modra <amodra@gmail.com>
- * gcc/config/rs6000/rs6000-call.c (rs6000_output_mi_thunk): Use
+ * config/rs6000/rs6000-call.c (rs6000_output_mi_thunk): Use
gen_sibcall.
2019-07-28 Alan Modra <amodra@gmail.com>
2019-07-24 Giuliano Belinassi <giuliano.belinassi@usp.br>
- * cgraphunit.c (symbol_table::compile): Start and stop
+ * cgraphunit.c (symbol_table::compile): Start and stop
TV_CGRAPH_IPA_PASSES and TV_CGRAPH_FUNC_EXPANSION timers.
* timevar.def (TV_CGRAPH_IPA_PASSES, TV_CGRAPH_FUNC_EXPANSION): New.
arch case.
* config/i386/darwin32-biarch.h: New.
* config/i386/darwin64.h: Rename.
- * gcc/config/i386/darwin64-biarch.h: To this.
+ * config/i386/darwin64-biarch.h: To this.
* config/i386/t-darwin: Rename.
- * gcc/config/i386/t-darwin32-biarch: To this.
+ * config/i386/t-darwin32-biarch: To this.
* config/i386/t-darwin64: Rename.
- * gcc/config/i386/t-darwin64-biarch: To this.
+ * config/i386/t-darwin64-biarch: To this.
* config/rs6000/darwin32-biarch.h: New.
* config/rs6000/darwin64.h: Rename.
* config/rs6000/darwin64-biarch.h: To this.
* configure.ac (ACX_PROG_CXX_WARNING_OPTS): Revert r273311.
-2019-07-23 Vladislav Ivanishin <vlad@ispras.ru>
+2019-07-23 Vladislav Ivanishin <vlad@ispras.ru>
* gdbinit.in (reload-gdbhooks): New command with an attached doc string.
(rh): New alias for it.
-2019-07-23 Vladislav Ivanishin <vlad@ispras.ru>
+2019-07-23 Vladislav Ivanishin <vlad@ispras.ru>
* gdbhooks.py: Pass replace=True to
gdb.printing.register_pretty_printer.
PR target/90363
* config/or1k/or1k.md (zero_extend<mode>si2): Update predicate.
(extend<mode>si2): Update predicate.
- * gcc/config/or1k/predicates.md (volatile_mem_operand): New.
+ * config/or1k/predicates.md (volatile_mem_operand): New.
(reg_or_mem_operand): New.
2019-07-21 Iain Sandoe <iain@sandoe.co.uk>
2019-07-18 Sylvia Taylor <sylvia.taylor@arm.com>
- PR target/90317
- * config/arm/arm_neon.h
- (vsha1h_u32): Refactor.
- (vsha1cq_u32): Likewise.
- (vsha1pq_u32): Likewise.
- (vsha1mq_u32): Likewise.
- * config/arm/crypto.md:
- (crypto_sha1h): Remove zero extend, correct vec select.
- (crypto_sha1c): Correct vec select.
- (crypto_sha1m): Likewise.
- (crypto_sha1p): Likewise.
+ PR target/90317
+ * config/arm/arm_neon.h (vsha1h_u32): Refactor.
+ (vsha1cq_u32): Likewise.
+ (vsha1pq_u32): Likewise.
+ (vsha1mq_u32): Likewise.
+ * config/arm/crypto.md (crypto_sha1h): Remove zero extend, correct
+ vec select.
+ (crypto_sha1c): Correct vec select.
+ (crypto_sha1m): Likewise.
+ (crypto_sha1p): Likewise.
2019-07-18 Richard Earnshaw <rearnsha@arm.com>
* tree-ssa-sccvn.c (vn_walk_cb_data::push_partial_def): Refactor
branches to make code less indented.
-2019-07-17 Alexandre Oliva <oliva@adacore.com>
+2019-07-17 Alexandre Oliva <oliva@adacore.com>
PR middle-end/81824
* attribs.c (decls_mismatched_attributes): Simplify the logic
(pa_reloc_rw_mask): Return 3 when generating PIC code and when
generating code for SOM targets earlier than HP-UX 11. Otherwise,
return 2 for SOM and 0 for other targets.
-
+
2019-07-17 Jeff Law <law@redhat.com>
* tree-ssa-dse.c (initialize_ao_ref_for_dse): Fix formatting.
(*test<mode>_1): Use nonmemory_szext_operand mode attribute
instead of genera_operand mode attribute.
-2019-07-14 Vladislav Ivanishin <vlad@ispras.ru>
+2019-07-14 Vladislav Ivanishin <vlad@ispras.ru>
* gdbhooks.py (DumpFn.invoke): Add explicit casts of return values of
fopen and fclose to their respective types.
* tree-vect-slp.c (vect_build_slp_tree_2): Fix reduction
chain check.
-2019-07-12 Alexandre Oliva <oliva@adacore.com>
+2019-07-12 Alexandre Oliva <oliva@adacore.com>
* tree-eh.c (honor_protect_cleanup_actions): Use outer_
rather than this_state as the lowering context for the ELSE
2019-07-12 Kewen Lin <linkw@gcc.gnu.org>
- * gcc/cfgrtl.c (print_rtl_with_bb): Emit a hint if the
+ * cfgrtl.c (print_rtl_with_bb): Emit a hint if the
fallthrough target of current basic block isn't the placed
right next.
* config/s390/subst.md: Remove addr_style_op and masked_op substs.
* config/s390/vector.md: Use new predicate.
-2019-07-08 Joern Rennecke <joern.rennecke@riscy-ip.com>
-
- Avoid clash with system header declaration.
- * testsuite/gcc.dg/vect/slp-reduc-sad.c (uint32_t):
- Remove unused declaration.
-
2019-07-08 Andrew Waterman <andrew@sifive.com>
Jim Wilson <jimw@sifive.com>
* config/riscv/riscv.md (lshrsi3_zero_extend_3+1): Use operands[1]
bitsize instead of BITS_PER_WORD.
- gcc/testsuite/
2019-07-08 Martin Liska <mliska@suse.cz>
* config/arm/sync.md
(@atomic_compare_and_swap<CCSI:arch><NARROW:mode>_1): Use
<NARROW:sync_predtab> instead of (implicitly) <CCSI:sync_predtab>.
- (@atomic_compare_and_swap<CCSI:arch><SIDI:mode>_1): Likewise
+ (@atomic_compare_and_swap<CCSI:arch><SIDI:mode>_1): Likewise.
<SIDI:sync_predtab>. Use <SIDI:cas_cmp_operand> and
<SIDI:cas_cmp_str>.
Support __builtin_expect_with_probability for analysis
of # of loop iterations.
-2019-07-04 Alexandre Oliva <oliva@adacore.com>
+2019-07-04 Alexandre Oliva <oliva@adacore.com>
* doc/generic.texi (Cleanups): Document EH_ELSE_EXPR.
* except.c: Likewise.
(output_addr_table): Add DWARF5 table header generation here after
checking there are actually any addresses from...
(dwarf2out_finish): ...here.
- * testsuite/g++.dg/pr90981.C: New test.
2019-07-03 Richard Biener <rguenther@suse.de>
conditional lastprivate clause(s), emit GOMP_loop_end_nowait call
at the end.
-2019-07-02 Joern Rennecke <joern.rennecke@riscy-ip.com>
-
- PR testsuite/91065
- * testsuite/gcc.dg/plugin/start_unit_plugin.c: Register a root tab
- to reference fake_var.
-
2019-07-02 qing zhao <qing.zhao@oracle.com>
PR preprocessor/90581
nonoverlapping_component_refs_since_match_p_may_alias,
nonoverlapping_component_refs_since_match_p_no_alias.
(dump_alias_stats): Update dumping.
- (aliasing_matching_component_refs_p): Break out from ...;
+ (aliasing_matching_component_refs_p): Break out from ...;
dispatch to nonoverlapping_component_refs_for_decl_p
and nonoverlapping_component_refs_since_match_p.
(aliasing_component_refs_p): ... here; call
PR middle-end/66726
* tree-ssa-phiopt.c (factor_out_conditional_conversion):
Tune heuristic from PR71016 to allow MIN / MAX.
- * testsuite/gcc.dg/tree-ssa/pr66726-4.c: New testcase.
2019-07-01 Segher Boessenkool <segher@kernel.crashing.org>
argument.
(free_page): Likewise.
-2019-07-01 Vladislav Ivanishin <vlad@ispras.ru>
+2019-07-01 Vladislav Ivanishin <vlad@ispras.ru>
* gdbhooks.py (GdbPrettyPrinters.add_printer_for_types): Reorder
parameter names to match usage (no functional change).
2019-06-28 Michael Meissner <meissner@linux.ibm.com>
- * config/rs6000/predicates.md (pcrel_address): Use
+ * config/rs6000/predicates.md (pcrel_address): Use
SYMBOL_REF_LOCAL_P to determine if a label is local.
(pcrel_external_address): New predicate.
(non_prefixed_mem_operand): Delete, predicate not used.
* config/rs6000/rs6000.c (darwin_rs6000_override_options): Do not
use longcall for 64b code.
-2019-06-27 Aaron Sawdey <acsawdey@linux.ibm.com>
+2019-06-27 Aaron Sawdey <acsawdey@linux.ibm.com>
* builtins.c (get_memory_rtx): Fix comment.
* optabs.def (movmem_optab): Change to cpymem_optab.
* tree-ssa-sccvn.c (vn_reference_lookup_3): Encode valueized RHS.
-2019-06-27 Jun Ma <JunMa@linux.alibaba.com>
+2019-06-27 Jun Ma <JunMa@linux.alibaba.com>
PR tree-optimization/89772
* gimple-fold.c (gimple_fold_builtin_memchr): consider trailing nuls in
2019-06-27 Kewen Lin <linkw@gcc.gnu.org>
PR target/62147
- * gcc/loop-iv.c (find_simple_exit): Call finite_loop_p to update
+ * loop-iv.c (find_simple_exit): Call finite_loop_p to update
finiteness.
2019-06-26 Jeff Law <law@redhat.com>
2019-06-25 Jozef Lawrynowicz <jozef.l@mittosystems.com>
- * gcc/c-family/c-common.c (c_common_nodes_and_builtins): Define
- alternate "__intN__" name for "__intN" types.
- * gcc/c/c-parser.c (c_parse_init): Create keyword for "__intN__" type.
- * gcc/cp/lex.c (init_reswords): Likewise.
- * gcc/config/msp430/msp430.h: Use __int20__ for SIZE_TYPE and
+ * config/msp430/msp430.h: Use __int20__ for SIZE_TYPE and
PTRDIFF_TYPE.
- * gcc/cp/cp-tree.h (cp_decl_specifier_seq): New bitfield "int_n_alt".
- * gcc/c/c-decl.c (declspecs_add_type): Don't pedwarn about "__intN" ISO
- C incompatibility if alternate "__intN__" form is used.
- * gcc/cp/decl.c (grokdeclarator): Likewise.
- * gcc/cp/parser.c (cp_parser_simple_type_specifier): Set
- decl_specs->int_n_alt if "__intN__" form is used.
- * gcc/gimple-ssa-sprintf.c (build_intmax_type_nodes): Accept "__intN__"
+ * gimple-ssa-sprintf.c (build_intmax_type_nodes): Accept "__intN__"
format of "__intN" types for UINTMAX_TYPE.
- * gcc/brig/brig-lang.c (brig_build_c_type_nodes): Accept "__intN__"
- format of "__intN" types for SIZE_TYPE.
- * gcc/lto/lto-lang.c (lto_build_c_type_nodes): Likewise.
- * gcc/stor-layout.c (initialize_sizetypes): Accept "__intN__"
+ * stor-layout.c (initialize_sizetypes): Accept "__intN__"
format of "__intN" types for SIZETYPE.
- * gcc/tree.c (build_common_tree_nodes): Accept "__intN__"
+ * tree.c (build_common_tree_nodes): Accept "__intN__"
format of "__intN" types for SIZE_TYPE and PTRDIFF_TYPE.
- * gcc/doc/invoke.texi: Document that __intN__ disables pedantic
+ * doc/invoke.texi: Document that __intN__ disables pedantic
warnings.
2019-06-25 Jan Hubicka <jh@suse.cz>
(vectorizable_scan_store): Adjust caller, use whole vector left shift
and additional VEC_COND_EXPR only for those iterations that need it.
-2019-06-20 Alexandre Oliva <oliva@adacore.com>
+2019-06-20 Alexandre Oliva <oliva@adacore.com>
* config.gcc: Fix ARM --with-fpu checking and error message.
(ATTR_MALLOC_WARN_UNUSED_RESULT_SIZE_1_NOTHROW_LEAF_LIST): New.
(ATTR_ALLOCA_SIZE_1_NOTHROW_LEAF_LIST): Remove.
(ATTR_ALLOCA_WARN_UNUSED_RESULT_SIZE_1_NOTHROW_LEAF_LIST): New.
- (ATTR_MALLOC_SIZE_1_2_NOTHROW_LEAF_LIST): Remove.
+ (ATTR_MALLOC_SIZE_1_2_NOTHROW_LEAF_LIST): Remove.
(ATTR_MALLOC_WARN_UNUSED_RESULT_SIZE_1_2_NOTHROW_LEAF_LIST):
New.
(ATTR_ALLOC_SIZE_2_NOTHROW_LEAF_LIST): Remove.
(ix86_adjust_stack_and_probe): Ditto.
(ix86_emit_probe_stack_range): Use gen_probe_stack_range instead
of ix86_gen_probe_stack_range.
- (ix86_expand_prologue): Use gen_pro_epilogue_adjust_stack_sub
+ (ix86_expand_prologue): Use gen_pro_epilogue_adjust_stack_sub
instead of gen_pro_epilogue_adjust_stack_{si,di}_sub.
* config/i386/x86-tune-sched.c (ix86_macro_fusion_pair_p):
Include insn-opinit.h. Use code_for_stack_protect_test_1 instead of
(rs6000_file_start): ..extracted from here, and modified to
test all ISA bits.
(rs6000_output_function_prologue): Emit .machine as necessary.
- * testsuite/gcc.target/powerpc/ppc32-abi-dfp-1.c: Don't use
- power mnemonics.
- * testsuite/gcc.dg/vect/O3-pr70130.c: Disable default options
- added by check_vect_support_and_set_flags.
- * testsuite/gcc.dg/vect/pr48765.c: Likewise.
- * testsuite/gfortran.dg/vect/pr45714-b.f: Likewise.
2019-05-22 Hans-Peter Nilsson <hp@axis.com>
* config/i386/i386.md (anddi_1 to andsi_1_zext splitter):
Avoid calling gen_lowpart with CONST operand.
-2019-05-21 Alexandre Oliva <aoliva@redhat.com>
+2019-05-21 Alexandre Oliva <aoliva@redhat.com>
* tree-ssa-threadupdate.c (struct ssa_local_info_t): Add
field template_last_to_copy.
PR target/90545
* config/rs6000/rs6000.c (rs6000_register_move_cost): Increase
power9 direct move cost.
- * testsuite/gcc.target/powerpc/fold-vec-splats-floatdouble.c:
- Correct comments and rename functions to suit parameters.
2019-05-21 Richard Biener <rguenther@suse.de>
edges if for_edge_insertion_p is false. Fix whitespace.
* tree-ssa-pre.c (pass_pre::execute): Call
split_edges_for_insertion instead of split_critical_edges.
- * gcc/tree-ssa-tail-merge.c (tail_merge_optimize): Ditto.
- * gcc/tree-ssa-sink.c (pass_sink_code::execute): Ditto.
+ * tree-ssa-tail-merge.c (tail_merge_optimize): Ditto.
+ * tree-ssa-sink.c (pass_sink_code::execute): Ditto.
(pass_data_sink_code): Update function name in the comment.
2019-05-21 Vladislav Ivanishin <vlad@ispras.ru>
* lto-streamer.h (LTO_major_version): Bump to 9.
-2019-05-16 Jun Ma <JunMa@linux.alibaba.com>
+2019-05-16 Jun Ma <JunMa@linux.alibaba.com>
PR tree-optimization/90106
* tree-call-cdce.c (shrink_wrap_one_built_in_call_with_conds): Add
PR target/84369
* config/rs6000/power9.md: Add store forwarding bypass.
-2019-04-16 Alexandre Oliva <aoliva@redhat.com>
+2019-04-16 Alexandre Oliva <aoliva@redhat.com>
PR debug/89528
* valtrack.c (dead_debug_insert_temp): Reset debug references
2019-03-27 Jeff Law <law@redhat.com>
-
PR rtl-optimization/87761
PR rtl-optimization/89826
* regcprop.c (copyprop_hardreg_forward_1): Move may_trap_p test
alignment in diagnostic. Avoid assuming argument fits in SHWI,
convert it to UHWI when it fits.
-2019-03-25 Johan Karlsson <johan.karlsson@enea.com>
+2019-03-25 Johan Karlsson <johan.karlsson@enea.com>
PR debug/86964
* dwarf2out.c (premark_used_variables): New function.
(altivec_expand_vec_ext_builtin): Use modular arithmetic to
compute index.
-2019-03-15 Alexandre Oliva <aoliva@redhat.com>
+2019-03-15 Alexandre Oliva <aoliva@redhat.com>
PR c++/88534
PR c++/88537
(s390_sched_reorder): Likewise.
(s390_sched_variable_issue): Rework and use new functions.
(s390_sched_init): Use new functions.
- * config/s390/s390.h (s390_tune_attr): Add z14.
+ * config/s390/s390.h (s390_tune_attr): Add z14.
* config/s390/s390.md: Add z14.
2019-03-12 Robin Dapp <rdapp@linux.ibm.com>
(__builtin_has_attribute): Add missing comma after @xref.
(__builtin_object_size): Ditto.
* doc/md.texi (cond_*{mode}): Use @samp instead of @var around op1[i].
- * fortran/invoke.texi (-ffpe-trap): Use @var for every item
- in the list.
2019-02-26 Jeff Law <law@redhat.com>
(_mm_cvttpd_epi32): Likewise.
PR target/89338
- * config/rs6000/xmmintrin.h (_mm_cvtss_f32): Fix type mismatch.
+ * config/rs6000/xmmintrin.h (_mm_cvtss_f32): Fix type mismatch.
(_mm_cvt_ss2si): Fix type mismatch and 32-bit.
PR target/89339
(diagnostic_show_locus): Use linenum_arith_t when iterating over
lines within each line_span.
-2019-02-20 Andre Vieira <andre.simoesdiasvieira@arm.com>
+2019-02-20 Andre Vieira <andre.simoesdiasvieira@arm.com>
PR target/86487
* lra-constraints.c(uses_hard_regs_p): Fix handling of
2019-02-20 Li Jia He <helijia@linux.ibm.com>
PR target/88100
- * gcc/config/rs6000/rs6000.c (rs6000_gimple_fold_builtin)
+ * config/rs6000/rs6000.c (rs6000_gimple_fold_builtin)
<case ALTIVEC_BUILTIN_VSPLTISB, ALTIVEC_BUILTIN_VSPLTISH,
ALTIVEC_BUILTIN_VSPLTISW>: Don't convert the operand before
range checking it.
* config/i386/i386.c (ix86_function_arg_advance): Remove
unrelated comment.
(struct builtin_isa): Remove leaf_p and nothrow_p fields.
- (def_builtin): Remove usage of dead
- fields.
+ (def_builtin): Remove usage of dead fields.
(ix86_add_new_builtins): Likewise.
* ipa-fnsummary.c (compute_fn_summary): Likewise.
* ipa-icf.c (sem_function::equals_wpa): Likewise.
* doc/invoke.texi: Add -menqcmd.
2019-01-23 Bin Cheng <bin.cheng@arm.com>
- Steve Ellcey <sellcey@marvell.com>
+ Steve Ellcey <sellcey@marvell.com>
PR target/85711
* recog.c (address_operand): Return false on wrong mode for address.
* config/aarch64/aarch64.c (aarch64_expand_prologue): Use new
epilogue/prologue scratch registers EP0_REGNUM and EP1_REGNUM.
(aarch64_expand_epilogue): Likewise.
- (aarch64_output_mi_thunk): Likewise
+ (aarch64_output_mi_thunk): Likewise.
* config/aarch64/aarch64.h (REG_CLASS_CONTENTS): Change
TAILCALL_ADDR_REGS to x16 and x17.
* config/aarch64/aarch64.md: Define EP0_REGNUM and EP1_REGNUM.
to propagate state.
(nvptx_shared_propagate): Initialize vector bcast partition and
synchronization state.
- (nvptx_single): Generalize to enable vectors to use shared-memory
+ (nvptx_single): Generalize to enable vectors to use shared-memory
to propagate state.
(nvptx_process_pars): Likewise.
(nvptx_set_current_function): Initialize oacc_broadcast_partition.
(format_string): Set unlikely range appropriately.
* gimple-fold.c (get_range_strlen): Update comments. Fix minor
formatting issues.
- (get_range_strlen): Accept c_strlen_data pointer for external
+ (get_range_strlen): Accept c_strlen_data pointer for external
call sites as well. Pass through to call to internal get_range_strlen.
Adjust minlen, maxlen and maxbound as needed.
(get_maxval_strlen): Update comments.
- (gimple_fold_builtin_strlen): Update call to get_range_strlen
+ (gimple_fold_builtin_strlen): Update call to get_range_strlen
to use c_strlen_data pointer. Change variable accesses to instead
use c_strlen_data data members.
-2019-08-02 Alexandre Oliva <oliva@adacore.com>
+2019-08-02 Alexandre Oliva <oliva@adacore.com>
* libgnat/a-exexpr.adb (Begin_Handler_v1, End_Handler_v1): New.
(Claimed_Cleanup): New.
2019-07-22 Ed Schonberg <schonberg@adacore.com>
- * freeze.adb (Freeze_Fixed_Point_Type): When freezing a
+ * freeze.adb (Freeze_Fixed_Point_Type): When freezing a
fixed-point subtype, check whether the parent type declarastion
includes an aspect specification for the 'Small type attribute,
and inherit the specified value.
* libgnat/g-traceb.ads, libgnat/g-traceb.adb (Call_Chain): New
function.
-2019-07-04 James Clarke <jrtc27@debian.org>
+2019-07-04 James Clarke <jrtc27@debian.org>
* libgnarl/s-osinte__kfreebsd-gnu.ads (clockid_t): Make type
definition public.
2019-07-03 Ed Schonberg <schonberg@adacore.com>
- * inline.adb (Make_Loop_Labels_Unique): New procedure to modify
+ * inline.adb (Make_Loop_Labels_Unique): New procedure to modify
the source code of subprograms that are inlined by the
front-end, to prevent accidental duplication between loop labels
in the inlined code and the code surrounding the inlined call.
+2019-06-25 Jozef Lawrynowicz <jozef.l@mittosystems.com>
+
+ * brig-lang.c (brig_build_c_type_nodes): Accept "__intN__"
+ format of "__intN" types for SIZE_TYPE.
+
2019-05-16 Martin Sebor <msebor@redhat.com>
- * brigfrontend/brig-control-handler.cc
- (brig_directive_control_handler::operator): Remove trailing newline
- from a diagnostic.
- * brigfrontend/brig-module-handler.cc
- (brig_directive_module_handler::operator): Remove a duplicated space
- from a diagnostic.
+ * brigfrontend/brig-control-handler.cc
+ (brig_directive_control_handler::operator): Remove trailing newline
+ from a diagnostic.
+ * brigfrontend/brig-module-handler.cc
+ (brig_directive_module_handler::operator): Remove a duplicated space
+ from a diagnostic.
2019-01-01 Jakub Jelinek <jakub@redhat.com>
2018-07-20 Martin Sebor <msebor@redhat.com>
PR middle-end/82063
- * brig/brig-lang.c (brig_langhook_handle_option): Change function
+ * brig-lang.c (brig_langhook_handle_option): Change function
argument to HOST_WIDE_INT.
2018-07-04 Martin Jambor <mjambor@suse.cz>
2018-05-04 Pekka Jääskeläinen <pekka.jaaskelainen@parmance.com>
- * brig/brigfrontend/brig-basic-inst-handler.cc: Fix handling of NOPs.
+ * brigfrontend/brig-basic-inst-handler.cc: Fix handling of NOPs.
2018-05-04 Pekka Jääskeläinen <pekka.jaaskelainen@parmance.com>
- add qualifiers to generated function parameters.
Const and restrict on the hidden local/private pointers,
the arg buffer and the context pointer help some optimizations.
- * brig/brigfrontend/brig-basic-inst-handler.cc: See above.
- * brig/brigfrontend/brig-branch-inst-handler.cc: See above.
- * brig/brigfrontend/brig-cmp-inst-handler.cc: See above.
- * brig/brigfrontend/brig-code-entry-handler.cc: See above.
- * brig/brigfrontend/brig-code-entry-handler.h: See above.
- * brig/brigfrontend/brig-control-handler.cc: See above.
- * brig/brigfrontend/brig-cvt-inst-handler.cc: See above.
- * brig/brigfrontend/brig-function-handler.cc: See above.
- * brig/brigfrontend/brig-function.cc: See above.
- * brig/brigfrontend/brig-function.h: See above.
- * brig/brigfrontend/brig-label-handler.cc: See above.
- * brig/brigfrontend/brig-lane-inst-handler.cc: See above.
- * brig/brigfrontend/brig-mem-inst-handler.cc: See above.
- * brig/brigfrontend/phsa.h: See above.
- * brig/lang.opt: See above.
+ * brigfrontend/brig-basic-inst-handler.cc: See above.
+ * brigfrontend/brig-branch-inst-handler.cc: See above.
+ * brigfrontend/brig-cmp-inst-handler.cc: See above.
+ * brigfrontend/brig-code-entry-handler.cc: See above.
+ * brigfrontend/brig-code-entry-handler.h: See above.
+ * brigfrontend/brig-control-handler.cc: See above.
+ * brigfrontend/brig-cvt-inst-handler.cc: See above.
+ * brigfrontend/brig-function-handler.cc: See above.
+ * brigfrontend/brig-function.cc: See above.
+ * brigfrontend/brig-function.h: See above.
+ * brigfrontend/brig-label-handler.cc: See above.
+ * brigfrontend/brig-lane-inst-handler.cc: See above.
+ * brigfrontend/brig-mem-inst-handler.cc: See above.
+ * brigfrontend/phsa.h: See above.
+ * lang.opt: See above.
2018-05-04 Pekka Jääskeläinen <pekka.jaaskelainen@parmance.com>
- * brig/brigfrontend/brig-function-handler.cc: Skip multiple forward
+ * brigfrontend/brig-function-handler.cc: Skip multiple forward
declarations of the same function.
2018-05-04 Pekka Jääskeläinen <pekka.jaaskelainen@parmance.com>
- * brig/brig-lang.c: Do not allow optimizations based on known C
+ * brig-lang.c: Do not allow optimizations based on known C
builtins.
2018-05-04 Pekka Jääskeläinen <pekka.jaaskelainen@parmance.com>
- * brig/brig-lang.c: Allow controlling strict aliasing from
+ * brig-lang.c: Allow controlling strict aliasing from
cmd line.
2018-05-04 Pekka Jääskeläinen <pekka.jaaskelainen@parmance.com>
- * brig/brigfrontend/brig-code-entry-handler.cc: The modulo in
+ * brigfrontend/brig-code-entry-handler.cc: The modulo in
ID computation should not be needed.
2018-05-04 Pekka Jääskeläinen <pekka.jaaskelainen@parmance.com>
- * brig/brig-lang.c: Add support for whole program
+ * brig-lang.c: Add support for whole program
optimizations by marking the kernels externally visible.
- * brig/brigfrontend/brig-branch-inst-handler.cc: See above.
- * brig/brigfrontend/brig-function-handler.cc: See above.
- * brig/brigfrontend/brig-function.cc: See above.
- * brig/brigfrontend/brig-to-generic.cc: See above.
- * brig/brigfrontend/brig-to-generic.h: See above.
- * brig/brigfrontend/brig-variable-handler.h: See above.
+ * brigfrontend/brig-branch-inst-handler.cc: See above.
+ * brigfrontend/brig-function-handler.cc: See above.
+ * brigfrontend/brig-function.cc: See above.
+ * brigfrontend/brig-to-generic.cc: See above.
+ * brigfrontend/brig-to-generic.h: See above.
+ * brigfrontend/brig-variable-handler.h: See above.
2018-01-03 Richard Sandiford <richard.sandiford@linaro.org>
Alan Hayward <alan.hayward@arm.com>
can be used to patch away BRIG entries at the binary level.
Also add extra error detection for zeroed regions: make sure
the byteCount field is never zero.
- * brig/brigfrontend/phsa.h: Added a new error prefix for
+ * brigfrontend/phsa.h: Added a new error prefix for
errors which are due to corrupted BRIG modules.
2017-10-09 Henry Linjamäki <henry.linjamaki@parmance.com>
* c-omp.c (c_finish_omp_atomic): Allow tree_invariant_p in addition
to SAVE_EXPR in first operand of a COMPOUND_EXPR.
+2019-06-25 Jozef Lawrynowicz <jozef.l@mittosystems.com>
+
+ * c-common.c (c_common_nodes_and_builtins): Define
+ alternate "__intN__" name for "__intN" types.
+
2019-06-24 Jan Hubicka <jh@suse.cz>
* c-common.c (braced_lists_to_strings): Check that
2019-05-16 Martin Sebor <msebor@redhat.com>
- * c-attribs.c (handle_no_sanitize_attribute): Quote identifiers,
- keywords, operators, and types in diagnostics.
- (handle_scalar_storage_order_attribute): Same.
- (handle_mode_attribute): Same.
- (handle_visibility_attribute): Same.
- (handle_assume_aligned_attribute): Same.
- (handle_no_split_stack_attribute): Same.
- * c-common.c (shorten_compare): Same.
- (c_common_truthvalue_conversion): Same.
- (cb_get_source_date_epoch): Same.
- * c-lex.c (cb_def_pragma): Quote keywords, operators, and types
- in diagnostics.
- (interpret_float): Same.
- * c-omp.c (c_finish_omp_for): Same.
- * c-opts.c (c_common_post_options): Same.
- * c-pch.c (c_common_pch_pragma): Same.
- * c-pragma.c (pop_alignment): Same.
- (handle_pragma_pack): Same.
- (apply_pragma_weak): Same.
- (handle_pragma_weak): Same.
- (handle_pragma_scalar_storage_order): Same.
- (handle_pragma_redefine_extname): Same.
- (add_to_renaming_pragma_list): Same.
- (maybe_apply_renaming_pragma): Same.
- (push_visibility): Same.
- (handle_pragma_visibility): Same.
- (handle_pragma_optimize): Same.
- (handle_pragma_message): Same.
- * c-warn.c (warn_for_omitted_condop): Same.
- (lvalue_error): Same.
+ * c-attribs.c (handle_no_sanitize_attribute): Quote identifiers,
+ keywords, operators, and types in diagnostics.
+ (handle_scalar_storage_order_attribute): Same.
+ (handle_mode_attribute): Same.
+ (handle_visibility_attribute): Same.
+ (handle_assume_aligned_attribute): Same.
+ (handle_no_split_stack_attribute): Same.
+ * c-common.c (shorten_compare): Same.
+ (c_common_truthvalue_conversion): Same.
+ (cb_get_source_date_epoch): Same.
+ * c-lex.c (cb_def_pragma): Quote keywords, operators, and types
+ in diagnostics.
+ (interpret_float): Same.
+ * c-omp.c (c_finish_omp_for): Same.
+ * c-opts.c (c_common_post_options): Same.
+ * c-pch.c (c_common_pch_pragma): Same.
+ * c-pragma.c (pop_alignment): Same.
+ (handle_pragma_pack): Same.
+ (apply_pragma_weak): Same.
+ (handle_pragma_weak): Same.
+ (handle_pragma_scalar_storage_order): Same.
+ (handle_pragma_redefine_extname): Same.
+ (add_to_renaming_pragma_list): Same.
+ (maybe_apply_renaming_pragma): Same.
+ (push_visibility): Same.
+ (handle_pragma_visibility): Same.
+ (handle_pragma_optimize): Same.
+ (handle_pragma_message): Same.
+ * c-warn.c (warn_for_omitted_condop): Same.
+ (lvalue_error): Same.
2019-05-15 Richard Biener <rguenther@suse.de>
* c-common.c (c_common_mark_addressable_vec): Also mark
a COMPOUND_LITERAL_EXPR_DECL addressable similar to
c_mark_addressable.
-
+
2019-05-06 Nathan Sidwell <nathan@acm.org>
* c-opts.c (handle_defered_opts): Rename struct deps to struc mkdeps.
2019-04-05 Marek Polacek <polacek@redhat.com>
- PR c++/89973 - -Waddress-of-packed-member ICE with invalid conversion.
+ PR c++/89973 - -Waddress-of-packed-member ICE with invalid conversion.
* c-warn.c (check_address_or_pointer_of_packed_member): Check the type
of RHS.
2018-08-01 Martin Sebor <msebor@redhat.com>
PR tree-optimization/86650
- * c-family/c-format.c (gcc_tdiag_char_table): Update comment for "%G".
+ * c-format.c (gcc_tdiag_char_table): Update comment for "%G".
(gcc_cdiag_char_table, gcc_cxxdiag_char_table): Same.
(init_dynamic_diag_info): Update from "gcall *" to "gimple *".
* c-format.h (T89_G): Update to be "gimple *" rather than
2018-07-20 Martin Sebor <msebor@redhat.com>
PR middle-end/82063
- * gcc/c-family/c.opt (-Warray-bounds): Remove redundant -Wall.
+ * c.opt (-Warray-bounds): Remove redundant -Wall.
2018-07-20 Martin Sebor <msebor@redhat.com>
* cppspec.c: Include opt-suggestions.h.
-2018-06-20 Chung-Lin Tang <cltang@codesourcery.com>
- Thomas Schwinge <thomas@codesourcery.com>
+2018-06-20 Chung-Lin Tang <cltang@codesourcery.com>
+ Thomas Schwinge <thomas@codesourcery.com>
Cesar Philippidis <cesar@codesourcery.com>
* c-pragma.h (enum pragma_omp_clause): Add
PR c/55976
* c-opts.c (c_common_post_options): Set default for warn_return_type
- for C++/C++ with ObjC extensions only. For C, makes it possible to
+ for C++/C++ with ObjC extensions only. For C, makes it possible to
differentiate between default (no option), -Wreturn-type, and
-Wno-return-type.
2018-03-12 Martin Sebor <msebor@redhat.com>
PR tree-optimization/83456
- * gcc/c-family/c-common.c (check_function_restrict): Return bool.
+ * c-common.c (check_function_restrict): Return bool.
Restore checking of bounded built-in functions.
(check_function_arguments): Also return the result
of warn_for_restrict.
- * gcc/c-family/c-common.c (check_function_restrict): Return bool.
- * gcc/c-family/c-warn.c (warn_for_restrict): Return bool.
+ * c-common.c (check_function_restrict): Return bool.
+ * c-warn.c (warn_for_restrict): Return bool.
2018-03-02 Marek Polacek <polacek@redhat.com>
* c-pragma.c (init_pragma): Register pragma GCC unroll.
* c-pragma.h (enum pragma_kind): Add PRAGMA_UNROLL.
-2017-12-22 Alexandre Oliva <aoliva@redhat.com>
+2017-12-22 Alexandre Oliva <aoliva@redhat.com>
PR debug/83527
PR debug/83419
Adjust the size of buf1 and buf2, add a new buf to avoid
format-overflow warning.
-2017-12-12 Alexandre Oliva <aoliva@redhat.com>
+2017-12-12 Alexandre Oliva <aoliva@redhat.com>
* c-semantics.c (pop_stmt_list): Move begin stmt marker into
subsequent statement list.
rather than DECL_INITIAL.
(common_handle_aligned_attribute): Likewise.
-2017-09-20 Alexandre Oliva <aoliva@redhat.com>
+2017-09-20 Alexandre Oliva <aoliva@redhat.com>
* c.opt (gen-decls): Add RejectNegative.
* c-warn.c (warn_tautological_bitwise_comparison): New function.
(warn_tautological_cmp): Call it.
-2017-09-01 Boris Kolpackov <boris@codesynthesis.com>
+2017-09-01 Boris Kolpackov <boris@codesynthesis.com>
* c-opts.c (c_common_finish): Write dependency information even if
there are errors.
* c-format.c (struct format_check_context): Add field "arglocs".
(check_function_format): Add param "arglocs"; pass it to
check_format_info.
- (check_format_info): Add param "arglocs"; use it to initialize
+ (check_format_info): Add param "arglocs"; use it to initialize
new field of format_ctx.
(check_format_arg): Pass format_ctx->arglocs to new param of
check_format_info_main.
PR middle-end/77708
* c.opt (-Wformat-truncation): New option.
-2017-01-06 Alexandre Oliva <aoliva@redhat.com>
+2017-01-06 Alexandre Oliva <aoliva@redhat.com>
* c-pretty-print.c (pp_c_tree_decl_identifier): Convert 16-bit
value to unsigned short to fit in 4 hex digits without
(format_warning_va): Move to substring-locations.c.
(format_warning_at_substring): Likewise.
-2016-09-06 Martin Sebor <msebor@redhat.com>
+2016-09-06 Martin Sebor <msebor@redhat.com>
PR c/77336
* c-format.c (check_function_format): Avoid issuing warnings for
Commentary and rearrangement of tests.
* g++.dg/cpp1y/feat-cxx14.C: Enable aggregate NSDMI test.
Commentary and rearrangement of tests.
- * g++.dg/cpp1y/feat-cxx98-neg.C: Ditto
+ * g++.dg/cpp1y/feat-cxx98-neg.C: Ditto.
* g++.dg/cpp1y/feat-cxx98.C: Commentary.
2014-10-29 Richard Sandiford <richard.sandiford@arm.com>
2014-08-03 Marek Polacek <polacek@redhat.com>
- * c-common.c (check_case_value): Add location_t parameter. Use it.
+ * c-common.c (check_case_value): Add location_t parameter. Use it.
(c_add_case_label): Pass loc to check_case_value.
2014-08-02 Trevor Saunders <tsaunders@mozilla.com>
* c-common.h (registered_builtin_types): Declare.
2014-04-14 Richard Biener <rguenther@suse.de>
- Marc Glisse <marc.glisse@inria.fr>
+ Marc Glisse <marc.glisse@inria.fr>
PR c/60819
* c-common.c (convert_vector_to_pointer_for_subscript): Properly
* c-common.c (c_common_attribute_table): Added "cilk simd function"
attribute.
* c-pragma.h (enum pragma_cilk_clause): Remove.
- (enum pragma_omp_clause): Added the following fields:
+ (enum pragma_omp_clause): Added the following fields:
PRAGMA_CILK_CLAUSE_NOMASK, PRAGMA_CILK_CLAUSE_MASK,
PRAGMA_CILK_CLAUSE_VECTORLENGTH, PRAGMA_CILK_CLAUSE_NONE,
PRAGMA_CILK_CLAUSE_LINEAR, PRAGMA_CILK_CLAUSE_PRIVATE,
2013-11-22 Andrew MacLeod <amacleod@redhat.com>
* c-common.c: Add required include files from gimple.h.
- * c-gimplify.c: Likewise
- * cilk.c: Likewise
+ * c-gimplify.c: Likewise.
+ * cilk.c: Likewise.
2013-11-22 David Malcolm <dmalcolm@redhat.com>
(pp_c_direct_abstract_declarator): Likewise.
* c-pretty-print.c (c_pretty_printer::abstract_declarator): Rename
from pp_c_abstract_declarator. Adjust.
- (c_pretty_printer::direct_abstract_declarator): Rename from
+ (c_pretty_printer::direct_abstract_declarator): Rename from
pp_c_direct_abstract_declarator. Adjust.
(c_pretty_printer::function_specifier): Rename from
pp_c_function_specifier. Adjust.
* c-opts.c (c_common_handle_option): Do not handle Wformat here.
* c-format.c (set_Wformat): Delete.
(decode_format_attr): Replace OPT_Wformat with OPT_Wformat_.
- (maybe_read_dollar_number): Likewise.
- (avoid_dollar_number): Likewise.
- (finish_dollar_format_checking): Likewise.
- (check_format_info): Likewise.
- (check_format_info_main): Likewise.
- (check_format_types): Likewise.
- (format_type_warning): Likewise.
- * c-common.c (int): Likewise.
- (check_function_sentinel): Likewise.
+ (maybe_read_dollar_number): Likewise.
+ (avoid_dollar_number): Likewise.
+ (finish_dollar_format_checking): Likewise.
+ (check_format_info): Likewise.
+ (check_format_info_main): Likewise.
+ (check_format_types): Likewise.
+ (format_type_warning): Likewise.
+ * c-common.c (int): Likewise.
+ (check_function_sentinel): Likewise.
* c-common.h (warn_format,set_Wformat): Do not declare here.
2012-11-07 Manuel López-Ibáñez <manu@gcc.gnu.org>
2012-05-16 Dodji Seketeli <dodji@redhat.com>
PR preprocessor/7263
- * c-lex.c (c_lex_with_flags): Pass a virtual location to the call
+ * c-lex.c (c_lex_with_flags): Pass a virtual location to the call
to cpp_classify_number. For diagnostics, use the precise location
instead of the global input_location.
2012-04-30 Dodji Seketeli <dodji@redhat.com>
Add -Wvarargs option
- * c.opt (Wvarargs): Define new option.
+ * c.opt (Wvarargs): Define new option.
2012-04-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
2011-11-08 Richard Guenther <rguenther@suse.de>
PR middle-end/51010
- c-family/
+ * c-pretty-print.c (pp_c_expression): Handle SSA_NAMEs.
2011-11-07 Richard Henderson <rth@redhat.com>
Aldy Hernandez <aldyh@redhat.com>
first_target_format_type: New variable.
(handle_format_attribute): Set up first_target_format_type, pass the
expected format arg string type to check_format_string().
- * c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL): New flag.
+ * c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL): New flag.
* stub-objc.c (objc_string_ref_type_p): New.
(objc_check_format_arg): New.
Merge from 'apple/trunk' branch on FSF servers.
- 2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
+ 2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
Radar 4133425
* c-common.h (objc_diagnose_private_ivar): New decl.
2010-10-13 Iain Sandoe <iains@gcc.gnu.org>
merge from FSF apple 'trunk' branch.
- 2006-04-26 Fariborz Jahanian <fjahanian@apple.com>
+ 2006-04-26 Fariborz Jahanian <fjahanian@apple.com>
Radar 3803157 (method attributes)
* c-common.c (handle_deprecated_attribute): Recognize
* c-decl.c (finish_function): Check targetm.warn_func_return
before issuing a -Wreturn-type warning.
-2019-07-12 Alexandre Oliva <oliva@adacore.com>
+2019-07-12 Alexandre Oliva <oliva@adacore.com>
* gimple-parser.c (c_parser_gimple_try_stmt): New.
(c_parser_compound_statement): Call it.
_Literal (char *) &"foo" for address literals pointing to
STRING_CSTs.
+2019-06-25 Jozef Lawrynowicz <jozef.l@mittosystems.com>
+
+ * c-parser.c (c_parse_init): Create keyword for "__intN__" type.
+ * c-decl.c (declspecs_add_type): Don't pedwarn about "__intN" ISO
+ C incompatibility if alternate "__intN__" form is used.
+
2019-06-24 Martin Sebor <msebor@redhat.com>
* c-typeck.c (build_binary_op): Hyphenate floating-point.
2019-05-16 Martin Sebor <msebor@redhat.com>
- * c-decl.c (start_decl): Quote keywords, operators, and
- types in diagnostics.
- (finish_decl): Same.
- * c-parser.c (c_parser_asm_statement): Same.
- (c_parser_conditional_expression): Same.
- (c_parser_transaction_cancel): Same.
- * c-typeck.c (c_common_type): Same.
- (build_conditional_expr): Same.
- (digest_init): Same.
- (process_init_element): Same.
- (build_binary_op): Same.
+ * c-decl.c (start_decl): Quote keywords, operators, and
+ types in diagnostics.
+ (finish_decl): Same.
+ * c-parser.c (c_parser_asm_statement): Same.
+ (c_parser_conditional_expression): Same.
+ (c_parser_transaction_cancel): Same.
+ * c-typeck.c (c_common_type): Same.
+ (build_conditional_expr): Same.
+ (digest_init): Same.
+ (process_init_element): Same.
+ (build_binary_op): Same.
2019-05-17 Richard Biener <rguenther@suse.de>
(c_parser_oacc_simple_clause): Replace parser with loc formal
parameter. Adjust all users.
-2019-02-19 Chung-Lin Tang <cltang@codesourcery.com>
+2019-02-19 Chung-Lin Tang <cltang@codesourcery.com>
PR c/87924
* c-parser.c (c_parser_oacc_clause_wait): Add representation of wait
PR c/87347
* c-parser.c (warn_for_abs): Bail out if TYPE_ARG_TYPES is NULL. Fix
- comment.
+ comment.
2018-09-17 David Malcolm <dmalcolm@redhat.com>
(build_binary_op): Use it when calling binary_op_error.
2018-08-15 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
-
+
* c-decl.c (start_decl): Do not warn if variables is named as main
and is a local variable.
type here, instead add "omp declare target implicit" attribute.
(finish_decl): Diagnose vars without mappable type here.
-2018-06-20 Chung-Lin Tang <cltang@codesourcery.com>
- Thomas Schwinge <thomas@codesourcery.com>
+2018-06-20 Chung-Lin Tang <cltang@codesourcery.com>
+ Thomas Schwinge <thomas@codesourcery.com>
Cesar Philippidis <cesar@codesourcery.com>
* c-parser.c (c_parser_omp_clause_name): Add support for finalize
PR c/82679
* c-decl.c (grokdeclarator): Check declspecs insted of atomicp.
-2017-12-12 Alexandre Oliva <aoliva@redhat.com>
+2017-12-12 Alexandre Oliva <aoliva@redhat.com>
* c-objc-common.h (LANG_HOOKS_EMITS_BEGIN_STMT): Redefine as true.
* c-parser.c (add_debug_begin_stmt): New.
* c-typeck.c (c_start_case): Build SWITCH_EXPR using build2 instead
of build3.
-2017-11-14 Boris Kolpackov <boris@codesynthesis.com>
+2017-11-14 Boris Kolpackov <boris@codesynthesis.com>
* Make-lang.in (c.install-plugin): Install backend import library.
PR c/81417
* c-array-notation.c (fix_builtin_array_notation_fn): Update calls to
- build_conditional_expr.
+ build_conditional_expr.
* c-parser.c (c_parser_conditional_expression): Create locations for
EXP1 and EXP2 from their source ranges. Pass the locations down to
build_conditional_expr.
* c-warn.c (warn_for_multistatement_macros): Prevent bogus
warnings. Avoid walking MACRO_MAP_LOCATIONS.
-2017-07-31 Jan Hubicka <hubicka@ucw.cz>
+2017-07-31 Jan Hubicka <hubicka@ucw.cz>
Martin Liska <mliska@suse.cz>
* c-typeck.c (c_finish_goto_label): Build gimple predict
* c-convert.c (convert): Replace c_save_expr with save_expr. Don't
call c_fully_fold.
(convert) <case COMPLEX_TYPE>: Remove special handling of COMPLEX_TYPEs.
- * c-decl.c (grokdeclarator): Replace c_save_expr with save_expr.
+ * c-decl.c (grokdeclarator): Replace c_save_expr with save_expr.
* c-fold.c (c_fully_fold_internal): Handle SAVE_EXPR.
* c-parser.c (c_parser_declaration_or_fndef): Replace c_save_expr with
save_expr.
set_c_expr_source_range when parsing ssa-name.
2017-02-10 Prasad Ghangal <prasad.ghangal@gmail.com>
- Richard Biener <rguenther@suse.de>
+ Richard Biener <rguenther@suse.de>
* gimple-parser.c (c_parser_gimple_binary_expression): Avoid
building IL when arguments are error_mark_node.
Julian Brown <julian@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
- c/
* c-parser.c (c_parser_declaration_or_fndef): Add OpenACC
routine arg.
(c_parser_declaration_or_fndef): Call c_finish_oacc_routine.
PR c/49706
* c-typeck.c (parser_build_binary_op): Warn when logical not is used
- on the left hand side operand of a comparison.
+ on the left hand side operand of a comparison.
2014-06-05 Marek Polacek <polacek@redhat.com>
(build_cilk_spawn): New function.
(build_cilk_sync): Likewise.
* Makefile.in (c-decl.o): Added cilk.h in dependency list.
-
+
2013-10-27 Tobias Burnus <burnus@net-b.de>
PR other/33426
* c-array-notation.c (expand_array_notation_exprs): Added
ARRAY_NOTATION_REF case.
-
+
2013-06-07 Balaji V. Iyer <balaji.v.iyer@intel.com>
* c-array-notation.c (length_mismatch_in_expr_p): Moved this
(replace_invariant_exprs): Initialized additional_tcodes to NULL.
(struct inv_list): Moved this to c-family/array-notation-common.c.
* c-tree.h (is_cilkplus_builtin_reduce): Remove prototype.
-
+
2013-06-05 Balaji V. Iyer <balaji.v.iyer@intel.com>
* c-typeck.c (convert_arguments): Moved checking of builtin cilkplus
to the end of function parsing.
* c-array-notation.c (fix_conditional_array_notations_1): Expanded the
whole if-statement instead of just the condition.
- (expand_array_notation_exprs): Added MODIFY_EXPR case.
+ (expand_array_notation_exprs): Added MODIFY_EXPR case.
2013-06-03 Balaji V. Iyer <balaji.v.iyer@intel.com>
* c-array-notation.c (build_array_notation_expr): Initialized rhs_length
array to NULL_TREE if they are unused. Also added a check for the
field to be NULL before its fields are used in future.
-
+
2013-05-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR bootstrap/57450
(c_parser_array_notation): New function.
* c-array-notation.c: New file.
* c-tree.h (is_cilkplus_reduce_builtin): Protoize.
-
+
2013-05-23 Mike Stump <mikestump@comcast.net>
* c-typeck.c (convert_for_assignment): Handle references to memory
* cp-tree.h (cp_omp_emit_unmappable_type_notes): New prototype.
* decl.c (cp_finish_decl): Call cp_omp_emit_unmappable_type_notes.
* decl2.c (cp_omp_mappable_type): Move contents to ...
- (cp_omp_mappable_type_1): ... here and add note output.
+ (cp_omp_mappable_type_1): ... here and add note output.
(cp_omp_emit_unmappable_type_notes): New function.
* semantics.c (finish_omp_clauses): Call
cp_omp_emit_unmappable_type_notes in four places.
2019-07-03 Martin Liska <mliska@suse.cz>
- * call.c (build_new_op_1): Remove
- dead assignemts.
+ * call.c (build_new_op_1): Remove dead assignemts.
* typeck.c (cp_build_binary_op): Likewise.
2019-06-27 Jason Merrill <jason@redhat.com>
* constexpr.c (cxx_eval_array_reference): Don't look through VCE from
vector type if lval.
+2019-06-25 Jozef Lawrynowicz <jozef.l@mittosystems.com>
+
+ * lex.c (init_reswords): Create keyword for "__intN__" type.
+ * cp-tree.h (cp_decl_specifier_seq): New bitfield "int_n_alt".
+ * decl.c (grokdeclarator): Don't pedwarn about "__intN" ISO
+ C incompatibility if alternate "__intN__" form is used.
+ * parser.c (cp_parser_simple_type_specifier): Set
+ decl_specs->int_n_alt if "__intN__" form is used.
+
2019-06-24 Jan Hubicka <jh@suse.cz>
* lex.c (cxx_make_type): Set TYPE_CXX_ODR_P.
PR c++/90449 - add -Winaccessible-base option.
* class.c (warn_about_ambiguous_bases): Changed name to:
maybe_warn_about_inaccessible_bases.
- (maybe_warn_about_inaccessible_bases): Implemented new
+ (maybe_warn_about_inaccessible_bases): Implemented new
Winaccessible-base warning option for both direct and virtual
base warnings.
(layout_class_type): Call to warn_about_ambiguous_bases changed to fit
* cp-tree.h (IDENTIFIER_LAMBDA_P): New.
(TYPE_ANON_P): New.
- (LAMBDA_TYPE_P, TYPE_UNNAMED_P): Likewise.
+ (LAMBDA_TYPE_P, TYPE_UNNAMED_P): Likewise.
(LAMBDANAME_PREFIX, LAMBDANAME_FORMAT): Delete.
(make_lambda_name): Don't declare.
* error.c (dump_aggr_type): Check for lambdas before other
2019-05-16 Martin Sebor <msebor@redhat.com>
- * call.c (print_z_candidate): Wrap diagnostic text in a gettext
- macro. Adjust.
- (print_z_candidates): Same.
- (build_conditional_expr_1): Quote keywords, operators, and types
- in diagnostics.
- (build_op_delete_call): Same.
- (maybe_print_user_conv_context): Wrap diagnostic text in a gettext
- macro.
- (convert_like_real): Same.
- (convert_arg_to_ellipsis): Quote keywords, operators, and types
- in diagnostics.
- (build_over_call): Same.
- (joust): Break up an overlong line. Wrap diagnostic text in a gettext
- macro.
- * constexpr.c (cxx_eval_check_shift_p): Spell out >= in English.
- (cxx_eval_constant_expression): Quote keywords, operators, and types
- in diagnostics.
- (potential_constant_expression_1): Same.
- * cp-gimplify.c (cp_genericize_r): Same.
- * cvt.c (maybe_warn_nodiscard): Quote keywords, operators, and types
- in diagnostics.
- (type_promotes_to): Same.
- * decl.c (check_previous_goto_1): Same.
- (check_goto): Same.
- (start_decl): Same.
- (cp_finish_decl): Avoid parenthesizing a sentence for consistency.
- (grok_op_properties): Quote keywords, operators, and types
- in diagnostics.
- * decl2.c (grokfield): Same.
- (coerce_delete_type): Same.
- * except.c (is_admissible_throw_operand_or_catch_parameter): Same.
- * friend.c (do_friend): Quote C++ tokens.
- * init.c (build_new_1): Quote keywords, operators, and types
- in diagnostics.
- (build_vec_delete_1): Same.
- (build_delete): Same.
- * lex.c (parse_strconst_pragma): Same.
- (handle_pragma_implementation): Same.
- (unqualified_fn_lookup_error): Same.
- * mangle.c (write_type): Same.
- * method.c (defaulted_late_check): Avoid two consecutive punctuators.
- * name-lookup.c (cp_binding_level_debug): Remove a trailing newline.
- (pop_everything): Same.
- * parser.c (cp_lexer_start_debugging): Quote a macro name.
- in a diagnostic
- (cp_lexer_stop_debugging): Same.
- (cp_parser_userdef_numeric_literal): Quote a C++ header name
- in a diagnostic.
- (cp_parser_nested_name_specifier_opt): Quote keywords, operators,
- and types in diagnostics.
- (cp_parser_question_colon_clause): Same.
- (cp_parser_asm_definition): Same.
- (cp_parser_init_declarator): Same.
- (cp_parser_template_declaration_after_parameters): Avoid capitalizing
- a sentence in a diagnostic.
- (cp_parser_omp_declare_reduction): Quote keywords, operators, and types
- in diagnostics.
- (cp_parser_transaction): Same.
- * pt.c (maybe_process_partial_specialization): Replace second call
- to permerror with inform for consistency with other uses.
- (expand_integer_pack): Quote keywords, operators, and types
- in diagnostics.
- * rtti.c (get_typeid): Quote keywords, operators, and types
- in diagnostics.
- (build_dynamic_cast_1): Same.
- * semantics.c (finish_asm_stmt): Same.
- (finish_label_decl): Same.
- (finish_bases): Same.
- (finish_offsetof): Same.
- (cp_check_omp_declare_reduction): Same.
- (finish_decltype_type): Same.
- * tree.c (handle_init_priority_attribute): Same. Add detail
- to diagnostics.
- (maybe_warn_zero_as_null_pointer_constant): Same.
- * typeck.c (cp_build_binary_op): Quote keywords, operators, and types
- in diagnostics.
- (cp_build_unary_op): Same.
- (check_for_casting_away_constness): Same.
- (build_static_cast): Same.
- (build_const_cast_1): Same.
- (maybe_warn_about_returning_address_of_local): Same.
- (check_return_expr): Same.
- * typeck2.c (abstract_virtuals_error_sfinae): Same.
- (digest_init_r): Replace a tab with spaces in a diagnostic.
- (build_functional_cast): Quote keywords, operators, and types
- in diagnostics.
+ * call.c (print_z_candidate): Wrap diagnostic text in a gettext
+ macro. Adjust.
+ (print_z_candidates): Same.
+ (build_conditional_expr_1): Quote keywords, operators, and types
+ in diagnostics.
+ (build_op_delete_call): Same.
+ (maybe_print_user_conv_context): Wrap diagnostic text in a gettext
+ macro.
+ (convert_like_real): Same.
+ (convert_arg_to_ellipsis): Quote keywords, operators, and types
+ in diagnostics.
+ (build_over_call): Same.
+ (joust): Break up an overlong line. Wrap diagnostic text in a gettext
+ macro.
+ * constexpr.c (cxx_eval_check_shift_p): Spell out >= in English.
+ (cxx_eval_constant_expression): Quote keywords, operators, and types
+ in diagnostics.
+ (potential_constant_expression_1): Same.
+ * cp-gimplify.c (cp_genericize_r): Same.
+ * cvt.c (maybe_warn_nodiscard): Quote keywords, operators, and types
+ in diagnostics.
+ (type_promotes_to): Same.
+ * decl.c (check_previous_goto_1): Same.
+ (check_goto): Same.
+ (start_decl): Same.
+ (cp_finish_decl): Avoid parenthesizing a sentence for consistency.
+ (grok_op_properties): Quote keywords, operators, and types
+ in diagnostics.
+ * decl2.c (grokfield): Same.
+ (coerce_delete_type): Same.
+ * except.c (is_admissible_throw_operand_or_catch_parameter): Same.
+ * friend.c (do_friend): Quote C++ tokens.
+ * init.c (build_new_1): Quote keywords, operators, and types
+ in diagnostics.
+ (build_vec_delete_1): Same.
+ (build_delete): Same.
+ * lex.c (parse_strconst_pragma): Same.
+ (handle_pragma_implementation): Same.
+ (unqualified_fn_lookup_error): Same.
+ * mangle.c (write_type): Same.
+ * method.c (defaulted_late_check): Avoid two consecutive punctuators.
+ * name-lookup.c (cp_binding_level_debug): Remove a trailing newline.
+ (pop_everything): Same.
+ * parser.c (cp_lexer_start_debugging): Quote a macro name.
+ in a diagnostic
+ (cp_lexer_stop_debugging): Same.
+ (cp_parser_userdef_numeric_literal): Quote a C++ header name
+ in a diagnostic.
+ (cp_parser_nested_name_specifier_opt): Quote keywords, operators,
+ and types in diagnostics.
+ (cp_parser_question_colon_clause): Same.
+ (cp_parser_asm_definition): Same.
+ (cp_parser_init_declarator): Same.
+ (cp_parser_template_declaration_after_parameters): Avoid capitalizing
+ a sentence in a diagnostic.
+ (cp_parser_omp_declare_reduction): Quote keywords, operators, and types
+ in diagnostics.
+ (cp_parser_transaction): Same.
+ * pt.c (maybe_process_partial_specialization): Replace second call
+ to permerror with inform for consistency with other uses.
+ (expand_integer_pack): Quote keywords, operators, and types
+ in diagnostics.
+ * rtti.c (get_typeid): Quote keywords, operators, and types
+ in diagnostics.
+ (build_dynamic_cast_1): Same.
+ * semantics.c (finish_asm_stmt): Same.
+ (finish_label_decl): Same.
+ (finish_bases): Same.
+ (finish_offsetof): Same.
+ (cp_check_omp_declare_reduction): Same.
+ (finish_decltype_type): Same.
+ * tree.c (handle_init_priority_attribute): Same. Add detail
+ to diagnostics.
+ (maybe_warn_zero_as_null_pointer_constant): Same.
+ * typeck.c (cp_build_binary_op): Quote keywords, operators, and types
+ in diagnostics.
+ (cp_build_unary_op): Same.
+ (check_for_casting_away_constness): Same.
+ (build_static_cast): Same.
+ (build_const_cast_1): Same.
+ (maybe_warn_about_returning_address_of_local): Same.
+ (check_return_expr): Same.
+ * typeck2.c (abstract_virtuals_error_sfinae): Same.
+ (digest_init_r): Replace a tab with spaces in a diagnostic.
+ (build_functional_cast): Quote keywords, operators, and types
+ in diagnostics.
2019-05-15 Jakub Jelinek <jakub@redhat.com>
PR c++/47488
* decl.c (reshape_init_array_1): Strip trailing zero-initializers
from arrays of trivial type and known size.
- * mangle.c (write_expression): Convert braced initializer lists
- to STRING_CSTs.
+ * mangle.c (write_expression): Convert braced initializer lists
+ to STRING_CSTs.
(write_expression): Trim trailing zero-initializers from arrays
of trivial type.
- (write_template_arg_literal): Mangle strings the same as braced
- initializer lists.
+ (write_template_arg_literal): Mangle strings the same as braced
+ initializer lists.
2019-04-03 Jason Merrill <jason@redhat.com>
* pt.c (maybe_instantiate_noexcept): Keep error_mark_node.
* typeck2.c (merge_exception_specifiers): Handle error_mark_node.
-2019-02-19 Chung-Lin Tang <cltang@codesourcery.com>
+2019-02-19 Chung-Lin Tang <cltang@codesourcery.com>
PR c/87924
* parser.c (cp_parser_oacc_clause_wait): Add representation of wait
* semantics.c (finish_compound_literal): Call
instantiate_non_dependent_expr_sfinae.
-2019-02-13 Alexandre Oliva <aoliva@redhat.com>
+2019-02-13 Alexandre Oliva <aoliva@redhat.com>
PR c++/86379
* cp-tree.h (USING_DECL_SCOPE): Use result rather than type.
invalid_array_size_error
(build_new): Call valid_array_size_p instead of error.
-2019-02-07 Alexandre Oliva <aoliva@redhat.com>
+2019-02-07 Alexandre Oliva <aoliva@redhat.com>
PR c++/86218
* call.c (compare_ics): Deal with ck_aggr in either cs.
* call.c (convert_like_real) <case ck_user>: Call mark_exp_read
instead of mark_rvalue_use.
-2019-02-05 Alexandre Oliva <aoliva@redhat.com>
+2019-02-05 Alexandre Oliva <aoliva@redhat.com>
PR c++/87770
* pt.c (instantiates_primary_template_p): New.
PR c++/89024 - ICE with incomplete enum type.
* call.c (standard_conversion): When converting an
ARITHMETIC_TYPE_P to an incomplete type, return NULL.
-
+
2019-01-25 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/88969
* semantics.c (process_outer_var_ref): Only skip dependent types
in templates.
-2019-01-17 Alexandre Oliva <aoliva@redhat.com>
+2019-01-17 Alexandre Oliva <aoliva@redhat.com>
PR c++/87768
* cp-tree.h (saved_scope): Add suppress_location_wrappers.
2019-05-16 Martin Sebor <msebor@redhat.com>
- * d-builtins.cc (d_init_builtins): Quote keywords, operators,
- and types in diagnostics.
- * d-codegen.cc (get_array_length): Same. Replace can't with cannot.
- * d-convert.cc (convert_expr): Same.
- * d-frontend.cc (getTypeInfoType): Quote an option name in
- a diagnostic.
- * d-lang.cc (d_handle_option): Same.
- (d_parse_file): Same.
- * decl.cc: Remove a trailing period from a diagnostic.
- * expr.cc: Use a directive for an apostrophe.
- * toir.cc: Quote keywords, operators, and types in diagnostics.
- * typeinfo.cc (build_typeinfo): Quote an option name in a diagnostic.
+ * d-builtins.cc (d_init_builtins): Quote keywords, operators,
+ and types in diagnostics.
+ * d-codegen.cc (get_array_length): Same. Replace can't with cannot.
+ * d-convert.cc (convert_expr): Same.
+ * d-frontend.cc (getTypeInfoType): Quote an option name in
+ a diagnostic.
+ * d-lang.cc (d_handle_option): Same.
+ (d_parse_file): Same.
+ * decl.cc: Remove a trailing period from a diagnostic.
+ * expr.cc: Use a directive for an apostrophe.
+ * toir.cc: Quote keywords, operators, and types in diagnostics.
+ * typeinfo.cc (build_typeinfo): Quote an option name in a diagnostic.
2019-04-25 Johannes Pfau <johannespfau@gmail.com>
PR fortran/42546
* check.c(gfc_check_allocated): Add comment pointing to ...
* intrinsic.c(sort_actual): ... the checking done here.
-
+
2019-08-05 Steven g. Kargl <kargl@gcc.gnu.org>
PR fortran/91372
2019-08-04 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/88227
- * check.c (oct2bin): New function. Convert octal string to binary.
+ * check.c (oct2bin): New function. Convert octal string to binary.
(hex2bin): New function. Convert hexidecimal string to binary.
(bin2real): New function. Convert binary string to REAL. Use
oct2bin and hex2bin.
- (gfc_boz2real): Use fallback conversion bin2real.
+ (gfc_boz2real): Use fallback conversion bin2real.
2019-08-02 Steven G. Kargl <kargl@gcc.gnu.org>
(gfc_check_cmplx): Re-organize to check kind, if present, first.
Convert BOZ real and/or imaginary parts as needed in accordance to
F2018.
- (gfc_check_complex): Use gfc_invalid_boz. Convert BOZ as needed.
+ (gfc_check_complex): Use gfc_invalid_boz. Convert BOZ as needed.
(gfc_check_dcmplx, gfc_check_dble ): Convert BOZ as needed.
- (gfc_check_dshift): Make dshift[lr] conform to F2018 standard.
+ (gfc_check_dshift): Make dshift[lr] conform to F2018 standard.
gfc_check_float (gfc_expr *a)
- (gfc_check_iand_ieor_ior): Make IAND, IEOR, and IOR conform to
+ (gfc_check_iand_ieor_ior): Make IAND, IEOR, and IOR conform to
F2018 standard.
(gfc_check_int): Conform to F2018 standard.
(gfc_check_intconv): Deprecate SHORT and LONG aliases for INT2 and
2019-06-19 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/69499
- * match.c (gfc_match_select_type): SELECT TYPE is an executable
+ * match.c (gfc_match_select_type): SELECT TYPE is an executable
statement, and cannot appear in MODULE or SUBMODULE scope.
2019-06-19 Steven G. Kargl <kargl@gcc.gnu.org>
only checking the reference chain.
2019-06-08 Thomas Koenig <tkoenig@gcc.gnu.org>
- Tomáš Trnka <trnka@scm.com>
+ Tomáš Trnka <trnka@scm.com>
PR fortran/90744
* trans-types.c (get_formal_from_actual_arglist): Unset typespec
* module.c (write_module): Initialize module_column before writing
module to ensure line break occurs at correct column.
-2019-05-01 Dominique d'Humieres <dominiq@gcc.gnu.org>
+2019-05-01 Dominique d'Humieres <dominiq@gcc.gnu.org>
PR fortran/60144
* match.c (gfc_match_parens): Change the location for missing ')'.
2019-03-31 Thomas Koenig <tkoenig@gcc.gnu.org>
- * dump-parse-tree.c (debug): Add for symbol_attribute *,
+ * dump-parse-tree.c (debug): Add for symbol_attribute *,
symbol_attribute and gfc_ref * arguments.
2019-03-30 Paul Thomas <pault@gcc.gnu.org>
2019-03-09 Thomas König <tkoenig@gcc.gnu.org>
PR fortran/71203
- * decl.c (add_init_expr_to_sym): Add shape if init has none. Add
+ * decl.c (add_init_expr_to_sym): Add shape if init has none. Add
asserts that it has to be an EXPR_ARRAY in this case.
2019-03-08 Jakub Jelinek <jakub@redhat.com>
the actual arglist has no expression, the corresponding
formal arglist is an alternate return.
+2019-02-26 Uroš Bizjak <ubizjak@gmail.com>
+
+ * invoke.texi (-ffpe-trap): Use @var for every item in the list.
+
2019-02-26 Jakub Jelinek <jakub@redhat.com>
PR fortran/43210
* class.c (find_intrinsic_vtab): Likewise.
* simplify.c (gfc_simplify_sizeof): Likewise.
-2019-02-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+2019-02-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/84387
* trans-io.c (transfer_expr): Do not return if there are no
2019-02-17 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/71066
- * trans-decl.c (generate_coarray_sym_init): For an array
+ * trans-decl.c (generate_coarray_sym_init): For an array
constructor in a DATA statement of a coarray variable, set the
rank to 1 to avoid confusion later on. If the constructor
contains only one value, use that for initiailizig.
* io.c (match_io_element): input-item cannot be an external function.
2018-01-19 Thomas Koenig <tkoenig@gcc.gnu.org>
- Paul Thomas <pault@gcc.gnu.org>
+ Paul Thomas <pault@gcc.gnu.org>
PR fortran/56789
* trans-expr.c (gfc_conv_procedure_call): Call
directly build the expected GENERIC tree.
2019-01-07 Thomas Koenig <tkoenig@gcc.gnu.org>
- Harald Anlauf <anlauf@gmx.de>
- Tobias Burnus <burnus@gcc.gnu.org>
+ Harald Anlauf <anlauf@gmx.de>
+ Tobias Burnus <burnus@gcc.gnu.org>
PR fortran/45424
* check.c (gfc_check_is_contiguous): New function.
2019-02-05 Nikhil Benesch <nikhil.benesch@gmail.com>
- PR go/89019
- * go-gcc.cc (Gcc_backend::placeholder_struct_type): Mark
- placeholder structs as requiring structural equality.
- (Gcc_backend::set_placeholder_pointer_type): Propagate the
+ PR go/89019
+ * go-gcc.cc (Gcc_backend::placeholder_struct_type): Mark
+ placeholder structs as requiring structural equality.
+ (Gcc_backend::set_placeholder_pointer_type): Propagate the
canonical type from the desired pointer type to the placeholder
pointer type.
2013-11-22 Andrew MacLeod <amacleod@redhat.com>
* go-gcc.cc: Add required include files from gimple.h.
- * go-lang.c: Likewise
+ * go-lang.c: Likewise.
2013-11-18 Richard Sandiford <rdsandiford@googlemail.com>
-2019-07-22 Andrea Corallo <andrea.corallo@arm.com>
+2019-07-22 Andrea Corallo <andrea.corallo@arm.com>
* jit-recording.c (unary_op_reproducer_strings): Make it extern.
(binary_op_reproducer_strings): Likewise.
numeric type.
* libgccjit.c (gcc_jit_context_new_binary_op): Improve error message.
-2019-07-04 Andrea Corallo <andrea.corallo@arm.com>
+2019-07-04 Andrea Corallo <andrea.corallo@arm.com>
* libgccjit.c (gcc_jit_context_new_binary_op): Check result_type to be a
numeric type.
-2019-07-04 Andrea Corallo <andrea.corallo@arm.com>
+2019-07-04 Andrea Corallo <andrea.corallo@arm.com>
* docs/topics/compatibility.rst (LIBGCCJIT_ABI_12): New ABI tag.
* docs/topics/types.rst: Add gcc_jit_context_new_bitfield.
* jit-recording.c (reproducer::m_set_identifiers): Use false as Lazy
in hash_set template param.
-2019-02-05 Andrea Corallo <andrea.corallo@arm.com>
+2019-02-05 Andrea Corallo <andrea.corallo@arm.com>
* docs/topics/compatibility.rst (LIBGCCJIT_ABI_11): New ABI tag.
* docs/topics/contexts.rst (Additional driver options): New
(dump_list_functions): Release memory.
(dump_list_variables): Likewise.
+2019-06-25 Jozef Lawrynowicz <jozef.l@mittosystems.com>
+
+ * lto-lang.c (lto_build_c_type_nodes): Accept "__intN__"
+ format of "__intN" types for SIZE_TYPE.
+
2019-06-24 Jan Hubicka <jh@suse.cz>
* lto-common.c (compare_tree_sccs_1): Compare CXX_ODR_P;
2019-05-16 Martin Sebor <msebor@redhat.com>
- * lto-dump.c (lto_main): Same.
- * lto.c (stream_out): Same.
+ * lto-dump.c (lto_main): Same.
+ * lto.c (stream_out): Same.
2019-05-10 Martin Liska <mliska@suse.cz>
2018-10-26 Jan Hubicka <jh@suse.cz>
- * lto/lto-symtab.c (lto_symtab_merge_decls_2): Fix extra space.
+ * lto-symtab.c (lto_symtab_merge_decls_2): Fix extra space.
2018-10-17 David Malcolm <dmalcolm@redhat.com>
2018-08-21 Tom de Vries <tdevries@suse.de>
- * lto.c (lto_main): Call debuginfo_early_start and
+ * lto.c (lto_main): Call debuginfo_early_start and
debuginfo_early_stop.
2018-07-20 Martin Sebor <msebor@redhat.com>
* lto-lang.c (lto_init): Set in_lto_p earlier.
2017-04-12 Richard Biener <rguenther@suse.de>
- Bernd Edlinger <bernd.edlinger@hotmail.de>
+ Bernd Edlinger <bernd.edlinger@hotmail.de>
PR middle-end/79671
* lto.c (compare_tree_sccs_1): Compare TYPE_TYPELESS_STORAGE.
2016-06-10 Martin Sebor <msebor@redhat.com>
PR c/71392
- * gcc/lto/lto-lang.c (handle_nonnull_attribute): Accept the nonnull
+ * lto-lang.c (handle_nonnull_attribute): Accept the nonnull
attribute in type-generic builtins.
2016-05-16 Jan Hubicka <hubicka@ucw.cz>
2015-06-08 Jan Hubicka <hubicka@ucw.cz>
-
* lto.c (hash_canonical_type): Do not hash TREE_CODE of TREE_TYPE of
pointers.
Andrey Turetskiy <andrey.turetskiy@intel.com>
Michael Zolotukhin <michael.v.zolotukhin@intel.com>
- * lto/lto.c (read_cgraph_and_symbols): Call input_offload_tables.
+ * lto.c (read_cgraph_and_symbols): Call input_offload_tables.
2014-11-13 Ilya Verbin <ilya.verbin@intel.com>
Ilya Tocar <ilya.tocar@intel.com>
2014-07-11 Jan Hubicka <hubicka@ucw.cz>
- * lto-partition.c (add_references_to_partition): Use
+ * lto-partition.c (add_references_to_partition): Use
varpool_ctor_useable_for_folding_p.
* lto.c (lto_read_in_decl_state): Update sanity check.
2014-06-25 Martin Liska <mliska@suse.cz>
- * lto/lto-partition.c (add_references_to_partition): New IPA REF function
+ * lto-partition.c (add_references_to_partition): New IPA REF function
used.
(add_symbol_to_partition_1): Likewise.
(lto_balanced_map): Likewise.
- * lto/lto-symtab.c (lto_cgraph_replace_node): Likewise.
+ * lto-symtab.c (lto_cgraph_replace_node): Likewise.
2014-06-24 Jan Hubicka <hubicka@ucw.cz>
2014-04-14 Jan Hubicka <hubicka@ucw.cz>
- * lto/lto-symtab.c (lto_cgraph_replace_node): Don't re-merge
+ * lto-symtab.c (lto_cgraph_replace_node): Don't re-merge
tp_first_run.
2014-03-19 Jan Hubicka <hubicka@ucw.cz>
2014-03-19 Richard Biener <rguenther@suse.de>
PR middle-end/60553
- * lto-tree.h (lang_tree_node): For types use TYPE_NEXT_VARIANT
+ * lto-tree.h (lang_tree_node): For types use TYPE_NEXT_VARIANT
instead of TREE_CHAIN as chain_next.
2014-03-19 Richard Biener <rguenther@suse.de>
2014-02-04 Jan Hubicka <hubicka@ucw.cz>
- * lto-partition.c (get_symbol_class): Only unforced DECL_ONE_ONLY
+ * lto-partition.c (get_symbol_class): Only unforced DECL_ONE_ONLY
needs duplicating, not generic COMDAT.
2014-02-04 Richard Biener <rguenther@suse.de>
2013-11-22 Andrew MacLeod <amacleod@redhat.com>
* lto.c: Add required include files from gimple.h.
- * lto-lang.c: Likewise
- * lto-object.c: Likewise
- * lto-partition.c: Likewise
- * lto-symtab.c: Likewise
+ * lto-lang.c: Likewise.
+ * lto-object.c: Likewise.
+ * lto-partition.c: Likewise.
+ * lto-symtab.c: Likewise.
2013-11-18 Trevor Saunders <tsaunders@mozilla.com>
2013-10-29 Andrew MacLeod <amacleod@redhat.com>
- * lto/lto-object.c: Add gimple.h to include list.
- * lto/lto-partition.c: Likewise.
+ * lto-object.c: Add gimple.h to include list.
+ * lto-partition.c: Likewise.
2013-10-18 Andrew MacLeod <amacleod@redhat.com>
2013-08-31 Jan Hubicka <jh@suse.cz>
- * lto.c (mentions_vars_p_field_decl, lto_fixup_prevailing_decls):
+ * lto.c (mentions_vars_p_field_decl, lto_fixup_prevailing_decls):
DECL_FIELD_OFFSET can contain an reference to variable.
2013-08-31 Jan Hubicka <jh@suse.cz>
2013-08-06 Jan Hubicka <jh@suse.cz>
Martin Liska <marxin.liska@gmail.com>
- * lto-partition.c (lto_balanced_map): Always base order on
+ * lto-partition.c (lto_balanced_map): Always base order on
source file order.
2013-08-06 Jan Hubicka <jh@suse.cz>
2012-10-08 Jan Hubicka <jh@suse.cz>
- * lto/lto.c (remember_with_vars): Also fixup INTEGER_CST.
+ * lto.c (remember_with_vars): Also fixup INTEGER_CST.
(fixup_integer_cst): New functoin.
(lto_ft_type): Fixup BASETYPE of methods and offsets.
2012-10-06 Jan Hubicka <jh@suse.cz>
- PR lto/54790
+ PR lto/54790
* lto.c (resolution_map): New static var.
(register_resolution): New function.
(lto_register_var_decl_in_symtab): Use it.
2012-09-19 Dehao Chen <dehao@google.com>
- * lto/lto.c (lto_fixup_prevailing_decls): Remove tree.exp.block field.
+ * lto.c (lto_fixup_prevailing_decls): Remove tree.exp.block field.
2012-09-19 Jan Hubicka <jh@suse.cz>
2012-06-18 Lawrence Crowl <crowl@google.com>
- * lto.c (do_whole_program_analysis): Rename use of TV_PHASE_CGRAPH to
+ * lto.c (do_whole_program_analysis): Rename use of TV_PHASE_CGRAPH to
TV_PHASE_OPT_GEN. Use new timevar TV_PHASE_STREAM_OUT around the call
to lto_wpa_write_files.
- (lto_main): Rename use of TV_PHASE_CGRAPH to TV_PHASE_OPT_GEN. Move
+ (lto_main): Rename use of TV_PHASE_CGRAPH to TV_PHASE_OPT_GEN. Move
start of TV_PHASE_OPT_GEN to include call to materialize_cgraph. Use
TV_PHASE_SETUP for the call to lto_init. Use new timevar
TV_PHASE_STREAM_IN around the call to read_cgraph_and_symbols.
(promote_fn): Likewise.
(lto_promote_cross_file_statics): Update comment.
-
2011-06-07 Diego Novillo <dnovillo@google.com>
* lto.c (uniquify_nodes): Move code to register decls to
2011-03-25 Jeff Law <law@redhat.com>
- * lto/lto-lang.c (def_fn_type): Add missing va_end.
+ * lto-lang.c (def_fn_type): Add missing va_end.
2011-03-21 Kai Tietz <ktietz@redhat.com>
2010-10-05 Jan Hubicka <jh@suse.cz>
- * lto.c: Include params.h.
+ * lto.c: Include params.h.
(add_cgraph_node_to_partition, add_varpool_node_to_partition): Do
refcounting in aux field.
(undo_partition, partition_cgraph_node_p, partition_varpool_node_p):
2010-09-16 Jan Hubicka <jh@suse.cz>
* lto.c (lto_materialize_function): Do not tamper with STATIC and
- EXTERNAL flags.
+ EXTERNAL flags.
2010-09-15 Laurynas Biveinis <laurynas.biveinis@gmail.com>
2010-06-09 Kai Tietz <kai.tietz@onevision.com>
- * lto.c (lto_resolution_read): Pre-initialize local variable r.
+ * lto.c (lto_resolution_read): Pre-initialize local variable r.
* lto-coff.c (coff_write_object_file): Add braces to if.
2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
'long long unsigned int' for x64-windows.
(lto_init): Likewise.
-
2010-05-07 Steven Bosscher <steven@gcc.gnu.org>
* lto.h (struct lto_file_struct): Document offset member.
2010-04-28 Jan Hubicka <jh@suse.cz>
- * lto/lto.c (lto_read_in_decl_state): Use GGC.
+ * lto.c (lto_read_in_decl_state): Use GGC.
(lto_wpa_write_files): Announce what we are writting.
(all_file_decl_data): New.
(read_cgraph_and_symbols): Use GGC; correct timevars.
(do_whole_program_analysis): Collect.
- * lto/Make-lang.in (lto.o): Fix dependency.
+ * Make-lang.in (lto.o): Fix dependency.
* Makefile.in (GTFILES): Add lto-streamer.h.
* varpool.c (varpool_analyze_pending_decls): Use TV_VARPOOL.
(varpool_assemble_pending_decls): Use VAROUT.
* lto.c (O_BINARY): Define.
(lto_read_section_data): Open file in binary mode.
* lto-elf.c (O_BINARY): Define.
- (lto_elf_file_open): Open file in binary mode.
+ (lto_elf_file_open): Open file in binary mode.
2010-01-08 Richard Guenther <rguenther@suse.de>
2009-01-29 Ramana Radhakrishnan <ramana.r@gmail.com>
- * Make-lang.in (LTO_EXE): Link with all
+ * Make-lang.in (LTO_EXE): Link with all
BACKENDLIBS and not only GMPLIBS
2009-01-28 H.J. Lu <hongjiu.lu@intel.com>
2008-11-09 Diego Novillo <dnovillo@google.com>
- * lto/lto.c (lto_fixup_tree): Change error message locus
+ * lto.c (lto_fixup_tree): Change error message locus
information to include location of mismatching
declaration.
Use TREE_NO_WARNING to avoid repeated messages.
(lto_main): If lto_fixup_decls emitted any errors, exit.
- * lto/lto-lang.c: Don't include libfuncs.h and except.h
+ * lto-lang.c: Don't include libfuncs.h and except.h
(lto_init_options): Don't enable exceptions by default.
(lto_eh_runtime_type): Move to lto-function-in.c
(lto_init_eh): Likewise.
(lto_init): Don't call lto_init_eh.
- * lto/Make-lang.in (lto-lang.o): Remove dependency on
+ * Make-lang.in (lto-lang.o): Remove dependency on
libfuncs.h and except.h.
2008-10-30 Diego Novillo <dnovillo@google.com>
input_cgraph): Move to lto-cgraph.c in gcc directory above.
(LANG_HOOKS_INPUT_CGRAPH): Remove use of macro.
-2008-10-24 Rafael Espindola <espindola@google.com>
+2008-10-24 Rafael Espindola <espindola@google.com>
* lto-function-in.c (get_resolution): Return LDPR_PREEMPTED_IR for
non prevailing weak symbols.
-2008-10-24 Rafael Espindola <espindola@google.com>
+2008-10-24 Rafael Espindola <espindola@google.com>
* lto-lang.c (input_cgraph_1): Iterate over nodes, not cgraph_nodes.
-2008-10-24 Rafael Espindola <espindola@google.com>
+2008-10-24 Rafael Espindola <espindola@google.com>
* lto-lang.c (input_node): Avoid casts from pointers to ints of
different types.
exceptions flag is given.
* lto-lang.c: (lto_init_options) Set default exceptions flag.
(lto_init_eh): Remove exceptions flag initialization.
- (lto_init): Only call lto_init_eh if exceptions flag is set.
+ (lto_init): Only call lto_init_eh if exceptions flag is set.
2008-10-21 Diego Novillo <dnovillo@google.com>
walking of nodes except for DECLs to be replaced. Pass an
lto_fixup_data_t object to tree-walker.
-2008-10-08 Rafael Espindola <espindola@google.com>
+2008-10-08 Rafael Espindola <espindola@google.com>
* lto-symtab.c (lto_symtab_set_resolution): New.
(lto_symtab_merge_decl): Use lto_symtab_set_resolution and
(lto_symtab_get_resolution): New.
* lto.c (lto_fixup_tree, lto_fixup_state): Remove unecessary checks.
-2008-10-06 Rafael Espindola <espindola@google.com>
+2008-10-06 Rafael Espindola <espindola@google.com>
* lto-lang.c: Include cgraph.h.
(input_overwrite_node, input_node, input_edge, input_cgraph_1,
input_cgraph): Moved from lto-cgraph.c.
(LANG_HOOKS_INPUT_CGRAPH): New.
-2008-10-03 Rafael Espindola <espindola@google.com>
+2008-10-03 Rafael Espindola <espindola@google.com>
* lto.c (lto_fixup_tree, lto_fixup_state): Fix the FIXME.
-2008-10-03 Rafael Espindola <espindola@google.com>
+2008-10-03 Rafael Espindola <espindola@google.com>
* lto-symtab.c (lto_symtab_overwrite_decl): Remove. Remove all calls.
(lto_symtab_merge_decl): Update LTO_IDENTIFIER_DECL the reflect the
* lto-lang.c (lto_post_options): Add validation and fixups for
-fltrans and -fwpa.
-2008-10-02 Rafael Espindola <espindola@google.com>
+2008-10-02 Rafael Espindola <espindola@google.com>
* lto-symtab.c (lto_symtab_merge_var, lto_symtab_merge_fn,
lto_symtab_merge_decl): Return void.
(lto_symtab_prevailing_decl): New.
-2008-09-30 Rafael Espindola <espindola@google.com>
+2008-09-30 Rafael Espindola <espindola@google.com>
* lto-symtab.c (lto_symtab_compatible): Remove the check for already
defined symbols.
(LTO_IDENTIFIER_RESOLUTION): Remove.
(LTO_DECL_RESOLUTION): New.
-2008-09-30 Rafael Espindola <espindola@google.com>
+2008-09-30 Rafael Espindola <espindola@google.com>
* lto.c (lto_read_decls): Use new input_tree signature.
* lto.c (lto_main): Call lto_fixup_nothrow_decls to fix up function
bodies affected by exception attribute merging of DECLs.
* lto-symtab.c (lto_symtab_merge_decl): Handle exception attribute
- merging.
+ merging.
2008-09-25 Rafael Espindola <espindola@google.com>
* lang.opt (fltrans-output-list=): New option.
* lto.c (lto_execute_ltrans): Output file names to ltrans_output_list.
-2008-09-25 Rafael Espindola <espindola@google.com>
+2008-09-25 Rafael Espindola <espindola@google.com>
* lto.c (lto_resolution_read): Initialize ret;
* Make-lang.in (LTRANS_DRIVER_INSTALL_NAME): New variable.
(lto.install-common): Add lto/ltrans-driver.
-2008-09-24 Rafael Espindola <espindola@google.com>
+2008-09-24 Rafael Espindola <espindola@google.com>
* Make-lang.in (LTO_OBJS): Add lto/common.o.
(lto/lto.o): Depend on lto/common.h.
Read resolution.
* lto.h (resolution_file_name): New.
-2008-09-23 Rafael Espindola <espindola@google.com>
+2008-09-23 Rafael Espindola <espindola@google.com>
* common.c: Update description.
* common.h: Update description.
-2008-09-23 Rafael Espindola <espindola@google.com>
+2008-09-23 Rafael Espindola <espindola@google.com>
* common.c: Moved from lto-plugin.
* common.h: Moved from lto-plugin.
* lto-lang.c: Include header file expr.h.
(COMPOUND_LITERAL_EXPR_DECL_STMT,
COMPOUND_LITERAL_EXPR_DECL): Copied from c-common.h.
- (emit_local_var): Copied from c-semantics.c.
+ (emit_local_var): Copied from c-semantics.c.
(lto_expand_expr, lto_staticp): Copied from c_expand_expr
and c_staticp in c-common.c.
- (LANG_HOOKS_EXPAND_EXPR,LANG_HOOKS_STATICP): Redefined.
+ (LANG_HOOKS_EXPAND_EXPR,LANG_HOOKS_STATICP): Redefined.
2008-09-08 Diego Novillo <dnovillo@google.com>
2008-08-04 Bill Maddox <maddox@google.com>
* lto-symtab.c (lto_symtab_merge_decl): Add comment.
-
+
2008-09-03 Doug Kwan <dougkwan@google.com>
lto.c (lto_add_all_inlinees): Reset FAILED_REASON of edges to
(lto_1_to_1_map, lto_add_all_inlinees, lto_wpa_write_files):
New functions.
(lto_main): Initialize bitmap obstack. Add code to handle WPA mode.
- * Make-lang.in (LTO_H): Replace filename lto-section-in.h with
+ * Make-lang.in (LTO_H): Replace filename lto-section-in.h with
variable LTO_SECTION_IN_H.
(lto/lto.o): Include gt-lto-lto-c.h ggc.h ,VEC_H, BITMAP_H,
pointer-set.h and IPA_PROP_H. Also replace filename lto-section-in.h
asserting.
(lto_post_options): Suppress debug info generation.
* Make-lang.in: Add dependency of lto-lang.o on tree-gimple.h.
-
+
2008-08-25 Bill Maddox <maddox@google.com>
* lto-symtab.c (lto_symtab_merge_decl): Remove a suspect
assertion and leave an explanatory comment in its place.
-
+
2008-08-21 Doug Kwan <dougkwan@google.com>
* lto.c (preload_common_nodes): Call lto_get_common_nodes to get a list
* lto.h (struct lto_file_struct): Remove GTY marker.
* config-lang.in: Remove lto/lto.h and lto/lto.c from
gtfiles.
-
+
2008-08-20 Bill Maddox <maddox@google.com>
* lto.c (lto_read_decls): Provide dummy argument to input_tree
to conform to its new signature.
* lto-symtab.c (lto_symtab_merge_decl): Do not invoke ggc_free
on discarded node here, now called in global_vector_fixup.
-
+
2008-08-09 Bill Maddox <maddox@google.com>
* lto.c (preload_common_nodes): Verify that fileptr_type_node
has not been set to a front-end-specific value.
-
+
2008-08-05 Doug Kwan <dougkwan@google.com>
-
+
* Make-lang.in (lto-symtab.o): Add missing dependencies to fix
build breakage.
* lto.c (lto_read_decls): Fix C++ compatibility warnings.
Make code const-correct.
(lto_file_read): Fix C++ compatibility warnings.
- (lto_read_section_data): Fix C++ compatibility warnings.
+ (lto_read_section_data): Fix C++ compatibility warnings.
(lto_get_section_data): Use CONST_CAST to avoid warning when
const pointer passed to free.
* lto-elf.c (lto_elf_build_section_table): Fix C++
compatibility warnings.
- (lto_elf_append_data): Fix C++ compatibility warnings. Use CONST_CAST
+ (lto_elf_append_data): Fix C++ compatibility warnings. Use CONST_CAST
to avoid warning assigning const pointer to d_buf field of Elf_Data.
- (lto_get_current_out_file): Fix C++ compatibility warnings.
+ (lto_get_current_out_file): Fix C++ compatibility warnings.
2008-07-11 Diego Novillo <dnovillo@google.com>
2008-06-07 Kenneth Zadeck <zadeck@naturalbridge.com>
Jan Hubicka <jh@suse.cz>
-
+
* lto.c (sys/mman.h, tree-pass.h): New includes.
(lto_materialize_constructors_and_inits,
lto_materialize_function): Keeps length of section.
(lto_read_section_data, get_section_data, free_section_data): New
functions.
(lto_main): Now calls pass manager, sets the hooks so that the ipa
- passes can get the section data.
-
+ passes can get the section data.
+
2008-05-27 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto.h (lto_read_decls): Made local.
- (lto_input_function_body, lto_input_constructors_and_inits,
+ (lto_input_function_body, lto_input_constructors_and_inits,
lto_input_cgraph): Declarations moved to lto-section-in.h.
* lto-section-in.c: Moved to .. .
* lto-cgraph-in.c: Ditto.
(LANG_HOOKS_INSERT_BLOCK): Removed.
* Make-lang.in (lto-cgraph-in.o, lto-function-in.o,
lto-section-in.o): Rules moved to lto/Makefile.in.
-
+
2008-05-16 Ollie Wild <aaw@google.com>
(lto_file_read): Made local and initialize dictionary so that
other lto sections can be read without reprocessing the elf file.
(lto_main): Read all functions after all files have been processed
- for their types, globals and cgraph.
+ for their types, globals and cgraph.
* Make-lang.in (lto.o, lto-cgraph-in.c, lto-section-in): Changed
dependencies.
* lto-elf.c (lto_elf_file): Removed strtab, symtab fields.
* lto.h (lto_info_fd_struct): Removed unmaterialized_fndecls.
(lto_file_read): Made local.
(lto_get_file_name, lto_elf_build_section_table,
- lto_input_cgraph):
+ lto_input_cgraph):
New function.
* lto-section-in.c (lto_read_section_data, lto_get_section_data):
New functions.
* lto_section_in.h (lto_section_slot): New structure.
(section_hash_table.lto_file_decl_data): New field.
-
2008-02-09 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto.c (lto_read_variable_formal_parameter_const): Remove code to
differently.
* Make-lang.in (LTO_H, lto/lto-function-in.o,
lto/lto-section-in.o): Update dependencies.
- * lto/lto-elf.c (lto_elf_map_optional_lto_section): Add
+ * lto-elf.c (lto_elf_map_optional_lto_section): Add
lto_section_type parameter.
(lto_elf_unmap_fn_body): Renamed to lto_elf_unmap_section.
- * lto.h (lto_file_vtable_struct): Removed two of the fields and
+ * lto.h (lto_file_vtable_struct): Removed two of the fields and
renamed the other two so that there is only one map function and
one unmap function and each takes a section type parameter.
(lto_read_function_body): Renamed to lto_input_function_body and
(lto_read_function_body, lto_input_constructors_and_inits):
Renamed to lto_input_function_body and takes file_data parameter.
* lto-section-in.h (lto_file_decl_data): New structure.
-
+
2008-01-28 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-function-in.c (input_globals.c): Changed input type to
(input_function): Renumber all stmts after they are input.
(lto_read_body, lto_read_function_body, lto_read_var_init):
Changed to used new header format and enum section_type.
- *lto-lang.c (success): Removed.
-
+ *lto-lang.c (success): Removed.
+
2008-01-28 Nathan Froyd <froydnj@codesourcery.com>
* lto-elf.c (lto_elf_lookup_sym): Remove unused function.
* lto-section-in.c: New file with changes from above.
* Make-lang.in (lto-read.o): Renamed lto-function-in.c.
(lto-section-in.o): New rule.
-
+
2007-12-29 Nathan Froyd <froydnj@codesourcery.com>
* lto-read.c (input_expr_operand): Mark static and external
* lto.h (struct lto_str_fd_struct): New struct.
(struct lto_file_struct): Added new field DEBUG_STR
to hold the file descriptor for the debug string table.
-
+
2007-12-07 Bill Maddox <maddox@google.com>
* lto.c (lto_str_fd_init): New function.
2007-11-16 Kenneth Zadeck <zadeck@naturalbridge.com>
- * lto-read.c (input_expr_operand): Get types right
+ * lto-read.c (input_expr_operand): Get types right
for COMPLEX_CST.
2007-11-16 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (make_new_block, input_cfg): Properly set
n_basic_blocks.
-
+
2007-11-16 Nathan Froyd <froydnj@codesourcery.com>
* lto.c (lto_read_array_type_DIE): Handle DIEs with DW_AT_GNU_vector
(input_expr_operand): Keeps track locally if current node needs a loc.
(input_local_var): Added code to handle DECL_INITIAL for
static local vars. Only set loc if necessary.
-
+
2007-11-15 Nathan Froyd <froydnj@codesourcery.com>
* lto.c (lto_read_subroutine_type_subprogram_DIE): Fix thinko'd
registered_builtin_fndecls.
2007-11-15 Kenneth Zadeck <zadeck@naturalbridge.com>
-
+
* lto-read.c (process_tree_flags, lto_static_init_local):
Renamed to ADD_CLASS_EXPR_FLAG. ADD_CLASS_DECL_FLAG New Macro.
(input_line_info, clear_line_info): Fixed new line number code.
(input_expr_operand): Added type to SWITCH_EXPR.
(lto_read_body): Properly initialized data_in.
Clear line info when leaving.
-
+
2007-11-13 Diego Novillo <dnovillo@google.com>
* lto.c (lto_read_variable_formal_parameter_constant_DIE):
2007-11-13 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (input_type_ref): Renamed from get_type_ref.
- (input_expr_operand, input_local_var): Renamed get_type_ref to
+ (input_expr_operand, input_local_var): Renamed get_type_ref to
input_type_ref.
- (input_expr_operand): Get the types correct for
+ (input_expr_operand): Get the types correct for
vector-cst. Get SSA_NAME_DEF_STMT correct for return_exprs.
-
+
2007-11-13 Doug Kwan <dougkwan@google.com>
* lto-read.c (input_widest_uint_uleb128): New function.
DW_AT_static_link and DW_AT_specification. Return the
specification if present.
(lto_read_base_type_DIE): Handle DW_ATE_complex_float.
-
+
2007-11-13 Nathan Froyd <froydnj@codesourcery.com>
* lto-lang.c: Include target.h.
* lto-read.c (input_expr_operand): Added code to properly handle
index filed. Added new RANGE_EXPR case.
-
+
2007-11-11 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (ADD_FUNC_FLAG): Deleted macro.
(struct lto_file_struct): Declare.
(lto_file_vtable): Use it instead of lto_file.
-2007-11-06 Alon Dayan <alond@il.ibm.com>
- Kenneth Zadeck <zadeck@naturalbridge.com>
+2007-11-06 Alon Dayan <alond@il.ibm.com>
+ Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (process_flags, lto_static_init_local):
read flags of VAR_DECL and FUNCTION_DECL of size>1.
change global array num_flags_for_code to flags_length_for_code.
(set_line_info): Make decls work in USE_MAPPED_LOCATION mode.
-
+
2007-11-05 Nathan Froyd <froydnj@codesourcery.com>
* lto.c (lto_read_structure_union_class_type_DIE): Use proper record
* lto-read.c (data_in): Added type_decls and current_col fields.
(string_slot): New type to hold canonized file name.
- (hash_string_slot_node, eq_string_slot_node, canon_file_name,
+ (hash_string_slot_node, eq_string_slot_node, canon_file_name,
input_line_info, set_line_info, clear_line_info): New functions.
(file_name_hash_table): New hash table.
- (input_local_var, input_labels, input_local_vars_index,
+ (input_local_var, input_labels, input_local_vars_index,
input_local_var, input_local_vars, input_ssa_names): Reorganized parameters.
(input_uleb128): Changed type of byte var.
(input_expr_operand): Large number of changes to get line numbers
(lto_read_body): Added code to get TYPE_DECLS read and to change
parameters to the calls above that had their parms reorganized.
-
2007-10-29 Nathan Froyd <froydnj@codesourcery.com>
* lto.h (lto_resolve_typedecl_ref): Declare.
* lto-read.c (input_expr_operand): Give label_values the proper
context and provide switch statements with a default type.
-
+
2007-10-23 Nathan Froyd <froydnj@codesourcery.com>
* lto-read.c (lto_read_body): Move call to init_ssa_operands...
(input_ssa_names): Now calls input_tree_flags.
(lto_read_body): Now sets cfun.
(lto_read_function_body): Now sets current_function_pointer.
-
+
2007-10-19 Nathan Froyd <froydnj@codesourcery.com>
* lto.c (lto_read_variable_formal_parameter_constant_DIE): Check
(input_expr_operand): Make asm operands use input_tree_list.
(input_local_var): Now uses input_tree_list.
(lto_read_body): Change placement for setting context of debug_labels.
-
-
+
2007-10-16 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (input_real): Output debugging in proper order.
written.
(dump_debug_stream): Also print char in hex.
(debug_out_fun): Fix signed unsigned mismatch.
-
+
2007-10-10 Nathan Froyd <froydnj@codesourcery.com>
* lto.c (lto_read_form): Handle DW_AT_MIPS_linkage_name and
2007-09-11 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (input_expr_operand): Added type for STRING_CST.
-
+
2007-09-10 Nathan Froyd <froydnj@codesourcery.com>
* lto-read.c (lto_read): Set the type of the newly created CALL_EXPR.
* lto-read.c (fun_in): Renamed to data_in.
(input_expr_operand, input_local_var, input_string_internal,
- input_string, input_real, input_list, get_label_decl,
+ input_string, input_real, input_list, get_label_decl,
get_type_ref, input_expr_operand, input_globals, input_labels,
- input_local_vars_index, input_local_var, input_local_vars,
+ input_local_vars_index, input_local_var, input_local_vars,
input_cfg, input_phi, input_ssa_names, input_bb, ): Renamed fun_in to data_in.
(input_constructor): New function.
(lto_read_function_body): Renamed to lto_read_body and generalized
to handle both functions and constructors.
(lto_read_function_body, lto_read_var_init): New function.
-
-
+
2007-08-28 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (input_expr_operand): Assert that there really is a
FUNCTION_DECL.
(input_globals): Removed checks on 0 section.
-
+
2007-08-28 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (fun_in): Added local_decls_index and
- local_decls_index_d.
+ local_decls_index_d.
(input_expr_operand): Changed inputting of PARM_DECLs and VAR_DECLs.
(input_globals): Enabled code to handle FIELD_DECLs.
(input_local_vars_index, input_local_vars): New function.
(input_local_var): Changed to allow locals to be input randomly.
(lto_read_function_body): Added code to input the
local_decls_index and to free various structures.
-
+
2007-08-17 Jim Blandy <jimb@codesourcery.com>
* lto.c (lto_read_variable_formal_parameter_constant_DIE): Remove
* lto.c (lto_read_form): Complete attr_classes table.
(DWARF2_form_data): Doc fix.
-
+
2007-08-05 Mark Mitchell <mark@codesourcery.com>
* lto.h (lto_file_vtable): Remove read_var_init. Add map_var_init
* lto-read.c (lto_read_function_body): Moved declaration of fn
outside of ifdef.
-
+
2007-08-01 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (input_uleb128, input_string_internal, input_real,
input_expr_operand, input_local_vars, input_cfg, input_phi,
input_ssa_names, input_bb, input_function): Added semicolons.
-
+
2007-07-31 Kenneth Zadeck <zadeck@naturalbridge.com>
* lto-read.c (input_globals): Remove debugging.
(input_ssa_names): Initialize SSA_NAME_DEF_STMT to empty stmt.
(input_flags): New function.
* lto-lang.c (lto_init): Changed state of in_lto_p.
-
-
+
+
2007-07-24 Mark Mitchell <mark@codesourcery.com>
* lto-tree.h (lto_varargs_cookie): Remove.
(input_function): Now builds both the cfg and ssa_names table.
(lto_read_function_body): Processes new header fields to construct
streams for the ssa_names and cfg and their debugging.
- * lto/lto-lang.c (lto_init): Set in_lto_p.
-
-
+ * lto-lang.c (lto_init): Set in_lto_p.
+
+
2007-06-28 Mark Mitchell <mark@codesourcery.com>
* lto.h (lto_file_vtable): Add read_var_init.
* lto-read (make_new_block): Initialize the stmt_list.
(lto_static_init_local): Add debugging for missing codes.
-
+
2007-06-26 Mark Mitchell <mark@codesourcery.com>
* lto.c (lto_read_subroutine_type_subprogram_DIE): Handle
- unprototyped functions.
+ unprototyped functions.
2007-06-23 Mark Mitchell <mark@codesourcery.com>
* lto-symbtab.c: Build function types out of TREE_LISTs.
* lto-elf.c (<libelf>): Check for HAVE_LIBELF_H.
-
+
* Make-lang.in (LTO_OBJS): Depend on attribs.o.
-
+
2007-06-21 Kenneth Zadeck <zadeck@naturalbridge.com>
- * lto/lto-tree.h (lang_decl, lang_type, language_function): Added
+ * lto-tree.h (lang_decl, lang_type, language_function): Added
dummy since ggc does not like empty structs.
- * lto/lto-elf.c (libelf.h): Changed to libelf/libelf.h.
- * lto/lto-read.c (ADD_CLASS_FLAG, ADD_EXPR_FLAG): Changed
+ * lto-elf.c (libelf.h): Changed to libelf/libelf.h.
+ * lto-read.c (ADD_CLASS_FLAG, ADD_EXPR_FLAG): Changed
expr->common to expr->base.
(make_new_block): Moved stmt_list to proper place.
-
-2007-03-14 Robert Kennedy <jimbob@google.com>
+2007-03-14 Robert Kennedy <jimbob@google.com>
Eliminate use of lang_hooks.set_decl_assembler_name from LTO
* lto.c (lto_read_subroutine_type_subprogram_DIE) Get DECL
(lto_read_form): Change first argument to lto_info_fd *.
Add FORM_CONTEXT argument.
Handle DW_FORM_ref_addr.
- (lto_read_tag_DIE): Change first argument to lto_info_fd *.
+ (lto_read_tag_DIE): Change first argument to lto_info_fd *.
(LTO_BEGIN_READ_ATTRS_UNCHECKED): Save old context.
Swap contexts if necessary for form.
(LTO_BEGIN_READ_ATTRS): Cast fd to right type for
* lto.h (DWARF2_CompUnit): New structure.
(lto_info_fd): Ditto.
(lto_file): Change debug_info to be an lto_info_fd.
-
+
2006-06-25 Mark Mitchell <mark@codesourcery.com>
* lto.c (toplev.h): Include it.
(lto_file): Use new types.
(lto_file_close): Declare.
* lto-lang.c (lto_init): Always use unit-at-a-time mode.
-
+
2006-06-18 Mark Mitchell <mark@codesourcery.com>
* lto.h: New file.
(lto.h): Likewise.
(lto_init): New function.
(lto_write_globals): Remove.
- (LANG_HOOKS_WRITE_GLOBALS): Define to lhd_do_nothing.
+ (LANG_HOOKS_WRITE_GLOBALS): Define to lhd_do_nothing.
(LANG_HOOKS_INIT): Define.
(LANG_HOOKS_PARSE_FILE): Likewise.
* Make-lang.in (LTO_OBJS): Add lto.o and lto-elf.o.
2019-05-18 Iain Sandoe <iain@sandoe.co.uk>
- * objc/objc-act.h (OCTI_INSTANCE_TYPE, OCTI_INSTANCETYPE_NAME): New.
+ * objc-act.h (OCTI_INSTANCE_TYPE, OCTI_INSTANCETYPE_NAME): New.
(objc_global_trees): Add instance type and name.
(INSTANCE_TYPEDEF_NAME): New.
- * objc/objc-act.c (synth_module_prologue): Build decls for
+ * objc-act.c (synth_module_prologue): Build decls for
objc_instancetype_type and objc_instancetype_name.
2019-05-16 Martin Sebor <msebor@redhat.com>
- * objc-act.c (objc_begin_catch_clause): Quote keywords and options
- in diagnostics.
- (objc_build_throw_stmt): Same.
- (objc_finish_message_expr): Same.
- (get_super_receiver): Same.
- * objc-next-runtime-abi-01.c (objc_next_runtime_abi_01_init): Spell
- out "less than" in English./
- * objc-next-runtime-abi-02.c (objc_next_runtime_abi_02_init): Spell
- out "greater" in English.
+ * objc-act.c (objc_begin_catch_clause): Quote keywords and options
+ in diagnostics.
+ (objc_build_throw_stmt): Same.
+ (objc_finish_message_expr): Same.
+ (get_super_receiver): Same.
+ * objc-next-runtime-abi-01.c (objc_next_runtime_abi_01_init): Spell
+ out "less than" in English./
+ * objc-next-runtime-abi-02.c (objc_next_runtime_abi_02_init): Spell
+ out "greater" in English.
2019-05-10 Jakub Jelinek <jakub@redhat.com>
2013-11-22 Andrew MacLeod <amacleod@redhat.com>
- * objc/objc-act.c: Add required include files from gimple.h.
+ * objc-act.c: Add required include files from gimple.h.
2013-11-18 Richard Sandiford <rdsandiford@googlemail.com>
Include c-family/c-target.h.
(handle_next_class_ref): Rewrite to emit top-level asm statements.
(handle_next_impent): Likewise.
- * objc/Make-lang.in: Fix dependencies for objc-next-runtime-abi-01.o.
+ * Make-lang.in: Fix dependencies for objc-next-runtime-abi-01.o.
2012-05-31 Steven Bosscher <steven@gcc.gnu.org>
2010-12-18 Iain Sandoe <iains@gcc.gnu.org>
- * objc/objc-act.c (objc_eh_personality): Select personality name on
+ * objc-act.c (objc_eh_personality): Select personality name on
runtime.
(objc_init_exceptions): New.
(objc_begin_try_stmt): Use objc_init_exceptions.
Based on the CFString implementation in FSF apple/trunk branch.
- * objc/objc-act.c (objc_build_string_object): Handle CFStrings.
+ * objc-act.c (objc_build_string_object): Handle CFStrings.
2010-10-21 Nicola Pero <nicola.pero@meta-innovation.com>
to gcc_alloc_xxx calls in hash_init and hash_class_name_enter to
get it to compile in the current trunk.
- 2006-01-27 Fariborz Jahanian <fjahanian@apple.com>
+ 2006-01-27 Fariborz Jahanian <fjahanian@apple.com>
Radar 4345837
- * objc/objc-act.c (hash_class_name_enter): New.
+ * objc-act.c (hash_class_name_enter): New.
(hash_class_name_lookup): New.
(objc_declare_alias): Enter alias name into hash table.
(objc_declare_class): Enter class name into hash table.
2006-03-10 Fariborz Jahanian <fjahanian@apple.com>
Radar 4407151
- * objc/objc-act.c (objc_is_class_name): template parameter is not
+ * objc-act.c (objc_is_class_name): template parameter is not
an objective class name.
(objc_generate_cxx_cdtors): Check for the null
objc_implementation_context.
2005-11-08 Fariborz Jahanian <fjahanian@apple.com>
Radar 4330422
- * objc/objc-act.c (objc_non_volatilized_type): New
+ * objc-act.c (objc_non_volatilized_type): New
2005-10-07 Fariborz Jahanian <fjahanian@apple.com>
Merge from 'apple/trunk' branch on FSF servers.
- 2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
+ 2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
Radar 4133425
* objc-act.c (objc_diagnose_private_ivar): New.
merge from FSF apple 'trunk' branch.
- 2006-04-26 Fariborz Jahanian <fjahanian@apple.com>
+ 2006-04-26 Fariborz Jahanian <fjahanian@apple.com>
Radar 3803157 (method attributes)
- * objc/objc-act.h (METHOD_TYPE_ATTRIBUTES): New macro.
- * objc/objc-act.c (objc_decl_method_attributes): New.
+ * objc-act.h (METHOD_TYPE_ATTRIBUTES): New macro.
+ * objc-act.c (objc_decl_method_attributes): New.
(objc_add_method_declaration): Process method's attribute.
(objc_start_method_definition): Ditto.
(build_objc_method_call): Inject method attribute into
2010-10-07 Iain Sandoe <iains@gcc.gnu.org>
- * objc-act.c (objc_build_message_expr): Call mark_exp_read () to
+ * objc-act.c (objc_build_message_expr): Call mark_exp_read () to
signal that the receiver has been used.
2010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
Merge from 'apple/trunk' branch on FSF servers.
- 2006-04-12 Fariborz Jahanian <fjahanian@apple.com>
+ 2006-04-12 Fariborz Jahanian <fjahanian@apple.com>
Radar 4507230
* objc-act.c (objc_type_valid_for_messaging): New routine to check
2006-01-30 Fariborz Jahanian <fjahanian@apple.com>
Radar 4386773
- * objc/objc-act.c (objc_set_method_opt): New function.
+ * objc-act.c (objc_set_method_opt): New function.
(objc_start_protocol, objc_finish_interface): Reset
objc_method_optional_flag flag.
(objc_add_method_declaration): Pass on the new
flag to objc_add_method.
(objc_add_method): Add optional methods to new chain in
the protocol class.
- * objc/objc-act.h (CLASS_OPTIONAL_CLS_METHODS)
+ * objc-act.h (CLASS_OPTIONAL_CLS_METHODS)
(CLASS_OPTIONAL_NST_METHODS): New macros accessing a protocol
class's optional method chains.
Merge from 'apple/trunk' branch on FSF servers.
- 2006-03-09 Fariborz Jahanian <fjahanian@apple.com>
+ 2006-03-09 Fariborz Jahanian <fjahanian@apple.com>
Radar 4457381
- * objc/objc-act.c (objc_finish_message_expr): Look for message in
+ * objc-act.c (objc_finish_message_expr): Look for message in
@class's protocol list.
2006-02-07 Fariborz Jahanian <fjahanian@apple.com>
Radar 4219590
- * objc/objc-act.c (objc_start_method_definition): Initialize
+ * objc-act.c (objc_start_method_definition): Initialize
break/continue labels.
2005-08-22 Ziemowit Laski <zlaski@apple.com>
2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
- * objc/objc-act.c (objc_begin_try_stmt): Generate an error if
+ * objc-act.c (objc_begin_try_stmt): Generate an error if
-fobjc-exceptions was not used. (objc_build_throw_stmt): Same
change.
to be extracted within the routine. Do not start new vars,
but finish the ones collcted during parsing.
(generate_shared_structures): Likewise.
- (finish_objc): Reorder code so that we finish variables before
+ (finish_objc): Reorder code so that we finish variables before
referencing them. Save the global data before calling meta-data
creation routines, and pass the current reference to the two
main routines. Only call generate_objc_image_info () for the
(objc_build_exc_ptr): Use __builtin_eh_pointer.
2009-09-13 Richard Guenther <rguenther@suse.de>
- Rafael Avila de Espindola <espindola@google.com>
+ Rafael Avila de Espindola <espindola@google.com>
* objc-act.c (objc_eh_runtime_type): Export.
(objc_init_exceptions): Remove. Move warning code ...
2009-04-21 Taras Glek <tglek@mozilla.com>
- * objc-act.c: Update GTY annotations to new syntax
- * objc-act.h: Likewise
+ * objc-act.c: Update GTY annotations to new syntax.
+ * objc-act.h: Likewise.
2009-04-21 Joseph Myers <joseph@codesourcery.com>
2008-09-17 Jan Hubicka <jh@suse.cz>
PR c++/18071
- * objc/objc-act.c (objc_finish_method_definition): Do not set
+ * objc-act.c (objc_finish_method_definition): Do not set
DECL_INLINE.
2008-09-01 Aldy Hernandez <aldyh@redhat.com>
2007-04-04 Stuart Hastings <stuart@apple.com>
PR 31281
- * objc/objc-act.c (next_sjlj_build_catch_list): Delete volatile from rethrow decl.
+ * objc-act.c (next_sjlj_build_catch_list): Delete volatile from rethrow decl.
2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
2007-02-18 Kazu Hirata <kazu@codesourcery.com>
- * objc/objc-act.c: Fix comment typos.
+ * objc-act.c: Fix comment typos.
2007-02-15 Sandra Loosemore <sandra@codesourcery.com>
Brooks Moses <brooks.moses@codesourcery.com>
* objc-act.c (objc_finish_file): Remove ifdef clause for OBJCPLUS and
content where we called cp_finish_file.
-2006-10-23 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
+2006-10-23 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
* objc-act.c (synth_module_prologue): Replace calls to
builtin_function with add_builtin_function.
PR objc/27240
* objc-act.c (objc_is_public): Return early on invalid type.
-2006-03-02 Fariborz Jahanian <fjahanian@apple.com>
+2006-03-02 Fariborz Jahanian <fjahanian@apple.com>
* objc-act.c (init_module_descriptor): Remove file name from
module descriptor.
2006-02-20 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
- * Make-lang.in (OBJC): Remove
- (OBJECTIVE-C): Remove
- (objective-c): Remove
- (.PHONY): Remove objective-c and ObjC
+ * Make-lang.in (OBJC): Remove.
+ (OBJECTIVE-C): Remove.
+ (objective-c): Remove.
+ (.PHONY): Remove objective-c and ObjC.
2005-12-14 Andrew Pinski <pinskia@physics.uc.edu>
PR objc/25360
- * objc/objc-act.c (encode_type): Encode Complex types as 'j' followed
+ * objc-act.c (encode_type): Encode Complex types as 'j' followed
by the inner type.
2005-12-12 Andrew Pinski <pinskia@physics.uc.edu>
2005-02-25 Joseph S. Myers <joseph@codesourcery.com>
* Make-lang.in (objc/objc-parse.o-warn, objc/objc-parse.o,
- objc/objc-parse.c, objc/objc-parse.y): Remove
+ objc/objc-parse.c, objc/objc-parse.y): Remove.
(OBJC_OBJS, objc.srcextra, objc.tags, objc.mostlyclean,
objc.distclean, objc.maintainer-clean): Update for new parser.
* config-lang.in (gtfiles): Update for new parser.
(objcp/objcp-act.o): Reordered dependencies. Added dependency on
objc-encoding.h.
(objcp/objc-encoding.o): New rule.
-
+
2011-04-15 Nicola Pero <nicola.pero@meta-innovation.com>
* objcp-decl.c (objcp_finish_struct): Use
* config-lang.in (gtfiles): Added cp/parser.h and reorganized list
so that it is more obvious that it is identical to the C++ one
with the addition of some files at the end.
-
+
2011-03-06 Joseph Myers <joseph@codesourcery.com>
* lang-specs.h: Match -save-temps* instead of -save-temps.
(LANG_HOOKS_EH_PERSONALITY): Removed.
(LANG_HOOKS_EH_RUNTIME_TYPE): Removed.
(objcp_eh_personality_decl): Removed.
-
+
2011-02-07 Mike Stump <mikestump@comcast.net>
* Make-lang.in (obj-c++.tags): Don't include *.y.
2010-10-14 Iain Sandoe <iains@gcc.gnu.org>
- merge from FSF apple 'trunk' branch.
+ merge from FSF apple 'trunk' branch.
2006 Fariborz Jahanian <fjahanian@apple.com>
-
+
Radars 4436866, 4505126, 4506903, 4517826
* objcp-lang.c (objcxx_init_ts): Update for property_decl.
2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
- PR objc/25965
+ PR objc/25965
* objcp-decl.c (objcp_finish_struct): Call
objc_get_interface_ivars() and check for duplicate ivars.
2008-02-07 Andreas Tobler <andreast-list@fgznet.ch>
Douglas Gregor <doug.gregor@gmail.com>
-
+
PR bootstrap/35115
* objcp-decl.c (objcp_comptypes): Call cp_comptypes, not comptypes.
2008-02-07 Andreas Tobler <andreast-list@fgznet.ch>
Douglas Gregor <doug.gregor@gmail.com>
-
+
PR bootstrap/35115
* objcp-decl.c (objcp_comptypes): Call cp_comptypes, not comptypes.
* Make-lang.in: Add dummy lang.install-pdf target.
-2006-10-23 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
+2006-10-23 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
* objcp-decl.h (objcp_builtin_function): Remove.
Mike Stump <mrs@apple.com>
Yet more Objective-C++...
-
+
* Make-lang.in (objcp/objcp-lang.o): Add tree-gimple.h
(objcp/objcp-decl.o): Likewise.
(objcp/objcp-act.o): Likewise.
2010-01-11 Joseph Myers <joseph@codesourcery.com>
Shujing Zhao <pearly.zhao@oracle.com>
-
+
PR translation/42467
* exgettext: Keep the text before tab character in the option help
string at *.opt file.
2010-01-11 Joseph Myers <joseph@codesourcery.com>
Shujing Zhao <pearly.zhao@oracle.com>
-
+
PR translation/42467
* exgettext: Keep the text before tab character in the option help
string at *.opt file.
* gcc.target/powerpc/vec_rotate-4.c: Rename to ...
* gcc.target/powerpc/vec-rotate-4.c: ... this.
-2019-08-09 Sam Tebbs <sam.tebbs@arm.com>
+2019-08-09 Sam Tebbs <sam.tebbs@arm.com>
* lib/target-supports.exp
(check_effective_target_arm_v8_4a_bkey_directive): New proc.
* c-c++-common/gomp/pr91401-1.c: New test.
* c-c++-common/gomp/pr91401-2.c: New test.
-2019-08-09 Alexandre Oliva <oliva@adacore.com>
+2019-08-09 Alexandre Oliva <oliva@adacore.com>
* gcc.target/i386/sse2-mul-1.c: Use rand. Drop fallback.
* gcc.target/i386/sse4_1-blendps-2.c: Likewise.
2019-08-07 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/91359
- * pr91359_2.f: Fix missing hyphen in dg-do
- * pr91359_1.f: Ditto. Remove RESULT variable to test actual fix!
+ * pr91359_2.f: Fix missing hyphen in dg-do
+ * pr91359_1.f: Ditto. Remove RESULT variable to test actual fix!
2019-08-07 Marek Polacek <polacek@redhat.com>
* gcc.target/powerpc/vec_rotate-3.c: New test.
* gcc.target/powerpc/vec_rotate-4.c: New test.
-2019-08-07 Alexandre Oliva <oliva@adacore.com>
+2019-08-07 Alexandre Oliva <oliva@adacore.com>
* gcc.target/i386/math_m_pi.h: New.
* gcc.target/i386/sse4_1-round.h: Use it.
2019-08-01 Wilco Dijkstra <wdijkstr@arm.com>
- * gcc/testsuite/g++.dg/lto/pr89330_0.C: Add effective-target shared.
+ * g++.dg/lto/pr89330_0.C: Add effective-target shared.
2019-08-01 Kito Cheng <kito.cheng@sifive.com>
* gnat.dg/case_optimization3.ad[sb]: New test.
-2019-07-25 Martin Liska <mliska@suse.cz
+2019-07-25 Martin Liska <mliska@suse.cz>
Dominik Infuhr <dominik.infuehr@theobroma-systems.com>
PR c++/23383
PR tree-optimization/91183
PR tree-optimization/86688
- * gcc/testsuite/c-c++-common/ubsan/object-size-9.c: Disable warnings.
+ * c-c++-common/ubsan/object-size-9.c: Disable warnings.
* gcc.dg/Wstringop-overflow-14.c: New test.
* gcc.dg/attr-nonstring-2.c: Remove xfails.
* gcc.dg/strlenopt-70.c: New test.
* gcc.target/msp430/isr-push-pop-leaf-isr-430.c: Likewise.
* gcc.target/msp430/isr-push-pop-leaf-isr-430x.c: Likewise.
-2019-07-22 Andrea Corallo <andrea.corallo@arm.com>
+2019-07-22 Andrea Corallo <andrea.corallo@arm.com>
* jit.dg/test-error-gcc_jit_context_new_unary_op-bad-res-type.c:
New testcase.
2019-07-18 Sylvia Taylor <sylvia.taylor@arm.com>
- PR target/90317
- * gcc.target/arm/crypto-vsha1cq_u32.c (foo): Change return type to
- uint32_t.
- (GET_LANE, TEST_SHA1C_VEC_SELECT): New.
- * gcc.target/arm/crypto-vsha1h_u32.c (foo): Change return type to
- uint32_t.
- (GET_LANE, TEST_SHA1H_VEC_SELECT): New.
- * gcc.target/arm/crypto-vsha1mq_u32.c (foo): Change return type to
- uint32_t.
- (GET_LANE, TEST_SHA1M_VEC_SELECT): New.
- * gcc.target/arm/crypto-vsha1pq_u32.c (foo): Change return type to
- uint32_t.
- (GET_LANE, TEST_SHA1P_VEC_SELECT): New.
+ PR target/90317
+ * gcc.target/arm/crypto-vsha1cq_u32.c (foo): Change return type to
+ uint32_t.
+ (GET_LANE, TEST_SHA1C_VEC_SELECT): New.
+ * gcc.target/arm/crypto-vsha1h_u32.c (foo): Change return type to
+ uint32_t.
+ (GET_LANE, TEST_SHA1H_VEC_SELECT): New.
+ * gcc.target/arm/crypto-vsha1mq_u32.c (foo): Change return type to
+ uint32_t.
+ (GET_LANE, TEST_SHA1M_VEC_SELECT): New.
+ * gcc.target/arm/crypto-vsha1pq_u32.c (foo): Change return type to
+ uint32_t.
+ (GET_LANE, TEST_SHA1P_VEC_SELECT): New.
2019-07-18 Jan Hubicka <hubicka@ucw.cz>
* c-c++-common/pr53633-2.c: New test.
-2019-07-17 Alexandre Oliva <oliva@adacore.com>
+2019-07-17 Alexandre Oliva <oliva@adacore.com>
PR middle-end/81824
* g++.dg/Wmissing-attributes-1.C: New. Some of its fragments
PR tree-optimization/91145
* gcc.dg/torture/pr91145.c: New testcase.
-2019-07-12 Alexandre Oliva <oliva@adacore.com>
+2019-07-12 Alexandre Oliva <oliva@adacore.com>
* gcc.dg/gimplefe-44.c: New.
* gcc.dg/gimplefe-43.c: New.
* gcc.target/s390/combine-shift-rotate-add-mod.c: New test.
* gcc.target/s390/vector/combine-shift-vec.c: New test.
+2019-07-08 Joern Rennecke <joern.rennecke@riscy-ip.com>
+
+ Avoid clash with system header declaration.
+ * gcc.dg/vect/slp-reduc-sad.c (uint32_t): Remove unused declaration.
+
2019-07-08 Richard Biener <rguenther@suse.de>
PR tree-optimization/91108
PR middle-end/78884
* gcc.dg/gomp/pr78884.c: New test.
-2019-07-04 Andrea Corallo <andrea.corallo@arm.com>
+2019-07-04 Andrea Corallo <andrea.corallo@arm.com>
* jit.dg/test-error-gcc_jit_context_new_binary_op-bad-res-type.c:
New testcase.
* gcc.dg/tree-ssa/cunroll-15.c: Remove XFAIL on arm.
-2019-07-04 Andrea Corallo <andrea.corallo@arm.com>
+2019-07-04 Andrea Corallo <andrea.corallo@arm.com>
* jit.dg/all-non-failing-tests.h: Add test-accessing-bitfield.c.
* jit.dg/test-accessing-bitfield.c: New testcase.
* gcc.dg/store_merging_29.c: Likewise.
* gcc.dg/tree-ssa/dump-6.c: Likewise.
+2019-07-03 Mark Wielaard <mark@klomp.org>
+
+ PR debug/90981
+ * g++.dg/pr90981.C: New test.
+
2019-07-03 Richard Biener <rguenther@suse.de>
PR middle-end/91069
* g++.dg/tree-ssa/pr90883.c: Add -Os. Check dse2 for the
deleted store on some targets.
+2019-07-02 Joern Rennecke <joern.rennecke@riscy-ip.com>
+
+ PR testsuite/91065
+ * gcc.dg/plugin/start_unit_plugin.c: Register a root tab
+ to reference fake_var.
+
2019-07-02 qing zhao <qing.zhao@oracle.com>
PR preprocessor/90581
PR tree-optimization/58483
* gcc.dg/tree-ssa/ssa-dom-cse-8.c: New testcase.
+2019-07-01 Joern Rennecke <joern.rennecke@riscy-ip.com>
+
+ PR middle-end/66726
+ * gcc.dg/tree-ssa/pr66726-4.c: New testcase.
+
2019-07-01 Andreas Krebbel <krebbel@linux.ibm.com>
* gcc.target/s390/vector/vec-shift-2.c: New test.
PR objc/90709
* obj-c++.dg/proto-lossage-7.mm: Use proxy headers.
* obj-c++.dg/strings/const-cfstring-2.mm: Likewise.
- * obj-c++.dg/strings/const-cfstring-5.mm: Likewise
+ * obj-c++.dg/strings/const-cfstring-5.mm: Likewise.
* obj-c++.dg/strings/const-str-12.mm: Likewise.
* obj-c++.dg/syntax-error-1.mm: Likewise.
* obj-c++.dg/torture/strings/const-cfstring-1.mm: Likewise.
* lib/scanasm.exp (dg-function-on-line): Add pattern for hppa*-*-linux*.
-2019-06-07 Mark Eggleston <mark.eggleston@codethink.com>
+2019-06-07 Mark Eggleston <mark.eggleston@codethink.com>
PR fortran/89100
* gfortran.dg/fmt_f_default_field_width_3.f90: Modify dg-error
2019-05-28 Jeff Law <law@redhat.com>
- * testsuite/gcc.target/sh/pr50749-qihisi-predec-3.c: Disable
+ * gcc.target/sh/pr50749-qihisi-predec-3.c: Disable
loop distribution.
2019-05-28 Segher Boessenkool <segher@kernel.crashing.org>
* lib/target-supports.exp (check_effective_target_mfentry): New.
* gcc.target/i386/fentry-override.c: Require effective target mfentry.
- * gcc/testsuite/gcc.target/i386/fentry.c: Likewise
- * gcc.target/i386/fentryname1.c: Likewise
- * gcc.target/i386/fentryname2.c: Likewise
- * gcc.target/i386/fentryname3.c: Likewise
- * gcc.target/i386/nop-mcount.c: Likewise
- * gcc.target/i386/pr82699-2.c: Likewise
- * gcc.target/i386/pr82699-4.c: Likewise
- * gcc.target/i386/pr82699-5.c: Likewise
- * gcc.target/i386/pr82699-6.c: Likewise
- * gcc.target/i386/returninst1.c: Likewise
- * gcc.target/i386/returninst2.c: Likewise
- * gcc.target/i386/returninst3.c : Likewise
+ * gcc.target/i386/fentry.c: Likewise.
+ * gcc.target/i386/fentryname1.c: Likewise.
+ * gcc.target/i386/fentryname2.c: Likewise.
+ * gcc.target/i386/fentryname3.c: Likewise.
+ * gcc.target/i386/nop-mcount.c: Likewise.
+ * gcc.target/i386/pr82699-2.c: Likewise.
+ * gcc.target/i386/pr82699-4.c: Likewise.
+ * gcc.target/i386/pr82699-5.c: Likewise.
+ * gcc.target/i386/pr82699-6.c: Likewise.
+ * gcc.target/i386/returninst1.c: Likewise.
+ * gcc.target/i386/returninst2.c: Likewise.
+ * gcc.target/i386/returninst3.c : Likewise.
2019-05-23 Bill Schmidt <wschmidt@linux.ibm.com>
* gcc.dg/tree-ssa/ssa-lim-13.c: New testcase.
+2019-05-22 Alan Modra <amodra@gmail.com>
+
+ * gcc.target/powerpc/ppc32-abi-dfp-1.c: Don't use
+ power mnemonics.
+ * gcc.dg/vect/O3-pr70130.c: Disable default options
+ added by check_vect_support_and_set_flags.
+ * gcc.dg/vect/pr48765.c: Likewise.
+ * gfortran.dg/vect/pr45714-b.f: Likewise.
+
2019-05-22 Hans-Peter Nilsson <hp@axis.com>
PR middle-end/90553
* g++.dg/lookup/using53.C: Adjust diagnostic.
+2019-05-21 Alan Modra <amodra@gmail.com>
+
+ PR target/90545
+ * gcc.target/powerpc/fold-vec-splats-floatdouble.c: Correct comments
+ and rename functions to suit parameters.
+
2019-05-21 Richard Biener <rguenther@suse.de>
PR middle-end/90510
* lib/target-supports.exp (check_effective_target_cet): Add the
-fcf-protection flag to the build conditions.
-2019-05-16 Jun Ma <JunMa@linux.alibaba.com>
+2019-05-16 Jun Ma <JunMa@linux.alibaba.com>
PR tree-optimization/90106
* gcc.dg/cdce1.c: Check tailcall code generation after cdce pass.
param.
2019-05-14 Richard Biener <rguenther@suse.de>
- H.J. Lu <hongjiu.lu@intel.com>
+ H.J. Lu <hongjiu.lu@intel.com>
PR tree-optimization/88828
* gcc.target/i386/pr88828-1.c: New test.
systems.
* gcc.dg/tsan/pr88017.c: Likewise.
-2019-05-05 Thomas Koenig <tkoenig@gcc.gnu.org>
+2019-05-05 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/90344
* gfortran.dg/pr90344.f90: New test
PR fortran/60144
* gfortran.dg/block_name_2.f90: Adjust dg-error.
- * gfortran.dg/dec_type_print_3.f90.f90: Likewise
+ * gfortran.dg/dec_type_print_3.f90.f90: Likewise.
* gfortran.dg/pr60144.f90: New test.
2019-05-01 Jeff Law <law@redhat.com>
2019-04-23 Bin Cheng <bin.cheng@linux.alibaba.com>
PR tree-optimization/90078
- * gcc/testsuite/g++.dg/tree-ssa/pr90078.C: New test.
+ * g++.dg/tree-ssa/pr90078.C: New test.
2019-04-29 Vladislav Ivanishin <vlad@ispras.ru>
* g++.dg/lto/pr89358_0.C: Replace dg-* with dg-lto-*.
-2019-04-16 Alexandre Oliva <aoliva@redhat.com>
+2019-04-16 Alexandre Oliva <aoliva@redhat.com>
PR debug/89528
* gcc.dg/guality/pr89528.c: New.
PR c++/89878
PR c++/89833
PR c++/47488
- * gcc/testsuite/g++.dg/abi/mangle69.C: New test.
- * gcc/testsuite/g++.dg/abi/mangle70.C: New test.
- * gcc/testsuite/g++.dg/abi/mangle71.C: New test.
- * gcc/testsuite/g++.dg/abi/mangle72.C: New test.
- * gcc/testsuite/g++.dg/cpp0x/constexpr-array19.C: New test.
- * gcc/testsuite/g++.dg/cpp2a/nontype-class15.C: New test.
- * gcc/testsuite/g++.dg/cpp2a/nontype-class16.C: New test.
- * gcc/testsuite/g++.dg/init/array51.C: New test.
- * gcc/testsuite/g++.dg/template/nontype29.C: New test.
+ * g++.dg/abi/mangle69.C: New test.
+ * g++.dg/abi/mangle70.C: New test.
+ * g++.dg/abi/mangle71.C: New test.
+ * g++.dg/abi/mangle72.C: New test.
+ * g++.dg/cpp0x/constexpr-array19.C: New test.
+ * g++.dg/cpp2a/nontype-class15.C: New test.
+ * g++.dg/cpp2a/nontype-class16.C: New test.
+ * g++.dg/init/array51.C: New test.
+ * g++.dg/template/nontype29.C: New test.
2019-04-04 Martin Sebor <msebor@redhat.com>
PR c/89812
* gcc.dg/attr-aligned-3.c: New test.
-2019-03-25 Johan Karlsson <johan.karlsson@enea.com>
+2019-03-25 Johan Karlsson <johan.karlsson@enea.com>
PR debug/86964
* gcc.dg/debug/dwarf2/pr86964.c: New testcase.
* gcc.target/powerpc/vsx-builtin-9a.c: New test.
* gcc.target/powerpc/vsx-builtin-9b.c: New test.
-2019-03-15 Alexandre Oliva <aoliva@redhat.com>
+2019-03-15 Alexandre Oliva <aoliva@redhat.com>
PR c++/88534
PR c++/88537
2018-03-04 Bin Cheng <bin.cheng@linux.alibaba.com>
PR tree-optimization/89487
- * gcc/testsuite/gcc.dg/tree-ssa/pr89487.c: New test.
+ * gcc.dg/tree-ssa/pr89487.c: New test.
2019-03-03 Harald Anlauf <anlauf@gmx.de>
* gcc.dg/pr69471-2.c: Likewise.
* gcc.target/i386/pr69471-3.c: Likewise.
-2019-02-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+2019-02-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/84387
* gfortran.dg/dtio_34.f90: New test.
* gcc.dg/vect/slp-reduc-sad.c: Update scan string.
* gcc.dg/vect/vect-reduc-sad.c: Likewise.
-2019-02-20 Andre Vieira <andre.simoesdiasvieira@arm.com>
+2019-02-20 Andre Vieira <andre.simoesdiasvieira@arm.com>
PR target/86487
* gcc.target/arm/pr86487.c: New.
2019-02-20 Li Jia He <helijia@linux.ibm.com>
PR target/88100
- * gcc/testsuite/gcc.target/powerpc/pr88100.c: New testcase.
+ * gcc.target/powerpc/pr88100.c: New testcase.
2019-02-19 Wilco Dijkstra <wdijkstr@arm.com>
PR c++/89297 - ICE with OVERLOAD in template.
* g++.dg/cpp0x/initlist113.C: New test.
-2019-02-13 Alexandre Oliva <aoliva@redhat.com>
+2019-02-13 Alexandre Oliva <aoliva@redhat.com>
PR c++/86379
* g++.dg/cpp0x/pr86379.C: New.
PR/target 88850
* gcc.target/arm/pr88850.c: New test.
-2019-02-07 Alexandre Oliva <aoliva@redhat.com>
+2019-02-07 Alexandre Oliva <aoliva@redhat.com>
PR c++/86218
* g++.dg/cpp0x/pr86218.C: New.
PR target/89186
* g++.dg/ext/vector36.C: New test.
-2019-02-05 Alexandre Oliva <aoliva@redhat.com>
+2019-02-05 Alexandre Oliva <aoliva@redhat.com>
PR c++/87770
* g++.dg/pr87770.C: New.
* gfortran.dg/pr77960.f90: New test.
2018-01-19 Thomas Koenig <tkoenig@gcc.gnu.org>
- Paul Thomas <pault@gcc.gnu.org>
+ Paul Thomas <pault@gcc.gnu.org>
PR fortran/56789
* gfortran.dg/contiguous_3.f90: Make code compilant. Remove
* gcc.target/powerpc/altivec_vld_vst_addr.c: New test.
-2019-01-17 Alexandre Oliva <aoliva@redhat.com>
+2019-01-17 Alexandre Oliva <aoliva@redhat.com>
PR c++/87768
* g++.dg/concepts/pr87768.C: New.
* g++.dg/diagnostic/thread1.C: Likewise.
2019-01-07 Thomas Koenig <tkoenig@gcc.gnu.org>
- Harald Anlauf <anlauf@gmx.de>
- Tobias Burnus <burnus@gcc.gnu.org>
+ Harald Anlauf <anlauf@gmx.de>
+ Tobias Burnus <burnus@gcc.gnu.org>
* gfortran.dg/is_contiguous_1.f90: New test.
* gfortran.dg/is_contiguous_2.f90: New test.