Re: complex support when using -std=c++11

2015-11-12 Thread Marc Glisse
On Thu, 12 Nov 2015, D Haley wrote: I am currently trying to understand an issue to do with complex number support in gcc. Consider the following code: #include int main() { float _Complex a = _Complex_I; } Attempting to compile this with these commands is fine: $ g++ tmp.cpp -std

Re: VRP causing extra register usage

2015-11-12 Thread Richard Biener
On November 12, 2015 8:10:05 PM GMT+01:00, Senthil Kumar Selvaraj wrote: >Hi, > > When analyzing code size differences between a 4.9.x compiler and > trunk for the AVR target, I found quite a few cases where extra > registers were being used to hold smaller types (two 8 bit registers > for a

VRP causing extra register usage

2015-11-12 Thread Senthil Kumar Selvaraj
Hi, When analyzing code size differences between a 4.9.x compiler and trunk for the AVR target, I found quite a few cases where extra registers were being used to hold smaller types (two 8 bit registers for a uint8_t, for example). On deeper analysis, I found that the VRP pass (gcc/tree

complex support when using -std=c++11

2015-11-12 Thread D Haley
Dear List, I am currently trying to understand an issue to do with complex number support in gcc. Consider the following code: #include int main() { float _Complex a = _Complex_I; } Attempting to compile this with these commands is fine: $ g++ tmp.cpp -std=gnu++11 $ g++ tmp.cpp