Bug#629010: gcc-4.4: typo in warning "logical '&&' with non-zero constant will always evaluate as true"

2011-06-02 Thread James Youngman
Package: gcc-4.4 Version: 4.4.5-8 Severity: minor The && in the warning message below should probably be ||. ~$ cat typo.c #include const char *validchars = "123"; char x = 'y'; int main (int argc, char *argv[]) { return (1 || (0 == strchr (argv[0], x))); } ~$ gcc-Wlogical-op -O2 typo.c

Bug#629009: gcc-4.6: "Illegal instruction (program cc1)" error on i586

2011-06-02 Thread Pierre Ynard
Package: gcc-4.6 Version: 4.6.0-10 Severity: important It seems that gcc-4.6 tries to use some instruction unsupported by my old Pentium MMX, and gets killed by SIGILL: % gcc -E - < /dev/null gcc: internal compiler error: Illegal instruction (program cc1) Please submit a full bug report, ... %

[Bug c++/7302] -Wnon-virtual-dtor should't complain of protected dtor

2011-06-02 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7302 --- Comment #28 from Manuel López-Ibáñez 2011-06-02 21:46:13 UTC --- (In reply to comment #26) > I've posted a patch to http://gcc.gnu.org/ml/gcc-patches/2011-06/msg00191.html > which gives this for the code in comment 25 BTW, I would suggest th

[Bug c++/7302] -Wnon-virtual-dtor should't complain of protected dtor

2011-06-02 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7302 Manuel López-Ibáñez changed: What|Removed |Added AssignedTo|mueller at gcc dot gnu.org |redi at gcc dot gnu.org --- Comment

[Bug c++/7302] -Wnon-virtual-dtor should't complain of protected dtor

2011-06-02 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7302 --- Comment #26 from Jonathan Wakely 2011-06-02 21:29:53 UTC --- (can this bug be un-ASSIGNED?) (In reply to comment #25) > Here, H must have a virtual destructor. The point where it can know it should > warn is the "delete this;" line. I've pos

Processed: Re: jigit: ftbfs with gcc-4.6 -Werror

2011-06-02 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: > severity 625357 normal Bug #625357 [gcc-4.6] jigit: ftbfs with gcc-4.6 -Werror Severity set to 'normal' from 'important' > retitle 625357 gcc -Wunused-but-set-variable should not be implied by -Wall > (?) Bug #625357 [gcc-4.6] jigit: ftbfs with

Bug#625357: jigit: ftbfs with gcc-4.6 -Werror

2011-06-02 Thread Jonathan Nieder
severity 625357 normal retitle 625357 gcc -Wunused-but-set-variable should not be implied by -Wall (?) tags 625357 = upstream moreinfo quit Hi again, Steve McIntyre wrote: > I'll remove the -Werror to stop gcc breaking the build here, but I > definitely believe that gcc is doing the wrong thing