diff options
author | Andrew Pinski <quic_apinski@quicinc.com> | 2024-02-16 13:26:30 -0800 |
---|---|---|
committer | Andrew Pinski <quic_apinski@quicinc.com> | 2024-02-16 13:57:42 -0800 |
commit | cd503b0616462445381a8232fb753239d319af76 (patch) | |
tree | f08a2a8aab4869cec11c74d85a6687cf5482e4b4 /libgcc | |
parent | 69efea3e249e0765c8a29c89b8b6938da3f6bb70 (diff) | |
download | gcc-cd503b0616462445381a8232fb753239d319af76.zip gcc-cd503b0616462445381a8232fb753239d319af76.tar.gz gcc-cd503b0616462445381a8232fb753239d319af76.tar.bz2 |
Add -Wstrict-aliasing to vector-struct-1.C testcase
As noticed by Marek Polacek in https://gcc.gnu.org/pipermail/gcc-patches/2024-February/645836.html,
this testcase was not failing before without -Wstrict-aliasing so let's add that option.
Committed as obvious after testing to make sure the test is now testing with `-Wstrict-aliasing` and `-flto`.
gcc/testsuite/ChangeLog:
* g++.dg/torture/vector-struct-1.C: Add -Wstrict-aliasing.
Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions