[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#202016: marked as done ([fixed in 3.4] [PR 11635] [3.3/3.4 regression] Unnecessary store onto stack)



Your message dated Sun, 10 Jul 2005 13:47:39 -0400
with message-id <E1Drftz-0002nO-00@newraff.debian.org>
and subject line Bug#202016: fixed in gcc-4.0 4.0.1-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 19 Jul 2003 02:44:18 +0000
>From herbert@gondor.apana.org.au Fri Jul 18 21:44:15 2003
Return-path: <herbert@gondor.apana.org.au>
Received: from arnor.apana.org.au (arnor.me.apana.org.au) [203.14.152.115] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19dhhO-0003Ew-00; Fri, 18 Jul 2003 21:43:52 -0500
Received: from gondolin.me.apana.org.au ([192.168.0.6] ident=mail)
	by arnor.me.apana.org.au with esmtp (Exim 3.35 #1 (Debian))
	id 19dhhK-0001Gd-00
	for <submit@bugs.debian.org>; Sat, 19 Jul 2003 12:43:46 +1000
Received: from herbert by gondolin.me.apana.org.au with local (Exim 3.36 #1 (Debian))
	id 19dhhJ-00068m-00
	for <submit@bugs.debian.org>; Sat, 19 Jul 2003 12:43:45 +1000
From: <herbert@gondor.apana.org.au>
Subject: gcc-3.3: Unnecessary store onto stack
To: submit@bugs.debian.org
X-Mailer: bug 3.3.10.2
Message-Id: <E19dhhJ-00068m-00@gondolin.me.apana.org.au>
Date: Sat, 19 Jul 2003 12:43:45 +1000
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-4.5 required=4.0
	tests=BAYES_10,HAS_PACKAGE,NO_REAL_NAME
	version=2.53-bugs.debian.org_2003_06_27
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_06_27 (1.174.2.15-2003-03-30-exp)

Package: gcc-3.3
Version: 1:3.3.1-0pre0
Severity: minor

The following code induces an unnecessary store of fromp onto the stack.
It is never loaded again.

--
#include <sys/socket.h>

int
main(void)
{
	struct sockaddr_storage from;
	struct sockaddr *const fromp = (void *)&from;
	socklen_t fromlen;

	fromlen = sizeof(from);
 
	if (getpeername(0, fromp, &fromlen) < 0) {
		return 1;
	}

	return 0;
}
--

If you compile it with

gcc-3.3 -D_GNU_SOURCE -S -O2

you will get

--
	.file	"b.c"
	.text
	.p2align 2,,3
.globl main
	.type	main,@function
main:
	pushl	%ebp
	movl	%esp, %ebp
	subl	$152, %esp
	andl	$-16, %esp
	pushl	%edx
	leal	-144(%ebp), %edx
	leal	-136(%ebp), %eax
	pushl	%edx
	pushl	%eax
	pushl	$0
	movl	$128, -144(%ebp)
	movl	%eax, -140(%ebp)
	call	getpeername
	shrl	$31, %eax
	addl	$16, %esp
	leave
	ret
.Lfe1:
	.size	main,.Lfe1-main
	.ident	"GCC: (GNU) 3.2.3 20030415 (Debian prerelease)"
--

The store into -140(%ebp) is useless.

This does not occur if you remove the -D_GNU_SOURCE, so this is related
to the __SOCKADDR_ARG magic in sys/socket.h.  I can reproduce this with
gcc 3.2.  gcc 2.95 does not have this problem.

I've appended the preprocessed source.

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux gondolin 2.4.21-2-686-smp #1 SMP Sat Jul 5 01:42:22 EST 2003 i686 GNU/Linux

Versions of the packages gcc-3.3 depends on:
ii  binutils       2.14.90.0.4-0. The GNU assembler, linker and binary utiliti
ii  cpp-3.3        3.3.1-0pre0    The GNU C preprocessor
ii  gcc-3.3-base   3.3.1-0pre0    The GNU Compiler Collection (base package)
ii  libc6          2.3.1-16       GNU C Library: Shared libraries and Timezone
ii  libgcc1        3.3.1-0pre0    GCC support library
--
# 1 "b.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "b.c"
# 1 "/usr/include/sys/socket.h" 1 3 4
# 23 "/usr/include/sys/socket.h" 3 4
# 1 "/usr/include/features.h" 1 3 4
# 291 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 292 "/usr/include/features.h" 2 3 4
# 314 "/usr/include/features.h" 3 4
# 1 "/usr/include/gnu/stubs.h" 1 3 4
# 315 "/usr/include/features.h" 2 3 4
# 24 "/usr/include/sys/socket.h" 2 3 4



# 1 "/usr/include/sys/uio.h" 1 3 4
# 24 "/usr/include/sys/uio.h" 3 4
# 1 "/usr/include/sys/types.h" 1 3 4
# 29 "/usr/include/sys/types.h" 3 4


# 1 "/usr/include/bits/types.h" 1 3 4
# 28 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 29 "/usr/include/bits/types.h" 2 3 4


# 1 "/usr/lib/gcc-lib/i386-linux/3.3.1/include/stddef.h" 1 3 4
# 213 "/usr/lib/gcc-lib/i386-linux/3.3.1/include/stddef.h" 3 4
typedef unsigned int size_t;
# 32 "/usr/include/bits/types.h" 2 3 4


typedef unsigned char __u_char;
typedef unsigned short int __u_short;
typedef unsigned int __u_int;
typedef unsigned long int __u_long;


typedef signed char __int8_t;
typedef unsigned char __uint8_t;
typedef signed short int __int16_t;
typedef unsigned short int __uint16_t;
typedef signed int __int32_t;
typedef unsigned int __uint32_t;




__extension__ typedef signed long long int __int64_t;
__extension__ typedef unsigned long long int __uint64_t;





__extension__ typedef long long int __quad_t;
__extension__ typedef unsigned long long int __u_quad_t;
# 128 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 129 "/usr/include/bits/types.h" 2 3 4


typedef unsigned long long int __dev_t;
typedef unsigned int __uid_t;
typedef unsigned int __gid_t;
typedef unsigned long int __ino_t;
typedef unsigned long long int __ino64_t;
typedef unsigned int __mode_t;
typedef unsigned int __nlink_t;
typedef long int __off_t;
typedef long long int __off64_t;
typedef int __pid_t;
typedef struct { int __val[2]; } __fsid_t;
typedef long int __clock_t;
typedef unsigned long int __rlim_t;
typedef unsigned long long int __rlim64_t;
typedef unsigned int __id_t;
typedef long int __time_t;
typedef unsigned int __useconds_t;
typedef long int __suseconds_t;

typedef int __daddr_t;
typedef long int __swblk_t;
typedef int __key_t;


typedef int __clockid_t;


typedef int __timer_t;


typedef long int __blksize_t;




typedef long int __blkcnt_t;
typedef long long int __blkcnt64_t;


typedef unsigned long int __fsblkcnt_t;
typedef unsigned long long int __fsblkcnt64_t;


typedef unsigned long int __fsfilcnt_t;
typedef unsigned long long int __fsfilcnt64_t;




typedef int __ssize_t;
typedef __off64_t __loff_t;
typedef __quad_t *__qaddr_t;
typedef char *__caddr_t;


typedef int __intptr_t;


typedef unsigned int __socklen_t;
# 32 "/usr/include/sys/types.h" 2 3 4



typedef __u_char u_char;
typedef __u_short u_short;
typedef __u_int u_int;
typedef __u_long u_long;
typedef __quad_t quad_t;
typedef __u_quad_t u_quad_t;
typedef __fsid_t fsid_t;




typedef __loff_t loff_t;



typedef __ino_t ino_t;






typedef __ino64_t ino64_t;




typedef __dev_t dev_t;




typedef __gid_t gid_t;




typedef __mode_t mode_t;




typedef __nlink_t nlink_t;




typedef __uid_t uid_t;





typedef __off_t off_t;






typedef __off64_t off64_t;




typedef __pid_t pid_t;




typedef __id_t id_t;




typedef __ssize_t ssize_t;





typedef __daddr_t daddr_t;
typedef __caddr_t caddr_t;





typedef __key_t key_t;
# 133 "/usr/include/sys/types.h" 3 4
# 1 "/usr/include/time.h" 1 3 4
# 58 "/usr/include/time.h" 3 4


typedef __clock_t clock_t;



# 74 "/usr/include/time.h" 3 4


typedef __time_t time_t;



# 92 "/usr/include/time.h" 3 4
typedef __clockid_t clockid_t;
# 104 "/usr/include/time.h" 3 4
typedef __timer_t timer_t;
# 134 "/usr/include/sys/types.h" 2 3 4



typedef __useconds_t useconds_t;



typedef __suseconds_t suseconds_t;





# 1 "/usr/lib/gcc-lib/i386-linux/3.3.1/include/stddef.h" 1 3 4
# 148 "/usr/include/sys/types.h" 2 3 4



typedef unsigned long int ulong;
typedef unsigned short int ushort;
typedef unsigned int uint;
# 191 "/usr/include/sys/types.h" 3 4
typedef int int8_t __attribute__ ((__mode__ (__QI__)));
typedef int int16_t __attribute__ ((__mode__ (__HI__)));
typedef int int32_t __attribute__ ((__mode__ (__SI__)));
typedef int int64_t __attribute__ ((__mode__ (__DI__)));


typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));

typedef int register_t __attribute__ ((__mode__ (__word__)));
# 213 "/usr/include/sys/types.h" 3 4
# 1 "/usr/include/endian.h" 1 3 4
# 37 "/usr/include/endian.h" 3 4
# 1 "/usr/include/bits/endian.h" 1 3 4
# 38 "/usr/include/endian.h" 2 3 4
# 214 "/usr/include/sys/types.h" 2 3 4


# 1 "/usr/include/sys/select.h" 1 3 4
# 31 "/usr/include/sys/select.h" 3 4
# 1 "/usr/include/bits/select.h" 1 3 4
# 32 "/usr/include/sys/select.h" 2 3 4


# 1 "/usr/include/bits/sigset.h" 1 3 4
# 23 "/usr/include/bits/sigset.h" 3 4
typedef int __sig_atomic_t;




typedef struct
  {
    unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
  } __sigset_t;
# 35 "/usr/include/sys/select.h" 2 3 4



typedef __sigset_t sigset_t;





# 1 "/usr/include/time.h" 1 3 4
# 116 "/usr/include/time.h" 3 4
struct timespec
  {
    __time_t tv_sec;
    long int tv_nsec;
  };
# 45 "/usr/include/sys/select.h" 2 3 4

# 1 "/usr/include/bits/time.h" 1 3 4
# 67 "/usr/include/bits/time.h" 3 4
struct timeval
  {
    __time_t tv_sec;
    __suseconds_t tv_usec;
  };
# 47 "/usr/include/sys/select.h" 2 3 4
# 55 "/usr/include/sys/select.h" 3 4
typedef long int __fd_mask;
# 67 "/usr/include/sys/select.h" 3 4
typedef struct
  {



    __fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))];





  } fd_set;






