[...@gnu-6 pr36159]$ cat f.c
/* foo /* */

int *
foo (unsigned int *x)
{
  return x;
}
[...@gnu-6 pr36159]$ /export/build/gnu/gcc-avx/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc-avx/build-x86_64-linux/gcc/ -c  f.c   
[...@gnu-6 pr36159]$ /export/build/gnu/gcc-avx/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc-avx/build-x86_64-linux/gcc/ -c  f.c   -Wall
f.c:1:8: warning: "/*" within comment
f.c: In function ‘foo’:
f.c:6: warning: pointer targets in return differ in signedness
[...@gnu-6 pr36159]$ /export/build/gnu/gcc-avx/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc-avx/build-x86_64-linux/gcc/ -c  f.c   -Wno-all
f.c: In function ‘foo’:
f.c:6: warning: pointer targets in return differ in signedness
[...@gnu-6 pr36159]$


-- 
           Summary: -Wno-all doesn't work on -Wpointer-sign
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com


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

Reply via email to