This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/78512] New: [7 Regression] r242674 miscompiles Linux kernel
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 24 Nov 2016 14:06:20 +0000
- Subject: [Bug c/78512] New: [7 Regression] r242674 miscompiles Linux kernel
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78512
Bug ID: 78512
Summary: [7 Regression] r242674 miscompiles Linux kernel
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: trippels at gcc dot gnu.org
CC: msebor at gcc dot gnu.org
Target Milestone: ---
Since r242674 the Linux kernel hits a BUG() during boot:
Kernel bug at net/core/skbuff.c:105
invalid opcode 0000
...
Adding -fno-printf-return-value to the CFLAGS "solves" the issue.
Not sure which file gets miscompiled, I only did a quick gcc bisection.