[Bug debug/71057] [6 Regression] ICE in schedule_generic_params_dies_gen, at dwarf2out.c:24142

2016-05-31 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71057

--- Comment #10 from Romain Geissler  ---
Thanks ! The current gcc6 branch works fine now.

[Bug debug/71057] [6 Regression] ICE in schedule_generic_params_dies_gen, at dwarf2out.c:24142

2016-05-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71057

Richard Biener  changed:

   What|Removed |Added

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

--- Comment #9 from Richard Biener  ---
Fixed.

[Bug debug/71057] [6 Regression] ICE in schedule_generic_params_dies_gen, at dwarf2out.c:24142

2016-05-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71057

--- Comment #8 from Richard Biener  ---
Author: rguenth
Date: Tue May 31 09:58:50 2016
New Revision: 236912

URL: https://gcc.gnu.org/viewcvs?rev=236912=gcc=rev
Log:
2016-05-31  Richard Biener  

Backport from mainline
2016-05-11  Richard Biener  

PR debug/71057
* dwarf2out.c (retry_incomplete_types): Set early_dwarf.
(dwarf2out_finish): Move retry_incomplete_types call ...
(dwarf2out_early_finish): ... here.

* g++.dg/debug/pr71057.C: New testcase.

Added:
branches/gcc-6-branch/gcc/testsuite/g++.dg/debug/pr71057.C
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/dwarf2out.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog

[Bug debug/71057] [6 Regression] ICE in schedule_generic_params_dies_gen, at dwarf2out.c:24142

2016-05-31 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71057

--- Comment #7 from rguenther at suse dot de  ---
On Mon, 30 May 2016, romain.geissler at amadeus dot com wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71057
> 
> Romain Geissler  changed:
> 
>What|Removed |Added
> 
>  CC||romain.geissler at amadeus 
> dot com
> 
> --- Comment #6 from Romain Geissler  ---
> Hi,
> 
> I am facing the same kind of issue on a self-build gcc 6.1.1 with some
> proprietary code. Do you have any plan to backport this in the gcc6 branch ? 
> If
> needed, I can test your patch on my local occurence to confirm it actually
> works.

Yes, I'm planning to backport it soon.

[Bug debug/71057] [6 Regression] ICE in schedule_generic_params_dies_gen, at dwarf2out.c:24142

2016-05-30 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71057

Romain Geissler  changed:

   What|Removed |Added

 CC||romain.geissler at amadeus dot 
com

--- Comment #6 from Romain Geissler  ---
Hi,

I am facing the same kind of issue on a self-build gcc 6.1.1 with some
proprietary code. Do you have any plan to backport this in the gcc6 branch ? If
needed, I can test your patch on my local occurence to confirm it actually
works.

Cheers,
Romain

[Bug debug/71057] [6 Regression] ICE in schedule_generic_params_dies_gen, at dwarf2out.c:24142

2016-05-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71057

Richard Biener  changed:

   What|Removed |Added

  Known to work||7.0
Summary|[6/7 Regression] ICE in |[6 Regression] ICE in
   |schedule_generic_params_die |schedule_generic_params_die
   |s_gen, at dwarf2out.c:24142 |s_gen, at dwarf2out.c:24142
  Known to fail||6.1.0

--- Comment #4 from Richard Biener  ---
Fixed on trunk sofar.

[Bug debug/71057] [6 Regression] ICE in schedule_generic_params_dies_gen, at dwarf2out.c:24142

2016-05-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71057

--- Comment #5 from Richard Biener  ---
Author: rguenth
Date: Wed May 11 13:59:34 2016
New Revision: 236121

URL: https://gcc.gnu.org/viewcvs?rev=236121=gcc=rev
Log:
2016-05-11  Richard Biener  

PR debug/71057
* dwarf2out.c (retry_incomplete_types): Set early_dwarf.
(dwarf2out_finish): Move retry_incomplete_types call ...
(dwarf2out_early_finish): ... here.

* g++.dg/debug/pr71057.C: New testcase.

Added:
trunk/gcc/testsuite/g++.dg/debug/pr71057.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
trunk/gcc/testsuite/ChangeLog