Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 5 years ago

Language

C++

Compiler

gcc HEAD 12.0.0 20210524 (experimental)

Options
Warnings
Boost 1.73.0
C++2b(GNU)
no pedantic
Raw compiler options
-mavx2

Author

anonymous

almost 5 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-head/include -std=gnu++2b -mavx2
prog.cc: In substitution of 'template<class T> constexpr auto func(T) [with T = __vector(8) unsigned int]':
prog.cc:11:16:   required from here
prog.cc:5:60: error: invalid vector type for attribute 'vector_size'
    5 | constexpr auto func(__attribute__((__vector_size__(32))) T x) {
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
prog.cc: In instantiation of 'constexpr auto func(T) [with T = __vector(8) unsigned int]':
prog.cc:11:16:   required from here
prog.cc:5:60: error: invalid vector type for attribute 'vector_size'
Exit Code:
1