public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/64108] New: ICE: SIGSEGV in decide_alg() with -mmemset-strategy=libcall:-1:align -minline-all-stringops
@ 2014-11-28 21:16 zsojka at seznam dot cz
  2014-11-29 14:07 ` [Bug target/64108] " hjl.tools at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: zsojka at seznam dot cz @ 2014-11-28 21:16 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64108
           Summary: ICE: SIGSEGV in decide_alg() with
                    -mmemset-strategy=libcall:-1:align
                    -minline-all-stringops
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz

Created attachment 34134
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34134&action=edit
preprocessed source (gcc.target/i386/memset-strategy-1.c)

Compiler output:
$ gcc -mmemset-strategy=libcall:-1:align -minline-all-stringops
memset-strategy-1.i -wrapper valgrind,-q
==13391== Stack overflow in thread 1: can't grow stack to 0xffe001ff8
==13391== Can't extend stack to 0xffe0010a8 during signal delivery for thread
1:
==13391==   no stack segment
==13391== 
==13391== Process terminating with default action of signal 11 (SIGSEGV)
==13391==  Access not within mapped region at address 0xFFE0010A8
==13391==    at 0xF047D2: decide_alg(long, long, unsigned long, unsigned long,
bool, bool, int*, bool*) (i386.c:24370)
==13391==  If you believe this happened as a result of a stack
==13391==  overflow in your program's main thread (unlikely but
==13391==  possible), you can try to increase the size of the
==13391==  main thread stack using the --main-stacksize= flag.
==13391==  The main thread stack size used in this run was 16777216.
==13391== Stack overflow in thread 1: can't grow stack to 0xffe001f71
==13391== 
==13391== Process terminating with default action of signal 11 (SIGSEGV)
==13391==  Access not within mapped region at address 0xFFE001F71
==13391==    at 0x4A236B0: _vgnU_freeres (in
/usr/lib64/valgrind/vgpreload_core-amd64-linux.so)
==13391==  If you believe this happened as a result of a stack
==13391==  overflow in your program's main thread (unlikely but
==13391==  possible), you can try to increase the size of the
==13391==  main thread stack using the --main-stacksize= flag.
==13391==  The main thread stack size used in this run was 16777216.
gcc: internal compiler error: Segmentation fault (program valgrind)
0x40bff5 execute
        /mnt/svn/gcc-trunk/gcc/gcc.c:2912
0x40c289 do_spec_1
        /mnt/svn/gcc-trunk/gcc/gcc.c:4841
0x40e887 process_brace_body
        /mnt/svn/gcc-trunk/gcc/gcc.c:6124
0x40e887 handle_braces
        /mnt/svn/gcc-trunk/gcc/gcc.c:6038
0x40d287 do_spec_1
        /mnt/svn/gcc-trunk/gcc/gcc.c:5495
0x40e887 process_brace_body
        /mnt/svn/gcc-trunk/gcc/gcc.c:6124
0x40e887 handle_braces
        /mnt/svn/gcc-trunk/gcc/gcc.c:6038
0x40d287 do_spec_1
        /mnt/svn/gcc-trunk/gcc/gcc.c:5495
0x40c613 do_spec_1
        /mnt/svn/gcc-trunk/gcc/gcc.c:5610
0x40e887 process_brace_body
        /mnt/svn/gcc-trunk/gcc/gcc.c:6124
0x40e887 handle_braces
        /mnt/svn/gcc-trunk/gcc/gcc.c:6038
0x40d287 do_spec_1
        /mnt/svn/gcc-trunk/gcc/gcc.c:5495
0x40e887 process_brace_body
        /mnt/svn/gcc-trunk/gcc/gcc.c:6124
0x40e887 handle_braces
        /mnt/svn/gcc-trunk/gcc/gcc.c:6038
0x40d287 do_spec_1
        /mnt/svn/gcc-trunk/gcc/gcc.c:5495
0x40e887 process_brace_body
        /mnt/svn/gcc-trunk/gcc/gcc.c:6124
0x40e887 handle_braces
        /mnt/svn/gcc-trunk/gcc/gcc.c:6038
0x40d287 do_spec_1
        /mnt/svn/gcc-trunk/gcc/gcc.c:5495
0x40e887 process_brace_body
        /mnt/svn/gcc-trunk/gcc/gcc.c:6124
0x40e887 handle_braces
        /mnt/svn/gcc-trunk/gcc/gcc.c:6038
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r218137 - ICE
4_9 r216937 - ICE


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

end of thread, other threads:[~2014-12-05 12:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-28 21:16 [Bug target/64108] New: ICE: SIGSEGV in decide_alg() with -mmemset-strategy=libcall:-1:align -minline-all-stringops zsojka at seznam dot cz
2014-11-29 14:07 ` [Bug target/64108] " hjl.tools at gmail dot com
2014-12-02 14:11 ` hjl at gcc dot gnu.org
2014-12-04  5:13 ` zsojka at seznam dot cz
2014-12-05 11:53 ` hjl at gcc dot gnu.org
2014-12-05 12:05 ` hjl.tools at gmail dot com

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).