Re: C++98/C++11 ABI compatibility for gcc-4.7

2012-05-23 Thread Jeffrey Yasskin
I've posted this to http://gcc.gnu.org/wiki/Cxx11AbiCompatibility. I would greatly appreciate any corrections or improvements. On Tue, May 22, 2012 at 9:04 AM, Jeffrey Yasskin wrote: > I've put together the following description of C++98/11 ABI > (in)compatibility, so people can tell which librar

Re: MPC/MPFR/GMP Usage

2012-05-23 Thread niXman
2012/5/24 Andrew Burks: > Hey everyone, > > I'm using gcc-4.6.3 as part of the YAGARTO toolchain > (http://www.yagarto.de) with an STM32 ARM Cortex-M3 chip and was > wondering: what are the math libraries (MPC, MPFR, and GMP) used for? > Are they only required internally by gcc or are they implicit

MPC/MPFR/GMP Usage

2012-05-23 Thread Andrew Burks
Hey everyone, I'm using gcc-4.6.3 as part of the YAGARTO toolchain (http://www.yagarto.de) with an STM32 ARM Cortex-M3 chip and was wondering: what are the math libraries (MPC, MPFR, and GMP) used for? Are they only required internally by gcc or are they implicitly added to the final binary produc

Please Update the Installing GCC: Binaries Page

2012-05-23 Thread Colin Prior
Dear GCC This is Colin Prior from Sunfreeware and UNIX Packages. Please would you be good enough to update http://gcc.gnu.org/install/binaries.html and add www.unixpackages.com We as you will see from the Sunfreeware site we have removed the majority of our packages including GCC (Solaris 2.5, 2.

Re: mkconfig.sh incrementality?

2012-05-23 Thread Ian Lance Taylor
Jay K writes: > At the bottom of mkconfig.sh in 4.6.2 and 4.7.0: > > > # Avoid changing the actual file if possible. > if [ -f $output ] && cmp ${output}T $output >/dev/null 2>&1; then >     echo $output is unchanged >&2 >     rm -f ${output}T > else >     mv -f ${output}T $output > fi > > # Touc

Re: Effect of 'register' keyword on debug info

2012-05-23 Thread Ian Lance Taylor
Rohit Arul Raj writes: > Looking at the debug info and the generated assembly, the values of > variables 'f1' and 'd1' are stored in the same register. > Due to this, while debugging, after setting the break point at (A) > [line no 8], if we print the value of 'f1' i get the wrong value. > Q: I

mkconfig.sh incrementality?

2012-05-23 Thread Jay K
At the bottom of mkconfig.sh in 4.6.2 and 4.7.0: # Avoid changing the actual file if possible. if [ -f $output ] && cmp ${output}T $output >/dev/null 2>&1; then     echo $output is unchanged >&2     rm -f ${output}T else     mv -f ${output}T $output fi # Touch a stamp file for Make's benefit. r

Re: making sizeof(void*) different from sizeof(void(*)())

2012-05-23 Thread Georg-Johann Lay
Michael Meissner wrote: > On Sat, Apr 28, 2012 at 02:32:18PM -0500, Peter Bigot wrote: >> The MSP430's split address space and ISA make it expensive to place >> data above the 64 kB boundary, but cheap to place code there. So I'm >> looking for a way to use HImode for data pointers, but PSImode fo

Effect of 'register' keyword on debug info

2012-05-23 Thread Rohit Arul Raj
Hello All, I came across this issue while working with PowerPC GCC tool chain v4.5.2 for e500mc(64bit)/e5500. Test case compiled with '-O0 -g'. /** Test Case / 1: int main() 2: { 3: int i=0; 4: 5: register float f1 = 55.77f; 6: reg