aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/util/rust-attribute-values.h
diff options
context:
space:
mode:
authorAndrew Pinski <quic_apinski@quicinc.com>2025-01-16 23:47:36 -0800
committerAndrew Pinski <quic_apinski@quicinc.com>2025-04-11 08:58:30 -0700
commit33b255a1aa2f21889a8cfecb7a67a63fefa19460 (patch)
tree7392f08ef6c831f72bdcb17df64e3ab2dceae562 /gcc/rust/util/rust-attribute-values.h
parent992be16d83814694d6dbce448f9b5cb47ba4c8d4 (diff)
downloadgcc-33b255a1aa2f21889a8cfecb7a67a63fefa19460.zip
gcc-33b255a1aa2f21889a8cfecb7a67a63fefa19460.tar.gz
gcc-33b255a1aa2f21889a8cfecb7a67a63fefa19460.tar.bz2
testcase: Add testcase for shrink wrapping of vector<int>::push_back [PR118502]
LLVM folks noticed that GCC was shrink wrapping the call to vector<int>::push_back. So I thought it was a good idea to commit a testcase to make sure GCC does not regress in this area unknowning. Note the shrink wrapping started with r15-1619-g3b9b8d6cfdf593. Note this enables the testcase for x86_64 (!ia32), powerpc, aarch64 and riscv which I tested via godbolt to see the shrink wrapping occurs. Also tested the testcase for both x86_64-linux-gnu and aarch64-linux-gnu to make sure I got the target selects correct. Changes since v1: * v2: Fix some comments typos that was mentioned in the bug report. PR rtl-optimization/118502 gcc/testsuite/ChangeLog: * g++.dg/opt/shrink-wrapping-vector-1.C: New test. Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
Diffstat (limited to 'gcc/rust/util/rust-attribute-values.h')
0 files changed, 0 insertions, 0 deletions