[Bug other/12315] [3.4 Regression] ICE using -p with functions returning structs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12315
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Keywords| |monitored
Summary|[3.4 Regression] stage1/cc1 |[3.4 Regression] ICE using -
|segfaulted when --pg is used|p with functions returning
|during bootstrap. |structs
------- Additional Comments From reichelt at gcc dot gnu dot org 2003-10-23 22:27 -------
The same happens with C++ (see e.g. PR 12748).
A minimal testcase to illustrate this:
============================================
struct A {};
A foo() { return A(); }
============================================
Just compile with g++ -p to get a segfault.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Reply to: