This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/41089] [4.5 Regression] r147980 (New SRA) breaks stdargs
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Sep 2009 21:41:58 -0000
- Subject: [Bug tree-optimization/41089] [4.5 Regression] r147980 (New SRA) breaks stdargs
- References: <bug-41089-1649@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #23 from rguenth at gcc dot gnu dot org 2009-09-10 21:41 -------
>From this:
foo (i, ap);
__builtin_va_end(ap);
}
--stdarg dump of function 2--
;; Function f4 (f4)
f4: va_list escapes 0, needs to save 8 GPR units and 3 FPR units.
f4 (int i)
I see va_list should obviously escape. It does to foo. So it's stdargs
fault.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41089