commit | e4146092c3f147b8c395febc771edd7de23f724d | [log] [tgz] |
---|---|---|
author | H.J. Lu <hjl.tools@gmail.com> | Fri Jul 22 11:35:00 2022 -0700 |
committer | H.J. Lu <hjl.tools@gmail.com> | Mon Jul 25 09:59:47 2022 -0700 |
tree | 3e239f6abac8d6144b1844eb982c803799598657 | |
parent | b669667d0749ccf8d70792bb086f41904157e54d [diff] |
ld: Compile 2 CTF tests with -O2 When GCC 12 is used to build binutils with -O0, the following 2 tests failed: FAIL: Conflicted data syms, partially indexed, stripped, with variables FAIL: Conflicted data syms, partially indexed, stripped Compile 2 tests with -O2 to avoid test failures. PR ld/29378 * testsuite/ld-ctf/data-func-conflicted-vars.d: Compile with -O2. * testsuite/ld-ctf/data-func-conflicted.d: Likewise.