2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-03-28 23:41:04 +08:00

9659 Commits

Author SHA1 Message Date
Per Bothner
3232050ccc Fix reporting of unterminated strings.
From-SVN: r9637
1995-05-12 01:13:44 -07:00
Jim Wilson
9dcdcbeb11 (MD_STARTFILE_PREFIX, MD_EXEC_PREFIX,
STARTFILE_SPEC, LINK_SPEC): Define.

From-SVN: r9636
1995-05-11 23:19:57 -07:00
Per Bothner
e8037d57d4 cpplib.c (line_for_error): Make it work; add extra parameter.
* cpplib.c (line_for_error):  Make it work; add extra parameter.
(skip_quoted_string, cpp_get_token):  Update calls to line_for_error.
(macroexpand):  Remember initial line so we can report it if the
call is unterminated.  Also, simplify error logic slightly.
(do_include):  Cast alloca return value, to avoid pcc warning.

From-SVN: r9635
1995-05-11 19:33:33 -07:00
Per Bothner
8f4686fad5 * cppexp.c (parse_number): Cleanup some Cygnus crud for MPW.
From-SVN: r9634
1995-05-11 19:18:36 -07:00
Torbjorn Granlund
1aa8bf84f9 OK, this is what I really wanted to install...
From-SVN: r9633
1995-05-12 01:39:52 +00:00
Torbjorn Granlund
ca01dc12dd (i960_output_ldconst): Let split_double handle DImode.
(i960_print_operand): Use REAL_VALUE_TO_DECIMAL for decimal strings.
(i960_output_double, i960_output_float):  Likewise; also change arg
VALUE from `double' to `REAL_VALUE_TYPE'.

From-SVN: r9632
1995-05-12 01:36:45 +00:00
Per Bothner
009eaef6a0 * cpperror.c (cpp_print_containing_files): Remove some Cygnus-local stuff.
From-SVN: r9631
1995-05-11 18:10:55 -07:00
Doug Evans
7e2b9499e2 (link_command_spec): Make -nostdlib no longer imply -nostartfiles.
From-SVN: r9630
1995-05-12 01:06:03 +00:00
Per Bothner
b594fdb7dc Recognize PCs running Solaris2. Also, some cleaning up for CRAYs.
From-SVN: r9629
1995-05-11 17:19:09 -07:00
Richard Kenner
67b0763ea8 (nested_function, notype_nested_function): Allow old-style arg
definitions (use xdecls).

From-SVN: r9628
1995-05-11 19:27:13 -04:00
Richard Kenner
9a381dd472 (grokdeclarator): Use PARM_FLAG to see if should make PARM_DECL.
From-SVN: r9627
1995-05-11 19:26:45 -04:00
Richard Kenner
868fc7506b (convert_and_check): Don't diagnose overflow in constant expression
merely because conversion overflowed.

