https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66198

--- Comment #1 from huangcunjian <huangcunjian at huawei dot com> ---
  gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/gcc/aarch64-oe-linux/4.9.2/lto-wrapper
Target: aarch64-oe-linux

command:
gcc -O2 -w   test.c   -fprofile-generate  -o tmp1
result_1=`./tmp1`

gcc -w   -O2 -fbranch-probabilities  -fprofile-use  -lm test.c -o tmp2
result_2=`./tmp2`

actual result:
result_1:checksum = 859D9AAE result_2:checksum = 7DDB417E

expect result:
result_1 and result_2 value is same

Reply via email to