[Bug rtl-optimization/60901] [4.8/4.9/4.10 Regression] ICE: SIGSEGV in add_to_deps_list with -fsel-sched-pipelining-outer-loops

2014-04-22 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60901 --- Comment #2 from Andrey Belevantsev abel at gcc dot gnu.org --- I'm on Easter vacation this week, will take a look after that.

[Bug middle-end/60292] [4.9 Regression] ICE: in fill_vec_av_set, at sel-sched.c:3863 with -m64 after r206174 on powerpc-apple-darwin9.8.0

2014-02-24 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60292 --- Comment #6 from Andrey Belevantsev abel at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #5) The PR is fixed by the patch in comment 2 without regression, see http://gcc.gnu.org/ml/gcc-testresults/2014-02/msg01688.html

[Bug middle-end/60292] [4.9 Regression] ICE: in fill_vec_av_set, at sel-sched.c:3863 with -m64 after r206174 on powerpc-apple-darwin9.8.0

2014-02-24 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60292 --- Comment #7 from Andrey Belevantsev abel at gcc dot gnu.org --- Author: abel Date: Tue Feb 25 06:35:09 2014 New Revision: 208109 URL: http://gcc.gnu.org/viewcvs?rev=208109root=gccview=rev Log: PR rtl-optimization/60292 * sel-sched.c

[Bug middle-end/60292] [4.9 Regression] ICE: in fill_vec_av_set, at sel-sched.c:3863 with -m64 after r206174 on powerpc-apple-darwin9.8.0

2014-02-24 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60292 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug rtl-optimization/60268] [4.9 regression] ICE: in rank_for_schedule, at haifa-sched.c:2557

2014-02-23 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60268 --- Comment #6 from Andrey Belevantsev abel at gcc dot gnu.org --- Author: abel Date: Mon Feb 24 05:57:02 2014 New Revision: 208066 URL: http://gcc.gnu.org/viewcvs?rev=208066root=gccview=rev Log: gcc/ 2014-02-24 Andrey Belevantsev

[Bug rtl-optimization/60268] [4.9 regression] ICE: in rank_for_schedule, at haifa-sched.c:2557

2014-02-23 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60268 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug middle-end/60292] [4.9 Regression] ICE: in fill_vec_av_set, at sel-sched.c:3863 with -m64 after r206174 on powerpc-apple-darwin9.8.0

2014-02-21 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60292 --- Comment #2 from Andrey Belevantsev abel at gcc dot gnu.org --- Here the assert added while fixing PR 57422 means that we should always be able to schedule the current fence instruction. The PR 57422 analysis was good but for the added assert

[Bug rtl-optimization/60268] [4.9 regression] ICE: in rank_for_schedule, at haifa-sched.c:2557

2014-02-20 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60268 --- Comment #4 from Andrey Belevantsev abel at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #2) I forgot the single block regions case, so the nr_regions_initial init should be moved to the bottom of sched_rgn_init. The check

[Bug middle-end/60292] [4.9 Regression] ICE: in fill_vec_av_set, at sel-sched.c:3863 with -m64 after r206174 on powerpc-apple-darwin9.8.0

2014-02-20 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60292 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED

[Bug rtl-optimization/60268] [4.9 regression] ICE: in rank_for_schedule, at haifa-sched.c:2557

2014-02-19 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60268 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug rtl-optimization/58960] [4.9 regression] ICE in bmp_iter_set_init

2014-02-17 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58960 --- Comment #9 from Andrey Belevantsev abel at gcc dot gnu.org --- Author: abel Date: Tue Feb 18 05:41:29 2014 New Revision: 207832 URL: http://gcc.gnu.org/viewcvs?rev=207832root=gccview=rev Log: PR rtl-optimization/58960 * haifa

[Bug rtl-optimization/58960] [4.9 regression] ICE in bmp_iter_set_init

2014-02-17 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58960 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug rtl-optimization/60086] suboptimal asm generated for a loop (store/load false aliasing)

