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
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, ...
%
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
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
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
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
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
7 matches
Mail list logo