bug va_arg(ap, long long)??

Rich DAddio RichDaddio@SandVideo.com
Mon Jul 21 19:20:00 GMT 2003


Anyone seen this before?

VER: GCC-3.2.3
TAR: ARC

//call in the user code (works with args other than long long)

va_arg(ap, unsigned long long);

//YIELDS:

Internal compiler error in build, at tree.c:2447
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

//CONDITIONAL FOR ABORT (comments in code included)

      /* The only one-operand cases we handle here are those with 
side-effects.
	 Others are handled with build1.  So don't bother checked if the
	 arg has side-effects since we'll already have set it.

	 ??? This really should use build1 too.  */
      if (TREE_CODE_CLASS (code) != 's')
	abort (); //Hits this abort!!

Any help or ideas would be appreciated.

Thanks,

Rich d



More information about the Gcc-bugs mailing list