gcc/gcc
Richard Kenner d98c1e3389 (RTL_HASH, attr_rtx): Avoid warnings by casting pointers to
HOST_WIDE_INT instead of int.

From-SVN: r1996
1992-08-29 22:41:36 -04:00
..
config (ADJUST_COST): Add definition. 1992-08-28 13:11:06 +00:00
ginclude (__INT_VARARGS_H): Define this to avoid trouble on DG/UX. 1992-08-20 23:17:53 +00:00
objc (build_selector_translation_table): NULL-terminate the selector list. 1992-08-19 02:49:35 +00:00
Makefile.in (sed marker): Use the order {target, host, cross-make}. 1992-08-18 10:51:20 +00:00
PROBLEMS entered into RCS 1992-02-17 18:46:57 +00:00
README-fixinc entered into RCS 1990-01-31 19:06:55 +00:00
README.TRAD entered into RCS 1992-05-28 20:30:28 +00:00
assert.h entered into RCS 1992-07-03 18:42:47 +00:00
basic-block.h entered into RCS 1992-07-06 19:55:04 +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 (truthvalue_conversion): Optionally warn if an 1992-08-14 23:45:09 +00:00
c-convert.c (convert): When converting to variant of same type, fold. 1992-08-14 08:36:14 +00:00
c-decl.c (poplevel): Call `remember_end_note' for each newly created BLOCK node. 1992-08-29 03:19:01 +00:00
c-lang.c entered into RCS 1992-01-18 02:49:40 +00:00
c-lex.c (readescape): For \x, don't include leading 0's in count. 1992-08-27 05:55:33 +00:00
c-lex.h entered into RCS 1992-01-17 22:47:27 +00:00
c-parse.gperf entered into RCS 1992-03-19 10:32:44 -08: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 (C_PROMOTING_INTEGER_TYPE_P): New macro. 1992-07-23 06:06:34 +00:00
c-typeck.c (check_format): DEL isn't printable. 1992-08-27 05:48:11 +00:00
caller-save.c Major rework to have caller-saves emit load/store double insns when... 1992-08-26 13:41:20 -06:00
calls.c (expand_call): Use HOST_WIDE_INT instead of int when comparing a 1992-08-02 21:36:27 -04:00
cccp.c (do_pragma): Use rindex, not strrchr. 1992-08-29 03:47:56 +00:00
cexp.y (NULL_PTR): Use the same definition as 1992-08-14 22:52:00 +00:00
collect2.c Fix typo in last change. 1992-08-17 07:58:51 +00:00
combine.c (subst): When moving operation inside IF_THEN_ELSE, make a new rtx 1992-08-24 06:48:59 -04:00
conditions.h entered into RCS 1992-03-14 05:04:03 +00:00
config.sub Add "alpha". 1992-08-14 15:34:06 -04:00
configure.bat entered into RCS 1992-05-03 21:43:10 +00:00
cpp.1 entered into RCS 1992-01-23 01:00:13 +00:00
cross-make entered into RCS 1992-07-07 01:12:11 +00:00
crtstuff.c entered into RCS 1992-06-04 19:12:25 +00:00
cse.c (find_comparison_args): Look for comparison operations if the second arg is 0 in any mode. 1992-08-19 18:19:34 -04:00
dbxout.c Include output.h. 1992-08-04 04:57:48 +00:00
dbxstclass.h entered into RCS 1992-03-11 22:25:54 +00:00
defaults.h entered into RCS 1992-07-04 03:16:03 +00:00
dostage2 entered into RCS 1992-06-29 04:59:24 +00:00
dwarf.h entered into RCS 1992-07-04 16:32:47 +00:00
dwarfout.c (is_tagged_type): New function added. 1992-07-24 21:13:11 +00:00
emit-rtl.c (insn_emit_once): Provide a zero constant for CC modes. 1992-08-22 10:44:25 +00:00
enquire.c entered into RCS 1992-06-24 03:58:10 +00:00
explow.c (allocate_dynamic_stack_space) [SETJMP_VIA_SAVE_AREA]: 1992-07-17 04:25:27 +00:00
expmed.c (expand_mult): Bound second synth_mult cost by cost of algorithm from 1992-08-17 07:34:23 -04:00
expr.c (emit_library_call): Pass correct number of args to convert_to_mode. 1992-08-29 22:38:56 -04:00
expr.h (sin_optab,cos_optab): Declare optabs for sin and cos. 1992-08-28 01:22:01 +00:00
final.c (final_scan_insn): If 2 consec line notes have same line num, can omit one. 1992-08-25 17:43:28 +00:00
fixcpp entered into RCS 1992-05-07 06:35:33 +00:00
fixinc.svr4 entered into RCS 1992-07-18 04:04:55 +00:00
fixincludes (ansi_compat.h): Replace this with an empty file. 1992-08-18 04:19:17 +00:00
flags.h entered into RCS 1992-07-04 23:29:55 +00:00
flow.c (life_analysis, propagate_block, dump_flow_info): Add more missing 1992-08-14 07:39:24 -04:00
fold-const.c (fold): Do A op C1 ? A : C2 opt only for INTEGER_TYPEs. 1992-08-26 19:45:07 +00:00
function.c (instantiate_decl): New function. 1992-08-19 08:48:39 -04:00
function.h (identify_blocks): Declare. 1992-08-11 12:50:24 -07:00
gbl-ctors.h entered into RCS 1992-07-21 18:49:45 +00:00
gcc.c Add %U to give last %u name. 1992-08-25 17:40:04 +00:00
genattr.c (extend_range, init_range): New functions. 1992-08-25 20:22:38 +00:00
genattrtab.c (RTL_HASH, attr_rtx): Avoid warnings by casting pointers to 1992-08-29 22:41:36 -04:00
gencodes.c entered into RCS 1992-04-27 19:09:11 +00:00
genconfig.c (have_cmove_flag): New variable. 1992-08-19 21:32:51 -04:00
genemit.c (max_operand_1): Treat MATCH_PAR_DUP just like MATCH_OP_DUP. 1992-08-14 14:42:10 -04:00
genextract.c (walk_rtx): Treat MATCH_PAR_DUP just like MATCH_DUP. 1992-08-14 14:43:01 -04:00
genflags.c (num_operands): MATCH_PARALLEL also represents an operand. 1992-08-14 19:36:19 -04:00
genoutput.c (scan_operands): Treat MATCH_PAR_DUP just like MATCH_DUP. 1992-08-14 14:43:28 -04:00
genpeep.c (match_rtx): Treat MATCH_PAR_DUP just like MATCH_DUP. 1992-08-14 14:43:53 -04:00
genrecog.c Compare enums (preds. 1992-08-20 19:35:52 +00:00
getpwd.c Initial revision 1992-08-20 18:49:22 +00:00
glimits.h entered into RCS 1992-05-27 04:36:59 +00:00
global.c entered into RCS 1992-07-06 20:04:10 +00:00
gsyms.h entered into RCS 1992-03-14 05:04:03 +00:00
halfpic.c entered into RCS 1992-07-12 02:40:53 +00:00
halfpic.h entered into RCS 1992-05-06 21:28:15 +00:00
hard-reg-set.h entered into RCS 1992-07-06 19:55:04 +00:00
input.h entered into RCS 1992-06-25 10:49:13 +00:00
integrate.c (adjust_copied_decl_tree): New function. 1992-08-29 03:21:11 +00:00
integrate.h entered into RCS 1992-01-14 11:50:17 +00:00
jump.c (delete_computation): Derived from delete_jump. 1992-08-25 19:20:27 +00:00
libgcc1.c entered into RCS 1992-04-19 21:58:58 +00:00
libgcc2.c (__builtin_new): Cast the result of malloc. 1992-08-23 07:20:15 +00:00
limitx.h entered into RCS 1992-06-28 15:34:25 +00:00
limity.h entered into RCS 1992-06-28 15:34:25 +00:00
local-alloc.c (alloc_qty_for_scratch, block_alloc): Provide alternate code in some cases when REGISTER_CONSTRAINTS is not defined. 1992-08-19 17:06:37 -04:00
longlong.h (__sparclite__): Define umul_ppmm, udiv_qrnnd, and count_leading_zeros for this sparc architecture variant. 1992-08-13 12:17:15 -07:00
loop.c (loop_optimize): Delete uses of loop_number_first_block, 1992-08-11 12:52:01 -07:00
loop.h (loop_number_first_block, loop_number_last_block, 1992-08-11 12:53:15 -07:00
machmode.def Initial revision 1991-05-31 20:43:32 +00:00
machmode.h entered into RCS 1992-07-12 19:40:09 +00:00
make-cc1.com (CC,CFLAGS,LIBS): Add commented command 1992-08-21 06:27:19 +00:00
make-cccp.com (CC,CFLAGS,LIBS): Add commented command variants for bootstrapping gcc-cpp and gcc-cc1 with VAXC. 1992-08-21 06:26:49 +00:00
make-gcc.com entered into RCS 1992-05-07 06:36:49 +00:00
make-l2.com Assemble libgcc2 routines twice, preserving 1992-08-13 21:28:35 +00:00
mips-tdump.c entered into RCS 1992-05-07 06:36:49 +00:00
mips-tfile.c Put include of stdio.h after GCC header files (for i860-stardent-sysv4). 1992-08-20 05:58:18 -04:00
optabs.c (expand_{binop,unop}): Don't make invalid paradoxical SUBREGs. 1992-08-29 22:39:51 -04:00
output.h entered into RCS 1992-07-04 22:47:40 +00:00
pcp.h entered into RCS 1991-05-31 20:45:39 +00:00
print-rtl.c entered into RCS 1992-07-09 11:28:15 -04:00
print-tree.c (print_node): Use HOST_WIDE_INT instead of int when casting pointers 1992-08-02 21:39:37 -04:00
protoize.c Fix spelling errors in comments. 1992-08-14 11:33:04 +00:00
real.h entered into RCS 1992-07-06 19:55:04 +00:00
recog.c entered into RCS 1992-07-06 22:16:17 +00:00
recog.h entered into RCS 1991-12-24 04:02:47 +00:00
reg-stack.c (record_reg_life): Mark an unused reg as such, even if it appears in 1992-08-29 07:33:16 +00:00
regclass.c (regclass): Don't scan the constraints if there aren't any operands. 1992-08-13 20:48:40 +00:00
regs.h entered into RCS 1992-06-24 02:59:40 +00:00
reload.c (find_dummy_reload): Restore original RTX instead of passed IN rtx. 1992-08-21 17:40:27 +00:00
reload.h entered into RCS 1992-07-17 05:56:59 -04:00
reload1.c Compare enums (preds. 1992-08-20 19:35:52 +00:00
reorg.c Enhance to fill the last delay slot of a call with an unconditional jump. 1992-08-26 22:19:37 +00:00
rtl.c entered into RCS 1992-07-06 20:15:06 +00:00
rtl.def entered into RCS 1992-08-25 20:13:49 +00:00
rtl.h (LINK_COST_ZERO, LINK_COST_FREE): New macros. 1992-08-25 20:21:53 +00:00
rtlanal.c entered into RCS 1992-07-06 20:15:06 +00:00
sched.c Add #ifdef INSN_SCHEDULING around variables only used by schedule_insns. 1992-08-25 23:49:54 -07:00
sdbout.c entered into RCS 1992-07-20 03:26:54 +00:00
sort-protos entered into RCS 1991-12-28 00:07:54 +00:00
stack.h entered into RCS 1991-05-31 20:45:39 +00:00
stmt.c (last_block_end_note): New variable. 1992-08-29 03:20:43 +00:00
stor-layout.c (layout_record): Take account of 1992-08-01 18:08:36 +00: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 entered into RCS 1991-12-15 06:01:37 +00:00
toplev.c Fix typo in prev change. 1992-08-23 06:09:33 +00:00
tree.c (chainon): Check for op2 being the last elt of the chain. 1992-08-29 03:11:59 +00:00
tree.h (BLOCK_END_NOTE): Macro definition added. 1992-08-29 03:18:36 +00: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 (copy_loop_body): Add missing declaration of EXIT_LABEL parameter. 1992-08-19 13:37:07 -04:00
varasm.c (assemble_variable): Change error message for unknown size. 1992-08-14 08:10:10 +00:00
vmsconfig.com Rename vms to vax-vms; split long lines. 1992-08-13 21:29:09 +00:00
xcoffout.c * xcoffout.c (assign_type_number): Skip decls with no name. 1992-08-19 01:37:50 +00:00
xcoffout.h entered into RCS 1992-05-22 19:08:06 +00: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.)

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