[Bug c++/53574] ICE with -fstack-usage

2017-10-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53574

Jakub Jelinek  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

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

[Bug c++/53574] ICE with -fstack-usage

2017-10-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53574

--- Comment #5 from Jakub Jelinek  ---
Author: jakub
Date: Mon Oct 16 08:36:06 2017
New Revision: 253778

URL: https://gcc.gnu.org/viewcvs?rev=253778&root=gcc&view=rev
Log:
PR c++/53574
* g++.dg/other/pr53574.C: New test.

Added:
trunk/gcc/testsuite/g++.dg/other/pr53574.C
Modified:
trunk/gcc/testsuite/ChangeLog

[Bug c++/53574] ICE with -fstack-usage

2017-10-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53574

--- Comment #4 from Jakub Jelinek  ---
No, it went away likely with r189298.  Let me check in the testcase and close
the PR.

[Bug c++/53574] ICE with -fstack-usage

2017-10-15 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53574

--- Comment #3 from Paolo Carlini  ---
Jakub, is this still an issue?

[Bug c++/53574] ICE with -fstack-usage

2012-06-19 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53574

Eric Botcazou  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2012-06-19
 Ever Confirmed|0   |1

--- Comment #2 from Eric Botcazou  2012-06-19 
08:20:04 UTC ---
This also crashes debug_tree on the decl from within the debugger. It seems
that lang_decl_name can do a fair amount of processing if v >= 2.  Additionally
passing TFF_NO_FUNCTION_ARGUMENTS from there fixes the crash (and would be
sufficient for -fstack-usage), but this breaks __PRETTY_FUNCTION__ for example.

A possible solution would be to set TFF_NO_FUNCTION_ARGUMENTS if v == 2 and use
level 3 internally (in error.c and in pt.c for __PRETTY_FUNCTION__).

FWIW the Ada front-end doesn't print the arguments if v == 2.


[Bug c++/53574] ICE with -fstack-usage

2012-06-04 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53574

--- Comment #1 from Jakub Jelinek  2012-06-04 
13:34:26 UTC ---
Created attachment 27554
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27554
rh828003.ii