User account creation filtered due to spam.

Bug 56536 - GCC with LTO and `-march=pentium3' tries to generate SSE2 code
Summary: GCC with LTO and `-march=pentium3' tries to generate SSE2 code
Status: NEW
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.8.0
: P3 minor
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: lto, ssemmx
Depends on:
Blocks:
 
Reported: 2013-03-05 13:54 UTC by Dmitry Gorbachev
Modified: 2013-03-05 14:49 UTC (History)
0 users

See Also:
Host:
Target: i?86-*-*
Build:
Known to work:
Known to fail: 4.7.3, 4.8.0
Last reconfirmed: 2013-03-05 00:00:00


Attachments
Testcase (317 bytes, text/plain)
2013-03-05 13:54 UTC, Dmitry Gorbachev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Gorbachev 2013-03-05 13:54:52 UTC
Created attachment 29586 [details]
Testcase

Fails with error: '__builtin_ia32_cvtps2dq' needs isa option -m32 -msse2.
Comment 1 Richard Biener 2013-03-05 14:49:19 UTC
Confirmed.  Quite weird.  It's vectorizing of lrintf obviously, for some
reason ix86_builtin_vectorized_function returns a decl with LTO but not
without LTO.  This function probably does the wrong thing for target
attributed functions, too.