Commit Graph

16269 Commits

Author SHA1 Message Date
Andrew MacLeod
5e5199e86c cplus-dem.c: Add code to enable demangling of names produced with the -fsquangle option.
* cplus-dem.c:  Add code to enable demangling of names produced
                with the -fsquangle option.

From-SVN: r19371
1998-04-22 08:04:13 +00:00
Andreas Schwab
ce5b6870d1 * mt-linux (CXXFLAGS_FOR_TARGET): Set this instead of CXXFLAGS.
From-SVN: r19370
1998-04-22 01:54:53 +00:00
Mark Mitchell
61cd123468 * decl2.c (grokfield): Remangle the name of a member TYPE_DECL.
From-SVN: r19369
1998-04-21 22:08:05 +00:00
Mark Mitchell
1701f21e52 decl2.c (check_member_template): Set DECL_IGNORED for member class templates, too.
* decl2.c (check_member_template): Set DECL_IGNORED for member
	class templates, too.

From-SVN: r19368
1998-04-21 22:03:34 +00:00
Mark Mitchell
fb1653e1f8 * errfn.c (cp_thing): Use xrealloc, not xmalloc, to copy memory.
From-SVN: r19367
1998-04-21 21:55:45 +00:00
Benjamin Kosnik
1c2c795e97 *** empty log message ***
From-SVN: r19366
1998-04-21 19:45:53 +00:00
Benjamin Kosnik
a147412ac1 /
tests for g++/15307 and -Wredundant-decls

From-SVN: r19365
1998-04-21 19:45:53 +00:00
Jim Wilson
0dacbd0e17 Fix fortran failure reported by Craig Burley.
* stmt.c (check_seenlabel): When search for line number note for
	warning, handle case where there is no such note.

From-SVN: r19364
1998-04-21 12:43:55 -07:00
Benjamin Kosnik
2c5873953f decl.c (duplicate_decls): Only check DECL_FRIEND_P if function.
* decl.c (duplicate_decls): Only check DECL_FRIEND_P if function.
g++/15307 redux

From-SVN: r19363
1998-04-21 19:08:48 +00:00
Benjamin Kosnik
70233af32f decl.c (duplicate_decls): Only check DECL_FRIEND_P if function.
8
* decl.c (duplicate_decls): Only check DECL_FRIEND_P if function.
g++/15307 redux

From-SVN: r19362
1998-04-21 19:08:46 +00:00
Jason Merrill
dbf5190486 * typeck.c (convert_for_assignment): Fix handling of pmfs.
From-SVN: r19361
1998-04-21 14:05:35 -04:00
Jason Merrill
3d879eacbb (convert_for_assignment): Fix handling of pmfs.
From-SVN: r19360
1998-04-21 14:05:17 -04:00
John Carr
4ceb7595d9 genemit.c (gen_exp): Allow machine description to set mode of MATCH_OP_DUP.
* genemit.c (gen_exp): Allow machine description to set mode of
	MATCH_OP_DUP.

From-SVN: r19359
1998-04-21 17:50:21 +00:00
Jeffrey A Law
d1c1757292 mips.h (STACK_BOUNDARY): Allow specific targets to override.
* mips.h (STACK_BOUNDARY): Allow specific targets to override.
        (MIPS_STACK_ALIGN): Similarly.

From-SVN: r19358
1998-04-21 09:00:15 -06:00
John Carr
d09c938561 alias.c (mode_alias_check): New function.
* alias.c (mode_alias_check): New function.
	(true_dependence, anti_dependence, output_dependence): Call
	mode_alias_check.

From-SVN: r19357
1998-04-21 13:51:41 +00:00
Jeffrey A Law
f7554e8cff cp-tree.h (intTI_type_node, [...]): Declare.
* cp-tree.h (intTI_type_node, unsigned_intTI_type_node): Declare.
        * decl.c (intTI_type_node, unsigned_intTI_type_node): Define.
        (init_decl_processing): Handle TI types.
        * typeck.c (unsigned_type, signed_type): Handle TI types.

From-SVN: r19356
1998-04-21 07:27:12 -06:00
Jeffrey A Law
a6d7e15639 c-common.c (type_for_mode): Handle TI types.
* c-common.c (type_for_mode): Handle TI types.
        * c-decl.c (intTI_type_node, unsigned_int_TI_type_node): Define.
        (init_decl_processing): Handle TI types.
        * c-tree.h (intTI_type_node, unsigned_int_TI_type_node): Declare.

