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
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
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
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