public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/65765] New: Compiling Firefox with GCC 5 leads to broken javascript engine on x86-64
@ 2015-04-14 22:14 mh+gcc at glandium dot org
  2015-04-15  0:52 ` [Bug ipa/65765] " mh+gcc at glandium dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: mh+gcc at glandium dot org @ 2015-04-14 22:14 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 65765
           Summary: Compiling Firefox with GCC 5 leads to broken
                    javascript engine on x86-64
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mh+gcc at glandium dot org

Created attachment 35314
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35314&action=edit
reduced.tgz

When building Firefox with GCC 5 [1], some parts of the test suite fail because
of what might be a compiler bug. It seems to be involving
__attribute__((cold)). Dan Gohman got a reduced testcase, attached here.

Unpack and build with g++ -O2 *.cpp, then run a.out.

This doesn't happen at -O1, or with -O2 -Dcold=.

1. GCC 5.1.0-RC-20150412, compiled with "--enable-languages=c,c++ 
--disable-nls --disable-gnu-unique-object --enable-__cxa_atexit
--with-arch-32=pentiumpro".
I've also reproduced with the reduced testcase with a snapshot of 5-20150111
(building Firefox with that snapshot fails for other reasons, unfortunately).


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

end of thread, other threads:[~2015-04-15 12:18 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-14 22:14 [Bug ipa/65765] New: Compiling Firefox with GCC 5 leads to broken javascript engine on x86-64 mh+gcc at glandium dot org
2015-04-15  0:52 ` [Bug ipa/65765] " mh+gcc at glandium dot org
2015-04-15  4:58 ` [Bug ipa/65765] [5/6 Regression] " trippels at gcc dot gnu.org
2015-04-15  4:58 ` trippels at gcc dot gnu.org
2015-04-15  5:41 ` trippels at gcc dot gnu.org
2015-04-15  6:55 ` jakub at gcc dot gnu.org
2015-04-15  7:04 ` mh+gcc at glandium dot org
2015-04-15  7:22 ` jakub at gcc dot gnu.org
2015-04-15  7:52 ` rguenth at gcc dot gnu.org
2015-04-15  8:33 ` hubicka at gcc dot gnu.org
2015-04-15  8:34 ` hubicka at gcc dot gnu.org
2015-04-15  8:45 ` jakub at gcc dot gnu.org
2015-04-15 11:48 ` jakub at gcc dot gnu.org
2015-04-15 12:10 ` jakub at gcc dot gnu.org
2015-04-15 12:18 ` jakub 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).