2014-02-07 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60086 --- Comment #5 from Andrey Belevantsev abel at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #1) ... doesn't reorder those is that RA allocates the same register. With -O3 -mavx -fselective-scheduling2 the stores are also changed

[Bug rtl-optimization/60086] suboptimal asm generated for a loop (store/load false aliasing)

2014-02-07 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60086 --- Comment #6 from Andrey Belevantsev abel at gcc dot gnu.org --- Forgot to mention that we end up scheduling this block in 21 cycles while the regular scheduling needs 24. Not that it's so important though.

[Bug c++/19377] Using declaration in private part causes protected diagnostic

2014-02-06 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19377 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added CC||abel at gcc

[Bug c++/19377] Using declaration in private part causes protected diagnostic

2014-02-06 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19377 --- Comment #11 from Andrey Belevantsev abel at gcc dot gnu.org --- (In reply to fabien from comment #10) The testcase is not valid, as a using declaration shall refer to a direct base class, which is not the case in 'using ns::Base::i

[Bug rtl-optimization/60043] -fschedule-insns2 breaks anti-dependency

2014-02-04 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60043 --- Comment #5 from Andrey Belevantsev abel at gcc dot gnu.org --- (In reply to Richard Biener from comment #4) Hmm, oops. The testcase has a true dependence ... ;) Still, isn't the code in sched_analyze_2 wrong? Or are pending_mems all

[Bug rtl-optimization/56885] [4.8/4.9 Regression] ICE: in assign_by_spills, at lra-assigns.c:1268 with -O -fschedule-insns -fselective-scheduling

2014-02-04 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56885 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added CC||abel at gcc

[Bug rtl-optimization/57915] [4.8/4.9 Regression] ICE in set_address_disp, at rtlanal.c:5537

2014-02-03 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57915 --- Comment #9 from Andrey Belevantsev abel at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #7) I'd say if (plus:SI (symbol_ref:SI ...) (const_int ...)) not surrounded by (const:SI ) is considered invalid IL, then trying

[Bug rtl-optimization/57662] [4.9 Regression] ICE: SIGSEGV in code_motion_process_successors with -fschedule-insns2 -fselective-scheduling2

2014-02-03 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57662 --- Comment #7 from Andrey Belevantsev abel at gcc dot gnu.org --- Author: abel Date: Mon Feb 3 12:00:23 2014 New Revision: 207421 URL: http://gcc.gnu.org/viewcvs?rev=207421root=gccview=rev Log: gcc/ PR rtl-optimization/57662 * sel

[Bug rtl-optimization/60043] -fschedule-insns2 breaks anti-dependency

2014-02-03 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60043 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added CC||abel at gcc

[Bug rtl-optimization/60043] -fschedule-insns2 breaks anti-dependency

2014-02-03 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60043 --- Comment #2 from Andrey Belevantsev abel at gcc dot gnu.org --- And indeed, if we change the test case to int foo (long long *a, short *b, int n) { int k = *b + 1000; *a = (long long) (n * 100); return k; } then we get the desired anti

[Bug rtl-optimization/48272] internal compiler error: in setup_insn_reg_pressure_info, at haifa-sched.c:1124

2014-01-29 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48272 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug rtl-optimization/58960] [4.9 regression] ICE in bmp_iter_set_init

2014-01-23 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58960 --- Comment #8 from Andrey Belevantsev abel at gcc dot gnu.org --- (In reply to Andreas Schwab from comment #7) Testresults: http://gcc.gnu.org/ml/gcc-testresults/2014-01/msg01781.html No regressions, and g++.dg/opt/pr48272.C now passes

[Bug rtl-optimization/57915] [4.8/4.9 Regression] ICE in set_address_disp, at rtlanal.c:5537

2014-01-23 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57915 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added CC||abel at gcc

[Bug rtl-optimization/58960] [4.9 regression] ICE in bmp_iter_set_init

2014-01-22 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58960 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED

[Bug rtl-optimization/58960] [4.9 regression] ICE in bmp_iter_set_init

