gcc/gcc
Richard Stallman 5c4d7cfb47 (store_field): If signed bitfield and want value, sign extend.
From-SVN: r2504
1992-10-18 05:09:47 +00:00
..
config (SIZE_TYPE): Fix typo in #ifndef. 1992-10-17 23:27:53 +00:00
ginclude (va_list) [__SVR4_2__]: Don't set or test _VA_LIST. 1992-10-17 07:39:31 +00:00
objc (start_class): For an INTERFACE_TYPE, push to permanent obstack. 1992-10-17 01:37:08 +00:00
Makefile.in (libobjc.a): Don't use $(MAKEFLAGS). 1992-10-17 00:17:56 +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 Delete unused magic cookie comment. 1992-10-06 19:11:20 +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 (declare_function_name): __FUNC__ variables 1992-10-01 19:01:26 +00:00
c-convert.c (convert_to_integer): Don't pass truncation thru lshift if shift count >= width of narrower type. 1992-09-11 07:35:32 +00:00
c-decl.c (shadow_tag_warned): Use pedwarn for useless keyword. 1992-10-06 00:23:17 +00:00
c-lang.c entered into RCS 1992-01-18 02:49:40 +00:00
c-lex.c (yylex): For floats, Use REAL_VALUES_LESS to distinguish underflow from overflow. 1992-10-08 07:13:12 +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-parse.in (component_decl_list): Do pedwarn for missing semicolon after last field decl. 1992-10-07 19:42:30 +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 (lang_identifier): Add limbo_value field for out of scope block level extern declarations. 1992-09-15 17:55:38 -07:00
c-typeck.c (build_unary_op): Address of nested fcn isn't constant. 1992-09-28 16:07:29 +00:00
caller-save.c (setup_save_areas): Don't look at WORDS_BIG_ENDIAN. 1992-09-03 23:25:40 +00:00
calls.c (calls_alloca): Don't look within DECL_INITIAL if it's 0. 1992-10-12 04:35:54 +00:00
cccp.c (cplusplus_comments): New var. 1992-10-17 07:22:43 +00:00
cexp.y (parse_escape): Diagnose '\x' with no digits. 1992-09-17 21:11:17 +00:00
collect2.c (main): If COLLECT_GCC is a relative name, use it anyway. 1992-10-15 06:11:01 +00:00
combine.c (subst): Don't change a conditional branch into a conditional move. 1992-10-13 10:01:01 +00:00
conditions.h (CC_NOT_SIGNED): New macro. 1992-10-12 21:36:50 +00:00
config.sub Add support for a new 64 bit CPU type. Elxsi. 1992-10-15 21:06:27 +00:00
configure.bat Make hconfig.h. 1992-10-13 04:14:27 +00:00
cpp.1 entered into RCS 1992-01-23 01:00:13 +00:00
cross-make (assertdir): Override usual definition. 1992-10-06 20:38:24 +00:00
crtstuff.c entered into RCS 1992-06-04 19:12:25 +00:00
cse.c (cse_insn): Add missing call to apply_change_group. 1992-10-15 16:55:08 -04:00
dbxout.c (dbxout_symbol): For anonymous enum, output type anyway. 1992-09-25 06:26:22 +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
dostage3 entered into RCS 1992-09-18 23:59:45 +00:00
dwarf.h (enum dwarf_attribute): Add At_body_begin and AT_body_end. 1992-10-07 20:24:10 +00:00
dwarfout.c (dwarfout_init... 1992-10-08 10:42:19 +00:00
emit-rtl.c (gen_lowpart_common): Fix typo in last change. 1992-10-17 04:33:09 +00:00
enquire.c entered into RCS 1992-06-24 03:58:10 +00:00
explow.c (allocate_dynamic_stack_space) [MUST_ALIGN]: 1992-10-05 06:27:12 +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 (store_field): If signed bitfield and want value, sign extend. 1992-10-18 05:09:47 +00:00
expr.h (expand_complex_abs): Add declaration. 1992-10-03 18:44:17 +00:00
final.c (output_asm_insn): Advance over the = when processing %=. 1992-10-14 01:21:59 +00:00
fixcpp entered into RCS 1992-05-07 06:35:33 +00:00
fixinc.svr4 (string.h): Remove #defines for other compiler's builtin functions. 1992-10-17 21:21:32 +00:00
fixincludes (stdio.h): Fix va_list when preceeded by a *. 1992-10-13 20:53:10 +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 (distribute_bit_expr): Test for BIT_{AND,IOR}_EXPR. 1992-10-16 02:49:07 +00:00
function.c (find_fixup_replacement): Renamed from find_replacement. 1992-10-16 14:38:26 +00:00
function.h (struct function): New fields const_rtx_hash_table, 1992-10-10 09:44:58 +00:00
gbl-ctors.h entered into RCS 1992-07-21 18:49:45 +00:00
gcc.c Comment added. 1992-09-17 19:47:09 +00:00
genattr.c Include hconfig.h, not config.h. 1992-10-13 04:24:45 +00:00
genattrtab.c Include hconfig.h, not config.h. 1992-10-13 04:24:45 +00: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 Include hconfig.h, not config.h. 1992-10-13 04:24:45 +00:00
genextract.c Include hconfig.h, not config.h. 1992-10-13 04:24:45 +00:00
genflags.c Include hconfig.h, not config.h. 1992-10-13 04:40:12 +00:00
genoutput.c Include hconfig.h, not config.h. 1992-10-13 04:40:12 +00:00
genpeep.c Include hconfig.h, not config.h. 1992-10-13 04:40:12 +00:00
genrecog.c Include hconfig.h, not config.h. 1992-10-13 04:40:12 +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
gsyslimits.h Add comment. 1992-09-24 06:58:57 +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 (expand_inline_function): Convert actual to formal's mode (in case formal 1992-09-19 15:47:55 -04:00
integrate.h entered into RCS 1992-01-14 11:50:17 +00:00
jump.c (jump_optimize): Don't optimize jumps to store-flag insns 1992-10-14 04:21:51 +00:00
libgcc1.c entered into RCS 1992-04-19 21:58:58 +00:00
libgcc2.c [L_ctors] (__CTOR_LIST__, __DTOR_LIST__): 1992-10-15 08:25:16 +00:00
limitx.h Use <...> in #include. 1992-09-29 21:29:17 +00:00
limity.h entered into RCS 1992-06-28 15:34:25 +00:00
local-alloc.c (optimize_reg_copy_1): Tighten up code to properly handle the case when... 1992-10-09 07:28:53 -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): Verify that max_uid_for_loop is still larger than the uid of any insn. 1992-10-13 18:45:45 +00: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 Correct previous patch. 1992-10-17 03:44:53 +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 Allow spaces in tag names. 1992-10-15 18:29:53 +00:00
optabs.c (init_optabs): Use cabs as the only libcall for abs. 1992-10-05 06:28:37 +00: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 (reg_names): Make it static. Use DEBUG_REGISTER_NAMES if that's defined. 1992-10-14 04:23:52 +00:00
print-tree.c (print_node): Don't print blank line for null fields in a TREE_VEC. 1992-09-15 18:13:47 -07: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 (general_operand, immediate_operand, const_double_operand): Allow CONST_INT with MODE_PARTIAL_INT. 1992-10-11 16:27:23 -04: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 (reg_names): Reinstate the definition here. 1992-10-12 22:21:04 +00:00
regs.h entered into RCS 1992-06-24 02:59:40 +00:00
reload.c (find_reloads_address): Redo last change: copy the mem 1992-10-18 00:49:34 +00:00
reload.h entered into RCS 1992-07-17 05:56:59 -04:00
reload1.c (allocate_reload_reg): Always check for asm 1992-10-05 06:37:26 +00:00
reorg.c Fix typo in comment at start of file. 1992-10-14 18:17:05 -04:00
rtl.c (note_insn_name): Fix typo: had NOT_INSN_DELETED_LABEL. 1992-09-19 15:54:05 -04:00
rtl.def entered into RCS 1992-08-25 20:13:49 +00:00
rtl.h (simplify_subtraction): Declared. 1992-10-12 08:27:35 +00:00
rtlanal.c (single_set): fix typo in REG_UNUSED check. 1992-10-14 04:02:16 +00:00
sched.c (sched_note_set): Set subreg_p for anything except a paradoxical subreg. 1992-10-14 15:57:42 -07:00
sdbout.c Don't use system syms.h on hpux. 1992-09-30 21:28:24 +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 (POPSTACK): Pop discarded elts off all the stacks as we go. 1992-10-09 16:59:32 +00:00
stor-layout.c (layout_type): Caller must give size of FILE_TYPE. 1992-09-09 06:28: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 (va_alist): Supply `int' as the type to define it as. 1992-09-12 01:10:28 +00:00
toplev.c (main): Recover correctly from invalid -Wid-clash option. 1992-10-07 08:03:02 +00:00
tree.c (int_fits_type_p): Negative ints never fit unsigned 1992-09-15 21:37:22 +00:00
tree.h (TREE_VIA_PROTECTED): Set protected_flag, not static_flag. 1992-10-05 18:39:55 -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 (copy_loop_body, JUMP_INSN case): Delete abort in the 1992-10-06 17:20:41 -07:00
varasm.c (output_addressed_constants): Handle NON_LVALUE_EXPR. 1992-10-16 08:35:42 +00:00
vmsconfig.com Make hconfig.h. 1992-10-13 04:22:19 +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.)

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