Daily bump.
This commit is contained in:
parent
e52494da91
commit
3c8e539dcf
230
gcc/ChangeLog
230
gcc/ChangeLog
@ -1,3 +1,233 @@
|
||||
2021-04-29 Alexandre Oliva <oliva@adacore.com>
|
||||
|
||||
* config.gcc: Merged x86 and x86_64 cpu_type-setting cases.
|
||||
|
||||
2021-04-29 Alexandre Oliva <oliva@adacore.com>
|
||||
|
||||
* config/i386/i386.h (ASM_OUTPUT_MAX_SKIP_PAD): Rename to...
|
||||
(ASM_OUTPUT_MAX_SKIP_ALIGN): ... this. Enclose in do/while(0).
|
||||
* config/i386/i386.c: Adjust.
|
||||
* config/i386/i386.md: Adjust.
|
||||
* config/i386/darwin.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Drop.
|
||||
* config/i386/dragonfly.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
|
||||
* config/i386/freebsd.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
|
||||
* config/i386/gas.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
|
||||
* config/i386/gnu-user.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
|
||||
* config/i386/iamcu.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
|
||||
* config/i386/lynx.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
|
||||
* config/i386/netbsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
|
||||
* config/i386/openbsdelf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
|
||||
* config/i386/x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
|
||||
(ASM_OUTPUT_MAX_SKIP_PAD): Likewise.
|
||||
|
||||
2021-04-29 Uroš Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* config/i386/i386-expand.c (ix86_expand_int_compare):
|
||||
Swap operands of GTU and LEU comparison to emit carry flag comparison.
|
||||
* config/i386/i386.md (*add<mode>3_carry_0): Change insn
|
||||
predicate to allow more combine opportunities with memory operands.
|
||||
(*sub<mode>3_carry_0): Ditto.
|
||||
|
||||
2021-04-29 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
PR rtl-optimization/100303
|
||||
* rtl-ssa/accesses.cc (function_info::make_use_available): Take a
|
||||
boolean that indicates whether the use will only be used in
|
||||
debug instructions. Treat it in the same way that existing
|
||||
cross-EBB debug references would be handled if so.
|
||||
(function_info::make_uses_available): Likewise.
|
||||
* rtl-ssa/functions.h (function_info::make_uses_available): Update
|
||||
prototype accordingly.
|
||||
(function_info::make_uses_available): Likewise.
|
||||
* fwprop.c (try_fwprop_subst): Update call accordingly.
|
||||
|
||||
2021-04-29 Jeff Law <jlaw@tachyum.com>
|
||||
|
||||
* config/nios2/nios2-protos.h (nios2_fpu_insn_enabled): Move outside
|
||||
of RTX_CODE guard.
|
||||
|
||||
2021-04-29 Uroš Bizjak <ubizjak@gmail.com>
|
||||
Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR target/100312
|
||||
* config/i386/i386-builtin.def (IX86_BUILTIN_MASKLOADPD)
|
||||
(IX86_BUILTIN_MASKLOADPS, IX86_BUILTIN_MASKLOADPD256)
|
||||
(IX86_BUILTIN_MASKLOADPS256, IX86_BUILTIN_MASKLOADD)
|
||||
(IX86_BUILTIN_MASKLOADQ, IX86_BUILTIN_MASKLOADD256)
|
||||
(IX86_BUILTIN_MASKLOADQ256): Move from SPECIAL_ARGS
|
||||
to PURE_ARGS category.
|
||||
* config/i386/i386-builtins.c (ix86_init_mmx_sse_builtins):
|
||||
Handle PURE_ARGS category.
|
||||
* config/i386/i386-expand.c (ix86_expand_builtin): Ditto.
|
||||
|
||||
2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* configure.ac: Check for the presence of sys/locking.h header and
|
||||
for whether _LK_LOCK is supported by _locking.
|
||||
* configure: Regenerate.
|
||||
* config.in: Likewise.
|
||||
* gcov-io.h: Define GCOV_LOCKED_WITH_LOCKING if HOST_HAS_LK_LOCK.
|
||||
* gcov-io.c (gcov_open): Add support for GCOV_LOCKED_WITH_LOCKING.
|
||||
* system.h: Include <sys/locking.h> if HAVE_SYS_LOCKING_H.
|
||||
|
||||
2021-04-29 Uroš Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* config/i386/predicates.md (fcmov_comparison_operator):
|
||||
Do not check for trivial FP comparison operator.
|
||||
<case GEU, case LTU>: Allow CCGZmode.
|
||||
<case GTU, case LEU>: Do not allow CCCmode.
|
||||
(ix86_comparison_operator) <case GTU, case LEU>: Allow only CCmode.
|
||||
(ix86_carry_flag_operator): Match only LTU and UNLT code.
|
||||
Do not check for trivial FP comparison operator. Allow CCGZmode.
|
||||
|
||||
2021-04-29 Tom de Vries <tdevries@suse.de>
|
||||
|
||||
* omp-expand.c (expand_omp_simd): Add step_orig, and replace uses of
|
||||
fd->loop.step by either step or orig_step.
|
||||
|
||||
2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* config/sparc/sparc.c (gen_load_pcrel_sym): Delete.
|
||||
(load_got_register): Do the PIC dance here.
|
||||
(sparc_legitimize_tls_address): Simplify.
|
||||
(sparc_emit_probe_stack_range): Likewise.
|
||||
(sparc32_initialize_trampoline): Likewise.
|
||||
(sparc64_initialize_trampoline): Likewise.
|
||||
* config/sparc/sparc.md (load_pcrel_sym<P:mode>): Add @ marker.
|
||||
(probe_stack_range<P:mode>): Likewise.
|
||||
(flush<P:mode>): Likewise.
|
||||
(tgd_hi22<P:mode>): Likewise.
|
||||
(tgd_lo10<P:mode>): Likewise.
|
||||
(tgd_add<P:mode>): Likewise.
|
||||
(tgd_call<P:mode>): Likewise.
|
||||
(tldm_hi22<P:mode>): Likewise.
|
||||
(tldm_lo10<P:mode>): Likewise.
|
||||
(tldm_add<P:mode>): Likewise.
|
||||
(tldm_call<P:mode>): Likewise.
|
||||
(tldo_hix22<P:mode>): Likewise.
|
||||
(tldo_lox10<P:mode>): Likewise.
|
||||
(tldo_add<P:mode>): Likewise.
|
||||
(tie_hi22<P:mode>): Likewise.
|
||||
(tie_lo10<P:mode>): Likewise.
|
||||
(tie_add<P:mode>): Likewise.
|
||||
(tle_hix22<P:mode>): Likewise.
|
||||
(tle_lox10<P:mode>): Likewise.
|
||||
(stack_protect_setsi): Rename to...
|
||||
(stack_protect_set32): ...this.
|
||||
(stack_protect_setdi): Rename to...
|
||||
(stack_protect_set64): ...this.
|
||||
(stack_protect_set): Adjust calls to above.
|
||||
(stack_protect_testsi): Rename to...
|
||||
(stack_protect_test32): ...this.
|
||||
(stack_protect_testdi): Rename to...
|
||||
(stack_protect_test64): ...this.
|
||||
(stack_protect_test): Adjust calls to above.
|
||||
|
||||
2021-04-29 H.J. Lu <hjl.tools@gmail.com>
|
||||
|
||||
PR middle-end/90773
|
||||
* builtins.c (builtin_memcpy_read_str): Add a dummy argument.
|
||||
(builtin_strncpy_read_str): Likewise.
|
||||
(builtin_memset_read_str): Add an argument for the previous RTL
|
||||
information and generate the new RTL from the previous RTL info.
|
||||
(builtin_memset_gen_str): Likewise.
|
||||
* builtins.h (builtin_strncpy_read_str): Update the prototype.
|
||||
(builtin_memset_read_str): Likewise.
|
||||
* expr.c (by_pieces_ninsns): If targetm.overlap_op_by_pieces_p()
|
||||
returns true, round up size and alignment to the widest integer
|
||||
mode for maximum size.
|
||||
(pieces_addr::adjust): Add a pointer to by_pieces_prev argument
|
||||
and pass it to m_constfn.
|
||||
(op_by_pieces_d): Add m_push and m_overlap_op_by_pieces.
|
||||
(op_by_pieces_d::op_by_pieces_d): Add a bool argument to
|
||||
initialize m_push. Initialize m_overlap_op_by_pieces with
|
||||
targetm.overlap_op_by_pieces_p ().
|
||||
(op_by_pieces_d::run): Pass the previous RTL information to
|
||||
pieces_addr::adjust and generate overlapping operations if
|
||||
m_overlap_op_by_pieces is true.
|
||||
(PUSHG_P): New.
|
||||
(move_by_pieces_d::move_by_pieces_d): Updated for op_by_pieces_d
|
||||
change.
|
||||
(store_by_pieces_d::store_by_pieces_d): Updated for op_by_pieces_d
|
||||
change.
|
||||
(can_store_by_pieces): Use by_pieces_constfn on constfun.
|
||||
(store_by_pieces): Use by_pieces_constfn on constfun. Updated
|
||||
for op_by_pieces_d change.
|
||||
(clear_by_pieces_1): Add a dummy argument.
|
||||
(clear_by_pieces): Updated for op_by_pieces_d change.
|
||||
(compare_by_pieces_d::compare_by_pieces_d): Likewise.
|
||||
(string_cst_read_str): Add a dummy argument.
|
||||
* expr.h (by_pieces_constfn): Add a dummy argument.
|
||||
(by_pieces_prev): New.
|
||||
* target.def (overlap_op_by_pieces_p): New target hook.
|
||||
* config/i386/i386.c (TARGET_OVERLAP_OP_BY_PIECES_P): New.
|
||||
* doc/tm.texi.in: Add TARGET_OVERLAP_OP_BY_PIECES_P.
|
||||
* doc/tm.texi: Regenerated.
|
||||
|
||||
2021-04-29 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/100253
|
||||
* tree-vect-stmts.c (vectorizable_load): Do not assume
|
||||
element alignment when DR_MISALIGNMENT is -1.
|
||||
(vectorizable_store): Likewise.
|
||||
|
||||
2021-04-29 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR target/100302
|
||||
* config/aarch64/aarch64.c (aarch64_add_offset_1_temporaries): Use
|
||||
absu_hwi instead of abs_hwi.
|
||||
|
||||
2021-04-29 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR middle-end/38474
|
||||
* tree-ssa-structalias.c (add_graph_edge): Avoid direct
|
||||
forwarding when indirect forwarding through ESCAPED
|
||||
alread happens.
|
||||
|
||||
2021-04-29 Tom de Vries <tdevries@suse.de>
|
||||
|
||||
PR target/100232
|
||||
* internal-fn.c (expand_GOMP_SIMT_ENTER_ALLOC)
|
||||
(expand_GOMP_SIMT_LAST_LANE, expand_GOMP_SIMT_ORDERED_PRED)
|
||||
(expand_GOMP_SIMT_VOTE_ANY, expand_GOMP_SIMT_XCHG_BFLY)
|
||||
(expand_GOMP_SIMT_XCHG_IDX): Ensure target is assigned to.
|
||||
|
||||
2021-04-29 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/99912
|
||||
* tree-ssa-dse.c (dse_dom_walker::m_need_cfg_cleanup): New.
|
||||
(dse_dom_walker::todo): Likewise.
|
||||
(dse_dom_walker::dse_optimize_stmt): Move VDEF check to the
|
||||
caller.
|
||||
(dse_dom_walker::before_dom_children): Remove trivially
|
||||
dead SSA defs and schedule CFG cleanup if we removed all
|
||||
PHIs in a block.
|
||||
(pass_dse::execute): Get TODO as computed by the DOM walker
|
||||
and return it. Wipe dominator info earlier.
|
||||
|
||||
2021-04-29 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR ipa/100308
|
||||
* ipa-prop.c (ipcp_modif_dom_walker::before_dom_children):
|
||||
Track blocks to cleanup EH in new m_need_eh_cleanup.
|
||||
(ipcp_modif_dom_walker::cleanup_eh): New.
|
||||
(ipcp_transform_function): Release dominator info before
|
||||
doing EH cleanup.
|
||||
|
||||
2021-04-29 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
PR middle-end/100250
|
||||
* attribs.c (attr_access::array_as_string): Avoid dereferencing
|
||||
a pointer when it's null.
|
||||
|
||||
2021-04-29 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
* Makefile.in (OBJS): Add ipa-free-lang-data.o.
|
||||
* ipa-free-lang-data.cc: New file.
|
||||
* tree.c: Move pass free_lang_data to file above.
|
||||
(build_array_type_1): Declare extern.
|
||||
* tree.h (build_array_type_1): Declare.
|
||||
|
||||
2021-04-28 Jonathan Wright <jonathan.wright@arm.com>
|
||||
|
||||
* config/aarch64/aarch64-simd-builtins.def: Modify comment to
|
||||
|
@ -1 +1 @@
|
||||
20210429
|
||||
20210430
|
||||
|
@ -1,3 +1,243 @@
|
||||
2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* exp_attr.adb (Expand_N_Attribute_Reference)
|
||||
<Attribute_Max_Size_In_Storage_Elements>: Apply the checks for
|
||||
universal integer contexts only in the default case.
|
||||
* exp_ch4.adb (Get_Size_For_Range): Move to library level.
|
||||
(Expand_N_Type_Conversion): If the operand has Universal_Integer
|
||||
type and the conversion requires an overflow check, try to do an
|
||||
intermediate conversion to a narrower type.
|
||||
|
||||
2021-04-29 Arnaud Charlet <charlet@adacore.com>
|
||||
|
||||
* sem_ch3.adb (Check_Anonymous_Access_Component): Factor out
|
||||
core processing of Check_Anonymous_Access_Components.
|
||||
(Check_Anonymous_Access_Components): Call
|
||||
Check_Anonymous_Access_Component.
|
||||
(Process_Discriminants): Call Check_Anonymous_Access_Component.
|
||||
* freeze.adb (Freeze_Record_Type): Code cleanups and add more tree
|
||||
checking to handle changes in sem_ch3.adb.
|
||||
* sem_ch8.adb (Find_Type): Remove special case for access
|
||||
discriminant in task types, these are now supported.
|
||||
|
||||
2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* exp_ch4.adb (Expand_Compare_Minimize_Eliminate_Overflow): Remove
|
||||
entry condition.
|
||||
(Expand_N_In): Call Minimized_Eliminated_Overflow_Check on the left
|
||||
operand before doing the special overflow expansion.
|
||||
(Expand_N_Op_Eq): Likewise.
|
||||
(Expand_N_Op_Ge): Likewise.
|
||||
(Expand_N_Op_Gt): Likewise.
|
||||
(Expand_N_Op_Le): Likewise.
|
||||
(Expand_N_Op_Lt): Likewise.
|
||||
(Expand_N_Op_Ne): Likewise.
|
||||
(Minimized_Eliminated_Overflow_Check): Return False for Minimized
|
||||
if the size of the type is greater than that of Long_Long_Integer.
|
||||
|
||||
2021-04-29 Arnaud Charlet <charlet@adacore.com>
|
||||
|
||||
* exp_ch5.adb (Expand_N_If_Statement): Only perform the
|
||||
simplification on return True/False for internal nodes when
|
||||
-fpreserve-control-flow is not set.
|
||||
|
||||
2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* sem_attr.adb (Eval_Attribute) <Attribute_Machine>: Use
|
||||
Round_Even instead of Round in the call to the Machine routine.
|
||||
|
||||
2021-04-29 Bob Duff <duff@adacore.com>
|
||||
|
||||
* sem_attr.adb (Analyze_Attribute): Change "$" to "&".
|
||||
Otherwise, Errout will trip over an uninitialized (invalid)
|
||||
variable (Error_Msg_Unit_1).
|
||||
|
||||
2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* libgnat/s-valuer.adb (Scan_Decimal_Digits): Set Extra to zero
|
||||
when the precision limit is reached by means of trailing zeros
|
||||
and prevent it from being overwritten later.
|
||||
|
||||
2021-04-29 Yannick Moy <moy@adacore.com>
|
||||
|
||||
* errout.adb (Output_Messages): Insert SGR strings where needed.
|
||||
* erroutc.adb (Output_Message_Txt): Insert SGR strings where
|
||||
needed in the text of the message itself.
|
||||
(Output_Msg_Text): Allow for style message not to start
|
||||
with (style).
|
||||
* erroutc.ads: Add new constants and functions to control colors
|
||||
in messages output to the terminal. Add variable Use_SGR_Control
|
||||
that should be set to True for using SGR color control strings.
|
||||
|
||||
2021-04-29 Yannick Moy <moy@adacore.com>
|
||||
|
||||
* sem_eval.adb (Check_Non_Static_Context_For_Overflow): Apply
|
||||
compile-time checking for overflows in non-static contexts
|
||||
including inlined code.
|
||||
(Eval_Arithmetic_Op): Use the new procedure.
|
||||
(Eval_Unary_Op, Eval_Op_Expon): Add call to the new procedure.
|
||||
|
||||
2021-04-29 Justin Squirek <squirek@adacore.com>
|
||||
|
||||
* checks.adb (Apply_Type_Conversion_Checks): Move out constraint
|
||||
check generation, and add case for general access types with
|
||||
constraints.
|
||||
(Make_Discriminant_Constraint_Check): Created to centralize
|
||||
generation of constraint checks for stored discriminants.
|
||||
|
||||
2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* gnat1drv.adb (Adjust_Global_Switches): Force a 32-bit Duration
|
||||
type if the maximum integer size is lower than 64 bits.
|
||||
|
||||
2021-04-29 Arnaud Charlet <charlet@adacore.com>
|
||||
|
||||
* Makefile.rtl (ADA_EXCLUDE_SRCS): Remove unused files.
|
||||
(ADA_INCLUDE_SRCS): Remove libgnat/system.ads
|
||||
|
||||
2021-04-29 Arnaud Charlet <charlet@adacore.com>
|
||||
|
||||
* exp_aggr.adb (Collect_Initialization_Statements): Removed.
|
||||
(Convert_Aggr_In_Object_Decl, Expand_Array_Aggregate): Fix
|
||||
creation and insertion of Initialization_Statements. Do not set
|
||||
Initialization_Statements when a transient scope is involved.
|
||||
Move processing of Array_Slice here. Ensure that an object with
|
||||
an Array_Slice call gets its array component initialized. Add
|
||||
comments.
|
||||
* exp_ch7.adb: Update comments.
|
||||
(Store_Actions_In_Scope): Deal properly with an empty list which
|
||||
might now be generated by Convert_Aggr_In_Object_Decl.
|
||||
* exp_ch3.adb: Update comments.
|
||||
(Expand_N_Object_Declaration): Remove processing of Array_Slice.
|
||||
|
||||
2021-04-29 Arnaud Charlet <charlet@adacore.com>
|
||||
|
||||
* sem_ch8.adb (Analyze_Object_Renaming): Update check for
|
||||
AI12-0401.
|
||||
|
||||
2021-04-29 Patrick Bernardi <bernardi@adacore.com>
|
||||
|
||||
* libgnat/s-stoele.ads (Storage_Offset): Cleanup comment.
|
||||
|
||||
2021-04-29 Gary Dismukes <dismukes@adacore.com>
|
||||
|
||||
* exp_util.adb (Add_Own_DIC): Relax the suppression of adding a
|
||||
DIC Check pragma that's done for abstract types by still doing
|
||||
it in the case where GNATprove_Mode is set.
|
||||
|
||||
2021-04-29 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* Makefile.rtl (ADA_EXCLUDE_SRCS): Remove s-gcc.adb, s-gcc.ads,
|
||||
s-gccdiv.adb, s-gccdiv.ads, s-gccshi.adb and s-gccshi.ads.
|
||||
|
||||
2021-04-29 Piotr Trojanek <trojanek@adacore.com>
|
||||
|
||||
* layout.adb (Layout_Type): Refine type of a local variable with
|
||||
the required size of object from Int to Pos (it is initialized
|
||||
with 8 and only multiplied by 2); fix unbalanced parens in
|
||||
comment.
|
||||
|
||||
2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* eval_fat.adb (Succ): Use Ureal_Half in a couple of places.
|
||||
|
||||
2021-04-29 Ed Schonberg <schonberg@adacore.com>
|
||||
|
||||
* sem_util.adb (Build_Constrained_Itype): Inhibit the generation
|
||||
of predicate functions for this Itype, which is created for an
|
||||
aggregate of a discriminated type. The object to which the
|
||||
aggregate is assigned, e.g a writable actual parameter, will
|
||||
apply the predicates if any are inherited from the base type.
|
||||
|
||||
2021-04-29 Piotr Trojanek <trojanek@adacore.com>
|
||||
|
||||
* sem_cat.adb (Set_Categorization_From_Pragmas): Remove special
|
||||
case for generic child units; remove optimization for empty list
|
||||
of pragmas; properly restore visibility.
|
||||
|
||||
2021-04-29 Piotr Trojanek <trojanek@adacore.com>
|
||||
|
||||
* sem_elab.adb (Process_SPARK_Instantiation): Fix typo in
|
||||
comment.
|
||||
* sem_prag.adb (Find_Related_Context): Add missing reference to
|
||||
No_Caching in the comment; handle pragmas on compilation units.
|
||||
|
||||
2021-04-29 Piotr Trojanek <trojanek@adacore.com>
|
||||
|
||||
* doc/gnat_rm/implementation_defined_attributes.rst: Change all
|
||||
occurrences of "permissible prefix" to "allowed prefix", for
|
||||
consistency.
|
||||
* gnat_rm.texi: Regenerate.
|
||||
|
||||
2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* eval_fat.adb (Succ): Add a special case for zero if the type does
|
||||
not support denormalized numbers. Always use the canonical formula
|
||||
in other cases and add commentary throughout the function.
|
||||
|
||||
2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* libgnat/s-fatgen.adb: Remove with clause for Interfaces and
|
||||
use type clauses for Interfaces.Unsigned_{16,32,64}.
|
||||
(Small16): Remove.
|
||||
(Small32): Likewise
|
||||
(Small64): Likewise.
|
||||
(Small80): Likewise.
|
||||
(Tiny16): Likewise.
|
||||
(Tiny32): Likewise.
|
||||
(Tiny64): Likewise.
|
||||
(Tiny80): Likewise.
|
||||
(Siz): Always use 16.
|
||||
(NR): New constant.
|
||||
(Rep_Last): Use it in the computation.
|
||||
(Exp_Factor): Remove special case for 80-bit.
|
||||
(Sign_Mask): Likewise.
|
||||
(Finite_Succ): New function implementing the Succ attribute for
|
||||
finite numbers.
|
||||
(Pred): Rewrite in terms of Finite_Succ.
|
||||
(Succ): Likewise.
|
||||
|
||||
2021-04-29 Arnaud Charlet <charlet@adacore.com>
|
||||
|
||||
* debug_a.adb (Debug_Output_Astring): Remove obsolete comment.
|
||||
|
||||
2021-04-29 Arnaud Charlet <charlet@adacore.com>
|
||||
|
||||
* sem_attr.adb (Check_Image_Type): Protect against empty
|
||||
Image_Type.
|
||||
|
||||
2021-04-29 Arnaud Charlet <charlet@adacore.com>
|
||||
|
||||
* libgnat/a-nbnbin.ads (From_Universal_Image): New.
|
||||
(Big_Integer): Update definition.
|
||||
* libgnat/a-nbnbre.ads, libgnat/a-nbnbre.adb
|
||||
(From_Universal_Image): New.
|
||||
(From_String): Remove alternate body, replaced by
|
||||
From_Universal_Image.
|
||||
(Big_Real): Update definition.
|
||||
|
||||
2021-04-29 Gary Dismukes <dismukes@adacore.com>
|
||||
|
||||
* sem_ch8.adb (Find_Type): Check the No_Obsolescent_Features
|
||||
restriction for 'Class applied to an untagged incomplete
|
||||
type (when Ada_Version >= Ada_2005). Remove disabling of the
|
||||
warning message for such usage, along with the ??? comment,
|
||||
which no longer applies (because the -gnatg switch no longer
|
||||
sets Warn_On_Obsolescent_Feature).
|
||||
|
||||
2021-04-29 Yannick Moy <moy@adacore.com>
|
||||
|
||||
* errout.adb (Error_Msg_NEL): Extract span from node.
|
||||
(First_And_Last_Nodes): Use spans for subtype indications and
|
||||
attribute definition clauses.
|
||||
(Write_Source_Code_Lines): Fix for tabulation characters. Change
|
||||
output for large spans to skip intermediate lines.
|
||||
* sem_case.adb (Check_Choice_Set): Report duplicate choice on
|
||||
the Original_Node for the case.
|
||||
(Generic_Check_Choices): Set the Original_Node for the rewritten
|
||||
case, so that the subtree used in spans has the correct
|
||||
locations.
|
||||
|
||||
2021-04-28 Piotr Trojanek <trojanek@adacore.com>
|
||||
|
||||
* sem_ch13.adb, sem_util.adb: Fix style.
|
||||
|
@ -1,3 +1,10 @@
|
||||
2021-04-29 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* c-typeck.c (function_types_compatible_p): For C2X, treat
|
||||
unprototyped function as compatible with non-variadic prototyped
|
||||
function even if some argument types are changed by the default
|
||||
argument promotions.
|
||||
|
||||
2021-04-15 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
PR c/99420
|
||||
|
@ -1,3 +1,56 @@
|
||||
2021-04-29 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* constexpr.c (cxx_fold_indirect_ref_1): Only set *empty_base if we
|
||||
don't find a field.
|
||||
|
||||
2021-04-29 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/51344
|
||||
* decl2.c (grokfield): Call cplus_decl_attributes for friend.
|
||||
(save_template_attributes): Use chainon.
|
||||
* friend.c (do_friend): Remove attrlist parm.
|
||||
* cp-tree.h (do_friend): Adjust.
|
||||
* class.c (add_implicitly_declared_members): Adjust.
|
||||
* decl.c (grokdeclarator): Adjust.
|
||||
* pt.c (apply_late_template_attributes): Optimize.
|
||||
|
||||
2021-04-29 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/97974
|
||||
* class.c (finish_struct_anon_r): Drop complain parm.
|
||||
Remove non-field diagnostic.
|
||||
(finish_struct_anon): Adjust.
|
||||
* decl.c (fixup_anonymous_aggr): Move non-field diagnostic here.
|
||||
|
||||
2021-04-29 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* cp-tree.h (cp_evaluated): Add reset parm to constructor.
|
||||
* parser.c (cp_parser_constant_expression): Change
|
||||
allow_non_constant_p to int. Use cp_evaluated.
|
||||
(cp_parser_initializer_clause): Pass 2 to allow_non_constant_p.
|
||||
* semantics.c (finish_id_expression_1): Don't mess with
|
||||
cp_unevaluated_operand here.
|
||||
|
||||
2021-04-29 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* cp-tree.h: Clarify comments.
|
||||
* pt.c (get_template_parm_object): Add assert.
|
||||
* semantics.c (finish_compound_literal): Clear TREE_HAS_CONSTRUCTOR.
|
||||
* tree.c (zero_init_expr_p): Check TREE_HAS_CONSTRUCTOR.
|
||||
* typeck2.c (store_init_value): Likewise.
|
||||
|
||||
2021-04-29 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
PR c++/68942
|
||||
* pt.c (tsubst_copy_and_build) <case CALL_EXPR>: When KOENIG_P,
|
||||
set tf_conv during the initial substitution into the function.
|
||||
|
||||
2021-04-29 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR c++/100319
|
||||
* semantics.c (finish_omp_clauses): Fix up check that variable
|
||||
mentioned in detach clause doesn't appear in data-sharing clauses.
|
||||
|
||||
2021-04-28 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* module.cc: Remove #error that triggers if DEV-PHASE is empty.
|
||||
|
@ -1,3 +1,11 @@
|
||||
2021-04-29 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sv.po: Update.
|
||||
|
||||
2021-04-29 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* fr.po: Update.
|
||||
|
||||
2021-04-28 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, hr.po, id.po,
|
||||
|
@ -1,3 +1,95 @@
|
||||
2021-04-29 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
PR preprocessor/82359
|
||||
* g++.dg/cpp1y/digit-sep-line.C,
|
||||
g++.dg/cpp1y/digit-sep-line-neg.C: New tests.
|
||||
|
||||
2021-04-29 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* g++.dg/lookup/using-decl1.C: New test.
|
||||
|
||||
2021-04-29 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/97974
|
||||
* g++.old-deja/g++.law/union4.C: Add expected diagnostic.
|
||||
|
||||
2021-04-29 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
PR c++/68942
|
||||
* g++.dg/template/koenig12.C: New test.
|
||||
|
||||
2021-04-29 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c++/94102
|
||||
* g++.dg/cpp1z/class-deduction87.C: New test.
|
||||
|
||||
2021-04-29 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
PR rtl-optimization/100303
|
||||
* g++.dg/torture/pr100303.C: New file.
|
||||
|
||||
2021-04-29 H.J. Lu <hjl.tools@gmail.com>
|
||||
|
||||
PR middle-end/90773
|
||||
* g++.dg/pr90773-1.h: New test.
|
||||
* g++.dg/pr90773-1a.C: Likewise.
|
||||
* g++.dg/pr90773-1b.C: Likewise.
|
||||
* g++.dg/pr90773-1c.C: Likewise.
|
||||
* g++.dg/pr90773-1d.C: Likewise.
|
||||
* gcc.target/i386/pr90773-1.c: Likewise.
|
||||
* gcc.target/i386/pr90773-2.c: Likewise.
|
||||
* gcc.target/i386/pr90773-3.c: Likewise.
|
||||
* gcc.target/i386/pr90773-4.c: Likewise.
|
||||
* gcc.target/i386/pr90773-5.c: Likewise.
|
||||
* gcc.target/i386/pr90773-6.c: Likewise.
|
||||
* gcc.target/i386/pr90773-7.c: Likewise.
|
||||
* gcc.target/i386/pr90773-8.c: Likewise.
|
||||
* gcc.target/i386/pr90773-9.c: Likewise.
|
||||
* gcc.target/i386/pr90773-10.c: Likewise.
|
||||
* gcc.target/i386/pr90773-11.c: Likewise.
|
||||
* gcc.target/i386/pr90773-12.c: Likewise.
|
||||
* gcc.target/i386/pr90773-13.c: Likewise.
|
||||
* gcc.target/i386/pr90773-14.c: Likewise.
|
||||
|
||||
2021-04-29 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/100253
|
||||
* g++.dg/pr100253.C: New testcase.
|
||||
|
||||
2021-04-29 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR target/100305
|
||||
* gcc.c-torture/compile/pr100305.c: Remove dg-options. Add PR line.
|
||||
|
||||
2021-04-29 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR target/100302
|
||||
* gcc.target/aarch64/sve/pr100302.c: New test.
|
||||
|
||||
2021-04-29 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR c++/100319
|
||||
* c-c++-common/gomp/task-detach-3.c: New test.
|
||||
|
||||
2021-04-29 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/99912
|
||||
* gcc.dg/pr95580.c: Disable DSE.
|
||||
* gcc.dg/Wrestrict-8.c: Place a use after each memcpy.
|
||||
* c-c++-common/ubsan/overflow-negate-3.c: Make asms volatile
|
||||
to prevent them from being removed.
|
||||
* c-c++-common/ubsan/overflow-sub-4.c: Likewise.
|
||||
|
||||
2021-04-29 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
PR middle-end/100250
|
||||
* gcc.dg/uninit-pr100250.c: New test.
|
||||
|
||||
2021-04-29 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* gcc.dg/c11-unproto-1.c, gcc.dg/c11-unproto-2.c,
|
||||
gcc.dg/c2x-unproto-1.c, gcc.dg/c2x-unproto-2.c: New tests.
|
||||
|
||||
2021-04-28 Tobias Burnus <tobias@codesourcery.com>
|
||||
|
||||
* gfortran.dg/gomp/map-5.f90: New test.
|
||||
|
@ -1,3 +1,8 @@
|
||||
2021-04-29 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
PR preprocessor/82359
|
||||
* directives.c (strtolinenum): Handle digit separators.
|
||||
|
||||
2021-04-19 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR preprocessor/100142
|
||||
|
@ -1,3 +1,9 @@
|
||||
2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
|
||||
if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
|
||||
* libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
|
||||
|
||||
2021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
|
||||
|
||||
* libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
|
||||
|
@ -1,3 +1,12 @@
|
||||
2021-04-29 Tom de Vries <tdevries@suse.de>
|
||||
|
||||
* testsuite/libgomp.c/pr81778.c: New test.
|
||||
|
||||
2021-04-29 Tom de Vries <tdevries@suse.de>
|
||||
|
||||
PR target/100232
|
||||
* testsuite/libgomp.c/target-43.c: New file.
|
||||
|
||||
2021-04-28 Jakub Jelinek <jakub@redhat.com>
|
||||
Tobias Burnus <tobias@codesourcery.com>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user