typedef __fd_mask fd_mask;
# 99 "/usr/include/sys/select.h" 3 4







extern int select (int __nfds, fd_set *__restrict __readfds,
                   fd_set *__restrict __writefds,
                   fd_set *__restrict __exceptfds,
                   struct timeval *__restrict __timeout) ;





extern int pselect (int __nfds, fd_set *__restrict __readfds,
                    fd_set *__restrict __writefds,
                    fd_set *__restrict __exceptfds,
                    const struct timespec *__restrict __timeout,
                    const __sigset_t *__restrict __sigmask) ;



# 217 "/usr/include/sys/types.h" 2 3 4


# 1 "/usr/include/sys/sysmacros.h" 1 3 4
# 220 "/usr/include/sys/types.h" 2 3 4




typedef __blksize_t blksize_t;






typedef __blkcnt_t blkcnt_t;



typedef __fsblkcnt_t fsblkcnt_t;



typedef __fsfilcnt_t fsfilcnt_t;
# 258 "/usr/include/sys/types.h" 3 4
typedef __blkcnt64_t blkcnt64_t;
typedef __fsblkcnt64_t fsblkcnt64_t;
typedef __fsfilcnt64_t fsfilcnt64_t;





# 1 "/usr/include/bits/pthreadtypes.h" 1 3 4
# 23 "/usr/include/bits/pthreadtypes.h" 3 4
# 1 "/usr/include/bits/sched.h" 1 3 4
# 83 "/usr/include/bits/sched.h" 3 4
struct __sched_param
  {
    int __sched_priority;
  };
# 24 "/usr/include/bits/pthreadtypes.h" 2 3 4

typedef int __atomic_lock_t;


struct _pthread_fastlock
{
  long int __status;
  __atomic_lock_t __spinlock;

};



typedef struct _pthread_descr_struct *_pthread_descr;





typedef struct __pthread_attr_s
{
  int __detachstate;
  int __schedpolicy;
  struct __sched_param __schedparam;
  int __inheritsched;
  int __scope;
  size_t __guardsize;
  int __stackaddr_set;
  void *__stackaddr;
  size_t __stacksize;
} pthread_attr_t;



