RE: GCC Front-End Questions

2015-12-08 Thread Marc Glisse
On Tue, 8 Dec 2015, Jodi A. Miller wrote: One algebraic simplification we are seeing is particularly interesting.  Given the following code snippet intended to check for buffer overflow, which is actually undefined behavior in C++, we expected to maybe see the if check optimized away entirely.

Re: GCC Front-End Questions

2015-12-08 Thread Jeff Law
On 12/08/2015 12:32 PM, Jodi A. Miller wrote: Good Afternoon, My colleagues and I are doing a study on compilers. We have some questions related to gcc and the compilation process that we were hoping you could help us with. In a general sense, we were wondering what optimizations may be occurr

RE: GCC Front-End Questions

2015-12-08 Thread Jodi A. Miller
Good Afternoon, My colleagues and I are doing a study on compilers.  We have some questions related to gcc and the compilation process that we were hoping you could help us with. In a general sense, we were wondering what optimizations may be occurring in the front-end stages of the compiler?