[Bug debug/82837] [8 Regression] ICE in output_operand: invalid expression as operand

2017-11-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82837

Jakub Jelinek  changed:

   What|Removed |Added

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

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

[Bug debug/82837] [8 Regression] ICE in output_operand: invalid expression as operand

2017-11-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82837

--- Comment #1 from Jakub Jelinek  ---
Author: jakub
Date: Thu Nov  9 08:54:19 2017
New Revision: 254561

URL: https://gcc.gnu.org/viewcvs?rev=254561=gcc=rev
Log:
PR debug/82837
* dwarf2out.c (const_ok_for_output_1): Reject NEG in addition to NOT.
(mem_loc_descriptor): Handle (const (neg (...))) as (neg (const (...)))
and similarly for not instead of neg.

* gcc.dg/debug/dwarf2/pr82837.c: New test.

Added:
trunk/gcc/testsuite/gcc.dg/debug/dwarf2/pr82837.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
trunk/gcc/testsuite/ChangeLog

[Bug debug/82837] [8 Regression] ICE in output_operand: invalid expression as operand

2017-11-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82837

Jakub Jelinek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
URL||https://gcc.gnu.org/ml/gcc-
   ||patches/2017-11/msg00415.ht
   ||ml
   Last reconfirmed||2017-11-07
   Assignee|unassigned at gcc dot gnu.org  |jakub at gcc dot gnu.org
 Ever confirmed|0   |1

[Bug debug/82837] [8 Regression] ICE in output_operand: invalid expression as operand

2017-11-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82837

Richard Biener  changed:

   What|Removed |Added

Version|7.0 |8.0
   Target Milestone|--- |8.0