2014-01-22 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58960 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added CC||vmakarov

[Bug rtl-optimization/57422] [4.9 Regression] ICE: SIGSEGV in dominated_by_p with custom flags

2014-01-21 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57422 --- Comment #9 from Andrey Belevantsev abel at gcc dot gnu.org --- Author: abel Date: Tue Jan 21 10:22:07 2014 New Revision: 206876 URL: http://gcc.gnu.org/viewcvs?rev=206876root=gccview=rev Log: Backport from mainline 2013-12-23

[Bug rtl-optimization/57422] [4.9 Regression] ICE: SIGSEGV in dominated_by_p with custom flags

2014-01-21 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57422 --- Comment #10 from Andrey Belevantsev abel at gcc dot gnu.org --- Author: abel Date: Tue Jan 21 12:31:35 2014 New Revision: 206880 URL: http://gcc.gnu.org/viewcvs?rev=206880root=gccview=rev Log: Backport from mainline 2013-12

[Bug rtl-optimization/58960] [4.9 regression] ICE in bmp_iter_set_init

2014-01-21 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58960 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added CC||abel at gcc

[Bug rtl-optimization/57422] [4.9 Regression] ICE: SIGSEGV in dominated_by_p with custom flags

2013-12-23 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57422 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Status|REOPENED|RESOLVED

[Bug rtl-optimization/57422] [4.9 Regression] ICE: SIGSEGV in dominated_by_p with custom flags

2013-12-22 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57422 --- Comment #4 from Andrey Belevantsev abel at gcc dot gnu.org --- Author: abel Date: Mon Dec 23 06:41:22 2013 New Revision: 206173 URL: http://gcc.gnu.org/viewcvs?rev=206173root=gccview=rev Log: PR rtl-optimization/57422 * sel

[Bug rtl-optimization/57422] [4.9 Regression] ICE: SIGSEGV in dominated_by_p with custom flags

2013-12-22 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57422 --- Comment #5 from Andrey Belevantsev abel at gcc dot gnu.org --- Author: abel Date: Mon Dec 23 06:43:49 2013 New Revision: 206174 URL: http://gcc.gnu.org/viewcvs?rev=206174root=gccview=rev Log: PR rtl-optimization/57422 * sel

[Bug rtl-optimization/57422] [4.9 Regression] ICE: SIGSEGV in dominated_by_p with custom flags

2013-12-22 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57422 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug rtl-optimization/57422] [4.9 Regression] ICE: SIGSEGV in dominated_by_p with custom flags

2013-12-18 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57422 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug rtl-optimization/57662] [4.9 Regression] ICE: SIGSEGV in code_motion_process_successors with -fschedule-insns2 -fselective-scheduling2

2013-10-31 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57662 --- Comment #6 from Andrey Belevantsev abel at gcc dot gnu.org --- (In reply to Richard Biener from comment #5) Fixed according to 2013-08-14 Andrey Belevantsev a...@ispras.ru PR rtl-optimization/57662 * sel-sched.c

[Bug rtl-optimization/57662] [4.9 Regression] ICE: SIGSEGV in code_motion_process_successors with -fschedule-insns2 -fselective-scheduling2

2013-08-14 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57662 --- Comment #4 from Andrey Belevantsev abel at gcc dot gnu.org --- Created attachment 30650 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30650action=edit proposed patch When moving up an instruction, we can make empty basic blocks or create

[Bug rtl-optimization/57662] [4.9 Regression] ICE: SIGSEGV in code_motion_process_successors with -fschedule-insns2 -fselective-scheduling2

2013-08-13 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57662 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/57599] result of dynamic_castcv T is just T

2013-06-14 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57599 --- Comment #7 from Andrey Belevantsev abel at gcc dot gnu.org --- (In reply to Paolo Carlini from comment #6) Fixed for 4.9.0. Do you plan to backport this to 4.7 and 4.8?

[Bug c++/57599] result of dynamic_castcv T is just T

