flrc-lib
flrc-lib copied to clipboard
parsing error with vectorized code
When compiling benchmarks in flrc-benchmarks, if we enable vectorization (by doing VEC=y make), then there are two problems with pillar2c (assuming we still use gcc for the macro expansion):
- It is removing
___atrribute__(...)from incoming source file. For example:
extern void longjmp (struct __jmp_buf_tag __env[1], int __val)
__attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
became
extern void longjmp ( struct __jmp_buf_tag __env [ 1 ] , int __val ) ;
- It is removing some
#pragma, for example,#pragma GCC push_optionsand#pragma GCC target("aes")would no longer exist in the result C/C++ file.