File:  [MW Coherent from dump] / coherent / d / bin / cc / c / n1 / i8086 / fixtop.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:39 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

/*
 * C compiler.
 * Intel 8086/8088.
 * Adjust types at the top of a tree node.
 */
#ifdef   vax
#include "INC$LIB:cc1.h"
#else
#include "cc1.h"
#endif

/*
 * Make the top of a tree a computational type.
 */
fixtoptype(tp)
register TREE *tp;
{
	register type;

	type = tp->t_type;
	if (type == S8)
		tp->t_type = S16;
	else if (type == U8)
		tp->t_type = U16;
	else if (type == F32)
		tp->t_type = F64;
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.