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] | |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48235
Summary: [4.5/4.6/4.7 Regression] ICE: SIGSEGV in
has_dependence_p (sel-sched-ir.c:3263) with
-fselective-scheduling2 and custom flags
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Created attachment 23748
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23748
reduced testcase
Compiler output:
$ gcc -O -fno-guess-branch-probability -fpeel-loops
-freorder-blocks-and-partition -fschedule-insns2 -fsel-sched-pipelining
-fselective-scheduling2 testcase.c
==30435== Invalid read of size 4
==30435== at 0x891635: has_dependence_p (sel-sched-ir.c:3263)
==30435== by 0x8A47AE: moveup_expr_cached (sel-sched.c:2215)
==30435== by 0x8B26F1: move_op_ascend (sel-sched.c:6159)
==30435== by 0x8A8A57: code_motion_path_driver (sel-sched.c:6629)
==30435== by 0x8AE8B4: schedule_expr_on_boundary (sel-sched.c:6681)
==30435== by 0x8B0239: schedule_on_fences (sel-sched.c:5587)
==30435== by 0x8B14AA: sel_sched_region_2 (sel-sched.c:7454)
==30435== by 0x8B480A: sel_sched_region (sel-sched.c:7498)
==30435== by 0x8B62B1: run_selective_scheduling (sel-sched.c:7675)
==30435== by 0x884615: rest_of_handle_sched2 (sched-rgn.c:3523)
==30435== by 0x7FB455: execute_one_pass (passes.c:1556)
==30435== by 0x7FB744: execute_pass_list (passes.c:1611)
==30435== Address 0x8 is not stack'd, malloc'd or (recently) free'd
==30435==
testcase.c: In function 'GetHangarNum':
testcase.c:55: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.
Tested revisions:
r171265 - crash
4.6 r170955 - crash
4.5 r170955 - crash
4.4 r170955 - OK
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |