Unrolling for constexpr

2020-04-26 Thread Laleh Aghababaie via Gcc
Hi all, I have a question about the constexpr variable specifications and how the compiler handles them. The constexpr specifier declares that it is possible to evaluate the value of the function or variable “at compile time”. If we look at the bellow simplified example: int func(){ in

bit field alignment

2020-04-26 Thread Doug McIlroy via Gcc
What was the rationale for the gcc ABI convention that int bit fields force the containing struct to be int-aligned? For example, the size of struct{int x:2;} is 4 in Linux gcc, completely wasting 3 out of every 4 bytes of memory. One can get finer alignment by declaring small fields to be char,

gcc-10-20200426 is now available

2020-04-26 Thread GCC Administrator via Gcc
Snapshot gcc-10-20200426 is now available on https://gcc.gnu.org/pub/gcc/snapshots/10-20200426/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 10 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

where i should insert the finalize function for c++?

2020-04-26 Thread 易会战 via Gcc
I am working a instrumentation tool based on gcc. I insert some intrumentation code into each function, including destructor functions. A finalize function will free memory resources after all work done. But I cannot find proper loacation calling my finalizing function since the destructor funct

MANPOWER (Employee) Solutions for GCC GNU ORG

2020-04-26 Thread Farrukh | S.A.Z Universal Links via Gcc
Attn: HR Dept. (GCC GNU ORG) Dear Sir/Ma'am, We (S.A.Z Universal Links) are a dedicated ‘Recruitment and Staffing’ Company in the sense that we can staff for a range of different industries. We work in a strategically processed manner to help industries attain potential candidates. We ha