2013-06-13 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57599 --- Comment #5 from Andrey Belevantsev abel at gcc dot gnu.org --- (In reply to Daniel Krügler from comment #4) I created a test case for all type conversion operators: Paolo has already submitted a patch with the expanded test case at http

[Bug c++/57599] New: g++ accepts invalid dynamic_cast of a const type to a regular type

2013-06-12 Thread abel at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: abel at gcc dot gnu.org The following code is accepted by g++ (versions 3.3, 4.6, 4.7 at least, I didn't check trunk) but seems to be invalid c++ and is rejected by clang 3.2, icc 13

[Bug c++/57599] g++ accepts invalid assignment of a dynamic_castconst A* to A*

2013-06-12 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57599 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Summary|g++ accepts invalid |g++ accepts

[Bug rtl-optimization/56957] [4.9 regression] ICE in add_insn_after, at emit-rtl.c:3783

2013-04-30 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56957 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED

[Bug rtl-optimization/57105] [4.9 Regression] ICE: in add_insn_before_nobb, at emit-rtl.c:3883 with -Os -fselective-scheduling2 -g

2013-04-30 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57105 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED

[Bug rtl-optimization/57105] [4.9 Regression] ICE: in add_insn_before_nobb, at emit-rtl.c:3883 with -Os -fselective-scheduling2 -g

2013-04-29 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57105 --- Comment #1 from Andrey Belevantsev abel at gcc dot gnu.org 2013-04-29 09:18:26 UTC --- Does the patch from http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56957#c9 fixes your issue?

[Bug rtl-optimization/57105] [4.9 Regression] ICE: in add_insn_before_nobb, at emit-rtl.c:3883 with -Os -fselective-scheduling2 -g

2013-04-29 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57105 --- Comment #3 from Andrey Belevantsev abel at gcc dot gnu.org 2013-04-29 09:40:11 UTC --- Fine, I've tested it on ia64 and got an offline approval from Alexander, I'd need to test on x86-64 and commit then.

[Bug rtl-optimization/56957] [4.9 regression] ICE in add_insn_after, at emit-rtl.c:3783

2013-04-25 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56957 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Attachment #29886|0 |1

[Bug rtl-optimization/56957] [4.9 regression] ICE in add_insn_after, at emit-rtl.c:3783

2013-04-22 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56957 --- Comment #8 from Andrey Belevantsev abel at gcc dot gnu.org 2013-04-22 09:48:37 UTC --- I see some more ICEs of the same type while testing on ia64, so the patch might not be enough in general, though it fixes the original test. I

[Bug rtl-optimization/56957] [4.9 regression] ICE in add_insn_after, at emit-rtl.c:3783

2013-04-18 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56957 --- Comment #7 from Andrey Belevantsev abel at gcc dot gnu.org 2013-04-18 09:18:17 UTC --- (In reply to comment #6) (In reply to comment #5) Created attachment 29886 [details] proposed patch You should probably make

[Bug rtl-optimization/56957] [4.9 regression] ICE in add_insn_after, at emit-rtl.c:3783

2013-04-17 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56957 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Status|NEW

[Bug rtl-optimization/56957] [4.9 regression] ICE in add_insn_after, at emit-rtl.c:3783

2013-04-16 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56957 --- Comment #4 from Andrey Belevantsev abel at gcc dot gnu.org 2013-04-17 05:14:44 UTC --- (In reply to comment #2) Breakpoint 5, sel_remove_insn (insn=0x3fffb5da4e78, only_disconnect=false, full_tidying=false) at ../../trunk/gcc/sel

[Bug middle-end/56077] [4.6/4.7 Regression] volatile ignored when function inlined

2013-04-11 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56077 --- Comment #16 from Andrey Belevantsev abel at gcc dot gnu.org 2013-04-11 06:17:41 UTC --- The patch adds more pending list flushes and thus more dependencies. So by itself it is conservative and should not result in correctness issues

[Bug rtl-optimization/56912] scheduler change breaks linux kernel LTO build with 4.8

2013-04-11 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56912 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added CC||abel

[Bug middle-end/56848] [4.7 Regression] ICE (segfault) with the 4.7.3 release candidate

2013-04-05 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56848 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added CC||abel

[Bug middle-end/56848] [4.7 Regression] ICE (segfault) with the 4.7.3 release candidate

2013-04-05 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56848 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added CC

[Bug middle-end/45472] [4.6/4.7 Regression] [Middle-end volatile semantics] ICE: in move_op_ascend, at sel-sched.c:6124 with -fselective-scheduling2

2013-04-03 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45472 --- Comment #29 from Andrey Belevantsev abel at gcc dot gnu.org 2013-04-03 05:59:53 UTC --- Ported to 4.7 and 4.6, though no bugzilla commit made. Do I close the bug or do we want to fix the front-end to produce the proper volatile bits?

[Bug rtl-optimization/54472] ICE (spill_failure): unable to find a register to spill in class 'AREG' with -O -fschedule-insns -fselective-scheduling

2013-04-03 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54472 --- Comment #11 from Andrey Belevantsev abel at gcc dot gnu.org 2013-04-03 15:51:50 UTC --- (In reply to comment #10) So are we going to backport this one? Sorry, I've missed this one when backporting other stuff. I can do

[Bug middle-end/56077] [4.6/4.7 Regression] volatile ignored when function inlined

2013-04-02 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56077 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/45472] [4.6/4.7/4.8 Regression] [Middle-end volatile semantics] ICE: in move_op_ascend, at sel-sched.c:6124 with -fselective-scheduling2

