Subversion Repositories tendra.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
/*
2
    		 Crown Copyright (c) 1997
3
 
4
    This TenDRA(r) Computer Program is subject to Copyright
5
    owned by the United Kingdom Secretary of State for Defence
6
    acting through the Defence Evaluation and Research Agency
7
    (DERA).  It is made available to Recipients with a
8
    royalty-free licence for its use, reproduction, transfer
9
    to other parties and amendment for any purpose not excluding
10
    product development provided that any such use et cetera
11
    shall be deemed to be acceptance of the following conditions:-
12
 
13
        (1) Its Recipients shall ensure that this Notice is
14
        reproduced upon any copies or amended versions of it;
15
 
16
        (2) Any amended version of it shall be clearly marked to
17
        show both the nature of and the organisation responsible
18
        for the relevant amendment or amendments;
19
 
20
        (3) Its onward transfer from a recipient to another
21
        party shall be deemed to be that party's acceptance of
22
        these conditions;
23
 
24
        (4) DERA gives no warranty or assurance as to its
25
        quality or suitability for any purpose and DERA accepts
26
        no liability whatsoever in relation to any use to which
27
        it may be put.
28
*/
29
 
30
 
31
/**********************************************************************
32
$Author: release $
33
$Date: 1998/01/17 15:55:47 $
34
$Revision: 1.1.1.1 $
35
$Log: flags.c,v $
36
 * Revision 1.1.1.1  1998/01/17  15:55:47  release
37
 * First version to be checked into rolling release.
38
 *
39
 * Revision 1.4  1997/10/23  09:24:18  pwe
40
 * extra diags
41
 *
42
 * Revision 1.3  1997/10/10  18:15:25  pwe
43
 * prep ANDF-DE revision
44
 *
45
 * Revision 1.2  1997/02/18  12:56:24  currie
46
 * NEW DIAG STRUCTURE
47
 *
48
 * Revision 1.1  1995/04/06  10:44:05  currie
49
 * Initial revision
50
 *
51
***********************************************************************/
52
 
53
 
54
 
55
#include "config.h"
56
#include "common_types.h"
57
#include "flags.h"
58
 
59
int do_inlining = 1;		/* apply inlining optimisations */
60
int do_special_fns = 1;		/* replace special functions by tdf
61
				   equivalent operations */
62
int do_loopconsts = 1;		/* optimise constants in loops */
63
int do_foralls = 1;		/* do forall strength reductions */
64
int redo_structfns = 0;		/* reorganise proc calls delivering
65
				   structures */
66
int redo_structparams = 0;	/* reorganise proc calls with struct
67
				   parameters */
68
int diagnose = 0;		/* do diagnostics */
69
int do_profile = 0;		/* put in profiling code */
70
int do_alloca = 1;		/* inline alloca */
71
int all_variables_visible = 0;	/* set vis flag for all declarations */
72
 
73
int  double_align = 32;		/* alignment for 64 bit flpt */
74
int  stack_align = 32;		/* minimum alignment for stack */
75
int  param_align = 32;		/* minimum alignment for parameters */
76
 
77
int extra_checks = 1;		/* do some portability checks */
78
int separate_units = 0;		/* translate units separately */
79
 
80
int writable_strings = 0;	/* string are writable */
81
 
82
int round_after_flop = 0;	/* round after each floating point
83
				   operation */
84
int strict_fl_div = 1;		/* do not replace divisions by
85
				   multiplication by the inverse */
86
 
87
int PIC_code = 0;		/* produce PIC code */
88
 
89
int do_prom = 0;		/* produce PROM code (avoiding .data) */
90
 
91
#ifdef NEWDIAGS
92
int diag_visible = 0;		/* additional visibility if doing diagnostics */
93
int extra_diags = 0;		/* option for extended diagnostics */
94
#endif
95
 
96