This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/12180] [3.3/3.4 regression] Inline optimization fails for variadic function
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Sep 2003 06:16:25 -0000
- Subject: [Bug target/12180] [3.3/3.4 regression] Inline optimization fails for variadic function
- References: <20030905103614.12180.martin@netbsd.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12180
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC build triplet|sparc64--netbsd |
GCC host triplet|sparc64--netbsd |
GCC target triplet|sparc64--netbsd |
Last reconfirmed|0000-00-00 00:00:00 |2003-09-08 06:16:24
date| |
Summary|Inline optimization for |[3.3/3.4 regression] Inline
|variadic function fails for |optimization fails for
|sparc* targets |variadic function
Target Milestone|--- |3.3.2
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-09-08 06:16 -------
Confirmed on i586-redhat-linux-gnu as of 3.3.2 20030904 (prerelease) with:
void generic_sendmsg (char *fmt, ...)
{
__builtin_next_arg(fmt);
}
void generic_sendstat()
{
double t;
generic_sendmsg("F %3.2f", t);
}
% gcc-3.3.2 -O3 pr12180.c
pr12180.c: In function `generic_sendstat':
pr12180.c:5: error: `va_start' used in function with fixed args
This is a regression from GCC 3.0.4.