2013-02-27 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45472 --- Comment #27 from Andrey Belevantsev abel at gcc dot gnu.org 2013-02-27 08:56:15 UTC --- Author: abel Date: Wed Feb 27 08:56:08 2013 New Revision: 196308 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=196308 Log: PR

[Bug middle-end/45472] [4.6/4.7 Regression] [Middle-end volatile semantics] ICE: in move_op_ascend, at sel-sched.c:6124 with -fselective-scheduling2

2013-02-27 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45472 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Known to work||4.8.0

[Bug middle-end/45472] [4.6/4.7/4.8 Regression] [Middle-end volatile semantics] ICE: in move_op_ascend, at sel-sched.c:6124 with -fselective-scheduling2

2013-02-26 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45472 --- Comment #26 from Andrey Belevantsev abel at gcc dot gnu.org 2013-02-26 09:21:14 UTC --- Created attachment 29539 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29539 scheduler patch I'm testing the attached patch to fix the ICE

[Bug middle-end/56077] [4.6/4.7/4.8 Regression] volatile ignored when function inlined

2013-02-25 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56077 --- Comment #10 from Andrey Belevantsev abel at gcc dot gnu.org 2013-02-25 08:48:48 UTC --- Author: abel Date: Mon Feb 25 08:48:42 2013 New Revision: 196252 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=196252 Log: 2013-02-25

[Bug middle-end/56077] [4.6/4.7 Regression] volatile ignored when function inlined

2013-02-25 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56077 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Status|NEW

[Bug middle-end/55889] [4.8 Regression] ICE: in move_op_ascend, at sel-sched.c:6153 with -fschedule-insns -fselective-scheduling

2013-02-19 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55889 --- Comment #32 from Andrey Belevantsev abel at gcc dot gnu.org 2013-02-19 13:50:59 UTC --- Author: abel Date: Tue Feb 19 13:50:50 2013 New Revision: 196137 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=196137 Log: 2012-02-19

[Bug middle-end/55889] [4.8 Regression] ICE: in move_op_ascend, at sel-sched.c:6153 with -fschedule-insns -fselective-scheduling

2013-02-19 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55889 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/56077] [4.6/4.7/4.8 Regression] volatile ignored when function inlined

2013-02-18 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56077 --- Comment #9 from Andrey Belevantsev abel at gcc dot gnu.org 2013-02-18 11:08:10 UTC --- I will test the patch removing the JUMP_P part of the conditional on x86-64 and ia64, but for 4.8 I'd suggest trying some more platforms, like ppc

