Skip to content

Attempt merge queue of dkm/bump-2025-06-26 #3983

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1432 commits
Select commit Hold shift + click to select a range
baa2183
GCC allows for the DCO sign-off.
philberty Oct 13, 2021
f5ca956
Align DCO wording in '.github/PULL_REQUEST_TEMPLATE.md'
tschwinge Oct 14, 2021
8abca11
gha: save `check-rust` results as artifacts
mathstuf Nov 1, 2021
33291b6
Remove clang-format from bors
philberty Nov 5, 2021
07e7445
Added Remark.yml and .remarkrc
mvvsmk Nov 6, 2021
b04451c
Running `clang-format` locally [#242]
tschwinge Nov 5, 2021
0c86c0a
Add script to generate gource
philberty Dec 9, 2021
ea7649d
add script to graph the changes over time
philberty Dec 17, 2021
1566cf0
dockerfile: Install cargo-gccrs alongside gccrs
CohenArthur Feb 16, 2022
1558273
ci: Do not allow unresolved test cases
CohenArthur Feb 21, 2022
508041e
Add a check for new warnings to the CI
CastilloDel Mar 17, 2022
4eb11e0
Force 'LC_ALL=C' for all steps of '.github/workflows/ccpp.yml:jobs.bu…
tschwinge Mar 22, 2022
b5348e4
Force 'LC_ALL=C.UTF-8' for all steps of '.github/workflows/ccpp.yml:j…
tschwinge Mar 22, 2022
6291dd5
Merge 'Build logs' into 'Build' in '.github/workflows/ccpp.yml:jobs.b…
tschwinge Mar 22, 2022
a5546b1
Tune '.github/workflows/ccpp.yml:jobs.build-and-check', 'Check for ne…
tschwinge Mar 22, 2022
0afd4ca
ci: Add job for building gccrs with older gcc
CohenArthur Mar 24, 2022
3687596
ci: Run tests with gccrs compiled under gcc-4.8
CohenArthur Mar 29, 2022
ac4273d
rust: Clang/macOS Testing
simonpcook Apr 12, 2022
f284044
rust: Use -Otarget when building and logging warnings
simonpcook Apr 13, 2022
84b1d61
CI: do not push Docker image ...
liushuyu Apr 17, 2022
2aaafb5
CI: catch malformed test cases
liushuyu Apr 22, 2022
f0198bc
dockerfile: change the base image ...
liushuyu Apr 25, 2022
4c3b68b
docker: Add commit information to Docker image
CohenArthur May 30, 2022
d1fb0d2
docker: Fix GCCRS_BUILD info
CohenArthur Jun 8, 2022
cf71f94
ci: Temporarily disable Remark CI
CohenArthur Jun 28, 2022
7e4ac8b
CI: fix remark installation pre-condition ...
liushuyu Jul 20, 2022
fe73e65
Add in -m32,-m64 configuration to make check-rust
philberty Aug 9, 2022
5f476db
Seperate 64 and 32 bit testing combos into seperate jobs
philberty Aug 10, 2022
e9cddb9
Update expected warnings post cleanup
philberty Aug 17, 2022
2b9f62b
ci: Apply warnings in CI
CohenArthur Oct 12, 2022
96fcb72
bors: Fix warning list
CohenArthur Oct 24, 2022
6d4ea2f
ci: Use same CXXFLAGS in bootstrap workflow
CohenArthur Oct 28, 2022
5ac6e89
ci: Update expected warnings
CohenArthur Nov 3, 2022
594fe8a
Join justforfun.dev
philberty Dec 1, 2022
2c682f7
ci: Lock Ubuntu version to 20.04
CohenArthur Dec 7, 2022
1059837
ci: gcc-4.8 package is only available in Ubuntu 18.04
CohenArthur Dec 7, 2022
8ab42f2
bors: Expect ubuntu32bit and gcc48 jobs to succeed
CohenArthur Dec 6, 2022
abfeeed
Revert "ci: Use same CXXFLAGS in bootstrap workflow"
tschwinge Dec 14, 2022
cffa595
Revert "ci: Apply warnings in CI"
tschwinge Dec 14, 2022
0739888
Revert "bors: Fix warning list"
tschwinge Dec 14, 2022
d8456ee
Really fix up '.github/bors_log_expected_warnings'
tschwinge Dec 14, 2022
d8928ca
Adjust '.github/bors_log_expected_warnings'
tschwinge Dec 15, 2022
09baec3
README.md: Added experimental flag & updated gccrs path
MahadMuhammad Jan 17, 2023
ca48101
ci: Add commit format checker
CohenArthur Jan 31, 2023
109b75c
ci: update ubuntu version
ArshErgon Dec 13, 2022
88d711a
ci: Require commits check to pass for bors to merge and fix CI names
CohenArthur Feb 1, 2023
e49abed
ci: Revert bors running of commit checkers
CohenArthur Feb 8, 2023
f38a2fb
Adjust '.github/bors_log_expected_warnings'
tschwinge Feb 12, 2023
cb28d8a
ci: Add missing `merge_group` trigger for workflow
CohenArthur Feb 14, 2023
4c93955
Adjust '.github/bors_log_expected_warnings'
tschwinge Feb 18, 2023
9f84f34
Adjust '.github/bors_log_expected_warnings'
tschwinge Feb 21, 2023
b34494e
ci: Run GCC 4.8 job in Ubuntu 18.04 container
CohenArthur Feb 21, 2023
fc4c4c9
ci: Do not run `check-gccrs-prefix` on PRs to master
CohenArthur Mar 15, 2023
a060fee
ci: check Signed-off-by lines (and others) are at the end
dkm Mar 11, 2023
2b695ab
docker: Do not run update-alternatives on invalid path
CohenArthur Mar 28, 2023
e17a441
Adjust '.github/bors_log_expected_warnings'
tschwinge Apr 8, 2023
f959be3
ci: Add libgrust to clang-format checker
P-E-P Apr 24, 2023
1a18d6d
Run bootstrap builds on a schedule
powerboat9 Jul 20, 2023
035744a
Use checkout@v3 in workflows
powerboat9 Aug 29, 2023
a34271e
Bump docker workflow dependencies
powerboat9 Aug 29, 2023
04b3e18
Bump docker/build-push-action to v4
powerboat9 Sep 1, 2023
f4a7fec
Bump our docker build's debian base image version to match rust:latest's
powerboat9 Sep 1, 2023
5b6e2b0
Bump actions/upload-artifact from v2 to v3
powerboat9 Nov 8, 2023
0f83c52
ci: Install cargo on ubuntu 18.04 container.
CohenArthur Feb 26, 2024
599edec
Adjust '.github/bors_log_expected_warnings'
tschwinge Mar 11, 2024
44fbe23
Adjust '.github/bors_log_expected_warnings'
tschwinge Mar 24, 2024
9d2f0f3
ci: Install Rust directly from rustup instead of apt
CohenArthur Mar 18, 2024
c9f61bd
fixed README.md , dump ast using correct option
zhanghe9702 Mar 16, 2024
16e01da
Add an alternative solution on MacOS
Apr 5, 2024
00be0c6
Fix grammar as pointed out by Marc
Apr 5, 2024
230186b
Adjust '.github/bors_log_expected_warnings'
tschwinge Apr 10, 2024
347f3c7
chore: Fix Remark CI
CohenArthur Apr 12, 2024
db4274f
Pin macos CI to version 13
P-E-P Apr 30, 2024
20d516d
Pin node16 by allowing old version
badumbatish Jul 10, 2024
0901a9c
ci: switch to nightly rustc
braw-lee Jun 5, 2024
6bc1aba
Fix CI bootstrap build with a nightly rust compiler
P-E-P Jul 18, 2024
751cd3c
Change bug report issue template
P-E-P Jul 22, 2024
967d99e
github: Remove nightly Rust installation
CohenArthur Jul 26, 2024
a52d17f
Add running cicd 32bit
badumbatish Aug 4, 2024
86332f0
Add glibcxx_assertion check
badumbatish Aug 23, 2024
4aeb0e9
Bump action version to avoid missing distutils
P-E-P Sep 5, 2024
c07d710
Compile using ASAN on the github CI
powerboat9 Aug 27, 2024
129f863
github: adjust footer detection for Tested-by
dkm Sep 9, 2024
6ce4f12
Change upload artifact github action version
P-E-P Sep 17, 2024
1df2410
Adjust expected warnings for alpine 32 bit
powerboat9 Sep 18, 2024
8cf60d8
Change alpine allowed warning list
P-E-P Sep 27, 2024
dfbebc4
Check for writes outside of the build directory
powerboat9 Apr 25, 2024
a8823a0
Add a new CI step to detect raw issue references
P-E-P Nov 20, 2024
dbfc4f4
ci: remove bors mention
dkm Nov 23, 2024
2edea92
CI: upgrade GCC baseline from 4.8 -> 5.4 (5.5)
thesamesam Nov 22, 2024
84c1b87
ci: bump actions/checkout from v3 to v4
dkm Nov 27, 2024
8fd5eb5
ci: change the gcc-5 testing
dkm Nov 27, 2024
84cc7dc
Add build dependencies for Fedora
jarkkojs Sep 5, 2024
3094e35
ci: Update expected warnings list for 32 bits build.
CohenArthur Dec 9, 2024
703161b
ci: update warnings after C++14 change
thesamesam Dec 10, 2024
7ec259d
gccrs: disable macos github workflow
philberty Dec 19, 2024
5c702c5
Update upload-artifact to v4
powerboat9 Jan 23, 2025
2b66b41
ci: disable network
thesamesam Mar 17, 2025
0c0b4be
ci: Update warnings for new location in install.texi
CohenArthur Apr 14, 2025
1289260
nr2.0: late: Correctly initialize funny_error member
CohenArthur Apr 28, 2025
3bdf95d
backend: Refactor struct pattern compilation
CohenArthur Apr 16, 2025
3dd4d85
backend: Compile struct rebinding patterns
CohenArthur Apr 16, 2025
5e197ed
ast: builder: Allow building struct ident patterns
CohenArthur Apr 16, 2025
04b9f85
derive(PartialEq): Allow deriving enum structs
CohenArthur Apr 16, 2025
f606c80
derive(PartialEq): Fix raw strings in test
CohenArthur Apr 24, 2025
5592afb
gccrs: Emit error diagnostic for bad impl type usage
philberty May 5, 2025
f3f8cee
gccrs: desugar APIT impl traits
philberty Apr 30, 2025
45ba528
Improve canonical path handling for impl items
powerboat9 May 3, 2025
1eafa2a
Improve struct pattern compilation
powerboat9 May 1, 2025
75f8620
nr2.0: Adjust enum item visitors
powerboat9 May 2, 2025
fcd6cc0
gccrs: Prevent passing generic arguments to impl traits in argument p…
philberty May 7, 2025
b55e169
gccrs: fix ICE on empty constexpr loops
tommyscholly May 8, 2025
f3089c6
ast: collector: visit InlineAsm node during ast dump
0xn4utilus May 7, 2025
5654c35
nr2.0: Adjust resolution of impl items
powerboat9 Apr 25, 2025
87f1739
gccrs: Adapt attribute lang hook and do some cleanup
dkm May 9, 2025
a4b3704
gccrs: We cant clone types as it will dup the node-id
philberty May 11, 2025
096b880
nr2.0: Fix borrow checking
powerboat9 May 9, 2025
89b5bcb
Fix test same_field_name.rs
powerboat9 May 10, 2025
89ad909
Fix Attr metavariable binding
powerboat9 May 10, 2025
0352efd
ci: use clang-format 16
dkm May 10, 2025
f81b1ea
gccrs: remove unused file
dkm May 13, 2025
a00dd4d
gccrs: Reindent using last clang-format configuration
dkm May 10, 2025
f330f2f
gccrs: remove now useless clang-format comments
dkm May 13, 2025
a69928e
Small improvements to DefaultASTVisitor and nr2.0
powerboat9 May 8, 2025
77822dc
Rust: Move 'libformat_parser' build into the GCC build directory
tschwinge Feb 28, 2024
00e3aa1
Remove rvalue reference binding
powerboat9 May 13, 2025
1ad2075
gccrs: Fix NR2 ICE in visit_attributes
tommyscholly May 12, 2025
a9e7e42
nr2.0: Fix test builtin_abort.rs
powerboat9 May 15, 2025
9e242d5
nr2.0: Fix some paths in test files
powerboat9 May 14, 2025
8bb1a75
Revert 10-second timeout for each test
ptdatta Jan 21, 2023
f8e220d
gccrs: refactor default infer vars to be its own function
philberty May 19, 2025
a84d4cf
gccrs: Remove unneeded clones untill we have an arena allocator for t…
philberty May 19, 2025
19760f1
gccrs: Fix non canonical type bug with tuples
philberty May 26, 2025
1fe2f9c
gccrs: Initial support for Return Position Impl Trait
philberty May 19, 2025
066ea91
nr2.0: Fix IfLet pattern handling
powerboat9 May 15, 2025
9c84c53
gccrs: Always emit the error highest in the type hierarchy
philberty May 20, 2025
fd981f8
ast: Add ConstBlock and AnonConst nodes
CohenArthur Apr 9, 2025
f63d749
parser: Add base for parsing const blocks
CohenArthur Apr 15, 2025
46b625d
hir: Add const blocks
CohenArthur Apr 15, 2025
f2ad06e
const-block: Add testcase
CohenArthur Apr 15, 2025
34e6148
Make ConstantItem use Identifier
powerboat9 Jun 4, 2025
340cc2d
parser: fix ICE std::out_of_range with path attrs to nonexisting path
vishruth-thimmaiah Apr 22, 2025
9069a27
nr2.0: Improve visibility path handling
powerboat9 May 9, 2025
fbc56e4
nr2.0: Catch Self in impl block self types
powerboat9 May 16, 2025
af6b7c3
fix: ICE when parsing unterminated raw byte strings
vishruth-thimmaiah May 28, 2025
a9719ed
gccrs: Lower IdentifierPattern's to_bind to HIR
Polygonalr Jun 7, 2025
714034a
nr2.0: Separate out canonical path handling
powerboat9 May 2, 2025
ec0d2e1
ci: adjust expected warnings after upstream sync
dkm May 12, 2025
c043cc4
Add new function ClosureExpr::get_definition_expr
powerboat9 Jun 9, 2025
e3e6273
nr2.0: Improve StructPatternFieldIdent handling
powerboat9 May 23, 2025
034a115
nr2.0: Adjust pub_restricted tests
powerboat9 May 18, 2025
7b9fcad
nr2.0: Improve handling of single segment paths
powerboat9 Mar 29, 2025
5f3543b
nr2.0: Fix closure parameter scoping
powerboat9 May 15, 2025
81a34bf
gccrs: Support compilation of IdentifierPattern's subpatterns
Polygonalr Jun 7, 2025
c41970a
gccrs: Rename IdentifierPattern's to_bind to subpattern
Polygonalr Jun 9, 2025
1d49a9c
nr2.0: Adjust alternate identifier handling
powerboat9 May 23, 2025
186f771
gccrs: Fix bad type canonicalization on ARRAY_TYPES
philberty May 27, 2025
5436a7e
gccrs: Fix bug in query type stopping PartialOrd
philberty Jun 14, 2025
26b5aee
rib: Add all kinds of Ribs to pretty-printing
CohenArthur May 27, 2025
8d77f55
derive: chore: Add missing override qualifiers
CohenArthur Mar 7, 2025
bcc7d09
derive(Ord, PartialOrd): Add base for deriving them.
CohenArthur Mar 7, 2025
eaab336
derive: Add const generics when deriving impls
CohenArthur Apr 9, 2025
403601e
builder: Add match_case() function and new block() one
CohenArthur Apr 18, 2025
5d3aa52
derive: Add common comparison derive class
CohenArthur Apr 18, 2025
04a0161
derive(PartialEq): Use that common class
CohenArthur Apr 18, 2025
186de8b
derive(Ord, PartialOrd): Implement proper recursive match logic
CohenArthur Apr 18, 2025
dd438cb
derive(PartialEq): chore: Refactor using new SelfOther APIs
CohenArthur Apr 18, 2025
da2873f
derive(Ord, PartialOrd): Handle tuples properly
CohenArthur Apr 18, 2025
04ed612
builder: Add Builder::discriminant_value
CohenArthur Apr 22, 2025
0da4fd1
derive(Hash): Use new Builder API
CohenArthur Apr 22, 2025
527c05e
derive(Ord): Add handling for ordering of discriminant values
CohenArthur Apr 22, 2025
41fee3b
ast-builder: Make location public
CohenArthur Apr 22, 2025
1bc916b
derive-cmp: Add EnumMatchBuilder class
CohenArthur Apr 22, 2025
42e7afd
derive(PartialEq): Implement proper discriminant comparison
CohenArthur Apr 22, 2025
b496f9c
[NEEDS TEST] derive(Ord, PartialOrd): Finish implementation
CohenArthur Apr 22, 2025
2970430
derive(Ord): Fix condition for matching on Option::Some instead
CohenArthur Apr 23, 2025
7c4599e
derive(Ord): Fix cmp call to use references instead of values
CohenArthur Apr 28, 2025
927eed5
derive(Ord): Handle unit structs properly
CohenArthur May 27, 2025
11c6ad5
derive(Ord, Eq): Use different node IDs for variant paths
CohenArthur Jun 10, 2025
c633ebe
chore: Fix formatting
CohenArthur Jun 11, 2025
f9853cb
gccrs: Improve HIR dumps for patterns
Polygonalr Jun 15, 2025
fd560a1
nr2.0: Adjust lookup of associated items
powerboat9 May 9, 2025
6fd44d4
gccrs: Rename get_pattern_to_bind to get_subpattern
Polygonalr Jun 11, 2025
870409a
gccrs: Implement name resolution for IdentifierPattern's subpattern
Polygonalr Jun 13, 2025
176093a
gccrs: Implement compilation of IdentifierPattern's subpattern bindings
Polygonalr Jun 13, 2025
6c17eb6
nr2.0: Update IdentifierPattern's subpattern name resolution
Polygonalr Jun 16, 2025
68c5d34
gccrs: Fix issues around PartialEq Eq Ord Partial Ord
philberty Jun 17, 2025
a1b360e
Fix execute testsuite
powerboat9 Jun 17, 2025
2726a8b
Adjust external crate lowering and type checking
powerboat9 Jun 16, 2025
0d3cc7a
gccrs: Fix ICE when constant is missing and expression
philberty Jun 18, 2025
32388d4
gccrs: Add test case showing RPIT working to close issue
philberty Jun 19, 2025
bb37206
Move AST desugaring into expansion phase
powerboat9 May 24, 2025
99892d4
gccrs: Ensure we look at the bounds behind a reference
philberty Jun 20, 2025
25962f9
gccrs: Fix cyclical projection to placeholder
philberty Jun 21, 2025
cfbd787
gccrs: Cleanup and refactor method resolution
philberty Jun 17, 2025
8025d37
gccrs: Refactor marker builtin trait assembly
philberty Jun 21, 2025
53d3960
gccrs: Fix bug with bad type bindings not looking at super traits
philberty Jun 21, 2025
6e0947a
gccrs: Fix silly ordering bug in trait reference resolution
philberty Jun 20, 2025
9edb0a0
gccrs: Add unify rules for fnptr and closures
philberty Jun 21, 2025
9da4b9b
nr2.0: Fix resolution of constant items
powerboat9 Jun 20, 2025
0fb03d7
gccrs: Fix TupleStructPattern compilation throwing error
Polygonalr Jun 22, 2025
50deae9
gccrs: check for invalid const calls during code-gen
philberty Jun 23, 2025
6856b9a
gccrs: Fix bug with non compiled const decl
philberty Jun 23, 2025
ac8b3d7
Fix scan-assembler regexp in recurse2.rs
powerboat9 Jun 23, 2025
50cb550
CI: Reenable macos runner
powerboat9 Jun 22, 2025
abb7f82
gccrs: Add getter for outer attributions
sakupan102 Jun 24, 2025
e110a18
gccrs: Add getter for non const lifetime object
sakupan102 Jun 24, 2025
8d54f11
Create Rust::GGC::Ident
powerboat9 Jun 24, 2025
3901308
gccrs: Implement default HIR visitor class
sakupan102 Jun 24, 2025
7587b4b
ci: Ignore non-rust warnings
powerboat9 Jun 26, 2025
c1220e1
Update C++ version check in rust-lang.cc
powerboat9 Jun 24, 2025
84335e1
gccrs: Implement type checking for ItemType::RANGED in TuplePattern
Polygonalr Jun 26, 2025
a6659e5
nr2.0: Adjust resolution of external crates
powerboat9 Jun 16, 2025
83a607d
Add locus getters
P-E-P Jun 27, 2025
c3bd9b7
nr2.0: Add more checks for alternate patterns
powerboat9 May 24, 2025
6f528b2
nr2.0: Adjust resolution of modules
powerboat9 May 29, 2025
09b4be4
ast: reconstruct: Add base for reconstructing and asserting different…
CohenArthur May 20, 2025
3f138df
ast: Add reconstruct() method for Type nodes
CohenArthur May 20, 2025
a7d9715
ast: builder: Remove ASTTypeBuilder
CohenArthur May 20, 2025
106675e
reconstruct_vec: Allocate size when creating the vector
CohenArthur May 26, 2025
154409b
chore: ast: Fix formatting and includes
CohenArthur Jun 13, 2025
9daaa82
gccrs: Fix type checking logic for TuplePattern
Polygonalr Jun 28, 2025
bc435a2
gccrs: Implement compilation support for TuplePatternItems::RANGED
Polygonalr Jun 29, 2025
6804f44
nr2.0: Enable by default
powerboat9 May 9, 2025
3d1975a
Remove -frust-name-resolution-2.0 usage in tests
powerboat9 Jul 3, 2025
3405334
nr1.0: Remove rust/backend support
powerboat9 Jul 3, 2025
89673e3
Remove Late visitor override for StructStruct
powerboat9 Jul 1, 2025
632e525
Remove reinterpret_cast usages in DefaultASTVisitor
powerboat9 Jul 1, 2025
72e8299
Change enum to enum class
P-E-P Jul 7, 2025
cdc436d
Allow format_args to accept a raw string literal
powerboat9 Jul 1, 2025
46dc135
Parse try expressions
powerboat9 Jul 2, 2025
dff4417
ast: Check before visiting a while-let's label
CohenArthur May 19, 2025
38afbb5
nr2.0: Add proper handling for WhileLet loops.
CohenArthur Jul 4, 2025
33658ba
gccrs: Do proper const folding during typechecking for array capacities
philberty Jul 8, 2025
e2e0443
gccrs: Fix ice with invalid borrow expression
philberty Jul 8, 2025
bf11a0e
gccrs: Add type checking for SlicePattern
Polygonalr Jul 8, 2025
1d678c2
gccrs: Improve LiteralPattern type checking
Polygonalr Jul 8, 2025
85ac535
gccrs: Fix narrowing of Loan (size_t) into LoanId (uint32)
dkm Jul 3, 2025
55c337c
ci: remove warnings from expected file
dkm Jul 8, 2025
3b2a6b4
gccrs: Fix bad bounds checking for PartialOrd
philberty Jun 27, 2025
0cb3fa7
nr2.0: Check before visiting a for-loop's label
CohenArthur Jul 9, 2025
3ed812c
gccrs: Fix cast rules logic to try simple casts then fall back to coe…
philberty Jul 10, 2025
b4e17e1
gccrs: Fix ICE when handling bad constructor
philberty Jul 10, 2025
38aa82e
gccrs: add test case to show issue is fixed
philberty Jul 11, 2025
1ceb255
gccrs: Add test case to show we emit better errors now
philberty Jul 11, 2025
cfc4b8e
gccrs: Add test case to show issue is fixed
philberty Jul 11, 2025
154e7d8
attributes: Add #[test] and #[simd_test]
CohenArthur Jul 4, 2025
8a2a7ca
gccrs: Add test case showing all derives working on enum
philberty Jul 11, 2025
fba9ae1
gccrs: Add size checking to SlicePattern
Polygonalr Jul 11, 2025
43abdf8
Merge remote-tracking branch 'upstream-gccrs/master' into dkm/bump-20…
dkm Jul 15, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
33 changes: 33 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,36 @@
2025-07-07 Tamar Christina <[email protected]>

* MAINTAINERS: Add myself to AArch64 pot.

2025-07-04 Andrew Pinski <[email protected]>

* MAINTAINERS: Replace tabs with spaces.

2025-07-04 Alex Coplan <[email protected]>

* MAINTAINERS (Reviewers): Add myself for the aarch64 port.

2025-07-03 Andrew Pinski <[email protected]>

* MAINTAINERS: Add myself as an aarch64 port reviewer.

2025-06-22 Nicolas Boulenguez <[email protected]>

PR ada/120106
* Makefile.tpl: Add GNATMAKE_FOR_BUILD to {HOST,BASE_TARGET}_EXPORTS
* Makefile.in: Regenerate.
* configure.ac: Set the default and substitute the variable.
* configure: Regenerate.

2025-06-09 Kugan Vivekanandarajah <[email protected]>

* configure.ac: Special case cpu_type for x86_64.
* configure: Regenerate.

2025-06-09 Peter Bergner <[email protected]>

* MAINTAINERS: Update my email address and add myself to DCO.

2025-05-28 Kugan Vivekanandarajah <[email protected]>

* Makefile.def: Fix typo in cpu_type
Expand Down
8 changes: 6 additions & 2 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ docs, and the testsuite related to that.
aarch64 ldp/stp Alex Coplan <[email protected]>
aarch64 port Richard Earnshaw <[email protected]>
aarch64 port Richard Sandiford <[email protected]>
aarch64 port Tamar Christina <[email protected]>
aarch64 port Kyrylo Tkachov <[email protected]>
alpha port Richard Henderson <[email protected]>
amdgcn port Julian Brown <[email protected]>
Expand Down Expand Up @@ -274,6 +275,8 @@ check in changes outside of the parts of the compiler they maintain.

Reviewers

aarch64 port Alex Coplan <[email protected]>
aarch64 port Andrew Pinski <[email protected]>
arm port (MVE) Christophe Lyon <[email protected]>
callgraph Martin Jambor <[email protected]>
C front end Marek Polacek <[email protected]>
Expand Down Expand Up @@ -308,7 +311,7 @@ loop optimizer Zdenek Dvorak <[email protected]>
LTO Richard Biener <[email protected]>
LTO plugin Cary Coutant <[email protected]>
Plugin Le-Chun Wu <[email protected]>
register allocation Peter Bergner <bergner@linux.ibm.com>
register allocation Peter Bergner <bergner@tenstorrent.com>
register allocation Kenneth Zadeck <[email protected]>
register allocation Seongbae Park <[email protected]>
riscv port Robin Dapp <[email protected]>
Expand Down Expand Up @@ -358,7 +361,7 @@ Serge Belyshev - <[email protected]>
Jon Beniston jbeniston <[email protected]>
Andrew Bennett - <[email protected]>
Andrew Benson abensonca <[email protected]>
Peter Bergner bergner <bergner@linux.ibm.com>
Peter Bergner bergner <bergner@tenstorrent.com>
Daniel Berlin dberlin <[email protected]>
Pat Bernardi - <[email protected]>
Jan Beulich - <[email protected]>
Expand Down Expand Up @@ -934,6 +937,7 @@ information.


Soumya AR <[email protected]>
Peter Bergner <[email protected]>
Dhruv Chawla <[email protected]>
Juergen Christ <[email protected]>
Giuseppe D'Angelo <[email protected]>
Expand Down
3 changes: 3 additions & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ HOST_EXPORTS = \
GOC="$(GOC)"; export GOC; \
GDC="$(GDC)"; export GDC; \
GM2="$(GM2)"; export GM2; \
GNATMAKE_FOR_BUILD="$(GNATMAKE_FOR_BUILD)"; export GNATMAKE_FOR_BUILD; \
AR="$(AR)"; export AR; \
AS="$(AS)"; export AS; \
CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
Expand Down Expand Up @@ -312,6 +313,7 @@ BASE_TARGET_EXPORTS = \
GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
GDC="$(GDC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GDC; \
GM2="$(GM2_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GM2; \
GNATMAKE_FOR_BUILD="$(GNATMAKE_FOR_BUILD)"; export GNATMAKE_FOR_BUILD; \
DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
DSYMUTIL="$(DSYMUTIL_FOR_TARGET)"; export DSYMUTIL; \
LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
Expand Down Expand Up @@ -381,6 +383,7 @@ GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
GOC_FOR_BUILD = @GOC_FOR_BUILD@
GDC_FOR_BUILD = @GDC_FOR_BUILD@
GM2_FOR_BUILD = @GM2_FOR_BUILD@
GNATMAKE_FOR_BUILD = @GNATMAKE_FOR_BUILD@
LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
LD_FOR_BUILD = @LD_FOR_BUILD@
NM_FOR_BUILD = @NM_FOR_BUILD@
Expand Down
3 changes: 3 additions & 0 deletions Makefile.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ HOST_EXPORTS = \
GOC="$(GOC)"; export GOC; \
GDC="$(GDC)"; export GDC; \
GM2="$(GM2)"; export GM2; \
GNATMAKE_FOR_BUILD="$(GNATMAKE_FOR_BUILD)"; export GNATMAKE_FOR_BUILD; \
AR="$(AR)"; export AR; \
AS="$(AS)"; export AS; \
CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
Expand Down Expand Up @@ -315,6 +316,7 @@ BASE_TARGET_EXPORTS = \
GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
GDC="$(GDC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GDC; \
GM2="$(GM2_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GM2; \
GNATMAKE_FOR_BUILD="$(GNATMAKE_FOR_BUILD)"; export GNATMAKE_FOR_BUILD; \
DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
DSYMUTIL="$(DSYMUTIL_FOR_TARGET)"; export DSYMUTIL; \
LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
Expand Down Expand Up @@ -384,6 +386,7 @@ GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
GOC_FOR_BUILD = @GOC_FOR_BUILD@
GDC_FOR_BUILD = @GDC_FOR_BUILD@
GM2_FOR_BUILD = @GM2_FOR_BUILD@
GNATMAKE_FOR_BUILD = @GNATMAKE_FOR_BUILD@
LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
LD_FOR_BUILD = @LD_FOR_BUILD@
NM_FOR_BUILD = @NM_FOR_BUILD@
Expand Down
12 changes: 10 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,7 @@ RANLIB_FOR_BUILD
NM_FOR_BUILD
LD_FOR_BUILD
LDFLAGS_FOR_BUILD
GNATMAKE_FOR_BUILD
GDC_FOR_BUILD
GOC_FOR_BUILD
GFORTRAN_FOR_BUILD
Expand Down Expand Up @@ -3397,6 +3398,10 @@ case "${target}" in
esac

cpu_type=`echo ${host} | sed 's/-.*$//'`
# Special case cpu_type for x86_64 as it shares AUTO_PROFILE from i386.
if test "${cpu_type}" = "x86_64" ; then
cpu_type="i386"
fi


# Disable libssp for some systems.
Expand Down Expand Up @@ -4249,11 +4254,12 @@ if test "${build}" != "${host}" ; then
CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
CPP_FOR_BUILD="${CPP_FOR_BUILD-\$(CC_FOR_BUILD) -E}"
CXX_FOR_BUILD=${CXX_FOR_BUILD-g++}
DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
DSYMUTIL_FOR_BUILD=${DSYMUTIL_FOR_BUILD-dsymutil}
GFORTRAN_FOR_BUILD=${GFORTRAN_FOR_BUILD-gfortran}
GOC_FOR_BUILD=${GOC_FOR_BUILD-gccgo}
GDC_FOR_BUILD=${GDC_FOR_BUILD-gdc}
DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
GNATMAKE_FOR_BUILD=${GNATMAKE_FOR_BUILD-gnatmake}
LD_FOR_BUILD=${LD_FOR_BUILD-ld}
NM_FOR_BUILD=${NM_FOR_BUILD-nm}
RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
Expand All @@ -4264,11 +4270,12 @@ else
AS_FOR_BUILD="\$(AS)"
CC_FOR_BUILD="\$(CC)"
CXX_FOR_BUILD="\$(CXX)"
DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
DSYMUTIL_FOR_BUILD="\$(DSYMUTIL)"
GFORTRAN_FOR_BUILD="\$(GFORTRAN)"
GOC_FOR_BUILD="\$(GOC)"
GDC_FOR_BUILD="\$(GDC)"
DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
GNATMAKE_FOR_BUILD="\$(GNATMAKE)"
LD_FOR_BUILD="\$(LD)"
NM_FOR_BUILD="\$(NM)"
RANLIB_FOR_BUILD="\$(RANLIB)"
Expand Down Expand Up @@ -11691,6 +11698,7 @@ done





# Generate default definitions for YACC, M4, LEX and other programs that run
# on the build machine. These are used if the Makefile can't locate these
Expand Down
11 changes: 9 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,10 @@ case "${target}" in
esac

cpu_type=`echo ${host} | sed 's/-.*$//'`
# Special case cpu_type for x86_64 as it shares AUTO_PROFILE from i386.
if test "${cpu_type}" = "x86_64" ; then
cpu_type="i386"
fi
AC_SUBST(cpu_type)

# Disable libssp for some systems.
Expand Down Expand Up @@ -1446,11 +1450,12 @@ if test "${build}" != "${host}" ; then
CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
CPP_FOR_BUILD="${CPP_FOR_BUILD-\$(CC_FOR_BUILD) -E}"
CXX_FOR_BUILD=${CXX_FOR_BUILD-g++}
DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
DSYMUTIL_FOR_BUILD=${DSYMUTIL_FOR_BUILD-dsymutil}
GFORTRAN_FOR_BUILD=${GFORTRAN_FOR_BUILD-gfortran}
GOC_FOR_BUILD=${GOC_FOR_BUILD-gccgo}
GDC_FOR_BUILD=${GDC_FOR_BUILD-gdc}
DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
GNATMAKE_FOR_BUILD=${GNATMAKE_FOR_BUILD-gnatmake}
LD_FOR_BUILD=${LD_FOR_BUILD-ld}
NM_FOR_BUILD=${NM_FOR_BUILD-nm}
RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
Expand All @@ -1461,11 +1466,12 @@ else
AS_FOR_BUILD="\$(AS)"
CC_FOR_BUILD="\$(CC)"
CXX_FOR_BUILD="\$(CXX)"
DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
DSYMUTIL_FOR_BUILD="\$(DSYMUTIL)"
GFORTRAN_FOR_BUILD="\$(GFORTRAN)"
GOC_FOR_BUILD="\$(GOC)"
GDC_FOR_BUILD="\$(GDC)"
DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
GNATMAKE_FOR_BUILD="\$(GNATMAKE)"
LD_FOR_BUILD="\$(LD)"
NM_FOR_BUILD="\$(NM)"
RANLIB_FOR_BUILD="\$(RANLIB)"
Expand Down Expand Up @@ -3911,6 +3917,7 @@ AC_SUBST(DSYMUTIL_FOR_BUILD)
AC_SUBST(GFORTRAN_FOR_BUILD)
AC_SUBST(GOC_FOR_BUILD)
AC_SUBST(GDC_FOR_BUILD)
AC_SUBST(GNATMAKE_FOR_BUILD)
AC_SUBST(LDFLAGS_FOR_BUILD)
AC_SUBST(LD_FOR_BUILD)
AC_SUBST(NM_FOR_BUILD)
Expand Down
47 changes: 47 additions & 0 deletions contrib/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,50 @@
2025-07-11 Richard Biener <[email protected]>

* gcc-changelog/git_update_version.py: Stop updating gcc-12
branch.

2025-07-08 Pierre-Emmanuel Patry <[email protected]>

* prepare-commit-msg: Force default git prefixes.

2025-07-07 Martin Jambor <[email protected]>

* filter-clang-warnings.py (skip_warning): Also ignore
-Woverloaded-shift-op-parentheses, -Wunused-function,
-Wunneeded-internal-declaration, -Wvla-cxx-extension', and
-Wunused-command-line-argument everywhere and a warning about
m_logical_loc_mgr in diagnostic-path-output.cc. Adjust gimple-match
and generic-match "filenames." Ignore -Wnontrivial-memcall warnings
in wide-int.h, all warnings about unused stuff in files under
m2/gm2-compiler-boot, all -Wunused-private-field in rust FE, in
analyzer/ana-state-to-diagnostic-state.h and c-family/c-format.cc, all
Warnings in avr-mmcu.texi, install.texi and libgccjit.texi and all
-Wc23-extensions warnings in libiberty/sha1.c. Ignore
-Wunused-parameter in analyzer/sm.cc. Reorder entries.

2025-06-29 Filip Kastl <[email protected]>

* mklog.py: In 'main()', specify variable 'root' as global.

2025-06-26 Alex Coplan <[email protected]>

* mklog.py (main): New.

2025-06-23 David Malcolm <[email protected]>

PR other/116792
PR testsuite/116163
PR sarif-replay/120792
* dg-lint/dg-lint: Add -fdiagnostics-add-output.
* dg-lint/libgdiagnostics.py: Add
diagnostic_manager_add_sink_from_spec.
(Manager.add_sink_from_spec): New.

2025-06-23 Andrew Burgess <[email protected]>

* dg-extract-results.py: Handle GDB's unexpected core file count.
* dg-extract-results.sh: Likewise.

2025-05-27 Jan Hubicka <[email protected]>

* gen_autofdo_event.py: Add support for AMD Zen 3 and
Expand Down
3 changes: 2 additions & 1 deletion contrib/dg-extract-results.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ def __init__ (self):
'# of unresolved testcases\t',
'# of unsupported tests\t\t',
'# of paths in test names\t',
'# of duplicate test names\t'
'# of duplicate test names\t',
'# of unexpected core files\t'
]
self.runs = dict()

Expand Down
8 changes: 6 additions & 2 deletions contrib/dg-extract-results.sh
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ BEGIN {
variant="$VAR"
tool="$TOOL"
passcnt=0; failcnt=0; untstcnt=0; xpasscnt=0; xfailcnt=0; kpasscnt=0; kfailcnt=0; unsupcnt=0; unrescnt=0; dgerrorcnt=0;
pathcnt=0; dupcnt=0
pathcnt=0; dupcnt=0; corecnt=0
curvar=""; insummary=0
}
/^Running target / { curvar = \$3; next }
Expand All @@ -420,6 +420,7 @@ BEGIN {
/^# of unsupported tests/ { if (insummary == 1) unsupcnt += \$5; next; }
/^# of paths in test names/ { if (insummary == 1) pathcnt += \$7; next; }
/^# of duplicate test names/ { if (insummary == 1) dupcnt += \$6; next; }
/^# of unexpected core files/ { if (insummary == 1) corecnt += \$6; next; }
/^$/ { if (insummary == 1)
{ insummary = 0; curvar = "" }
next
Expand All @@ -439,6 +440,7 @@ END {
if (unsupcnt != 0) printf ("# of unsupported tests\t\t%d\n", unsupcnt)
if (pathcnt != 0) printf ("# of paths in test names\t%d\n", pathcnt)
if (dupcnt != 0) printf ("# of duplicate test names\t%d\n", dupcnt)
if (corecnt != 0) printf ("# of unexpected core files\t%d\n", corecnt)
}
EOF

Expand All @@ -460,7 +462,7 @@ cat << EOF > $TOTAL_AWK
BEGIN {
tool="$TOOL"
passcnt=0; failcnt=0; untstcnt=0; xpasscnt=0; xfailcnt=0; kfailcnt=0; unsupcnt=0; unrescnt=0; dgerrorcnt=0
pathcnt=0; dupcnt=0
pathcnt=0; dupcnt=0; corecnt=0
}
/^# of DejaGnu errors/ { dgerrorcnt += \$5 }
/^# of expected passes/ { passcnt += \$5 }
Expand All @@ -474,6 +476,7 @@ BEGIN {
/^# of unsupported tests/ { unsupcnt += \$5 }
/^# of paths in test names/ { pathcnt += \$7 }
/^# of duplicate test names/ { dupcnt += \$6 }
/^# of unexpected core files/ { corecnt += \$6 }
END {
printf ("\n\t\t=== %s Summary ===\n\n", tool)
if (dgerrorcnt != 0) printf ("# of DejaGnu errors\t\t%d\n", dgerrorcnt)
Expand All @@ -488,6 +491,7 @@ END {
if (unsupcnt != 0) printf ("# of unsupported tests\t\t%d\n", unsupcnt)
if (pathcnt != 0) printf ("# of paths in test names\t%d\n", pathcnt)
if (dupcnt != 0) printf ("# of duplicate test names\t%d\n", dupcnt)
if (corecnt != 0) printf ("# of unexpected core files\t%d\n", corecnt)
}
EOF

Expand Down
8 changes: 8 additions & 0 deletions contrib/dg-lint/dg-lint
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,17 @@ def skip_file(filename):
def main(argv):
parser = argparse.ArgumentParser()#usage=__doc__)
parser.add_argument('paths', nargs='+', type=pathlib.Path)
parser.add_argument('-fdiagnostics-add-output', action='append')
opts = parser.parse_args(argv[1:])

ctxt = Context()
control_mgr = libgdiagnostics.Manager()
control_mgr.add_text_sink()
for scheme in opts.fdiagnostics_add_output:
ctxt.mgr.add_sink_from_spec("-fdiagnostics-add-output=",
scheme,
control_mgr)

for path in opts.paths:
if path.is_dir():
for dirpath, dirnames, filenames in os.walk(path):
Expand Down
17 changes: 17 additions & 0 deletions contrib/dg-lint/libgdiagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,13 @@ class c_diagnostic_physical_location(ctypes.Structure):
ctypes.c_char_p]
cdll.diagnostic_add_fix_it_hint_replace.restype = None

cdll.diagnostic_manager_add_sink_from_spec.argtypes \
= [c_diagnostic_manager_ptr,
ctypes.c_char_p,
ctypes.c_char_p,
c_diagnostic_manager_ptr]
cdll.diagnostic_manager_add_sink_from_spec.restype = ctypes.c_int

# Helper functions

def _to_utf8(s: str):
Expand Down Expand Up @@ -156,6 +163,16 @@ def add_text_sink(self):
c_stderr,
DIAGNOSTIC_COLORIZE_IF_TTY)

def add_sink_from_spec(self, option_name: str, scheme: str, control_mgr):
assert self.c_mgr
assert control_mgr.c_mgr
res = cdll.diagnostic_manager_add_sink_from_spec (self.c_mgr,
_to_utf8(option_name),
_to_utf8(scheme),
control_mgr.c_mgr)
if res:
raise RuntimeError()

def get_file(self, path: str, sarif_lang: str = None):
assert self.c_mgr
assert path
Expand Down
Loading
Loading