]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix contracts-tmpl-spec2.C on targets where plain char is unsigned by default
authorAndrew Pinski <quic_apinski@quicinc.com>
Fri, 24 Nov 2023 02:55:30 +0000 (18:55 -0800)
committerAndrew Pinski <quic_apinski@quicinc.com>
Sun, 26 Nov 2023 03:00:42 +0000 (19:00 -0800)
commit6e15e4e1abed02443a27a69455f4bfa49457c99e
treedb6529bbd013a0979c1625d271af6bf4f115ffb4
parent4e88c4809a3e050fccd21a4fd6248160d2d0376d
Fix contracts-tmpl-spec2.C on targets where plain char is unsigned by default

Since contracts-tmpl-spec2.C is just testing contracts, I thought it would be better
to just add `-fsigned-char` to the options rather than change the testcase to support
both cases.

Committed after testing on aarch64-linux-gnu.

gcc/testsuite/ChangeLog:

PR testsuite/108321
* g++.dg/contracts/contracts-tmpl-spec2.C: Add -fsigned-char
to options.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
gcc/testsuite/g++.dg/contracts/contracts-tmpl-spec2.C