Skip to content

Commit 80fdb3a

Browse files
Merge pull request gcc-mirror#104 from iains/contracts-nonattr-rebase-onto-r16-1658-g5bc92717b804
Contracts nonattr rebase onto r16 1658 g5bc92717b804
2 parents cec3967 + e3a80eb commit 80fdb3a

File tree

1,483 files changed

+65098
-39450
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,483 files changed

+65098
-39450
lines changed

ChangeLog

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
2025-06-22 Nicolas Boulenguez <nicolas@debian.org>
2+
3+
PR ada/120106
4+
* Makefile.tpl: Add GNATMAKE_FOR_BUILD to {HOST,BASE_TARGET}_EXPORTS
5+
* Makefile.in: Regenerate.
6+
* configure.ac: Set the default and substitute the variable.
7+
* configure: Regenerate.
8+
9+
2025-06-09 Kugan Vivekanandarajah <kvivekananda@nvidia.com>
10+
11+
* configure.ac: Special case cpu_type for x86_64.
12+
* configure: Regenerate.
13+
14+
2025-06-09 Peter Bergner <bergner@tenstorrent.com>
15+
16+
* MAINTAINERS: Update my email address and add myself to DCO.
17+
118
2025-05-28 Kugan Vivekanandarajah <kvivekananda@nvidia.com>
219

320
* Makefile.def: Fix typo in cpu_type

MAINTAINERS

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ loop optimizer Zdenek Dvorak <ook@ucw.cz>
308308
LTO Richard Biener <rguenther@suse.de>
309309
LTO plugin Cary Coutant <ccoutant@gmail.com>
310310
Plugin Le-Chun Wu <lcwu@google.com>
311-
register allocation Peter Bergner <bergner@linux.ibm.com>
311+
register allocation Peter Bergner <bergner@tenstorrent.com>
312312
register allocation Kenneth Zadeck <zadeck@naturalbridge.com>
313313
register allocation Seongbae Park <seongbae.park@gmail.com>
314314
riscv port Robin Dapp <rdapp.gcc@gmail.com>
@@ -358,7 +358,7 @@ Serge Belyshev - <belyshev@depni.sinp.msu.ru>
358358
Jon Beniston jbeniston <jon@beniston.com>
359359
Andrew Bennett - <andrew.bennett@imgtec.com>
360360
Andrew Benson abensonca <abensonca@gmail.com>
361-
Peter Bergner bergner <bergner@linux.ibm.com>
361+
Peter Bergner bergner <bergner@tenstorrent.com>
362362
Daniel Berlin dberlin <dberlin@dberlin.org>
363363
Pat Bernardi - <bernardi@adacore.com>
364364
Jan Beulich - <jbeulich@suse.com>
@@ -934,6 +934,7 @@ information.
934934

935935

936936
Soumya AR <soumyaa@nvidia.com>
937+
Peter Bergner <bergner@tenstorrent.com>
937938
Dhruv Chawla <dhruvc@nvidia.com>
938939
Juergen Christ <jchrist@linux.ibm.com>
939940
Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>

Makefile.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ HOST_EXPORTS = \
207207
GOC="$(GOC)"; export GOC; \
208208
GDC="$(GDC)"; export GDC; \
209209
GM2="$(GM2)"; export GM2; \
210+
GNATMAKE_FOR_BUILD="$(GNATMAKE_FOR_BUILD)"; export GNATMAKE_FOR_BUILD; \
210211
AR="$(AR)"; export AR; \
211212
AS="$(AS)"; export AS; \
212213
CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
@@ -312,6 +313,7 @@ BASE_TARGET_EXPORTS = \
312313
GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
313314
GDC="$(GDC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GDC; \
314315
GM2="$(GM2_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GM2; \
316+
GNATMAKE_FOR_BUILD="$(GNATMAKE_FOR_BUILD)"; export GNATMAKE_FOR_BUILD; \
315317
DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
316318
DSYMUTIL="$(DSYMUTIL_FOR_TARGET)"; export DSYMUTIL; \
317319
LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
@@ -381,6 +383,7 @@ GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
381383
GOC_FOR_BUILD = @GOC_FOR_BUILD@
382384
GDC_FOR_BUILD = @GDC_FOR_BUILD@
383385
GM2_FOR_BUILD = @GM2_FOR_BUILD@
386+
GNATMAKE_FOR_BUILD = @GNATMAKE_FOR_BUILD@
384387
LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
385388
LD_FOR_BUILD = @LD_FOR_BUILD@
386389
NM_FOR_BUILD = @NM_FOR_BUILD@