typedef struct
{
  struct _pthread_fastlock __c_lock;
  _pthread_descr __c_waiting;
} pthread_cond_t;



typedef struct
{
  int __dummy;
} pthread_condattr_t;


typedef unsigned int pthread_key_t;





typedef struct
{
  int __m_reserved;
  int __m_count;
  _pthread_descr __m_owner;
  int __m_kind;
  struct _pthread_fastlock __m_lock;
} pthread_mutex_t;



typedef struct
{
  int __mutexkind;
} pthread_mutexattr_t;



typedef int pthread_once_t;




typedef struct _pthread_rwlock_t
{
  struct _pthread_fastlock __rw_lock;
  int __rw_readers;
  _pthread_descr __rw_writer;
  _pthread_descr __rw_read_waiting;
  _pthread_descr __rw_write_waiting;
  int __rw_kind;
  int __rw_pshared;
} pthread_rwlock_t;



typedef struct
{
  int __lockkind;
  int __pshared;
} pthread_rwlockattr_t;




typedef volatile int pthread_spinlock_t;


typedef struct {
  struct _pthread_fastlock __ba_lock;
  int __ba_required;
  int __ba_present;
  _pthread_descr __ba_waiting;
} pthread_barrier_t;


typedef struct {
  int __pshared;
} pthread_barrierattr_t;





typedef unsigned long int pthread_t;
# 267 "/usr/include/sys/types.h" 2 3 4



# 25 "/usr/include/sys/uio.h" 2 3 4




# 1 "/usr/include/bits/uio.h" 1 3 4
# 42 "/usr/include/bits/uio.h" 3 4
struct iovec
  {
    void *iov_base;
    size_t iov_len;
  };
# 30 "/usr/include/sys/uio.h" 2 3 4







extern ssize_t readv (int __fd, __const struct iovec *__vector, int __count)
     ;






extern ssize_t writev (int __fd, __const struct iovec *__vector, int __count)
     ;


# 28 "/usr/include/sys/socket.h" 2 3 4

# 1 "/usr/lib/gcc-lib/i386-linux/3.3.1/include/stddef.h" 1 3 4
# 30 "/usr/include/sys/socket.h" 2 3 4





# 1 "/usr/include/bits/socket.h" 1 3 4
# 29 "/usr/include/bits/socket.h" 3 4
# 1 "/usr/lib/gcc-lib/i386-linux/3.3.1/include/stddef.h" 1 3 4
# 30 "/usr/include/bits/socket.h" 2 3 4

# 1 "/usr/lib/gcc-lib/i386-linux/3.3.1/include/limits.h" 1 3 4
# 11 "/usr/lib/gcc-lib/i386-linux/3.3.1/include/limits.h" 3 4
# 1 "/usr/lib/gcc-lib/i386-linux/3.3.1/include/syslimits.h" 1 3 4






# 1 "/usr/lib/gcc-lib/i386-linux/3.3.1/include/limits.h" 1 3 4
# 122 "/usr/lib/gcc-lib/i386-linux/3.3.1/include/limits.h" 3 4
# 1 "/usr/include/limits.h" 1 3 4
# 144 "/usr/include/limits.h" 3 4
# 1 "/usr/include/bits/posix1_lim.h" 1 3 4
# 126 "/usr/include/bits/posix1_lim.h" 3 4
# 1 "/usr/include/bits/local_lim.h" 1 3 4
# 36 "/usr/include/bits/local_lim.h" 3 4
# 1 "/usr/include/linux/limits.h" 1 3 4
# 37 "/usr/include/bits/local_lim.h" 2 3 4
# 127 "/usr/include/bits/posix1_lim.h" 2 3 4
# 145 "/usr/include/limits.h" 2 3 4



# 1 "/usr/include/bits/posix2_lim.h" 1 3 4
# 149 "/usr/include/limits.h" 2 3 4



# 1 "/usr/include/bits/xopen_lim.h" 1 3 4
# 34 "/usr/include/bits/xopen_lim.h" 3 4
# 1 "/usr/include/bits/stdio_lim.h" 1 3 4
# 35 "/usr/include/bits/xopen_lim.h" 2 3 4
# 153 "/usr/include/limits.h" 2 3 4
# 123 "/usr/lib/gcc-lib/i386-linux/3.3.1/include/limits.h" 2 3 4
# 8 "/usr/lib/gcc-lib/i386-linux/3.3.1/include/syslimits.h" 2 3 4
# 12 "/usr/lib/gcc-lib/i386-linux/3.3.1/include/limits.h" 2 3 4
# 32 "/usr/include/bits/socket.h" 2 3 4




typedef __socklen_t socklen_t;




enum __socket_type
{
  SOCK_STREAM = 1,


  SOCK_DGRAM = 2,


  SOCK_RAW = 3,

  SOCK_RDM = 4,

  SOCK_SEQPACKET = 5,


  SOCK_PACKET = 10



};
# 142 "/usr/include/bits/socket.h" 3 4
# 1 "/usr/include/bits/sockaddr.h" 1 3 4
# 29 "/usr/include/bits/sockaddr.h" 3 4
typedef unsigned short int sa_family_t;
# 143 "/usr/include/bits/socket.h" 2 3 4


struct sockaddr
  {
    sa_family_t sa_family;
    char sa_data[14];
  };
# 162 "/usr/include/bits/socket.h" 3 4
struct sockaddr_storage
  {
    sa_family_t ss_family;
    __uint32_t __ss_align;
    char __ss_padding[(128 - (2 * sizeof (__uint32_t)))];
  };



enum
  {
    MSG_OOB = 0x01,

    MSG_PEEK = 0x02,

    MSG_DONTROUTE = 0x04,



    MSG_TRYHARD = MSG_DONTROUTE,


    MSG_CTRUNC = 0x08,

    MSG_PROXY = 0x10,

    MSG_TRUNC = 0x20,

    MSG_DONTWAIT = 0x40,

    MSG_EOR = 0x80,

    MSG_WAITALL = 0x100,

    MSG_FIN = 0x200,

    MSG_SYN = 0x400,

    MSG_CONFIRM = 0x800,

    MSG_RST = 0x1000,

    MSG_ERRQUEUE = 0x2000,

    MSG_NOSIGNAL = 0x4000,

    MSG_MORE = 0x8000

  };




struct msghdr
  {
    void *msg_name;
    socklen_t msg_namelen;

    struct iovec *msg_iov;
    size_t msg_iovlen;

    void *msg_control;
    size_t msg_controllen;

    int msg_flags;
  };