From-SVN: r19355
1998-04-21 07:25:56 -06:00
Jeffrey A Law
1eeed24eb2 mips.c (block_move_loop): Test Pmode == DImode instead of TARGET_MIPS64.
* mips.c (block_move_loop): Test Pmode == DImode instead of
        TARGET_MIPS64.
        (expand_block_move, save_restore_insns): Likewise.
        (function_prologue, mips_expand_prologue): Likewise.
        (mips_expand_epilogue): Likewise.
        * mips.h (POINTER_SIZE): Allow specific targets to override.
        (Pmode): Allow specific targets to override.
        (FUNCTION_PROFILER): Test Pmode == DImode instead of TARGET_MIPS64
        (POINTER_BOUNDARY, FUNCTION_MODE): Likewise.
        (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
        (TRAMPOLINE_ALIGNMENT, INITIALIZE_TRAMPOLINE): Likewise.
        (CASE_VECTOR_MODE, ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
        (ASM_OUTPUT_ADDR_DIFF_ELT, SIZE_TYPE, PTRDIFF_TYPE): Likewise.
        * mips.md (indirect, tablejump & casesi support): Test for
        Pmode == DImode instead of TARGET_MIPS64.
        (call patterns): Likewise.

From-SVN: r19354
1998-04-21 05:07:59 -06:00
Kaveh R. Ghazi
d2f5ef7012 Fixes a problem compiling on sparcs where STRUCT_VALUE is defined in sparc.h to...
Fixes a problem compiling on sparcs where STRUCT_VALUE is defined in
sparc.h to use gen_rtx_MEM() and then evaluated in an #if directive in
sendmsg.c.
        * objc/sendmsg.c: Define gen_rtx_MEM() to 1, as is already done
        for gen_rtx(MEM, ...).

From-SVN: r19353
1998-04-21 06:50:07 +00:00
Richard Henderson
cb85a2f3bd sparc.h (MACHINE_STATE_SAVE, [...]): Rewrite to not be so gross, and to properly function with PIC.
* sparc.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Rewrite
to not be so gross, and to properly function with PIC.

From-SVN: r19352
1998-04-20 19:24:02 -07:00
Jim Wilson
99b13ed3fd Fix BSD/OS build error reported by Shigeya Suzuk.
* frame.c (heapsort): Rename to frame_heapsort.

From-SVN: r19351
1998-04-20 14:12:00 -07:00
Jim Wilson
bb27e6c9ba Fix i386-* failure that shows up as a cpp usage message.
* gcc.c (do_spec_1, case '['): Move flag out of loop and initialize it.

From-SVN: r19350
1998-04-20 13:51:02 -07:00
Doug Evans
a9a05945da * flow.c (sbitmap_vector_alloc): Ensure sbitmaps properly aligned.
From-SVN: r19347
1998-04-20 16:42:50 +00:00
John Wehle
dc0f0eb82e Patch from John Wehle to fix movxf_push spill reg allocation failure.
* i386.md (movsf_push, movdf_push, movxf_push): Allow memory
	operands during and after reload.

From-SVN: r19346
1998-04-20 08:06:40 -07:00
Joern Rennecke
ba70e85a77 Formatting fix.
From-SVN: r19345
1998-04-20 15:43:51 +01:00
J"orn Rennecke
9570762777 final.c (shorten_branches, [...]): Move code to free label_align...
* final.c (shorten_branches, init_insn_lengths): Move code
	to free label_align, uid_shuid, insn_lengths, insn_addresses
	and uid_align from the former function into the latter one;
	Add code to clear these variables.
	* sh.h (label_align): Remove declaration.

From-SVN: r19344
1998-04-20 15:40:04 +01:00
Michael Meissner
2b6ede1da6 Add extra protection in case strrchr already defined
From-SVN: r19343
1998-04-20 13:30:32 +00:00
Michael Meissner
763d7ce894 Fix warning when compiling g++.o
From-SVN: r19342
1998-04-20 13:27:00 +00:00
Michael Meissner
f55b1ca872 Switch to strrchr if available instead of rindex
From-SVN: r19341
1998-04-20 13:11:38 +00:00
Michael Meissner
0cd355fe9d For movsf/movdf splits, let movsi define_split handle subword moves
From-SVN: r19340
1998-04-20 11:54:40 +00:00
J"orn Rennecke
a07987797e Fix some problems that resulted in assmebler messages 'Error: pcrel too far'
Fix some problems that resulted in assmebler messages 'Error: pcrel too far'
	* sh.c (find_barrier): Fix bug in ADDR_DIFF_VEC handling.
	(split_branches): Call init_insn_lengths.

From-SVN: r19339
1998-04-20 11:59:18 +01:00
Michael Meissner
ced8dd8ccd Include expr.h to get the change_address prototype declared.
From-SVN: r19338
1998-04-20 07:41:41 +00:00
H.J. Lu
f37eb5cb09 reg-stack.c (subst_asm_stack_regs): Change to return the last new insn generated by this function.
* reg-stack.c (subst_asm_stack_regs): Change to return the last
	new insn generated by this function.
	(subst_stack_regs): Likewise.
	(convert_regs): Record the last newly generated insn and use
	it for change_stack () instead of INSN.

From-SVN: r19328
1998-04-19 18:01:15 -06:00
Jeff Law
0620228c24 New test from HJ.
From-SVN: r19326
1998-04-19 17:40:30 -06:00
H.J. Lu
f77cc4ccb1 * isgetline.cc (istream::get): Fix a typo.
From-SVN: r19314
1998-04-19 15:14:32 -06:00
Dave Love
39339a62dc * g77.f-torture/compile/980419-2.f (main): New test.
From-SVN: r19301
1998-04-19 11:52:15 +00:00
Dave Love
d9695db87f New test.
From-SVN: r19300
1998-04-19 11:49:56 +00:00
Manfred Hollstein
08fbf99d63 fix-header.c (enum special_file): Undefine enumerators if they are already defined by include files.
a
	* fix-header.c (enum special_file): Undefine enumerators if they
	are already defined by include files.
	* fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
	macro with '__' to not pollute user namespace.

From-SVN: r19298
1998-04-19 06:48:08 +00:00
Manfred Hollstein
4f1817ee4f fix-header.c (enum special_file): Undefine enumerators if they are already defined by include files.
d
	* fix-header.c (enum special_file): Undefine enumerators if they
	are already defined by include files.
	* fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
	macro with '__' to not pollute user namespace.

From-SVN: r19297
1998-04-19 06:48:07 +00:00
Manfred Hollstein
49fb83823e fix-header.c (enum special_file): Undefine enumerators if they are already defined by include files.
�
	* fix-header.c (enum special_file): Undefine enumerators if they
	are already defined by include files.
	* fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
	macro with '__' to not pollute user namespace.

From-SVN: r19296
1998-04-19 06:48:05 +00:00
Dave Love
bddcc8a6dc 970125-0.f: New test.
* g77.f-torture/compile/970125-0.f: New test.
        * g77.f-torture/compile/980419-1.f: New test.

From-SVN: r19295
1998-04-19 05:59:43 +00:00
Dave Love
06b0a933a2 New File.
From-SVN: r19294
1998-04-19 05:54:09 +00:00
Richard Henderson
c6a754f2d7 * haifa-sched.c (queue_to_ready): Fix typo in prototype.
From-SVN: r19293
1998-04-18 19:45:34 -07:00
Jeffrey A Law
399cc1480c Bump for snapshot
From-SVN: r19291
1998-04-18 17:52:37 -06:00
Jeff Law
7beb63818c i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.
* i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.

From-SVN: r19287
1998-04-18 16:19:52 -06:00
Jeff Law
07415a177e i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.
* i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.

From-SVN: r19286
1998-04-18 16:19:50 -06:00
Jim Wilson
84b77fbac2 Patch from Ulrich to fix problems with default CPU defines.
* i386.h (CPP_CPU_DEFAULT): Renamed to CPP_CPU_DEFAULT_SPEC.
	Add missing -Dpentium* options.
	(CPP_CPU_SPEC): Delete redundant definition.  Include cpp_cpu_default
	instead of CPP_CPU_DEFAULT.
	(EXTRA_SPECS): Add entry for cpp_cpu_default.

From-SVN: r19284
1998-04-18 11:36:11 -07:00
David Edelsohn
db72d7a1d6 rs6000.md (floatsidf2_loadaddr): rs6000_fpmem_offset will be negative in a stackless frame.
* rs6000.md (floatsidf2_loadaddr): rs6000_fpmem_offset will be
        negative in a stackless frame.
        * rs6000.c (rs6000_stack_info): Don't include fixed-size link area
        in stackless frame size.  Support 64-bit stackless frame size.
        Combine fpmem offset calculations and don't add total_size to
        offset if not pushing a stack frame.

From-SVN: r19283
1998-04-18 12:16:02 -04:00
Jim Wilson
a1ecb5ca07 Fix regmove typos spotted by H.J. Lu.
* regmove.c (fixup_match_1): In three places, in flag_exceptions
	check, change p to q.

From-SVN: r19282
1998-04-18 08:42:48 -07:00
Jim Wilson
a2a05b0a35 Patches to make g++/g77 give useful error when no files are given.
* gcc.c (lang_specific_driver): Add new parm type to prototype.
	(added_libraries): New file scope static variable.
	(process_command): Initialize added_libraries.  Pass it to
	lang_specific_driver.
	(main): Use added_libraries in check for no input files.

From-SVN: r19281
1998-04-18 08:31:36 -07:00