[Bug c/71152] NULL is not cast to (void *) as it ought to be if compiling code with -c

2016-05-19 Thread rstrode at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71152 --- Comment #6 from Ray Strode --- i do indeed seem to have ccache installed, thanks.

[Bug c/71152] NULL is not cast to (void *) as it ought to be if compiling code with -c

2016-05-16 Thread rstrode at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71152 --- Comment #2 from Ray Strode --- this test case works as expected with gcc-5.3.1-6.fc23.x86_64

[Bug c/71152] NULL is not cast to (void *) as it ought to be if compiling code with -c

2016-05-16 Thread rstrode at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71152 --- Comment #1 from Ray Strode --- $ rpm -q gcc gcc-6.0.0-0.20.fc25.x86_64

[Bug c/71152] New: NULL is not cast to (void *) as it ought to be if compiling code with -c

2016-05-16 Thread rstrode at redhat dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: rstrode at redhat dot com Target Milestone: --- Created attachment 38499 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38499=edit small test case try compiling with

[Bug c/65452] strcmp (foo, foo) could give a warning

2015-03-17 Thread rstrode at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65452 --- Comment #2 from Ray Strode rstrode at redhat dot com --- probably should catch if (foo == foo) { } type situations too.

[Bug c/65452] New: strcmp (foo, foo) could give a warning

2015-03-17 Thread rstrode at redhat dot com
Assignee: unassigned at gcc dot gnu.org Reporter: rstrode at redhat dot com Created attachment 35043 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35043action=edit example that could warn sometimes gcc will give a warning like: warning: the address of 'foo' will always