struct cmsghdr
  {
    size_t cmsg_len;

    int cmsg_level;
    int cmsg_type;

    __extension__ unsigned char __cmsg_data [];

  };
# 257 "/usr/include/bits/socket.h" 3 4
extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr,
                                      struct cmsghdr *__cmsg) ;
# 284 "/usr/include/bits/socket.h" 3 4
enum
  {
    SCM_RIGHTS = 0x01,


    SCM_CREDENTIALS = 0x02,


    __SCM_CONNECT = 0x03
  };



struct ucred
{
  pid_t pid;
  uid_t uid;
  gid_t gid;
};


# 1 "/usr/include/asm/socket.h" 1 3 4



# 1 "/usr/include/asm/sockios.h" 1 3 4
# 5 "/usr/include/asm/socket.h" 2 3 4
# 306 "/usr/include/bits/socket.h" 2 3 4



struct linger
  {
    int l_onoff;
    int l_linger;
  };
# 36 "/usr/include/sys/socket.h" 2 3 4




struct osockaddr
  {
    unsigned short int sa_family;
    unsigned char sa_data[14];
  };




enum
{
  SHUT_RD = 0,

  SHUT_WR,

  SHUT_RDWR

};
# 87 "/usr/include/sys/socket.h" 3 4
typedef union { struct sockaddr *__restrict __sockaddr__; struct sockaddr_at *__restrict __sockaddr_at__; struct sockaddr_ax25 *__restrict __sockaddr_ax25__; struct sockaddr_dl *__restrict __sockaddr_dl__; struct sockaddr_eon *__restrict __sockaddr_eon__; struct sockaddr_in *__restrict __sockaddr_in__; struct sockaddr_in6 *__restrict __sockaddr_in6__; struct sockaddr_inarp *__restrict __sockaddr_inarp__; struct sockaddr_ipx *__restrict __sockaddr_ipx__; struct sockaddr_iso *__restrict __sockaddr_iso__; struct sockaddr_ns *__restrict __sockaddr_ns__; struct sockaddr_un *__restrict __sockaddr_un__; struct sockaddr_x25 *__restrict __sockaddr_x25__;
              } __SOCKADDR_ARG __attribute__ ((__transparent_union__));


typedef union { __const struct sockaddr *__restrict __sockaddr__; __const struct sockaddr_at *__restrict __sockaddr_at__; __const struct sockaddr_ax25 *__restrict __sockaddr_ax25__; __const struct sockaddr_dl *__restrict __sockaddr_dl__; __const struct sockaddr_eon *__restrict __sockaddr_eon__; __const struct sockaddr_in *__restrict __sockaddr_in__; __const struct sockaddr_in6 *__restrict __sockaddr_in6__; __const struct sockaddr_inarp *__restrict __sockaddr_inarp__; __const struct sockaddr_ipx *__restrict __sockaddr_ipx__; __const struct sockaddr_iso *__restrict __sockaddr_iso__; __const struct sockaddr_ns *__restrict __sockaddr_ns__; __const struct sockaddr_un *__restrict __sockaddr_un__; __const struct sockaddr_x25 *__restrict __sockaddr_x25__;
              } __CONST_SOCKADDR_ARG __attribute__ ((__transparent_union__));







extern int socket (int __domain, int __type, int __protocol) ;





extern int socketpair (int __domain, int __type, int __protocol,
                       int __fds[2]) ;


extern int bind (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len)
     ;


extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
                        socklen_t *__restrict __len) ;





extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len)
     ;



extern int getpeername (int __fd, __SOCKADDR_ARG __addr,
                        socklen_t *__restrict __len) ;



extern ssize_t send (int __fd, __const void *__buf, size_t __n, int __flags)
     ;



extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags)
     ;



extern ssize_t sendto (int __fd, __const void *__buf, size_t __n,
                       int __flags, __CONST_SOCKADDR_ARG __addr,
                       socklen_t __addr_len) ;





extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags,
                         __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len)
     ;




extern ssize_t sendmsg (int __fd, __const struct msghdr *__message, int __flags)
     ;



extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags)
     ;





extern int getsockopt (int __fd, int __level, int __optname,
                       void *__restrict __optval,
                       socklen_t *__restrict __optlen) ;




extern int setsockopt (int __fd, int __level, int __optname,
                       __const void *__optval, socklen_t __optlen) ;





extern int listen (int __fd, int __n) ;






extern int accept (int __fd, __SOCKADDR_ARG __addr,
                   socklen_t *__restrict __addr_len)
     ;







extern int shutdown (int __fd, int __how) ;




extern int sockatmark (int __fd) ;







extern int isfdtype (int __fd, int __fdtype) ;



# 2 "b.c" 2

int
main(void)
{
        struct sockaddr_storage from;
        struct sockaddr *const fromp = (void *)&from;
        socklen_t fromlen;

        fromlen = sizeof(from);

        if (getpeername(0, fromp, &fromlen) < 0) {
                return 1;
        }

        return 0;
}

---------------------------------------
Received: (at 202016-close) by bugs.debian.org; 10 Jul 2005 17:54:08 +0000
>From katie@ftp-master.debian.org Sun Jul 10 10:54:08 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Drg0G-0007zk-00; Sun, 10 Jul 2005 10:54:08 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1Drftz-0002nO-00; Sun, 10 Jul 2005 13:47:39 -0400
From: Matthias Klose <doko@debian.org>
To: 202016-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#202016: fixed in gcc-4.0 4.0.1-1
Message-Id: <E1Drftz-0002nO-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 10 Jul 2005 13:47:39 -0400
Delivered-To: 202016-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 32

Source: gcc-4.0
Source-Version: 4.0.1-1

We believe that the bug you reported is fixed in the latest version of
gcc-4.0, which is due to be installed in the Debian FTP archive:

cpp-4.0-doc_4.0.1-1_all.deb
  to pool/main/g/gcc-4.0/cpp-4.0-doc_4.0.1-1_all.deb
cpp-4.0_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/cpp-4.0_4.0.1-1_i386.deb
fastjar_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/fastjar_4.0.1-1_i386.deb
fixincludes_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/fixincludes_4.0.1-1_i386.deb
g++-4.0_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/g++-4.0_4.0.1-1_i386.deb
gcc-4.0-base_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/gcc-4.0-base_4.0.1-1_i386.deb
gcc-4.0-doc_4.0.1-1_all.deb
  to pool/main/g/gcc-4.0/gcc-4.0-doc_4.0.1-1_all.deb
gcc-4.0-locales_4.0.1-1_all.deb
  to pool/main/g/gcc-4.0/gcc-4.0-locales_4.0.1-1_all.deb