From-SVN: r9626
1995-05-11 18:48:51 -04:00
Richard Kenner
5be1df77c9 (finish_struct): Properly update DECL_PACKED.
From-SVN: r9625
1995-05-11 18:43:43 -04:00
Jason Merrill
fd378c9ddf 70th Cygnus<->FSF merge
From-SVN: r9624
1995-05-11 21:36:16 +00:00
Jason Merrill
0982a4b872 *** empty log message ***
From-SVN: r9623
1995-05-11 19:25:36 +00:00
Jim Wilson
f5acdcc178 Initial revision
From-SVN: r9622
1995-05-11 11:42:41 -07:00
Jim Wilson
6ae1498b9b (LOCAL_LABEL_PREFIX, USER_LABEL_PREFIX): Define.
(PUT_SDB_BLOCK_START, PUT_SDB_BLOCK_END, ASM_OUTPUT_LABEL_REF,
ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL,
ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Use them.

From-SVN: r9621
1995-05-11 11:34:32 -07:00
Jim Wilson
dccc9e8544 (mips_output_lineno): Use LOCAL_LABEL_PREFIX.
From-SVN: r9620
1995-05-11 11:31:37 -07:00
Jim Wilson
58add97ac9 (output_decl): Don't output DIE for struct or union type
with no name or with ERROR_MARK for the fields.

From-SVN: r9619
1995-05-11 11:21:22 -07:00
Michael Meissner
e100a3bb5d Eliminate dead code caused by last patch
From-SVN: r9618
1995-05-11 13:46:51 +00:00
Michael Meissner
08664dffb2 Do not segfault if SUBREG uses something other than REG.
From-SVN: r9617
1995-05-11 13:37:44 +00:00
Richard Kenner
201012cbf9 (do_jump, case EX_EXPR, NE_EXPR): Fix typo for complex.
From-SVN: r9616
1995-05-11 06:44:14 -04:00
Michael Meissner
640f9b45a6 Little endian support.
From-SVN: r9615
1995-05-10 21:37:55 +00:00
Michael Meissner
2f3d1876ff Do not build -mmultiple/-mno-multiple libgcc.a variants
From-SVN: r9614
1995-05-10 20:30:43 +00:00
Michael Meissner
75814ad4c6 Add little endian PowerPC support.
From-SVN: r9613
1995-05-10 18:26:30 +00:00
Doug Evans
8f28aa336e * Makefile.in (libgcc1-test): Tell the user to ignore warnings.
From-SVN: r9612
1995-05-10 18:22:00 +00:00
Doug Evans
0d5b1231b3 * libgcc1-test.c (main_without__main): Renamed from `main'.
From-SVN: r9611
1995-05-10 18:21:05 +00:00
Richard Kenner
7f5b8ca768 Add declarations of static functions.
(unroll_loop): Renumber reg local to loop for each unrolled iteration.

From-SVN: r9610
1995-05-10 10:33:50 -04:00
Richard Kenner
0af3ee306a (alpha_set_emit_const): Cleanups to work properly when run on 32-bit
host.

From-SVN: r9609
1995-05-10 08:31:01 -04:00
Richard Kenner
7ac16ba05b (out_file, md_file, tm_file, {build,host}_xm_file):
New symbols, to be overridden by configure.
(insn-*): Use $(md_file), not md.
(aux-output.o): Use $(out_file), not aux-output.c.
($(MD_FILE)): Rework to use new conventions.
(gen*.o, bi-*.o): Depend on $(build_xm_file), not hconfig.h.
(scan.o, fix-header.o, scan-decls.o): Likewise.
(distclean): Adjust files removed for new convention.

From jason@cygnus.com:
(STAGESTUFF): Add underscore.c.
(underscore.c): Rename temporary files to begin with 'tmp-' so that they will
be removed by 'make mostlyclean'.

From-SVN: r9608
1995-05-10 08:26:52 -04:00
Jason Merrill
046b1537a0 (LIBGCC_SPEC): Do link with libgcc when -shared.
From-SVN: r9607
1995-05-10 05:49:16 +00:00
Mike Stump
863adfc08e 69th Cygnus<->FSF merge
From-SVN: r9606
1995-05-10 02:58:06 +00:00
Mike Stump
f8e48ed4b8 * toplev.c (lang_options): Add new flag -ffor-scope.
From-SVN: r9605
1995-05-10 02:22:23 +00:00
Richard Kenner
df27f225b7 (objc_init_statics): Fix missing part of last change.
From-SVN: r9604
1995-05-09 19:11:43 -04:00
Richard Kenner
f17dfa938d Use <xxx> in #include.
From-SVN: r9603
1995-05-09 18:25:08 -04:00
Richard Kenner
e24bbdfe77 Use <xxx> for #include.
From-SVN: r9602
1995-05-09 18:20:29 -04:00
Richard Kenner
a3af1109cc Use <xx> in #include.
From-SVN: r9601
1995-05-09 18:09:20 -04:00
Michael Meissner
fbe94aa1a3 Add powerpc little endian support; Add powerpc variants; Add pentium variants
From-SVN: r9600
1995-05-09 20:22:38 +00:00
Jason Merrill
788d9012ad *** empty log message ***
From-SVN: r9599
1995-05-09 19:42:41 +00:00
Jim Wilson
25f5b13e9d (__ashrsi3, __ashlsi3, __lshrsi3): Use .byte instead
of .word offsets in switch table.

From-SVN: r9598
1995-05-09 11:07:54 -07:00
Richard Kenner
a142e7ccfe (__objc_send_initialize): Call superclass if object does not implement
+initialize.

From-SVN: r9597
1995-05-09 11:44:43 -04:00
Jason Merrill
fa1b14518a *** empty log message ***
From-SVN: r9596
1995-05-09 10:22:18 +00:00
Jason Merrill
cbbbd91755 AIX shared libraries
From-SVN: r9595
1995-05-09 10:21:13 +00:00
Jason Merrill
d2eb08764b (declare_hidden_char_array): Mark decl artificial.
From-SVN: r9594
1995-05-09 10:06:32 +00:00
Richard Kenner
a4137a04de (_objc_load_callback): Add declaration.
From-SVN: r9593
1995-05-08 18:13:53 -04:00
Richard Kenner
d8a55d0960 (_objc_load_callback): Add declaration.
(__objc_exec_class): Call _objc_load_callback after every Class or Category
is added.

From-SVN: r9592
1995-05-08 18:13:33 -04:00
Richard Kenner
1125706fe4 (expand_expr, case INDIRECT_REF): Set RTX_UNCHANGING_P if both
TREE_READONLY and TREE_STATIC set.

From-SVN: r9591
1995-05-08 17:59:41 -04:00
Richard Kenner
d949d5dfde (convert_for_assignment): Don't give errors about adding const or
volatile unless both sides point to functions.

From-SVN: r9590
1995-05-08 17:56:12 -04:00
Jason Merrill
1907795ecd (expand_call): Improve -Winline warnings.
From-SVN: r9589
1995-05-08 00:51:46 +00:00
Richard Kenner
b377f1cdae Add support for win32's stdcall functions.
From-SVN: r9588
1995-05-07 17:28:23 -04:00