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

2003-10-24 Thread Jason Kraftcheck
Package: gcc-3.2
Version: 1:3.2.3-8
Severity: minor


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 format, different type arg (arg 2)

This warning is meaningless.  The type of the pointer doesn't matter
for printf to write out the address.

According to gcc --help, -pedantic-errors should result in an 
error.  It shouldn't add more non-error warnings.

The warning message is wrong.  Should be 'pointer format' or maybe 
'void* format', not 'void format'.  


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux rincewind 2.4.21-5-686-smp #1 SMP Sun Aug 24 16:31:04 EST 2003 
i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages gcc-3.2 depends on:
ii  binutils   2.14.90.0.6-3 The GNU assembler, linker and bina
ii  cpp-3.21:3.2.3-8 The GNU C preprocessor
ii  gcc-3.2-base   1:3.2.3-8 The GNU Compiler Collection (base 
ii  libc6  2.3.2-7   GNU C Library: Shared libraries an
ii  libgcc11:3.3.2-0pre5 GCC support library

-- no debconf information





[Bug c/11942] restrict is broken in C99 mode?

2003-10-24 Thread jsm28 at gcc dot gnu dot org
PLEASE REPLY TO [EMAIL PROTECTED] ONLY, *NOT* [EMAIL PROTECTED]

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11942


jsm28 at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||jsm28 at gcc dot gnu dot org
 Status|NEW |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |3.4


--- Additional Comments From jsm28 at gcc dot gnu dot org  2003-10-24 08:54 
---
Fixed on mainline, probably by
.



--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.




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

2003-10-24 Thread reichelt 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


reichelt at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||dj at redhat dot com


--- Additional Comments From reichelt at gcc dot gnu dot org  2003-10-24 
09:15 ---
I'm afraid DJ's (really big) patch

http://gcc.gnu.org/ml/gcc-cvs/2003-09/msg00074.html

seems to be responsible for the regression.

DJ, could you please have a look?




--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.




[Bug c/11943] Accepts invalid declaration "int x[2, 3];" in C99 mode

2003-10-24 Thread cvs-commit at gcc dot gnu dot org
PLEASE REPLY TO [EMAIL PROTECTED] ONLY, *NOT* [EMAIL PROTECTED]

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11943



--- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-10-24 
15:30 ---
Subject: Bug 11943

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2003-10-24 15:30:37

Modified files:
gcc: ChangeLog c-parse.in 
gcc/testsuite  : ChangeLog 
Added files:
gcc/testsuite/gcc.dg: c99-arraydecl-2.c 

Log message:
* c-parse.in (array_declarator): Use expr_no_commas.
Fixes PR c/11943.

testsuite:
* gcc.dg/c99-arraydecl-2.c: New test.  PR c/11943.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.1542&r2=2.1543
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-parse.in.diff?cvsroot=gcc&r1=1.187&r2=1.188
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3143&r2=1.3144
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/c99-arraydecl-2.c.diff?cvsroot=gcc&r1=NONE&r2=1.1





--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.




[Bug c/11943] Accepts invalid declaration "int x[2, 3];" in C99 mode

2003-10-24 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=11943


pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |3.4


--- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-24 
16:11 ---
Fixed for 3.4.



--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.




Processed: gcc: submitted Debian report #XXX to gcc-gnats as PR 12765

2003-10-24 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> # submitted Debian report #XXX to gcc-gnats as PR 12765
> # http://gcc.gnu.org/PR12765
> clone 12765 -1
Bug number 12765 not found.

> forwarded -1 http://gcc.gnu.org/PR12765
Bug number -1 not found.

> retitle -1 [PR 12765] [3.3.2 regression] 2GB mem not enough for sucessful 
> compile
Bug number -1 not found.

> severity 194345 important
Bug#194345: g++ 3.3 needs to much memory / gets killed by OOM-killer
Bug#194513: Internal error: unbalanced parenthesis in operand 1
Severity set to `important'.

> thanks
Stopping processing here.

Please contact me if you need assistance.

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




[Bug c/11459] -ansi -std=c99 -pedantic warns about C90's non long-long support when in C99 mode

2003-10-24 Thread dhazeghi at yahoo dot com
PLEASE REPLY TO [EMAIL PROTECTED] ONLY, *NOT* [EMAIL PROTECTED]

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11459


dhazeghi at yahoo dot com changed:

   What|Removed |Added

   Last reconfirmed|2003-07-18 22:31:14 |2003-10-24 18:08:53
   date||


--- Additional Comments From dhazeghi at yahoo dot com  2003-10-24 18:08 
---
Still present on mainline.



--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.




Processed: clone gcc report

2003-10-24 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> clone 194345 -1
Bug#194345: g++ 3.3 needs to much memory / gets killed by OOM-killer
Bug is marked as being merged with others.

> retitle 194345 g++ 3.3 needs to much memory / gets killed by OOM-killer
Bug#194345: g++ 3.3 needs to much memory / gets killed by OOM-killer
Changed Bug title.

> forwarded -1 http://gcc.gnu.org/PR12765
Bug number -1 not found.

> retitle -1 [PR 12765] [3.3.2 regression] 2GB mem not enough for
Bug number -1 not found.

> severity 194345 serious
Bug#194345: g++ 3.3 needs to much memory / gets killed by OOM-killer
Bug#194513: Internal error: unbalanced parenthesis in operand 1
Severity set to `serious'.

> thanks
Stopping processing here.

Please contact me if you need assistance.

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




Results for 3.4 20031023 (experimental) testsuite on i486-pc-linux-gnu

2003-10-24 Thread Matthias Klose
LAST_UPDATED: Thu Oct 23 20:49:24 UTC 2003

Native configuration is i486-pc-linux-gnu

=== g++ tests ===


Running target unix
XPASS: g++.dg/ext/lvalue1.C not an lvalue (test for errors, line 7)
FAIL: g++.dg/ext/pretty1.C scan-assembler top level
FAIL: g++.dg/ext/pretty2.C (test for excess errors)
WARNING: g++.dg/ext/pretty2.C compilation failed to produce executable
FAIL: g++.dg/parse/crash10.C  (test for errors, line 14)
XPASS: g++.dg/warn/Wunused-2.C  (test for warnings, line 5)
WARNING: g++.old-deja/g++.mike/p10769a.C compilation failed to produce 
executable
WARNING: g++.old-deja/g++.other/enum5.C compilation failed to produce executable
XPASS: g++.old-deja/g++.other/init5.C execution test
WARNING: g++.old-deja/g++.pt/friend44.C compilation failed to produce executable
FAIL: g++.old-deja/g++.pt/vaarg3.C (test for excess errors)

=== g++ Summary ===

# of expected passes9080
# of unexpected failures4
# of unexpected successes   3
# of expected failures  59
# of unsupported tests  29
/build/packages/gcc/snap/gcc-snapshot-20031023/build/gcc/testsuite/../g++ 
version 3.4 20031023 (experimental)

=== g77 tests ===


Running target unix

=== g77 Summary ===

# of expected passes1752
# of expected failures  1
# of untested testcases 1
# of unsupported tests  6
/build/packages/gcc/snap/gcc-snapshot-20031023/build/gcc/testsuite/../g77 
version 3.4 20031023 (experimental)

=== gcc tests ===


Running target unix
FAIL: gcc.c-torture/execute/va-arg-25.c execution,  -O0 
FAIL: gcc.c-torture/execute/va-arg-25.c execution,  -O1 
FAIL: gcc.c-torture/execute/va-arg-25.c execution,  -O2 
FAIL: gcc.c-torture/execute/va-arg-25.c execution,  -O3 -fomit-frame-pointer 
FAIL: gcc.c-torture/execute/va-arg-25.c execution,  -O3 -g 
FAIL: gcc.c-torture/execute/va-arg-25.c execution,  -Os 
UNRESOLVED: gcc.c-torture/execute/wchar_t-1.c execution,  -O0 
UNRESOLVED: gcc.c-torture/execute/wchar_t-1.c execution,  -O1 
UNRESOLVED: gcc.c-torture/execute/wchar_t-1.c execution,  -O2 
UNRESOLVED: gcc.c-torture/execute/wchar_t-1.c execution,  -O3 
-fomit-frame-pointer 
UNRESOLVED: gcc.c-torture/execute/wchar_t-1.c execution,  -O3 -g 
UNRESOLVED: gcc.c-torture/execute/wchar_t-1.c execution,  -Os 
FAIL: gcc.dg/const-elim-1.c scan-assembler-not L\\\$?C[^A-Z]
FAIL: gcc.dg/old-style-asm-1.c (test for excess errors)
ERROR: gcc.dg/old-style-asm-1.c: error executing dg-final: couldn't open 
"old-style-asm-1.s": no such file or directory
UNRESOLVED: gcc.dg/old-style-asm-1.c: error executing dg-final: couldn't open 
"old-style-asm-1.s": no such file or directory

=== gcc Summary ===

# of expected passes24523
# of unexpected failures8
# of expected failures  81
# of unresolved testcases   7
# of untested testcases 7
# of unsupported tests  155
/build/packages/gcc/snap/gcc-snapshot-20031023/build/gcc/xgcc version 3.4 
20031023 (experimental)

=== objc tests ===


Running target unix

=== objc Summary ===

# of expected passes1337
# of unsupported tests  7
/build/packages/gcc/snap/gcc-snapshot-20031023/build/gcc/xgcc version 3.4 
20031023 (experimental)

=== treelang tests ===


Running target unix

=== treelang Summary ===

# of expected passes1
=== libffi tests ===


Running target unix
FAIL: libffi.call/cls_1_1byte.c execution test
FAIL: libffi.call/cls_2byte.c execution test
FAIL: libffi.call/cls_3_1byte.c execution test
FAIL: libffi.call/cls_5byte.c execution test
FAIL: libffi.call/cls_6byte.c execution test
FAIL: libffi.call/pyobjc-tc.c execution test

=== libffi Summary ===

# of expected passes114
# of unexpected failures6
# of unsupported tests  2
=== libjava tests ===


Running target unix
FAIL: SyncGlobal -O3 execution - bytecode->native test

=== libjava Summary ===

# of expected passes3203
# of unexpected failures1
# of expected failures  10
# of untested testcases 9

=== libstdc++-v3 check-abi Summary ===

# of added symbols:  201
# of missing symbols:220
# of incompatible symbols:   227

using: 
/build/packages/gcc/snap/gcc-snapshot-20031023/src/libstdc++-v3/config/abi/i486-linux-gnu/baseline_symbols.txt

=== libstdc++ tests ===


Running target unix
XPASS: 26_numerics/c99_classification_macros_c.cc (test for excess errors)

=== libstdc++ Summary ===

# of expected passes2191
# of unexpected successes   1
# of expected failures  11

Compiler version: 3.4 20031023 (experimental) 
Platform: i486-pc-linux-gnu
configure flags: -v --enable-languages=c,c++,java,f77,objc,ada,treelang 
--prefix=/usr/lib/gcc-sna

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

2003-10-24 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



--- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-24 
22:19 ---
Here for reference the patch as sent to gcc-patches: 
.



--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.




[Bug optimization/12576] [3.3 regression] miscompilation of ide-scsi linux kernel driver

2003-10-24 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=12576


pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |3.3.3





--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.




[Bug target/12717] [3.4 regression] [m68k-linux] bootstrap error in stage3

2003-10-24 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=12717


pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |3.4





--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.




[Bug c++/12765] [3.3.2 regression] 2GB mem not enough for sucessful compile

2003-10-24 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=12765


pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |3.3.3





--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.