gcc/
* config/nds32/nds32.c (nds32_asm_file_start): Display optimization
level Ofast and Og.
From-SVN: r259546
+2018-04-22 Chung-Ju Wu <jasonwucj@gmail.com>
+
+ * config/nds32/nds32.c (nds32_asm_file_start): Display optimization
+ level Ofast and Og.
+
2018-04-22 Monk Chiang <sh.chiang04@gmail.com>
Chung-Ju Wu <jasonwucj@gmail.com>
if (optimize_size)
fprintf (asm_out_file, "\t! Optimization level\t: -Os\n");
+ else if (optimize_fast)
+ fprintf (asm_out_file, "\t! Optimization level\t: -Ofast\n");
+ else if (optimize_debug)
+ fprintf (asm_out_file, "\t! Optimization level\t: -Og\n");
else
fprintf (asm_out_file, "\t! Optimization level\t: -O%d\n", optimize);