This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: g++ 3.1 bug in optimization of ellipsis


On Thu, May 23, 2002 at 05:06:34PM +0200, Andrea Latina wrote:
> in the attached source I use the ellipsis to pass a variable number of 
> arguments to the constructor of a N-dimensional vector. When I compile 
> this source with optimization O1 or O2, I obtain an error:
> 
> test.cc: In function `int main()':
> test.cc:24: `va_start' used in function with fixed args

You should file a proper bug report so that this doesn't get lost.
The problem is that we inlined the varargs constructor inappropriately.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]