Wrong-code bug in execute_update_addresses_taken?

2011-02-05 Thread Ulrich Weigand
Hello, the following program seems to be miscompiled at -O or higher: int main (void) { int data = 1; struct ptr { int val; } *ptr = (struct ptr *) &data; ptr->val = 0; return data; } This program should return 0, but actually returns 1. [ As far as I can tell, this pro

Re: Wrong-code bug in execute_update_addresses_taken?

2011-02-05 Thread H.J. Lu
On Sat, Feb 5, 2011 at 7:55 AM, Ulrich Weigand wrote: > Hello, > > the following program seems to be miscompiled at -O or higher: > > int > main (void) > { >  int data = 1; > >  struct ptr >    { >      int val; >    } *ptr = (struct ptr *) &data; > >  ptr->val = 0; > >  return data; > } > > This

New libquadmath maintainers: Jakub and Tobias

2011-02-05 Thread Mark Mitchell
Jakub, Tobias -- The GCC SC has appointed you as maintainers of libquadmath within GCC. Please update the MAINTAINERS file to reflect your new positions. Congratulations! -- Mark Mitchell CodeSourcery m...@codesourcery.com (650) 331-3385 x713

gcc-4.6-20110205 is now available

2011-02-05 Thread gccadmin
Snapshot gcc-4.6-20110205 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.6-20110205/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.6 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk