This is the mail archive of the gcc-prs@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: optimization/6793: varargs constructor inlined inappropriately.


The following reply was made to PR optimization/6793; it has been noted by GNATS.

From: Kevin Nomura <nomura@netapp.com>
To: andrea.latina@to.infn.it, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
   gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org
Cc:  
Subject: Re: optimization/6793: varargs constructor inlined inappropriately.
Date: Mon, 03 Jun 2002 13:19:06 -0700

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6793
 
 I hit the same problem with a simpler, plain C testcase.
 Compile the following at -O2.  Fails with gcc 3.1, passes
 with 3.0.4 and earlier.
 
 
 static void inline chdebug(const char *fmt, ... )
 {
 	__builtin_next_arg(fmt);
 }
 
 
 extern void foo(void);
 void foo(void)
 {
 	chdebug("ch_monitor: verifying connection ");
 }


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