02ef53f288
2016-01-25 Richard Biener <rguenther@suse.de> PR lto/69393 * dwarf2out.c (is_naming_typedef_decl): Not when DECL_NAMELESS. * tree-streamer-out.c (pack_ts_base_value_fields): Stream DECL_NAMELESS. * tree-streamer-in.c (unpack_ts_base_value_fields): Likewise. * testsuite/libgomp.c++/pr69393.C: New testcase. From-SVN: r232787
17 lines
221 B
C
17 lines
221 B
C
// { dg-do run }
|
|
// { dg-require-effective-target lto }
|
|
// { dg-options "-flto -g -fopenmp" }
|
|
|
|
int e = 5;
|
|
|
|
int
|
|
main ()
|
|
{
|
|
int a[e];
|
|
a[0] = 6;
|
|
#pragma omp parallel
|
|
if (a[0] != 6)
|
|
__builtin_abort ();
|
|
return 0;
|
|
}
|