This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/25505] [4.0/4.1/4.2 Regression] gcc uses way too much stack space for this code
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jan 2006 14:25:09 -0000
- Subject: [Bug middle-end/25505] [4.0/4.1/4.2 Regression] gcc uses way too much stack space for this code
- References: <bug-25505-6809@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #13 from pinskia at gcc dot gnu dot org 2006-01-30 14:25 -------
For comment #5 in the C++ case, the problem comes from the middle-end
(gimplifier) doing:
4065 /* TARGET_EXPR temps aren't part of the enclosing block, so add
it
4066 to the temps list. */
4067 gimple_add_tmp_var (temp);
The C case is different and I might have a fix.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25505