public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/61785] New: Sigsegv with enabled optimize -Os , -O2 in sample_format_size
@ 2014-07-11 22:42 dirkneukirchen at web dot de
  2014-07-11 22:44 ` [Bug c++/61785] " dirkneukirchen at web dot de
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: dirkneukirchen at web dot de @ 2014-07-11 22:42 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 61785
           Summary: Sigsegv with enabled optimize -Os , -O2 in
                    sample_format_size
           Product: gcc
           Version: 4.8.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dirkneukirchen at web dot de

Created attachment 33109
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33109&action=edit
i486-openwrt-linux-g++ -v output

I get a SIGSEGV when running the binary compiled with default switches
(containing -Os) in qemu.
If I compile with -O0 the program is working.

GCC 4.6.4 is generating working code with -Os
4.8.0, 4.8.3, 4.9.0 do not work with -Os ; -O0 binaries work



Source is from mpd 0.18.11
gcc is used in OpenWrt buildroot to compile it for target arch (x86)
I opened a ticket on mpd bugtracker, provided gdb output and was told it's a
compiler bug - thats why I opened a ticket here.

the mpd bugtracker ticket is: http://bugs.musicpd.org/view.php?id=4024

First time reporter.


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

end of thread, other threads:[~2024-03-12 22:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-11 22:42 [Bug c++/61785] New: Sigsegv with enabled optimize -Os , -O2 in sample_format_size dirkneukirchen at web dot de
2014-07-11 22:44 ` [Bug c++/61785] " dirkneukirchen at web dot de
2014-07-11 23:00 ` dirkneukirchen at web dot de
2014-07-13  3:29 ` andi-gcc at firstfloor dot org
2021-07-22 18:57 ` [Bug middle-end/61785] " pinskia at gcc dot gnu.org
2024-03-12 22:30 ` pinskia 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).