Makefile.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ HOST_EXPORTS = \
210210
GOC="$(GOC)"; export GOC; \
211211
GDC="$(GDC)"; export GDC; \
212212
GM2="$(GM2)"; export GM2; \
213+
GNATMAKE_FOR_BUILD="$(GNATMAKE_FOR_BUILD)"; export GNATMAKE_FOR_BUILD; \
213214
AR="$(AR)"; export AR; \
214215
AS="$(AS)"; export AS; \
215216
CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
@@ -315,6 +316,7 @@ BASE_TARGET_EXPORTS = \
315316
GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
316317
GDC="$(GDC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GDC; \
317318
GM2="$(GM2_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GM2; \
319+
GNATMAKE_FOR_BUILD="$(GNATMAKE_FOR_BUILD)"; export GNATMAKE_FOR_BUILD; \
318320
DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
319321
DSYMUTIL="$(DSYMUTIL_FOR_TARGET)"; export DSYMUTIL; \
320322
LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
@@ -384,6 +386,7 @@ GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
384386
GOC_FOR_BUILD = @GOC_FOR_BUILD@
385387
GDC_FOR_BUILD = @GDC_FOR_BUILD@
386388
GM2_FOR_BUILD = @GM2_FOR_BUILD@
389+
GNATMAKE_FOR_BUILD = @GNATMAKE_FOR_BUILD@
387390
LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
388391
LD_FOR_BUILD = @LD_FOR_BUILD@
389392
NM_FOR_BUILD = @NM_FOR_BUILD@

c++tools/ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2025-06-02 Kito Cheng <kito.cheng@sifive.com>
2+
3+
* configure.ac: Don't check `--enable-default-pie`.
4+
* configure: Regen.
5+
16
2024-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
27

38
* configure.ac (ax_lib_socket_nsl.m4): Don't sinclude.

configure

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,7 @@ RANLIB_FOR_BUILD
653653
NM_FOR_BUILD
654654
LD_FOR_BUILD
655655
LDFLAGS_FOR_BUILD
656+
GNATMAKE_FOR_BUILD
656657
GDC_FOR_BUILD
657658
GOC_FOR_BUILD
658659
GFORTRAN_FOR_BUILD
@@ -3397,6 +3398,10 @@ case "${target}" in
33973398
esac
33983399

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

34013406

34023407
# Disable libssp for some systems.
@@ -4249,11 +4254,12 @@ if test "${build}" != "${host}" ; then
42494254
CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
42504255
CPP_FOR_BUILD="${CPP_FOR_BUILD-\$(CC_FOR_BUILD) -E}"
42514256
CXX_FOR_BUILD=${CXX_FOR_BUILD-g++}
4257+
DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
42524258
DSYMUTIL_FOR_BUILD=${DSYMUTIL_FOR_BUILD-dsymutil}
42534259
GFORTRAN_FOR_BUILD=${GFORTRAN_FOR_BUILD-gfortran}
42544260
GOC_FOR_BUILD=${GOC_FOR_BUILD-gccgo}
42554261
GDC_FOR_BUILD=${GDC_FOR_BUILD-gdc}
4256-
DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
4262+
GNATMAKE_FOR_BUILD=${GNATMAKE_FOR_BUILD-gnatmake}
42574263
LD_FOR_BUILD=${LD_FOR_BUILD-ld}
42584264
NM_FOR_BUILD=${NM_FOR_BUILD-nm}
42594265
RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
@@ -4264,11 +4270,12 @@ else
42644270
AS_FOR_BUILD="\$(AS)"
42654271
CC_FOR_BUILD="\$(CC)"
42664272
CXX_FOR_BUILD="\$(CXX)"
4273+
DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
42674274
DSYMUTIL_FOR_BUILD="\$(DSYMUTIL)"
42684275
GFORTRAN_FOR_BUILD="\$(GFORTRAN)"
42694276
GOC_FOR_BUILD="\$(GOC)"
42704277
GDC_FOR_BUILD="\$(GDC)"
4271-
DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
4278+
GNATMAKE_FOR_BUILD="\$(GNATMAKE)"
42724279
LD_FOR_BUILD="\$(LD)"
42734280
NM_FOR_BUILD="\$(NM)"
42744281
RANLIB_FOR_BUILD="\$(RANLIB)"
@@ -11691,6 +11698,7 @@ done
1169111698

