Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
760a1a5
tree-ssa-math-opts: Fix up convert_{mult,plusminus}_to_widen [PR113759]
jakubjelinek Feb 6, 2024
483c061
lower-bitint: Encode address space qualifiers in VIEW_CONVERT_EXPRs […
jakubjelinek Feb 6, 2024
d3eac7d
asan: Don't fold some strlens with -fsanitize=address [PR110676]
jakubjelinek Feb 6, 2024
d29136a
RISC-V: Fix infinite compilation of VSETVL PASS
zhongjuzhe Feb 5, 2024
68a8ec7
c++: add auto_diagnostic_group to early_check_defaulted_comparison
mpolacek Feb 6, 2024
df9f6b9
aarch64: Fix build against libc++ in c++11 mode [PR113763]
jakubjelinek Feb 6, 2024
8ec2f19
aarch64: Fix function multiversioning mangling
andrewcarlotti Jan 31, 2024
1befe47
c++: add fixed test [PR94231]
mpolacek Feb 6, 2024
f2a0608
x86-64: Return 10_REG if there is no scratch register
hjl-tools Feb 6, 2024
4048537
c++: Disallow this specifier except for parameter declarations [PR113…
jakubjelinek Feb 6, 2024
3e4c4c5
Daily bump.
Feb 7, 2024
db5c3f6
RISC-V: Bugfix for RVV overloaded intrinisc ICE when empty args
Incarnation-p-lee Feb 6, 2024
d755a82
wide-int: Fix mul_internal overflow handling [PR113753]
jakubjelinek Feb 7, 2024
6e308d5
testsuite: Don't xfail gcc.dg/debug/dwarf2/inline5.c
rorth Feb 7, 2024
29998cc
range-op: Fix up ABSU_EXPR handling [PR113756]
jakubjelinek Feb 7, 2024
194d095
middle-end: add additional runtime test for [PR113467]
TamarChristinaArm Feb 7, 2024
8f6ed71
middle-end: fix ICE when moving statements to empty BB [PR113731]
TamarChristinaArm Feb 7, 2024
5c3ba60
middle-end: fix ICE when destination BB for stores starts with a labe…
TamarChristinaArm Feb 7, 2024
5eb4e50
gccrs: Implement quick-check for Unicode
tamaroning Dec 2, 2023
c49e45d
gccrs: Typecheck: lifetime interning and resolution tool
jdupak Jan 10, 2024
a2efcc8
gccrs: TyTy: Region (lifetime) representation
jdupak Jan 23, 2024
459b61c
gccrs: HIR: Add mising getter
jdupak Jan 23, 2024
3ed47dd
gccrs: Typecheck: add regions (lifetimes) to TyTy
jdupak Jan 10, 2024
f217292
gccrs: TyTy: Store region constraints
jdupak Jan 23, 2024
99fccb3
gccrs: TyTy: Store reference to type before any substitutions
jdupak Jan 23, 2024
60f8171
gccrs: Set the default ABI to C for extern blocks and extern functions
nobel-sh Jan 19, 2024
ce096d3
gccrs: add testcase to prove issue has already been fixed
philberty Feb 3, 2024
9fecac8
gccrs: add test cases to prove type inference is working
philberty Feb 3, 2024
1c649ac
gccrs: Fix ICE accessing empty vector without check
philberty Feb 3, 2024
f1d0b22
gccrs: remove old generics hack to reuse generic symbols from previou…
philberty Feb 3, 2024
229f2a7
gccrs: remove similar hack in type paths as we had in path expressions
philberty Feb 3, 2024
c91248d
gccrs: refactor inference variable computation into a seperate method
philberty Feb 3, 2024
955f332
gccrs: Move the Implementation of implitem lowering into its own file.
nobel-sh Jan 29, 2024
ae2f709
gccrs: Add testcase to show issue is already fixed
philberty Feb 4, 2024
72a0554
gccrs: fix bug in pattern check for tuples
philberty Feb 4, 2024
4287f31
gccrs: Use AssociatedItem in place of TraitItem
braw-lee Jan 24, 2024
4be51ab
gccrs: Add checks for Trait functions
braw-lee Jan 26, 2024
41cbf91
gccrs: Add missing visitors for AST::Function.
braw-lee Jan 26, 2024
ffeb72c
gccrs: Fix inconsistent formatting.
braw-lee Jan 26, 2024
6e9dad6
gccrs: Parse trait functions as `AST::Function`.
braw-lee Jan 26, 2024
1e114b6
gccrs: Remove obsolete classes and functions.
braw-lee Jan 26, 2024
af3f048
gccrs: Fix macro parsing for trait items.
braw-lee Jan 26, 2024
830d465
Apply TLC to vect_analyze_early_break_dependences
rguenth Feb 7, 2024
f89186f
gccrs: Parse normal functions with `self` parameter correctly
braw-lee Jan 23, 2024
a698cbf
AArch64: Update system register database.
Jan 31, 2024
9920057
PR target/113690: Remove TImode REG_EQUAL notes in STV.
rogersayle Feb 7, 2024
8636c53
tree-optimization/113796 - if-conversion and ranges
rguenth Feb 7, 2024
ff41862
libstdc++: Work around modules issue causing hello-1 ICE [PR113710]
Feb 7, 2024
91b016a
Update gcc zh_CN.po
jsm28 Feb 7, 2024
0535c20
Daily bump.
Feb 8, 2024
4797f01
c++: class nttp ICE
jicama Feb 7, 2024
bfd72bb
c: Fix boolean conversion of floating constant as integer constant ex…
jsm28 Feb 8, 2024
9ec0878
RISC-V: Bugfix for RVV overloaded intrinsic ICE in function checker
Incarnation-p-lee Feb 7, 2024
0ba32e2
AVR: Rename device-specs %_misc to %_rodata_in_ram.
sprintersb Feb 8, 2024
56adcd4
testsuite: fix pointer conversion error in testcase vect-early-break_…
TamarChristinaArm Feb 8, 2024
5bd96fe
Revert part of vect_analyze_early_break_dependences changes
rguenth Feb 8, 2024
e515d81
AVR: Always define __AVR_PM_BASE_ADDRESS__ in specs provided the core…
sprintersb Feb 8, 2024
3f69db1
middle-end: don't cache restart_loop in vectorizable_live_operations …
TamarChristinaArm Feb 8, 2024
969bc58
AVR: target/113824 - Fix multilib set for ATA5795.
sprintersb Feb 8, 2024
70b9dd8
testsuite: address Jakub's comments on vect-early-break_1-PR113808.f90
TamarChristinaArm Feb 8, 2024
d279859
x86: Update constraints for APX NDD instructions
hjl-tools Feb 6, 2024
ce915ca
AVR: Tidy up gen-avr-mmcu-specs.cc
sprintersb Feb 8, 2024
d2d5ef6
ranger: Grow BBs in relation oracle as needed [PR113735]
aldyh Feb 6, 2024
465b9c5
c++: NTTP type CTAD w/ tmpl from current inst [PR113649]
Feb 8, 2024
d945912
arm: testsuite: fix issues relating to fp16 alternative testing
Feb 5, 2024
5fb204a
libstdc++: Guard tr2::bases and tr2::direct_bases with __has_builtin
jwakely Feb 8, 2024
232ffb6
RISC-V: Fix rvv intrinsic pragma tests dejagnu selector
ewlu Jan 29, 2024
4e5dc6d
libstdc++: Add comment to gslice::operator=(const gslice&) [PR100147]
jwakely Feb 4, 2024
3d112bb
libstdc++: Fix comment typo in std::atomic<std::shared_ptr<T>>
jwakely Feb 7, 2024
90586e2
Daily bump.
Feb 9, 2024
1175d1b
testsuite: Pattern does not match when using --specs=nano.specs
Torbjorn-Svensson Feb 6, 2024
97e49bf
lower-bitint: Attempt not to emit always true conditions in handle_ca…
jakubjelinek Feb 9, 2024
6c12487
lower-bitint: Fix up additions of EH edges [PR113818]
jakubjelinek Feb 9, 2024
0ad1884
expand: Fix asm goto expansion [PR113415]
jakubjelinek Feb 9, 2024
0a329ec
libgcc, Darwin: Update symbol exports to include bitint and bf.
iains Feb 7, 2024
2bb4556
hwint: Introduce HOST_SIZE_T_PRINT_*
jakubjelinek Feb 9, 2024
c9bdcb0
lower-bitint: Fix handling of VIEW_CONVERT_EXPRs to minimally support…
jakubjelinek Feb 9, 2024
16e0803
gccrs: Fix typo in RegionConstraints instance
CohenArthur Feb 7, 2024
94a7bdc
gccrs: Add testcase for matches!() macro
CohenArthur Feb 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
218 changes: 218 additions & 0 deletions gcc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,221 @@
2024-02-08 Aldy Hernandez <[email protected]>

PR tree-optimization/113735
* value-relation.cc (equiv_oracle::add_equiv_to_block): Call
limit_check().

2024-02-08 Georg-Johann Lay <[email protected]>

* config/avr/gen-avr-mmcu-specs.cc (struct McuInfo): New.
(main, print_mcu, diagnose_mrodata_in_ram): Pass it down.

2024-02-08 H.J. Lu <[email protected]>

PR target/113711
PR target/113733
* config/i386/constraints.md: List all constraints with j prefix.
(j>): Change auto-dec to auto-inc in documentation.
(je): Changed to a memory constraint with APX NDD TLS operand
check.
(jM): New memory constraint for APX NDD instructions.
(jO): Likewise.
* config/i386/i386-protos.h (x86_poff_operand_p): Removed.
* config/i386/i386.cc (x86_poff_operand_p): Likewise.
* config/i386/i386.md (*add<dwi>3_doubleword): Use rjO.
(*add<mode>_1[SWI48]): Use je and jM.
(addsi_1_zext): Use jM.
(*addv<dwi>4_doubleword_1[DWI]): Likewise.
(*sub<mode>_1[SWI]): Use jM.
(@add<mode>3_cc_overflow_1[SWI]): Likewise.
(*add<dwi>3_doubleword_cc_overflow_1): Use rjO.
(*and<dwi>3_doubleword): Likewise.
(*anddi_1): Use jM.
(*andsi_1_zext): Likewise.
(*and<mode>_1[SWI24]): Likewise.
(*<code><dwi>3_doubleword[any_or]): Use rjO
(*code<mode>_1[any_or SWI248]): Use jM.
(*<code>si_1_zext[zero_extend + any_or]): Likewise.
* config/i386/predicates.md (apx_ndd_memory_operand): New.
(apx_ndd_add_memory_operand): Likewise.

2024-02-08 Georg-Johann Lay <[email protected]>

PR target/113824
* config/avr/avr-mcus.def (ata5797): Move from avr5 to avr4.
* doc/avr-mmcu.texi: Rebuild.

2024-02-08 Tamar Christina <[email protected]>

PR tree-optimization/113808
* tree-vect-loop.cc (vectorizable_live_operation): Don't cache the
value cross iterations.

2024-02-08 Georg-Johann Lay <[email protected]>

* config/avr/gen-avr-mmcu-specs.cc (print_mcu) <*cpp_mcu>: Spec always
defines __AVR_PM_BASE_ADDRESS__ if the core has it.

2024-02-08 Richard Biener <[email protected]>

* tree-vect-data-refs.cc (vect_analyze_early_break_dependences):
Revert last change to dr_may_alias_p.

2024-02-08 Georg-Johann Lay <[email protected]>

* config/avr/gen-avr-mmcu-specs.cc: Rename spec cc1_misc to
cc1_rodata_in_ram. Rename spec link_misc to link_rodata_in_ram.
Remove spec asm_misc.
* config/avr/specs.h: Same.

2024-02-08 Pan Li <[email protected]>

PR target/113766
* config/riscv/riscv-vector-builtins-shapes.cc (struct alu_def): Make
sure the c.arg_num is >= 2 before checking.
(struct build_frm_base): Ditto.
(struct narrow_alu_def): Ditto.

2024-02-07 Richard Biener <[email protected]>

PR tree-optimization/113796
* tree-if-conv.cc (combine_blocks): Wipe range-info before
replacing PHIs and inserting predicates.

2024-02-07 Roger Sayle <[email protected]>
Uros Bizjak <[email protected]>

PR target/113690
* config/i386/i386-features.cc (timode_convert_cst): New helper
function to convert a TImode CONST_SCALAR_INT_P to a V1TImode
CONST_VECTOR.
(timode_scalar_chain::convert_op): Use timode_convert_cst.
(timode_scalar_chain::convert_insn): Delete REG_EQUAL notes.
Use timode_convert_cst.

2024-02-07 Victor Do Nascimento <[email protected]>

* config/aarch64/aarch64-sys-regs.def: Copy from Binutils.
* config/aarch64/aarch64.h (AARCH64_FL_AIE): New.
(AARCH64_FL_DEBUGv8p9): Likewise.
(AARCH64_FL_FGT2): Likewise.Likewise.
(AARCH64_FL_ITE): Likewise.
(AARCH64_FL_PFAR): Likewise.
(AARCH64_FL_PMUv3_ICNTR): Likewise.
(AARCH64_FL_PMUv3_SS): Likewise.
(AARCH64_FL_PMUv3p9): Likewise.
(AARCH64_FL_RASv2): Likewise.
(AARCH64_FL_S1PIE): Likewise.
(AARCH64_FL_S1POE): Likewise.
(AARCH64_FL_S2PIE): Likewise.
(AARCH64_FL_S2POE): Likewise.
(AARCH64_FL_SCTLR2): Likewise.
(AARCH64_FL_SEBEP): Likewise.
(AARCH64_FL_SPE_FDS): Likewise.
(AARCH64_FL_TCR2): Likewise.

2024-02-07 Richard Biener <[email protected]>

* tree-vect-data-refs.cc (vect_analyze_early_break_dependences):
Only check whether reads are in-bound in places that are not safe.
Fix dependence check. Add missing newline. Clarify comments.

2024-02-07 Tamar Christina <[email protected]>

PR tree-optimization/113750
* tree-vect-data-refs.cc (vect_analyze_early_break_dependences): Check
for single predecessor when doing early break vect.
* tree-vect-loop.cc (move_early_exit_stmts): Get gsi at the start but
after labels.

2024-02-07 Tamar Christina <[email protected]>

PR tree-optimization/113731
* gimple-iterator.cc (gsi_move_before): Take new parameter for update
method.
* gimple-iterator.h (gsi_move_before): Default new param to
GSI_SAME_STMT.
* tree-vect-loop.cc (move_early_exit_stmts): Call gsi_move_before with
GSI_NEW_STMT.

2024-02-07 Jakub Jelinek <[email protected]>

PR tree-optimization/113756
* range-op.cc (update_known_bitmask): For GIMPLE_UNARY_RHS,
use TYPE_SIGN (lh.type ()) instead of sign for widest_int::from
of lh_bits value and mask.

2024-02-07 Jakub Jelinek <[email protected]>

PR tree-optimization/113753
* wide-int.cc (wi::mul_internal): Unpack op1val and op2val with
UNSIGNED rather than SIGNED. If high or needs_overflow and prec is
not a multiple of HOST_BITS_PER_WIDE_INT, shift left bits above prec
so that they start with r[half_blocks_needed] lowest bit. Fix up
computation of top mask for SIGNED.

2024-02-07 Pan Li <[email protected]>

PR target/113766
* config/riscv/riscv-protos.h (resolve_overloaded_builtin): Adjust
the signature of func.
* config/riscv/riscv-c.cc (riscv_resolve_overloaded_builtin): Ditto.
* config/riscv/riscv-vector-builtins.cc (resolve_overloaded_builtin): Make
overloaded func with empty args error.

2024-02-06 H.J. Lu <[email protected]>

PR target/113689
* config/i386/i386.cc (x86_64_select_profile_regnum): Return
R10_REG after sorry.

2024-02-06 Andrew Carlotti <[email protected]>

* config/aarch64/aarch64.cc (aarch64_mangle_decl_assembler_name):
Move before new caller, and add ".default" suffix.
(get_suffixed_assembler_name): New.
(make_resolver_func): Use get_suffixed_assembler_name.
(aarch64_generate_version_dispatcher_body): Redo name mangling.

2024-02-06 Jakub Jelinek <[email protected]>

PR target/113763
* config/aarch64/aarch64.cc (aarch64_output_sme_zero_za): Change tiles
element from std::pair<unsigned int, char> to an unnamed struct.
Adjust uses of tile range variable.

2024-02-06 Juzhe-Zhong <[email protected]>

* config/riscv/riscv-vsetvl.cc (pre_vsetvl::emit_vsetvl): Fix inifinite compilation.
(pre_vsetvl::remove_vsetvl_pre_insns): Ditto.

2024-02-06 Jakub Jelinek <[email protected]>

PR sanitizer/110676
* gimple-fold.cc (gimple_fold_builtin_strlen): For -fsanitize=address
reset maxlen to sizetype maximum.

2024-02-06 Jakub Jelinek <[email protected]>

PR tree-optimization/113736
* gimple-lower-bitint.cc (bitint_large_huge::limb_access): Use
var's address space for MEM_REF or VIEW_CONVERT_EXPRs.

2024-02-06 Jakub Jelinek <[email protected]>

PR tree-optimization/113759
* tree-ssa-math-opts.cc (convert_mult_to_widen): If actual_precision
or from_unsignedN differs from properties of typeN, update typeN
to build_nonstandard_integer_type. If TREE_TYPE (rhsN) is not
uselessly convertible to typeN, convert it using fold_convert or
build_and_insert_cast depending on if rhsN is INTEGER_CST or not.
(convert_plusminus_to_widen): Likewise.

2024-02-06 Tejas Belagod <[email protected]>

PR target/112577
* config/aarch64/aarch64.cc (aarch64_class_max_nregs): Handle 64-bit
vector structure modes correctly.

2024-02-05 Christoph Müllner <[email protected]>

* config/riscv/thead.cc (th_print_operand_address): Fix compiler
Expand Down
2 changes: 1 addition & 1 deletion gcc/DATESTAMP
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240206
20240209
7 changes: 7 additions & 0 deletions gcc/c/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2024-02-08 Joseph Myers <[email protected]>

PR c/113776
* c-typeck.cc (c_objc_common_truthvalue_conversion): Return an
integer constant expression for boolean conversion of floating
constant.

2024-02-05 Jakub Jelinek <[email protected]>

PR c/113740
Expand Down
12 changes: 11 additions & 1 deletion gcc/c/c-typeck.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13572,7 +13572,17 @@ c_objc_common_truthvalue_conversion (location_t location, tree expr, tree type)
break;
}

int_const = (TREE_CODE (expr) == INTEGER_CST && !TREE_OVERFLOW (expr));
/* Conversion of a floating constant to boolean goes through here
and yields an integer constant expression. Otherwise, the result
is only an integer constant expression if the argument is. */
int_const = ((TREE_CODE (expr) == INTEGER_CST && !TREE_OVERFLOW (expr))
|| ((TREE_CODE (expr) == REAL_CST
|| TREE_CODE (expr) == COMPLEX_CST)
&& (TREE_CODE (type) == BOOLEAN_TYPE
|| (TREE_CODE (type) == ENUMERAL_TYPE
&& ENUM_UNDERLYING_TYPE (type) != NULL_TREE
&& (TREE_CODE (ENUM_UNDERLYING_TYPE (type))
== BOOLEAN_TYPE)))));
int_operands = EXPR_INT_CONST_OPERANDS (expr);
if (int_operands && TREE_CODE (expr) != INTEGER_CST)
{
Expand Down
21 changes: 13 additions & 8 deletions gcc/cfgexpand.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3671,16 +3671,21 @@ expand_asm_stmt (gasm *stmt)
{
edge e;
edge_iterator ei;

unsigned int cnt = EDGE_COUNT (gimple_bb (stmt)->succs);

FOR_EACH_EDGE (e, ei, gimple_bb (stmt)->succs)
{
start_sequence ();
for (rtx_insn *curr = after_rtl_seq;
curr != NULL_RTX;
curr = NEXT_INSN (curr))
emit_insn (copy_insn (PATTERN (curr)));
rtx_insn *copy = get_insns ();
end_sequence ();
rtx_insn *copy;
if (--cnt == 0)
copy = after_rtl_seq;
else
{
start_sequence ();
duplicate_insn_chain (after_rtl_seq, after_rtl_end,
NULL, NULL);
copy = get_insns ();
end_sequence ();
}
insert_insn_on_edge (copy, e);
}
}
Expand Down
Loading