[Bug middle-end/55889] [4.8 Regression] ICE: in move_op_ascend, at sel-sched.c:6153 with -fschedule-insns -fselective-scheduling

2013-02-15 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55889 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Attachment #29146|0 |1

[Bug middle-end/55889] [4.8 Regression] ICE: in move_op_ascend, at sel-sched.c:6153 with -fschedule-insns -fselective-scheduling

2013-02-13 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55889 --- Comment #28 from Andrey Belevantsev abel at gcc dot gnu.org 2013-02-14 06:11:21 UTC --- (In reply to comment #27) (In reply to comment #26) You are right, your suggestions is what I sketched in comment #21 as choices 1 or 2

[Bug target/56200] New: queens benchmark is faster with -O0 than with any other optimization level

2013-02-04 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56200 Bug #: 56200 Summary: queens benchmark is faster with -O0 than with any other optimization level Classification: Unclassified Product: gcc Version: 4.8.0

[Bug middle-end/55889] [4.8 Regression] ICE: in move_op_ascend, at sel-sched.c:6153 with -fschedule-insns -fselective-scheduling

2013-02-01 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55889 --- Comment #26 from Andrey Belevantsev abel at gcc dot gnu.org 2013-02-01 12:22:05 UTC --- You are right, your suggestions is what I sketched in comment #21 as choices 1 or 2. Sorry for my unclear expalanation of what was actually

[Bug middle-end/55889] [4.8 Regression] ICE: in move_op_ascend, at sel-sched.c:6153 with -fschedule-insns -fselective-scheduling

2013-01-24 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55889 --- Comment #23 from Andrey Belevantsev abel at gcc dot gnu.org 2013-01-24 13:37:05 UTC --- You are right from the target maintainer point of view, as you understand what really happens in the code. But this is not what the compiler sees

[Bug middle-end/55889] [4.8 Regression] ICE: in move_op_ascend, at sel-sched.c:6153 with -fschedule-insns -fselective-scheduling

2013-01-23 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55889 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added CC

[Bug middle-end/55889] [4.8 Regression] ICE: in move_op_ascend, at sel-sched.c:6153 with -fschedule-insns -fselective-scheduling

2013-01-21 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55889 --- Comment #11 from Andrey Belevantsev abel at gcc dot gnu.org 2013-01-21 10:15:31 UTC --- (In reply to comment #10) Neither insn 24/145 nor insn 28 move through insn 17. The two UNSPEC 44 insn (LC..2,, LCM..2) are inputs to insn 17

[Bug middle-end/55889] [4.8 Regression] ICE: in move_op_ascend, at sel-sched.c:6153 with -fschedule-insns -fselective-scheduling

2013-01-21 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55889 --- Comment #13 from Andrey Belevantsev abel at gcc dot gnu.org 2013-01-21 13:23:48 UTC --- (In reply to comment #12) I've tried to reproduce this with a cross compiler (without cross binutils) on x86_64-linux host, but it ICEs elsewhere

[Bug middle-end/55889] [4.8 Regression] ICE: in move_op_ascend, at sel-sched.c:6153 with -fschedule-insns -fselective-scheduling

2013-01-21 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55889 --- Comment #20 from Andrey Belevantsev abel at gcc dot gnu.org 2013-01-21 17:31:57 UTC --- (In reply to comment #19) Indeed, with #c18 patch I can reproduce the ICE. Andrey, can you try that too? Sure, will do, I'll be out of office

[Bug middle-end/55889] [4.8 Regression] ICE: in move_op_ascend, at sel-sched.c:6153 with -fschedule-insns -fselective-scheduling

2013-01-18 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55889 --- Comment #8 from Andrey Belevantsev abel at gcc dot gnu.org 2013-01-18 11:09:13 UTC --- Created attachment 29202 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29202 more debug printing patch From the log, the problem looks

[Bug middle-end/55889] [4.8 Regression] ICE: in move_op_ascend, at sel-sched.c:6153 with -fschedule-insns -fselective-scheduling

