[Bug c/90457] New: -Wimplicit-fallthrough seems confused by #ifdef

2019-05-14 Thread gcc-bugs at engestrom dot ch
: c Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugs at engestrom dot ch Target Milestone: --- Consider the following code: ``` int main(int argc, char *argv[]) { switch (argc) { #ifdef HAVE_FOO case 1: if (argv[1]) return 1; /* fallthrough

[Bug c/70740] ICE when compiling the Linux kernel (net/wireless/util.o)

2016-04-20 Thread gcc-bugs at engestrom dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70740 --- Comment #3 from Eric Engeström --- (In reply to Marek Polacek from comment #1) > The kernel .config is of no great use for us; could you please attach the > preprocessed testcase (should be generated automagically and stored into > /tmp/)? T

[Bug c/70740] New: ICE when compiling the Linux kernel (net/wireless/util.o)

2016-04-20 Thread gcc-bugs at engestrom dot ch
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugs at engestrom dot ch Target Milestone: --- Created attachment 38317 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38317&action=edit Kernel .config $ gcc --version gcc (GCC