[Bug lto/78034] undefined reference during LTO linking.

2016-10-19 Thread pawel_sikora at zoho dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78034

--- Comment #5 from Pawel Sikora  ---
(In reply to Andrew Pinski from comment #3)
> Also why are you using inline-asm here?  Why can't you use the SSE
> intrinsics?

it's a 3rd-party crypto library which works for me with gcc-4.9.
now with gcc-6.2 i've disabled this asm magic with -DCRYPTOPP_DISABLE_X86ASM.
case closed :)

[Bug lto/78034] undefined reference during LTO linking.

2016-10-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78034

--- Comment #4 from Andrew Pinski  ---
This is the original code:
https://www.cryptopp.com/docs/ref/integer_8cpp_source.html

This code is so broken it is no longer funny.

[Bug lto/78034] undefined reference during LTO linking.

2016-10-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78034

--- Comment #3 from Andrew Pinski  ---
Also why are you using inline-asm here?  Why can't you use the SSE intrinsics?

[Bug lto/78034] undefined reference during LTO linking.

2016-10-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78034

Andrew Pinski  changed:

   What|Removed |Added

 Target|i686-gnu-linux  |

--- Comment #2 from Andrew Pinski  ---
plain Mul_Acc is never used in the sources.  I checked the preprocessed source
too.

[Bug lto/78034] undefined reference during LTO linking.

2016-10-19 Thread pawel_sikora at zoho dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78034

Pawel Sikora  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #1 from Pawel Sikora  ---
sorry, invalid bug. lto is not a problem here.