2013-01-11 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55889 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Status|NEW

[Bug middle-end/55889] [4.8 Regression] ICE: in move_op_ascend, at sel-sched.c:6153 with -fschedule-insns -fselective-scheduling

2013-01-09 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55889 --- Comment #5 from Andrey Belevantsev abel at gcc dot gnu.org 2013-01-09 14:26:22 UTC --- I've just got back from the holidays, I will take a look probably on Friday. David's analysis hints that the scheduler should treat the insn

[Bug rtl-optimization/54472] ICE (spill_failure): unable to find a register to spill in class 'AREG' with -O -fschedule-insns -fselective-scheduling

2012-11-09 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54472 --- Comment #8 from Andrey Belevantsev abel at gcc dot gnu.org 2012-11-09 12:28:30 UTC --- Author: abel Date: Fri Nov 9 12:28:21 2012 New Revision: 193358 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=193358 Log: PR rtl

[Bug rtl-optimization/54472] ICE (spill_failure): unable to find a register to spill in class 'AREG' with -O -fschedule-insns -fselective-scheduling

2012-11-09 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54472 --- Comment #9 from Andrey Belevantsev abel at gcc dot gnu.org 2012-11-09 12:33:33 UTC --- Fixed on trunk, backports to 4.7/4.6 are needed.

[Bug rtl-optimization/48374] ICE: in single_succ_edge, at basic-block.h:562 with -fselective-scheduling2 and __builtin_unreachable()

2012-10-30 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48374 --- Comment #6 from Andrey Belevantsev abel at gcc dot gnu.org 2012-10-30 08:25:24 UTC --- Author: abel Date: Tue Oct 30 08:25:16 2012 New Revision: 192979 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=192979 Log

[Bug rtl-optimization/48374] ICE: in single_succ_edge, at basic-block.h:562 with -fselective-scheduling2 and __builtin_unreachable()

2012-10-30 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48374 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED

[Bug target/51106] [4.6 Regression] ICE in move_insn, at haifa-sched.c:2314

2012-10-28 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51106 --- Comment #21 from Andrey Belevantsev abel at gcc dot gnu.org 2012-10-28 18:17:16 UTC --- (In reply to comment #20) This issue still exists in mainline, there seems to be no objection to Andrey's suggested fix, could someone please

[Bug rtl-optimization/54472] ICE (spill_failure): unable to find a register to spill in class 'AREG' with -O -fschedule-insns -fselective-scheduling

2012-10-26 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54472 --- Comment #7 from Andrey Belevantsev abel at gcc dot gnu.org 2012-10-26 14:04:03 UTC --- (In reply to comment #6) Have you managed to check the patch? The patch does the right thing for sets and clobbers, but the uses case should

[Bug rtl-optimization/53701] ICE on ia64 (when building Allegro 4.4) in sel-sched

2012-10-22 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53701 --- Comment #10 from Andrey Belevantsev abel at gcc dot gnu.org 2012-10-22 19:34:41 UTC --- Author: abel Date: Mon Oct 22 19:34:35 2012 New Revision: 192693 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=192693 Log

[Bug rtl-optimization/53701] ICE on ia64 (when building Allegro 4.4) in sel-sched

2012-10-22 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53701 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED

[Bug target/53975] [ia64] Target register of a speculative load moved to a branch register prior to the chk.s instruction

2012-10-16 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53975 --- Comment #20 from Andrey Belevantsev abel at gcc dot gnu.org 2012-10-16 13:20:37 UTC --- Author: abel Date: Tue Oct 16 13:20:30 2012 New Revision: 192497 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=192497 Log

[Bug rtl-optimization/53701] ICE on ia64 (when building Allegro 4.4) in sel-sched

2012-10-16 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53701 --- Comment #9 from Andrey Belevantsev abel at gcc dot gnu.org 2012-10-16 13:22:26 UTC --- Author: abel Date: Tue Oct 16 13:22:22 2012 New Revision: 192498 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=192498 Log: 2012-10-16