gcc-4.0_4.0.1-1.diff.gz
  to pool/main/g/gcc-4.0/gcc-4.0_4.0.1-1.diff.gz
gcc-4.0_4.0.1-1.dsc
  to pool/main/g/gcc-4.0/gcc-4.0_4.0.1-1.dsc
gcc-4.0_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/gcc-4.0_4.0.1-1_i386.deb
gcc-4.0_4.0.1.orig.tar.gz
  to pool/main/g/gcc-4.0/gcc-4.0_4.0.1.orig.tar.gz
gcj-4.0_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/gcj-4.0_4.0.1-1_i386.deb
gfortran-4.0-doc_4.0.1-1_all.deb
  to pool/main/g/gcc-4.0/gfortran-4.0-doc_4.0.1-1_all.deb
gfortran-4.0_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/gfortran-4.0_4.0.1-1_i386.deb
gij-4.0_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/gij-4.0_4.0.1-1_i386.deb
gnat-4.0-doc_4.0.1-1_all.deb
  to pool/main/g/gcc-4.0/gnat-4.0-doc_4.0.1-1_all.deb
gnat-4.0_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/gnat-4.0_4.0.1-1_i386.deb
gobjc-4.0_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/gobjc-4.0_4.0.1-1_i386.deb
lib64gcc1_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/lib64gcc1_4.0.1-1_i386.deb
lib64stdc++6-4.0-dbg_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/lib64stdc++6-4.0-dbg_4.0.1-1_i386.deb
lib64stdc++6_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/lib64stdc++6_4.0.1-1_i386.deb
libffi4-dev_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/libffi4-dev_4.0.1-1_i386.deb
libffi4_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/libffi4_4.0.1-1_i386.deb
libgcc1_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/libgcc1_4.0.1-1_i386.deb
libgcj-common_4.0.1-1_all.deb
  to pool/main/g/gcc-4.0/libgcj-common_4.0.1-1_all.deb
libgcj6-awt_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/libgcj6-awt_4.0.1-1_i386.deb
libgcj6-common_4.0.1-1_all.deb
  to pool/main/g/gcc-4.0/libgcj6-common_4.0.1-1_all.deb
libgcj6-dbg_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/libgcj6-dbg_4.0.1-1_i386.deb
libgcj6-dev_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/libgcj6-dev_4.0.1-1_i386.deb
libgcj6-src_4.0.1-1_all.deb
  to pool/main/g/gcc-4.0/libgcj6-src_4.0.1-1_all.deb
libgcj6_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/libgcj6_4.0.1-1_i386.deb
libgfortran0_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/libgfortran0_4.0.1-1_i386.deb
libgnat-4.0_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/libgnat-4.0_4.0.1-1_i386.deb
libmudflap0-dev_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/libmudflap0-dev_4.0.1-1_i386.deb
libmudflap0_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/libmudflap0_4.0.1-1_i386.deb
libobjc1_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/libobjc1_4.0.1-1_i386.deb
libstdc++6-4.0-dbg_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/libstdc++6-4.0-dbg_4.0.1-1_i386.deb
libstdc++6-4.0-dev_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/libstdc++6-4.0-dev_4.0.1-1_i386.deb
libstdc++6-4.0-doc_4.0.1-1_all.deb
  to pool/main/g/gcc-4.0/libstdc++6-4.0-doc_4.0.1-1_all.deb
libstdc++6-4.0-pic_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/libstdc++6-4.0-pic_4.0.1-1_i386.deb
libstdc++6_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/libstdc++6_4.0.1-1_i386.deb
protoize_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/protoize_4.0.1-1_i386.deb
treelang-4.0_4.0.1-1_i386.deb
  to pool/main/g/gcc-4.0/treelang-4.0_4.0.1-1_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 202016@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated gcc-4.0 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat,  9 Jul 2005 17:10:54 +0000
Source: gcc-4.0
Binary: gcc-4.0-base libstdc++6 lib32ffi4 lib32gcj6-dev libobjc1 libgcc1 libgcj6-dev libgcj6-awt gpc-2.1-4.0 gcc-4.0-nof libstdc++6-4.0-dev lib32stdc++6-4.0-dbg libgcc2 lib64gnat-4.0 lib32gcj6 gpc-2.1-4.0-doc protoize lib64gcj6 treelang-4.0 libgnat-4.0 libstdc++6-4.0-dbg gcc-4.0-doc lib64stdc++6 libffi4 lib64gcj6-awt gfortran-4.0-doc g++-4.0 libgcj6-src lib64ffi4 gcj-4.0 lib32gcc1 lib64stdc++6-4.0-dbg libgfortran0 gobjc-4.0 lib64objc1 cpp-4.0 gcc-4.0-soft-float gcc-4.0 gfortran-4.0 gcc-4.0-locales libffi4-dev libgcj6 gnat-4.0-doc libgfortran0-dev libgcj-common libgcj6-common libstdc++6-4.0-pic cpp-4.0-doc lib64gcc1 fastjar gcc-4.0-hppa64 gij-4.0 fixincludes libmudflap0-dev libstdc++6-4.0-doc lib32stdc++6 gnat-4.0 libmudflap0 lib32gcj6-dbg libgcj6-dbg
Architecture: source i386 all
Version: 4.0.1-1
Distribution: unstable
Urgency: high
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Description: 
 cpp-4.0    - The GNU C preprocessor
 cpp-4.0-doc - Documentation for the GNU C preprocessor (cpp)
 fastjar    - Jar creation utility
 fixincludes - Fix non-ANSI header files
 g++-4.0    - The GNU C++ compiler
 gcc-4.0    - The GNU C compiler
 gcc-4.0-base - The GNU Compiler Collection (base package)
 gcc-4.0-doc - Documentation for the GNU compilers (gcc, gobjc, g++)
 gcc-4.0-locales - The GNU C compiler (native language support files)
 gcj-4.0    - The GNU compiler for Java(TM)
 gfortran-4.0 - The GNU Fortran 95 compiler
 gfortran-4.0-doc - Documentation for the GNU Fortran compiler (gfortran)
 gij-4.0    - The GNU Java bytecode interpreter
 gnat-4.0   - The GNU Ada compiler
 gnat-4.0-doc - Documentation for the GNU Ada compiler (gnat)
 gobjc-4.0  - The GNU Objective-C compiler
 lib64gcc1  - GCC support library (64bit)
 lib64stdc++6 - The GNU Standard C++ Library v3 (64bit)
 lib64stdc++6-4.0-dbg - The GNU Standard C++ Library v3 (debugging files)
 libffi4    - Foreign Function Interface library runtime
 libffi4-dev - Foreign Function Interface library (development files)
 libgcc1    - GCC support library
 libgcj-common - Java runtime library (common files)
 libgcj6    - Java runtime library for use with gcj
 libgcj6-awt - AWT peer runtime libraries for use with gcj
 libgcj6-common - Java runtime library for use with gcj (jar files)
 libgcj6-dbg - Debugging symbols for libraries provided in libgcj6-dev
 libgcj6-dev - Java development headers and static library for use with gcj
 libgcj6-src - libgcj java sources for use in eclipse
 libgfortran0 - Runtime library for GNU Fortran applications
 libgnat-4.0 - Runtime library for GNU Ada applications
 libmudflap0 - GCC mudflap shared support libraries
 libmudflap0-dev - GCC mudflap support libraries (development files)
 libobjc1   - Runtime library for GNU Objective-C applications
 libstdc++6 - The GNU Standard C++ Library v3
 libstdc++6-4.0-dbg - The GNU Standard C++ Library v3 (debugging files)
 libstdc++6-4.0-dev - The GNU Standard C++ Library v3 (development files)
 libstdc++6-4.0-doc - The GNU Standard C++ Library v3 (documentation files)
 libstdc++6-4.0-pic - The GNU Standard C++ Library v3 (shared library subset kit)
 protoize   - Create/remove ANSI prototypes from C code
 treelang-4.0 - The GNU Treelang compiler
