[Bug other/12315] [3.4 Regression] ICE using -p with functions returning structs

2003-10-30 Thread pinskia at gcc dot gnu dot org
PLEASE REPLY TO [EMAIL PROTECTED] ONLY, *NOT* [EMAIL PROTECTED] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12315 pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/12315] [3.4 Regression] ICE using -p with functions returning structs

2003-10-30 Thread pinskia at gcc dot gnu dot org
PLEASE REPLY TO [EMAIL PROTECTED] ONLY, *NOT* [EMAIL PROTECTED] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12315 pinskia at gcc dot gnu dot org changed: What|Removed |Added

Bug#217360: gcc-3.2: meaningless warning for %p in format strings

2003-10-30 Thread Jason Kraftcheck
Falk Hueffner wrote: Jason Kraftcheck <[EMAIL PROTECTED]> writes: If the following is compiled with the options -Wall -pedantic-errors : #include int main( ) { int i; printf("%p\n", &i ); return 0; } gcc emits the following: voidptr.c: In function `main': voidptr.c:5: warning: void

Bug#217360: gcc-3.2: meaningless warning for %p in format strings

2003-10-30 Thread Falk Hueffner
Jason Kraftcheck <[EMAIL PROTECTED]> writes: > The C standard says there's a difference between printing a void* > and a int* (or any other type)? How can a pointer passed through a > var-args list be anything but a void*? The C standard may say that > %p prints a void*, but isn't any pointer pa

Bug#217360: gcc-3.2: meaningless warning for %p in format strings

2003-10-30 Thread Jason Kraftcheck
Falk Hueffner wrote: Jason Kraftcheck <[EMAIL PROTECTED]> writes: The C standard says there's a difference between printing a void* and a int* (or any other type)? How can a pointer passed through a var-args list be anything but a void*? The C standard may say that %p prints a void*, but isn't a

Bug#217360: gcc-3.2: meaningless warning for %p in format strings

2003-10-30 Thread Falk Hueffner
Jason Kraftcheck <[EMAIL PROTECTED]> writes: > In practice, how can it be anything other than a void*? It can't. You know, the "-pedantic" option is called "-pedantic" for a reason. It doesn't make a difference on any existing gcc platform, but it would be possible to cnstruct a C99-compliant env

Bug#217360: gcc-3.2: meaningless warning for %p in format strings

2003-10-30 Thread Jason Kraftcheck
Falk Hueffner wrote: Jason Kraftcheck <[EMAIL PROTECTED]> writes: In practice, how can it be anything other than a void*? It can't. You know, the "-pedantic" option is called "-pedantic" for a Yes, but there's a difference between pedantic and pointless. Although you've convinced me it is the f