Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1605 commits
Select commit Hold shift + click to select a range
46b169f
ci: Run tests with gccrs compiled under gcc-4.8
CohenArthur Mar 29, 2022
dba1556
rust: Clang/macOS Testing
simonpcook Apr 12, 2022
f6a17db
rust: Use -Otarget when building and logging warnings
simonpcook Apr 13, 2022
daad973
CI: do not push Docker image ...
liushuyu Apr 17, 2022
a6ea179
CI: catch malformed test cases
liushuyu Apr 22, 2022
ff3ec9f
dockerfile: change the base image ...
liushuyu Apr 25, 2022
87e2f60
docker: Add commit information to Docker image
CohenArthur May 30, 2022
d751c34
docker: Fix GCCRS_BUILD info
CohenArthur Jun 8, 2022
2a1470c
ci: Temporarily disable Remark CI
CohenArthur Jun 28, 2022
782803f
CI: fix remark installation pre-condition ...
liushuyu Jul 20, 2022
d8d330e
Add in -m32,-m64 configuration to make check-rust
philberty Aug 9, 2022
16e1e9b
Seperate 64 and 32 bit testing combos into seperate jobs
philberty Aug 10, 2022
7a7eedb
Update expected warnings post cleanup
philberty Aug 17, 2022
52014fe
ci: Apply warnings in CI
CohenArthur Oct 12, 2022
b2120bf
bors: Fix warning list
CohenArthur Oct 24, 2022
d9a8863
ci: Use same CXXFLAGS in bootstrap workflow
CohenArthur Oct 28, 2022
f9ea4de
ci: Update expected warnings
CohenArthur Nov 3, 2022
c3a3963
Join justforfun.dev
philberty Dec 1, 2022
97e51d2
ci: Lock Ubuntu version to 20.04
CohenArthur Dec 7, 2022
bcfaa14
ci: gcc-4.8 package is only available in Ubuntu 18.04
CohenArthur Dec 7, 2022
0e58c5f
bors: Expect ubuntu32bit and gcc48 jobs to succeed
CohenArthur Dec 6, 2022
af952f0
Revert "ci: Use same CXXFLAGS in bootstrap workflow"
tschwinge Dec 14, 2022
5575386
Revert "ci: Apply warnings in CI"
tschwinge Dec 14, 2022
fb39d94
Revert "bors: Fix warning list"
tschwinge Dec 14, 2022
4fdcf0a
Really fix up '.github/bors_log_expected_warnings'
tschwinge Dec 14, 2022
45fc2ae
Adjust '.github/bors_log_expected_warnings'
tschwinge Dec 15, 2022
e372056
README.md: Added experimental flag & updated gccrs path
MahadMuhammad Jan 17, 2023
575da2b
ci: Add commit format checker
CohenArthur Jan 31, 2023
3f89156
ci: update ubuntu version
ArshErgon Dec 13, 2022
6084267
ci: Require commits check to pass for bors to merge and fix CI names
CohenArthur Feb 1, 2023
b421720
ci: Revert bors running of commit checkers
CohenArthur Feb 8, 2023
4e5bd21
Adjust '.github/bors_log_expected_warnings'
tschwinge Feb 12, 2023
44ae4df
ci: Add missing `merge_group` trigger for workflow
CohenArthur Feb 14, 2023
08da225
Adjust '.github/bors_log_expected_warnings'
tschwinge Feb 18, 2023
eb591f9
Adjust '.github/bors_log_expected_warnings'
tschwinge Feb 21, 2023
e8abcb1
ci: Run GCC 4.8 job in Ubuntu 18.04 container
CohenArthur Feb 21, 2023
3c82823
ci: Do not run `check-gccrs-prefix` on PRs to master
CohenArthur Mar 15, 2023
45d3cbc
ci: check Signed-off-by lines (and others) are at the end
dkm Mar 11, 2023
16f5f75
docker: Do not run update-alternatives on invalid path
CohenArthur Mar 28, 2023
35e5176
Adjust '.github/bors_log_expected_warnings'
tschwinge Apr 8, 2023
16edf9e
ci: Add libgrust to clang-format checker
P-E-P Apr 24, 2023
24b9816
Run bootstrap builds on a schedule
powerboat9 Jul 20, 2023
02a571f
Use checkout@v3 in workflows
powerboat9 Aug 29, 2023
5b7ee88
Bump docker workflow dependencies
powerboat9 Aug 29, 2023
3c19410
Bump docker/build-push-action to v4
powerboat9 Sep 1, 2023
b307b17
Bump our docker build's debian base image version to match rust:latest's
powerboat9 Sep 1, 2023
5cb7799
Bump actions/upload-artifact from v2 to v3
powerboat9 Nov 8, 2023
41c728b
ci: Install cargo on ubuntu 18.04 container.
CohenArthur Feb 26, 2024
1788028
Adjust '.github/bors_log_expected_warnings'
tschwinge Mar 11, 2024
75f1067
Adjust '.github/bors_log_expected_warnings'
tschwinge Mar 24, 2024
94dcf81
ci: Install Rust directly from rustup instead of apt
CohenArthur Mar 18, 2024
c607775
fixed README.md , dump ast using correct option
zhanghe9702 Mar 16, 2024
fb592bb
Add an alternative solution on MacOS
Apr 5, 2024
9573c0e
Fix grammar as pointed out by Marc
Apr 5, 2024
c648fa2
Adjust '.github/bors_log_expected_warnings'
tschwinge Apr 10, 2024
6bb2c17
chore: Fix Remark CI
CohenArthur Apr 12, 2024
818fbac
Pin macos CI to version 13
P-E-P Apr 30, 2024
d48a8b1
Pin node16 by allowing old version
badumbatish Jul 10, 2024
e179c57
ci: switch to nightly rustc
braw-lee Jun 5, 2024
31d9173
Fix CI bootstrap build with a nightly rust compiler
P-E-P Jul 18, 2024
909808d
Change bug report issue template
P-E-P Jul 22, 2024
e1b42e6
github: Remove nightly Rust installation
CohenArthur Jul 26, 2024
a1cc8f9
Add running cicd 32bit
badumbatish Aug 4, 2024
5079a4a
Add glibcxx_assertion check
badumbatish Aug 23, 2024
f972ae3
Bump action version to avoid missing distutils
P-E-P Sep 5, 2024
83ec7fc
Compile using ASAN on the github CI
powerboat9 Aug 27, 2024
ef701ec
github: adjust footer detection for Tested-by
dkm Sep 9, 2024
d7da260
Change upload artifact github action version
P-E-P Sep 17, 2024
aad03cd
Adjust expected warnings for alpine 32 bit
powerboat9 Sep 18, 2024
6528948
Change alpine allowed warning list
P-E-P Sep 27, 2024
124f273
Check for writes outside of the build directory
powerboat9 Apr 25, 2024
25dd612
Add a new CI step to detect raw issue references
P-E-P Nov 20, 2024
18fba1a
ci: remove bors mention
dkm Nov 23, 2024
0b90c64
CI: upgrade GCC baseline from 4.8 -> 5.4 (5.5)
thesamesam Nov 22, 2024
b7cec61
ci: bump actions/checkout from v3 to v4
dkm Nov 27, 2024
4ed2864
ci: change the gcc-5 testing
dkm Nov 27, 2024
7965865
Add build dependencies for Fedora
jarkkojs Sep 5, 2024
8b60b69
ci: Update expected warnings list for 32 bits build.
CohenArthur Dec 9, 2024
f18bc8e
ci: update warnings after C++14 change
thesamesam Dec 10, 2024
23fdaaf
gccrs: disable macos github workflow
philberty Dec 19, 2024
75fa483
Update upload-artifact to v4
powerboat9 Jan 23, 2025
4fbfeca
ci: disable network
thesamesam Mar 17, 2025
6585198
ci: Update warnings for new location in install.texi
CohenArthur Apr 14, 2025
a5d8767
nr2.0: late: Correctly initialize funny_error member
CohenArthur Apr 28, 2025
3317e48
backend: Refactor struct pattern compilation
CohenArthur Apr 16, 2025
f2671fb
backend: Compile struct rebinding patterns
CohenArthur Apr 16, 2025
75237a2
ast: builder: Allow building struct ident patterns
CohenArthur Apr 16, 2025
0b6c1f5
derive(PartialEq): Allow deriving enum structs
CohenArthur Apr 16, 2025
a7c77b8
derive(PartialEq): Fix raw strings in test
CohenArthur Apr 24, 2025
1a25ef5
gccrs: Emit error diagnostic for bad impl type usage
philberty May 5, 2025
1a39a71
gccrs: desugar APIT impl traits
philberty Apr 30, 2025
a19da6c
Improve canonical path handling for impl items
powerboat9 May 3, 2025
35d597d
Improve struct pattern compilation
powerboat9 May 1, 2025
8bf54be
nr2.0: Adjust enum item visitors
powerboat9 May 2, 2025
74c693b
gccrs: Prevent passing generic arguments to impl traits in argument p…
philberty May 7, 2025
1f53267
gccrs: fix ICE on empty constexpr loops
tommyscholly May 8, 2025
f7ffcc1
ast: collector: visit InlineAsm node during ast dump
0xn4utilus May 7, 2025
486007f
nr2.0: Adjust resolution of impl items
powerboat9 Apr 25, 2025
521aa40
gccrs: Adapt attribute lang hook and do some cleanup
dkm May 9, 2025
a38fa15
gccrs: We cant clone types as it will dup the node-id
philberty May 11, 2025
d552625
nr2.0: Fix borrow checking
powerboat9 May 9, 2025
4d32342
Fix test same_field_name.rs
powerboat9 May 10, 2025
be6486f
Fix Attr metavariable binding
powerboat9 May 10, 2025
e33f1bf
ci: use clang-format 16
dkm May 10, 2025
c894ffc
gccrs: remove unused file
dkm May 13, 2025
62cb935
gccrs: Reindent using last clang-format configuration
dkm May 10, 2025
c62ef73
gccrs: remove now useless clang-format comments
dkm May 13, 2025
1aa3d06
Small improvements to DefaultASTVisitor and nr2.0
powerboat9 May 8, 2025
95d8bc8
Rust: Move 'libformat_parser' build into the GCC build directory
tschwinge Feb 28, 2024
59ac455
Remove rvalue reference binding
powerboat9 May 13, 2025
1dd73ae
gccrs: Fix NR2 ICE in visit_attributes
tommyscholly May 12, 2025
9c2214c
nr2.0: Fix test builtin_abort.rs
powerboat9 May 15, 2025
f2efa37
nr2.0: Fix some paths in test files
powerboat9 May 14, 2025
51dd1da
Revert 10-second timeout for each test
ptdatta Jan 21, 2023
6da7601
gccrs: refactor default infer vars to be its own function
philberty May 19, 2025
3dc5a7e
gccrs: Remove unneeded clones untill we have an arena allocator for t…
philberty May 19, 2025
02a17ad
gccrs: Fix non canonical type bug with tuples
philberty May 26, 2025
eb39c35
gccrs: Initial support for Return Position Impl Trait
philberty May 19, 2025
ce20951
nr2.0: Fix IfLet pattern handling
powerboat9 May 15, 2025
0dc8eef
gccrs: Always emit the error highest in the type hierarchy
philberty May 20, 2025
ec05fbd
ast: Add ConstBlock and AnonConst nodes
CohenArthur Apr 9, 2025
3f8c3ce
parser: Add base for parsing const blocks
CohenArthur Apr 15, 2025
4c3a7b7
hir: Add const blocks
CohenArthur Apr 15, 2025
709eb55
const-block: Add testcase
CohenArthur Apr 15, 2025
9f69f70
Make ConstantItem use Identifier
powerboat9 Jun 4, 2025
dc781a1
parser: fix ICE std::out_of_range with path attrs to nonexisting path
vishruth-thimmaiah Apr 22, 2025
8ba6ff0
nr2.0: Improve visibility path handling
powerboat9 May 9, 2025
5c4989d
nr2.0: Catch Self in impl block self types
powerboat9 May 16, 2025
e16c68a
fix: ICE when parsing unterminated raw byte strings
vishruth-thimmaiah May 28, 2025
093f911
gccrs: Lower IdentifierPattern's to_bind to HIR
Polygonalr Jun 7, 2025
bf1bbf8
nr2.0: Separate out canonical path handling
powerboat9 May 2, 2025
7360b99
ci: adjust expected warnings after upstream sync
dkm May 12, 2025
c50c54b
Add new function ClosureExpr::get_definition_expr
powerboat9 Jun 9, 2025
47edcf2
nr2.0: Improve StructPatternFieldIdent handling
powerboat9 May 23, 2025
55ac664
nr2.0: Adjust pub_restricted tests
powerboat9 May 18, 2025
51ec4c4
nr2.0: Improve handling of single segment paths
powerboat9 Mar 29, 2025
9bc60c7
nr2.0: Fix closure parameter scoping
powerboat9 May 15, 2025
b4b16ae
gccrs: Support compilation of IdentifierPattern's subpatterns
Polygonalr Jun 7, 2025
f4a2eb9
gccrs: Rename IdentifierPattern's to_bind to subpattern
Polygonalr Jun 9, 2025
747ef50
nr2.0: Adjust alternate identifier handling
powerboat9 May 23, 2025
33371bf
gccrs: Fix bad type canonicalization on ARRAY_TYPES
philberty May 27, 2025
64cad8d
gccrs: Fix bug in query type stopping PartialOrd
philberty Jun 14, 2025
72749f9
rib: Add all kinds of Ribs to pretty-printing
CohenArthur May 27, 2025
cc4e244
derive: chore: Add missing override qualifiers
CohenArthur Mar 7, 2025
9b8ed44
derive(Ord, PartialOrd): Add base for deriving them.
CohenArthur Mar 7, 2025
cb19ef6
derive: Add const generics when deriving impls
CohenArthur Apr 9, 2025
a0a10e7
builder: Add match_case() function and new block() one
CohenArthur Apr 18, 2025
5e798fb
derive: Add common comparison derive class
CohenArthur Apr 18, 2025
fd40fa1
derive(PartialEq): Use that common class
CohenArthur Apr 18, 2025
e1d5467
derive(Ord, PartialOrd): Implement proper recursive match logic
CohenArthur Apr 18, 2025
5652fa9
derive(PartialEq): chore: Refactor using new SelfOther APIs
CohenArthur Apr 18, 2025
dc5bf6c
derive(Ord, PartialOrd): Handle tuples properly
CohenArthur Apr 18, 2025
d02d2fa
builder: Add Builder::discriminant_value
CohenArthur Apr 22, 2025
34f5ea3
derive(Hash): Use new Builder API
CohenArthur Apr 22, 2025
c085424
derive(Ord): Add handling for ordering of discriminant values
CohenArthur Apr 22, 2025
46c5c18
ast-builder: Make location public
CohenArthur Apr 22, 2025
9ba9fdd
derive-cmp: Add EnumMatchBuilder class
CohenArthur Apr 22, 2025
a8ac3ef
derive(PartialEq): Implement proper discriminant comparison
CohenArthur Apr 22, 2025
6a2520f
[NEEDS TEST] derive(Ord, PartialOrd): Finish implementation
CohenArthur Apr 22, 2025
223e0da
derive(Ord): Fix condition for matching on Option::Some instead
CohenArthur Apr 23, 2025
efcd760
derive(Ord): Fix cmp call to use references instead of values
CohenArthur Apr 28, 2025
eba0380
derive(Ord): Handle unit structs properly
CohenArthur May 27, 2025
a30908f
derive(Ord, Eq): Use different node IDs for variant paths
CohenArthur Jun 10, 2025
f54b74c
chore: Fix formatting
CohenArthur Jun 11, 2025
39069ee
gccrs: Improve HIR dumps for patterns
Polygonalr Jun 15, 2025
d97845b
nr2.0: Adjust lookup of associated items
powerboat9 May 9, 2025
f553852
gccrs: Rename get_pattern_to_bind to get_subpattern
Polygonalr Jun 11, 2025
02d5614
gccrs: Implement name resolution for IdentifierPattern's subpattern
Polygonalr Jun 13, 2025
a236ed2
gccrs: Implement compilation of IdentifierPattern's subpattern bindings
Polygonalr Jun 13, 2025
0b43b5a
nr2.0: Update IdentifierPattern's subpattern name resolution
Polygonalr Jun 16, 2025
3e30dbd
gccrs: Fix issues around PartialEq Eq Ord Partial Ord
philberty Jun 17, 2025
bab6878
Fix execute testsuite
powerboat9 Jun 17, 2025
a441472
Adjust external crate lowering and type checking
powerboat9 Jun 16, 2025
68a2f86
gccrs: Fix ICE when constant is missing and expression
philberty Jun 18, 2025
fc9213c
gccrs: Add test case showing RPIT working to close issue
philberty Jun 19, 2025
fae4be4
Move AST desugaring into expansion phase
powerboat9 May 24, 2025
5c346a5
gccrs: Ensure we look at the bounds behind a reference
philberty Jun 20, 2025
a6a8a66
gccrs: Fix cyclical projection to placeholder
philberty Jun 21, 2025
e5a3d09
gccrs: Cleanup and refactor method resolution
philberty Jun 17, 2025
c20200d
gccrs: Refactor marker builtin trait assembly
philberty Jun 21, 2025
c4f9080
gccrs: Fix bug with bad type bindings not looking at super traits
philberty Jun 21, 2025
79732df
gccrs: Fix silly ordering bug in trait reference resolution
philberty Jun 20, 2025
3d765bd
gccrs: Add unify rules for fnptr and closures
philberty Jun 21, 2025
cdc1f66
nr2.0: Fix resolution of constant items
powerboat9 Jun 20, 2025
e48ffa6
gccrs: Fix TupleStructPattern compilation throwing error
Polygonalr Jun 22, 2025
ba1113f
gccrs: check for invalid const calls during code-gen
philberty Jun 23, 2025
3359b37
gccrs: Fix bug with non compiled const decl
philberty Jun 23, 2025
69f59f4
Fix scan-assembler regexp in recurse2.rs
powerboat9 Jun 23, 2025
6a5380c
CI: Reenable macos runner
powerboat9 Jun 22, 2025
8d0850f
gccrs: Add getter for outer attributions
sakupan102 Jun 24, 2025
d515bc7
gccrs: Add getter for non const lifetime object
sakupan102 Jun 24, 2025
6209b54
Create Rust::GGC::Ident
powerboat9 Jun 24, 2025
792625b
gccrs: Implement default HIR visitor class
sakupan102 Jun 24, 2025
3d52c1c
ci: Ignore non-rust warnings
powerboat9 Jun 26, 2025
1d7c08d
Update C++ version check in rust-lang.cc
powerboat9 Jun 24, 2025
320c34a
gccrs: Implement type checking for ItemType::RANGED in TuplePattern
Polygonalr Jun 26, 2025
94a2888
nr2.0: Adjust resolution of external crates
powerboat9 Jun 16, 2025
06666b2
Add locus getters
P-E-P Jun 27, 2025
792be08
nr2.0: Add more checks for alternate patterns
powerboat9 May 24, 2025
9db4720
nr2.0: Adjust resolution of modules
powerboat9 May 29, 2025
61673c5
ast: reconstruct: Add base for reconstructing and asserting different…
CohenArthur May 20, 2025
0856249
ast: Add reconstruct() method for Type nodes
CohenArthur May 20, 2025
0ca4978
ast: builder: Remove ASTTypeBuilder
CohenArthur May 20, 2025
6cbdae4
reconstruct_vec: Allocate size when creating the vector
CohenArthur May 26, 2025
5b810cb
chore: ast: Fix formatting and includes
CohenArthur Jun 13, 2025
7ccaaef
gccrs: Fix type checking logic for TuplePattern
Polygonalr Jun 28, 2025
a0417e6
gccrs: Implement compilation support for TuplePatternItems::RANGED
Polygonalr Jun 29, 2025
ea3a791
nr2.0: Enable by default
powerboat9 May 9, 2025
0d46398
Remove -frust-name-resolution-2.0 usage in tests
powerboat9 Jul 3, 2025
3683da0
nr1.0: Remove rust/backend support
powerboat9 Jul 3, 2025
01b2f05
Remove Late visitor override for StructStruct
powerboat9 Jul 1, 2025
a13db7f
Remove reinterpret_cast usages in DefaultASTVisitor
powerboat9 Jul 1, 2025
d748ea1
Change enum to enum class
P-E-P Jul 7, 2025
9547d0f
Allow format_args to accept a raw string literal
powerboat9 Jul 1, 2025
d28bddd
Parse try expressions
powerboat9 Jul 2, 2025
a06272a
ast: Check before visiting a while-let's label
CohenArthur May 19, 2025
2babf94
nr2.0: Add proper handling for WhileLet loops.
CohenArthur Jul 4, 2025
739d5ab
gccrs: Do proper const folding during typechecking for array capacities
philberty Jul 8, 2025
3426e9b
gccrs: Fix ice with invalid borrow expression
philberty Jul 8, 2025
c7025b5
gccrs: Add type checking for SlicePattern
Polygonalr Jul 8, 2025
05c0f3a
gccrs: Improve LiteralPattern type checking
Polygonalr Jul 8, 2025
8661689
gccrs: Fix narrowing of Loan (size_t) into LoanId (uint32)
dkm Jul 3, 2025
bcf3936
ci: remove warnings from expected file
dkm Jul 8, 2025
9e996cc
gccrs: Fix bad bounds checking for PartialOrd
philberty Jun 27, 2025
c07ac23
nr2.0: Check before visiting a for-loop's label
CohenArthur Jul 9, 2025
0d153ec
gccrs: Fix cast rules logic to try simple casts then fall back to coe…
philberty Jul 10, 2025
4f7b03f
gccrs: Fix ICE when handling bad constructor
philberty Jul 10, 2025
acba7a0
gccrs: add test case to show issue is fixed
philberty Jul 11, 2025
ae990b4
gccrs: Add test case to show we emit better errors now
philberty Jul 11, 2025
2603211
gccrs: Add test case to show issue is fixed
philberty Jul 11, 2025
9564ff2
attributes: Add #[test] and #[simd_test]
CohenArthur Jul 4, 2025
aab50fc
gccrs: Add test case showing all derives working on enum
philberty Jul 11, 2025
d20edb4
gccrs: Add size checking to SlicePattern
Polygonalr Jul 11, 2025
3d935e5
gccrs: Implement compilation for SlicePattern matching against ArrayT…
Polygonalr Jul 17, 2025
bf3fab4
gccrs: Reject loop in const/static context
Lishin1215 Jul 16, 2025
4cc7c97
gccrs: Add test case to show issue is fixed
philberty Jul 18, 2025
b80b8f1
Improve parsing of simple paths
powerboat9 Jul 15, 2025
cc163e9
gccrs: Fix ICE with duplicate root item main function
philberty Jul 18, 2025
1619803
gccrs: Add initial support for deffered operator overload resolution
philberty Jul 18, 2025
fc99c58
gccrs: return error node when this fails during constexpr case
philberty Jul 18, 2025
24ab21c
Use MacroInvocLexer in AttributeParser
powerboat9 Jul 8, 2025
9526906
gccrs: fix bad monomophization of generic paths
philberty Jul 20, 2025
d6f6955
Specialize ExpandVisitor::expand_macro_children
powerboat9 Jul 19, 2025
142a99d
Load modules during CfgStrip phase
powerboat9 Jul 3, 2025
7596bfe
mappings: Change mappings to allow other items as item containers.
CohenArthur Jul 9, 2025
9de4b74
nr2.0: Handle glob imports of enum variants.
CohenArthur Jul 9, 2025
4343310
ast: Use AnonConst for array type sizes
CohenArthur Jul 21, 2025
90a588e
hir: Handle deferred const inference variables
CohenArthur Jul 8, 2025
4531e9d
chore: ast: Fix formatting in rust-expr.h
CohenArthur Jul 21, 2025
3a57c56
Merge remote-tracking branch 'upstream-gccrs/master' into dkm/bump-20…
dkm Jul 22, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
51 changes: 51 additions & 0 deletions contrib/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,54 @@
2025-07-16 David Malcolm <[email protected]>

* gcc.doxy (INPUT): Add directory "gcc/text-art".

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