This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/43067] New: ICE: SIGSEGV with -fschedule-insns -mxop


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]