public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/43067]  New: ICE: SIGSEGV with -fschedule-insns -mxop
@ 2010-02-14 23:27 zsojka at seznam dot cz
  2010-02-14 23:29 ` [Bug rtl-optimization/43067] " zsojka at seznam dot cz
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: zsojka at seznam dot cz @ 2010-02-14 23:27 UTC (permalink / raw)
  To: gcc-bugs

Command line:
gcc -O1 -ftree-vectorize -fschedule-insns -mxop -c testcase.c

Tested revisions:
r156745 - crash
r156693 - crash
r156293 - crash
r154830 - crash
r153685 - doesn't know -mxop

Output:
$ /mnt/svn/gcc-trunk/binary-156745-lto/bin/gcc -O1 -ftree-vectorize
-fschedule-insns -mxop -c testcase.c
testcase.c: In function 'imul32_to_64':
testcase.c:12:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Valgrind:
==16930== Invalid read of size 2
==16930==    at 0x73F912: memory_operand (recog.c:1300)
==16930==    by 0x9D953E: get_attr_memory (i386.md:18975)
==16930==    by 0x9897E7: ix86_adjust_cost (i386.c:19781)
==16930==    by 0xC0A20D: dep_cost_1 (haifa-sched.c:909)
==16930==    by 0xC0A599: priority (haifa-sched.c:1066)
==16930==    by 0xC0CFB8: set_priorities (haifa-sched.c:3311)
==16930==    by 0x77B269: compute_priorities (sched-rgn.c:2914)
==16930==    by 0x77CCB5: schedule_insns (sched-rgn.c:2943)
==16930==    by 0x77D26D: rest_of_handle_sched (sched-rgn.c:3512)
==16930==    by 0x7233EA: execute_one_pass (passes.c:1561)
==16930==    by 0x723674: execute_pass_list (passes.c:1616)
==16930==    by 0x723686: execute_pass_list (passes.c:1617)
==16930==  Address 0xabababababababab is not stack'd, malloc'd or (recently)
free'd


-- 
           Summary: ICE: SIGSEGV with -fschedule-insns -mxop
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu


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


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

* [Bug rtl-optimization/43067] ICE: SIGSEGV with -fschedule-insns -mxop
  2010-02-14 23:27 [Bug rtl-optimization/43067] New: ICE: SIGSEGV with -fschedule-insns -mxop zsojka at seznam dot cz
@ 2010-02-14 23:29 ` zsojka at seznam dot cz
  2010-02-20 22:11 ` [Bug target/43067] " uros at gcc dot gnu dot org
  2010-02-20 22:19 ` ubizjak at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: zsojka at seznam dot cz @ 2010-02-14 23:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from zsojka at seznam dot cz  2010-02-14 23:29 -------
Created an attachment (id=19871)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19871&action=view)
reduced testcase, from gcc.target/i386/xop-imul32widen-vector.c

Command line:
gcc -O1 -ftree-vectorize -fschedule-insns -mxop -c pr43067.c


-- 


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


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

* [Bug target/43067] ICE: SIGSEGV with -fschedule-insns -mxop
  2010-02-14 23:27 [Bug rtl-optimization/43067] New: ICE: SIGSEGV with -fschedule-insns -mxop zsojka at seznam dot cz
  2010-02-14 23:29 ` [Bug rtl-optimization/43067] " zsojka at seznam dot cz
@ 2010-02-20 22:11 ` uros at gcc dot gnu dot org
  2010-02-20 22:19 ` ubizjak at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: uros at gcc dot gnu dot org @ 2010-02-20 22:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from uros at gcc dot gnu dot org  2010-02-20 22:11 -------
Subject: Bug 43067

Author: uros
Date: Sat Feb 20 22:11:32 2010
New Revision: 156929

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156929
Log:
        PR target/43067
        * config/i386/sse.md (xop_mulv2div2di3_low): Change type
        attribute to ssemul.
        (xop_mulv2div2di3_high): Ditto.

testsuite/ChangeLog:

        PR target/43067
        * gcc.target/i386/pr43067.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr43067.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/sse.md
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug target/43067] ICE: SIGSEGV with -fschedule-insns -mxop
  2010-02-14 23:27 [Bug rtl-optimization/43067] New: ICE: SIGSEGV with -fschedule-insns -mxop zsojka at seznam dot cz
  2010-02-14 23:29 ` [Bug rtl-optimization/43067] " zsojka at seznam dot cz
  2010-02-20 22:11 ` [Bug target/43067] " uros at gcc dot gnu dot org
@ 2010-02-20 22:19 ` ubizjak at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: ubizjak at gmail dot com @ 2010-02-20 22:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ubizjak at gmail dot com  2010-02-20 22:19 -------
Fixed.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2010-
                   |                            |02/msg00831.html
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.5.0


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


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

end of thread, other threads:[~2010-02-20 22:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-14 23:27 [Bug rtl-optimization/43067] New: ICE: SIGSEGV with -fschedule-insns -mxop zsojka at seznam dot cz
2010-02-14 23:29 ` [Bug rtl-optimization/43067] " zsojka at seznam dot cz
2010-02-20 22:11 ` [Bug target/43067] " uros at gcc dot gnu dot org
2010-02-20 22:19 ` 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).