[Bug target/84828] ICE in verify_flow_info at gcc/cfghooks.c:265

2018-11-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84828

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Jakub Jelinek  ---
Fixed.

[Bug target/84828] ICE in verify_flow_info at gcc/cfghooks.c:265

2018-11-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84828

--- Comment #8 from Martin Liška  ---
Jakub: Can the bug be marked as resolved? Or planning to backport that?

[Bug target/84828] ICE in verify_flow_info at gcc/cfghooks.c:265

2018-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84828

--- Comment #7 from Jakub Jelinek  ---
Author: jakub
Date: Tue Apr 24 07:40:04 2018
New Revision: 259591

URL: https://gcc.gnu.org/viewcvs?rev=259591&root=gcc&view=rev
Log:
PR target/84828
* reg-stack.c (move_for_stack_reg): Don't fail assertion about dead
destination if any_malformed_asm.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/reg-stack.c

[Bug target/84828] ICE in verify_flow_info at gcc/cfghooks.c:265

2018-04-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84828

--- Comment #6 from Martin Liška  ---
I have a very similar issue:

$ g++ /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/ext/pr84828.C /dev/null
-mno-sse -Og
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/ext/pr84828.C: In function
‘void foo(float, double)’:
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/ext/pr84828.C:10:35: error:
output constraint 0 must specify a single register
   asm volatile ("" : "+f" (c)); // { dg-error "must specify a single
register" }
   ^
during RTL pass: stack
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/ext/pr84828.C:13:1: internal
compiler error: in move_for_stack_reg, at reg-stack.c:1108
 }
 ^
0xd5f7ca move_for_stack_reg
../../gcc/reg-stack.c:1108
0xd60ead subst_stack_regs
../../gcc/reg-stack.c:2438
0xd610a0 convert_regs_1
../../gcc/reg-stack.c:3072
0xd610a0 convert_regs_2
../../gcc/reg-stack.c:3207
0xd627f8 convert_regs
../../gcc/reg-stack.c:3242
0xd627f8 reg_to_stack
../../gcc/reg-stack.c:3367
0xd627f8 rest_of_handle_stack_regs
../../gcc/reg-stack.c:3422
0xd627f8 execute
../../gcc/reg-stack.c:3453

Should I open another PR?

[Bug target/84828] ICE in verify_flow_info at gcc/cfghooks.c:265

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84828

Jakub Jelinek  changed:

   What|Removed |Added

 CC||andrey.y.guskov at intel dot 
com

--- Comment #5 from Jakub Jelinek  ---
*** Bug 84983 has been marked as a duplicate of this bug. ***

[Bug target/84828] ICE in verify_flow_info at gcc/cfghooks.c:265

2018-03-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84828

--- Comment #4 from Jakub Jelinek  ---
Created attachment 43676
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43676&action=edit
gcc8-pr84828.patch

As mentioned on the ML, the testcase still ICEs on x86_64-linux with -m32.

I've tried to fix it up this way, but that doesn't help.

[Bug target/84828] ICE in verify_flow_info at gcc/cfghooks.c:265

2018-03-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84828

--- Comment #3 from Jakub Jelinek  ---
Fixed for 8.1+ so far.

[Bug target/84828] ICE in verify_flow_info at gcc/cfghooks.c:265

2018-03-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84828

--- Comment #2 from Jakub Jelinek  ---
Author: jakub
Date: Tue Mar 13 08:04:54 2018
New Revision: 258476

URL: https://gcc.gnu.org/viewcvs?rev=258476&root=gcc&view=rev
Log:
PR target/84828
* reg-stack.c (change_stack): Change update_end var from int to
rtx_insn *, if non-NULL don't update just BB_END (current_block), but
also call set_block_for_insn on the newly added insns and rescan.

* g++.dg/ext/pr84828.C: New test.

Added:
trunk/gcc/testsuite/g++.dg/ext/pr84828.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/reg-stack.c
trunk/gcc/testsuite/ChangeLog

[Bug target/84828] ICE in verify_flow_info at gcc/cfghooks.c:265

2018-03-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84828

Jakub Jelinek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2018-03-12
   Assignee|unassigned at gcc dot gnu.org  |jakub at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Jakub Jelinek  ---
Created attachment 43632
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43632&action=edit
gcc8-pr84828.patch

Untested fix.