public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/63404] New: gcc 5 miscompiles linux block layer
@ 2014-09-29  4:20 andi-gcc at firstfloor dot org
  2014-09-29  4:26 ` [Bug middle-end/63404] " andi-gcc at firstfloor dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: andi-gcc at firstfloor dot org @ 2014-09-29  4:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63404

            Bug ID: 63404
           Summary: gcc 5 miscompiles linux block layer
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: andi-gcc at firstfloor dot org

When I boot a current Linux mainline kernel compiled with mainline gcc 
and the section fix patch applied I always get a crash at boot in the block
layer.

gcc version 5.0.0 20140926 (experimental) (GCC) 

    1.318801] EXT4-fs (sda1): write access will be enabled during recovery
[    1.367592] ------------[ cut here ]------------
[    1.369061] kernel BUG at /home/andi/lsrc/linux/block/blk-flush2.c:80!
[    1.370910] invalid opcode: 0000 [#1] SMP 


I narrowed it down to one function. When only the function is compiled with gcc
4.9 the kernel boots.

Attach is a test case with only the function.
It doesn't quite run by itself yet, so the code has to be examined.


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-11-07 15:55 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-29  4:20 [Bug middle-end/63404] New: gcc 5 miscompiles linux block layer andi-gcc at firstfloor dot org
2014-09-29  4:26 ` [Bug middle-end/63404] " andi-gcc at firstfloor dot org
2014-09-29  4:57 ` [Bug target/63404] " andi-gcc at firstfloor dot org
2014-09-29  8:29 ` [Bug target/63404] [5 Regression] " trippels at gcc dot gnu.org
2014-09-29 10:49 ` jiwang at gcc dot gnu.org
2014-09-29 11:14 ` jiwang at gcc dot gnu.org
2014-09-29 18:46 ` pthaugen at gcc dot gnu.org
2014-09-29 18:48 ` jiwang at gcc dot gnu.org
2014-09-29 18:50 ` jiwang at gcc dot gnu.org
2014-09-29 21:03 ` dominiq at lps dot ens.fr
2014-10-01 20:45 ` pthaugen at gcc dot gnu.org
2014-10-08  4:42 ` pinskia at gcc dot gnu.org
2014-10-10 15:56 ` rth at gcc dot gnu.org
2014-10-17 12:14 ` trippels at gcc dot gnu.org
2014-11-07 15:55 ` jiwang at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).