Add a testcase (PR middle-end/88758).
2019-01-11 Martin Liska <mliska@suse.cz> PR middle-end/88758 * g++.dg/lto/pr88758_0.C: New test. * g++.dg/lto/pr88758_1.C: New test. From-SVN: r267840
This commit is contained in:
parent
b55ddd438a
commit
5019eef8d6
|
@ -1,3 +1,9 @@
|
|||
2019-01-11 Martin Liska <mliska@suse.cz>
|
||||
|
||||
PR middle-end/88758
|
||||
* g++.dg/lto/pr88758_0.C: New test.
|
||||
* g++.dg/lto/pr88758_1.C: New test.
|
||||
|
||||
2019-01-11 Jan Beulich <jbeulich@suse.com>
|
||||
|
||||
* gcc.target/i386/avx512f-vcvtsd2si-1.c,
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
// { dg-lto-do link }
|
||||
// { dg-require-effective-target fpic }
|
||||
// { dg-require-effective-target shared }
|
||||
// { dg-lto-options { { -O3 -fPIC -flto -shared } } }
|
||||
|
||||
void PreEvaluate(void);
|
||||
int main() { PreEvaluate(); return 0; }
|
|
@ -0,0 +1,9 @@
|
|||
extern int a[];
|
||||
int b;
|
||||
int c;
|
||||
|
||||
void PreEvaluate(void) {
|
||||
b = 0;
|
||||
for (; b < 8; b++)
|
||||
a[b] = c * (b > 0 ? b - 1 : 0);
|
||||
}
|
Loading…
Reference in New Issue