gcc/gcc
Tom Wood 237de4b2ff (ASM_FILE_START): Don't output a .file directive.
That's used by the assembler for error reporting.

From-SVN: r4190
1993-04-22 11:46:07 +00:00
..
config (ASM_FILE_START): Don't output a .file directive. 1993-04-22 11:46:07 +00:00
ginclude (va_arg): Cast argument pointer to (char *). 1993-04-06 18:33:35 -07:00
objc Rename and add types and constants 1993-04-15 17:30:36 +00:00
Makefile.in objc-headers: Ensure objc dir exists. 1993-04-16 20:54:08 +00:00
PROBLEMS entered into RCS 1992-02-17 18:46:57 +00:00
PROJECTS entered into RCS 1992-10-20 21:12:16 +00:00
README-fixinc entered into RCS 1990-01-31 19:06:55 +00:00
README.ALTOS entered into RCS 1993-04-06 19:23:20 +00:00
README.TRAD entered into RCS 1992-05-28 20:30:28 +00:00
assert.h Delete unused magic cookie comment. 1992-10-06 19:11:20 +00:00
basic-block.h (reg_basic_block): Now int *, not short *. 1993-04-17 17:42:15 -04:00
build-make (CC): Delete the -V option. 1992-12-19 22:52:27 +00:00
c-aux-info.c (gen_type): For array type, state the size. 1992-07-20 01:53:57 +00:00
c-common.c (decl_attributes... 1993-04-06 12:30:45 -07:00
c-convert.c (convert): Handle conversion to complex type. 1993-03-04 19:42:13 +00:00
c-decl.c (finish_struct): Promote unsigned bitfield to signed int 1993-04-18 03:35:35 +00:00
c-iterate.c (collect_iterators): Cast tree code to int for indexing. 1993-03-29 18:57:45 +00:00
c-lang.c (maybe_objc_comptypes): Return 0 (incompatible) rather than 2 (similar enough) as the default. 1993-04-14 17:32:18 +00:00
c-lex.c *** empty log message *** 1993-04-09 23:12:37 +00:00
c-lex.h (RID_IN, RID_OUT, RID_INOUT, RID_BYCOPY, RID_ONEWAY, 1993-04-09 23:06:58 +00:00
c-parse.gperf Incorporate the Objective-C keywords from 1993-04-09 23:07:39 +00:00
c-parse.in (unary_expr): Delete the alternate REALPART and IMAGPART rules with explicit parens. 1993-04-18 03:37:03 +00:00
c-pragma.c (HANDLE_PRAGMA_WEAK): Define only if SET_ASM_OP defined. 1992-08-01 18:18:31 +00:00
c-tree.h Add declarations for functions in objc-act.c. 1993-04-09 23:10:47 +00:00
c-typeck.c Comment change. 1993-04-14 17:29:55 +00:00
caller-save.c Add prototypes for static functions. 1993-03-26 17:29:57 -05:00
calls.c (expand_call): Use new FUNCTION_ARG_CALLEE_COPIES macro. 1993-04-19 19:24:23 +00:00
cccp.c (no_precomp): Make it 1 by default. 1993-04-09 21:42:29 +00:00
cexp.y (parse_escape): Delete case for '^'. 1993-02-27 04:12:36 +00:00
collect2.c (main, scan_prog_file): Don't call signal on signal names that aren't 1993-04-13 17:07:04 -04:00
combine.c (reg_last_set_label, reg_last_set_table_tick, label_tick): Use int, 1993-04-17 17:43:26 -04:00
conditions.h (CC_NOT_SIGNED): New macro. 1992-10-12 21:36:50 +00:00
config.sub > Default to bsd if vendor is next. 1993-04-09 23:43:20 +00:00
configure.bat Updated to handle current Makefile and new config/i386/go32.h. 1993-04-09 21:43:42 +00:00
convert.c (convert_to_real): Pass mode arg to REAL_VALUE_ATOF. 1993-03-31 07:02:59 +00:00
convert.h (convert_to_complex): Declared. 1993-03-04 21:18:47 +00:00
cpp.1 entered into RCS 1992-01-23 01:00:13 +00:00
cross-make Build include files in build directory when doing make all. 1993-01-14 20:10:31 +00:00
crtstuff.c (__do_global_ctors_aux): Use FORCE_INIT_SECTION_ALIGN 1993-02-05 15:41:52 -08:00
cse.c (simplify_binary_operation... 1993-03-31 15:57:24 -05:00
dbxout.c (dbxout_symbol): Last arg to eliminate_regs is NULL_RTX. 1993-04-13 17:10:52 -04:00
dbxstclass.h entered into RCS 1992-03-11 22:25:54 +00:00
defaults.h Added front-end taggint to object files. 1993-03-25 08:51:26 +00:00
dostage2 entered into RCS 1992-06-29 04:59:24 +00:00
dostage3 entered into RCS 1992-09-18 23:59:45 +00:00
dwarf.h (AT_lo_user, AT_hi_user): Fix defined values to be correct according 1993-04-21 17:45:44 -04:00
dwarfout.c (location_or_const_value_attribute): Fixed to use DECL_INCOMING_RTL for PARM_DECLs only when DECL_RTL isn't usable... 1993-04-21 18:14:38 -04:00
emit-rtl.c emit-rtl.c (init_emit): Clear sequence_stack. 1993-03-31 23:32:39 -08:00
enquire.c (fake_f_rep): Clear all of u, initially. 1993-03-02 07:01:45 +00:00
explow.c (emit_stack_save): At end, call validize_mem when inside sequence. 1993-04-12 12:48:02 -07:00
expmed.c (expand_divmod): When adjusting op0 for trunc_div or trunc_mod... 1993-04-11 08:08:54 +00:00
expr.c Edit comment. 1993-04-13 17:07:22 -04:00
expr.h (FUNCTION_ARG_PADDING): Add parens to make clearer. 1993-04-17 17:40:16 -04:00
final.c (split_double) : Use REAL_VALUE macros to extract ints 1993-03-31 05:46:40 +00:00
fixcpp entered into RCS 1992-05-07 06:35:33 +00:00
fixinc.sco Use pwd if PWDCMD is not defined 1993-02-25 15:39:05 +00:00
fixinc.svr4 (string.h): Delete 'g' from sed command. 1993-02-24 13:06:04 -08:00
fixincludes Don't put #ifndefs in limits.h if they are already there 1993-04-09 19:12:20 +00:00
flags.h calls.c (expand_call): Check warn_inline before complaining about not being able to inline a fn... 1993-04-16 21:42:17 -04:00
flow.c (uid_block_number): Likewise. 1993-04-17 17:42:44 -04:00
fold-const.c (size_int): NUMBER is unsigned so don't test for negative. 1993-04-13 17:16:37 -04:00
function.c (assign_parms): Use mode of type, not BLKmode. 1993-04-21 00:31:18 +00:00
function.h (struct function): Add apply_args_value field. 1993-03-23 12:54:30 +00:00
gbl-ctors.h entered into RCS 1992-07-21 18:49:45 +00:00
gcc.c (putenv): Make result type void. 1993-04-13 17:17:19 -04:00
genattr.c * genattr.c (main): Output ATTR_FLAG masks. 1993-03-28 14:22:00 -07:00
genattrtab.c (clear_struct_flag): Add void return type defn. 1993-04-13 15:46:38 -04:00
gencodes.c Include hconfig.h, not config.h. 1992-10-13 04:24:45 +00:00
genconfig.c Include hconfig.h, not config.h. 1992-10-13 04:24:45 +00:00
genemit.c (gen_split): Initialize _val in generated function. 1992-12-29 06:56:33 -05:00
genextract.c (main): Remove extra arg to printf call. 1993-04-13 17:19:54 -04:00
genflags.c Include hconfig.h, not config.h. 1992-10-13 04:40:12 +00:00
genopinit.c (optabs): Fix typo in name for "fix" pattern. 1993-04-02 07:48:55 -05:00
genoutput.c (have_error): New variable. 1992-12-27 18:30:25 -05:00
genpeep.c Include hconfig.h, not config.h. 1992-10-13 04:40:12 +00:00
genrecog.c Add prototypes for all functions defined in file. 1993-03-29 16:16:35 -05:00
getpwd.c entered into RCS 1992-12-19 06:32:08 +00:00
glimits.h entered into RCS 1992-05-27 04:36:59 +00:00
global.c (find_reg): Add comment about nonlocal labels. 1993-01-19 18:24:27 -05:00
gsyms.h entered into RCS 1992-03-14 05:04:03 +00:00
gsyslimits.h Add comment. 1992-09-24 06:58:57 +00:00
halfpic.c Fix unknown symbol error when linking gen* programs. 1993-01-06 03:12:17 +00:00
halfpic.h Fix recent change for prototypes. 1993-03-21 21:29:57 +00:00
hard-reg-set.h entered into RCS 1992-07-06 19:55:04 +00:00
input.h Add standard copyright notice. 1993-03-26 19:19:59 -05:00
integrate.c (integrate_parm_decls): Copy the DECL_ARG_TYPE value from the PARM_DECL being... 1993-04-21 18:13:54 -04:00
integrate.h Add prototypes. 1993-03-19 18:17:20 -08:00
jump.c (same_regs): Now arrays of ints. 1993-04-17 17:44:20 -04:00
libgcc1.c (__eqdf2, __nedf2, __gtdf2, __gedf2, __ltdf2, __ledf2, 1993-01-19 17:06:43 -08:00
libgcc2.c (XFtype): Do define it, if LONG_DOUBLE_TYPE_SIZE == 96. 1993-04-04 07:18:03 +00:00
limitx.h Test and define _GCC_LIMITS_H_, not _LIMITS_H_. 1992-11-30 23:08:48 +00:00
limity.h Test and define _GCC_LIMITS_H_, not _LIMITS_H_. 1992-11-30 23:08:48 +00:00
local-alloc.c (qty_n_refs): Make int, like reg_n_refs. 1993-04-16 20:24:06 -04:00
longlong.h Use %/ before register names in 68000 version of umul_ppmm. 1993-01-28 15:55:26 +00:00
loop.c * loop.c (addr_overlap_p): Delete. 1993-03-11 05:45:54 -07:00
loop.h Add prototypes. 1993-03-19 18:17:20 -08:00
machmode.def Add complex integer modes. 1993-03-04 19:43:38 +00:00
machmode.h Add prototypes. 1993-03-19 18:17:20 -08:00
make-cc1.com change /include and -I values from [.config] to [.config.] (this trailing... 1993-01-28 06:55:47 -05:00
make-cccp.com change /include and -I values from [.config] to [.config.] (this trailing... 1993-01-28 06:55:47 -05:00
make-gcc.com entered into RCS 1992-05-07 06:36:49 +00:00
make-l2.com change /include and -I values from [.config] to [.config.] (this trailing... 1993-01-28 06:55:47 -05:00
mips-tdump.c Fix printing multiple file section. 1993-01-13 17:02:41 +00:00
mips-tfile.c Change "illegal" to "invalid" in error messages. 1993-04-04 22:47:36 +00:00
optabs.c Include reload.h. 1993-04-04 18:14:12 -04:00
output.h Use STDIO_PROTO for prototypes with FILE. 1993-03-26 19:20:31 -05:00
pcp.h entered into RCS 1991-05-31 20:45:39 +00:00
print-rtl.c Added debugging utilities debug_rtx_list to print several rtx's and... 1993-01-26 00:30:34 +00:00
print-tree.c (print_node): Use (struct rtx_def *), not (rtx). 1993-04-14 15:24:11 -04:00
protoize.c Include gvarargs.h before system headers. 1993-01-31 17:43:09 +00:00
real.c Eliminate extern needed warning messages that the MIPS compiler generates. 1993-04-01 16:58:13 +00:00
real.h If REAL_ARITHMETIC is defined or if LONG_DOUBLE_TYPE_SIZE is 96... 1993-03-31 05:39:37 +00:00
recog.c (constrain_operands, case 'r'): If STRICT, a REG isn't valid if it is 1993-02-26 15:12:16 -05:00
recog.h Add prototypes.h 1993-03-19 18:14:45 -08:00
reg-stack.c (block_number, BLOCK_NUM, reg_to_stack): Use ints, not shorts to count 1993-04-17 17:44:50 -04:00
regclass.c record_reg_classes): When an alternative requires a match... 1993-03-23 20:18:04 -05:00
regs.h Change global-alloc.c to global.c. 1992-10-20 14:15:03 -07:00
reload.c (form_sum): Use mode of inputs when making new PLUS. 1993-03-30 15:34:11 -05:00
reload.h Add missing declarations for external functions in reload.c, reload1.c, 1993-03-29 06:28:45 -05:00
reload1.c (last_spill_reg): Add missing "int". 1993-04-16 17:55:33 -04:00
reorg.c (add_to_delay_list): Clear any cached block information for INSN. 1993-04-11 09:24:02 -04:00
rtl.c Include real.h to get the definition of REAL_VALUE_TYPE. 1993-03-31 05:50:32 +00:00
rtl.def * rtl.def (ATTR_FLAG): New RTL code. 1993-03-28 14:22:43 -07:00
rtl.h (xmalloc): Don't use prototype for now. 1993-04-13 17:21:03 -04:00
rtlanal.c (find_regno_note): Find note that overlaps REGNO, not just one that 1993-03-30 15:36:43 -05:00
sched.c (sched_analyze_1): Extra arg in anti_dependence call. 1993-04-13 17:21:21 -04:00
sdbout.c Treat QUAL_UNION_TYPE like UNION_TYPE when seeing if aggregate. 1993-04-13 06:47:33 -04:00
sort-protos entered into RCS 1991-12-28 00:07:54 +00:00
stack.h Add prototypes. 1993-03-19 18:17:20 -08:00
stmt.c Treat QUAL_UNION_TYPE like UNION_TYPE when seeing if aggregate. 1993-04-13 06:47:33 -04:00
stor-layout.c (layout_union): Handle QUAL_UNION_TYPE. 1993-04-13 06:48:10 -04:00
stupid.c entered into RCS 1992-03-14 05:17:02 +00:00
sys-protos.h entered into RCS 1991-12-10 02:18:56 +00:00
sys-types.h (va_alist): Supply `int' as the type to define it as. 1992-09-12 01:10:28 +00:00
toplev.c (main): Don't call signal for undefined signal names. 1993-04-13 17:21:50 -04:00
tree.c (next_type_uid): Move definition to reasonable place. (copy_node): 1993-03-31 16:03:25 -05:00
tree.def (QUAL_UNION_TYPE): New tree code. 1993-04-13 06:34:08 -04:00
tree.h (xmalloc): Don't use prototype for now. 1993-04-13 17:21:03 -04:00
typeclass.h entered into RCS 1989-08-13 19:24:27 +00:00
unprotoize.c entered into RCS 1992-05-17 19:11:07 +00:00
unroll.c (loop_iterations): When computing comparison_value, use 1993-04-06 12:38:34 -07:00
varasm.c (make_var_volatile): Return type is void. 1993-04-13 17:22:16 -04:00
vmsconfig.com When making tm.h from config/vax/vms.h, change 1993-03-21 18:59:52 +00:00
xcoffout.c (xcoffout_declare_function): Call dbxout_source_file 1993-03-19 18:05:32 -08:00
xcoffout.h (DEBUG_SYMS_TEXT): Define. 1993-03-19 18:06:21 -08:00

README.TRAD

This is a partial list of how `gcc -traditional' disagrees with
traditional C compilers (perhaps only some of them).  Most of these
differences are not bugs.

---------------------------------------------------------------------------
K&R-1 (2.4.3) says:

	"If the character following a backslash is not one of those
	specified {in the table above}, the backslash is ignored."

Up until recently, `gcc -traditional' complained about \x \a and \v
appearing in a character or string literal.  I believe however that
this non-feature has been eliminated (recently).

---------------------------------------------------------------------------
When in -traditional mode, gcc allows the following erroneous pair of
declarations to appear together in a given scope:

	typedef int foo;
	typedef foo foo;

---------------------------------------------------------------------------
K&R-1 (8.5) says:

	"No field may be wider than a word."

Gcc however allows:

	struct S { int i:33; };

---------------------------------------------------------------------------
In K&R-1 there is no restriction against comments crossing include file
boundaries.  Gcc however doesn't allow this, even when in -traditional mode.

---------------------------------------------------------------------------
Regarding the length of identifiers, K&R-1 (2.2) says:

	"No more than the first eight characters are significant,
	although more may be used."

Gcc treats all characters of identifiers as significant, even when in
-traditional mode.

---------------------------------------------------------------------------
K&R-1 (2.2) says:

	"An identifier is a sequence of letters and digits; the first
	character must be a letter.  The underscore _ counts as a letter."

Gcc also allows dollar signs in identifiers.  (This may also be an issue
for the -pedantic option.)

---------------------------------------------------------------------------