Bug#325670: gcc-4.0: regression: generates wrong code for inlined memcpy

2005-08-30 Thread Steve Langasek
On Wed, Aug 31, 2005 at 12:09:40AM +0200, Bastian Blank wrote: > On Tue, Aug 30, 2005 at 12:34:01AM -0700, Steve Langasek wrote: > > When passing pointers to 4-byte types to memcpy(), gcc-4.0 generates > > wrong code which assumes that these pointers are aligned at 4-byte > > boundaries for purpose

[Bug libstdc++/19664] libstdc++ headers should have pop/push of the visibility around the declarations

2005-08-30 Thread geoffk at gcc dot gnu dot org
-- What|Removed |Added CC||geoffk at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/sho

Bug#325670: gcc-4.0: regression: generates wrong code for inlined memcpy

2005-08-30 Thread Bastian Blank
On Tue, Aug 30, 2005 at 12:34:01AM -0700, Steve Langasek wrote: > When passing pointers to 4-byte types to memcpy(), gcc-4.0 generates > wrong code which assumes that these pointers are aligned at 4-byte > boundaries for purposes of optimization, ignoring the implicit cast to > (char *) in the prot

Bug#325670: gcc-4.0: regression: generates wrong code for inlined memcpy

2005-08-30 Thread Bastian Blank
On Tue, Aug 30, 2005 at 02:45:41PM -0700, Steve Langasek wrote: > By any chance, can you provide a reference to the C spec that shows > gcc's current behavior is valid? Given that traceroute is among the > programs that breaks under gcc-4.0, it seems to me that the assumption > that it's safe to u

Bug#325670: gcc-4.0: regression: generates wrong code for inlined memcpy

2005-08-30 Thread Steve Langasek
On Tue, Aug 30, 2005 at 02:08:17PM +0200, Falk Hueffner wrote: > Steve Langasek <[EMAIL PROTECTED]>, [EMAIL PROTECTED] schrieb am 30.08.05 > 09:49:30: > > When passing pointers to 4-byte types to memcpy(), gcc-4.0 generates > > wrong code which assumes that these pointers are aligned at 4-byte >

Bug#325739: gcc-4.0: Segfault with gcc4 (and above) when using LD_PRELOAD

2005-08-30 Thread Mathieu Malaterre
Package: gcc-4.0 Version: 4.0.1-2 Severity: important Hi, Description: I am running a program that is outputing a file. The very same program when run with LD_PRELOAD set to libGL.so, is segfaulting. The segfault does not occur when using gcc2.95, gcc3.2, gcc3.3 and gcc3.4 (debian package). The s

Bug#325670: gcc-4.0: regression: generates wrong code for inlined memcpy

2005-08-30 Thread Falk Hueffner
Steve Langasek <[EMAIL PROTECTED]>, [EMAIL PROTECTED] schrieb am 30.08.05 09:49:30: > When passing pointers to 4-byte types to memcpy(), gcc-4.0 generates > wrong code which assumes that these pointers are aligned at 4-byte > boundaries for purposes of optimization, ignoring the implicit cast t

Bug#325670: gcc-4.0: regression: generates wrong code for inlined memcpy

2005-08-30 Thread Steve Langasek
Package: gcc-4.0 Version: 4.0.1-2 Severity: important When passing pointers to 4-byte types to memcpy(), gcc-4.0 generates wrong code which assumes that these pointers are aligned at 4-byte boundaries for purposes of optimization, ignoring the implicit cast to (char *) in the prototype of memcpy()