email immediately and
delete it!
发件人: 赵海峰 [mailto:zju@qq.com]
发送时间: 2024年5月31日 16:51
收件人: Zhaohaifeng(Clark,CIS-HCE)
主题: Fw: Re: Is fcommon related with performance optimization logic?
---Original---
From: "David Brown"mailto:david.br...@hesbynett.no>>
Date: Thu, May 30,
-HCE)
主题: Fw: Re: Is fcommon related with performance optimization logic?
---Original---
From: "Andrew Pinski"mailto:pins...@gmail.com>>
Date: Thu, May 30, 2024 10:27 AM
To: "赵海峰"mailto:zju@qq.com>>;
Cc: "gcc"mailto:gcc@gcc.gnu.org>>;
Hi,
I am using GCC version 4.3.0 on Linux FC 9. I found following a wired situation:
In a test.cpp there is a statement:
uint16_t so = ::htons(a); // line 168
It compiled fine if I use -g. But when I changed the -g to -O, it
broken to errors:
g++ -O -Wall -Wundef -Wabi -Wextra -Wunused -Wconv