Closes: 42946 67206 73065 94701 105309 117765 121282 126703 128993 138561 152501 153472 164872 166940 169862 175478 176101 177303 185604 187091 192135 192568 194345 194513 195480 195483 196380 196600 197504 197674 198042 198261 200011 200140 200392 202016 203212 204407 205404 208981 209152 210844 212260 216105 217360 218219 218803 220000 224413 225346 225621 225935 226148 226244 227129 227518 228018 229642 232709 234709 234711 238432 242158 242318 242916 243507 246031 246639 248432 249108 250174 252764 254626 254659 255801 257012 259789 260710 262441 262934 262956 266110 270620 270795 270854 275547 275655 276291 277206 280910 281445 281602 281847 283503 285238 285364 285692 286715 288555 291374 292958 292961 293076 293957 294560 298263 298508 301983 305344 306854 307993 308367 311128
Changes: 
 gcc-4.0 (4.0.1-1) unstable; urgency=high
 .
   * GCC 4.0.1 final release.  See /usr/share/doc/gcc-4.0/NEWS.{gcc,html}.
   * Build fastjar on mips/mipsel, fix fastjar build without building java.
   * Disable the comparision check on unstable/ia64. adaint.o differs,
     currently cannot be reproduced with glibc-2.3.5 and binutils-2.16.1.
   * libffi/hppa: Fix handling of 3 and 5-7 byte struct returns.
   * amd64: Fix libgcc symlinks to point to /usr/lib32, instead of /lib32.
   * On powerpc, don't build with -j >1, apparently doesn't succeeds
     on the Debian buildd.
   * Apply revised patch to make -mieee the default on alpha-linux,
     and add -mieee-disable switch to turn the default off (Tyson Whitehead).
   * Disable multiarch-includes; redo biarch-includes to include the paths
     for the non-default biarch, when called with -m32/-m64.
   * Move new java headers from libstdc++-dev to libgcj-dev, add replaces
     line.
   * Update classpath patch to work with cairo-0.5.1. Patch provided by
     Michael Koch.
   * Further classpath updates for gnu.xml and javax.swing.text.html.
     Patch provided by Michael Koch.
   * Require binutils (>= 2.16.1) as a build dependency and a dependency.
   * On i386, require amd64-libs-dev (>= 1.2).
   * Update debian/NEWS.{html,gcc}.
 .
   * Closing bug reports reported against older gcc versions (some of them
     still present in Debian, but not anymore as the default compiler).
     Usually, forwarded bug reports are linked to
         http://gcc.gnu.org/PR<upstream bug number>
     The upstream bug number usually can be found in the Debian reports.
 .
   * Closed reports reported against gcc-3.3 and fixed in gcc-3.4:
     - General:
       + PR rtl-optimization/2960: Duplicate loop conditions even with -Os
         Closes: #94701.
       + PR optimization/3995: i386 optimisation: joining tests.
         Closes: #105309.
       + PR rtl-optimization/11635: Unnecessary store onto stack, more
         curefully expand union cast (closes: #202016).
       + PR target/7618: vararg disallowed in virtual function. Closes: #205404.
       + Large array problem on 64 bit platforms (closes: #209152).
       + Mark more strings as translatable (closes: #227129).
       + PR gcc/14711: ICE when compiling a huge source file Closes: #234711.
       + Better code generation for if(!p) return NULL;return p;
         Closes: #242318.
       + PR rtl-optimization/16152: Perl ftbfs on {ia64,arm,m68k}-linux.
         Closes: #255801.
       + ICE (segfault) while compiling Linux 2.6.9 (closes: #277206).
       + Link error building memtest (closes: #281445).
     - Ada:
       + PR ada/12450: Constraint error for valid input (closes: #210844).
       + PR ada/13620: miscompilation of array initializer with
         -O3 -fprofile-arcs. Closes: #226244.
     - C:
       + PR c/6897: Code produced with -fPIC reserves EBX, but compiles
         bad __asm__ anyway (closes: #73065).
       + PR c/9209: On i386, gcc-3.0 allows $ in indentifiers but not the asm.
         Closes: #121282.
       + PR c/11943: Accepts invalid declaration "int x[2, 3];" in C99 mode.
         Closes: #177303.
       + PR c/11942: restrict keyword broken in C99 mode. Closes: #187091.
       + PR other/11370: -Wunreachable-code gives false complaints.
         Closes: #196600.
       + PR c/11369: Too relaxed checking with -Wstrict-prototypes.
         Closes: #197504.
       + PR c/11445: False positive warning with -Wunreachable-code.
         Closes: #200140.
       + PR c/11459: -stdc=c90 -pedantic warns about C90's non long-long
          support when in C99 mode. Closes: #200392.
       + PR c/456: Handling of constant expressions. Closes: #225935.
       + ICE on invalid #define with -traditional (closes: #242916).
       + No warning when initializing a variable with itself, new option
         -Winit-self (closes: #293957).
     - C++:
       + C++ parse error (closes: #42946).
       + PR libstdc++/9073: Replacement for __STL_ASSERTIONS (libstdc++v3
         debug mode). Closes: #128993.
       + Parse errors in nested constructor calls (closes: #138561).
       + PR optimization/1823: -ftrapv aborts with pointer difference due to
         division optimization. Closes: #169862.
       + ICE on invalid code (closes: #176101).
       + PR c++/10199: ICE handling method parametrized by template.
         Closes: #185604.
       + High memory usage building packages OpenOffice.org and MythTV.
         Closes: #194345, #194513.
       + Improved documentation of std::lower_bound (closes: #196380).
       + ICE in regenerate_decl_from_template (closes: #197674).
       + PR c++/11444: Function fails to propagate up class tree
         (template-related).  Closes: #198042.
       + ICE when using namespaced typedef of primitive type as struct.
         Closes: #198261.
       + Bug using streambuf / iostream to read from a named pipe.
         Closes: #216105.
       + PR c++/11437: ICE in lookup_name_real (closes: #200011).
       + Add large file support (LFS) in libstdc++ (closes: #220000).
       + PR c++/13621: ICE compiling a statement expression returning type
         string (closes: #224413).
       + g++ doesn't find inherited inner class after template instantiation.
         Closes: #227518.
       + PR libstdc++/13928: Add whatis info in man pages generated by doxygen.
         Closes: #229642.
       + Missing symbol _M_setstate in libstdc++ (closes: #232709).
       + Unable to parse declaration of inline constructor explicit
         specialization (closes: #234709).
       + ICE (segfault) on invalid C++ code (closes: #246031).
       + ICE in lookup_tempate_function (closes: #262441).
       + Undefined symbols in libstdc++, when using specials char_traits.
         Closes: #266110.
       + PR libstdc++/16011: Outputting numbers with ostream in the locale fr_BE
         causes infinite recursion (closes: #270795).
       + ICE in tree_low_cst (closes: #276291).
       + ICE in in expand_call (closes: #283503).
       + typeof operator is misparsed in a template function (closes: #288555).
       + ICE in tree_low_cs (closes: #291374).
       + Improve uninformative error messages (closes: #292961, #293076).
       + ICE on array initialization (closes: #294560).
       + Failure to build xine-lib with -finline-functions (closes: #306854).
     - Java:
       + Fix error finding files in subdirectories (closes: #195480).
       + Implement java.text.CollationElementIterator lacks getOffset().
         Closes: #259789.
     - Treelang:
       + Pointer truncation on 64bit architectures (closes: #308367).
     - Architecture specific:
       - alpha
         + PR debug/10695: ICE on alpha while building agistudio.
           Closes: #192568.
         + ICE when building fceu (closes: #228018, #252764).
       - amd64
         + Miscompilation of Objective-C code (closes: #250174).
         + g++ hangs compiling k3d on amd64 (closes: #285364).
       - arm
         + PR target/19008: gcc -O3 -fPIC produces wrong code via auto inlining.
           Closes: #285238.
       - i386
         + PR target/4106: i386 -fPIC asm ebx clobber no error.
           Closes: #153472.
         + PR target/10984: x86/sse2 ICEs on vector intrinsics. Closes: #166940.
         + Wrong code generation on at least ix86 (closes: #275655).
       - m68k
         + PR target/9201: ICE compiling octave-2.1 (closes: #175478).
         + ICE in verify_initial_elim_offsets (closes: #204407, #257012).
         + g77 generates invalid assembly code (closes: #225621).
         + ICE in verify_local_live_at_start (closes #245584).
       - powerpc
         + PR optimization/12828: -floop-optimize is unstable on PowerPC (float
           to int conversion problem). Closes: #218219.
         + PR target/13619: ICE building altivec code in ffmpeg.
           Closes: #226148.
         + PR target/20046: Miscompilation of bind 9.3.0. Closes: #292958.
       - sparc
         + ICE (segfault) while building atlas3 on sparc32 (closes: #249108).
         + Wrong optimization on sparc32 when building linux kernel.
           Closes: #254626.
 .
   * Closed reports reported against gcc-3.3 or gcc-3.4 and fixed in gcc-4.0:
     - General:
       + PR rtl-optimization/6901: Optimizer improvement (removing unused
         local variables). Closes: #67206.
       + PR middle-end/179: Failure to detect use of unitialized variable
         with -O -Wall. Closes: #117765.
       + ICE building glibc's nptl on amd64 (closes: #260710, #307993).
       + PR middle-end/17827: ICE in make_decl_rtl. Closes: #270854.
       + PR middle-end/21709: ICE on compile-time complex NaN. Closes: #305344.
     - Ada:
       + PR ada/10889: Convention Fortran matrices mishandled in generics.
         Closes: #192135.
       + PR ada/13897: Implement tasking on powerpc. Closes: #225346.
     - C:
       + PR c/13072: Bogus warning with VLA in switch. Closes: #218803.
       + PR c/13519: typeof(nonconst+const) is const. Closes: #208981.
       + PR c/12867: Incorrect warning message (void format, should be void*
         format). Closes: #217360.
       + PR c/16066: PR 16066] i386 loop strength reduction bug.
         Closes: #254659.
     - C++:
       + PR c++/13518: -Wnon-virtual-dtor doesn't always work. Closes: #212260.
       + PR translation/16025: ICE with unsupported locale(closes: #242158).
       + PR c++/15125: -Wformat doesn't warn for different types in fprintf.
         Closes: #243507.
       + PR c++/15214: Warn only if the dtor is non-private or the class has
         friends. (closes: #246639).
       + PR libstdc++/17218: Unknown subjects in generated libstdc++ manpages.
         Closes: #262934.
       + PR libstdc++/17223: Missing .so references in generated libstdc++
         manpages. Closes: #262956.
       + libstdc++-doc: Improve man pages (closes: #280910).
       + PR c++/19006: ICE in tree_low_cst. Closes: #285692.
       + g++ does not check arguments to fprintf. Closes: #281847.
     - Java:
       + PR java/7304: gcj ICE (closes: #152501).
       + PR libgcj/7305: Installation of headers not directly in /usr/include.
         Closes: #195483.
       + PR libgcj/11941: libgcj timezone handling (closes: #203212).
       + PR java/14709: gcj fails to wait for its child processes on exec().
         Closes: #238432.
       + PR libgcj/21703: gcj hangs when rapidly calling String.intern().
         Closes: #275547.
       + SocketChannel.get(ByteBuffer) returns 0 at EOF. Closes: #281602.
       + PR java/19711: gcj segfaults instead of reporting the ambiguous
         expression. Closes: #286715.
       + Static libgcj contains repeated archive members (closes: #298263).
     - Architecture specific:
       - alpha
         + Unaligned accesses with ?-operator (closes: #301983).
       - arm
         + Compilation error of glibc-2.3.4 on arm (closes: #298508).
       - m68k
         + ICE in add_insn_before (closes: #248432).
       - mips
         + Fix o32 ABI breakage in gcc 3.3/3.4 (closes: #270620).
       - powerpc
         + ICE in extract_insn (closes: #311128).
 .
   * Closing bug reports as wontfix:
     - g++ defines _GNU_SOURCE when using the libstdc++ header files.
       Behaviour did change since 3.0. Closes: #126703, #164872.
Files: 
 50e9b3d53fc5057eced1fe0ff8405988 3278 devel optional gcc-4.0_4.0.1-1.dsc
 7fedd0ac9b4cb1104b87fd75b02c6238 31687859 devel optional gcc-4.0_4.0.1.orig.tar.gz
 f7a771c59bc65ed3e25124a9e6d33f71 615254 devel optional gcc-4.0_4.0.1-1.diff.gz
 4312275fe99840a795341a978c3e5a9b 182506 doc optional cpp-4.0-doc_4.0.1-1_all.deb
 5605040f448850ff8307ac54609e6df1 3106094 libs optional libgcj6-common_4.0.1-1_all.deb
 476c0aea10b7659a4e7ab750ce77efa1 1168 libs optional libgcj-common_4.0.1-1_all.deb
 3853fe7e3bfedba3a015a0af11bfd9f0 6430360 libdevel optional libgcj6-src_4.0.1-1_all.deb
 dc2557ab0474bbc765843ecdcb090167 4836934 doc optional libstdc++6-4.0-doc_4.0.1-1_all.deb
 9ebb15f6e135fc02347b20f3123dc1db 89748 doc optional gfortran-4.0-doc_4.0.1-1_all.deb
 125cb3c63a517ae13e0c428b55576a36 942042 doc optional gnat-4.0-doc_4.0.1-1_all.deb
 c261af755c59179d37d2d3b8b6215516 1571844 doc optional gcc-4.0-doc_4.0.1-1_all.deb
 35ba271a40775bb2f2a456dd0eab9d1b 977808 devel optional gcc-4.0-locales_4.0.1-1_all.deb
 c5a161cae954223f41aebf7df3d468b7 173984 devel optional gcc-4.0-base_4.0.1-1_i386.deb
 39f2995f7ad6d029c1c87bb7b68d7634 89386 libs required libgcc1_4.0.1-1_i386.deb
 4043c7ea6401f228d7ee1126fab31c77 94644 libs optional lib64gcc1_4.0.1-1_i386.deb
 10fb4f19c8e5a53e5e22aef978a41628 2038058 interpreters optional cpp-4.0_4.0.1-1_i386.deb
 c53838b78ac279f05b10f57b31a1ba6f 27308 devel optional protoize_4.0.1-1_i386.deb
 60befa088850b31fd2e5ddf2047832f8 79518 devel optional fixincludes_4.0.1-1_i386.deb
 79b115b2d15f6b6b79be9f9950ef4d98 149798 libs optional libmudflap0_4.0.1-1_i386.deb
 d7975cbad6fa9b65e2b265a5df2ce914 95704 libdevel optional libmudflap0-dev_4.0.1-1_i386.deb
 c9f1c1eaa0a1c1208396d1c3e934c0ee 2081120 devel optional gobjc-4.0_4.0.1-1_i386.deb
 c6969d8cca3a1aeb44cd81a53e2253d5 117648 libs optional libobjc1_4.0.1-1_i386.deb
 47be93b40f1754afcb472c1257e0ed3e 27210 devel optional gij-4.0_4.0.1-1_i386.deb
 38c747d883727fc531ff3d70dfd3fe44 5094662 libs optional libgcj6_4.0.1-1_i386.deb
 c15f0a672e318fe6069e63c06ba266d3 213700 libs optional libgcj6-awt_4.0.1-1_i386.deb
 f4265a137642502e0c58a0cdf84df3cf 2466174 devel optional gcj-4.0_4.0.1-1_i386.deb
 b038399fc9b826f4726d357361017544 9892636 libdevel optional libgcj6-dev_4.0.1-1_i386.deb
 53b652ae418311ba3197e0e6216837d1 16711010 libdevel extra libgcj6-dbg_4.0.1-1_i386.deb
 cceb9f659cf41c718678327fc481e5ca 126010 devel optional fastjar_4.0.1-1_i386.deb
 d4ebbda62635430ac6fdcf7e514ee059 89030 libs optional libffi4_4.0.1-1_i386.deb
 615a510064b09a4ec58dd077e610d742 8946 libdevel optional libffi4-dev_4.0.1-1_i386.deb
 9fe52d4338c289d7f0fdfc111de85335 2321184 devel optional g++-4.0_4.0.1-1_i386.deb
 ac1808f32c0bcdea6167c400c3346831 352646 libs optional libstdc++6_4.0.1-1_i386.deb
 a2cf7bacde2ba6e3baa0b9a040ed7433 366244 libs optional lib64stdc++6_4.0.1-1_i386.deb
 7717916a4c35242f3abbac6802d825eb 8037880 libdevel extra lib64stdc++6-4.0-dbg_4.0.1-1_i386.deb
 49c70f93a0ccf43c1d68b69151fc5fde 1515866 libdevel optional libstdc++6-4.0-dev_4.0.1-1_i386.deb
 923c1ed1576170d74a295626dcdd091d 928896 libdevel extra libstdc++6-4.0-pic_4.0.1-1_i386.deb
 6ac8e91e42e9189e701a555ea6c96c3c 5352614 libdevel extra libstdc++6-4.0-dbg_4.0.1-1_i386.deb
 f3d84fb09efd4a42367cf49700f2c68b 108526 libs optional libgfortran0_4.0.1-1_i386.deb
 45313b3ea594d4e017c5182e6fc15786 2302612 devel optional gfortran-4.0_4.0.1-1_i386.deb
 1ab9ad251cabc2bb7e58c481563a9807 875306 libs optional libgnat-4.0_4.0.1-1_i386.deb
 6185b2ba174b00f94499d50edbd22a6e 9862160 devel optional gnat-4.0_4.0.1-1_i386.deb
 602ca39c126e8134b23e2b96076d04bd 1919890 devel optional treelang-4.0_4.0.1-1_i386.deb
 b2e0d05823cb8e87eb236b77a0348969 495046 devel optional gcc-4.0_4.0.1-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC0VbhStlRaw+TLJwRAhW/AJ4pZOj2kn+ZJAeDLoTnt02Vdg3jBACfegCn
9c+9OB0XA7oSS98GiWslLnk=
=Z+KZ
-----END PGP SIGNATURE-----



Reply to: