[Bug driver/36312] should refuse to overwrite input file with output file

2014-11-05 Thread wkoszek at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36312 --- Comment #10 from Wojciech Koszek --- I'm very happy seeing it in GCC. On Wed, Nov 5, 2014 at 9:24 AM, manu at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36312 > > --- Comment #8 from Ma

[Bug c/63462] New: [RFC] gcc should prevent from overwriting source file

2014-10-05 Thread wkoszek at gmail dot com
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: wkoszek at gmail dot com Suggestion: prevent GCC from overwriting source code files when invoked as: gcc source.c -o source.c Background: I use command completion heavily. Very often while in coding mood I do: gcc

[Bug c/49859] gcc could warn about statements between "switch" and first "case"

2011-07-26 Thread wkoszek at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49859 --- Comment #3 from Wojciech Koszek 2011-07-27 01:28:28 UTC --- Looks like GCC and Clang both agree on Duff's stuff: wkoszek@wkoszek:~/p/duff$ cat duff.c #include void duff(to, from, count) register short *to, *from; register int count; {

[Bug c/49859] gcc could warn about statements between "switch" and first "case"

2011-07-26 Thread wkoszek at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49859 --- Comment #1 from Wojciech Koszek 2011-07-27 01:16:25 UTC --- I'd expect GCC to warn me about this case, since it's very likely an error.

[Bug c/49859] New: gcc could warn about statements between "switch" and first "case"

2011-07-26 Thread wkoszek at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49859 Summary: gcc could warn about statements between "switch" and first "case" Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: minor Priority: P3 Co