1169211699

1169311700

11701+
1169411702

1169511703
# Generate default definitions for YACC, M4, LEX and other programs that run
1169611704
# on the build machine. These are used if the Makefile can't locate these

configure.ac

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,10 @@ case "${target}" in
622622
esac
623623

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

627631
# Disable libssp for some systems.
@@ -1446,11 +1450,12 @@ if test "${build}" != "${host}" ; then
14461450
CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
14471451
CPP_FOR_BUILD="${CPP_FOR_BUILD-\$(CC_FOR_BUILD) -E}"
14481452
CXX_FOR_BUILD=${CXX_FOR_BUILD-g++}
1453+
DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
14491454
DSYMUTIL_FOR_BUILD=${DSYMUTIL_FOR_BUILD-dsymutil}
14501455
GFORTRAN_FOR_BUILD=${GFORTRAN_FOR_BUILD-gfortran}
14511456
GOC_FOR_BUILD=${GOC_FOR_BUILD-gccgo}
14521457
GDC_FOR_BUILD=${GDC_FOR_BUILD-gdc}
1453-
DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
1458+
GNATMAKE_FOR_BUILD=${GNATMAKE_FOR_BUILD-gnatmake}
14541459
LD_FOR_BUILD=${LD_FOR_BUILD-ld}
14551460
NM_FOR_BUILD=${NM_FOR_BUILD-nm}
14561461
RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
@@ -1461,11 +1466,12 @@ else
14611466
AS_FOR_BUILD="\$(AS)"
14621467
CC_FOR_BUILD="\$(CC)"
14631468
CXX_FOR_BUILD="\$(CXX)"
1469+
DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
14641470
DSYMUTIL_FOR_BUILD="\$(DSYMUTIL)"
14651471
GFORTRAN_FOR_BUILD="\$(GFORTRAN)"
14661472
GOC_FOR_BUILD="\$(GOC)"
14671473
GDC_FOR_BUILD="\$(GDC)"
1468-
DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
1474+
GNATMAKE_FOR_BUILD="\$(GNATMAKE)"
14691475
LD_FOR_BUILD="\$(LD)"
14701476
NM_FOR_BUILD="\$(NM)"
14711477
RANLIB_FOR_BUILD="\$(RANLIB)"
@@ -3911,6 +3917,7 @@ AC_SUBST(DSYMUTIL_FOR_BUILD)
39113917
AC_SUBST(GFORTRAN_FOR_BUILD)
39123918
AC_SUBST(GOC_FOR_BUILD)
39133919
AC_SUBST(GDC_FOR_BUILD)
3920+
AC_SUBST(GNATMAKE_FOR_BUILD)
39143921
AC_SUBST(LDFLAGS_FOR_BUILD)
39153922
AC_SUBST(LD_FOR_BUILD)
39163923
AC_SUBST(NM_FOR_BUILD)

contrib/ChangeLog

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
2025-06-23 David Malcolm <dmalcolm@redhat.com>
2+
3+
PR other/116792
4+
PR testsuite/116163
5+
PR sarif-replay/120792
6+
* dg-lint/dg-lint: Add -fdiagnostics-add-output.
7+
* dg-lint/libgdiagnostics.py: Add
8+
diagnostic_manager_add_sink_from_spec.
9+
(Manager.add_sink_from_spec): New.
10+
11+
2025-06-23 Andrew Burgess <aburgess@redhat.com>
12+
13+
* dg-extract-results.py: Handle GDB's unexpected core file count.
14+
* dg-extract-results.sh: Likewise.
15+
116
2025-05-27 Jan Hubicka <hubicka@ucw.cz>
217

