public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/50788] New: [4.7 Regression] ICE: in merge_overlapping_regs, at regrename.c:318 with -mavx -fpeel-loops -fstack-protector-all and __builtin_ia32_maskloadpd256
@ 2011-10-19  4:45 zsojka at seznam dot cz
  2011-10-19  8:12 ` [Bug rtl-optimization/50788] " rguenth at gcc dot gnu.org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: zsojka at seznam dot cz @ 2011-10-19  4:45 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50788

             Bug #: 50788
           Summary: [4.7 Regression] ICE: in merge_overlapping_regs, at
                    regrename.c:318 with -mavx -fpeel-loops
                    -fstack-protector-all and __builtin_ia32_maskloadpd256
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 25552
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25552
reduced testcase

Compiler output:
$ gcc -O2 -mavx -fpeel-loops -fstack-protector-all testcase.c
testcase.c: In function 'foo':
testcase.c:7:1: internal compiler error: in merge_overlapping_regs, at
regrename.c:318
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

A bit different testcase with __builtin_ia32_maskloadd() crashes with -mavx2
the same way, with the same backtrace.

(gdb) bt
#0  fancy_abort (file=0x1271d38 "/mnt/svn/gcc-trunk/gcc/regrename.c", line=318,
function=0x12724e0 "merge_overlapping_regs")
    at /mnt/svn/gcc-trunk/gcc/diagnostic.c:898
#1  0x0000000000929419 in merge_overlapping_regs () at
/mnt/svn/gcc-trunk/gcc/regrename.c:318
#2  rename_chains () at /mnt/svn/gcc-trunk/gcc/regrename.c:447
#3  regrename_optimize () at /mnt/svn/gcc-trunk/gcc/regrename.c:1783
#4  0x00000000008e5748 in execute_one_pass (pass=0x17a20e0) at
/mnt/svn/gcc-trunk/gcc/passes.c:2064
#5  0x00000000008e5ab5 in execute_pass_list (pass=0x17a20e0) at
/mnt/svn/gcc-trunk/gcc/passes.c:2119
#6  0x00000000008e5ac7 in execute_pass_list (pass=0x17a1840) at
/mnt/svn/gcc-trunk/gcc/passes.c:2120
#7  0x00000000008e5ac7 in execute_pass_list (pass=0x17a18a0) at
/mnt/svn/gcc-trunk/gcc/passes.c:2120
#8  0x0000000000a3cebe in tree_rest_of_compilation (fndecl=0x7ffff56b1f00) at
/mnt/svn/gcc-trunk/gcc/tree-optimize.c:420
#9  0x000000000069433a in cgraph_expand_function (node=0x7ffff55886c0) at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1804
#10 0x000000000069628c in cgraph_expand_all_functions () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1871
#11 cgraph_optimize () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:2148
#12 0x000000000069667a in cgraph_finalize_compilation_unit () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1312
#13 0x000000000057914b in c_write_global_declarations () at
/mnt/svn/gcc-trunk/gcc/c-decl.c:9940
#14 0x00000000009dab04 in compile_file (argc=16, argv=0x7fffffffdaa8) at
/mnt/svn/gcc-trunk/gcc/toplev.c:581
#15 do_compile (argc=16, argv=0x7fffffffdaa8) at
/mnt/svn/gcc-trunk/gcc/toplev.c:1930
#16 toplev_main (argc=16, argv=0x7fffffffdaa8) at
/mnt/svn/gcc-trunk/gcc/toplev.c:2006
#17 0x00007ffff6178d2d in __libc_start_main () from /lib64/libc.so.6
#18 0x000000000055ccc9 in _start ()


Tested revisions:
r180174 - crash
r179959 - crash
r178498 - OK
4.6 r177922 - OK


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

end of thread, other threads:[~2011-10-23 15:20 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-19  4:45 [Bug target/50788] New: [4.7 Regression] ICE: in merge_overlapping_regs, at regrename.c:318 with -mavx -fpeel-loops -fstack-protector-all and __builtin_ia32_maskloadpd256 zsojka at seznam dot cz
2011-10-19  8:12 ` [Bug rtl-optimization/50788] " rguenth at gcc dot gnu.org
2011-10-21 15:05 ` ebotcazou at gcc dot gnu.org
2011-10-21 15:08 ` ebotcazou at gcc dot gnu.org
2011-10-22 20:42 ` [Bug target/50788] " ebotcazou at gcc dot gnu.org
2011-10-23  8:20 ` ubizjak at gmail dot com
2011-10-23 11:00 ` ubizjak at gmail dot com
2011-10-23 11:28 ` ebotcazou at gcc dot gnu.org
2011-10-23 11:46 ` ubizjak at gmail dot com
2011-10-23 13:06 ` ubizjak at gmail dot com
2011-10-23 13:44 ` ubizjak at gmail dot com
2011-10-23 14:18 ` uros at gcc dot gnu.org
2011-10-23 15:16 ` uros at gcc dot gnu.org
2011-10-23 15:17 ` uros at gcc dot gnu.org
2011-10-23 15:19 ` uros at gcc dot gnu.org
2011-10-23 15:20 ` ubizjak 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).