[Bug target/53975] [ia64] Target register of a speculative load moved to a branch register prior to the chk.s instruction

2012-10-16 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53975 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED

[Bug rtl-optimization/54472] ICE (spill_failure): unable to find a register to spill in class 'AREG' with -O -fschedule-insns -fselective-scheduling

2012-10-04 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54472 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED

[Bug rtl-optimization/54472] ICE (spill_failure): unable to find a register to spill in class 'AREG' with -O -fschedule-insns -fselective-scheduling

2012-09-04 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54472 --- Comment #3 from Andrey Belevantsev abel at gcc dot gnu.org 2012-09-04 17:47:24 UTC --- (In reply to comment #2) For some reason, -fselective-scheduling is moving (insn 19 16 22 2 (use (reg/i:SI 0 ax)) testcase.c:6 -1 (nil

[Bug rtl-optimization/54455] [4.7/4.8 Regression] ICE: RTL check: expected elt 3 type 'B', have '0' (rtx barrier) in compute_bb_for_insn, at cfgrtl.c:418

2012-09-03 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54455 --- Comment #10 from Andrey Belevantsev abel at gcc dot gnu.org 2012-09-03 08:21:20 UTC --- (In reply to comment #9) Created attachment 28121 [details] gcc48-pr54455.patch Patch for 2). asm goto with fallthru labels is pretty hard case

[Bug rtl-optimization/53701] ICE on ia64 (when building Allegro 4.4) in sel-sched

2012-08-09 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53701 --- Comment #8 from Andrey Belevantsev abel at gcc dot gnu.org 2012-08-09 14:08:38 UTC --- Author: abel Date: Thu Aug 9 14:08:31 2012 New Revision: 190253 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=190253 Log: PR rtl-optimization

[Bug rtl-optimization/53701] ICE on ia64 (when building Allegro 4.4) in sel-sched

2012-08-08 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53701 --- Comment #7 from Andrey Belevantsev abel at gcc dot gnu.org 2012-08-08 11:26:01 UTC --- Created attachment 27959 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27959 proposed patch The problem is that when checking expressions

[Bug rtl-optimization/53701] ICE on ia64 (when building Allegro 4.4) in sel-sched

2012-08-06 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53701 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED

[Bug target/53975] [ia64] Target register of a speculative load moved to a branch register prior to the chk.s instruction

2012-07-31 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53975 --- Comment #18 from Andrey Belevantsev abel at gcc dot gnu.org 2012-07-31 10:56:59 UTC --- Author: abel Date: Tue Jul 31 10:56:52 2012 New Revision: 190005 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=190005 Log: PR target/53975

[Bug target/53975] [ia64] Target register of a speculative load moved to a branch register prior to the chk.s instruction

2012-07-31 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53975 --- Comment #19 from Andrey Belevantsev abel at gcc dot gnu.org 2012-07-31 11:11:22 UTC --- Fixed on trunk. Judging by the time the original wrong patch went in, this should be a regression and thus I'll commit this to 4.7 too after a week or so.

[Bug target/53975] [ia64] Target register of a speculative load moved to a branch register prior to the chk.s instruction

2012-07-30 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53975 Andrey Belevantsev abel at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug target/53975] [ia64] Target register of a speculative load moved to a branch register prior to the chk.s instruction

2012-07-24 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53975 --- Comment #14 from Andrey Belevantsev abel at gcc dot gnu.org 2012-07-24 09:22:14 UTC --- The problem is that we don't handle this type of speculation well in sel-sched. While moving an insn through speculation check, it is hard to decide

[Bug rtl-optimization/52250] [4.7 Regression] ICE: in sel_remove_bb, at sel-sched-ir.c:5213 with -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops -fselective-scheduling2 and other flags

2012-07-20 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52250 --- Comment #13 from Andrey Belevantsev abel at gcc dot gnu.org 2012-07-20 08:49:54 UTC --- Author: abel Date: Fri Jul 20 08:49:52 2012 New Revision: 189705 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=189705 Log: Backport from

<    1   2   3   4   >