318
* gen_autofdo_event.py: Add support for AMD Zen 3 and

contrib/dg-extract-results.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ def __init__ (self):
146146
'# of unresolved testcases\t',
147147
'# of unsupported tests\t\t',
148148
'# of paths in test names\t',
149-
'# of duplicate test names\t'
149+
'# of duplicate test names\t',
150+
'# of unexpected core files\t'
150151
]
151152
self.runs = dict()
152153

contrib/dg-extract-results.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ BEGIN {
403403
variant="$VAR"
404404
tool="$TOOL"
405405
passcnt=0; failcnt=0; untstcnt=0; xpasscnt=0; xfailcnt=0; kpasscnt=0; kfailcnt=0; unsupcnt=0; unrescnt=0; dgerrorcnt=0;
406-
pathcnt=0; dupcnt=0
406+
pathcnt=0; dupcnt=0; corecnt=0
407407
curvar=""; insummary=0
408408
}
409409
/^Running target / { curvar = \$3; next }
@@ -420,6 +420,7 @@ BEGIN {
420420
/^# of unsupported tests/ { if (insummary == 1) unsupcnt += \$5; next; }
421421
/^# of paths in test names/ { if (insummary == 1) pathcnt += \$7; next; }
422422
/^# of duplicate test names/ { if (insummary == 1) dupcnt += \$6; next; }
423+
/^# of unexpected core files/ { if (insummary == 1) corecnt += \$6; next; }
423424
/^$/ { if (insummary == 1)
424425
{ insummary = 0; curvar = "" }
425426
next
@@ -439,6 +440,7 @@ END {
439440
if (unsupcnt != 0) printf ("# of unsupported tests\t\t%d\n", unsupcnt)
440441
if (pathcnt != 0) printf ("# of paths in test names\t%d\n", pathcnt)
441442
if (dupcnt != 0) printf ("# of duplicate test names\t%d\n", dupcnt)
443+
if (corecnt != 0) printf ("# of unexpected core files\t%d\n", corecnt)
442444
}
443445
EOF
444446

@@ -460,7 +462,7 @@ cat << EOF > $TOTAL_AWK
460462
BEGIN {
461463
tool="$TOOL"
462464
passcnt=0; failcnt=0; untstcnt=0; xpasscnt=0; xfailcnt=0; kfailcnt=0; unsupcnt=0; unrescnt=0; dgerrorcnt=0
463-
pathcnt=0; dupcnt=0
465+
pathcnt=0; dupcnt=0; corecnt=0
464466
}
465467
/^# of DejaGnu errors/ { dgerrorcnt += \$5 }
466468
/^# of expected passes/ { passcnt += \$5 }
@@ -474,6 +476,7 @@ BEGIN {
474476
/^# of unsupported tests/ { unsupcnt += \$5 }
475477
/^# of paths in test names/ { pathcnt += \$7 }
476478
/^# of duplicate test names/ { dupcnt += \$6 }
479+
/^# of unexpected core files/ { corecnt += \$6 }
477480
END {
478481
printf ("\n\t\t=== %s Summary ===\n\n", tool)
479482
if (dgerrorcnt != 0) printf ("# of DejaGnu errors\t\t%d\n", dgerrorcnt)
@@ -488,6 +491,7 @@ END {
488491
if (unsupcnt != 0) printf ("# of unsupported tests\t\t%d\n", unsupcnt)
489492
if (pathcnt != 0) printf ("# of paths in test names\t%d\n", pathcnt)
490493
if (dupcnt != 0) printf ("# of duplicate test names\t%d\n", dupcnt)
494+
if (corecnt != 0) printf ("# of unexpected core files\t%d\n", corecnt)
491495
}
492496
EOF
493497

0 commit comments

Comments
 (0)