We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3913614 commit dae55daCopy full SHA for dae55da
tools/flang2/flang2exe/llutil.cpp
@@ -1877,11 +1877,17 @@ use_gpu_output_file(void)
1877
set_llasm_output_file(gbl.ompaccfile);
1878
}
1879
void reset_write_ftn_typedefs(void);
1880
+
1881
+static bool first_time = true;
1882
1883
void
1884
use_cpu_output_file(void)
1885
{
1886
set_llasm_output_file(gbl.asmfil);
- reset_write_ftn_typedefs();
1887
+ if (first_time) {
1888
+ reset_write_ftn_typedefs();
1889
+ first_time = false;
1890
+ }
1891
1892
#endif
1893
/**
0 commit comments