1169689Skan2003-12-31  Jan Hubicka  <jh@suse.cz>
2169689Skan
3169689Skan	PR opt/13473
4169689Skan	* recog.c (validate_replace_rtx_1):  Take care for RTL sharing inside
5169689Skan	ASM input operands
6169689Skan
7169689Skan	PR opt/12617
8169689Skan	* toplev.c (dump_file_index): Reorder ce3 and bbro.
9169689Skan	(dump_file): Likewise.
10169689Skan	(rest_of_compilation): Likewise.
11169689Skan
12169689Skan	PR debug/13367
13169689Skan	* cgraph.c (cgraph_function_possibly_inlined):  Even with
14169689Skan	flag_really_no_inline we inline always_inline functions.
15169689Skan	* cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
16169689Skan	for non-always_inline functions when there is flag_really_no_inline.
17169689Skan	(cgraph_decide_inlining): Limit work done when not inlining.
18169689Skan	(cgraph_decide_inlining_incrementally): Likewise.
19169689Skan	(cgraph_optimize_function): Check whether something got inlined.
20169689Skan	* c-objc-common.c (c_disregard_inline_limits): Do not always inline
21169689Skan	extern inline functions when not inlining.
22169689Skan
23169689Skan	* opts.c (decode_options):  Disable crossjumping at -O1
24169689Skan	* invoke.texi (-O1): Document change.
25169689Skan
26169689Skan2003-12-31  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
27169689Skan
28169689Skan	* print-rtl.c (print_rtx): For hard register, write out register
29169689Skan	number and register name instead of calling PRINT_REG.
30169689Skan	* defaults.h (PRINT_REG): Deleted.
31169689Skan	* config/i386/i386.c (print_reg): Remove handling of CODE of -1.
32169689Skan	Move comments here from i386.h.
33169689Skan	(print_operand, print_operand_address): Call print_reg directly.
34169689Skan	* config/i386/i386.h (PRINT_REG): Deleted.
35169689Skan
36169689Skan2003-12-31  Roger Sayle  <roger@eyesopen.com>
37169689Skan
38169689Skan	* config/ia64/hpux.h (TARGET_OS_CPP_BUILTINS): Define
39169689Skan	_INCLUDE_LONGLONG.
40169689Skan
41169689Skan2003-12-31  Zack Weinberg  <zack@codesourcery.com>
42169689Skan
43169689Skan	* gcc.c (init_spec): Add -lunwind to shared case too if
44169689Skan	USE_LIBUNWIND_EXCEPTIONS.
45169689Skan
46169689Skan2003-12-31  Joseph S. Myers  <jsm@polyomino.org.uk>
47169689Skan
48169689Skan	* doc/include/texinfo.tex: Update to version 2003-12-21.10.
49169689Skan	* doc/gcc.texi, doc/gccint.texi: Don't set font for
50169689Skan	@def... commands.
51169689Skan	* doc/invoke.texi: Don't use empty @opindex.
52169689Skan
53169689Skan2003-12-31  Mark Mitchell  <mark@codesourcery.com>
54169689Skan
55169689Skan	* c-common.c (c_expand_expr): Remove code to return a value
56169689Skan	different from that returned by expand_expr.
57169689Skan	* expr.c (store_expr): Use the validity of a target MEM, rather
58169689Skan	than checking DECL_RTL (exp), to figure out if a copy is
59169689Skan	required.
60169689Skan
61169689Skan2003-12-31  Kazu Hirata  <kazu@cs.umass.edu>
62169689Skan
63169689Skan	* config/v850/lib1funcs.asm: Fix comment formatting.
64169689Skan	* config/v850/v850.c: Likewise.
65169689Skan	* config/v850/v850.h: Likewise.
66169689Skan	* config/v850/v850.md: Likewise.
67169689Skan
68169689Skan2003-12-31  Kazu Hirata  <kazu@cs.umass.edu>
69169689Skan
70169689Skan	* config/i386/i386.md (*movqi_insv_2): Remove AND in the
71169689Skan	set source.
72169689Skan
73169689Skan2003-12-31  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
74169689Skan
75169689Skan	* config.gcc: Added m32r-linux m32rle-elf and m32le-linux targets.
76169689Skan	* doc/invoke.texi: Document -mflush-func, -mflush-trap options.
77169689Skan	Also add documentation for -mdebug, -malign-loops, -missue-rate,
78169689Skan	and -mbranch-cost options.
79169689Skan	* config/m32r/t-linux: New file: m32r-linux support.
80169689Skan	* config/m32r/xm-linux.h: Likewise.
81169689Skan	* config/m32r/xm-m32r.h: Likewise.
82169689Skan	* config/m32r/linux.h: Likewise.
83169689Skan	* config/m32r/little.h: New file: Little endian code generation
84169689Skan	support.
85169689Skan	* config/m32r/m32r-protos.h (m32r_legitimize_pic_address,
86169689Skan	m32r_legitimate_pic_operand_p, load_pic_register): Add
87169689Skan	prototypes.
88169689Skan	* config/m32r/m32r.c (m32r_init): Add options for cache-flush.
89169689Skan	(addr24_operand): Changes for PIC code generation.
90169689Skan	* config/m32r/m32r.h (LABEL_ALIGN): Define to calculate PNOP
91169689Skan	length at labels.
92169689Skan	(ASM_SPEC): Add PIC support.
93169689Skan	(FUNCTION_PROFILER): New define.
94169689Skan	(TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Changed to support
95169689Skan	trampoline.
96169689Skan	(CONDITIONAL_REGISTER_USAGE, CONSTANT_ADDRESS_P,
97169689Skan	 LEGITIMIZE_ADDRESS, JUMP_TABLES_IN_TEXT_SECTION,
98169689Skan	 PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC, LEGITIMATE_PIC_OPERAND_P,
99169689Skan	 ASM_OUTPUT_ADDR_DIFF_ELT, CASE_VECTOR_MODE): Define for PIC.
100169689Skan	(move_src_operand, m32r_compute_frame_size, m32r_expand_prologue,
101169689Skan	 m32r_finalize_pic): Changes for PIC and profile support.
102169689Skan	(global_offset_table, load_pic_register, m32r_legitimate_pic_operand_p,
103169689Skan	 m32r_legitimize_pic_address): Add for PIC support.
104169689Skan	(m32r_file_start): Changed for little-endian-target.
105169689Skan	* config/m32r/m32r.md (mvqi, movhi, movsi, movdi, movsf, movdf,
106169689Skan	tablejump, tablejump_insn, call, call_value, call_value_via_label):
107169689Skan	Changes for PIC.
108169689Skan	(pic_load_addr, get_pc, builtin_setjmp_receiver): Added for PIC.
109169689Skan	(flush_icache): Changes for cache-flush trap.
110169689Skan
111169689Skan2003-12-30  Kazu Hirata  <kazu@cs.umass.edu>
112169689Skan
113169689Skan	* config/i386/i386.h: Remove an unnecessary #undef.
114169689Skan
115169689Skan2003-12-30  Roger Sayle  <roger@eyesopen.com>
116169689Skan
117169689Skan	* cppfiles.c (pch_open_file): Minor tweak to work-around native
118169689Skan	HPPA compiler bug.
119169689Skan
120169689Skan2003-12-30  Kazu Hirata  <kazu@cs.umass.edu>
121169689Skan
122169689Skan	* config/rs6000/aix.h: Fix comment formatting.
123169689Skan	* config/rs6000/rs6000-modes.def: Likewise.
124169689Skan	* config/rs6000/rs6000.c: Likewise.
125169689Skan	* config/rs6000/rs6000.h: Likewise.
126169689Skan	* config/rs6000/rs6000.md: Likewise.
127169689Skan
128169689Skan2003-12-30  Kazu Hirata  <kazu@cs.umass.edu>
129169689Skan
130169689Skan	* config/i386/i386-protos.h: Remove prototype for
131169689Skan	const_int_1_operand.
132169689Skan	* config/i386/i386.c (const_int_1_operand): Remove.
133169689Skan	* config/i386/i386.h (PREDICATE_CODES): Remove
134169689Skan	const_int_1_operand.
135169689Skan	* config/i386/i386.md: Replace all uses of const_int_1_operand
136169689Skan	with const1_operand.
137169689Skan	* config/i386/pentium.md: Likewise.
138169689Skan
139169689Skan2003-12-30  Geoffrey Keating  <geoffk@greed.local>
140169689Skan
141169689Skan	* doc/tm.texi (PREFERRED_RELOAD_CLASS): Describe use of NO_REGS
142169689Skan	with constants.
143169689Skan
144169689Skan2003-12-30  Mark Mitchell  <mark@codesourcery.com>
145169689Skan
146169689Skan	* stor-layout.c (layout_decl): Turn bitfields into ordinary
147169689Skan	fields, even if they are the first field in a structure.
148169689Skan
149169689Skan2003-12-30  Roger Sayle  <roger@eyesopen.com>
150169689Skan
151169689Skan	* fold-const.c (fold) <COND_EXPR>: Don't require strict type
152169689Skan	equality, instead just prevent replacing a COND_EXPR of non-void
153169689Skan	type by one of its operands of void type.
154169689Skan
155169689Skan2003-12-30  Andreas Schwab  <schwab@suse.de>
156169689Skan
157169689Skan	* doc/c-tree.texi: Fix @item vs. @itemx.
158169689Skan	* doc/cpp.texi: Likewise.
159169689Skan	* doc/install.texi: Likewise.
160169689Skan	* doc/invoke.texi: Likewise.
161169689Skan
162169689Skan2003-12-30  Nathan Sidwell  <nathan@codesourcery.com>
163169689Skan
164169689Skan	* builtins.c (expand_builtin_apply_args_1): Fix typo in previous
165169689Skan	change.
166169689Skan
167169689Skan2003-12-30  Jan Hubicka  <jh@suse.cz>
168169689Skan
169169689Skan	PR target/11936
170169689Skan	* i386.h (CLASS_LIKELY_SPILLED_P): Return true for
171169689Skan	FP_TOP_REG/FP_SECOND_REG.
172169689Skan
173169689Skan2003-12-30  Steven Bosscher  <steven@gcc.gnu.org>
174169689Skan
175169689Skan	Backport from tree-ssa (relevant changes only):
176169689Skan	2003-12-18  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
177169689Skan
178169689Skan	* et-forest.h (et_forest_create, et_forest_delete,
179169689Skan	et_forest_add_node, et_forest_add_edge, et_forest_remove_node,
180169689Skan	et_forest_remove_edge, et_forest_parent,
181169689Skan	et_forest_common_ancestor, et_forest_node_value,
182169689Skan	et_forest_enumerate_sons): Declarations removed.
183169689Skan	(struct et_node): New.
184169689Skan	(et_new_tree, et_free_tree, et_set_father, et_split, et_nca,
185169689Skan	et_below): Declare.
186169689Skan	* et-forest.c (struct et_forest_occurrence, struct et_forest,
187169689Skan	struct et_forest_node): Removed.
188169689Skan	(et_forest_create, et_forest_delete,
189169689Skan	et_forest_add_node, et_forest_add_edge, et_forest_remove_node,
190169689Skan	et_forest_remove_edge, et_forest_parent,
191169689Skan	et_forest_common_ancestor, et_forest_node_value,
192169689Skan	et_forest_enumerate_sons, splay, remove_all_occurrences,
193169689Skan	find_leftmost_node, find_rightmost_node, calculate_value): Removed.
194169689Skan	(struct et_occ): New.
195169689Skan	(et_nodes, et_occurences): New.
196169689Skan	(set_depth, set_depth_add, set_prev, set_next, et_recomp_min,
197169689Skan	et_check_occ_sanity, et_check_sanity, et_check_tree_sanity,
198169689Skan	record_path_before_1, record_path_before, check_path_after_1,
199169689Skan	check_path_after, et_splay, et_new_occ, et_new_tree,
200169689Skan	et_free_tree, et_set_father, et_split, et_nca, et_below): New.
201169689Skan	* basic-block.h (struct basic_block_def): New field dom.
202169689Skan	(struct dominance_info): Type removed.
203169689Skan	(calculate_dominance_info, free_dominance_info,
204169689Skan	nearest_common_dominator, set_immediate_dominator,
205169689Skan	get_immediate_dominator, dominated_by_p, get_dominated_by,
206169689Skan	add_to_dominance_info, delete_from_dominance_info,
207169689Skan	recount_dominator, redirect_immediate_dominators,
208169689Skan	iterate_fix_dominators, verify_dominators): Declarations
209169689Skan	changed.
210169689Skan	(enum dom_state): New.
211169689Skan	(dom_computed): New variable.
212169689Skan	(first_dom_son, next_dom_son): Declare.
213169689Skan	* dominance.c (struct dominance_info): Removed.
214169689Skan	(BB_NODE, SET_BB_NODE): Removed.
215169689Skan	(calculate_dominance_info, free_dominance_info,
216169689Skan	nearest_common_dominator, set_immediate_dominator,
217169689Skan	get_immediate_dominator, dominated_by_p, get_dominated_by,
218169689Skan	add_to_dominance_info, delete_from_dominance_info,
219169689Skan	recount_dominator, redirect_immediate_dominators,
220169689Skan	iterate_fix_dominators, verify_dominators,
221169689Skan	debug_dominance_info): Work over new datastructure.  Access
222169689Skan	dominance datastructures through CFG.
223169689Skan	(assign_dfs_numbers, compute_dom_fast_query, first_dom_son,
224169689Skan	next_dom_son): New.
225169689Skan	* bt-load.c (dom): Variable removed.
226169689Skan	(augment_live_range, combine_btr_defs, migrate_btr_def,
227169689Skan	migrate_btr_defs, branch_target_load_optimize): Updated for the
228169689Skan	new interface for dominance information.
229169689Skan	* cfg.c {exit_entry_blocks): Update initializer.
230169689Skan	* cfglayout.c (copy_bbs): Removed loops argument. Updated for
231169689Skan	the new interface for dominance information.
232169689Skan	* cfglayout.h (copy_bbs): Declaration changed.
233169689Skan	* cfgloop.c (flow_loop_pre_header_find, flow_loops_cfg_dump,
234169689Skan	flow_loop_scan, canonicalize_loop_headers, flow_loops_find): Updated
235169689Skan	for the new interface for dominance information.
236169689Skan	(flow_loop_scan): Loops argument removed.
237169689Skan	(flow_loops_free): Don't release dominators.
238169689Skan	* cfgloop.h (struct cfg): Dom field removed.
239169689Skan	(flow_loop_scan, loop_split_edge_with, simple_loop_p,
240169689Skan	just_once_each_iteration_p, split_loop_bb): Declaration changed.
241169689Skan	* cfgloopanal.c (simple_loop_exit_p, simple_increment,
242169689Skan	just_once_each_iteration_p, simple_loop_p): Remove loops argument.
243169689Skan	Updated for the new interface for dominance information.
244169689Skan	* cfgloopmanip.c (remove_bbs, find_path, create_preheader,
245169689Skan	split_loop_bb, loopify, duplicate_loop_to_header_edge,
246169689Skan	force_single_succ_latches, loop_split_edge_with): Ditto.
247169689Skan	* gcse.c (dominators): Variable removed.
248169689Skan	(free_code_hoist_mem, compute_code_hoist_data, hoist_code):
249169689Skan	Updated for the new interface for dominance information.
250169689Skan	* ifcvt.c (post_dominators): Variable removed.
251169689Skan	(mark_loop_exit_edges, merge_if_block, find_if_header,
252169689Skan	find_cond_trap, find_if_case_1, find_if_case_2, if_convert):
253169689Skan	Updated for the new interface for dominance information.
254169689Skan	* loop-init.c (rtl_loop_optimizer_init,
255169689Skan	rtl_loop_optimizer_finalize): Ditto.
256169689Skan	* loop-unroll.c (decide_peel_simple, decide_peel_once_rolling,
257169689Skan	decide_peel_completely, decide_unroll_stupid,
258169689Skan	decide_unroll_constant_iterations,
259169689Skan	decide_unroll_runtime_iterations): Loops argument removed.
260169689Skan	Updated for the new interface for dominance information.
261169689Skan	(unroll_and_peel_loops, peel_loops_completely,
262169689Skan	unroll_loop_runtime_iterations): Updated for the new interface for
263169689Skan	dominance information.
264169689Skan	* loop-unswitch.c (may_unswitch_on_p, unswitch_loops,
265169689Skan	unswitch_single_loop, unswitch_loop): Updated for the new
266169689Skan	interface for dominance information.
267169689Skan	* predict.c (process_note_predictions, process_note_prediction,
268169689Skan	estimate_probability, note_prediction_to_br_prob): Ditto.
269169689Skan	* sched-rgn.c (find_rgns, init_regions): Ditto.
270169689Skan	* toplev.c (rest_of_handle_branch_prob): Free the dominators.
271169689Skan
272169689Skan2003-12-30  Jan Hubicka  <jh@suse.cz>
273169689Skan
274169689Skan	PR target/13456
275169689Skan	* i386.md (allocate_stack_worker):  Use different pattern for pre and
276169689Skan	post reload expansion.
277169689Skan	(allocate_stack_worker_1, allocate_stack_worker_rex64): Use
278169689Skan	match_scratch.
279169689Skan	(allocate_stack_worder_1_postreload,
280169689Skan	allocate_stack_worker_rex64_postreload): New.
281169689Skan
282169689Skan2003-12-29  Nathan Sidwell  <nathan@codesourcery.com>
283169689Skan
284169689Skan	* builtins.c (expand_builtin_apply_args_1): Add pretend args size
285169689Skan	to the virtual incoming args pointer for downward stacks.
286169689Skan
287169689Skan2003-12-29  Roger Sayle  <roger@eyesopen.com>
288169689Skan
289169689Skan	PR fortran/12632
290169689Skan	* fold-const.c (fold) <COND_EXPR>: Don't fold a constant condition,
291169689Skan	if the type of the selected branch doesn't match its' parent.
292169689Skan
293169689Skan2003-12-29  Jan Hubicka  <jh@suse.cz>
294169689Skan
295169689Skan	* coverage.c (read_counts_file): Better error messages; cause corrupted
296169689Skan	profiles to produce hard errors, not just warnings
297169689Skan	(get_coverage_counts): Similarly.
298169689Skan
299169689Skan	* toplev.c (rest_of_handle_loop_optimize): Enable LOOP_AUTO_UNROLL.
300169689Skan
301169689Skan2003-12-29  Phil Edwards  <phil@codesourcery.com>
302169689Skan
303169689Skan	* doc/cppopts.texi:  Use of -idirafter, -iprefix, -iwithprefix, and
304169689Skan	-iwithprefixbefore is not discouraged.
305169689Skan
306169689Skan2003-12-28  Mostafa Hagog  <mustafa@il.ibm.com>
307169689Skan
308169689Skan	* sbitmap.c (sbitmap_union_of_diff_cg, sbitmap_a_and_b_cg,
309169689Skan	sbitmap_a_xor_b_cg): Accumulate "changed" properly.
310169689Skan	(sbitmap_not): Zero all bits past n_bit.
311169689Skan
312169689Skan2003-12-27  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
313169689Skan
314169689Skan	PR opt/13159
315169689Skan	* cfgloopanal.c (mark_irreducible_loops): Fix the strongly connected
316169689Skan	components detection.
317169689Skan	* loop-unswitch.c (unswitch_loop): Preserve simple preheaders.
318169689Skan
319169689Skan2003-12-27  Bernardo Innocenti  <bernie@develer.com>
320169689Skan
321169689Skan	* config/m68k/uclinux.h (LIB_SPEC): Add elf2flt magic required for
322169689Skan	correct linking of executables using id-based shared libraries.
323169689Skan
324169689Skan2003-12-27  Kazu Hirata  <kazu@cs.umass.edu>
325169689Skan
326169689Skan	* config/i386/i386-interix.h: Remove uses of "register"
327169689Skan	specifier in declarations of arguments and local variables.
328169689Skan	* config/i386/i386.c: Likewise.
329169689Skan	* config/i386/i386elf.h: Likewise.
330169689Skan	* config/i386/ptx4-i.h: Likewise.
331169689Skan	* config/i386/sysv4.h: Likewise.
332169689Skan
333169689Skan2003-12-26  Fariborz Jahanian <fjahanian@apple.com>
334169689Skan	    Geoffrey Keating <geoffk@apple.com>
335169689Skan	    David Edelsohn <edelsohn@gnu.org>
336169689Skan
337169689Skan	* config/rs6000/rs6000.c (legitimate_offset_address_p): Do not
338169689Skan	restrict DFmode and TFmode to word alignment.
339169689Skan	* config/rs6000/rs6000.md (movdf_hardfloat64): Use 'o' constraint
340169689Skan	for ld/std and order before mr.
341169689Skan
342169689Skan2003-12-26  Andrew Pinski  <pinskia@physics.uc.edu>
343169689Skan
344169689Skan	* config/darwin.h (LINK_COMMAND_SPEC): Arrange
345169689Skan	-fprofile-generate to imply -lgcov.
346169689Skan
347169689Skan2003-12-26  Kazu Hirata  <kazu@cs.umass.edu>
348169689Skan
349169689Skan	* config/h8300/h8300.md (ldm_h8300s_2_normal): Use HImode for
350169689Skan	addresses.
351169689Skan
352169689Skan2003-12-25  Kazu Hirata  <kazu@cs.umass.edu>
353169689Skan
354169689Skan	* config/m32r/m32r.md: Remove a constraint from a splitter.
355169689Skan
356169689Skan2003-12-25  Andrew Pinski  <pinskia@physics.uc.edu>
357169689Skan
358169689Skan	PR C++/13429, C/11944
359169689Skan	* c-common.c (c_build_qualified_type): Return early when type is
360169689Skan	error_mark_node.
361169689Skan	(c_apply_type_quals_to_decl): Likewise.
362169689Skan
363169689Skan2003-12-25  Kazu Hirata  <kazu@cs.umass.edu>
364169689Skan
365169689Skan	* config/alpha/alpha-modes.def: Fix comment formatting.
366169689Skan	* config/alpha/alpha.c: Likewise.
367169689Skan	* config/alpha/alpha.h: Likewise.
368169689Skan	* config/alpha/elf.h: Likewise.
369169689Skan	* config/alpha/lib1funcs.asm: Likewise.
370169689Skan	* config/alpha/openbsd.h: Likewise.
371169689Skan	* config/alpha/vms-cc.c: Likewise.
372169689Skan	* config/alpha/vms-crt0-64.c: Likewise.
373169689Skan	* config/alpha/vms-crt0.c: Likewise.
374169689Skan	* config/alpha/vms-ld.c: Likewise.
375169689Skan	* config/alpha/vms-psxcrt0-64.c: Likewise.
376169689Skan	* config/alpha/vms-psxcrt0.c: Likewise.
377169689Skan	* config/alpha/vms.h: Likewise.
378169689Skan	* config/arc/arc.c: Likewise.
379169689Skan	* config/arm/aof.h: Likewise.
380169689Skan	* config/arm/arm-modes.def: Likewise.
381169689Skan	* config/arm/arm.c: Likewise.
382169689Skan	* config/arm/arm.h: Likewise.
383169689Skan	* config/arm/arm.md: Likewise.
384169689Skan	* config/arm/linux-elf.h: Likewise.
385169689Skan	* config/arm/vxworks.h: Likewise.
386169689Skan	* config/avr/avr.c: Likewise.
387169689Skan	* config/avr/avr.h: Likewise.
388169689Skan
389169689Skan2003-12-24  Kazu Hirata  <kazu@cs.umass.edu>
390169689Skan
391169689Skan	* config/xtensa/elf.h: Fix comment formatting.
392169689Skan	* config/xtensa/xtensa-protos.h: Likewise.
393169689Skan	* config/xtensa/xtensa.c: Likewise.
394169689Skan	* config/xtensa/xtensa.h: Likewise.
395169689Skan
396169689Skan2003-12-24  Kazu Hirata  <kazu@cs.umass.edu>
397169689Skan
398169689Skan	* config/avr/avr.c: Fix comment formatting.
399169689Skan	* config/avr/avr.md: Likewise.
400169689Skan
401169689Skan2003-12-24  Kazu Hirata  <kazu@cs.umass.edu>
402169689Skan
403169689Skan	PR target/12721.
404169689Skan	* config/avr/avr.c: Include ggc.h.
405169689Skan	(tmp_reg_rtx): Declare with GTY.
406169689Skan	(zero_reg_rtx): Likewise.
407169689Skan	(ldi_reg_rtx): Remove.
408169689Skan	(avr_override_options): Initialize zero_reg_rtx and
409169689Skan	ldi_reg_rtx.
410169689Skan	(avr_init): Remove.
411169689Skan	Include gt-avr.h.
412169689Skan	* config/avr/avr.h (LDI_REG_REGNO): Remove.
413169689Skan	Remove externs for tmp_reg_rtx, zero_reg_rtx, and ldi_reg_rtx.
414169689Skan
415169689Skan2003-12-24  David Edelsohn  <edelsohn@gnu.org>
416169689Skan
417169689Skan	* doc/md.texi: Document PowerPC vector register constraint letter.
418169689Skan
419169689Skan2003-12-23  Mark Mitchell  <mark@codesourcery.com>
420169689Skan
421169689Skan	* calls.c (expand_call): Recognize calls to "sqrt" and create
422169689Skan	corresponding notes.
423169689Skan
424169689Skan2003-12-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
425169689Skan
426169689Skan	* config/mips/mips.c (override_options): Use `inform' instead
427169689Skan	of `warning' for -g -mabi=32 and native assembler.
428169689Skan
429169689Skan	* config/mips/t-iris6 (CRTSTUFF_T_CFLAGS, TARGET_LIBGCC2_CFLAGS):
430169689Skan	Don't pass -Wno-error.
431169689Skan
432169689Skan2003-12-23  David Edelsohn  <edelsohn@gnu.org>
433169689Skan
434169689Skan	* function.c (assign_parms): Update max_parm_reg and
435169689Skan	parm_reg_stack_loc when adding new parm reg.
436169689Skan
437169689Skan2003-12-23  Kazu Hirata  <kazu@cs.umass.edu>
438169689Skan
439169689Skan	* config/ns32k/ns32k.c: Convert to ISO-C.
440169689Skan
441169689Skan2003-12-23  Zack Weinberg  <zack@codesourcery.com>
442169689Skan
443169689Skan	* config/ia64/ia64.c (ia64_va_arg): Pass pointer for
444169689Skan	variable-sized type through convert_memory_address.
445169689Skan	(ia64_in_small_data_p): Always return false for FUNCTION_DECLs.
446169689Skan
447169689Skan2003-12-23  Jan Hubicka  <jh@suse.cz>
448169689Skan
449169689Skan	* common.opt (fprofile-generate,fprofile-use): Add.
450169689Skan	* gcc.c (LINK_COMMAND_SPEC): Arrange -fprofile-generate to imply -lgcov
451169689Skan	* opts.c (profile_arc_flag_set, flag_profile_values_set,
452169689Skan	flag_unroll_loops_set, flag_tracer_set,
453169689Skan	flag_value_profile_transformations_set,
454169689Skan	flag_peel_loops_set): New static variables.
455169689Skan	(common_handle_option): Deal with -fprofile-generate/-fprofile-use
456169689Skan	* invoke.texi (-fprofile-generate, -fprofile-use): Describe.
457169689Skan
458169689Skan2003-12-23  Mark Mitchell  <mark@codesourcery.com>
459169689Skan
460169689Skan	* Makefile.in (OBJS-common): Remove dwarfout.o.
461169689Skan	(dwarfout.o): Remove.
462169689Skan	* common.opt: Remove -gdwarf, -gdwarf+.
463169689Skan	* defaults.h (PREFERRED_DEBUGGING_TYPE): Do not check for
464169689Skan	DWARF_DEBUGGING_INFO.
465169689Skan	* dwarf2out.c: Fix typo in comment.
466169689Skan	* dwarfout.c: Remove.
467169689Skan	* opts.c (common_handle_option): Remove OPT_gdwarf, OPT_gdwarf_.
468169689Skan	* toplev.c (process_options): Remove check for
469169689Skan	DWARF_DEBUGGING_INFO.
470169689Skan	* config/elfos.h (DWARF_DEBUGGING_INFO): Do not #define it or
471169689Skan	#undef it.
472169689Skan	* config/netware.h (DWARF_DEBUGGING_INFO): Likewise.
473169689Skan	* config/ptx4.h (DWARF_DEBUGGING_INFO): Likewise.
474169689Skan	* config/vxworks.h (DWARF_DEBUGGING_INFO): Likewise.
475169689Skan	* config/alpha/unicosmk.h (DWARF_DEBUGGING_INFO): Likewise.
476169689Skan	* config/arc/arc.h (DWARF_DEBUGGING_INFO): Likewise.
477169689Skan	* config/i386/sco5.h (DWARF_DEBUGGING_INFO): Likewise.
478169689Skan	* config/i386/x86-64.h (DWARF_DEBUGGING_INFO): Likewise.
479169689Skan	* config/m32r/m32r.h (DWARF_DEBUGGING_INFO): Likewise.
480169689Skan	* config/mcore/mcore-elf.h (DWARF_DEBUGGING_INFO): Likewise.
481169689Skan	* config/sparc/linux64.h (DWARF_DEBUGGING_INFO): Likewise.
482169689Skan	* config/sparc/liteelf.h (DWARF_DEBUGGING_INFO): Likewise.
483169689Skan	* config/sparc/sol26-sld.h (DWARF_DEBUGGING_INFO): Likewise.
484169689Skan	* config/sparc/sp86x-elf.h (DWARF_DEBUGGING_INFO): Likewise.
485169689Skan	* doc/invoke.texi: Do not mention -gdwarf, -gdwarf-1, -gdwarf-1+,
486169689Skan	or -gdwarf+.
487169689Skan	* doc/tm.texi: Likewise.
488169689Skan
489169689Skan	* c-common.c (flag_abi_version): Default to 2.
490169689Skan	* c-cppbuiltin.c (c_cpp_builtins): Define __GXX_ABI_VERSION
491169689Skan	uniformly for versions above 2.
492169689Skan	* doc/invoke.texi: Update documentation for -fabi-version.
493169689Skan
494169689Skan2003-12-22  Geoffrey Keating  <geoffk@apple.com>
495169689Skan
496169689Skan	* config/rs6000/rs6000.md: Change many instances of '!
497169689Skan	TARGET_POWERPC64' to 'TARGET_32BIT' when the pattern being guarded
498169689Skan	was guarded only because it changed CR0 or the carry bit in XER.
499169689Skan
500169689Skan2003-12-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
501169689Skan
502169689Skan	PR optimization/13394
503169689Skan	* toplev.c (rest_of_compilation): Move call to
504169689Skan	check_function_return_warnings right after the sibcall
505169689Skan	optimization pass.
506169689Skan
507169689Skan2003-12-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
508169689Skan
509169689Skan	PR c/13382
510169689Skan	* c-typeck.c (convert_for_assignment): When converting from
511169689Skan	integral type to pointer type, always call convert.
512169689Skan
513169689Skan2003-12-22  Mark Mitchell  <mark@codesourcery.com>
514169689Skan
515169689Skan	* doc/invoke.texi: Deprecate -fwritable-strings.
516169689Skan
517169689Skan	* c-common.c (flag_external_templates): Remove.
518169689Skan	(flag_alt_external_templates): Likewise.
519169689Skan	* c-common.h (flag_external_templates): Remove.
520169689Skan	(flag_alt_external_templates): Likewise.
521169689Skan	* c-opts.c (c_common_handle_option): Unsupport
522169689Skan	-falt-external-templates and -ftemplates.
523169689Skan	* doc/invoke.texi: Remove mention of -fexternal-templates and
524169689Skan	-falt-external-templates.
525169689Skan
526169689Skan2003-12-22  Andrew Pinski  <pinskia@physics.uc.edu>
527169689Skan
528169689Skan	PR target/13466
529169689Skan	* config.gcc (powerpc-*-darwin): Remove overridden value of need_64bit_hwint.
530169689Skan
531169689Skan	* emit-rtl.c (copy_rtx_if_shared): Add comment about its use of
532169689Skan	copy_rtx_if_shared_1.
533169689Skan	(copy_rtx_if_shared_1): Add comment about what the function does.
534169689Skan
535169689Skan	* c-decl.c (finish_function): Change order of checks.
536169689Skan	(c_expand_body): Likewise.
537169689Skan
538169689Skan2003-12-22  Fariborz Jahanian <fjahanian@apple.com>
539169689Skan
540169689Skan	* config/rs6000/rs6000.c (legitimate_offset_address_p): Correct
541169689Skan	check for the legitimate offset when memory of
542169689Skan	DImode/DFmode/TFmode/TImode mode is being referenced and target
543169689Skan	is TARGET_POWERPC64.
544169689Skan
545169689Skan2003-12-22  Dale Johannesen  <dalej@apple.com>
546169689Skan
547169689Skan	* reload1.c:  Add reg_reloaded_call_part_clobbered.
548169689Skan	(reload_as_needed):  Use it.
549169689Skan	(forget_old_reloads_1):  Ditto.
550169689Skan	(emit_reload_insns):  Ditto.
551169689Skan
552169689Skan2003-12-22  Dale Johannesen  <dalej@apple.com>
553169689Skan
554169689Skan	PR optimization/12828
555169689Skan	* loop.c:  Add find_regs_nested to look inside CLOBBER(MEM).
556169689Skan	(scan_loop):  Call it.
557169689Skan	* regclass.c (reg_scan_mark_regs):  Look inside CLOBBER(MEM).
558169689Skan
559169689Skan2003-12-22  Andrew Pinski  <pinskia@physics.uc.edu>
560169689Skan
561169689Skan	PR c/9163
562169689Skan	* c-decl.c (poplevel): Only set DECL_INITIAL of a current function
563169689Skan	if it is non-null.
564169689Skan	(finish_function): Check for error_mark_node or null on DECL_RESULT and
565169689Skan	DECL_RESULT of fndecl.
566169689Skan	(c_expand_body): Only expand when DECL_INITIAL of fndecl is not
567169689Skan	error_mark_node and not null.
568169689Skan
569169689Skan2003-12-21  Dan Nicolaescu  <dann@ics.uci.edu>
570169689Skan
571169689Skan	* rtl.h (dump_rtx_statistics): Declare it.
572169689Skan	* rtl.c (rtx_alloc_counts, rtx_alloc_sizes, rtvec_alloc_counts,
573169689Skan	rtx_alloc_sizes): New static vars.
574169689Skan	(rtx_alloc, rtvec_alloc): Update them.
575169689Skan	(dump_rtx_statistics): New function.
576169689Skan	* toplev.c (finalize): Call it.
577169689Skan	* ggc-page.c (struct globals): Fix comments. Add new member
578169689Skan	total_allocated_per_order.
579169689Skan	(ggc_alloc): Keep track of the total allocated memory.
580169689Skan	(ggc_print_statistics): Clarify message. Print total allocated
581169689Skan	memory stats.
582169689Skan	* configure.in (gather-detailed-mem-stats): New flag.
583169689Skan	* configure: Regenerate.
584169689Skan	* config.in: Regenerate.
585169689Skan	* doc/install.texi (Configuration): Document
586169689Skan	--enable-gather-detailed-mem-stats.
587169689Skan
588169689Skan2003-12-22  Kazu Hirata  <kazu@cs.umass.edu>
589169689Skan
590169689Skan	* system.h (CONVERT_HARD_REGISTER_TO_SSA_P): Poison.
591169689Skan	* config/i386/i386.h (CONVERT_HARD_REGISTER_TO_SSA_P): Remove.
592169689Skan
593169689Skan2003-12-21  Roger Sayle  <roger@eyesopen.com>
594169689Skan
595169689Skan	* config/ia64/hpux.h (TARGET_OS_CPP_BUILTINS): Define _ILP32
596169689Skan	when compiling in ILP32 mode.
597169689Skan
598169689Skan2003-12-21  Andrew Pinski  <pinskia@physics.uc.edu>
599169689Skan
600169689Skan	* config/rs6000/rs6000.c (rs6000_tls_referenced_p): Return early if
601169689Skan	TARGET_HAVE_TLS is false.
602169689Skan
603169689Skan2003-12-21  Kazu Hirata  <kazu@cs.umass.edu>
604169689Skan
605169689Skan	* config/ip2k/ip2k-protos.h: Remove the prototype for
606169689Skan	asm_output_section_name.
607169689Skan	* config/ip2k/ip2k.c (asm_output_section_name): Remove.
608169689Skan
609169689Skan2003-12-21  Kazu Hirata  <kazu@cs.umass.edu>
610169689Skan
611169689Skan	* alias.c: Fix comment formatting.
612169689Skan	* alloc-pool.c: Likewise.
613169689Skan	* bitmap.c: Likewise.
614169689Skan	* bitmap.h: Likewise.
615169689Skan	* bt-load.c: Likewise.
616169689Skan	* c-common.c: Likewise.
617169689Skan	* c-common.h: Likewise.
618169689Skan	* c-decl.c: Likewise.
619169689Skan	* c-opts.c: Likewise.
620169689Skan	* c-pretty-print.c: Likewise.
621169689Skan	* caller-save.c: Likewise.
622169689Skan	* cfghooks.h: Likewise.
623169689Skan	* cgraph.c: Likewise.
624169689Skan	* collect2.c: Likewise.
625169689Skan	* cppfiles.c: Likewise.
626169689Skan	* cpplib.h: Likewise.
627169689Skan	* dwarf2out.c: Likewise.
628169689Skan	* dwarfout.c: Likewise.
629169689Skan	* emit-rtl.c: Likewise.
630169689Skan	* final.c: Likewise.
631169689Skan	* function.c: Likewise.
632169689Skan	* gcov.c: Likewise.
633169689Skan	* gcse.c: Likewise.
634169689Skan	* genemit.c: Likewise.
635169689Skan	* ggc.h: Likewise.
636169689Skan	* haifa-sched.c: Likewise.
637169689Skan	* ifcvt.c: Likewise.
638169689Skan	* libgcc2.h: Likewise.
639169689Skan	* loop.c: Likewise.
640169689Skan	* predict.h: Likewise.
641169689Skan	* unwind-libunwind.c: Likewise.
642169689Skan	* varasm.c: Likewise.
643169689Skan
644169689Skan2003-12-21  Kazu Hirata  <kazu@cs.umass.edu>
645169689Skan
646169689Skan	* config/mn10300/mn10300.c (mn10300_encode_section_info): Fix
647169689Skan	a warning.
648169689Skan
649169689Skan2003-12-21  Kazu Hirata  <kazu@cs.umass.edu>
650169689Skan
651169689Skan	* config/arm/arm.c: Convert to ISO-C.
652169689Skan	* config/avr/avr.h: Likewise.
653169689Skan	* config/fr30/fr30.c: Likewise.
654169689Skan	* config/ip2k/ip2k.c: Likewise.
655169689Skan	* config/mn10300/mn10300.c: Likewise.
656169689Skan
657169689Skan2003-12-20  Andrew Pinski  <pinskia@gcc.gnu.org>
658169689Skan	    Matt Thomas  <matt@3am-software.com>
659169689Skan
660169689Skan	PR target/12749
661169689Skan	* config/i386/i386.c (print_operand): Print only the first
662169689Skan	8 characters of the float in hex.
663169689Skan
664169689Skan2003-12-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
665169689Skan
666169689Skan	* pa.h (TRAMPOLINE_TEMPLATE): Shorten sequence when generating PA
667169689Skan	2.0 code.
668169689Skan	(TRAMPOLINE_CODE_SIZE, MIN_CACHELINE_SIZE): New defines.
669169689Skan	(INITIALIZE_TRAMPOLINE): Rework to pass line length, and aligned start
670169689Skan	and end addresses to I and D cache instruction patterns.
671169689Skan	* pa.md (anddi3, iordi3): Change predicates of operands 1 and 2 to
672169689Skan	and_operand and ior_operand, respectively.  When generating 64-bit
673169689Skan	code, only one operand needs to be a register operand.
674169689Skan	(xordi3): Change predicates of operands 1 and 2 to register_operand.
675169689Skan	(one_cmpldi2): Change predicate of operand 1 to register_operand.
676169689Skan	(dcacheflush, icacheflush): Revise to flush an arbitrary number of
677169689Skan	cache lines.
678169689Skan
679169689Skan2003-12-20  Josef Zlomek  <zlomekj@suse.cz>
680169689Skan
681169689Skan	PR optimization/13430, PR optimization/12322
682169689Skan	* bb-reorder.c (copy_bb_p): Do not allow block with many successors to
683169689Skan	be copied.
684169689Skan	(find_traces_1_round): Surround check for fake edges by
685169689Skan	#ifdef ENABLE_CHECKING #endif.
686169689Skan
687169689Skan2003-12-20  Eric Botcazou  <ebotcazou@libertysurf.fr>
688169689Skan
689169689Skan	PR other/7956
690169689Skan	* genmultilib: New variable disable_multilib.  Set it to 'yes'
691169689Skan	if enable_multilib was set to 'no'.  Emit DISABLE_MULTILIB
692169689Skan	if disable_multilib was set to 'yes'.
693169689Skan	* gcc.c: Include multilib.h before tm.h.
694169689Skan	* config/sparc/sol2-bi.h (LINK_ARCH_SPEC): Emit an error
695169689Skan	message for multiarch options if DISABLE_MULTILIB is set.
696169689Skan	* config/sparc/sol2-gld-bi.h (LINK_ARCH_SPEC): Likewise.
697169689Skan
698169689Skan2003-12-20  Eric Botcazou  <ebotcazou@libertysurf.fr>
699169689Skan
700169689Skan	PR c/12085
701169689Skan	* c-typeck.c (build_function_call): Issue a warning if a
702169689Skan	function is called through an incompatible prototype and
703169689Skan	replace the call by a trap in this case.
704169689Skan
705169689Skan2003-12-19  James E Wilson  <wilson@specifixinc.com>
706169689Skan
707169689Skan	* install.texi (ia64-*-linux): Document minimum libunwind version
708169689Skan	number.
709169689Skan
710169689Skan2003-12-19  Per Bothner  <per@bothner.com>
711169689Skan
712169689Skan	* langhooks.c (lhd_print_error_function):  Fix for PR c/13110.
713169689Skan	Don't do pp_newline; it causes an extra blank line.
714169689Skan	* pretty-print.c (pp_base_flush):  Clear pp_needs_newline.
715169689Skan
716169689Skan2003-12-19  Jason Merrill  <jason@redhat.com>
717169689Skan
718169689Skan	* tree.c (get_unwidened): Decide whether to narrow a bitfield
719169689Skan	reference based on TYPE_SIZE, not TYPE_PRECISION.
720169689Skan
721169689Skan	* stmt.c (parse_output_constraint): Warn about in-out constraint
722169689Skan	that doesn't allow a register.
723169689Skan	(parse_input_constraint): Warn about matching constraint that
724169689Skan	doesn't allow a register.
725169689Skan
726169689Skan2003-12-19  James E Wilson  <wilson@specifixinc.com>
727169689Skan
728169689Skan	* flow.c (mark_set_regs, case PARALLEL): Scan loop forwards.
729169689Skan	Add case for ASM_OPERANDS.
730169689Skan	* global.c (global_alloc): Set regs_ever_live for regs_asm_clobbered
731169689Skan	registers.
732169689Skan
733169689Skan2003-12-19  Kazu Hirata  <kazu@cs.umass.edu>
734169689Skan
735169689Skan	* expr.c (check_max_integer_computation_mode): Remove.
736169689Skan	* dojump.c (do_jump): Don't use MAX_INTEGER_COMPUTATION_MODE.
737169689Skan	* fold-const.c (fold): Likewise.
738169689Skan	* system.h (MAX_INTEGER_COMPUTATION_MODE): Poison.
739169689Skan	* doc/tm.texi (MAX_INTEGER_COMPUTATION_MODE): Remove.
740169689Skan
741169689Skan2003-12-19  James E Wilson  <wilson@specifixinc.com>
742169689Skan
743169689Skan	* configure.in: Delete libunwind_has_eh_support test.
744169689Skan	* configure: Regenerate.
745169689Skan	* config.gcc (ia64*-*-linux*): Delete reference to t-libunwind-no-eh
746169689Skan	and libunwind_has_eh_support check.
747169689Skan	* config/t-libunwind-no-eh: Delete.
748169689Skan
749169689Skan2003-12-19  Joseph S. Myers  <jsm@polyomino.org.uk>
750169689Skan
751169689Skan	* c-format.c (print_char_table): Allow 'I' flag on floating point
752169689Skan	decimal formats.
753169689Skan
754169689Skan2003-12-19  Stuart Hastings  <stuart@apple.com>
755169689Skan
756169689Skan	* gcc/config/i386/i386.c (ix86_expand_call, x86_output_mi_thunk):
757169689Skan	Trivial fixes for i386.c on Darwin/x86.
758169689Skan
759169689Skan2003-12-19  Fariborz Jahanian <fjahanian@apple.com>
760169689Skan
761169689Skan	* config/rs6000/rs6000.c (legitimate_lo_sum_address_p): Add code to
762169689Skan	recognize macho-style lo_sum adrress patterns.
763169689Skan
764169689Skan2003-12-19  Kazu Hirata  <kazu@cs.umass.edu>
765169689Skan
766169689Skan	* dwarfout.c: Remove uses of "register" specifier in
767169689Skan	declarations of arguments and local variables.
768169689Skan	* gensupport.c: Likewise.
769169689Skan	* local-alloc.c: Likewise.
770169689Skan	* regclass.c: Likewise.
771169689Skan
772169689Skan2003-12-19  Kelley Cook  <kelleycook@wideopenwest.com>
773169689Skan
774169689Skan	* config.guess: Remove.
775169689Skan
776169689Skan2003-12-19  Jakub Jelinek  <jakub@redhat.com>
777169689Skan
778169689Skan	* config/ia64/unwind-ia64.c (ia64_copy_rbs): New function.
779169689Skan	(unw_access_gr): Only call ia64_rse_rnat_addr if addr is above
780169689Skan	regstk_top.
781169689Skan	(uw_frame_state_for): Handle locations inside bundles.
782169689Skan	(uw_init_context_1): Initialize context->rnat.
783169689Skan	Set context->regstk_top to lowest rbs address which has nat collection
784169689Skan	in context->rnat.
785169689Skan	(uw_install_context): Fix rnat restoring.
786169689Skan	Restore ar.rsc to previous state.
787169689Skan	* config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR,
788169689Skan	MD_HANDLE_UNWABI): Handle unwinding through SA_ONSTACK frames.
789169689Skan
790169689Skan2003-12-19  Jakub Jelinek  <jakub@redhat.com>
791169689Skan
792169689Skan	PR c++/13239
793169689Skan	* builtins.c (expand_builtin_expect_jump): Update
794169689Skan	TREE_VALUE (arglist) if unsave_expr_now langhook
795169689Skan	created a new tree.
796169689Skan
797169689Skan2003-12-19  Richard Earnshaw  <rearnsha@arm.com>
798169689Skan
799169689Skan	* arm.c (thumb_base_register_rtx_p): Use regno in comparison against
800169689Skan	FIRST_PSEUDO_REGISTER.
801169689Skan
802169689Skan2003-12-18  Hartmut Penner  <hpenner@de.ibm.com>
803169689Skan
804169689Skan	* gcc/config/rs6000/rs6000.c (USE_ALTIVEC_FOR_ARG_P): Don't check
805169689Skan	for SVR4 ABI.
806169689Skan
807169689Skan2003-12-18  Geoffrey Keating  <geoffk@apple.com>
808169689Skan
809169689Skan	* config/rs6000/aix.h (OS_MISSING_POWERPC64): Define.
810169689Skan	(OS_MISSING_ALTIVEC): Define.
811169689Skan	* config/rs6000/darwin.h (ASM_SPEC): Be generous about supplying
812169689Skan	-force_cpusubtype_ALL.
813169689Skan	* config/rs6000/rs6000.c (rs6000_override_options): Rearrange
814169689Skan	CPU information table; now always set all CPU-specific values.
815169689Skan	Also, use Altivec and powerpc64 when chip and OS supports them.
816169689Skan
817169689Skan2003-12-18  Geoffrey Keating  <geoffk@apple.com>
818169689Skan
819169689Skan	* fixinc/inclhack.def (darwin_macho_dyldh): New.
820169689Skan	* fixinc/fixincl.x: Regenerate.
821169689Skan
822169689Skan2003-12-18  Dara Hazeghi  <dhazeghi@yahoo.com>
823169689Skan
824169689Skan	* version.c (version_string): Renumber as 3.4.0
825169689Skan	* doc/include/gcc-common.texi: Likewise
826169689Skan
827169689Skan2003-12-18  Richard Henderson  <rth@redhat.com>
828169689Skan
829169689Skan	* genrecog.c (print_host_wide_int): New.
830169689Skan	(write_switch, write_cond): Use it.
831169689Skan
832169689Skan2003-12-18  Richard Henderson  <rth@redhat.com>
833169689Skan
834169689Skan	* c-decl.c (check_bitfield_type_and_width): Remove enum special
835169689Skan	case suppression of pedwarn.
836169689Skan	* system.h (ENUM_BITFIELD): Use __extension__.
837169689Skan	(CHAR_BITFIELD): Likewise.
838169689Skan
839169689Skan2003-12-18  Ulrich Weigand  <uweigand@de.ibm.com>
840169689Skan	    Mark Dettinger  <dettinge@de.ibm.com>
841169689Skan
842169689Skan	* config/s390/s390.md (UNSPEC_SRST): New constant.
843169689Skan	("strlendi", "strlensi"): New expanders.
844169689Skan	("*strlendi", "*strlensi"): New insns.
845169689Skan
846169689Skan2003-12-18  Mark Mitchell  <mark@codesourcery.com>
847169689Skan
848169689Skan	* config/sol2.h (LINK_ARCH32_SPEC): Define in terms of ...
849169689Skan	(LINK_ARCH32_SPEC_BASE): ... this new macro.
850169689Skan	* config/sparc/sol2-bi.h (LINK_ARCH64_SPEC): Define in terms of
851169689Skan	...
852169689Skan	(LINK_ARCH64_SPEC_BASE): ... this new macro.
853169689Skan	* config/sparc/sol2-gld-bi.h (LINK_ARCH32_SPEC): New macro.
854169689Skan	(LINK_ARCH64_SPEC): Likewise.
855169689Skan
856169689Skan2003-12-18  Jason Merrill  <jason@redhat.com>
857169689Skan
858169689Skan	PR middle-end/13234
859169689Skan	* tree-dump.c (dequeue_and_dump): Handle 'r' and 's' code
860169689Skan	classes.
861169689Skan
862169689Skan2003-12-18  Steven Bosscher  <stevenb@suse.de>
863169689Skan
864169689Skan	* Makefile.in (tracer.o, bb-reorder.o): Depend on timevar.h
865169689Skan	* toplev.c (rest_of_handle_reorder_blocks, rest_of_handle_tracer):
866169689Skan	Don't push and pop TV_REORDER_BLOCKS timevars, do it...
867169689Skan	* bb-reorder.c (reorder_basic_blocks): ...here, and...
868169689Skan	* tracer.c (tracer): here.
869169689Skan
870169689Skan2003-12-18  Ulrich Weigand  <uweigand@de.ibm.com>
871169689Skan
872169689Skan	* loop.c (move_movables): Handle combination of m->consec,
873169689Skan	m->move_insn_first, and m->insert_temp all nonzero correctly.
874169689Skan
875169689Skan2003-12-18  Kazu Hirata  <kazu@cs.umass.edu>
876169689Skan
877169689Skan	* calls.c (load_register_parameters): Don't use
878169689Skan	LOAD_ARGS_REVERSED.
879169689Skan	* system.h (LOAD_ARGS_REVERSED): Poison.
880169689Skan	* doc/tm.texi (LOAD_ARGS_REVERSED): Remove.
881169689Skan
882169689Skan2003-12-17  Per Bothner  <per@bothner.com>
883169689Skan
884169689Skan	* emit-rtl.c (set_new_first_and_last_label_num):  Remove function.
885169689Skan	* rtl.h (set_new_first_and_last_label_num):  Remove declaration.
886169689Skan
887169689Skan2003-12-17  Alexandre Oliva  <aoliva@redhat.com>
888169689Skan
889169689Skan	* config/frv/frv.c (frv_ifcvt_modify_insn): Don't leave alone
890169689Skan	scratch insns of the then branch that clobber regs needed by the
891169689Skan	else branch.
892169689Skan
893169689Skan2003-12-17  Kazu Hirata  <kazu@cs.umass.edu>
894169689Skan
895169689Skan	* calls.c (expand_call): Update comments.
896169689Skan	* system.h (PRETEND_OUTGOING_VARARGS_NAMED): Poison.
897169689Skan	* targhooks.c: Do not refer to PRETEND_OUTGOING_VARARGS_NAMED.
898169689Skan
899169689Skan2003-12-17  James E Wilson  <wilson@specifixinc.com>
900169689Skan	    Roger Sayle  <roger@eyesopen.com>
901169689Skan
902169689Skan	* Makefile.in (gcse.o): Add $(TREE_H) to dependencies.
903169689Skan	* gcse.c: Include tree.h.
904169689Skan	(implicit_set_cond_p): New.
905169689Skan	(find_implicit_sets): Call it.
906169689Skan
907169689Skan2003-12-17  Santiago Vila  <sanvila@unex.es>
908169689Skan
909169689Skan	* config/kfreebsdgnu.h (TARGET_OS_CPP_BUILTINS): Rename from
910169689Skan	TARET_OS_CPP_BUILTINS.
911169689Skan
912169689Skan2003-12-16  Kazu Hirata  <kazu@cs.umass.edu>
913169689Skan
914169689Skan	* emit-rtl.c: Fix signed/unsigned comparison warnings.
915169689Skan
916169689Skan2003-12-17  Joseph S. Myers  <jsm@polyomino.org.uk>
917169689Skan
918169689Skan	* predict.c (struct block_info_def, struct edge_info_def): Change
919169689Skan	bit-fields of width 1 to unsigned int.
920169689Skan
921169689Skan2003-12-16  Geoffrey Keating  <geoffk@apple.com>
922169689Skan
923169689Skan	PR 12480
924169689Skan	* c-pch.c (pch_init): Improve error message when precompiled
925169689Skan	header can't be written.
926169689Skan
927169689Skan	PR 12606
928169689Skan	* c-pch.c (pch_init): Make a PCH file appear invalid while it's
929169689Skan	being written.
930169689Skan	(c_common_write_pch): Make it valid once it's done.
931169689Skan
932169689Skan2003-12-17  Ulrich Weigand  <uweigand@de.ibm.com>
933169689Skan
934169689Skan	PR target/11992
935169689Skan	* config/s390/s390.md ("*cmpmem_long_64"): Use CLCLE instruction
936169689Skan	instead of CLCL.
937169689Skan	("*cmpmem_long_31"): Likewise.
938169689Skan
939169689Skan2003-12-17  Vladimir Makarov  <vmakarov@redhat.com>
940169689Skan
941169689Skan	* config/ia64/ia64.c: Add more comments about insn bundling.
942169689Skan
943169689Skan2003-12-17  Richard Earnshaw  <rearnsha@arm.com>
944169689Skan
945169689Skan	PR optimization/10592
946169689Skan	* caller-save.c (mark_referenced_regs): Don't short-circuit a reg
947169689Skan	or subreg in SET_DEST if it isn't a hard register.
948169689Skan
949169689Skan2003-12-17  David Edelsohn  <edelsohn@gnu.org>
950169689Skan
951169689Skan	* collect2.c (main): Add -fno-profile-arcs -fno-test-coverage
952169689Skan	-fno-branch-probabilities to arguments when compiling ctors and
953169689Skan	dtors.
954169689Skan
955169689Skan2003-12-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
956169689Skan
957169689Skan	* config/sparc/sol2.h: Set SUPPORTS_INIT_PRIORITY to 0.
958169689Skan	* config/sparc/sol2-gld.h: Set SUPPORTS_INIT_PRIORITY to 1.
959169689Skan
960169689Skan2003-12-17  Richard Earnshaw  <rearnsha@arm.com>
961169689Skan
962169689Skan	* arm.c (thumb_base_register_rtx_p): Don't allow virtual registers
963169689Skan	as base registers for sub-word operations.
964169689Skan	(thumb_legitimate_address_p): Simplify REG+REG test.
965169689Skan
966169689Skan2003-12-17  Segher Boessenkool  <boessen@de.ibm.com>
967169689Skan
968169689Skan	* opts.c (wrap_help): Fix overflow.
969169689Skan
970169689Skan2003-12-17  Fred Fish  <fnf@redhat.com>
971169689Skan
972169689Skan	* configure.in: Remove code to examine linker scripts and set
973169689Skan	HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES.
974169689Skan	* configure, config.in: Regenerate.
975169689Skan
976169689Skan2003-12-16  Mark Mitchell  <mark@codesourcery.com>
977169689Skan
978169689Skan	PR c++/12218
979169689Skan	* varasm.c (initializer_constant_valid_p): Allow a conversion from
980169689Skan	an integral constant to an OFFSET_TYPE.
981169689Skan
982169689Skan2003-12-16  Kazu Hirata  <kazu@cs.umass.edu>
983169689Skan
984169689Skan	PR target/11012
985169689Skan	* config/m32r/m32r.c (gen_compare): Call gen_addsi3 instead of
986169689Skan	gen_cmp_ne_small_const_insn.
987169689Skan	* config/m32r/m32r.md (cmp_ne_small_const_insn): Remove.
988169689Skan
989169689Skan2003-12-17  Neil Booth  <neil@daikokuya.co.uk>
990169689Skan	    Joseph S. Myers  <jsm@polyomino.org.uk>
991169689Skan
992169689Skan	PR c/3347
993169689Skan	* c-decl.c (enum_decl_context): Remove BITFIELD.
994169689Skan	(grokdeclarator): Take bit-field width as an input.
995169689Skan	Perform bit-field width validation with
996169689Skan	check_bitfield_type_and_width rather than waiting for
997169689Skan	finish_struct.
998169689Skan	(groktypename, groktypename_in_parm_context, start_decl,
999169689Skan	push_parm_decl, grokfield, start_function): Update calls to
1000169689Skan	grokdeclarator.
1001169689Skan	(check_bitfield_type_and_width): New function.
1002169689Skan	(finish_struct): Move bit-field validation to grokdeclarator
1003169689Skan	and check_bitfield_type_and_width.
1004169689Skan
1005169689Skan2003-12-16  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1006169689Skan
1007169689Skan	PR bootstrap/13386
1008169689Skan	* configure.in (gcc_cv_ld_hidden): Set to yes on hppa64*-*-hpux* when
1009169689Skan	using HP native linker.
1010169689Skan	* configure: Rebuilt.
1011169689Skan
1012169689Skan2003-12-16  Mark Mitchell  <mark@codesourcery.com>
1013169689Skan
1014169689Skan	PR c++/13275
1015169689Skan	* c-common.h (enum rid): Add RID_OFFSETOF.
1016169689Skan	* c-parser.in (rid_to_yy): Ignore RID_OFFSETOF.
1017169689Skan	* ginclude/stddef.h (offsetof): Reimplement for C++, using
1018169689Skan	__offsetof__.
1019169689Skan	* doc/extend.texi: Document __offsetof__.
1020169689Skan
1021169689Skan2003-12-16  Stan Cox  <scox@redhat.com>
1022169689Skan
1023169689Skan	* config/iq2000/iq2000.h: Formatting.
1024169689Skan	(MAX_INT_TYPE_SIZE, MAX_INT_TYPE_SIZE, CONST_COSTS, RTX_COSTS)
1025169689Skan	(ADDRESS_COST, ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL)
1026169689Skan	(IMPLICIT_FIX_EXPR, EASY_DIV_EXPR, SLOW_ZERO_EXTEND): Remove
1027169689Skan	* config/iq2000/iq2000.c: Formatting.
1028169689Skan	(iq2000_rtx_costs): New.
1029169689Skan
1030169689Skan2003-12-16  Richard Earnshaw  <rearnsha@arm.com>
1031169689Skan
1032169689Skan	* arm.md (addsi3_carryin_shift): Add missing register constraints.
1033169689Skan
1034169689Skan2003-12-16  Loren James Rittle  <ljrittle@acm.org>
1035169689Skan
1036169689Skan	* testsuite/g++.old-deja/g++.eh/badalloc1.C: Tweak to
1037169689Skan	pass with -pthread on FreeBSD systems.
1038169689Skan
1039169689Skan2003-12-16  Richard Sandiford  <rsandifo@redhat.com>
1040169689Skan
1041169689Skan	* config/mips/mips.c (mips_file_end): Only write symbols that have
1042169689Skan	been referenced at some point.
1043169689Skan
1044169689Skan2003-12-16  Richard Sandiford  <rsandifo@redhat.com>
1045169689Skan
1046169689Skan	* config/mips/mips.c: Include langhooks.h
1047169689Skan	(mips_build_builtin_va_list): Use lang_hooks.types.make_type.
1048169689Skan
1049169689Skan2003-12-16  Eric Botcazou  <ebotcazou@libertysurf.fr>
1050169689Skan
1051169689Skan	PR optimization/13313
1052169689Skan	* combine.c (make_extraction) [REG]: Do not use
1053169689Skan	gen_lowpart_for_combine when POS is non-zero.
1054169689Skan
1055169689Skan2003-12-16  Hartmut Penner  <hpenner@de.ibm.com>
1056169689Skan
1057169689Skan	* altivec.h (vec_cmple, vec_all_numeric): Fix typo.
1058169689Skan	* testsuite/gcc.dg/altivec-10.c: Test for above.
1059169689Skan
1060169689Skan2003-12-15  David O'Brien  <obrien@FreeBSD.org>
1061169689Skan
1062169689Skan	* Makefile.in (CPPFLAGS): Initialize from configure.
1063169689Skan
1064169689Skan2003-12-15  Roger Sayle  <roger@eyesopen.com>
1065169689Skan
1066169689Skan	PR middle-end/13400
1067169689Skan	* ifcvt.c (noce_process_if_block): Disable unconditional write
1068169689Skan	optimizations if we could introduce a store to trapping memory
1069169689Skan	that wasn't present previously.
1070169689Skan
1071169689Skan2003-12-15  Kazu Hirata  <kazu@cs.umass.edu>
1072169689Skan
1073169689Skan	* system.h (DEFAULT_CALLER_SAVES): Poison.
1074169689Skan	* toplev.c (flag_caller_saves): Always initialize with 0.
1075169689Skan	* doc/tm.texi (DEFAULT_CALLER_SAVES): Remove.
1076169689Skan
1077169689Skan2003-12-15  Kazu Hirata  <kazu@cs.umass.edu>
1078169689Skan
1079169689Skan	* flow.c (EXIT_IGNORE_STACK): Move to ...
1080169689Skan	* defaults.h (EXIT_IGNORE_STACK): ... here.
1081169689Skan	* dojump.c (clear_pending_stack_adjust): Don't use #ifdef
1082169689Skan	EXIT_IGNORE_STACK.
1083169689Skan	* function.c (expand_function_end): Likewise.
1084169689Skan	* global.c (global_alloc): Likewise.
1085169689Skan	* ra.c (init_ra): Likewise.
1086169689Skan	* reload1.c (init_elim_table): Likewise.
1087169689Skan	* reorg.c (fill_simple_delay_slots): Likewise.
1088169689Skan	* resource.c (init_resource_info): Likewise.
1089169689Skan	* doc/tm.texi (EXIT_IGNORE_STACK): Document that the default
1090169689Skan	is 0.
1091169689Skan
1092169689Skan2003-12-15  J"orn Rennecke <joern.rennecke@superh.com>
1093169689Skan
1094169689Skan	* reload.c (reg_overlap_mentioned_for_reload_p):
1095169689Skan	When looking at a PLUS in X, avoid spuriously returning nonzero
1096169689Skan	when IN is a REG or another simple PLUS, or a MEM containing one.
1097169689Skan
1098169689Skan	* loop.c (loop_invariant_p): Amend comment about where new registers
1099169689Skan	might come from.
1100169689Skan
1101169689Skan2003-12-15  Andreas Jaeger  <aj@suse.de>
1102169689Skan
1103169689Skan	* config/rs6000/rs6000.c (rs6000_output_function_epilogue): Remove
1104169689Skan	handling of obsolete language CHILL.
1105169689Skan
1106169689Skan2003-12-15  Waldek Hebisch  <hebisch@math.uni.wroc.pl>
1107169689Skan
1108169689Skan	* tree.c (initializer_zerop): Add test for empty set.
1109169689Skan	* integrate.c (function_cannot_inline_p): Forbid inlining
1110169689Skan	functions calling `longjmp'.
1111169689Skan
1112169689Skan2003-12-15  Nathan Sidwell  <nathan@codesourcery.com>
1113169689Skan
1114169689Skan	PR c++/11773
1115169689Skan	* doc/gcov.texi (Gcov and Optimization): Document inline function
1116169689Skan	behaviour. Fix some file suffixes.
1117169689Skan
1118169689Skan2003-12-14  David O'Brien  <obrien@FreeBSD.org>
1119169689Skan
1120169689Skan	* config/i386/i386.h (__amd64, __amd64__): Remove duplicates.
1121169689Skan
1122169689Skan2003-12-14  Mark Mitchell  <mark@codesourcery.com>
1123169689Skan
1124169689Skan	* c-common.h (c_parse_error): Declare it.
1125169689Skan	* c-common.c (c_parse_error): New function.
1126169689Skan	* c-parse.y (yyerror): Use it.
1127169689Skan
1128169689Skan2003-12-14  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1129169689Skan
1130169689Skan	PR target/13054
1131169689Skan	* pa-protos.h (indexed_memory_operand, borx_reg_operand,
1132169689Skan	move_dest_operand, move_src_operand): New protypes.
1133169689Skan	(basereg_operand, move_operand, reg_or_nonsymb_mem_operand): Deleted.
1134169689Skan	* pa.c (copy_reg_pointer, indexed_memory_operand, move_dest_operand,
1135169689Skan	move_src_operand): New functions.
1136169689Skan	(basereg_operand, reg_or_nonsymb_mem_operand, move_operand): Delete.
1137169689Skan	(reg_or_0_or_nonsymb_mem_operand): Return false for unscaled indexed
1138169689Skan	address until cse is not expected on targets with non-equivalent
1139169689Skan	space registers.
1140169689Skan	(hppa_legitimize_address): Canonicalize unscaled indexed addresses
1141169689Skan	on targets non-equivalent space registers.
1142169689Skan	(emit_move_sequence): Break out indexed addresses from destination
1143169689Skan	operand.  Similarly, break out unscaled indexed addresses from
1144169689Skan	source operand on targets with non-equivalent space registers.  Fix
1145169689Skan	REG_POINTER flag when possible.  Mark register pointer when creating
1146169689Skan	new pointers.
1147169689Skan	(print_operand): Handle unscaled index addresses.
1148169689Skan	* pa.h (IS_INDEX_ADDR_P, IS_LO_SUM_DLT_ADDR_P): New macro subroutines
1149169689Skan	for EXTRA_CONSTRAINT.
1150169689Skan	(EXTRA_CONSTRAINT): Rework to make more readable.
1151169689Skan	(MODE_OK_FOR_SCALED_INDEXING_P, MODE_OK_FOR_UNSCALED_INDEXING_P): New
1152169689Skan	subroutines for GO_IF_LEGITIMATE_ADDRESS.
1153169689Skan	(GO_IF_LEGITIMATE_ADDRESS): Rework using new subroutines.  Allow scaled
1154169689Skan	and unscaled addresses.  Canonicalize unscaled indexed addresses on
1155169689Skan	targets with non-equivalent space registers.  Document issues in
1156169689Skan	handling indexed address modes on PA-RISC.
1157169689Skan	(PREDICATE_CODES): Update for new and deleted predicates.
1158169689Skan	* pa.md (move_dest_operand, move_src_operand, indexed_memory_operand):
1159169689Skan	Use new predicates in move patterns.
1160169689Skan	Add peephole2 patterns to optimize floating point stores.  Fix
1161169689Skan	constrain preferencing in move patterns.  Delete patterns for handling
1162169689Skan	unscaled indexed memory loads.  Add missing load and store with
1163169689Skan	base-register modification patterns.  Correct SFmode floating point
1164169689Skan	store pattern.  Add missing zero extension loads.
1165169689Skan
1166169689Skan2003-12-13  Steven Bosscher  <stevenb@suse.de>
1167169689Skan
1168169689Skan	* ggc-zone.c (struct alloc_zone): Don't pre-declare, it already
1169169689Skan	comes in with ggc.h.  Add a new bool field `dead'.
1170169689Skan	(destroy_ggc_zone): Don't destroy a zone at once.  Instead, only
1171169689Skan	set the `dead' flag for the dead zone.  Wrap a sanity check in
1172169689Skan	ENABLE_CHECKING.
1173169689Skan	(ggc_collect_1): Always mark and sweep if a zone has the `dead'
1174169689Skan	flag set.
1175169689Skan	(ggc_collect): Free dead zones after collecting.
1176169689Skan
1177169689Skan2003-12-13  Jan Hubicka  <jh@suse.cz>
1178169689Skan
1179169689Skan	* coverage.c (get_coverage_counts):  Use inform instead of warning
1180169689Skan	about missing profile.
1181169689Skan
1182169689Skan2003-12-12  Steven Bosscher  <stevenb@suse.de>
1183169689Skan
1184169689Skan	* Makefile.in (opts.o, explow.o): Depend on langhooks.h
1185169689Skan
1186169689Skan2003-12-12  Geoffrey Keating  <geoffk@apple.com>
1187169689Skan
1188169689Skan	* config.gcc <i[34567]86-*-darwin*>: Don't use fixproto.
1189169689Skan	<powerpc-*-darwin*>: Likewise.
1190169689Skan
1191169689Skan2003-12-12  Jakub Jelinek  <jakub@redhat.com>
1192169689Skan
1193169689Skan	* config/ia64/linux.h (IA64_GATE_AREA_END): Increase by 64K.
1194169689Skan	(MD_FALLBACK_FRAME_STATE_FOR): Set fpsr_loc, br_loc[6] and
1195169689Skan	br_loc[7].  Update comment.
1196169689Skan	(MD_HANDLE_UNWABI): Define.
1197169689Skan	* config/ia64/unwind-ia64.c (struct unw_state_record): Add
1198169689Skan	unwabi field.
1199169689Skan	(struct _Unwind_Context): Increase br_loc array size to 8 entries.
1200169689Skan	(desc_abi): Set unwabi.
1201169689Skan	(uw_update_reg_address): Allow br up to 7.
1202169689Skan	(uw_update_context): Invoke MD_HANDLE_UNWABI if defined.
1203169689Skan	(uw_install_context): Load b1..b5 from correct locations.
1204169689Skan	Fix insn loading ar.fpsr.
1205169689Skan	* doc/tm.texi: Document MD_HANDLE_UNWABI.
1206169689Skan
1207169689Skan2003-12-12  Roger Sayle  <roger@eyesopen.com>
1208169689Skan
1209169689Skan	PR optimization/13037
1210169689Skan	* loop.c (update_giv_derive): Ignore redundant sets of a biv when
1211169689Skan	calculating how to derive a giv from a biv.
1212169689Skan
1213169689Skan2003-12-12  Neil Booth  <neil@daikokuya.co.uk>
1214169689Skan
1215169689Skan	PR preprocessor/12935 preprocessor/12952 preprocessor/13046
1216169689Skan	* cpplib.c (prepare_directive_trad): Clear skipping only in
1217169689Skan	#if and #elif directives.
1218169689Skan	(do_undef): Call the handler even if the identifier is not a macro.
1219169689Skan	* cpptrad.c (scan_parameters): Emit an error message.
1220169689Skan	(_cpp_create_trad_definition): Remember the params list even on
1221169689Skan	failure.
1222169689Skan
1223169689Skan2003-12-11  Zack Weinberg  <zack@codesourcery.com>
1224169689Skan
1225169689Skan	* arm.c (ARM_ADDRESS_COST, THUMB_ADDRESS_COST): Convert macros
1226169689Skan	to inline functions: arm_arm_address_cost, arm_thumb_address_cost
1227169689Skan	respectively.
1228169689Skan	(arm_address_cost): Use 'em.
1229169689Skan
1230169689Skan2003-12-12  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1231169689Skan
1232169689Skan	* config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Define
1233169689Skan	__STDC_VERSION__ to ISO C94 for C++.
1234169689Skan
1235169689Skan	* fixinc/inclhack.def (alpha_wchar): New fix.
1236169689Skan	* fixinc/fixincl.x: Regenerate.
1237169689Skan	* fixinc/tests/base/wchar.h: New file.
1238169689Skan
1239169689Skan2003-12-11  David Mosberger  <davidm@hpl.hp.com>
1240169689Skan
1241169689Skan	* unwind-libunwind.c (_Unwind_SetGR): Clear the NaT bit as
1242169689Skan	required by C++ ABI for Itanium.
1243169689Skan	* config/t-libunwind (LIB2ADDEH): Remove unwind-libunwind.c.
1244169689Skan	* config/t-libunwind-no-eh: New file.
1245169689Skan	* configure.in: Check libunwind for _Unwind_Resume() and if it's
1246169689Skan	present, set libunwind_has_eh_support to "yes".
1247169689Skan	* configure: Regenerate.
1248169689Skan	* config.gcc (ia64*-*-linux*): If $libunwind_has_eh_support is
1249169689Skan	set to yes, use t-libunwind, otherwise, use t-libunwind-no-eh.
1250169689Skan
1251169689Skan2003-12-11  Richard Sandiford  <rsandifo@redhat.com>
1252169689Skan
1253169689Skan	* config/mips/mips.c (mips_global_pointer): Force functions with
1254169689Skan	a nonlocal goto to set up $gp.
1255169689Skan
1256169689Skan2003-12-11  James E Wilson  <wilson@specifixinc.com>
1257169689Skan
1258169689Skan	PR target/13132
1259169689Skan	* function.c (gen_mem_addressof): When no decl, explicitly clear flag
1260169689Skan	bits.
1261169689Skan
1262169689Skan2003-12-12  Nick Clifton  <nickc@redhat.com>
1263169689Skan
1264169689Skan	* config/m32r/m32r.c: Convert to ISO-C
1265169689Skan
1266169689Skan2003-12-12  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
1267169689Skan
1268169689Skan	* doc/invoke.texi: Replace Mitsubishi with Renesas.
1269169689Skan	* config/m32r/m32r.h: Ditto.
1270169689Skan	* config/m32r/m32r.c: Ditto.
1271169689Skan	* config/m32r/m32r.md: Ditto.
1272169689Skan
1273169689Skan2003-12-11  Steven Bosscher  <steven@gcc.gnu.org>
1274169689Skan
1275169689Skan	* basic-block.h (BLOCK_HEAD, BLOCK_END): Remove.
1276169689Skan	(BLOCK_HEAD_TREE, BLOCK_END_TREE): Remove.
1277169689Skan	(basic_block_def): Rename `head' to `head_' and `end' to `end_'.
1278169689Skan	(BB_HEAD, BB_END): New accessor macros for the `head_' and `end_'
1279169689Skan	fields of a basic block.
1280169689Skan	* bb-reorder.c, bt-load.c, caller-save.c, cfg.c, cfganal.c,
1281169689Skan	cfgbuild.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgloopanal.c,
1282169689Skan	cfgloopmanip.c, cfgrtl.c, combine.c, conflict.c, df.c, emit-rtl.c,
1283169689Skan	final.c, flow.c, function.c, gcse.c, global.c, graph.c,
1284169689Skan	haifa-sched.c, ifcvt.c, lcm.c, local-alloc.c, loop-unswitch.c,
1285169689Skan	loop.c, postreload.c, predict.c, profile.c, ra-build.c, ra-debug.c,
1286169689Skan	ra-rewrite.c, ra.c, recog.c, reg-stack.c, regclass.c, regmove.c,
1287169689Skan	regrename.c, reload1.c, resource.c, sched-ebb.c, sched-rgn.c,
1288169689Skan	sibcall.c, tracer.c, config/frv/frv.c, config/i386/i386.c,
1289169689Skan	config/ia64/ia64.c: Use the BB_HEAD and BB_END macros instead of
1290169689Skan	accessing the `head' and `end' fields of a basic block directly.
1291169689Skan
1292169689Skan	* gengtype.c: Teach about "void**" pointers and "void *" function
1293169689Skan	types.  Fixes earlier commit.
1294169689Skan
1295169689Skan2003-12-10  Geoffrey Keating  <geoffk@apple.com>
1296169689Skan
1297169689Skan	* doc/extend.texi (Vector Extensions): Document that bitwise
1298169689Skan	operations also work on vectors.
1299169689Skan
1300169689Skan2003-12-10  Richard Earnshaw  <rearnsha@arm.com>
1301169689Skan
1302169689Skan	* arm.md: New split patterns for optimizing bitfield accesses.
1303169689Skan
1304169689Skan2003-12-10  Steven Bosscher  <stevenb@suse.de>
1305169689Skan
1306169689Skan	* README.Portability: Remove K+R section.
1307169689Skan
1308169689Skan	* gengtype-lex.l: Teach about "void**" pointers and
1309169689Skan	"void*" function types.
1310169689Skan
1311169689Skan2003-12-10  Eric Botcazou  <ebotcazou@libertysurf.fr>
1312169689Skan
1313169689Skan	PR target/13354
1314169689Skan	* config/sparc/sparc.c (sparc_output_mi_thunk): Load DELTA
1315169689Skan	manually if one can do that with only one instruction.
1316169689Skan
1317169689Skan2003-12-10  Nick Clifton  <nickc@redhat.com>
1318169689Skan
1319169689Skan	* config.gcc (arm-linux): Include linux.h in tm_file so that
1320169689Skan	LINUX_TARGET_OS_CPP_BUILTINS is defined.
1321169689Skan	* config/arm/linux-elf.h (LIB_SPEC): Protect the definition.
1322169689Skan
1323169689Skan2003-12-09  James E Wilson  <wilson@specifixinc.com>
1324169689Skan
1325169689Skan	* rtl.def (CODE_LABEL, NOTE): Correct operand numbers in comments.
1326169689Skan
1327169689Skan2003-12-09  Matt Austern  <austern@apple.com>
1328169689Skan
1329169689Skan	PR c/13134
1330169689Skan	* c-decl.c (duplicate_decls): Copy visibility flag when appropriate.
1331169689Skan
1332169689Skan2003-12-09  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1333169689Skan
1334169689Skan	* config/m32r/m32r.h: Add support for m32r2 processor.  Including
1335169689Skan	a new command line option -m32r2 to select it.
1336169689Skan	* config/m32r/m32r.c: Add support for the new processor variant.
1337169689Skan	* config/m32r/m32r.md: Likewise.
1338169689Skan	* config/m32r/t-m32r: Add m32r2 multilibs.
1339169689Skan	* doc/invoke.texi: Document the new command line switch.
1340169689Skan
1341169689Skan2003-12-08  Kazu Hirata  <kazu@cs.umass.edu>
1342169689Skan
1343169689Skan	* defaults.h (LOCAL_REGNO): Give the default definition.
1344169689Skan	* flow.c (LOCAL_REGNO): Remove.
1345169689Skan	* reload1.c (LOCAL_REGNO): Likewise.
1346169689Skan
1347169689Skan2003-12-08  Geoffrey Keating  <geoffk@apple.com>
1348169689Skan
1349169689Skan	PR target/11848
1350169689Skan	* rs6000.h (CANNOT_CHANGE_MODE_CLASS): Allow change of mode
1351169689Skan	in floating-point registers between TFmode and DImode.
1352169689Skan	* rs6000.c (rs6000_emit_move): Split moves early.
1353169689Skan	(secondary_reload_class): Random Whitespace Change.
1354169689Skan	(rs6000_split_multireg_move): Support moves involving FP registers.
1355169689Skan	Emit instructions directly.
1356169689Skan	* rs6000-protos.h (rs6000_split_multireg_move): Update prototype.
1357169689Skan	* altivec.md: Update for changes to rs6000_split_multireg_move.
1358169689Skan	* rs6000.md: Update for changes to rs6000_split_multireg_move.
1359169689Skan	(movtf_internal): Support moves to/from GPRs.
1360169689Skan
1361169689Skan2003-12-08  Stuart Hastings  <stuart@apple.com>
1362169689Skan
1363169689Skan	* config/i386/i386.md: Typo in split of fp-valued if_then_else.
1364169689Skan
1365169689Skan2003-12-08  James E Wilson  <wilson@specifixinc.com>
1366169689Skan
1367169689Skan	PR target/13132
1368169689Skan	* expmed.c (extract_bit_field): Only call mode_for_size for scalar
1369169689Skan	integer modes.
1370169689Skan
1371169689Skan2003-12-08  Nathanael Nerode  <neroden@gcc.gnu.org>
1372169689Skan
1373169689Skan	* doc/install.texi: Revert change of Dec 7; gcc is still a 2.13
1374169689Skan	directory.
1375169689Skan
1376169689Skan2003-12-08  Alexandre Oliva  <aoliva@redhat.com>
1377169689Skan
1378169689Skan	* config/frv/frv.md (subdi2): Merge with _internal insn_and_split,
1379169689Skan	by using match_scratch.
1380169689Skan	(negdi2): New.
1381169689Skan
1382169689Skan2003-12-08  Jason Merrill <jason@redhat.com>
1383169689Skan	    Daniel Berlin  <dberlin@dberlin.org>
1384169689Skan
1385169689Skan	PR debug/11114
1386169689Skan	Support namespaces in DWARF 2 output.
1387169689Skan	* dwarf2out.c (gen_namespace_die): New function.
1388169689Skan	(force_namespace_die, setup_namespace_context): New fns.
1389169689Skan	(declare_in_namespace): New fn.
1390169689Skan	(gen_decl_die): Call declare_in_namespace.  Handle namespaces.
1391169689Skan	(dwarf2out_decl): Handle namespaces.
1392169689Skan	(scope_die_for): Pass through a namespace scope.
1393169689Skan	(class_scope_p): Rename to class_or_namespace_scope_p.
1394169689Skan	(gen_subprogram_die, gen_variable_die): Adjust.
1395169689Skan	(gen_struct_or_union_die): Always emit a declaration
1396169689Skan	if context_die is a namespace.
1397169689Skan
1398169689Skan2003-12-08  Jan Hubicka  <jh@suse.cz>
1399169689Skan
1400169689Skan	* unwind-pe.h (read_uleb128): Fix handling of large values
1401169689Skan	(read_sleb128): Fix handling of large values
1402169689Skan
1403169689Skan2003-12-08  Andrew Pinski  <pinskia@physics.uc.edu>
1404169689Skan
1405169689Skan	PR middle-end/10060
1406169689Skan	* emit-rtl.c (copy_rtx_if_shared): Split out into ...
1407169689Skan	(copy_rtx_if_shared_1): here and optimize the last one
1408169689Skan	in the sequence into tail-recursion.
1409169689Skan	(reset_used_flags): Optimize the last one
1410169689Skan	in the sequence into tail-recursion.
1411169689Skan
1412169689Skan2003-12-08  Richard Earnshaw  <rearnsha@arm.com>
1413169689Skan
1414169689Skan	* arm.md: New split to transform ((X << y) - 1) into ~(~(X-1) << y)
1415169689Skan	for constant X.
1416169689Skan
1417169689Skan2003-12-08  Richard Sandiford  <rsandifo@redhat.com>
1418169689Skan
1419169689Skan	* calls.c (expand_call): Don't try using tail or recursive calls
1420169689Skan	after the function body has been expanded.
1421169689Skan
1422169689Skan2003-12-08  Jan Hubicka  <jh@suse.cz>
1423169689Skan
1424169689Skan	* i386.md (cmpstr expander): Obey TARGET_INLINE_ALL_STRINGOPS
1425169689Skan
1426169689Skan2003-12-08  Arnaud Charlet  <charlet@act-europe.fr>
1427169689Skan
1428169689Skan	PR ada/13324, PR ada/12614
1429169689Skan	* doc/install.texi: Update requirements for building Ada.
1430169689Skan
1431169689Skan2003-12-07  David Edelsohn  <edelsohn@gnu.org>
1432169689Skan	    Graham Reed <greed@pobox.com>
1433169689Skan
1434169689Skan	* collect2.c (GCC_OK_SYMBOL): Add support for AIX C_WEAKEXT.
1435169689Skan	(GCC_UNDEF_SYMBOL): Same.
1436169689Skan
1437169689Skan2003-12-07  Kazu Hirata  <kazu@cs.umass.edu>
1438169689Skan
1439169689Skan	* final.c (final_scan_insn): Don't use FINAL_PRESCAN_LABEL.
1440169689Skan	* system.h (FINAL_PRESCAN_LABEL): Poison.
1441169689Skan	* doc/tm.texi (FINAL_PRESCAN_LABEL): Remove.
1442169689Skan
1443169689Skan2003-12-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1444169689Skan
1445169689Skan	* Makefile.in (compare): Combine toplevel and $(SUBDIRS) cases.
1446169689Skan
1447169689Skan2003-12-07  Nathanael Nerode  <neroden@gcc.gnu.org>
1448169689Skan
1449169689Skan	* configure.in, aclocal.m4: Revert to pre-2.5x conversion status.
1450169689Skan	* configure: Regenerate with autoconf 2.13.
1451169689Skan
1452169689Skan	* configure.in: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
1453169689Skan	with modern equivalents.
1454169689Skan	* configure: Regenerate.
1455169689Skan
1456169689Skan	* configure.in: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
1457169689Skan	* aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
1458169689Skan	* configure: Regenerate.
1459169689Skan
1460169689Skan	* configure: Regenerate with (preferred) autoconf 2.57.
1461169689Skan	* doc/install.texi: Note that 'gcc' is now a 2.57 directory.
1462169689Skan
1463169689Skan2003-12-07  Eric Botcazou  <ebotcazou@libertysurf.fr>
1464169689Skan
1465169689Skan	PR optimization/12965
1466169689Skan	* caller-save.c (save_call_clobbered_regs): Do not save/restore
1467169689Skan	registers around no-return calls.
1468169689Skan
1469169689Skan2003-12-07  Nathanael Nerode  <neroden@gcc.gnu.org>
1470169689Skan
1471169689Skan	* configure.in: Make minimum necessary changes for autoconf 2.5x.
1472169689Skan	* aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
1473169689Skan	* configure: Regenerate with autoconf 2.58.
1474169689Skan
1475169689Skan2003-12-07  Eric Botcazou  <ebotcazou@libertysurf.fr>
1476169689Skan
1477169689Skan	PR optimization/13318
1478169689Skan	* loop.c (express_from): Protect integer division from overflow.
1479169689Skan
1480169689Skan2003-12-07  Eric Botcazou  <ebotcazou@libertysurf.fr>
1481169689Skan
1482169689Skan	PR optimization/13060
1483169689Skan	* function.c (fixup_var_refs_1) [SUBREG]: Recognize even if a
1484169689Skan	replacement already exists.  Fix again the whole insn if that fails.
1485169689Skan
1486169689Skan2003-12-06  Andrew Pinski  <pinskia@physics.uc.edu>
1487169689Skan
1488169689Skan	* config/rs6000/rs6000.c (macho_branch_islands): Use
1489169689Skan	HOST_WIDE_INT_PRINT_UNSIGNED.
1490169689Skan
1491169689Skan2003-12-06  Richard Sandiford  <rsandifo@redhat.com>
1492169689Skan
1493169689Skan	* varasm.c (incorporeal_function_p): New.
1494169689Skan	(assemble_external): Use it as a filter.
1495169689Skan	* config/mips/mips.c (mips_output_external): Don't check for builtin
1496169689Skan	functions here.
1497169689Skan
1498169689Skan2003-12-06  Richard Earnshaw  <reanrsha@arm.com>
1499169689Skan
1500169689Skan	* arm.md (IOR (COMPARISON) (AND)): New define_splits.
1501169689Skan
1502169689Skan2003-12-06  Kelley Cook  <kcook@gcc.gnu.org>
1503169689Skan
1504169689Skan	* Makefile.in (program_transform_cross_name): Delete.
1505169689Skan	(GCC_CROSS_NAME, CPP_CROSS_NAME): Delete.
1506169689Skan	(PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Delete.
1507169689Skan	(AR_FOR_TARGET, RANLIB_FOR_TARGET, NM_FOR_TARGET): Adjust for above.
1508169689Skan	(install_cpp, install_driver, install-man, uninstall): Likewise.
1509169689Skan
1510169689Skan2003-12-06  Alan Modra  <amodra@bigpond.net.au>
1511169689Skan
1512169689Skan	PR 13169
1513169689Skan	* basic-block.h (PROP_ASM_SCAN): Define.
1514169689Skan	* final.c (regs_asm_clobbered): New array.
1515169689Skan	* regs.h (regs_asm_clobbered): Declare.
1516169689Skan	* flow.c (life_analysis): Init it.
1517169689Skan	(mark_set_regs): Set PROP_ASM_SCAN for asms.
1518169689Skan	(mark_set_1): Set regs_asm_clobbered.
1519169689Skan	* global.c (global_alloc): Don't set eliminable_regset when
1520169689Skan	regs_asm_clobbered.
1521169689Skan
1522169689Skan2003-12-05  Mark Mitchell  <mark@codesourcery.com>
1523169689Skan
1524169689Skan	* config/ia64/ia64.h (MUST_PASS_IN_STACK): Define.
1525169689Skan
1526169689Skan	PR c++/13314
1527169689Skan	* emit-rtl.c (set_mem_attributes_minus_bitpos): Robustify.
1528169689Skan
1529169689Skan2003-12-05  Andrew Pinski <pinskia@physics.uc.edu>
1530169689Skan
1531169689Skan	PR driver/13211
1532169689Skan	* gcc.c (execute) Increment execution_count when returning
1533169689Skan	early because verbose_only_flag is true.
1534169689Skan
1535169689Skan2003-12-05  Per Bothner  <pbothner@apple.com>
1536169689Skan
1537169689Skan	* cppfiles.c (file_hash_hash):  New static function.
1538169689Skan	(hash_string_eq):  Renamed static function to file_hash_eq.
1539169689Skan	(_cpp_init_files):  Create file_hash table with above callbacks.
1540169689Skan	(cpp_included):  Must use htab_find_with_hash insead of htab_find.
1541169689Skan	(_cpp_find_find, make_cpp_dir):  Must use htab_find_slot_with_hash.
1542169689Skan
1543169689Skan2003-12-05  Per Bothner  <pbothner@apple.com>
1544169689Skan
1545169689Skan	* line-map.h (source_location):  New typedef.
1546169689Skan	(fileline):  Redefined as source_location.
1547169689Skan	(struct line_map, linemap_add, linemap_lookup):  Replace filefile
1548169689Skan	by source_location.
1549169689Skan	* line-map.c (linemap_add, linemap_lookup):  Use source_location.
1550169689Skan
1551169689Skan2003-12-05  Richard Henderson  <rth@redhat.com>
1552169689Skan
1553169689Skan	* config/alpha/alpha.c (alpha_build_builtin_va_list): Add dummy
1554169689Skan	field to suppress -Wpadded warnings.
1555169689Skan
1556169689Skan2003-12-05  Stuart Hastings  <stuart@apple.com>
1557169689Skan
1558169689Skan	* config/rs6000/rs6000.md: Correct macro test of TARGET_MACHO.
1559169689Skan
1560169689Skan2003-12-05  Stuart Menefy <stuart.menefy@st.com>
1561169689Skan	    J"orn Rennecke <joern.rennecke@superh.com>
1562169689Skan
1563169689Skan	PR target/13302
1564169689Skan	* sh.c (sh_build_builtin_va_list): Use (*lang_hooks.types.make_type).
1565169689Skan
1566169689Skan2003-12-05  Roger Sayle  <roger@eyesopen.com>
1567169689Skan
1568169689Skan	* dojump.c (do_jump): If the expression being compared against
1569169689Skan	zero, is the subreg of a promoted variable, perform the comparison
1570169689Skan	in the promoted mode.
1571169689Skan	* simplify-rtx.c (simplify_unary_operation): Optimize sign and
1572169689Skan	zero-extensions of subregs of promoted variables where the
1573169689Skan	extension is identical to that used to promote the variable.
1574169689Skan
1575169689Skan2003-12-05  Hans-Peter Nilsson  <hp@axis.com>
1576169689Skan
1577169689Skan	PR target/13256
1578169689Skan	* resource.h (enum mark_resource_type): Remove member MARK_DEST.
1579169689Skan	The only user changed as follows:
1580169689Skan	* resource.c (mark_set_resources) <case SET>: Always recurse for
1581169689Skan	SET_SRC (x).
1582169689Skan	<case SIGN_EXTRACT, case ZERO_EXTRACT>: Always recurse on
1583169689Skan	operands.
1584169689Skan	<case STRICT_LOW_PART>: Delete, deferring to default code.
1585169689Skan
1586169689Skan2003-12-05  Waldek Hebisch <hebisch@math.uni.wroc.pl>
1587169689Skan
1588169689Skan	* stmt.c (expand_nl_goto_receiver): Copy hard register clobbers
1589169689Skan	and ASM_INPUT barrier from expand_builtin_setjmp_receiver.
1590169689Skan
1591169689Skan2003-12-05  Richard Sandiford  <rsandifo@redhat.com>
1592169689Skan
1593169689Skan	* config/mips/mips.c (mips_expand_call): Don't allow laziy binding
1594169689Skan	for n32 & n64 abicalls.
1595169689Skan
1596169689Skan2003-12-05  Richard Sandiford  <rsandifo@redhat.com>
1597169689Skan
1598169689Skan	PR bootstrap/13145
1599169689Skan	* config/mips/mips.h (FIRST_PSEUDO_REGISTER): Adjust comment.
1600169689Skan	* config/mips/mips.c (mips_reg_names, mips_sw_reg_names): Add $fcall.
1601169689Skan	(mips_load_got): Always create a constant MEM.
1602169689Skan	(mips_expand_call): Use load_callsi and load_calldi.
1603169689Skan	* config/mips/mips.md (UNSPEC_LOAD_CALL, FAKE_CALL_REGNO): New consts.
1604169689Skan	(load_callsi, load_calldi): New patterns.
1605169689Skan
1606169689Skan2003-12-05  Peter Gerwinski <peter@gerwinski.de>
1607169689Skan
1608169689Skan	* tree.def (PLACEHOLDER_EXPR): Clarify commentary.
1609169689Skan
1610169689Skan2003-12-05  Steven Bosscher  <stevenb@suse.de>
1611169689Skan
1612169689Skan	* config/d30v/d30v-protos.h , config/d30v/d30v.c,
1613169689Skan	config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
1614169689Skan	config/fr30/fr30-protos.h, config/fr30/fr30.c,
1615169689Skan	config/i370/i370-protos.h, config/i370/i370.c,
1616169689Skan	config/i960/i960-protos.h, config/i960/i960.c,
1617169689Skan	config/ip2k/ip2k-protos.h, config/ip2k/ip2k.c,
1618169689Skan	config/m32r/m32r-protos.h, config/m32r/m32r.c,
1619169689Skan	config/mn10300/mn10300-protos.h, config/mn10300/mn10300.c,
1620169689Skan	config/ns32k/ns32k-protos.h, config/ns32k/ns32k.c:
1621169689Skan	Convert to ISO C90 function declarations and definitions.
1622169689Skan
1623169689Skan2003-12-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
1624169689Skan
1625169689Skan	* doc/extend.texi (Constructing Calls): Add warning about
1626169689Skan	the limitations of the functions.
1627169689Skan
1628169689Skan2003-12-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
1629169689Skan
1630169689Skan	PR middle-end/11151
1631169689Skan	* function.h (struct function): New field 'x_naked_return_label'.
1632169689Skan	* function.c (free_after_compilation): Set it to NULL.
1633169689Skan	(expand_function_end): Emit 'naked_return_label' if it exists.
1634169689Skan	* rtl.h (expand_naked_return): Declare.
1635169689Skan	* stmt.c (expand_naked_return): New function to generate a
1636169689Skan	jump to 'naked_return_label'.
1637169689Skan	* builtins.c (expand_builtin_return): Call expand_naked_return
1638169689Skan	instead of expand_null_return.
1639169689Skan	* config/sparc/sparc.md (untyped_return): Likewise.
1640169689Skan
1641169689Skan2003-12-04  Andrew Pinski  <pinskia@physics.uc.edu>
1642169689Skan
1643169689Skan	PR target/11322
1644169689Skan	* config/sh/netbsd-elf.h (NO_PROFILE_COUNTERS): Define.
1645169689Skan
1646169689Skan	PR target/12467
1647169689Skan	* config/rs6000/altivec.md (altivec_vmsummbm): Fix typo.
1648169689Skan
1649169689Skan2003-12-04  Stuart Hastings  <stuart@apple.com>
1650169689Skan
1651169689Skan	* rs6000.c (output_call, macho_branch_islands,
1652169689Skan	add_compiler_branch_island, no_previous_def, get_previous_label)
1653169689Skan	Revisions of xx_stub functions for branch islands,
1654169689Skan	add -fPIC support for Darwin.
1655169689Skan	* rs6000-protos.h (output_call) Prototype.
1656169689Skan	* rs6000.md Use output_call.
1657169689Skan	* invoke.texi Explain Darwin semantics of -longcall.
1658169689Skan	* testsuite/gcc.dg/darwin-abi-1.c Revise testcase for -longcall/jbsr.
1659169689Skan
1660169689Skan2003-12-04  Richard Henderson  <rth@redhat.com>
1661169689Skan
1662169689Skan	* config/i386/i386.md (addqi3_carry): Use q not r constraints.
1663169689Skan	(subqi3_carry): Likewise.
1664169689Skan
1665169689Skan2003-12-04  J"orn Rennecke <joern.rennecke@superh.com>
1666169689Skan
1667169689Skan	PR optimization/13260
1668169689Skan	* sh-protos.h (sh_expand_t_scc): Declare.
1669169689Skan	* sh.h (PREDICATE_CODES): Add cmpsi_operand.
1670169689Skan	* sh.c (cmpsi_operand, sh_expand_t_scc): New functions.
1671169689Skan	* sh.md (cmpsi): Use cmpsi_operand.  If T_REG is compared to
1672169689Skan	something that is not a CONST_INT, copy it into a pseudo register.
1673169689Skan	(subc): Fix description of new T value.
1674169689Skan	(slt, sgt, sge, sgtu): Don't clobber T after rtl generation is over.
1675169689Skan	(sltu, sleu, sgeu): Likewise.
1676169689Skan	(seq, sne): Likewise. Use sh_expand_t_scc.
1677169689Skan
1678169689Skan2003-12-04  Nathanael Nerode  <neroden@gcc.gnu.org>
1679169689Skan
1680169689Skan	* configure.in: Generalize the CONFIG_HEADERS pattern under which
1681169689Skan	we stamp cstamp-h.
1682169689Skan	* configure: Regenerate.
1683169689Skan
1684169689Skan	* configure.in: Pull AC_CHECK_HEADER call out of shell if statement
1685169689Skan	to avoid trouble when updating to autoconf 2.5x.
1686169689Skan	* configure: Regenerate (with autoconf 2.13 still).
1687169689Skan
1688169689Skan2003-12-04  J"orn Rennecke <joern.rennecke@superh.com>
1689169689Skan
1690169689Skan	* sh.md (truncdiqi2): Use andi opcode for immediate.
1691169689Skan	(reload_outdf+1,reload_outdf+2): Remove constraints.
1692169689Skan	(movv16sf_i): Fxi multiplier for SUBREG_BYTE.
1693169689Skan	(movv8qi_i+2): Zero-extend low byte before adding it to high byte.
1694169689Skan	(fipr, ftrv): Add .s suffix to opcode.
1695169689Skan
1696169689Skan2003-12-04  Richard Sandiford  <rsandifo@redhat.com>
1697169689Skan
1698169689Skan	PR target/13186
1699169689Skan
1700169689Skan	Revert all of the following patch, except the addition of
1701169689Skan	hook_bool_machine_mode_true:
1702169689Skan
1703169689Skan	2003-11-02  Richard Sandiford  <rsandifo@redhat.com>
1704169689Skan
1705169689Skan	* Makefile.in (targhooks.o, reload.o): Update dependencies.
1706169689Skan	(GTFILES): Add targhooks.c.
1707169689Skan	(gt-targhooks.h): New rule; depend on s-gtype.
1708169689Skan	* target.h (direct_pool_load_p): New hook.
1709169689Skan	* target-def.h (TARGET_DIRECT_POOL_LOAD_P): New macro.
1710169689Skan	(TARGET_INITIALIZER): Include it.
1711169689Skan	* targhooks.h (default_direct_pool_load_p): Declare.
1712169689Skan	(hook_bool_machine_mode_true): Declare.
1713169689Skan	* targhooks.c: Include insn-config.h, recog.h, ggc.h and
1714169689Skan	gt-targhooks.h.
1715169689Skan	(pool_symbol): New variable.
1716169689Skan	(default_direct_pool_load_p): New function.
1717169689Skan	(hook_bool_machine_mode_true): New function.
1718169689Skan	* reload.c: Include target.h.
1719169689Skan	(find_reloads): If an alternative will force a constant into memory,
1720169689Skan	count an extra reload if constant pool symbols are not valid
1721169689Skan	addresses.  If an alternative uses memory to move values between
1722169689Skan	registers, count the move as two reloads rather than one.
1723169689Skan	* config/s390/s390.c (TARGET_DIRECT_POOL_LOAD_P): Define.
1724169689Skan	* doc/tm.texi (TARGET_DIRECT_POOL_LOAD_P): Document.
1725169689Skan
1726169689Skan2003-12-03  Mark Mitchell  <mark@codesourcery.com>
1727169689Skan
1728169689Skan	* config/ia64/hpux.h (TARGET_HAVE_TLS): Define it to false.
1729169689Skan	* config/ia64/ia64.h (TARGET_HAVE_TLS): Define it to true if
1730169689Skan	HAVE_AS_TLS is true.
1731169689Skan	* config/ia64/ia64.c (TARGET_HAVE_TLS): Do not define it.
1732169689Skan
1733169689Skan2003-12-03  James E Wilson  <wilson@specifixinc.com>
1734169689Skan
1735169689Skan	* gcc.c (init_spec): Pass -lunwind to init_gcc_specs in eh_name.
1736169689Skan
1737169689Skan	* gcc-page.c (extra_order_size_tab): Correct comment.
1738169689Skan
1739169689Skan2003-12-03  Kazu Hirata  <kazu@cs.umass.edu>
1740169689Skan
1741169689Skan	* config/h8300/h8300.c (push): Call gen_push_h8300hs_advanced
1742169689Skan	instead of gen_push_h8300hs.
1743169689Skan	(pop): Call gen_pop_h8300hs_advanced instead of
1744169689Skan	gen_pop_h8300hs.
1745169689Skan	* config/h8300/h8300.h (TRAMPOLINE_SIZE): Use Pmode.
1746169689Skan	* config/h8300/h8300.md (*tablejump_h8300hs_advanced):
1747169689Skan	Tighten the predicate.
1748169689Skan	(*tablejump_h8300hs_normal): Tighten the predicate.
1749169689Skan	(push_h8300hs): Change to
1750169689Skan	push_h8300hs_advanced.
1751169689Skan	(pop_h8300hs): Change to pop_h8300hs_advanced.
1752169689Skan
1753169689Skan2003-12-03  Eric Christopher  <echristo@redhat.com>
1754169689Skan
1755169689Skan	* rtl.c: Fix typo.
1756169689Skan	* config/mips/mips.h: Ditto. Fix formatting.
1757169689Skan
1758169689Skan2003-12-04  Ben Elliston  <bje@wasabisystems.com>
1759169689Skan
1760169689Skan	* future.options: Remove. Move to gnu.org web pages.
1761169689Skan
1762169689Skan2003-12-03  Eric Christopher  <echristo@redhat.com>
1763169689Skan
1764169689Skan	* c-parse.in (c_in_iteration_stmt, c_in_case_stmt): Move
1765169689Skan	from here...
1766169689Skan	* c-tree.h: to here.
1767169689Skan
1768169689Skan2003-12-03  Jan Hubicka  <jh@suse.cz>
1769169689Skan
1770169689Skan	PR optimization/12324
1771169689Skan	* toplev.c  (rest_of_decl_compilation): Do not deffer when compiling
1772169689Skan	in unit-at-a-time mode.
1773169689Skan
1774169689Skan2003-12-03  Jakub Jelinek  <jakub@redhat.com>
1775169689Skan
1776169689Skan	* expr.c (store_constructor): Only set RTX_UNCHANGING_P for
1777169689Skan	read-only field if cleared is 0.
1778169689Skan
1779169689Skan2003-12-03  Nathanael Nerode  <neroden@gcc.gnu.org>
1780169689Skan
1781169689Skan	* config.gcc: Mark obsolete targets for GCC 3.4.
1782169689Skan
1783169689Skan2003-12-03  Zack Weinberg  <zack@codesourcery.com>
1784169689Skan
1785169689Skan	* aclocal.m4 (AM_ICONV): Add explicit check for iconv.h.
1786169689Skan	* config.in, configure.in: Regenerate.
1787169689Skan	* cpphash.h: Check both HAVE_ICONV and HAVE_ICONV_H before
1788169689Skan	including iconv.h.
1789169689Skan
1790169689Skan2003-12-03  Alan Modra  <amodra@bigpond.net.au>
1791169689Skan
1792169689Skan	PR target/11229
1793169689Skan	* cse.c (cse_insn): Set classp using src_const_elt if
1794169689Skan	src_eqv_elt is NULL.
1795169689Skan
1796169689Skan2003-12-03  Richard Earnshaw  <rearnsha@arm.com>
1797169689Skan
1798169689Skan	* gcse.c (reg_clear_last_set): New function.
1799169689Skan	(reg_set_info): If data is non-null, treat it as an sbitmap of
1800169689Skan	registers, set the bit for the register being set.
1801169689Skan	(compute_store_table): Allocate last_set_in with xcalloc.  Do not
1802169689Skan	memset this array on each iteration.  Pass reg_set_in_block[bb->index]
1803169689Skan	to note_stores while computing last_set_in instead of scanning
1804169689Skan	last_set_in after the first pass through the insns.
1805169689Skan	Clear last_set_in using reg_clear_last_set instead of explicitly
1806169689Skan	rescanning after each insn.  If checking is enabled, assert that
1807169689Skan	last_set_in is completely zeroed after each bb has been processed.
1808169689Skan
1809169689Skan2003-12-02  Geoffrey Keating  <geoffk@geoffk.org>
1810169689Skan
1811169689Skan	* df.c (df_uses_record) <MEM>: The argument of a MEM is read-only,
1812169689Skan	never read-write.
1813169689Skan	<REG>: Delete incorrect comment.
1814169689Skan	<SET>: Remove 'use_flags' variable.
1815169689Skan
1816169689Skan2003-12-03  David Edelsohn  <edelsohn@gnu.org>
1817169689Skan
1818169689Skan	* function.c (assign_parms): Make sure parm PARALLEL combined
1819169689Skan	in reg is composed of more than one object and the mode really
1820169689Skan	produces a reg.
1821169689Skan
1822169689Skan2003-12-03  Jan Hubicka  <jh@suse.cz>
1823169689Skan
1824169689Skan	* i386.c (classify_argument): Make it 64bit clean.
1825169689Skan
1826169689Skan2003-12-02  Richard Sandiford  <rsandifo@redhat.com>
1827169689Skan
1828169689Skan	* config/mips/mips.c (mips_output_external): Replace checks for
1829169689Skan	specific builtin-in functions with a check for DECL_BUILTIN_IN.
1830169689Skan
1831169689Skan2003-12-02  Richard Henderson  <rth@redhat.com>
1832169689Skan
1833169689Skan	* rtl.h (PUT_CODE, PUT_MODE): Remove ENUM_BITFIELD cast.
1834169689Skan	* tree.h (TREE_SET_CODE): Likewise.
1835169689Skan	* recog.h (struct insn_operand_data): Move const after ENUM_BITFIELD.
1836169689Skan
1837169689Skan2003-12-02  Ben Elliston  <bje@wasabisystems.com>
1838169689Skan
1839169689Skan	* dbxstclass.h: Rename from this ..
1840169689Skan	* xcoff.h: .. to this.
1841169689Skan	* xcoffout.c: Include xcoff.h.
1842169689Skan
1843169689Skan2003-12-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1844169689Skan
1845169689Skan	* Makefile.in (GCC_CFLAGS): Add -Wold-style-definition.
1846169689Skan
1847169689Skan2003-12-01  James Lemke <jim@wasabisystems.com>
1848169689Skan
1849169689Skan	* config/arm/arm.c (arm_rtx_costs): Improve for xscale multiply.
1850169689Skan
1851169689Skan2003-12-01  Roger Sayle  <roger@eyesopen.com>
1852169689Skan
1853169689Skan	PR optimization/11634
1854169689Skan	* recog.c (split_insn): Factor test of INSN_P and handling of
1855169689Skan	set_noop_p out of here into the two callers.
1856169689Skan	(split_all_insns): Add INSN_P test and set_noop_p handling here.
1857169689Skan	If deleting a no-op set after reload that has a REG_UNUSED note,
1858169689Skan	mark the basic block as changed and recalculate life information.
1859169689Skan	(split_all_insns_noflow): Add INSN_P test and set_noop_p handling
1860169689Skan	here.
1861169689Skan
1862169689Skan2003-12-01  Roger Sayle  <roger@eyesopen.com>
1863169689Skan
1864169689Skan	PR optimization/12322
1865169689Skan	* gcse.c (struct ls_expr): Change type of hash_index from int to
1866169689Skan	unsigned int.
1867169689Skan	(hash_expr): Document hash_table_size parameter and wrap long line.
1868169689Skan	(ldst_entry): Calculate expression's hash_index and record in ptr.
1869169689Skan	(trim_ld_motion_mems): Use hash_index to search a single bucket
1870169689Skan	instead of scanning the entire hash_table.  Remove the "del" local
1871169689Skan	variable and use the equivalent "expr == 0" instead.  Change last
1872169689Skan	to be a pointer to the pointer to the current element, to simplify
1873169689Skan	and speed-up deleting from a linked list.
1874169689Skan
1875169689Skan2003-12-01  James E Wilson  <wilson@specifixinc.com>
1876169689Skan
1877169689Skan	* doc/contrib.texi: Update David Mosberger.
1878169689Skan
1879169689Skan	* doc/c-tree.texi (CONSTRUCTOR): Clarify element order and handling
1880169689Skan	of missing fields.
1881169689Skan
1882169689Skan	PR target/8407
1883169689Skan	* config/ia64/ia64.c (ia64_function_arg): For single-reg HFA, call
1884169689Skan	gen_rtx_REG to create new reg with argument mode.
1885169689Skan
1886169689Skan2003-12-01  Steven Bosscher  <stevenb@suse.de>
1887169689Skan
1888169689Skan	* ggc.h (struct alloc_zone): Move forward declaration up.
1889169689Skan	(new_ggc_zone): New function prototype.
1890169689Skan	(destroy_ggc_zone): Ditto.
1891169689Skan	* ggc-simple.c (new_ggc_zone): New function, does nothing.
1892169689Skan	(destroy_ggc_zone): Ditto.
1893169689Skan	* ggc-page.c (new_ggc_zone): New function, does nothing.
1894169689Skan	(destroy_ggc_zone): Ditto.
1895169689Skan	* ggc-zone.c (struct page_entry): Fix comment.
1896169689Skan	(ggc_alloc_typed): Use a switch statement instead of ifs.
1897169689Skan	(new_ggc_zone): New function to set up a new GC zone.
1898169689Skan	(destroy_ggc_zone): New function to remove a GC zone.
1899169689Skan	init_ggc): Use new_ggc_zone to set up the default zones.
1900169689Skan	(ggc_collect): Walk a list of zones, instead of just the
1901169689Skan	default zones.  Report statistics using the zone name.
1902169689Skan
1903169689Skan2003-12-01  Ulrich Weigand  <uweigand@de.ibm.com>
1904169689Skan
1905169689Skan	* unroll.c (find_splittable_givs): Add missing extend_value_for_giv.
1906169689Skan
1907169689Skan2003-12-01  Roger Sayle  <roger@eyesopen.com>
1908169689Skan
1909169689Skan	PR optimization/12628
1910169689Skan	* toplev.c (rest_of_handle_jump_bypass): Call reg_scan.
1911169689Skan	* regclass.c (reg_scan): Include allocate_reg_info time in
1912169689Skan	TV_REG_SCAN.  Minor clean-ups.
1913169689Skan	(reg_scan_update): Minor clean-ups.
1914169689Skan
1915169689Skan2003-12-01  Ulrich Weigand  <uweigand@de.ibm.com>
1916169689Skan
1917169689Skan	* config.gcc (s390x-ibm-tpf*): Add extra_parts.
1918169689Skan
1919169689Skan2003-12-01  James E Wilson  <wilson@specifixinc.com>
1920169689Skan
1921169689Skan	* config/ia64/ia64.h (FUNCTION_ARG_REGNO_P): Use AR_REG_FIRST not
1922169689Skan	GR_ARG_FIRST.
1923169689Skan
1924169689Skan2003-12-01  Zack Weinberg  <zack@codesourcery.com>
1925169689Skan
1926169689Skan	* common.opt: Remove -fgnu-linker.
1927169689Skan	* flags.h: Remove flag_gnu_linker.
1928169689Skan	* opts.c: Don't handle OPT_fgnu_linker.
1929169689Skan	* toplev.c: Don't initialize flag_gnu_linker.
1930169689Skan	Remove gnu-linker entry from f_options.
1931169689Skan	* config/dsp16xx/dsp16xx.h (OPTIMIZATION_OPTIONS):
1932169689Skan	Don't reset flag_gnu_linker.
1933169689Skan	* config/mips/mips.c (override_options): Likewise.
1934169689Skan	* doc/invoke.texi: Remove all mention of -fgnu-linker.
1935169689Skan
1936169689Skan2003-12-01  Daniel Berlin  <dberlin@dberlin.org>
1937169689Skan
1938169689Skan	* ggc-zone.c (ggc_pch_write_object): Calculate object size using
1939169689Skan	ggc_get_size (which accounts for large objects properly).
1940169689Skan
1941169689Skan2003-12-01  Jeff Sturm  <jsturm@one-point.com>
1942169689Skan
1943169689Skan	PR optimization/13024
1944169689Skan	* toplev.c (rest_of_handle_new_regalloc): Remove rebuild_notes
1945169689Skan	parameter.
1946169689Skan	(rest_of_handle_old_regalloc): Likewise.  Add rebuild_notes
1947169689Skan	declaration.  Rebuild jump labels following local_alloc if necessary.
1948169689Skan	(rest_of_compilation): Remove rebuild_label_notes_after_reload
1949169689Skan	declaration.  Don't pass rebuild_notes parameter to
1950169689Skan	rest_of_handle_new_regalloc and rest_of_handle_old_regalloc.
1951169689Skan	Don't rebuild jump labels.
1952169689Skan
1953169689Skan2003-12-01  Jeff Law  <law@redhat.com>
1954169689Skan
1955169689Skan	* flow.c (count_or_remove_death_notes_bb): New.  Extracted from
1956169689Skan	count_or_remove_death_notes.
1957169689Skan	(count_or_remove_death_notes): Use EXECUTE_IF_SET_IN_SBITMAP.
1958169689Skan
1959169689Skan2003-12-01  Andreas Krebbel  <krebbel1@de.ibm.com>
1960169689Skan
1961169689Skan	* builtins.c (expand_builtin_longjmp): Added two memory clobbers.
1962169689Skan
1963169689Skan2003-12-01  Ulrich Weigand  <uweigand@de.ibm.com>
1964169689Skan
1965169689Skan	* reload.c (find_reloads_address): Split addresses of type
1966169689Skan	(plus (plus (reg) (reg)) (const_int)) only if one register
1967169689Skan	is either a valid base register or else one of the stack
1968169689Skan	frame related registers (sp/fp/ap).
1969169689Skan
1970169689Skan2003-12-01  Steven Bosscher  <stevenb@suse.de>
1971169689Skan
1972169689Skan	* function.c (update_epilogue_consts): Don't use PARAMS.
1973169689Skan	* rtl.h (web_main): Ditto.
1974169689Skan	* target.h (is_costly_dependence): Ditto
1975169689Skan
1976169689Skan2003-12-01  Eric Botcazou  <ebotcazou@libertysurf.fr>
1977169689Skan
1978169689Skan	PR middle-end/7847
1979169689Skan	* expr.c (expand_expr) [normal_inner_ref]: When 'offset' is non-zero,
1980169689Skan	do not recheck that 'op0' is a MEM.  Move comment.  When testing for
1981169689Skan	unaligned objects, take also into account the alignment of 'op0' and
1982169689Skan	'mode1' if 'op0' is a MEM.
1983169689Skan
1984169689Skan2003-12-01 Gabriel Dos Reis <gdr@integrable-solutions.net>
1985169689Skan
1986169689Skan	* doc/c-tree.texi (Function Bodies): Update HANDLER documentation.
1987169689Skan
1988169689Skan2003-12-01  Kelley Cook  <kcook@gcc.gnu.org>
1989169689Skan
1990169689Skan	* doc/install.texi: Note that fastjar is built with automake 1.7.x
1991169689Skan	and autoconf 2.57.
1992169689Skan
1993169689Skan2003-12-01  Alan Modra  <amodra@bigpond.net.au>
1994169689Skan
1995169689Skan	* config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Test
1996169689Skan	target_flags directly rather than using TARGET_* defines.
1997169689Skan
1998169689Skan2003-11-30  Ben Elliston  <bje@wasabisystems.com>
1999169689Skan
2000169689Skan	* doschk.c: Remove.
2001169689Skan
2002169689Skan2003-11-30  Richard Sandiford  <rsandifo@redhat.com>
2003169689Skan
2004169689Skan	PR target/12727
2005169689Skan	* config/mips/mips.c (mips_save_reg): Fix frame information for sdc1
2006169689Skan	on 32-bit big-endian targets.
2007169689Skan
2008169689Skan2003-11-30  Kazu Hirata  <kazu@cs.umass.edu>
2009169689Skan
2010169689Skan	* genemit.c (register_constraints): Remove.
2011169689Skan
2012169689Skan2003-11-30  Andreas Krebbel  <krebbel1@de.ibm.com>
2013169689Skan
2014169689Skan	* config/s390/s390.md ("tmdi_reg", "tmsi_reg", "*movdi_64", "*movdi_31",
2015169689Skan	"iordi3"): Insns now use multiple letter constraints.
2016169689Skan	("*movdi_lhi", "*movdi_lli", "*movdi_lay"): Insns deleted. They are now
2017169689Skan	covered by "*movdi_64".
2018169689Skan	("*movsi_lhi", "*movsi_lli", "*movsi_lay"): Insns deleted. They are now
2019169689Skan	covered by "*movsi_zarch" and "*movsi_esa".
2020169689Skan	("*movsi_zarch", "*movsi_!zarch"): New insns.
2021169689Skan	("*llgt_sisi_split", "*llgt_didi_split"): Insns deleted. Now covered
2022169689Skan	by "*andsi3_zarch" and "anddi3".
2023169689Skan	("*anddi3_ni"): Insn merged with "anddi3".
2024169689Skan	("*andsi3_ni"): Insn merged with "*andsi3_zarch".
2025169689Skan	("*andsi3_zarch", "*andsi3_esa"): New insns.
2026169689Skan	("*iordi3_oi"): Insn merged with "iordi3".
2027169689Skan	("*iorsi3_oi"): Insn merged with "*iorsi3_zarch".
2028169689Skan	("*iorsi3_zarch", "*iorsi3_esa"): New insns.
2029169689Skan
2030169689Skan	* config/s390/s390.c (s390_single_qi, s390_single_hi): Functions
2031169689Skan	merged to s390_single_part.
2032169689Skan	(s390_single_part): New function.
2033169689Skan	NOTE: Semantics have changed a bit. Now the value of the part must
2034169689Skan	be different from the others to get a non-negative return value.
2035169689Skan	(s390_extract_qi, s390_extract_hi): Functions merged to
2036169689Skan	s390_extract_part.
2037169689Skan	(s390_extract_part, s390_extra_constraint_str,
2038169689Skan	s390_const_ok_for_constraint_p): New functions. The L constraint got a
2039169689Skan	new meaning and the N constraint was added as a multiple letter
2040169689Skan	constraint.
2041169689Skan	(s390_extra_constraint): Function deleted.
2042169689Skan	(print_operand): New output modifier 'i' and 'j' added.
2043169689Skan	All uses of CONST_OK_FOR_LETTER_P were replaced by
2044169689Skan	CONST_OK_FOR_CONSTRAINT_P.
2045169689Skan
2046169689Skan	* config/s390/s390-protos.h: Function prototypes adapted.
2047169689Skan	* doc/md.texi: Documentation for new constraint letters added.
2048169689Skan
2049169689Skan2003-11-30  Andreas Schwab  <schwab@suse.de>
2050169689Skan
2051169689Skan	* Makefile.in ($(DESTDIR)$(infodir)/%.info): Fix missing semicolon.
2052169689Skan
2053169689Skan2003-11-29  James E Wilson  <wilson@specifixinc.com>
2054169689Skan
2055169689Skan	* gcc.c (init_spec): Pass -lunwind to init_gcc_specs in eh_name
2056169689Skan	instead of in shared_name.
2057169689Skan
2058169689Skan	* final.c (final_start_function): Delete code for NON_SAVING_SETJMP.
2059169689Skan	* reload1.c (reload): Re-add it here.
2060169689Skan
2061169689Skan2003-11-30  Alan Modra  <amodra@bigpond.net.au>
2062169689Skan
2063169689Skan	* config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Don't
2064169689Skan	set SECTION_WRITE on TARGET_RELOCATABLE.
2065169689Skan
2066169689Skan2003-11-29  Kazu Hirata  <kazu@cs.umass.edu>
2067169689Skan
2068169689Skan	* config/h8300/h8300.h (LIBCALL_VALUE): Use R0_REG.
2069169689Skan
2070169689Skan2003-11-28  Gunther Nikl  <gni@gecko.de>
2071169689Skan
2072169689Skan	* config/m68k/m68k.c (MOTOROLA): Move from here...
2073169689Skan	* config/m68k/m68k.h (MOTOROLA): ... to here.
2074169689Skan	(OUTPUT_JUMP): Use do {...} while (0).
2075169689Skan	* config/m68k/m68k.md: Replace #ifdef MOTOROLA with C statements.
2076169689Skan
2077169689Skan2003-11-28  Gunther Nikl  <gni@gecko.de>
2078169689Skan
2079169689Skan	* config.gcc (m68020-*-elf*, m68k-*-elf*, m68010-*-netbsdelf*,
2080169689Skan	m68k*-*-netbsdelf*, m68k-*-rtems*): Add tm_defines containing
2081169689Skan	MOTOROLA and USE_GAS.
2082169689Skan	* config/m68k/rtemself.h (MOTOROLA): Delete.
2083169689Skan	* config/m68k/netbsd-elf.h (MOTOROLA, USE_GAS): Delete.
2084169689Skan	* config/m68k/m68kelf.h (MOTOROLA, USE_GAS, SGS_CMP_ORDER): Delete.
2085169689Skan
2086169689Skan2003-11-29  Kazu Hirata  <kazu@cs.umass.edu>
2087169689Skan
2088169689Skan	* config/h8300/h8300.h (WORDS_BIG_ENDIAN): Update the comment.
2089169689Skan
2090169689Skan2003-11-29  Kelley Cook  <kcook@gcc.gnu.org>
2091169689Skan
2092169689Skan	* Makefile.in (install-info): Install gccinstall.info too.
2093169689Skan
2094169689Skan2003-11-29  Ulrich Weigand  <uweigand@de.ibm.com>
2095169689Skan
2096169689Skan	* config/s390/s390.md ("cmpint_di"): Fix incorrect instruction lengths.
2097169689Skan
2098169689Skan2003-11-29  Ulrich Weigand  <uweigand@de.ibm.com>
2099169689Skan
2100169689Skan	* config/s390/s390.md ("movhi"): Do not emit extender pattern
2101169689Skan	when loading from a (MEM (ADDRESSOF ...)).
2102169689Skan	("movqi"): Likewise.
2103169689Skan
2104169689Skan2003-11-29  Joseph S. Myers  <jsm@polyomino.org.uk>
2105169689Skan
2106169689Skan	PR c/10333
2107169689Skan	* c-parse.in (typespec_reserved_nonattr): Reject typeof on
2108169689Skan	bit-fields.
2109169689Skan
2110169689Skan2003-11-29  Richard Sandiford  <rsandifo@redhat.com>
2111169689Skan
2112169689Skan	* stmt.c (expand_asm_operands): Check whether force_const_mem
2113169689Skan	succeeded.
2114169689Skan
2115169689Skan2003-11-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2116169689Skan
2117169689Skan	* config/gnu.h (HURD_TARGET_OS_CPP_BUILTINS): New.
2118169689Skan	* config/linux.h (LINUX_TARGET_OS_CPP_BUILTINS): New.
2119169689Skan
2120169689Skan	* config/alpha/gnu.h, config/alpha/linux.h,
2121169689Skan	config/arm/linux-elf.h, config/cris/cris.h, config/cris/linux.h,
2122169689Skan	config/i370/linux.h, config/i386/gnu.h, config/i386/i386.h,
2123169689Skan	config/i386/linux-aout.h, config/i386/linux.h,
2124169689Skan	config/i386/linux64.h, config/ia64/linux.h, config/m68k/linux.h,
2125169689Skan	config/m68k/uclinux.h, config/mips/linux.h,
2126169689Skan	config/mn10300/linux.h, config/pa/pa-linux.h,
2127169689Skan	config/rs6000/sysv4.h, config/s390/linux.h, config/sh/linux.h,
2128169689Skan	config/sparc/linux.h, config/sparc/linux64.h,
2129169689Skan	config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Use
2130169689Skan	HURD_TARGET_OS_CPP_BUILTINS/LINUX_TARGET_OS_CPP_BUILTINS or ensure
2131169689Skan	all necessary assertions are included.
2132169689Skan
2133169689Skan2003-11-28  Jan Hubicka  <jh@suse.cz>
2134169689Skan
2135169689Skan	* emit-rtl.c (set_used_flags): New.
2136169689Skan	(verify_rtx_sharing, verify_rtl_sharing): New.
2137169689Skan	(unshare_all_rtl_1): Rename to....
2138169689Skan	(unshare_all_rtl_in_chain): ... this one; make static.
2139169689Skan	(copy_rtx_if_shared): LABEL_REF chan be shared.
2140169689Skan	* ifcvt.c (unshare_ifcvt_sequence): New.
2141169689Skan	(noce_try_move, noce_try_store_flag, noce_try_store_flag_constants,
2142169689Skan	noce_try_addcc, noce_try_addcc, noce_try_store_flag_mask,
2143169689Skan	noce_try_cmove, noce_try_store_flag_mask, noce_try_minmax,
2144169689Skan	noce_try_abs, noce_process_if_block, find_cond_trap
2145169689Skan	* rtl.h (verify_rtl_sharing, set_used_flags, unshare_all_rtl_in_chain):
2146169689Skan	Declare.
2147169689Skan
2148169689Skan2003-11-28  Kazu Hirata  <kazu@cs.umass.edu>
2149169689Skan
2150169689Skan	* config/h8300/h8300.md: Fix a comment typo.
2151169689Skan
2152169689Skan2003-11-28  Kazu Hirata  <kazu@cs.umass.edu>
2153169689Skan
2154169689Skan	* config/h8300/h8300.md (*movsf_h8300h): Change to
2155169689Skan	*movsf_h8300hs.
2156169689Skan	(addsi_h8300): Change to *addsi_h8300.
2157169689Skan	(addsi_h8300h): Change to *addsi_h8300hs.
2158169689Skan	(subsi3_h8300): Change to *subsi3_h8300.
2159169689Skan	(subsi3_h8300h): Change to *subsi3_h8300hs.
2160169689Skan	(neghi2_h8300h): Change to *neghi2_h8300hs.
2161169689Skan	(negsi2_h8300h): Change to *negsi2_h8300hs.
2162169689Skan
2163169689Skan2003-11-28  Kazu Hirata  <kazu@cs.umass.edu>
2164169689Skan
2165169689Skan	* config/h8300/h8300.md (*subhi3_h8300): Remove '&' from the
2166169689Skan	constraint.
2167169689Skan	(*subhi3_h8300hs): Likewise.
2168169689Skan
2169169689Skan2003-11-28  David Edelsohn  <edelsohn@gnu.org>
2170169689Skan
2171169689Skan	* config/rs6000/rs6000.h (MASK_MFCRF): New.
2172169689Skan	(TARGET_MFCRF): Test target_flags, not processor type.
2173169689Skan	(TARGET_SWITCHES): Add mfcrf and no-mfcrf.
2174169689Skan	Change Don't to Do not.
2175169689Skan	* config/rs6000/rs6000.c (processors_target_table): Add MASK_MFCRF
2176169689Skan	to power4, 970, G5.
2177169689Skan
2178169689Skan2003-11-27  J"orn Rennecke <joern.rennecke@superh.com>
2179169689Skan
2180169689Skan	* cse.c (cse_set_around_loop): When changing a constant load
2181169689Skan	to a register -register copy, add a REG_EQUAL note.
2182169689Skan
2183169689Skan2003-11-27  Randolph Chung  <tausq@debian.org>
2184169689Skan	    John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2185169689Skan
2186169689Skan	* pa.c (hppa_profile_hook): Split gen_call_profiler into separate
2187169689Skan	insns.  Use the regular call expander for the call to the profiler.
2188169689Skan	* pa.md (call_profiler): Delete.
2189169689Skan	(load_offset_label_address): New insn to load the address of the
2190169689Skan	current function for the profiler.
2191169689Skan	(lcla1, lcla2): New insns to output a code label and load its address.
2192169689Skan
2193169689Skan2003-11-27  Kazu Hirata  <kazu@cs.umass.edu>
2194169689Skan
2195169689Skan	* final.c (final_scan_insn): Remove commented-out code.
2196169689Skan
2197169689Skan2003-11-27  Nathanael Nerode  <neroden@gcc.gnu.org>
2198169689Skan
2199169689Skan	* doc/install.texi: Remove ADAC reference and make accurate.
2200169689Skan
2201169689Skan2003-11-27  Kazu Hirata  <kazu@cs.umass.edu>
2202169689Skan
2203169689Skan	* config/h8300/h8300.h (FUNCTION_VALUE): Use R0_REG.
2204169689Skan	(FUNCTION_VALUE_REGNO_P): Likewise.
2205169689Skan	* config/h8300/h8300.md: Define R0_REG.
2206169689Skan
2207169689Skan2003-11-27  Kazu Hirata  <kazu@cs.umass.edu>
2208169689Skan
2209169689Skan	* config/h8300/h8300.c: Fix formatting.
2210169689Skan	* config/h8300/h8300.md: Likewise.
2211169689Skan
2212169689Skan2003-11-27  Kazu Hirata  <kazu@cs.umass.edu>
2213169689Skan
2214169689Skan	* config/h8300/h8300.h (ELIMINABLE_REGS): Update a comment.
2215169689Skan
2216169689Skan2003-11-27  Kazu Hirata  <kazu@cs.umass.edu>
2217169689Skan
2218169689Skan	* config/h8300/h8300.md: Give names to anonymous insns.
2219169689Skan
2220169689Skan2003-11-27  Kazu Hirata  <kazu@cs.umass.edu>
2221169689Skan
2222169689Skan	* config/h8300/h8300.md (extendqisi2): Remove constraints.
2223169689Skan
2224169689Skan2003-11-27  Gunther Nikl  <gni@gecko.de>
2225169689Skan
2226169689Skan	* doc/tm.texi (SYSROOT_HEADERS_SUFFIX_SPEC): Fix typo.
2227169689Skan
2228169689Skan2003-11-27  Eric Botcazou  <ebotcazou@libertysurf.fr>
2229169689Skan
2230169689Skan	PR optimization/13041
2231169689Skan	* final.c (frame_pointer_needed): Fix comment.
2232169689Skan	* reload1.c (reload): Decrease alignment of the frame
2233169689Skan	pointer if it was used for register allocation.
2234169689Skan
2235169689Skan2003-11-27  Eric Botcazou  <ebotcazou@libertysurf.fr>
2236169689Skan
2237169689Skan	PR target/12900
2238169689Skan	* reg-stack (move_for_stack_reg): New prototype.  Return
2239169689Skan	whether a control flow insn was deleted.
2240169689Skan	(subst_stack_regs_pat): Likewise, using the information provided
2241169689Skan	by move_for_stack_reg.
2242169689Skan	(subst_stack_regs): Likewise, using the information provided
2243169689Skan	by subst_stack_regs_pat.
2244169689Skan	(convert_regs_1): Record whether a control flow insn was deleted,
2245169689Skan	using the information provided by subst_stack_regs.  Purge dead
2246169689Skan	edges only if a control flow insn was deleted.
2247169689Skan
2248169689Skan2003-11-27  Eric Botcazou  <ebotcazou@libertysurf.fr>
2249169689Skan
2250169689Skan	PR middle-end/8028
2251169689Skan	PR middle-end/9890
2252169689Skan	PR middle-end/11151
2253169689Skan	PR middle-end/12210
2254169689Skan	PR middle-end/12503
2255169689Skan	PR middle-end/12692
2256169689Skan	* builtins.c (expand_builtin_apply): Use virtual_outgoing_args_rtx
2257169689Skan	as the base address to copy the memory arguments to.
2258169689Skan
2259169689Skan2003-11-26  Danny Smith  <dannysmith@users.sourceforge.net>
2260169689Skan
2261169689Skan	* config/i386/cygming.h (ASM_OUTPUT_DEF_FROM_DECLS): Declare
2262169689Skan	function aliases as functions.
2263169689Skan
2264169689Skan2003-11-26  Nathanael Nerode  <neroden@gcc.gnu.org>
2265169689Skan
2266169689Skan	* aclocal.m4 (gcc_AC_PROG_GNAT): Rewrite to account for removal
2267169689Skan	of ADAC.
2268169689Skan	* configure: Regenerate.
2269169689Skan
2270169689Skan	* Makefile.in: Remove references to ADAC.
2271169689Skan
2272169689Skan	* configure.in: Remove check for whether ${ADAC} accepts -Wno-long-long.
2273169689Skan	* configure: Regenerate.
2274169689Skan
2275169689Skan2003-11-26  Eric Botcazou  <ebotcazou@libertysurf.fr>
2276169689Skan	    Olivier Hainque  <hainque@act-europe.fr>
2277169689Skan
2278169689Skan	PR target/6466
2279169689Skan	* config/sparc/sparc-protos.h (compute_frame_size): New prototype.
2280169689Skan	(sparc_flat_compute_frame_size): Likewise.
2281169689Skan	(sparc_flat_save_restore): Move prototype...
2282169689Skan	* config/sparc/sparc.c (sparc_flat_save_restore): ...here.
2283169689Skan	(save_regs): New prototype.
2284169689Skan	(build_big_number): Likewise.
2285169689Skan	(apparent_fsize): Change type to HOST_WIDE_INT.
2286169689Skan	(actual_fsize): Likewise.
2287169689Skan	(frame_base_offset): Likewise.
2288169689Skan	(build_big_number): Add support for HOST_BITS_PER_WIDE_INT == 64.
2289169689Skan	Change string descriptor to HOST_WIDE_INT_PRINT_DEC.
2290169689Skan	[TARGET_ARCH64]: Use the sequence of sparc_emit_set_const64_longway
2291169689Skan	to load a 64-bit constant.
2292169689Skan	(sparc_nonflat_function_prologue): Change string descriptor to
2293169689Skan	HOST_WIDE_INT_PRINT_DEC.  Change offset type to HOST_WIDE_INT.
2294169689Skan	(output_restore_regs): Change offset type to HOST_WIDE_INT.
2295169689Skan	(sparc_nonflat_function_epilogue): Change string descriptor to
2296169689Skan	HOST_WIDE_INT_PRINT_DEC.  Use build_big_number.
2297169689Skan	(output_sibcall): Change size type to HOST_WIDE_INT.  Use
2298169689Skan	build_big_number.  Change string descriptor to HOST_WIDE_INT_PRINT_DEC.
2299169689Skan	(sparc_frame_info): Change types for several components.
2300169689Skan	(sparc_flat_compute_frame_size): Update types according to previous
2301169689Skan	change.
2302169689Skan	(sparc_flat_function_prologue): Change string descriptor to
2303169689Skan	HOST_WIDE_INT_PRINT_DEC.  Change offset type to int.  Use
2304169689Skan	build_big_number.
2305169689Skan	(sparc_flat_function_epilogue): Change offset type to int.
2306169689Skan	Rename 'size1' into 'reg_offset1'.  Change string descriptor to
2307169689Skan	HOST_WIDE_INT_PRINT_DEC.  Use build_big_number.  Change big number
2308169689Skan	limit to 4096 instead of 4095.
2309169689Skan
2310169689Skan	* config/sparc/sparc.c (mems_ok_for_ldd_peep): Change offset type to
2311169689Skan	HOST_WIDE_INT.
2312169689Skan
2313169689Skan2003-11-24  Waldek Hebisch <hebisch@math.uni.wroc.pl>
2314169689Skan
2315169689Skan	* function.c: Make outer_function-chain external.
2316169689Skan	* function.h: Likewise.
2317169689Skan
2318169689Skan2003-11-24  Richard Sandiford  <rsandifo@redhat.com>
2319169689Skan
2320169689Skan	* config.gcc (mips-sgi-irix6*): Add t-iris6gld to tmake_file when
2321169689Skan	using GNU ld.
2322169689Skan	* config/mips/iris6.h (IRIX6_STARTFILE_SPEC): New, taking the
2323169689Skan	whole of the previous STARTFILE_SPEC except crtbegin.o%s.
2324169689Skan	(IRIX6_ENDFILE_SPEC): Likewise ENDFILE_SPEC and crtend.o%s.
2325169689Skan	(STARTFILE_SPEC, ENDFILE_SPEC): Define in terms of the above.
2326169689Skan	(SUBTARGET_EXTRA_SPECS): Define.
2327169689Skan	* config/mips/iris6gld.h (LINK_SPEC): Change -init function
2328169689Skan	to __gcc_init and -fini function to __gcc_fini.
2329169689Skan	(STARTFILE_SPEC): Redefine, including irix6-crti.o before crtbegin.o.
2330169689Skan	(ENDFILE_SPEC): Likewise, including irix6-crtn.o after crtend.o.
2331169689Skan	(INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Define.
2332169689Skan	* config/mips/t-iris6gld,
2333169689Skan	* config/mips/irix6-crti.asm,
2334169689Skan	* config/mips/irix6-crtn.asm: New files.
2335169689Skan
2336169689Skan2003-11-24  Eric Christopher  <echristo@redhat.com>
2337169689Skan
2338169689Skan	PR C/13014
2339169689Skan	* c-decl.c (c_in_iteration_stmt, c_in_case_stmt): New.
2340169689Skan	(start_function): Use.
2341169689Skan	(c_push_function_context): Ditto.
2342169689Skan	(c-pop_function_context): Ditto.
2343169689Skan	(language_function): Move...
2344169689Skan	* c-tree.h: ... here. Add x_in_iteration_stmt, and
2345169689Skan	x_in_case_stmt.
2346169689Skan	* c-parse.in (do_stmt_start, select_or_iter_stmt, stmt): Use
2347169689Skan	c_in_iteration_stmt, c_in_case_stmt for parser state. Move
2348169689Skan	check for valid break or continue statment here...
2349169689Skan	* c-semantics.c (genrtl_break_stmt, genrtl_continue_stmt): From
2350169689Skan	here. Change original errors to abort.
2351169689Skan
2352169689Skan2003-11-24  Jan Hubicka  <jh@suse.cz>
2353169689Skan
2354169689Skan	* fold-const.c (fold):  Do not return early when optimizing
2355169689Skan	COMPONENT_REF and constant.
2356169689Skan
2357169689Skan2003-11-24  Kazu Hirata  <kazu@cs.umass.edu>
2358169689Skan
2359169689Skan	* config/h8300/h8300.md (tablejump_h8300): Change to
2360169689Skan	*tablejump_h8300.
2361169689Skan	(tablejump_h8300h): Change to *tablejump_h8300hs_advanced.
2362169689Skan	(tablejump_normal_mode): Change to *tablejump_h8300hs_normal.
2363169689Skan	(indirect_jump_h8300): Change to *indirect_jump_h8300.
2364169689Skan	(indirect_jump_h8300h): Change to
2365169689Skan	*indirect_jump_h8300hs_advanced.
2366169689Skan	(indirect_jump_normal_mode): Change to
2367169689Skan	*indirect_jump_h8300hs_normal.
2368169689Skan
2369169689Skan2003-11-24  Kazu Hirata  <kazu@cs.umass.edu>
2370169689Skan
2371169689Skan	* config/h8300/h8300.md: Remove constraints from expanders.
2372169689Skan
2373169689Skan2003-11-24  Kazu Hirata  <kazu@cs.umass.edu>
2374169689Skan
2375169689Skan	* config/h8300/h8300.md: (stm_h8300s_2): Change the name to
2376169689Skan	stm_h8300s_2_advanced.
2377169689Skan	(stm_h8300s_2_normal): New.
2378169689Skan	(stm_h8300s_2): Likewise.
2379169689Skan	(stm_h8300s_3): Change the name to stm_h8300s_3_advanced.
2380169689Skan	(stm_h8300s_3_normal): New.
2381169689Skan	(stm_h8300s_3): Likewise.
2382169689Skan	(stm_h8300s_4): Change the name to stm_h8300s_4_advanced.
2383169689Skan	(stm_h8300s_4_normal): New.
2384169689Skan	(stm_h8300s_4): Likewise.
2385169689Skan	(ldm_h8300s_2): Change the name to ldm_h8300s_2_advanced.
2386169689Skan	(ldm_h8300s_2_normal): New.
2387169689Skan	(ldm_h8300s_2): Likewise.
2388169689Skan	(ldm_h8300s_3): Change the name to ldm_h8300s_3_advanced.
2389169689Skan	(ldm_h8300s_3_normal): New.
2390169689Skan	(ldm_h8300s_3): Likewise.
2391169689Skan	(ldm_h8300s_4): Change the name to ldm_h8300s_4_advanced.
2392169689Skan	(ldm_h8300s_4_normal): New.
2393169689Skan	(ldm_h8300s_4): Likewise.
2394169689Skan	(two peephole2's): Enable only with !TARGET_NORMAL_MODE.
2395169689Skan	(two peephole2's): New.
2396169689Skan
2397169689Skan2003-11-24  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2398169689Skan
2399169689Skan	* genattrtab.c (simplify_cond): Update indices correctly.
2400169689Skan	(attr_alt_subset_p, attr_alt_subset_of_compl_p, attr_alt_intersection,
2401169689Skan	attr_alt_union, attr_alt_complement, attr_alt_bit_p, mk_attr_alt): New.
2402169689Skan	(check_attr_test, encode_units_mask, compute_alternative_mask,
2403169689Skan	make_alternative_compare, simplify_and_tree,
2404169689Skan	attr_rtx_cost, simplify_test_exp, gen_attr,
2405169689Skan	write_test_expr, walk_attr_value): Handle EQ_ATTR_ALT.
2406169689Skan	* rtl.def (EQ_ATTR_ALT): New.
2407169689Skan
2408169689Skan2003-11-23  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2409169689Skan
2410169689Skan	* genattrtab.c (strcmp_check, DEF_ATTR_STRING): New macros.
2411169689Skan	(length_str, delay_type_str, delay_1_0_str, num_delay_slots_str):
2412169689Skan	New variables.
2413169689Skan	(main): Initialize them.
2414169689Skan	(find_attr): Canonicalize the attribute name string.
2415169689Skan	(attr_rtx_1, copy_boolean, expand_delays, gen_unit): Always canonicalize
2416169689Skan	string arguments.
2417169689Skan	(attr_printf, attr_eq): Use DEF_ATTR_STRING.
2418169689Skan	(check_attr_test, check_attr_value, make_length_attrs,
2419169689Skan	write_length_unit_log, simplify_by_exploding, gen_attr,
2420169689Skan	write_test_expr, write_attr_value, write_eligible_delay,
2421169689Skan	write_complex_function, make_internal_attr,
2422169689Skan	write_const_num_delay_slots): Changed due to change of type of
2423169689Skan	find_attr.
2424169689Skan	(fill_attr, evaluate_eq_attr, simplify_and_tree,
2425169689Skan	attr_rtx_cost, simplify_by_exploding, walk_attr_value): Use
2426169689Skan	strcmp_check.
2427169689Skan
2428169689Skan2003-11-23  Kazu Hirata  <kazu@cs.umass.edu>
2429169689Skan
2430169689Skan	PR target/13122
2431169689Skan	* config/h8300/h8300.c (push): Call push_h8300hs_normal in
2432169689Skan	normal mode.
2433169689Skan	(pop): Call pop_h8300hs_normal in normal mode.
2434169689Skan	* config/h8300/h8300.md: Likewise.
2435169689Skan	(pushqi1_h8300hs_normal): New.
2436169689Skan	(pushqi1): Call pushqi1_h8300hs_normal in normal mode.
2437169689Skan	(pushhi1_h8300hs_normal): New.
2438169689Skan	(pushhi1): Call pushhi1_h8300hs_normal in normal mode.
2439169689Skan	(push_h8300hs_normal): New.
2440169689Skan	(pop_h8300hs_normal): Likewise.
2441169689Skan
2442169689Skan2003-11-23  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
2443169689Skan
2444169689Skan	* genattrtab.c (count_sub_rtxs): Removed.
2445169689Skan
2446169689Skan2003-11-23  Richard Earnshaw  <rearnsha@arm.com>
2447169689Skan
2448169689Skan	* recog.c (preprocess_constraints): Only zero those elements of
2449169689Skan	recog_op_alt that are needed for this insn.
2450169689Skan	* arm.c (note_invalid_constants): A function can't contain invalid
2451169689Skan	constants if it has no constraints.
2452169689Skan
2453169689Skan2003-11-22  Jan Hubicka  <jh@suse.cz>
2454169689Skan
2455169689Skan	* i386.c (classify_argument): Pass __float128 in memory.
2456169689Skan	(ix86_return_in_memory): Likewise.
2457169689Skan	(ix86_libcall_value): Likewsie.
2458169689Skan
2459169689Skan2003-11-22  Kazu Hirata  <kazu@cs.umass.edu>
2460169689Skan
2461169689Skan	* config/h8300/h8300.c (dosize): Convert to ISO-C.
2462169689Skan
2463169689Skan2003-11-22  J"orn Rennecke <joern.rennecke@superh.com>
2464169689Skan
2465169689Skan	* flow.c (update_life_info): Amend comment about when a register
2466169689Skan	can become dead.
2467169689Skan
2468169689Skan2003-11-21  Kelley Cook  <kcook@gcc.gnu.org>
2469169689Skan
2470169689Skan	* doc/.cvsignore: Delete.
2471169689Skan
2472169689Skan2003-11-21  Daniel Berlin  <dberlin@dberlin.org>
2473169689Skan	    David Edelsohn  <edelsohn@gnu.org>
2474169689Skan
2475169689Skan	* dwarf2out.c (add_location_or_const_value_attribute): Add support
2476169689Skan	for PARALLEL.
2477169689Skan
2478169689Skan2003-11-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2479169689Skan
2480169689Skan	* config/mips/t-iris6 (CRTSTUFF_T_CFLAGS): Add -Wno-error.
2481169689Skan	(TARGET_LIBGCC2_CFLAGS): Define.
2482169689Skan
2483169689Skan	* crtstuff.c [HAS_INIT_SECTION] (__do_global_dtors): Declare.
2484169689Skan	(__do_global_ctors): Likewise.
2485169689Skan
2486169689Skan2003-11-21  Mark Wielaard  <mark@klomp.org>
2487169689Skan
2488169689Skan	* doc/invoke.texi (-O2): Doesn't enable -fweb.
2489169689Skan
2490169689Skan2003-11-21  Kazu Hirata  <kazu@cs.umass.edu>
2491169689Skan
2492169689Skan	* doc/invoke.texi: Mention dV and dZ.
2493169689Skan
2494169689Skan2003-11-21  Kazu Hirata  <kazu@cs.umass.edu>
2495169689Skan
2496169689Skan	* doc/invoke.texi: Update dump file names.
2497169689Skan	Remove de, dW, and dX.
2498169689Skan
2499169689Skan2003-11-20  James E Wilson  <wilson@specifixinc.com>
2500169689Skan
2501169689Skan	PR c/13133
2502169689Skan	* reload1.c (reload): Delete special handling for setjmp.
2503169689Skan
2504169689Skan2003-11-21  Andreas Tobler  <a.tobler@schweiz.ch>
2505169689Skan
2506169689Skan	* mklibgcc.in: Evaluate shlib_slibdir_qual during link
2507169689Skan	step too.
2508169689Skan	* config/t-slibgcc-darwin: Adjust install path.
2509169689Skan	* config/rs6000/t-darwin: Revert multilib matches since
2510169689Skan	it is not used on darwin.
2511169689Skan
2512169689Skan2003-11-20  Richard Henderson  <rth@redhat.com>
2513169689Skan
2514169689Skan	* ssa.c, ssa-dce.c, ssa-ccp.c: Remove files.
2515169689Skan	* Makefile.in (OBJS-common, GTFILES): Don't reference them.
2516169689Skan	(gtype-desc.o, toplev.o, flow.o): Remove ssa.h.
2517169689Skan	(ssa.o, ssa-dce.o, ssa-ccp.o): Remove.
2518169689Skan	* flow.c: Don't include ssa.h.
2519169689Skan	(set_phi_alternative_reg): Remove.
2520169689Skan	(calculate_global_regs_live): Don't call it.
2521169689Skan	(mark_used_regs): Don't handle PHI.
2522169689Skan	* gengtype.c (open_base_files): Don't reference ssa.h.
2523169689Skan	* rtl.def (PHI): Remove.
2524169689Skan	* timevar.def (TV_TO_SSA, TV_SSA_CCP, TV_SSA_DCE, TV_FROM_SSA): Kill.
2525169689Skan	* common.opt: Remove -fssa, -fssa-ccp, -fssa-dce.
2526169689Skan	* opts.c (common_handle_option): Likewise.
2527169689Skan	* toplev.c (f_options): Likewise.
2528169689Skan	(DFI_ssa, DFI_ssa_ccp, DFI_ssa_dce, DFI_ussa): Remove.
2529169689Skan	(dump_file): Update to match.
2530169689Skan	(flag_ssa, flag_ssa_ccp, flag_ssa_dce): Remove.
2531169689Skan	(rest_of_handle_ssa): Remove.
2532169689Skan	(rest_of_compilation): Don't call it.
2533169689Skan	* toplev.h (flag_ssa, flag_ssa_dce, flag_ssa_ccp): Remove.
2534169689Skan	* doc/invoke.texi: Remove -fssa, -fssa-ccp, -fssa-dce.
2535169689Skan	* doc/passes.texi (SSA optimizations): Remove.
2536169689Skan
2537169689Skan2003-11-20  Bob Wilson  <bob.wilson@acm.org>
2538169689Skan
2539169689Skan	* configure.in: Add xtensa-*-* targets to test for dwarf2 debug_line.
2540169689Skan	* configure: Regenerate.
2541169689Skan
2542169689Skan2003-11-20  Kelley Cook  <kcook@gcc.gnu.org>
2543169689Skan
2544169689Skan	* Makefile.in (Makefile): Pass along CONFIG_SHELL.
2545169689Skan
2546169689Skan2003-11-20 David Mosberger  <davidm@hpl.hp.com>
2547169689Skan
2548169689Skan	* config/t-libunwind (LIB2ADDEH): Add unwind-c.c.
2549169689Skan	(SHLIB_LC): Define.
2550169689Skan	* unwind-libunwind.c (_Unwind_GetCFA): Implement.
2551169689Skan	(_Unwind_GetBSP) [UNW_TARGET_IA64]: New function.
2552169689Skan
2553169689Skan2003-11-20  Fariborz Jahanian  <fjahanian@apple.com>
2554169689Skan	    David Edelsohn  <edelsohn@gnu.org>
2555169689Skan
2556169689Skan	* calls.c (expand_call): Allocate new temp in pass1.
2557169689Skan	(store_one_arg): If PARALLEL, calculate excess using mode size of
2558169689Skan	rtvec elt.
2559169689Skan	* expr.c (emit_push_insn): If PARALLEL, calculate offset using
2560169689Skan	mode size of rtvec elt.
2561169689Skan	* function.c (assign_parms): Use parm in register, if available.
2562169689Skan
2563169689Skan2003-11-20  Kazu Hirata  <kazu@cs.umass.edu>
2564169689Skan
2565169689Skan	* config/h8300/lib1funcs.asm (MOVP): Remove.
2566169689Skan	(ADDP): Likewise.
2567169689Skan	(CMPP): Likewise.
2568169689Skan
2569169689Skan2003-11-20  Richard Earnshaw  <rearnsha@arm.com>
2570169689Skan
2571169689Skan	* arm.c (use_return_insn): New argument, SIBLING.  Support returning
2572169689Skan	with a single instruction if the stack has been decremented by 4
2573169689Skan	and we have a frame pointer.  Update all callers.
2574169689Skan	(output_return_instruction): Likewise.
2575169689Skan	(arm_output_epilogue): Change argument to SIBLING.  Calculate
2576169689Skan	really_return from the new argument.  Update all callers.
2577169689Skan	* arm.h (USE_RETURN_INSN): Pass NULL for the sibling.
2578169689Skan	* arm.md (sibcall_epilogue): Call use_return_insn directly, and
2579169689Skan	pass the sibling call.
2580169689Skan	* arm-protos.h (use_return_insn, arm_output_epilogue): Update
2581169689Skan	prototypes.
2582169689Skan
2583169689Skan2003-11-20  Joseph S. Myers  <jsm@polyomino.org.uk>
2584169689Skan
2585169689Skan	* Makefile.in (extraclean): Delete.
2586169689Skan	* configure.in (target_list): Remove extraclean.
2587169689Skan	* configure: Regenerate.
2588169689Skan	* doc/makefile.texi, doc/sourcebuild.texi: Update.
2589169689Skan	* objc/Make-lang.in (objc.extraclean): Delete.
2590169689Skan
2591169689Skan2003-11-20  Joseph S. Myers  <jsm@polyomino.org.uk>
2592169689Skan
2593169689Skan	* Makefile.in (lang_checks): Add.
2594169689Skan	(check-c++, check-f77, check-java, check-g++, check-g77,
2595169689Skan	check-objc): Remove hardcoded targets.
2596169689Skan	* doc/sourcebuild.texi: Document testsuite hooks.
2597169689Skan	* objc/Make-lang.in (check-objc, lang_checks): Add.
2598169689Skan
2599169689Skan2003-11-19  Scott Snyder  <snyder@fnal.gov>
2600169689Skan
2601169689Skan	PR target/13131
2602169689Skan	* dwarf2out.c (gen_array_type_die): DW_AT_declaration should be a
2603169689Skan	flag, not a constant.
2604169689Skan
2605169689Skan2003-11-19  Kelley Cook  <kcook@gcc.gnu.org>
2606169689Skan
2607169689Skan	* config/arc/arc-protos.h: Update to C90 prototypes.
2608169689Skan	* config/arc/arc.c: Likewise.
2609169689Skan	* config/arc/initfini.c: Likewise.
2610169689Skan
2611169689Skan2003-11-19  Andreas Krebbel  <krebbel1@de.ibm.com>
2612169689Skan
2613169689Skan	* stmt.c (expand_goto): Memory clobbers added.
2614169689Skan
2615169689Skan2003-11-19  Andreas Krebbel  <krebbel1@de.ibm.com>
2616169689Skan
2617169689Skan	* reload.c (find_reloads): Added missing type casts.
2618169689Skan
2619169689Skan2003-11-19  James E Wilson  <wilson@specifixinc.com>
2620169689Skan
2621169689Skan	* combine.c (sets_function_arg_p): Delete unused function.
2622169689Skan
2623169689Skan2003-11-19  Eric Christopher  <echristo@redhat.com>
2624169689Skan
2625169689Skan	* reload1.c (reload): Revert 2 previous checkins.
2626169689Skan
2627169689Skan2003-11-19  Nathanael Nerode  <neroden@gcc.gnu.org>
2628169689Skan
2629169689Skan	* cpptrad.c (_cpp_scan_out_logical_line): Improve test for
2630169689Skan	whether directive begins at the beginning of a line.
2631169689Skan
2632169689Skan2003-11-19  Richard Sandiford  <rsandifo@redhat.com>
2633169689Skan
2634169689Skan	* config/frv/frv.c (frv_init_libfuncs): Correct ufix_optab entries.
2635169689Skan
2636169689Skan2003-11-19  Gerald Pfeifer  <gp@suse.de>
2637169689Skan
2638169689Skan	* doc/install.texi (Specific): Remove information on old versions
2639169689Skan	of glibc versus old versions of GCC.
2640169689Skan
2641169689Skan2003-11-19  Richard SAndiford  <rsandifo@redhat.com>
2642169689Skan
2643169689Skan	* emit-rtl.c (gen_lowpart): Don't force MEMs into a register unless
2644169689Skan	the register lowpart is a TRULY_NOOP_TRUNCATION.
2645169689Skan
2646169689Skan2003-11-19  Richard Henderson  <rth@redhat.com>
2647169689Skan
2648169689Skan	* config/i386/i386.c (print_reg): Handle QI and HI modes for
2649169689Skan	non Q regs.
2650169689Skan
2651169689Skan2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
2652169689Skan
2653169689Skan	* config/config.gcc (powerpc-*-darwin*): Add libgcc build
2654169689Skan	specification file.
2655169689Skan	* config/t-slibgcc-darwin: New file, libgcc build specification.
2656169689Skan	* config/t-darwin: Add libgcc2 flag -fPIC.
2657169689Skan	* config/rs6000/t-darwin: Multilib matches float.
2658169689Skan	* libgcc-darwin.ver: New file, contains libgcc symbols.
2659169689Skan
2660169689Skan2003-11-18  Nathanael Nerode  <neroden@gcc.gnu.org>
2661169689Skan
2662169689Skan	* config/ns32k/ns32k.h: Remove obsolete comment.
2663169689Skan
2664169689Skan2003-11-18  Roger Sayle  <roger@eyesopen.com>
2665169689Skan
2666169689Skan	PR middle-end/11821
2667169689Skan	* config/arm/arm.c (arm_rtx_costs_1): Improve estimate of the code
2668169689Skan	size for calls to libgcc's div & mod subroutines when using -Os.
2669169689Skan
2670169689Skan2003-11-18  Jan Hubicka  <jh@suse.cz>
2671169689Skan
2672169689Skan	* cgraph.c (change_decl_assembler_name): Avoid bogus warnings.
2673169689Skan
2674169689Skan2003-11-18  Marc Espie  <espie@openbsd.org>
2675169689Skan
2676169689Skan	* config/rs6000/sysv4.h: OpenBSD hooks.
2677169689Skan
2678169689Skan2003-11-18  Richard Henderson  <rth@redhat.com>
2679169689Skan
2680169689Skan	* expr.c (expand_expr): Don't look through constant arrays if
2681169689Skan	they don't bind locally.
2682169689Skan
2683169689Skan2003-11-17  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2684169689Skan
2685169689Skan	* expr.c (convert_move): Use GET_MODE_PRECISION instead of bitsize
2686169689Skan	when seeing if truncation or extension.
2687169689Skan
2688169689Skan2003-11-17  Eric Christopher  <echristo@redhat.com>
2689169689Skan
2690169689Skan	* reload1.c (reload): Fix previous change.
2691169689Skan
2692169689Skan2003-11-17  Scott Snyder  <snyder@fnal.gov>
2693169689Skan
2694169689Skan	PR debug/11325
2695169689Skan	* dwarf2out.c (struct die_struct): Add die_definition field.
2696169689Skan	(add_AT_specification): New.
2697169689Skan	(gen_subprogram_die, gen_variable_die,
2698169689Skan	gen_struct_or_union_type_die): Use it.
2699169689Skan	(prune_unused_types_mark): If we're marking a forward declaration,
2700169689Skan	also mark the full definition, if it exists.
2701169689Skan
2702169689Skan2003-11-16  Nick Clifton  <nickc@redhat.com>
2703169689Skan
2704169689Skan	* config/stormy16/stormy16.h (BUILD_VA_LIST_TYPE): Delete.
2705169689Skan	* config/stormy16/stormy16-protos.h (xstormy16_build_va_list):
2706169689Skan	Remove prototype.
2707169689Skan	* config/stormy16/stormy16.c (xstormy16_build_va_list): Rename
2708169689Skan	to xstormy16_build_builtin_va_list and make static.
2709169689Skan	(TARGET_BUILD_BUILTIN_VA_LIST): Define.
2710169689Skan
2711169689Skan2003-11-16  Kazu Hirata  <kazu@cs.umass.edu>
2712169689Skan
2713169689Skan	* config/h8300/h8300-protos.h: Add the prototype for
2714169689Skan	same_cmp_following_p.
2715169689Skan	* config/h8300/h8300.c (same_cmp_following_p): New.
2716169689Skan	* config/h8300/h8300.md (peephole2): Use it.
2717169689Skan
2718169689Skan2003-11-16  Kazu Hirata  <kazu@cs.umass.edu>
2719169689Skan
2720169689Skan	* config/h8300/h8300.md: Don't use REGNO when its operand is
2721169689Skan	not guaranteed to be a REG.
2722169689Skan
2723169689Skan2003-11-16  Richard Sandiford  <rsandifo@redhat.com>
2724169689Skan
2725169689Skan	* Makefile.in (expr.o): Depend on $(TARGET_H).
2726169689Skan	* target.h (return_in_msb): New target hook.
2727169689Skan	* target-def.h (TARGET_RETURN_IN_MSB): New macro.
2728169689Skan	(TARGET_CALLS): Include it.
2729169689Skan	* calls.c (shift_returned_value): New function.
2730169689Skan	(expand_call): Use it.
2731169689Skan	* expr.c: Include target.h.
2732169689Skan	(copy_blkmode_from_reg): Check targetm.calls.return_in_msb when
2733169689Skan	deciding what padding is needed.  Change the name of the local
2734169689Skan	padding variable from big_endian_correction to padding_correction.
2735169689Skan	* stmt.c (shift_return_value): New function.
2736169689Skan	(expand_return): Use it.  Adjust memory->register copy in the same
2737169689Skan	way as copy_blkmode_from_reg.  Only change the return register's
2738169689Skan	mode if it was originally BLKmode.
2739169689Skan	* doc/tm.texi (TARGET_RETURN_IN_MSB): Document.
2740169689Skan	* config/mips/mips.c (TARGET_RETURN_IN_MSB): Define.
2741169689Skan	(mips_fpr_return_fields): New, split out from mips_function_value.
2742169689Skan	(mips_return_in_msb, mips_return_fpr_pair): New functions.
2743169689Skan	(mips_function_value): Rework to use the functions above.
2744169689Skan	* config/mips/irix6-libc-compat.c: Delete.
2745169689Skan	* config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Undefine.
2746169689Skan
2747169689Skan2003-11-16  Kazu Hirata  <kazu@cs.umass.edu>
2748169689Skan
2749169689Skan	* doc/install.texi (--enable-checking): Update valgrind's URL.
2750169689Skan
2751169689Skan2003-11-16  Kazu Hirata  <kazu@cs.umass.edu>
2752169689Skan
2753169689Skan	* config/h8300/h8300.md: Fix warnings by replacing -2147483648
2754169689Skan	with -2147483647 - 1.
2755169689Skan
2756169689Skan2003-11-16  Gerald Pfeifer  <gerald@pfeifer.com>
2757169689Skan
2758169689Skan	Fix links in online manuals.
2759169689Skan	* doc/invoke.texi (H8/300 Options): @xref to ld, not ld.info.
2760169689Skan	(Precompiled Headers): @pxref to cpp, not cpp.info.
2761169689Skan
2762169689Skan2003-11-16  Jason Merrill  <jason@redhat.com>
2763169689Skan
2764169689Skan	* Makefile.in, objc/Make-lang.in (objc.tags): Create TAGS.sub
2765169689Skan	files in each directory and TAGS files that include them for each
2766169689Skan	front end.
2767169689Skan
2768169689Skan2003-11-15  Kazu Hirata  <kazu@cs.umass.edu>
2769169689Skan
2770169689Skan	* config/h8300/lib1funcs.asm (divnorm): Store the sign in bit
2771169689Skan	3 of S2L.
2772169689Skan	(modnorm): Likewise.
2773169689Skan	(exitdiv): Look at bit 3 of S2L only.
2774169689Skan
2775169689Skan2003-11-15  Kazu Hirata  <kazu@cs.umass.edu>
2776169689Skan
2777169689Skan	* config/h8300/h8300.h (DO_GLOBAL_CTORS_BODY): Fix warnings.
2778169689Skan	(DO_GLOBAL_DTORS_BODY): Likewise.
2779169689Skan
2780169689Skan2003-11-15  Joseph S. Myers  <jsm@polyomino.org.uk>
2781169689Skan
2782169689Skan	* doc/install.texi (Prerequisites): Refine documentation of
2783169689Skan	autoconf, automake and perl requirements.  Document required
2784169689Skan	gettext version.
2785169689Skan
2786169689Skan<2003-11-14  Jason Merrill  <jason@redhat.com>
2787169689Skan
2788169689Skan	* function.c (assign_parms): Use TREE_TYPE to determine the real
2789169689Skan	type of the argument object.
2790169689Skan
2791169689Skan2003-11-14  Kazu Hirata  <kazu@cs.umass.edu>
2792169689Skan
2793169689Skan	* config/h8300/lib1funcs.asm (___udivsi3): Peel off the first
2794169689Skan	iteration.
2795169689Skan
2796169689Skan2003-11-14  Fariborz Jahanian <fjahanian@apple.com>
2797169689Skan
2798169689Skan	* config/rs6000/rs6000.c (rs6000_move_block_from_reg):
2799169689Skan	  New routine to save vararg registers on stack. Support for
2800169689Skan	  -mpowerpc64 in mixed mode.
2801169689Skan
2802169689Skan2003-11-14  Bernardo Innocenti  <bernie@develer.com>
2803169689Skan
2804169689Skan	* config/m68k/m68k.c: Use C statements instead of #ifdef's when testing
2805169689Skan	for MOTOROLA versus MIT syntax.  Improves readability and provides
2806169689Skan	better compile-time error checking for both code paths.
2807169689Skan
2808169689Skan2003-11-14  Kelley Cook  <kcook@gcc.gnu.org>
2809169689Skan
2810169689Skan	* config/frv/frv-protos.h: Update for C90.
2811169689Skan	* config/frv/frv.h: Likewise.
2812169689Skan	* config/frv/frvbegin.c: Likewise.
2813169689Skan	* config/frv/frv.c: Likewise.
2814169689Skan	(frv_adjust_field_align): Delete unused variable.
2815169689Skan
2816169689Skan2003-11-14  Geoffrey Keating  <geoffk@apple.com>
2817169689Skan
2818169689Skan	* config/rs6000/rs6000.md: Add 'DEFAULT_ABI == ABI_DARWIN'
2819169689Skan	to each place where TARGET_LONG_DOUBLE_128 is used with
2820169689Skan	DEFAULT_ABI == ABI_AIX.
2821169689Skan
2822169689Skan	* cppfiles.c (_cpp_find_file): Make 'one or more PCH files were found'
2823169689Skan	message comply with GNU standards.
2824169689Skan
2825169689Skan2003-11-14  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2826169689Skan
2827169689Skan	PR/6552
2828169689Skan	* function.c (struct epi_info): New field const_equiv.
2829169689Skan	(update_epilogue_consts): New function.
2830169689Skan	(keep_stack_depressed): Clear new field and verify scratch register
2831169689Skan	doesn't have it set.
2832169689Skan	Call new function via note_stores.
2833169689Skan	(handle_epilogue_set): Allow setting SP equiv reg in different mode.
2834169689Skan	Allow PLUS where second operand is register known set to constant.
2835169689Skan	(emit_equiv_load): Write load using proper mode if source different.
2836169689Skan	* config/mips/mips.md (return_internal): Put (return) first.
2837169689Skan
2838169689Skan2003-11-14  Kazu Hirata  <kazu@cs.umass.edu>
2839169689Skan
2840169689Skan	* config/h8300/lib1funcs.asm (___udivsi3): Add a comment.
2841169689Skan
2842169689Skan2003-11-14  Kazu Hirata  <kazu@cs.umass.edu>
2843169689Skan
2844169689Skan	* config/h8300/lib1funcs.asm (modsi3): Don't save unused
2845169689Skan	registers.
2846169689Skan	(divsi3): Likewise.
2847169689Skan	(reti): Don't restore unused registers.
2848169689Skan
2849169689Skan2003-11-14  Nick Clifton  <nickc@redhat.com>
2850169689Skan
2851169689Skan	* config/fr30/fr30.c: Include toplev.h
2852169689Skan
2853169689Skan2003-11-14  Richard Earnshaw  <rearnsha@arm.com>
2854169689Skan
2855169689Skan	* except.c (sjlj_emit_function_enter): Mark internal label as LOCAL.
2856169689Skan
2857169689Skan2003-11-14  Richard Earnshaw  <rearnsha@arm.com>
2858169689Skan
2859169689Skan	* arm.c (arm_emit_vector_const, arm_output_load_gr): Use ISO C
2860169689Skan	function definition syntax.
2861169689Skan
2862169689Skan2003-11-14  Eric Christopher  <echristo@redhat.com>
2863169689Skan
2864169689Skan	* reload1.c (reload): Revert previous patch. Make
2865169689Skan	check for assignment into reg_equiv_address stricter.
2866169689Skan
2867169689Skan2003-11-14  Arnaud Charlet  <charlet@act-europe.fr>
2868169689Skan
2869169689Skan	* Makefile.in (POSTSTAGE1_FLAGS_TO_PASS): Pass ADAFLAGS.
2870169689Skan
2871169689Skan2003-11-14  Richard Sandiford  <rsandifo@redhat.com>
2872169689Skan
2873169689Skan	* config/frv/frv.c (frv_in_small_data_p): Return false for unknown
2874169689Skan	section names.
2875169689Skan
2876169689Skan2003-11-14  Jason Merrill  <jason@redhat.com>
2877169689Skan
2878169689Skan	PR middle-end/12526
2879169689Skan	* tree.c (build): A CALL_EXPR has side-effects if its arguments do.
2880169689Skan	* calls.c (call_expr_flags): New fn.
2881169689Skan	* tree.h: Declare it.
2882169689Skan
2883169689Skan2003-11-13  Kazu Hirata  <kazu@cs.umass.edu>
2884169689Skan
2885169689Skan	* config/h8300/lib1funcs.asm (__udivsi3): Remove.
2886169689Skan	(divmodsi3): Change the name to ___udivsi3.
2887169689Skan	Update all callers.
2888169689Skan
2889169689Skan2003-11-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2890169689Skan
2891169689Skan	* libgcc2.c (__negdi2, __addvsi3, __addvdi3, __subvsi3, __subvdi3,
2892169689Skan	__mulvsi3, __negvsi2, __negvdi2, __mulvdi3, __lshrdi3, __ashldi3,
2893169689Skan	__ashrdi3, __ffsDI2, __muldi3, __clzDI2, __ctzDI2, __parityDI2,
2894169689Skan	__udivmoddi4, __divdi3, __moddi3, __cmpdi2, __ucmpdi2,
2895169689Skan	__fixunstfDI, __fixunsxfDI, __fixunsdfDI, __fixunssfDI,
2896169689Skan	__floatdixf, __floatditf, __floatdidf, __floatdisf, __gcc_bcmp):
2897169689Skan	Const-ify and/or initialize automatic variables at declaration.
2898169689Skan
2899169689Skan2003-11-13  Kazu Hirata  <kazu@cs.umass.edu>
2900169689Skan
2901169689Skan	* config/h8300/lib1funcs.asm (divmodsi4): Replace all the uses
2902169689Skan	of er4 with er3.  Adjust all callers.
2903169689Skan
2904169689Skan2003-11-13  Andrew Pinski <apinski@apple.com>
2905169689Skan
2906169689Skan	* config/darwin.c (machopic_output_possible_stub_label):
2907169689Skan	Allow stub symbol be not defined when outputting possible
2908169689Skan	stub label.
2909169689Skan
2910169689Skan2003-11-13  Kazu Hirata  <kazu@cs.umass.edu>
2911169689Skan
2912169689Skan	* config/h8300/lib1funcs.asm (___udivsi3): Jump to reti
2913169689Skan	instead of exitdiv.
2914169689Skan	(___umodsi3): Likewise.
2915169689Skan	(exitdiv): Do not restore any register.
2916169689Skan	(reti): Restore registers.
2917169689Skan
2918169689Skan2003-11-13  Steven Bosscher  <stevenb@suse.de>
2919169689Skan
2920169689Skan	* tree-inline.c (walk_tree): Handle PLACEHOLDER_EXPR.
2921169689Skan
2922169689Skan2003-11-13  Kazu Hirata  <kazu@cs.umass.edu>
2923169689Skan
2924169689Skan	* config/h8300/lib1funcs.asm: Fix comment typos.
2925169689Skan
2926169689Skan2003-11-13  Kazu Hirata  <kazu@cs.umass.edu>
2927169689Skan
2928169689Skan	* config/h8300/lib1funcs.asm (udivsi3): Don't save/restore
2929169689Skan	unused registers.  Don't jump to exitdiv.
2930169689Skan	(umodsi3): Likewise.
2931169689Skan
2932169689Skan2003-11-13  Mark Mitchell  <mark@codesourcery.com>
2933169689Skan	    Kean Johnston <jkj@sco.com>
2934169689Skan
2935169689Skan	PR c/13029
2936169689Skan	* toplev.c (check_global_declarations): Do not warn about unused
2937169689Skan	static consts.
2938169689Skan
2939169689Skan2003-11-13  Pavel Pisa  <pisa@cmp.felk.cvut.cz>
2940169689Skan	    Kazu Hirata  <kazu@cs.umass.edu>
2941169689Skan
2942169689Skan	* config/h8300/lib1funcs.asm (DenHighNonZero): Optimize using
2943169689Skan	the approximate quotient method.
2944169689Skan
2945169689Skan2003-11-13  Richard Earnshaw  <rearnsha@arm.com>
2946169689Skan
2947169689Skan	* combine.c (distribute_notes): When re-distributing the notes from
2948169689Skan	an insn we are about to delete, ensure we can't end up with a cyclic
2949169689Skan	list of notes.
2950169689Skan
2951169689Skan2003-11-13  Eric Botcazou  <ebotcazou@libertysurf.fr>
2952169689Skan
2953169689Skan	PR optimization/12926
2954169689Skan	* expr.c (expand_assignment) [COMPONENT_REF]: Don't put
2955169689Skan	the UNCHANGING_RTX_P flag on memory references to read-only
2956169689Skan	components that are not addressable.
2957169689Skan
2958169689Skan2003-11-12  Kazu Hirata  <kazu@cs.umass.edu>
2959169689Skan
2960169689Skan	* config/h8300/lib1funcs.asm (divmodsi4): Clear S0P in
2961169689Skan	DenHighNonZero.
2962169689Skan
2963169689Skan2003-11-13  Jan Hubicka  <jh@suse.cz>
2964169689Skan
2965169689Skan	PR opt/12275
2966169689Skan	* c-decl.c (finish_decl): Use change_decl_assembler_name.
2967169689Skan	* c-pragma.c (handle_pragma_redefine_extname): Likewise.
2968169689Skan	* varasm.c (make_decl_rtl): Likewise.
2969169689Skan	* cgraph.c (change_decl_assembler_name): New function.
2970169689Skan	* tree.h (set_decl_assembler_name): Kill dead declaration.
2971169689Skan	(change_decl_assembler_name): Declare.
2972169689Skan
2973169689Skan	* decl.c (make_rtl_for_nonlocal_decl): Use change_decl_assembler_name.
2974169689Skan	* decl2.c (make_rtl_for_nonlocal_decl): Use change_decl_assembler_name.
2975169689Skan
2976169689Skan2003-11-12  Kazu Hirata  <kazu@cs.umass.edu>
2977169689Skan
2978169689Skan	* config/h8300/lib1funcs.asm (___mulsi3): Don't save/restore
2979169689Skan	an unused register.
2980169689Skan
2981169689Skan2003-11-12  Richard Sandiford  <rsandifo@redhat.com>
2982169689Skan
2983169689Skan	PR bootstrap/12752
2984169689Skan	* config/mips/t-iris6 (MULTILIB_OPTIONS): Put -mabi=n32 first.
2985169689Skan	(MULTILIB_OSDIRNAMES): Reorder accordingly.
2986169689Skan
2987169689Skan2003-11-12  Janis Johnson  <janis187@us.ibm.com>
2988169689Skan
2989169689Skan	* rs6000-protos.h (rs6000_initial_elimination_offset): Add.
2990169689Skan	(rs6000_stack_info): Remove.  (debug_stack_info): Remove.
2991169689Skan	(rs6000_emit_eh_reg_restore): Add
2992169689Skan	* rs6000.c (rs6000_stack_t): Move from rs6000.h, change data type
2993169689Skan	of vars_size and total_size to HOST_WIDE_INT.
2994169689Skan	(emit_frame_save): Change parameter size to HOST_WIDE_INT.
2995169689Skan	(rs6000_stack_info): Make static; change data size to HOST_WIDE_INT.
2996169689Skan	(debug_stack_info): Make static; change output format of HOST_WIDE_INT
2997169689Skan	values.
2998169689Skan	(rs6000_emit_eh_reg_restore): New, with code formerly in rs6000.md.
2999169689Skan	(rs6000_initial_elimination_offset): New, with code formerly in
3000169689Skan	INITIAL_ELIMINATION_OFFSET.
3001169689Skan	* rs6000.h (rs6000_stack_t): Remove.
3002169689Skan	(INITIAL_ELIMINATION_OFFSET): Replace code with call to function
3003169689Skan	rs6000_initial_elimination_offset.
3004169689Skan	* rs6000.md (UNSPECV_EH_RR split): Replace code with call to
3005169689Skan	rs6000_emit_eh_reg_restore.
3006169689Skan
3007169689Skan2003-11-12  Mike Stump  <mrs@apple.com>
3008169689Skan
3009169689Skan	* c-typeck.c (c_convert_parm_for_inlining): Add argnum, which
3010169689Skan	is the argumnt we are processing so that warnings and errors
3011169689Skan	will have that information.
3012169689Skan	* c-tree.h (c_convert_parm_for_inlining): Add argnum.
3013169689Skan	* lang-hooks-def.h
3014169689Skan	(lhd_tree_inlining_convert_parm_for_inlining): Likewse.
3015169689Skan	* langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): Likewise.
3016169689Skan	* langhooks.h (convert_parm_for_inlining): Likewise.
3017169689Skan	* tree-inline.c (initialize_inlined_parameters): Compute and
3018169689Skan	pass argnum down.
3019169689Skan
3020169689Skan2003-11-12  Alexey Starovoytov  <alexey.starovoytov@sun.com>
3021169689Skan	    Roger Sayle  <roger@eyesopen.com>
3022169689Skan
3023169689Skan	PR optimization/12953
3024169689Skan	* tree-inline.c (inline_forbidden_p_1): Added check for BUILT_IN
3025169689Skan	before switch by FUNCTION_CODE.
3026169689Skan
3027169689Skan2003-11-12  Richard Earnshaw  <rearnsha@arm.com>
3028169689Skan
3029169689Skan	* arm.md (storehi): Avoid use of explicit subreg.
3030169689Skan	(storehi_bigend, storeinthi, movhi_bigend): Likewise.
3031169689Skan
3032169689Skan2003-11-12  J"orn Rennecke <joern.rennecke@superh.com>
3033169689Skan
3034169689Skan	* config/sh/sh.md (prefetch): New pattern.
3035169689Skan
3036169689Skan2003-11-11  Eric Christopher  <echristo@redhat.com>
3037169689Skan
3038169689Skan	* reload1.c (reload): Verify that addresses for
3039169689Skan	reg_equiv_* are valid for the architecture.
3040169689Skan
3041169689Skan2003-11-11  Eric Christopher  <echristo@redhat.com>
3042169689Skan
3043169689Skan	* function.c (purge_addressof_1): Add libcall check.
3044169689Skan	Remove test for cached replacements on fallback case.
3045169689Skan	Simplify mode comparisons. Add libcall test for
3046169689Skan	paradoxical subregs.
3047169689Skan
3048169689Skan2003-11-11  Kazu Hirata  <kazu@cs.umass.edu>
3049169689Skan
3050169689Skan	* config/h8300/t-h8300: Fix an obsolete comment.
3051169689Skan
3052169689Skan2003-11-11  James E Wilson  <wilson@specifixinc.com>
3053169689Skan
3054169689Skan	* expmed.c (store_bit_field, extract_bit_field): Revert last two
3055169689Skan	changes.
3056169689Skan
3057169689Skan2003-11-11  Kazu Hirata  <kazu@cs.umass.edu>
3058169689Skan
3059169689Skan	* config/h8300/lib1funcs.asm: Replace DenHighZero with
3060169689Skan	DenHighNonZero.
3061169689Skan
3062169689Skan2003-11-11  Jan Hubicka  <jh@suse.cz>
3063169689Skan
3064169689Skan	* cgraphunit.c (cgraph_function_possibly_inlined_p): Use
3065169689Skan	really_no_inline.
3066169689Skan
3067169689Skan2003-11-11  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3068169689Skan
3069169689Skan	* pa.h (TRAMPOLINE_TEMPLATE): Fix flushing of cache lines when
3070169689Skan	generating 64-bit code.
3071169689Skan
3072169689Skan2003-11-10  David Edelsohn  <edelsohn@gnu.org>
3073169689Skan
3074169689Skan	* config/rs6000/rs6000.c (legitimate_lo_sum_address_p): Remove
3075169689Skan	accidental commit in previous change.
3076169689Skan
3077169689Skan2003-11-10  Fariborz Jahanian <fjahanian@apple.com>
3078169689Skan
3079169689Skan	* config/rs6000/rs6000.h (STACK_SIZE_MODE): Add definition.
3080169689Skan	* config/rs6000/rs6000.c (reg_or_mem_operand): Add macho-style
3081169689Skan	address recognition.
3082169689Skan	(macho_lo_sum_memory_operand): Routine to recognize macho-style
3083169689Skan	address recognition.
3084169689Skan
3085169689Skan2003-11-10  Richard Henderson  <rth@redhat.com>
3086169689Skan
3087169689Skan	* dwarf2out.c (gen_label_die): Cope with DECL_RTL not set.
3088169689Skan
3089169689Skan2003-11-10  Matt Austern  <austern@apple.com>
3090169689Skan
3091169689Skan	* config/darwin-protos.h (darwin_assemble_visibility): Declare.
3092169689Skan	* config/darwin.c (darwin_assemble_visibility): Define.  Warn for
3093169689Skan	anything other than VISIBILITY_DEFAULT and VISIBILITY_HIDDEN.
3094169689Skan	* config/darwin.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Use
3095169689Skan	darwin_assemble_visibility instead of default.
3096169689Skan
3097169689Skan2003-11-10  Waldek Hebisch  <hebisch@math.uni.wroc.pl>
3098169689Skan
3099169689Skan	PR target/12865
3100169689Skan	* config/sparc/sparc.c (sparc_initialize_trampoline): Call
3101169689Skan	__enable_execute_stack only after writing onto the stack.
3102169689Skan	(sparc64_initialize_trampoline): Likewise.
3103169689Skan
3104169689Skan2003-11-09  Roger Sayle  <roger@eyesopen.com>
3105169689Skan
3106169689Skan	* loop.c (check_dbra_loop): Try swapping the comparison operands
3107169689Skan	of the loop condition to identify a suitable induction variable.
3108169689Skan	* unroll.c (loop_iterations): Likewise.
3109169689Skan
3110169689Skan2003-11-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3111169689Skan
3112169689Skan	* config/sparc/sparc.h (TARGET_CPU_CPP_BUILTINS): Fix sparc vs
3113169689Skan	sparc64 #cpu and #machine assertions.
3114169689Skan
3115169689Skan2003-11-09  Richard Henderson  <rth@redhat.com>
3116169689Skan
3117169689Skan	* Makefile.in (rtlanal.o): Depend on BASIC_BLOCK_H.
3118169689Skan
3119169689Skan2003-11-09  Jan Hubicka  <jh@suse.cz>
3120169689Skan
3121169689Skan	* tree-optimize.c (tree_rest_of_compilation): Fix warning.
3122169689Skan
3123169689Skan	* cgraphunit.c (cgraph_expand_function): Use
3124169689Skan	cgraph_possibly_inlined_p.
3125169689Skan	* tree-optimize.c (tree_rest_of_compilation): Do not kill saved tree.
3126169689Skan
3127169689Skan	* opts.c (common_handle_option): Do not set max-inline-insns.
3128169689Skan	* params.def: Update comments.
3129169689Skan	(PARAM_MAX_INLINE_INSNS): Kill.
3130169689Skan	* invoke.texi (max-inline-insns): Kill.
3131169689Skan
3132169689Skan2003-11-08  Joseph S. Myers  <jsm@polyomino.org.uk>
3133169689Skan
3134169689Skan	PR c/3190
3135169689Skan	PR c/8714
3136169689Skan	* c-format.c (set_Wformat): Do not enable -Wformat-y2k by default.
3137169689Skan	* invoke.texi: Update.
3138169689Skan
3139169689Skan2003-11-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3140169689Skan
3141169689Skan	PR optimization/12630
3142169689Skan	* pa.c (compute_movstrsi_length): Rename to compute_movstr_length.
3143169689Skan	Handle length computation 64-bit moves.
3144169689Skan	(compute_clrstr_length, output_block_clear): Implement block clear.
3145169689Skan	(output_block_move): Handle 64-bit moves.
3146169689Skan	(pa_adjust_insn_length): Use compute_movstr_length and
3147169689Skan	compute_clrstr_length.
3148169689Skan	* pa.md (movstrsi): Revise operand order and comments.  Don't use
3149169689Skan	match_scratch.
3150169689Skan	(movstrsi_internal): Delete.
3151169689Skan	(movstrsi_prereload, movstrsi_postreload): New insns.  Define splitter
3152169689Skan	and peephole2 patterns to transform prereload to postreload form.
3153169689Skan	(movstrdi, movstrdi_prereload, movstrdi_postreload, clrstrsi,
3154169689Skan	clrstrsi_prereload, clrstrsi_postreload, clrstrdi, clrstrdi_prereload,
3155169689Skan	clrstrdi_postreload): New patterns for 64-bit block move, and block
3156169689Skan	clear.
3157169689Skan	* pa-protos.h (output_block_clear): New prototype.
3158169689Skan
3159169689Skan2003-11-08  Andreas Schwab  <schwab@suse.de>
3160169689Skan
3161169689Skan	* dbxout.c (current_file): Also wrap inside DBX_DEBUGGING_INFO ||
3162169689Skan	XCOFF_DEBUGGING_INFO.
3163169689Skan
3164169689Skan2003-11-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3165169689Skan
3166169689Skan	* dbxout.c (current_file): Wrap declaration in DBX_USE_BINCL.
3167169689Skan
3168169689Skan2003-11-07  Geoffrey Keating  <geoffk@apple.com>
3169169689Skan
3170169689Skan	* config/rs6000/rs6000.c (rs6000_legitimize_address): Remove
3171169689Skan	redundant parens.
3172169689Skan
3173169689Skan	* cppfiles.c (pch_open_file): New parameter 'invalid_pch', set it.
3174169689Skan	(find_file_in_dir): Likewise.
3175169689Skan	(_cpp_find_file): Print message if no header file is found
3176169689Skan	but an invalid PCH file was.
3177169689Skan
3178169689Skan2003-11-08  Joseph S. Myers  <jsm@polyomino.org.uk>
3179169689Skan
3180169689Skan	* c-typeck.c (pedantic_lvalue_warning): Deprecate compound
3181169689Skan	expressions as lvalues.
3182169689Skan	(internal_build_compound_expr): Remove special handling for
3183169689Skan	non-pedantic case.
3184169689Skan	* doc/extend.texi: Document that all extended lvalues are now
3185169689Skan	deprecated.
3186169689Skan
3187169689Skan2003-11-07  Geoffrey Keating  <geoffk@apple.com>
3188169689Skan
3189169689Skan	PR 11654
3190169689Skan	* dbxout.c (struct dbx_file): Do not save for PCH.
3191169689Skan	(current_file): Likewise.
3192169689Skan	(dbxout_init): Don't allocate struct dbx_file using GC.
3193169689Skan	(dbxout_start_source_file): Likewise.
3194169689Skan
3195169689Skan2003-11-07  Falk Hueffner  <falk@debian.org>
3196169689Skan
3197169689Skan	* config/alpha/elf.h, config/alpha/unicosmk.h,
3198169689Skan	config/alpha/vms.h: Convert to ISO C90.
3199169689Skan
3200169689Skan2003-11-07  Nathanael Nerode  <neroden@gcc.gnu.org>
3201169689Skan
3202169689Skan	* config/arm/pe.h: Convert to ISO C90.
3203169689Skan
3204169689Skan2003-11-07  J"orn Rennecke <joern.rennecke@superh.com>
3205169689Skan
3206169689Skan	* sh-protos.h (sh_pch_valid_p): Declare.
3207169689Skan	* sh.c ("intl.h"): Include.
3208169689Skan	(TARGET_PCH_VALID_P): Override.
3209169689Skan	(sh_target_switches): New variable.
3210169689Skan	(target_switches): Define.
3211169689Skan	(sh_pch_valid_p): New function.
3212169689Skan
3213169689Skan	* sh.h (MODE_AFTER): Don't change mode unless TARGET_HITACHI.
3214169689Skan
3215169689Skan2003-11-07  Jan Hubicka  <jh@suse.cz>
3216169689Skan
3217169689Skan	* i386.c (x86_64_sign_extended_value):  Return false from tls variables.
3218169689Skan	(x86_64_zero_extended_value):  likewise.
3219169689Skan
3220169689Skan2003-11-07  Richard Sandiford  <rsandifo@redhat.com>
3221169689Skan
3222169689Skan	* config/mips/mips.md (loadgp): Take $25 as a second operand.
3223169689Skan	* config/mips/mips.c (mips_expand_prologue): Modify accordingly.
3224169689Skan
3225169689Skan2003-11-06  Matt Austern <austern@apple.com>
3226169689Skan
3227169689Skan	* c-common.c (handle_visibility_attribute): Set DECL_VISIBILITY
3228169689Skan	field instead of hanging an attribute object off the decl.
3229169689Skan	* tree.h (DECL_VISIBLITY): New accessor macro for
3230169689Skan	symbol_visibility field in struct tree_decl.
3231169689Skan	(enum symbol_visibility): Move definition to before tree_decl.
3232169689Skan	(struct tree_decl): Define new two-bit field, symbol_visibility.
3233169689Skan	(decl_visibility): Remove declaration.
3234169689Skan	* varasm.c (maybe_assemble_visibility): Use DECL_VISIBILITY
3235169689Skan	instead of decl_visibility.
3236169689Skan	(default_binds_local_p_1):  Use DECL_VISIBILITY	instead of
3237169689Skan	decl_visibility.
3238169689Skan	(decl_visibility): Remove.
3239169689Skan
3240169689Skan2003-11-06  Ulrich Weigand  <uweigand@de.ibm.com>
3241169689Skan
3242169689Skan	* config/s390/s390.c (s390_emit_epilogue): Recognize more cases
3243169689Skan	where register 14 will be saved.
3244169689Skan
3245169689Skan2003-11-06  Geoffrey Keating  <geoffk@apple.com>
3246169689Skan
3247169689Skan	* config/rs6000/rs6000.h (USE_FP_FOR_ARG_P): Move to rs6000.c.
3248169689Skan	(USE_ALTIVEC_FOR_ARG_P): Likewise.
3249169689Skan	* config/rs6000/rs6000.c (USE_FP_FOR_ARG_P): Move from rs6000.h.
3250169689Skan	Take a pointer as the CUM parameter.  Update callers.
3251169689Skan	(USE_ALTIVEC_FOR_ARG_P): Likewise.  Also correct for Darwin/AIX
3252169689Skan	32-bit ABIs.
3253169689Skan	(function_arg_advance): Use USE_ALTIVEC_FOR_ARG_P.  Correct case
3254169689Skan	of vector parameters as named arguments of stdarg function.
3255169689Skan	(function_arg): Likewise.
3256169689Skan
3257169689Skan	* config/rs6000/darwin.h (ASM_SPEC): Use -force_cpusubtype_ALL when
3258169689Skan	-maltivec is specified, not the non-existent -faltivec.
3259169689Skan
3260169689Skan2003-11-06  Ulrich Weigand  <uweigand@de.ibm.com>
3261169689Skan
3262169689Skan	* config/s390/s390-protos.h (s390_function_value): Declare.
3263169689Skan	* config/s390/s390.c (TARGET_RETURN_IN_MEMORY): Define.
3264169689Skan	(s390_return_in_memory): New function.
3265169689Skan	(s390_function_value): New function.
3266169689Skan	(s390_function_arg_float): Return false for all arguments larger
3267169689Skan	than 8 bytes.
3268169689Skan	(s390_function_arg_pass_by_reference): Likewise.  Return true for
3269169689Skan	all vector arguments.
3270169689Skan	(s390_function_arg_integer): New function.
3271169689Skan	(s390_function_arg_advance): Call it.  Add sanity checks.
3272169689Skan	(s390_function_arg): Likewise.
3273169689Skan	* config/s390/s390.h (FUNCTION_VALUE): Call s390_function_value.
3274169689Skan	(LIBCALL_VALUE): Likewise.
3275169689Skan	(RET_REG): Remove.
3276169689Skan	(RETURN_IN_MEMORY): Remove.
3277169689Skan
3278169689Skan2003-11-06  Richard Sandiford  <rsandifo@redhat.com>
3279169689Skan
3280169689Skan	* config/mips/mips-protos.h (mips_initial_elimination_offset): Change
3281169689Skan	return type to HOST_WIDE_INT.
3282169689Skan	* config/mips/mips.c (mips_frame_info): Give sizes type HOST_WIDE_INT.
3283169689Skan	Make initialized a bool.  Make register masks unsigned ints.
3284169689Skan	(compute_frame_size): Make same mask change here.  Use HOST_WIDE_INT
3285169689Skan	where appropriate.
3286169689Skan	(mips_initial_elimination_offset): Return a HOST_WIDE_INT.
3287169689Skan	(mips_output_function_prologue): Print sizes as HOST_WIDE_INTs.
3288169689Skan
3289169689Skan2003-11-06  Richard Sandiford  <rsandifo@redhat.com>
3290169689Skan
3291169689Skan	* config/frv/frv.c (frv_initial_elimination_offset): Remove bogus
3292169689Skan	negation.
3293169689Skan
3294169689Skan2003-11-06  Richard Sandiford  <rsandifo@redhat.com>
3295169689Skan
3296169689Skan	* config/frv/frv.h (ASM_OUTPUT_ALIGN_WITH_NOP): Define.
3297169689Skan
3298169689Skan2003-11-06  Momchil Velikov  <velco@fadata.bg>
3299169689Skan
3300169689Skan	* config/mips/mips.c (override_options): Set MASK_SOFT_FLOAT
3301169689Skan	for VR4111 too.
3302169689Skan
3303169689Skan2003-11-06  Jan Hubicka  <jh@suse.cz>
3304169689Skan
3305169689Skan	* builtins.c (simplify_builtin_strrchr, simplify_builtin_strpbrk): Add
3306169689Skan	missing casts.
3307169689Skan
3308169689Skan2003-11-06  Zack Weinberg  <zack@codesourcery.com>
3309169689Skan
3310169689Skan	* genmodes.c: Change the word "bitsize" to "precision" throughout.
3311169689Skan	* machmode.def: Likewise.
3312169689Skan	* machmode.h (GET_MODE_SIZE): Cast value to unsigned short.
3313169689Skan	(GET_MODE_BITSIZE): Define as GET_MODE_SIZE * BITS_PER_UNIT.
3314169689Skan	(GET_MODE_PRECISION): New macro.
3315169689Skan	(mode_bitsize): Renamed mode_precision.
3316169689Skan	* stor-layout.c (mode_for_size, smallest_mode_for_size):
3317169689Skan	Use GET_MODE_PRECISION; clarify comments.
3318169689Skan
3319169689Skan2003-11-05  Joseph S. Myers  <jsm@polyomino.org.uk>
3320169689Skan
3321169689Skan	* doc/install-old.texi: Remove old documentation of building
3322169689Skan	cross-compilers.
3323169689Skan	* doc/install.texi: Move some of it to here.
3324169689Skan
3325169689Skan2003-11-05  Per Bothner  <pbothner@apple.com>
3326169689Skan
3327169689Skan	PR preprocessor/12891
3328169689Skan	* c-opts.c (finish_options):  Set include_cursor to disable premature
3329169689Skan	calls to push_command_line_include from cpp_scan_nooutput.
3330169689Skan	Fixes bug reported by DJ Delorie.
3331169689Skan
3332169689Skan2003-11-05  Geoffrey Keating  <geoffk@apple.com>
3333169689Skan
3334169689Skan	* config/rs6000/rs6000.c (setup_incoming_varargs): Remove
3335169689Skan	code supporting old-style varargs.
3336169689Skan
3337169689Skan	* config/rs6000/rs6000.c (rs6000_machopic_legitimize_pic_address): Use
3338169689Skan	an intermediate register for better optimisation.
3339169689Skan
3340169689Skan2003-11-05  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
3341169689Skan
3342169689Skan	PR optimization/10080
3343169689Skan	* cfgloopanal.c (variable_initial_value, variable_initial_values,
3344169689Skan	simple_loop_exit_p): Record the fact that initial value is extended
3345169689Skan	from inner mode.
3346169689Skan	(count_strange_loop_iterations, count_loop_iterations): Handle
3347169689Skan	ivs that iterate in a narrower mode. Fix handling of overflows.
3348169689Skan	Improve handling of NE conditions.
3349169689Skan	(inverse, fits_in_mode_p): New static functions.
3350169689Skan	(simple_increment): Detect variables that iterate in a narrower mode.
3351169689Skan	* cfgloop.h (struct loop_desc): Fields inner_mode and extend added.
3352169689Skan
3353169689Skan2003-11-05  Geoffrey Keating  <geoffk@apple.com>
3354169689Skan
3355169689Skan	* config/rs6000/rs6000.c (compute_vrsave_mask): Correct off-by-one
3356169689Skan	error.
3357169689Skan
3358169689Skan	* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Darwin
3359169689Skan	needs VRSAVE.
3360169689Skan
3361169689Skan2003-11-05  Joseph S. Myers  <jsm@polyomino.org.uk>
3362169689Skan
3363169689Skan	* c-typeck.c (pedantic_lvalue_warning): Deprecate use of
3364169689Skan	conditional expressions as lvalues.
3365169689Skan
3366169689Skan2003-11-05  Kazu Hirata  <kazu@cs.umass.edu>
3367169689Skan
3368169689Skan	* tsystem.h: Add the prototype of strlen.
3369169689Skan	* unwind-pe.h (read_encoded_value_with_base): Add an
3370169689Skan	appropriate cast to handle a case where the pointer size is
3371169689Skan	smaller than sizeof (int).
3372169689Skan
3373169689Skan2003-11-04  Richard Sandiford  <rsandifo@redhat.com>
3374169689Skan
3375169689Skan	* config/mips/mips-protos.h (mips_global_pic_constant_p): Delete.
3376169689Skan	(mips_delegitimize_address): Delete.
3377169689Skan	(mips_gotoff_global, mips_load_got_page): Declare.
3378169689Skan	(mips_load_got_global, mips_rewrite_small_data): Declare.
3379169689Skan
3380169689Skan	* config/mips/mips.h (FIND_BASE_TERM): Remove definition.
3381169689Skan	(DANGEROUS_FOR_LA25_P): Use global_got_operand.
3382169689Skan	(PREDICATE_CODES): Add global_got_operand, local_got_operand and
3383169689Skan	small_data_pattern.  Remove CONST from const_arith_operand's entry.
3384169689Skan
3385169689Skan	* config/mips/mips.c (UNSPEC_ADDRESS_P, CONST_GP_P): New macros.
3386169689Skan	(UNSPEC_ADDRESS, UNSPEC_ADDRESS_TYPE): Likewise.
3387169689Skan	(mips_constant_type): Delete.
3388169689Skan	(mips_symbol_type): Add SYMBOL_GOTOFF_PAGE, SYMBOL_GOTOFF_GLOBAL,
3389169689Skan	SYMBOL_GOTOFF_CALL and SYMBOL_GOTOFF_LOADGP.
3390169689Skan	(NUM_SYMBOL_TYPES): New macro.
3391169689Skan	(mips_address_type): Remove ADDRESS_INVALID.
3392169689Skan	(machine_function): Add has_gp_insn_p.
3393169689Skan	(mips_constant_info): Delete.
3394169689Skan	(mips_address_info): Add the address type as an extra field.  Replace
3395169689Skan	the c field with symbol_type.
3396169689Skan	(mips_split_p, mips_lo_relocs, mips_hi_relocs): New arrays.
3397169689Skan	(TARGET_DELEGITIMIZE_ADDRESS): Remove definition.
3398169689Skan	(mips_reloc_offset_ok_p, mips_classify_constant): Delete.
3399169689Skan	(mips_split_const, mips_symbolic_constant_p): New functions.
3400169689Skan	(mips_symbolic_address_p): Take the symbol type and mode as arguments.
3401169689Skan	(mips_classify_address): Return true if the address is valid, storing
3402169689Skan	its type in INFO.  Use mips_symbolic_constant_p.  Use mips_lo_relocs[]
3403169689Skan	to test whether a LO_SUM address is allowed.
3404169689Skan	(mips_symbol_insns): Return 0 for general mips16 symbols.
3405169689Skan	Reorder SYMBOL_GOT_GLOBAL case to match mips_symbol_type definition.
3406169689Skan	Handle the new SYMBOL_GOTOFF_*s.
3407169689Skan	(mips_address_insns): Update call to mips_classify_address.
3408169689Skan	(mips_const_insns): Be more fussy about HIGH constants.  Remove use
3409169689Skan	of mips_classify_constant.  Be more accurate about CONSTs.
3410169689Skan	(mips_global_pic_constant_p): Delete.
3411169689Skan	(const_arith_operand): Only accept CONST_INTs.
3412169689Skan	(call_insn_operand): Remove call to mips_classify_constant.
3413169689Skan	Let mips_symbolic_constant_p check for invalid offsets.
3414169689Skan	(move_operand): Check for general_operands first.  Only accept symbolic
3415169689Skan	constants if they satisfy mips_symbolic_constant_p and cannot be split.
3416169689Skan	(symbolic_constant): Use mips_symbolic_constant_p.
3417169689Skan	(global_got_operand, local_got_operand): New predicates.
3418169689Skan	(stack_operand): Update call to mips_classify_address.
3419169689Skan	(mips_legitimate_address_p): Likewise.
3420169689Skan	(mips_reloc, mips_lui_reloc): Delete.
3421169689Skan	(mips_force_temporary): Only use the given temporary if no_new_pseudos.
3422169689Skan	Use emit_move_insn.
3423169689Skan	(mips_split_symbol, mips_unspec_address): New functions.
3424169689Skan	(mips_unspec_offset_high): New function.
3425169689Skan	(mips_load_got): Replace reloc argument with a symbol_type.
3426169689Skan	Use mips_unspec_address to create the address and put it in a
3427169689Skan	LO_SUM with the base register.
3428169689Skan	(mips_load_got16, mips_load_got32): Delete.
3429169689Skan	(mips_emit_high, mips_legitimize_symbol): Delete.
3430169689Skan	(mips_gotoff_global): New function.
3431169689Skan	(mips_load_got_page, mips_load_got_global): New functions.
3432169689Skan	(mips_legitimize_symbol): Inline handling of LO_SUM splits.
3433169689Skan	(mips_legitimize_const_move): Likewise.  Remove HIGH handling.
3434169689Skan	Inline code to handle constants plus invalid offsets.  Use
3435169689Skan	mips_split_symbol to legitimize constant pool addresses.
3436169689Skan	(mips_delegitimize_address): Delete.
3437169689Skan	(mips_rtx_costs): Give legitimate symbolic constants and CONST_DOUBLEs
3438169689Skan	a cost of 1 insn.  Give the rest a cost of CONSTANT_POOL_ADDRESS.
3439169689Skan	(mips_subword): Pass memrefs through mips_rewrite_small_data.
3440169689Skan	(mips_output_move): Remove use of mips_classify_constant.
3441169689Skan	(mips_expand_call): Use mips_unspec_offset_high to calculate the
3442169689Skan	high part of the GOT address for calls to global functions.
3443169689Skan	(override_options): Initialize mips_split_p[], mips_lo_relocs[]
3444169689Skan	and mips_hi_relocs[].
3445169689Skan	(print_operand): Use print_operand_reloc to handle '%h' and '%R'.
3446169689Skan	Remove use of mips_classify_constant.
3447169689Skan	(mips_reloc_string): Delete.
3448169689Skan	(print_operand_reloc): New function.
3449169689Skan	(print_operand_address): Update call to mips_classify_address.
3450169689Skan	(mips_rewrite_small_data_p, small_data_pattern_1): New functions.
3451169689Skan	(small_data_pattern): New predicate.
3452169689Skan	(mips_rewrite_small_data_1, mips_rewrite_small_data): New functions.
3453169689Skan	(mips_function_has_gp_insn): New function.
3454169689Skan	(mips_global_pointer): Use it.
3455169689Skan	(mips_gp_insn): Delete.
3456169689Skan	(mips_expand_prologue): When compiling for n32/n64 abicalls, use a
3457169689Skan	single loadgp pattern to initialize $gp.  Pass it the offset of _gp
3458169689Skan	from the start of the current function.
3459169689Skan	(mips16_gp_pseudo_reg): Revert last patch.
3460169689Skan
3461169689Skan	* config/mips/mips.md (RELOC_*): Delete.
3462169689Skan	(UNSPEC_LOADGP, UNSPEC_FIRST_ADDRESS): New constants.
3463169689Skan	(got): New insn attribute.
3464169689Skan	(type): Set to "load" if got == load.
3465169689Skan	(length): Set to 4 if got == load, 8 if got == xgot_high.
3466169689Skan	(lui[sd]i): Delete.
3467169689Skan	(*xgot_hi[sd]i, *xgot_lo[sd]i): New patterns.
3468169689Skan	(*got_disp[sd]i, *got_page[sd]i): Likewise.
3469169689Skan	(*low[sd]i): Change constraints to "d".  Add a new define_split to
3470169689Skan	rewrite small data constants into LO_SUMs.
3471169689Skan	(loadgp): New insns.
3472169689Skan
3473169689Skan2003-11-04  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3474169689Skan
3475169689Skan	* config/mips/_tilib.c: Use _ABI* in _MIPS_SIM tests.
3476169689Skan
3477169689Skan2003-11-04  DJ Delorie  <dj@redhat.com>
3478169689Skan
3479169689Skan	* config/v850/v850.md (mulhisi3): Expand the const_int case
3480169689Skan	separately to avoid trying to sign extend the const.
3481169689Skan
3482169689Skan2003-11-04  Richard Sandiford  <rsandifo@redhat.com>
3483169689Skan
3484169689Skan	* emit-rtl.c (copy_rtx_if_shared): Don't allow MEMs with constant
3485169689Skan	addresses to be shared.
3486169689Skan	(force_const_mem): Return a copy of the pool entry.
3487169689Skan
3488169689Skan2003-11-03  Andreas Jaeger  <aj@suse.de>
3489169689Skan
3490169689Skan	* Makefile.in (GCC_CFLAGS): Remove @WERROR@ again.
3491169689Skan
3492169689Skan2003-11-03  Kelley Cook  <kcook@gcc.gnu.org>
3493169689Skan
3494169689Skan	* Makefile.in (cpp.dvi): New target split from cpp.info.
3495169689Skan	(gcc.dvi):  New target split from gcc.info.
3496169689Skan	(gccint.dvi): New target split from gccint.info.
3497169689Skan	(cppinternals.dvi): New target split from cppinternals.info
3498169689Skan	(gccinstall.info): New specific rule.
3499169689Skan	(gccinstall.dvi): Likewise.
3500169689Skan	(dvi): Move targets to $(docobjdir).
3501169689Skan	($(docobjdir)/%.dvi): New implicit rule.
3502169689Skan
3503169689Skan2003-11-03  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3504169689Skan
3505169689Skan	* doc/gty.texi (tag, desc): Say more about role of desc values in
3506169689Skan	selecting between tags.
3507169689Skan
3508169689Skan2003-11-03  Alexander Kabaev  <ak03@gte.com>
3509169689Skan
3510169689Skan	* real.c (encode_ieee_single): Ensure proper promotion.
3511169689Skan
3512169689Skan2003-11-03  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
3513169689Skan
3514169689Skan	* doc/contrib.texi: Add Giovanni Bajo, Dara Hazeghi, Falk Hueffner,
3515169689Skan	and Andrew Pinski.
3516169689Skan
3517169689Skan2003-11-03  Syd Polk  <spolk@apple.com>
3518169689Skan
3519169689Skan	* config/rs6000/rs6000.c (rs6000_override_options): Add G3, G4, and G5
3520169689Skan	marketing names to the list of supported processors.
3521169689Skan	* config/rs6000/rs6000.h: Ditto.
3522169689Skan	* doc/invoke.texi: Ditto.
3523169689Skan	* config.gcc: Ditto.
3524169689Skan
3525169689Skan2003-11-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3526169689Skan
3527169689Skan	* fixinc/inclhack.def (stdio_va_list): Allow tab before va_list.
3528169689Skan	Merge two substitutions.
3529169689Skan	* fixinc/fixincl.x: Regenerate.
3530169689Skan	Fixes PR bootstrap/12666.
3531169689Skan
3532169689Skan2003-11-03  Joseph S. Myers  <jsm@polyomino.org.uk>
3533169689Skan
3534169689Skan	* doc/install-old.texi: Remove VMS documentation.
3535169689Skan
3536169689Skan2003-11-03  Jan Hubicka  <jh@suse.cz>
3537169689Skan
3538169689Skan	* i386.c (override_options):  Remove hack enabling 128bit long double
3539169689Skan	commited by accident.
3540169689Skan
3541169689Skan2003-11-02  Per Bothner  <per@bothner.com>
3542169689Skan
3543169689Skan	* c-opts.c (needValue):  Do cpp_find_main_file before processing
3544169689Skan	any imacros flags, so pfile->main_file is set for the latter.
3545169689Skan
3546169689Skan2003-11-03  Andreas Jaeger  <aj@suse.de>
3547169689Skan	    Zack Weinberg  <zack@codesourcery.com>
3548169689Skan
3549169689Skan	* Makefile.in (GCC_CFLAGS): Allow blacklisting of warnings.
3550169689Skan	(SYSCALLS.c.X-warn): Suppress warnings.
3551169689Skan
3552169689Skan2003-11-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3553169689Skan
3554169689Skan	PR optimization/12845
3555169689Skan	* pa.c (output_cbranch): Use cmpb for DImode comparisons with 0.
3556169689Skan
3557169689Skan2003-11-02  Zack Weinberg  <zack@codesourcery.com>
3558169689Skan
3559169689Skan	* print-rtl.c (print_rtx): Call PRINT_REG with second argument -1.
3560169689Skan	* config/i386/i386.c (print_reg): Abort on a virtual register
3561169689Skan	if code != -1; not if file == asm_out_file.
3562169689Skan	* config/i386/i386.h (PRINT_REG): Document meaning of CODE == -1.
3563169689Skan	(DEBUG_PRINT_REG): Delete, unused.
3564169689Skan
3565169689Skan2003-11-02  Andreas Schwab  <schwab@suse.de>
3566169689Skan
3567169689Skan	* config/ia64/fde-glibc.c (_GNU_SOURCE): Define to 1 instead of
3568169689Skan	empty to avoid conflict with the definition from configure.
3569169689Skan
3570169689Skan2003-11-02  Roger Sayle  <roger@eyesopen.com>
3571169689Skan
3572169689Skan	PR optimization/10817
3573169689Skan	* ifcvt.c (noce_emit_move_insn): Improve documentation comment.
3574169689Skan	(noce_try_move): New function to optimize an if-the-else into an
3575169689Skan	unconditional move, i.e. "if (a!=b) x=a; else x=b" into "x=a".
3576169689Skan	(noce_process_if_block): Attempt simplification with noce_try_move.
3577169689Skan
3578169689Skan	* simplify-rtx.c (simplify_ternary_operation): Some minor fixes
3579169689Skan	and improvements to the optimizations of IF_THEN_ELSE expressions.
3580169689Skan	(simplify_subreg): Silence signed/unsigned comparison warning.
3581169689Skan
3582169689Skan2003-11-02  Richard Sandiford  <rsandifo@redhat.com>
3583169689Skan
3584169689Skan	* Makefile.in (targhooks.o, reload.o): Update dependencies.
3585169689Skan	(GTFILES): Add targhooks.c.
3586169689Skan	(gt-targhooks.h): New rule; depend on s-gtype.
3587169689Skan	* target.h (direct_pool_load_p): New hook.
3588169689Skan	* target-def.h (TARGET_DIRECT_POOL_LOAD_P): New macro.
3589169689Skan	(TARGET_INITIALIZER): Include it.
3590169689Skan	* targhooks.h (default_direct_pool_load_p): Declare.
3591169689Skan	(hook_bool_machine_mode_true): Declare.
3592169689Skan	* targhooks.c: Include insn-config.h, recog.h, ggc.h and
3593169689Skan	gt-targhooks.h.
3594169689Skan	(pool_symbol): New variable.
3595169689Skan	(default_direct_pool_load_p): New function.
3596169689Skan	(hook_bool_machine_mode_true): New function.
3597169689Skan	* reload.c: Include target.h.
3598169689Skan	(find_reloads): If an alternative will force a constant into memory,
3599169689Skan	count an extra reload if constant pool symbols are not valid
3600169689Skan	addresses.  If an alternative uses memory to move values between
3601169689Skan	registers, count the move as two reloads rather than one.
3602169689Skan	* config/s390/s390.c (TARGET_DIRECT_POOL_LOAD_P): Define.
3603169689Skan	* doc/tm.texi (TARGET_DIRECT_POOL_LOAD_P): Document.
3604169689Skan
3605169689Skan2003-11-02  Eric Botcazou  <ebotcazou@libertysurf.fr>
3606169689Skan
3607169689Skan	PR optimization/12799
3608169689Skan	* postreload.c (reload_cse_move2add): Generate the add2
3609169689Skan	patterns manually.
3610169689Skan
3611169689Skan2003-11-02  Eric Botcazou  <ebotcazou@libertysurf.fr>
3612169689Skan
3613169689Skan	* config/sparc/sparc.c (function_arg_partial_nregs) [TARGET_ARCH64]:
3614169689Skan	Return 0 for all complex modes whose size is lesser or equal to
3615169689Skan	a word.  Add a ??? comment for the condition used with 16-byte
3616169689Skan	aligned modes.
3617169689Skan
3618169689Skan2003-11-01  Kelley Cook  <kcook@gcc.gnu.org>
3619169689Skan
3620169689Skan	* .cvsignore: Remove c-parse* and tradcif.c.
3621169689Skan	* objc/.cvsignore: Delete.
3622169689Skan
3623169689Skan2003-11-01  Roger Sayle  <roger@eyesopen.com>
3624169689Skan
3625169689Skan	* unwind-sjlj.c (_Unwind_GetCFA): Return (_Unwind_Word)0 instead
3626169689Skan	of NULL.
3627169689Skan
3628169689Skan2003-11-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3629169689Skan
3630169689Skan	* som.h (DO_GLOBAL_DTORS_BODY): Change to C90 declaration.
3631169689Skan
3632169689Skan	* libgcc2.c (SYMBOL__MAIN): Provide C90 declaration.
3633169689Skan
3634169689Skan	* collect2.c (scan_libraries): Fix typos.
3635169689Skan
3636169689Skan	PR preprocessor/12847
3637169689Skan	* cppfiles.c, cppexp.c, cpperror.c, cpplib.h, cpplib.c, cpplex.c,
3638169689Skan	cppinit.c, cpptrad.c, cppmacro.c, fix-header.c, cpppch.c, c-pch.c,
3639169689Skan	c-incpath.c, cppcharset.c (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN,
3640169689Skan	DL_ERROR, DL_ICE, DL_EXTRACT, DL_WARNING_P): Prefix macro names with
3641169689Skan	"CPP_".
3642169689Skan
3643169689Skan2003-11-01  Fariborz Jahanian  <fjahanian@apple.com>
3644169689Skan
3645169689Skan	* config/rs6000/rs6000.c (rs6000_mixed_function_arg): Correct
3646169689Skan	no_units calculation.
3647169689Skan
3648169689Skan2003-11-01  Andreas Jaeger  <aj@suse.de>
3649169689Skan
3650169689Skan	* unwind-dw2.c (_Unwind_FrameState): Remove commas at end of
3651169689Skan	enumeration list.
3652169689Skan
3653169689Skan2003-11-01  Andreas Schwab  <schwab@suse.de>
3654169689Skan
3655169689Skan	* config/ia64/sysv4.h (SDATA_SECTION_FUNCTION): Update to C90
3656169689Skan	prototypes.
3657169689Skan	(SBSS_SECTION_FUNCTION): Likewise.
3658169689Skan
3659169689Skan2003-11-01  Andreas Jaeger  <aj@suse.de>
3660169689Skan
3661169689Skan	* Makefile.in (GCC_CFLAGS): Add @WERROR@ for target files.
3662169689Skan
3663169689Skan2003-11-01  Andreas Tobler  <a.tobler@schweiz.ch>
3664169689Skan
3665169689Skan	* config/rs6000/sysv4.h (EXTRA_SECTION_FUNCTIONS): Update to C90
3666169689Skan	prototypes.
3667169689Skan
3668169689Skan2003-11-01  Andreas Jaeger  <aj@suse.de>
3669169689Skan
3670169689Skan	* unwind-dw2.c (_Unwind_FindEnclosingFunction): Constify variable.
3671169689Skan	(uw_frame_state_for): Constify variables.
3672169689Skan	(extract_cie_info): Constify first argument.
3673169689Skan
3674169689Skan	* unwind-dw2-fde-darwin.c: Adjust prototype of
3675169689Skan	_Unwind_Find_registered_FDE for recent changes.
3676169689Skan	(examine_objects): Constify return value and local variable result.
3677169689Skan	(_Unwind_Find_FDE): Constify return value and local variable ret.
3678169689Skan
3679169689Skan2003-10-31  Per Bothner  <pbothner@apple.com>
3680169689Skan
3681169689Skan	* c-opts.c (finish_options):  Change to returns boolean - false iff
3682169689Skan	the call to cpp_find_main_file fails.
3683169689Skan	(c_common_init):  Skip preprocess_file if finish_options failed.
3684169689Skan	(c_common_parse_file):  Break if finish_options failed.
3685169689Skan	Fixes PR preprocessor/12545.
3686169689Skan
3687169689Skan2003-10-31  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3688169689Skan
3689169689Skan	* aclocal.m4: Blacklist ultrix* for mmap file.
3690169689Skan	* configure: Rebuilt.
3691169689Skan
3692169689Skan	* function.c (assign_parms): Add ATTRIBUTE_UNUSED to variable
3693169689Skan	reg_parm_stack_space.
3694169689Skan	* toplev.c (default_get_pch_validity): Fix warning.
3695169689Skan
3696169689Skan	* vax.c: Include toplev.h.
3697169689Skan	(vax_init_libfuncs): Fix typo (umod).
3698169689Skan	* vax.h (ASM_COMMENT_START): Define.
3699169689Skan	(PRINT_OPERAND): Fix warning when HOST_WIDE_INT is a long long.
3700169689Skan
3701169689Skan2003-10-31  Roger Sayle  <roger@eyesopen.com>
3702169689Skan
3703169689Skan	PR middle-end/11968
3704169689Skan	* expr.c (expand_expr <MULT_EXPR>): Remove inappropriate and
3705169689Skan	confusing comment; distributivity isn't handled in expand_expr.
3706169689Skan	* fold-const.c (extract_muldiv_1 <PLUS_EXPR>):  Allow overflow
3707169689Skan	in distributivity, if wrap-around semantics are specified with
3708169689Skan	-fwrapv.
3709169689Skan
3710169689Skan2003-11-01  Alan Modra  <amodra@bigpond.net.au>
3711169689Skan
3712169689Skan	PR 12315
3713169689Skan	* final.c (profile_function): Allow for NULL svrtx.
3714169689Skan
3715169689Skan2003-10-31  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3716169689Skan
3717169689Skan	* pa.c (pa_select_section): Use new style declaration.
3718169689Skan	* som.h (readonly_data): Likewise.
3719169689Skan
3720169689Skan2003-10-31  Kelley Cook  <kcook@gcc.gnu.org>
3721169689Skan
3722169689Skan	* config/rs6000/rs6000.c: Update to C90 prototypes.
3723169689Skan
3724169689Skan2003-10-31  Richard Earnshaw  <rearnsha@arm.com>
3725169689Skan
3726169689Skan	PR target/7513
3727169689Skan	* arm.h (CONDITIONAL_REGISTER_USAGE): Disable use of LR in Thumb
3728169689Skan	code.
3729169689Skan
3730169689Skan2003-10-31  Andreas Jaeger  <aj@suse.de>,
3731169689Skan	    Zack Weinberg  <zack@codesourcery.com>
3732169689Skan
3733169689Skan
3734169689Skan	* crtstuff.c (__register_frame_info, __register_frame_info_bases)
3735169689Skan	(__deregister_frame_info, __deregister_frame_info_bases):
3736169689Skan	Constify void * argument.
3737169689Skan	* unwind-dw2-fde.h (struct fde_vector):
3738169689Skan	Constify 'orig_data' and 'array' fields.
3739169689Skan	(__register_frame_info, __register_frame_info_bases)
3740169689Skan	(__deregister_frame_info, __deregister_frame_info_bases):
3741169689Skan	Constify void * argument.
3742169689Skan	(get_cie, next_fde, _Unwind_Find_FDE): Constify arguments,
3743169689Skan	return values, and casts of type fde *, struct dwarf_fde *,
3744169689Skan	and struct dwarf_cie *.
3745169689Skan	* unwind-dw2-fde.c (__register_frame_info, __register_frame_info_bases)
3746169689Skan	(__deregister_frame_info, __deregister_frame_info_bases):
3747169689Skan	Constify void * argument.
3748169689Skan	(get_cie_encoding, ): Constify struct dwarf_cie * argument.
3749169689Skan	(get_fde_encoding, fde_unencoded_compare, fde_single_encoding_compare)
3750169689Skan	(fde_mixed_encoding_compare, fde_compare_t, start_fde_sort, fde_insert)
3751169689Skan	fde_split, SWAP, frame_downheap, frame_heapsort)
3752169689Skan	(classify_object_over_fdes, add_fdes, linear_search_fdes,
3753169689Skan	binary_search_unencoded_fdes, binary_search_single_encoding_fdes,
3754169689Skan	binary_search_mixed_encoding_fdes, search_object, _Unwind_Find_FDE):
3755169689Skan	Constify arguments, local variables, return values, and casts
3756169689Skan	of type fde *, fde **, struct dwarf_fde *, and struct dwarf_cie *.
3757169689Skan	Use const pointer types in sizeof expressions, for clarity.
3758169689Skan	* unwind-dw2-fde-glibc.c
3759169689Skan	(_Unwind_find_registered_FDE, _Unwind_find_FDE): Constify return value.
3760169689Skan	(struct unw_eh_callback_data): Constify 'ret' field.
3761169689Skan
3762169689Skan2003-10-31  Fariborz Jahanian  <fjahanian@apple.com>
3763169689Skan	    David Edelsohn  <edelsohn@gnu.org>
3764169689Skan
3765169689Skan	* config/rs6000/rs6000.c (rs6000_mixed_function_arg): New.
3766169689Skan	(function_arg): Call it.
3767169689Skan	(rs6000_function_value): Widen integral return value to mode based
3768169689Skan	on TARGET_32BIT, not word_mode.
3769169689Skan	* config/rs6000/rs6000.h (PROMOTE_MODE): Likewise.
3770169689Skan	(UNITS_PER_ARG): New.
3771169689Skan	(RS6000_ARG_SIZE): Use it.
3772169689Skan
3773169689Skan2003-10-31  Gerald Pfeifer  <gerald@pfeifer.com>
3774169689Skan
3775169689Skan	* .cvsignore: No longer ignore gengtype-lex.c, gengtype-yacc.c,
3776169689Skan	and gengtype-yacc.h.
3777169689Skan
3778169689Skan2003-10-31  Richard Earnshaw  <rearnsha@arm.com>
3779169689Skan
3780169689Skan	PR optimization/8896
3781169689Skan	* postreload.c (reload_combine): Check that REGY doesn't die in an
3782169689Skan	insn of the form (set (regx) (plus (regx) (regy))), ie REGX != REGY.
3783169689Skan
3784169689Skan2003-10-31  Josef Zlomek  <zlomekj@suse.cz>
3785169689Skan
3786169689Skan	PR/10239
3787169689Skan	* cfgrtl.c (delete_insn): Decrease LABEL_NUSES for all REG_LABEL notes.
3788169689Skan
3789169689Skan2003-10-31  Josef Zlomek  <zlomekj@suse.cz>
3790169689Skan
3791169689Skan	PR/11640
3792169689Skan	* cfgrtl.c (try_redirect_by_replacing_jump): Move jump
3793169689Skan	immediatelly before BARRIER.
3794169689Skan
3795169689Skan2003-10-31  Kelley Cook  <kcook@gcc.gnu.org>
3796169689Skan
3797169689Skan	* Makefile.in (STRICT2_WARN): Add -Wold-style-definition.
3798169689Skan
3799169689Skan2003-10-31  Richard Earnshaw  <rearnsha@arm.com>
3800169689Skan
3801169689Skan	PR target/11271
3802169689Skan	* reload.c (find_reloads_address): Handle any register in
3803169689Skan	(PLUS (PLUS (REG) (REG)) (CONST_INT).
3804169689Skan
3805169689Skan2003-10-31  Richard Earnshaw  <rearnsha@arm.com>
3806169689Skan
3807169689Skan	* ggc-page.c (ggc_pch_read): Wrap call to poison_pages in
3808169689Skan	ENABLE_GC_CHECKING not in GGC_POISON.
3809169689Skan
3810169689Skan2003-10-31  Nathanael Nerode  <neroden@gcc.gnu.org>
3811169689Skan
3812169689Skan	PR bootstrap/9863
3813169689Skan	* configure.in: Bail out if awk is missing.
3814169689Skan	* configure: Regenerate.
3815169689Skan
3816169689Skan	PR ada/12761
3817169689Skan	* Makefile.in: Move default definitions of X_ADA_CFLAGS,
3818169689Skan	T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from ada/Make-lang.in to here.
3819169689Skan
3820169689Skan2003-10-30  Richard Henderson  <rth@redhat.com>
3821169689Skan
3822169689Skan	* c-objc-common.c (c_tree_printer): Handle types correctly.
3823169689Skan	Factor code a bit.
3824169689Skan
3825169689Skan2003-10-30 Kelley Cook <kcook@gcc.gnu.org>
3826169689Skan
3827169689Skan	* value-prof.c, web.c: Update to C90.
3828169689Skan
3829169689Skan2003-10-30  Eric Christopher  <echristo@redhat.com>
3830169689Skan
3831169689Skan	* function.c (purge_addressof_1): Add case for REG_RETVAL
3832169689Skan	notes when modes are unequal.
3833169689Skan
3834169689Skan2003-10-31  Jan Hubicka  <jh@suse.cz>
3835169689Skan
3836169689Skan	* i386-modes.def: Add XFmode format adjustment.
3837169689Skan
3838169689Skan2003-10-30  Jan Hubicka  <jh@suse.cz>
3839169689Skan
3840169689Skan	* real.c (encode_ieee_extended): Back out previous patch.
3841169689Skan
3842169689Skan2003-10-30  Jan Hubicka  <jh@suse.cz>
3843169689Skan
3844169689Skan	* real.c (encode_ieee_extended): Initialize whole array.
3845169689Skan	* reg-stack.c (move_for_stack_reg0: Use always XFmode.
3846169689Skan	* i386-modes.def: Change definitions of TFmode and XFmode.
3847169689Skan	* i386.c (classify_argument): Rename TFmodes to XFmodes; add new TFmode
3848169689Skan	code.
3849169689Skan	(construct_container): Allow constructing of TFmode integer containers.
3850169689Skan	(ix86_return_in_memory):  XFmode is not returned in memory.
3851169689Skan	(init_ext_80387_constants): Always use XFmode.
3852169689Skan	(print_operand): Likewise.
3853169689Skan	(ix86_prepare_fp_compare_regs): Likewise.
3854169689Skan	(split_to_parts): Deal with TFmode.
3855169689Skan	(split_long_move): Simplify.
3856169689Skan	(ix86_init_mmx_sse_builtins): Add __float80, __float128.
3857169689Skan	(ix86_memory_move_cost): Do not confuse TFmode.
3858169689Skan	* i386.h (LONG_DOUBLE_TYPE_SIZE): Set to 96.
3859169689Skan	(IS_STACK_MODE): TFmode is not stack mode.
3860169689Skan	(HARD_REGNO_NREGS, CLASS_MAX_NREGS): Deal nicely with XFmode.
3861169689Skan	(VALID_SSE_REG_MODE): Allow TFmode.
3862169689Skan	(VALID_FP_MODE_P): Disallow TFmode.
3863169689Skan	(VALID_INT_MODE_P): Allow TFmode in 64bit mode.
3864169689Skan	* i386.md (TFmode patterns): Kill.
3865169689Skan	(movtf, motf_rex64): New patterns.
3866169689Skan
3867169689Skan2003-10-30  Richard Sandiford  <rsandifo@redhat.com>
3868169689Skan
3869169689Skan	* config/mips/mips.md (adddi3): Fix typo in mips16 stack pointer code.
3870169689Skan
3871169689Skan2003-10-30  Richard Sandiford  <rsandifo@redhat.com>
3872169689Skan
3873169689Skan	* config/mips/mips.md (mov_lwl): Use memory_operand where appropriate.
3874169689Skan	(mov_lwr, mov_swl, mov_swr): Likewise.
3875169689Skan	(mov_ldl, mov_ldr, mov_sdl, mov_sdr): Likewise.
3876169689Skan
3877169689Skan2003-10-30  Richard Sandiford  <rsandifo@redhat.com>
3878169689Skan
3879169689Skan	* config/mips/mips.c (mips_global_pointer): Don't try to use $25.
3880169689Skan
3881169689Skan2003-10-30  Richard Henderson  <rth@redhat.com>
3882169689Skan
3883169689Skan	* config/mips/mips.c (mips_build_builtin_va_list): Use runtime
3884169689Skan	test for irix6 rather than preprocessor test.
3885169689Skan
3886169689Skan2003-10-30  Richard Henderson  <rth@redhat.com>
3887169689Skan
3888169689Skan	* cppcharset.c (one_utf8_to_utf16): Initialize 's' to silence warning.
3889169689Skan
3890169689Skan2003-10-30  Ulrich Weigand  <uweigand@de.ibm.com>
3891169689Skan
3892169689Skan	* config/s390/s390.c (struct machine_function): Use save_return_addr_p
3893169689Skan	as a general flag that the return address register needs to be saved,
3894169689Skan	not necessarily because of __builtin_return_addr (0).
3895169689Skan	(s390_split_branches): Remove TEMP_REG and TEMP_USED arguments,
3896169689Skan	remove special handling of zSeries machines.
3897169689Skan	(s390_optimize_prolog): Remove TEMP_USED argument, treat the return
3898169689Skan	register as a regular register on zSeries machines.
3899169689Skan	(s390_reorg): Adjust calls to s390_split_branches and
3900169689Skan	s390_optimize_prolog.
3901169689Skan	(s390_frame_info): On zSeries machines, do not assume the return
3902169689Skan	register is always used.  Update regs_ever_live with current data
3903169689Skan	for the special registers.
3904169689Skan	(s390_emit_epilogue): Use save_return_addr_p to determine whether
3905169689Skan	the return register was saved.
3906169689Skan	* config/s390/s390.h (CONDITIONAL_REGISTER_USAGE): Do not mark
3907169689Skan	RETURN_REGNUM fixed on zSeries machines.
3908169689Skan	(REG_ALLOC_ORDER): Use RETURN_REGNUM last.
3909169689Skan	* config/s390/s390.md ("*doloop_si"): Handle branch overflow
3910169689Skan	via ahi-jgne pair on zSeries machines.
3911169689Skan	("*doloop_di"): Likewise.
3912169689Skan	("*doloop_di_long"): Remove.
3913169689Skan
3914169689Skan2003-10-30  Richard Earnshaw  <rearnsha@arm.com>
3915169689Skan
3916169689Skan	* arm.c (arm_override_options): Revert change of arm_constant_limit
3917169689Skan	when optimizing for size.
3918169689Skan
3919169689Skan2003-10-29  Richard Henderson  <rth@redhat.com>
3920169689Skan
3921169689Skan	* fold-const.c (fold_single_bit_test): Convert the input to the
3922169689Skan	operational intermediate type.
3923169689Skan
3924169689Skan2003-10-29  Richard Henderson  <rth@redhat.com>
3925169689Skan
3926169689Skan	* builtins.c (std_build_builtin_va_list): New.
3927169689Skan	* expr.h (std_build_builtin_va_list): Declare.
3928169689Skan	* defaults.h (BUILD_VA_LIST_TYPE): New.
3929169689Skan	* system.h (BUILD_VA_LIST_TYPE): Poison.
3930169689Skan	* target-def.h (TARGET_BUILD_BUILTIN_VA_LIST): New.
3931169689Skan	* target.h (struct gcc_target): Add build_builtin_va_list.
3932169689Skan	* tree.c (build_common_tree_nodes_2): Use it.
3933169689Skan
3934169689Skan	* config/alpha/alpha-protos.h, config/alpha/alpha.c,
3935169689Skan	config/alpha/alpha.h, config/alpha/unicosmk.h,
3936169689Skan	config/d30v/d30v-protos.h, config/d30v/d30v.c, config/d30v/d30v.h,
3937169689Skan	config/i386/i386-protos.h, config/i386/i386.c, config/i386/i386.h,
3938169689Skan	config/i860/i860-protos.h, config/i860/i860.c, config/i860/i860.h,
3939169689Skan	config/i960/i960-protos.h, config/i960/i960.c, config/i960/i960.h,
3940169689Skan	config/mips/iris6.h, config/mips/mips-protos.h, config/mips/mips.c,
3941169689Skan	config/mips/mips.h, config/rs6000/rs6000-protos.h,
3942169689Skan	config/rs6000/rs6000.c, config/rs6000/rs6000.h,
3943169689Skan	config/s390/s390-protos.h, config/s390/s390.c, config/s390/s390.h,
3944169689Skan	config/sh/sh-protos.h, config/sh/sh.c, config/sh/sh.h,
3945169689Skan	config/xtensa/xtensa-protos.h, config/xtensa/xtensa.c,
3946169689Skan	config/xtensa/xtensa.h: Rename foo_build_va_list to
3947169689Skan	foo_build_builtin_va_list; make it static.  Define
3948169689Skan	TARGET_BUILD_BUILTIN_VA_LIST.  Remove BUILD_VA_LIST_TYPE.
3949169689Skan	Update protos.
3950169689Skan
3951169689Skan	* config/i386/i386.c (ix86_expand_carry_flag_compare): Make static.
3952169689Skan	* config/iq2000/iq2000.h (BUILD_VA_LIST_TYPE): Remove.
3953169689Skan
3954169689Skan2003-10-29  James E Wilson  <wilson@specifixinc.com>
3955169689Skan
3956169689Skan	* recog.c (asm_operand_ok): Add missing break after case 'X'.
3957169689Skan	Change if statements to else if statements in default case.
3958169689Skan	(extract_constrain_insn_cached): Fix misspelling of constrain_operands
3959169689Skan	in comment.
3960169689Skan	(constrain_operands_cached): Likewise.
3961169689Skan	(constrain_operands): Change if statements to else if statements in
3962169689Skan	default case.
3963169689Skan	* reload.c (find_reloads): Likewise.
3964169689Skan
3965169689Skan2003-10-29  Richard Henderson  <rth@redhat.com>
3966169689Skan
3967169689Skan	* config/m68k/m68k.c (notice_update_cc): Clear cc status for
3968169689Skan	shifts and rotates.
3969169689Skan
3970169689Skan2003-10-30  Alan Modra  <amodra@bigpond.net.au>
3971169689Skan
3972169689Skan	* config/rs6000/rs6000.md: Remove duplicate pattern.
3973169689Skan
3974169689Skan2003-10-29  Hans-Peter Nilsson  <hp@axis.com>
3975169689Skan
3976169689Skan	* real.c (do_divide): Initialize result with a 0.
3977169689Skan
3978169689Skan	* configure.in <enable-checking for valgrind>: Look for
3979169689Skan	<valgrind/memcheck.h> first.  AC_DEFINE HAVE_VALGRIND_MEMCHECK_H
3980169689Skan	if it exists.
3981169689Skan	* configure, config.in: Regenerate.
3982169689Skan	* ggc-common.c [ENABLE_VALGRIND_CHECKING &&
3983169689Skan	HAVE_VALGRIND_MEMCHECK_H]: Include <valgrind/memcheck.h>.  Use
3984169689Skan	#elif for other alternatives.
3985169689Skan	* ggc-page.c: Ditto.
3986169689Skan	* ggc-zone.c: Don't assume <valgrind/memcheck.h>; instead copy
3987169689Skan	include structure from ggc-common.c.
3988169689Skan
3989169689Skan2003-10-29  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3990169689Skan
3991169689Skan	* pa-linux.h (ASM_OUTPUT_ADDR_VEC_ELT): Use label in big switch ELTs.
3992169689Skan	(ASM_OUTPUT_ADDR_DIFF_ELT): Use label difference in big switch ELTs.
3993169689Skan	* pa.c (pa_adjust_insn_length): Check for btable branches using
3994169689Skan	attribute TYPE_BTABLE_BRANCH.
3995169689Skan	(pa_reorg): Simplify.
3996169689Skan	* pa.h (CASE_VECTOR_MODE): Change big switch mode to SImode.
3997169689Skan	(ASM_OUTPUT_ADDR_VEC_ELT): As above.
3998169689Skan	(ASM_OUTPUT_ADDR_DIFF_ELT): As above.
3999169689Skan	* pa.md (btable_branch): New instruction type.
4000169689Skan	(in_branch_delay, in_nullified_branch_delay, in_call_delay): Disallow
4001169689Skan	btable branches.
4002169689Skan	(define_delay): Add btable branches to insn types that may have an
4003169689Skan	insn in the delay position.
4004169689Skan	(Z2, Z3): Add btable branch to list.
4005169689Skan	Simplify unamed pattern set copy pic_label_operand to register.  Add
4006169689Skan	PA 2.0 variant.
4007169689Skan	(short_jump): New jump for use in branch tables.
4008169689Skan	(casesi, casesi0): Revise for new branch table formats.
4009169689Skan	(casesi32, casesi32p, casesi64p): New casesi patterns.
4010169689Skan	(indirect_jump): Move.
4011169689Skan
4012169689Skan2003-10-29  David Edelsohn  <edelsohn@gnu.org>
4013169689Skan
4014169689Skan	* config/rs6000/rs6000.h (UNITS_PER_WORD): Revert to
4015169689Skan	!TARGET_POWERPC64.
4016169689Skan	(UNITS_PER_GPR_WORD): Delete.
4017169689Skan	(HARD_REGNO_NREGS): Revert to UNITS_PER_WORD.
4018169689Skan	(HARD_REGNO_MODE_OK): Same.
4019169689Skan	(CLASS_MAX_NREGS): Same.
4020169689Skan
4021169689Skan2003-10-29  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4022169689Skan
4023169689Skan	* pa.h (ASM_COMMENT_START): Define.
4024169689Skan
4025169689Skan2003-10-29  Zack Weinberg  <zack@codesourcery.com>
4026169689Skan
4027169689Skan	* genmodes.c (complete_mode): Record MODE_CC, MODE_INT,
4028169689Skan	MODE_FLOAT, and MODE_PARTIAL_INT modes as having one
4029169689Skan	component, not zero.
4030169689Skan
4031169689Skan2003-10-29  Andreas Schwab  <schwab@suse.de>
4032169689Skan
4033169689Skan	* config/ia64/t-ia64 (LIB2ADDEH): Add $(srcdir)/gthr-gnat.c.
4034169689Skan
4035169689Skan2003-10-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
4036169689Skan
4037169689Skan	* config/sparc/sparc.c (function_arg_partial_nregs) [TARGET_ARCH64]:
4038169689Skan	Never return 1 for complex integral modes whose size is lesser or
4039169689Skan	equal to a word.
4040169689Skan	(function_arg_pass_by_reference) [TARGET_ARCH64]: Mention CTImode
4041169689Skan	in the comment.
4042169689Skan	(function_arg_advance) [TARGET_ARCH64]: Don't special-case complex
4043169689Skan	modes.
4044169689Skan	(sparc_va_arg) [TARGET_ARCH64]: Handle any types whose size is
4045169689Skan	greater than 16 bytes by reference.
4046169689Skan
4047169689Skan2003-10-29  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4048169689Skan
4049169689Skan	* config/ia64/ia64.c (ia64_assemble_integer): Test POINTER_SIZE,
4050169689Skan	not TARGET_ILP32.
4051169689Skan	(ia64_initialize_trampoline): Use globalize_label target call.
4052169689Skan
4053169689Skan2003-10-29  Andreas Schwab  <schwab@suse.de>
4054169689Skan
4055169689Skan	* doc/install.texi (Building): Add a sentence about building Ada
4056169689Skan	for a canadian cross.
4057169689Skan
4058169689Skan2003-10-28  Zack Weinberg  <zack@codesourcery.com>
4059169689Skan
4060169689Skan	* config/ia64/ia64.c (cmptf_libfunc): New static.
4061169689Skan	(ia64_expand_compare): Add logic to open-code calls to
4062169689Skan	_U_Qfcmp for TFmode comparisons.
4063169689Skan	(ia64_hpux_init_libfuncs): Initialize cmptf_libfunc.
4064169689Skan	Set libfuncs for TFmode eq/ne/gt/ge/lt/gt to 0; these should
4065169689Skan	never be generated anymore.
4066169689Skan	* config/ia64/ia64.md (cmptf): New expander.
4067169689Skan
4068169689Skan2003-10-28  Zack Weinberg  <zack@codesourcery.com>
4069169689Skan
4070169689Skan	* ia64.md (UNSPEC_SETF_EXP,UNSPEC_FR_SQRT_RECIP_APPROX): New constants.
4071169689Skan	(*sqrt_approx): New instruction pattern for approximate square roots.
4072169689Skan	(*setf_exp_xf): New instruction pattern for exponentiation.
4073169689Skan	(*maddxf4_alts_truncsf): New instruction pattern for truncation.
4074169689Skan	(sqrtsf2_internal_thr): New define_and_split implementing
4075169689Skan	throughput-optimized inline calculation of SFmode square root.
4076169689Skan	(sqrtdf2_internal_thr): Likewise for DFmode.
4077169689Skan	(sqrtxf2_internal_thr): Likewise for XFmode.
4078169689Skan	(sqrtsf2, sqrtdf2, sqrtxf2): New expanders to choose between
4079169689Skan	latency- and throughput-optimized square root algorithms.
4080169689Skan	* ia64.h (MASK_INLINE_SQRT_LAT, MASK_INLINE_SQRT_THR,
4081169689Skan	TARGET_INLINE_SQRT_LAT, TARGET_INLINE_SQRT_THR, TARGET_INLINE_SQRT):
4082169689Skan	New macros.
4083169689Skan	(TARGET_SWITCHES): Add -minline-sqrt-min-latency and
4084169689Skan	-minline-sqrt-max-throughput.
4085169689Skan	* ia64.c (ia64_override_options): If both -minline-sqrt-min-latency
4086169689Skan	and -minline-sqrt-max-throughput are given, notify the user
4087169689Skan	that both options cannot be used simultaneously.
4088169689Skan	If -minline-sqrt-min-latency is given, notify the user that
4089169689Skan	this mode is not yet implemented.
4090169689Skan	(rtx_needs_barrier): Reformat initial comment to obey
4091169689Skan	72-character width limit.  Support UNSPEC_SETF_EXP and
4092169689Skan	UNSPEC_FR_SQRT_RECIP_APPROX.
4093169689Skan
4094169689Skan2003-10-29  Alan Modra  <amodra@bigpond.net.au>
4095169689Skan
4096169689Skan	* config/rs6000/rs6000.md (movdf_softfloat64): Allow dummy ctr,ctr
4097169689Skan	moves.
4098169689Skan
4099169689Skan2003-10-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
4100169689Skan
4101169689Skan	PR target/11598
4102169689Skan	PR libgcj/10610
4103169689Skan	* config/rs6000/sysv4.h (PREFERRED_STACK_BOUNDARY): New macro.
4104169689Skan
4105169689Skan2003-10-28  Richard Earnshaw  <rearnsha@arm.com>
4106169689Skan
4107169689Skan	* arm.c (arm_output_epilogue): When using a frame pointer, don't emit
4108169689Skan	an extra stack adjustment insn if the stack pointer is already
4109169689Skan	pointing at the right place.
4110169689Skan	(use_return_insn): Allow a return insn to be used when we have a
4111169689Skan	frame pointer if the stack pointer is in the right place.
4112169689Skan	(output_return_instruction): Handle it.
4113169689Skan
4114169689Skan2003-10-28  Andreas Jaeger  <aj@suse.de>
4115169689Skan
4116169689Skan	* ggc-zone.c (check_cookies): Add missing variable.
4117169689Skan	Add void to prototypes.
4118169689Skan
4119169689Skan2003-10-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4120169689Skan
4121169689Skan	* config/mips/irix6-libc-compat.c (inet_makeaddr): Prototype.
4122169689Skan	* crtstuff.c (__do_global_ctors_1): Move prototype.
4123169689Skan	* unwind-dw2.c (NO_SIZE_OF_ENCODED_VALUE): Define when
4124169689Skan	appropriate.
4125169689Skan	* unwind-sjlj.c (_Unwind_GetCFA, _Unwind_FindEnclosingFunction):
4126169689Skan	Mark parameter with __attribute__((unused)).
4127169689Skan
4128169689Skan2003-10-27  Zack Weinberg  <zack@codesourcery.com>
4129169689Skan
4130169689Skan	* c-decl.c (pushdecl): Clarify comment.
4131169689Skan
4132169689Skan2003-10-27  Arnaud Charlet  <charlet@act-europe.fr>
4133169689Skan
4134169689Skan	* doc/install.texi: Update instructions for Ada cross builds
4135169689Skan
4136169689Skan	PR ada/5909:
4137169689Skan	* doc/sourcebuild.texi: Document Ada test suite.
4138169689Skan
4139169689Skan2003-10-27  Stephane Carrez  <stcarrez@nerim.fr>
4140169689Skan
4141169689Skan	* config/m68hc11/m68hc11.c: Convert to ISO C90.
4142169689Skan	* config/m68hc11/m68hc11-protos.h: Likewise.
4143169689Skan
4144169689Skan2003-10-27  Jan Hubicka  <jh@suse.cz>
4145169689Skan	    Eric Botcazou  <ebotcazou@libertysurf.fr>
4146169689Skan
4147169689Skan	* toplev.c (enum dump_file_index, dump_file): Fix ordering of
4148169689Skan	webizer pass dump.
4149169689Skan
4150169689Skan2003-10-27  Jakub Jelinek  <jakub@redhat.com>
4151169689Skan	    Jan Hubicka  <jh@suse.cz>
4152169689Skan
4153169689Skan	* reload1.c (struct elim_table): Change offset, initial_offset and
4154169689Skan	previous_offset fields to HOST_WIDE_INT.
4155169689Skan	(offsets_at): Change from int to HOST_WIDE_INT.
4156169689Skan	(reload): Adjust offsets_at initialization.
4157169689Skan	(eliminate_regs_in_insn): Change type of offset to HOST_WIDE_INT.
4158169689Skan	(verify_initial_elim_offsets): Change type of t to HOST_WIDE_INT.
4159169689Skan	* config/i386/i386.c (ix86_compute_frame_layout): Change offset type
4160169689Skan	to HOST_WIDE_INT.  Don't save regs using mov for huge frame sizes
4161169689Skan	if TARGET_64BIT.
4162169689Skan	(pro_epilogue_adjust_stack): New function.
4163169689Skan	(ix86_expand_prologue, ix86_expand_epilogue): Use it.
4164169689Skan	* config/i386/i386.md (pro_epilogue_adjust_stack): Remove.
4165169689Skan	(pro_epilogue_adjust_stack_1): Remove * in front of name.
4166169689Skan	(pro_epilogue_adjust_stack_rex64): Handle -2147483648 properly.
4167169689Skan	(pro_epilogue_adjust_stack_rex64_2): New insn.
4168169689Skan
4169169689Skan	* config/i386/i386.c (ix86_expand_epilogue): Fix comment typo.
4170169689Skan
4171169689Skan	* config/i386/i386.c (ix86_expand_call): Replace 40 with
4172169689Skan	FIRST_REX_INT_REG + 3 /* R11 */.
4173169689Skan
4174169689Skan2003-10-26  Richard Henderson  <rth@redhat.com>
4175169689Skan
4176169689Skan	* config/alpha/alpha.md (attr cannot_copy): New.
4177169689Skan	(call_osf_2_er, call_value_osf_2_er, ldgp_er_1, ldgp_er_2,
4178169689Skan	prologue_ldgp_er_2, prologue_ldgp_1): Set it.
4179169689Skan	* config/alpha/alpha.c (alpha_cannot_copy_insn_p): Test it.
4180169689Skan
4181169689Skan2003-10-26  Daniel Berlin  <dberlin@dberlin.org>
4182169689Skan
4183169689Skan	* ggc-zone.c:  New file, zone allocating collector.
4184169689Skan	* configure: Accept zone option for --with-gc
4185169689Skan	* configure.in: Ditto.
4186169689Skan	* ggc.h (ggc_pch_count_object): Pass bool indicating
4187169689Skan	stringiness. Update all callers.
4188169689Skan	(ggc_pch_alloc_object): Ditto.
4189169689Skan	(ggc_pch_write_object): Ditto.
4190169689Skan	(ggc_alloc_rtx): Use typed allocation, since all RTX's are of a single
4191169689Skan	type.
4192169689Skan	(ggc_alloc_rtvec): Ditto.
4193169689Skan	(ggc_alloc_tree): Use zone allocation, since some things using this macro
4194169689Skan	aren't a single typecode.
4195169689Skan	* ggc-none.c (ggc_alloc_typed): New function.
4196169689Skan	(ggc_alloc_zone): Ditto.
4197169689Skan	* ggc-page.c: Ditto on both functions.
4198169689Skan
4199169689Skan2003-10-26  Gunther Nikl  <gni@gecko.de>
4200169689Skan
4201169689Skan	* config/m68k/m68k.c (m68k_compute_frame_layout): Ensure FPU related
4202169689Skan	frame information is always valid.
4203169689Skan	(m68k_output_function_prologue): Remove superfluous TARGET_68881
4204169689Skan	test; fix formatting.
4205169689Skan
4206169689Skan2003-10-26  Gunther Nikl  <gni@gecko.de>
4207169689Skan
4208169689Skan	* config/m68k/m68k.c (m68k_compute_frame_layout): Swap reg_mask and
4209169689Skan	reg_rev_mask computation.
4210169689Skan	(m68k_output_function_prologue): Fix usage of current_frame (one typo
4211169689Skan	and one missing); use reg_rev_mask not reg_mask.
4212169689Skan	(m68k_output_function_epilogue): Fix usage of current_frame;
4213169689Skan	use fpu_rev_mask not fpu_mask.
4214169689Skan
4215169689Skan2003-10-26  Bernardo Innocenti  <bernie@develer.com>
4216169689Skan
4217169689Skan	* config/m68k/m68k.c (m68k_output_function_prologue): Eliminate
4218169689Skan	num_saved_regs, use current_frame.reg_no instead.
4219169689Skan
4220169689Skan2003-10-26  Bernardo Innocenti  <bernie@develer.com>
4221169689Skan	    Paul Dale  <pauli@snapgear.com>
4222169689Skan
4223169689Skan	* doc/extend.texi (interrupt_handler): Add m68k to the
4224169689Skan	list of processors implementing it.
4225169689Skan	* doc/invoke.texi (-msep-data): Document new m68k option.
4226169689Skan	(-mno-sep-data): Likewise.
4227169689Skan	(-mid-shared-library): Likewise.
4228169689Skan	(-mno-id-shared-library): Likewise.
4229169689Skan	(-mshared-library-id): Likewise.
4230169689Skan
4231169689Skan2003-10-26  Andreas Jaeger  <aj@suse.de>
4232169689Skan
4233169689Skan	* unwind-dw2.c (_Unwind_GetGR): Avoid warning about unsigned
4234169689Skan	comparison.
4235169689Skan	(_Unwind_SetGR): Likewise.
4236169689Skan
4237169689Skan2003-10-26  Ottavio Campana <ottavio@campana.vi.it>
4238169689Skan
4239169689Skan	PR target/12690
4240169689Skan	* config/i386/mmintrin.h (_mm_set1_pi8): Fix comment.
4241169689Skan
4242169689Skan2003-10-26  Gunther Nikl  <gni@gecko.de>
4243169689Skan
4244169689Skan	* config/m68k/m68k.c (m68k_output_function_prologue): Move front
4245169689Skan	comment from here to...
4246169689Skan	(m68k_save_reg): ...here. Fix comment formatting.
4247169689Skan	(m68k_output_function_prologue): Fix comment formatting.
4248169689Skan	(m68k_output_function_epilogue): Likewise.
4249169689Skan	(const_method): Likewise.
4250169689Skan
4251169689Skan2003-10-26  Kazu Hirata  <kazu@cs.umass.edu>
4252169689Skan
4253169689Skan	* toplev.c (default_get_pch_validity): Guard the use of
4254169689Skan	target_options with #ifdef TARGET_OPTIONS.
4255169689Skan	(default_pch_valid_p): Likewise.
4256169689Skan
4257169689Skan2003-10-26  Andreas Jaeger  <aj@suse.de>
4258169689Skan	    Zack Weinberg  <zack@codesourcery.com>
4259169689Skan	    Andreas Tobler <toa@pop.agri.ch>
4260169689Skan
4261169689Skan	* dwarf2out.c (output_cfi): Use HOST_WIDE_INT_PRINT.
4262169689Skan	(output_die): Likewise.
4263169689Skan	(print_die): Likewise.
4264169689Skan
4265169689Skan2003-10-26  Andreas Jaeger  <aj@suse.de>
4266169689Skan
4267169689Skan	* tree.h (dwarf2out_def_cfa, dwarf2out_args_size,
4268169689Skan	dwarf2out_reg_save, new_loc_descr): Update prototypes for recent
4269169689Skan	dwarf2out.c change.
4270169689Skan
4271169689Skan	* toplev.c (default_pch_valid_p): Fix warning.
4272169689Skan
4273169689Skan2003-10-25  Roger Sayle  <roger@eyesopen.com>
4274169689Skan
4275169689Skan	* simplify-rtx.c (simplify_replace_rtx): Avoid allocating duplicate
4276169689Skan	RTL nodes.  If an operator's operands are unchanged, return the
4277169689Skan	original argument unchanged.
4278169689Skan
4279169689Skan2003-10-26  Graham Stott  <graham.stott@btinternet.com>
4280169689Skan
4281169689Skan	Fix bootstrap failure.
4282169689Skan	* expmed.c (store_bit_field): Don't compare bitsize against
4283169689Skan	modes with zero bit-size.
4284169689Skan
4285169689Skan	(extract_bit_field): Likewise
4286169689Skan
4287169689Skan2003-10-25  Jan Hubicka  <jh@suse.cz>
4288169689Skan
4289169689Skan	* dwarf2out.c (dw_cfi_oprnd_struct): Offset is HOST_WIDE_INT.
4290169689Skan	(cfa_loc): Likewise.
4291169689Skan	(reg_save, stack_adjust_offset, queue_reg_save): Replace long by
4292169689Skan	HOST_WIDE_INT.
4293169689Skan	(args_size, old_args_size): change type to HOST_WIDE_INT.
4294169689Skan	(dwarf2out_def_cfa, dwarf2out_args_size,
4295169689Skan	dwarf2out_reg_save, new_loc_descr): offset is HOST_WIDE_INT.
4296169689Skan	(dw_val_struct): integers, unsigneds and offsets are HOST_WIDE_INT.
4297169689Skan	(add_AT_int, add_AT_unsigned, att_AT_offset, AT_int, AT_unsigned,
4298169689Skan	AT_offset): Use HOST_WIDE_INT.
4299169689Skan	(based_loc_descr): offset is HOST_WIDE_INT.
4300169689Skan	(add_data_member): Likewise.
4301169689Skan	(add_const_value_attribute): Simplify.
4302169689Skan
4303169689Skan2003-10-25  Richard Henderson  <rth@redhat.com>
4304169689Skan
4305169689Skan	* config/i386/i386.c (ix86_eax_live_at_start_p): New.
4306169689Skan	(ix86_expand_prologue): Save and restore eax around stack probe
4307169689Skan	if it's live.
4308169689Skan
4309169689Skan2003-10-25  Jan Hubicka  <jh@suse.cz>
4310169689Skan
4311169689Skan	* cppcharset.c (one_utf8_to_utf32): Initialize 's' to silence warning.
4312169689Skan
4313169689Skan2003-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
4314169689Skan
4315169689Skan	PR target/12712
4316169689Skan	* reg-stack.c (convert_regs_1): Create an arbitrary input stack
4317169689Skan	if the block has no predecessors.
4318169689Skan	(convert_regs_2): Document the problem with successors whose
4319169689Skan	only predecessor is the block to be processed.
4320169689Skan	(convert_regs): Don't create the arbitrary input stack here.
4321169689Skan
4322169689Skan2003-10-24  Zack Weinberg  <zack@codesourcery.com>
4323169689Skan
4324169689Skan	* genmodes.c (struct mode_data): Add contained and next_cont
4325169689Skan	fields.
4326169689Skan	(complete_mode): Maintain linked list of modes that have a
4327169689Skan	given component.
4328169689Skan	(emit_mode_unit_size): Delete.
4329169689Skan	(emit_mode_nunits): New.
4330169689Skan	(emit_insn_modes_c): Update to match.
4331169689Skan	(emit_mode_adjustments): Propagate size and alignment
4332169689Skan	adjustments from component modes to their containers.
4333169689Skan	* machmode.h (mode_unit_size): Delete.
4334169689Skan	(mode_nunits): New.
4335169689Skan	(GET_MODE_NUNITS): Just return the value in the table.
4336169689Skan	(GET_MODE_UNIT_SIZE): Compute using GET_MODE_INNER and
4337169689Skan	GET_MODE_SIZE.
4338169689Skan	* expmed.c (store_bit_field, extract_bit_field): Can use a
4339169689Skan	plain move instruction if bitsize >= GET_MODE_BITSIZE of
4340169689Skan	destination/source mode, respectively.
4341169689Skan	* varasm.c (assemble_real): Write out the full size of the
4342169689Skan	constant, not just its bitsize.
4343169689Skan	(output_constant): Honor TYPE_MODE of TREE_REAL_CSTs.
4344169689Skan
4345169689Skan	* config/ia64/ia64-modes.def: Define XFmode as well as TFmode.
4346169689Skan	Use ADJUST_BYTESIZE and ADJUST_ALIGNMENT to set size and
4347169689Skan	alignment of XF and TF modes in compliance with ia64 ABIs.
4348169689Skan	Can now hardwire the format of both modes.
4349169689Skan	* config/ia64/ia64.c: Change TFmode to XFmode wherever appropriate.
4350169689Skan	(general_tfmode_operand, destination_tfmode_operand)
4351169689Skan	(tfreg_or_fp01_operand, spill_tfmode_operand): Rename to
4352169689Skan	general_xfmode_operand, destination_xfmode_operand,
4353169689Skan	xfreg_or_fp01_operand, spill_xfmode_operand respectively.
4354169689Skan	(ia64_init_builtins): Make TYPE_PRECISION of fpreg_type
4355169689Skan	and float80_type be 96 so they get XFmode.  Use !TARGET_HPUX,
4356169689Skan	not INTEL_EXTENDED_IEEE_FORMAT, to decide how to define
4357169689Skan	__float128.
4358169689Skan	* config/ia64/ia64.h: Default TARGET_HPUX to 0.
4359169689Skan	Change TFmode to XFmode wherever appropriate.  Remove all
4360169689Skan	references to INTEL_EXTENDED_IEEE_FORMAT.
4361169689Skan	(LONG_DOUBLE_TYPE_SIZE): Varies with TARGET_HPUX.
4362169689Skan	(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define (always 96).
4363169689Skan	(PREDICATE_CODES): Update to match function renames.
4364169689Skan	* config/ia64/ia64.md: Change TF to XF throughout; rename all
4365169689Skan	patterns to match.  Remove all references to
4366169689Skan	INTEL_EXTENDED_IEEE_FORMAT.  Update predicate calls to match
4367169689Skan	function renames.
4368169689Skan	* config/ia64/ia64-protos.c: Update all prototypes to match
4369169689Skan	renamed functions.
4370169689Skan	* config/ia64/hpux.h: Redefine TARGET_HPUX to 1.
4371169689Skan	Remove all references to INTEL_EXTENDED_IEEE_FORMAT.
4372169689Skan	* config/ia64/lib1funcs.asm: Add __divxf3 as new name for
4373169689Skan	__divtf3; keep old name for backward compatibility.
4374169689Skan	(L__compat): New section providing forwarding stubs for
4375169689Skan	__fixtfti, __fixunstfti, __floattitf.
4376169689Skan	* config/ia64/t-ia64: Add __compat to LIB1ASMFUNCS.
4377169689Skan
4378169689Skan2003-10-24  Geoffrey Keating  <geoffk@apple.com>
4379169689Skan
4380169689Skan	PR 10757
4381169689Skan	* c-pch.c: Include target.h.  Improve comments.
4382169689Skan	(struct c_pch_validity): Add target_data_length.
4383169689Skan	(pch_init): Add target's validity data.
4384169689Skan	(c_common_valid_pch): Check target's validity data.
4385169689Skan	* target-def.h (TARGET_GET_PCH_VALIDITY): New.
4386169689Skan	(TARGET_PCH_VALID_P): New.
4387169689Skan	(TARGET_INITIALIZER): Add new fields.
4388169689Skan	* target.h: Include tm.h.
4389169689Skan	(struct gcc_target): Add get_pch_validity, pch_valid_p.
4390169689Skan	* toplev.h (default_get_pch_validity): New prototype.
4391169689Skan	(default_pch_valid_p): New prototype.
4392169689Skan	* toplev.c (default_get_pch_validity): New routine.
4393169689Skan	(default_pch_valid_p): New routine.
4394169689Skan	* Makefile.in (TARGET_H): Add TM_H.  Replace all users of
4395169689Skan	target.h with $(TARGET_H).
4396169689Skan	(c-pch.o): Add TARGET_H.
4397169689Skan	* doc/tm.texi (PCH Target): New node.
4398169689Skan	(TARGET_GET_PCH_VALIDITY): Document.
4399169689Skan	(TARGET_PCH_VALID_P): Document.
4400169689Skan
4401169689Skan2003-10-24  Kelley Cook  <kcook@gcc.gnu.org>
4402169689Skan
4403169689Skan	* Makefile.in: Define a vpath for %.texi.  Remove explicit $(docdir)
4404169689Skan	and $(docdir)/include from any *.texi dependencies.
4405169689Skan	($(docobjdir)/%.dvi): Depend on stmp-docobjdir.
4406169689Skan	($(docobjdir)/%.1): Depend on .pod instead of .texi.
4407169689Skan	($(docobjdir)/%.7): Likewise.
4408169689Skan	(%.pod): New implicit rule.
4409169689Skan	(cpp.pod): New dependency only rule.
4410169689Skan	(gcc.pod): New intermediate rule with dependencies and commands.
4411169689Skan	(gfdl.pod): Likewise.
4412169689Skan	(fsf-funding.pod): Likewise.
4413169689Skan
4414169689Skan2003-10-24  Nathanael Nerode  <neroden@gcc.gnu.org>
4415169689Skan
4416169689Skan	* fixinc/mkfixinc.sh: Remove special cases for svr4 and ptx, and
4417169689Skan	related code.
4418169689Skan	* fixinc/fixinc.ptx: Remove.
4419169689Skan	* fixinc/fixinc.svr4: Remove.
4420169689Skan
4421169689Skan2003-10-24  Ulrich Weigand  <uweigand@de.ibm.com>
4422169689Skan
4423169689Skan	* config/s390/s390.c (load_multiple_operation): Allow both SImode
4424169689Skan	and DImode if word_mode is DImode.
4425169689Skan	(store_multiple_operation): Likewise.
4426169689Skan	* config/s390/s390.md ("load_multiple", "store_multiple"): Likewise.
4427169689Skan	("*load_multiple_di"): Allow only if word_mode == DImode.
4428169689Skan	("movqi"): Use LLGC whenever TARGET_ZARCH.
4429169689Skan	("fix_truncdfsi2"): Fix incorrect temporary size.
4430169689Skan	("fix_truncsfsi2"): Likewise.
4431169689Skan	("*bras_r", "*brasl_r", "*basr_r"): Remove predicate and constraint
4432169689Skan	string for function return value operand.
4433169689Skan	("*bras_tls", "*brasl_tls", "*basr_tls"): Likewise.
4434169689Skan
4435169689Skan2003-10-24  Joseph S. Myers  <jsm@polyomino.org.uk>
4436169689Skan
4437169689Skan	* c-parse.in (array_declarator): Use expr_no_commas.
4438169689Skan	Fixes PR c/11943.
4439169689Skan
4440169689Skan2003-10-24  Richard Sandiford  <rsandifo@redhat.com>
4441169689Skan
4442169689Skan	* config/mips/linux.h: Wrap MD_FALLBACK_FRAME_STATE_FOR and
4443169689Skan	associated includes in #ifndef inhibit_libc.
4444169689Skan
4445169689Skan2003-10-24  Roger Sayle  <roger@eyesopen.com>
4446169689Skan
4447169689Skan	* doc/libgcc.texi: Document some more of the libgcc API.
4448169689Skan
4449169689Skan2003-10-24  Richard Earnshaw  <rearnsha@arm.com>
4450169689Skan
4451169689Skan	* arm.c (arm_rtx_costs_1, case TARGET_THUMB): Adjust costs for
4452169689Skan	comparing a constant with small negative numbers and add costing
4453169689Skan	for constants in conjunction with AND.
4454169689Skan	(note_invalid_constants): Tidy previous change.
4455169689Skan	(thumb_cmp_operand): Tidy.
4456169689Skan	(thumb_cmpneg_operand): New function.
4457169689Skan	* arm.h (CONDITIONAL_REGISTER_USAGE): Don't use HI regs if optimizing
4458169689Skan	for size.
4459169689Skan	(FIRST_LO_REGNUM, FIRST_HI_REGNUM, LAST_HI_REGNUM): Define.
4460169689Skan	(PREDICATE_CODES): Add thumb_cmpneg_operand.
4461169689Skan	* arm.md (cbranchsi4): Convert to define_expand.  Handle comparison
4462169689Skan	with a negative constant.
4463169689Skan	(cbranchsi4_insn): Matcher for cbranchsi4.
4464169689Skan	(cbranchsi4_scratch): Similar, but a scratch is available for
4465169689Skan	handling negative constants.
4466169689Skan	(movsi_cbranchsi4): New pattern.
4467169689Skan	(tstsi3_cbranch): Renamed from andsi3_cbranch_scratch, remove scratch
4468169689Skan	and use the TST instruction.
4469169689Skan	(andsi3_cbranch, orrsi3_cbranch, xorsi3_cbranch, cbranchne_decr1)
4470169689Skan	(addsi3_cbranch, subsi3_cbranch): Ensure that register preferencing
4471169689Skan	cannot see high regs or memory alternatives.
4472169689Skan	(bicsi3_cbranch_scratch, bicsi3_cbranch): New patterns.
4473169689Skan
4474169689Skan2003-10-24  Richard Earnshaw  <rearnsha@arm.com>
4475169689Skan
4476169689Skan	* arm.c (note_invalid_constants): Try to extract the constant
4477169689Skan	pool value using avoid_constant_pool_reference; only use
4478169689Skan	get_pool_constant if that returns the original reference.
4479169689Skan
4480169689Skan2003-10-24  Jan Hubicka  <jh@suse.cz>
4481169689Skan
4482169689Skan	PR c++/12624
4483169689Skan	* varasm.c (notice_global_symbol): Disqualify global registers.
4484169689Skan
4485169689Skan2003-10-23  Roger Sayle  <roger@eyesopen.com>
4486169689Skan
4487169689Skan	PR middle-end/11414
4488169689Skan	* loop.c (load_mems): Use redirect_jump to forward jumps from
4489169689Skan	the original loop end label to the new "loop sink" block's label.
4490169689Skan
4491169689Skan2003-10-23  Roger Sayle  <roger@eyesopen.com>
4492169689Skan
4493169689Skan	PR middle-end/12705
4494169689Skan	* optabs.c (expand_binop): When expanding complex operations
4495169689Skan	inline, always calculate result into a new temporary register.
4496169689Skan	Minor code clean-ups.
4497169689Skan
4498169689Skan2003-10-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4499169689Skan
4500169689Skan	* objc/lang-specs.h: Handle -print-objc-runtime-info.
4501169689Skan	* doc/invoke.texi (Objective-C Dialect Options): Document it.
4502169689Skan
4503169689Skan2003-10-24  Danny Smith  <dannysmith@users.sourceforge.net>
4504169689Skan
4505169689Skan	* config/i386/cygwin.asm: Add copyright notice. Add comment
4506169689Skan	on why this code is needed.
4507169689Skan
4508169689Skan2003-10-23  Kazu Hirata  <kazu@cs.umass.edu>
4509169689Skan
4510169689Skan	* config/h8300/clzhi2.c: Fix warnings.
4511169689Skan	* config/h8300/ctzhi2.c: Likewise.
4512169689Skan	* config/h8300/fixunssfsi.c: Likewise.
4513169689Skan	* config/h8300/parityhi2.c: Likewise.
4514169689Skan	* config/h8300/popcounthi2.c: Likewise.
4515169689Skan
4516169689Skan2003-10-23  James E Wilson  <wilson@specifixinc.com>
4517169689Skan
4518169689Skan	* gcc.c (option_map): Delete --target and --use-version.
4519169689Skan
4520169689Skan2003-10-23  Fariborz Jahanian  <fjahanian@apple.com>
4521169689Skan	    David Edelsohn  <edelsohn@gnu.org>
4522169689Skan
4523169689Skan	* config/rs6000/rs6000.h (UNITS_PER_WORD): Use TARGET_32BIT, not
4524169689Skan	TARGET_POWREPC64.
4525169689Skan	(UNITS_PER_GPR_WORD): Define.
4526169689Skan	(HARD_REGNO_NREGS): Use UNITS_PER_GPR_WORD.
4527169689Skan	(HARD_REGNO_CALL_PART_CLOBBERED): Define.
4528169689Skan	(HARD_REGNO_MODE_OK): Use UNITS_PER_GPR_WORD.
4529169689Skan	(CLASS_MAX_NREGS): Use UNITS_PER_GPR_WORD.
4530169689Skan	* config/rs6000/rs6000.c (function_arg): Generate PARALLEL for
4531169689Skan	DFmode and DImode in 32-bit ABI / 64-bit computation mode.
4532169689Skan	(rs6000_emit_prologue): Select reg_mode and reg_size using
4533169689Skan	TARGET_32BIT, not TARGET_POWERPC64.
4534169689Skan	(rs6000_function_value): Generate PARALLEL for DImode in 32-bit
4535169689Skan	ABI / 64-bit computation mode
4536169689Skan
4537169689Skan2003-10-22  Andrew Haley  <aph@redhat.com>
4538169689Skan
4539169689Skan	* toplev.c (output_file_directive): Allow for null input_name.
4540169689Skan
4541169689Skan2003-10-22  Waldek Hebisch <hebisch@math.uni.wroc.pl>
4542169689Skan
4543169689Skan	* config/i386/i386.c (classify_argument): Handle SET_TYPE.
4544169689Skan
4545169689Skan2003-10-22  Chris Demetriou  <cgd@broadcom.com>
4546169689Skan
4547169689Skan	* configure.in: In --enable-generated-files-in-srcdir option
4548169689Skan	handling, fix default case handling.
4549169689Skan	* configure: Regenerate.
4550169689Skan
4551169689Skan2003-10-22  Phil Edwards  <phil@codesourcery.com>
4552169689Skan
4553169689Skan	* config.gcc:  Update *-*-vxworks* generic hook and comments.
4554169689Skan	(arm-wrs-vxworks, i[4567]86-wrs-vxworks, mips-wrs-vxworks,
4555169689Skan	mips-wrs-windiss, sh-wrs-vxworks):  New stanzas.
4556169689Skan	* genmultilib:  Allow the MULTILIB_OSDIRNAMES to be mapped directly.
4557169689Skan	* config/svr4.h (SWITCH_TAKES_ARG):  Undefine it before redefining it.
4558169689Skan	* config/windiss.h:  New file.
4559169689Skan	* config/arm/t-vxworks:  New file.
4560169689Skan	* config/arm/vxworks.h:  New file.
4561169689Skan	* config/i386/t-vxworks:  New file.
4562169689Skan	* config/i386/vxworks.h:  New file.
4563169689Skan	* config/mips/t-vxworks:  New file.
4564169689Skan	* config/mips/vxworks.h:  New file.
4565169689Skan	* config/mips/windiss.h:  New file.
4566169689Skan	* config/sh/t-vxworks:  New file.
4567169689Skan	* config/sh/vxworks.h:  New file.
4568169689Skan
4569169689Skan2003-10-22  Kazu Hirata  <kazu@cs.umass.edu>
4570169689Skan
4571169689Skan	* config/h8300/h8300.c (h8300_output_function_epilogue): Remove.
4572169689Skan	(h8300_saveall_function_p): New.
4573169689Skan	(h8300_insert_attributes): Insert the saveall attribute if
4574169689Skan	#pragma saveall is specified.
4575169689Skan	(h8300_attribute_table): Add saveall.
4576169689Skan	(TARGET_ASM_FUNCTION_EPILOGUE): Remove.
4577169689Skan	* doc/extend.texi: Mention the saveall attribute.
4578169689Skan
4579169689Skan2003-10-22  Joseph S. Myers  <jsm@polyomino.org.uk>
4580169689Skan
4581169689Skan	* c-typeck.c (pedantic_lvalue_warning): Unconditionally warn of
4582169689Skan	deprecation of casts as lvalues.
4583169689Skan	* fixinc/inclhack.def (obstack_lvalue_cast): New fix.
4584169689Skan	* fixinc/fixincl.x: Regenerate.
4585169689Skan	* fixinc/tests/base/obstack.h: New test.
4586169689Skan
4587169689Skan2003-10-22  Andreas Schwab  <schwab@suse.de>
4588169689Skan
4589169689Skan	PR target/12676
4590169689Skan	* config/m68k/m68k.c (output_addsi3): Fix range check to work on
4591169689Skan	LP64 platforms.
4592169689Skan
4593169689Skan2003-10-22  Jan Hubicka  <jh@suse.cz>
4594169689Skan
4595169689Skan	* dwarf2out.c (dwarf2out_abstract_function): Use DW_AT to check
4596169689Skan	presence of DW_AT_inline.
4597169689Skan	(gen_subprogram_die): Likewise; do not abort instead of emitting
4598169689Skan	DW_AT_not_inline.
4599169689Skan
4600169689Skan2003-10-22  Jan Hubicka  <jh@suse.cz>
4601169689Skan
4602169689Skan	* cgraph.c (cgraph_function_possibly_inlined_p): Be conservative when
4603169689Skan	global info is not ready.
4604169689Skan
4605169689Skan2003-10-22  Kazu Hirata  <kazu@cs.umass.edu>
4606169689Skan
4607169689Skan	* doc/extend.texi: Mention H8S wherever H8/300H is mentioned.
4608169689Skan
4609169689Skan2003-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
4610169689Skan
4611169689Skan	* config/s390/s390.md ("movstr_short_64", "movstr_short_31"): Merge ...
4612169689Skan	("*movstr_short"): ... into this insn pattern.
4613169689Skan	("movstr_short"): New expander.
4614169689Skan	("*movstr_long_64"): Rename from "movstr_long_64", simplify.
4615169689Skan	("*movstr_long_31"): Rename from "movstr_long_31", simplify.
4616169689Skan	("movstr_long"): New expander.
4617169689Skan	("clrstr_short_64", "clrstr_short_31"): Merge ...
4618169689Skan	("*clrstr_short"): ... into this insn pattern.
4619169689Skan	("clrstr_short"): New expander.
4620169689Skan	("*clrstr_long_64"): Rename from "clrstr_long_64", simplify.
4621169689Skan	("*clrstr_long_31"): Rename from "clrstr_long_31", simplify.
4622169689Skan	("clrstr_long"): New expander.
4623169689Skan	("cmpmem_short_64", "cmpmem_short_31"): Merge ...
4624169689Skan	("*cmpmem_short"): ... into this insn pattern.
4625169689Skan	("cmpmem_short"): New expander.
4626169689Skan	("*cmpmem_long_64"): Rename from "cmpmem_long_64".
4627169689Skan	("*cmpmem_long_31"): Rename from "cmpmem_long_31".
4628169689Skan	("cmpmem_long"): New expander.
4629169689Skan	* config/s390/s390.c (s390_expand_movstr): Use new expanders.
4630169689Skan	(s390_expand_clrstr): Likewise.
4631169689Skan	(s390_expand_cmpmem): Likewise.
4632169689Skan
4633169689Skan2003-10-22  Mark Mitchell  <mark@codesourcery.com>
4634169689Skan
4635169689Skan	* c-pch.c (struct c_pch_validity): Add pch_init field.
4636169689Skan	(pch_init): Set it.
4637169689Skan	(c_common_valid_pch): Check it.
4638169689Skan
4639169689Skan2003-10-22  David Taylor <dtaylor@emc.com>
4640169689Skan
4641169689Skan	PR debug/12500
4642169689Skan	* dbxout.c (dbxout_typedefs): Use COMPLETE_OR_VOID_TYPE_P.
4643169689Skan
4644169689Skan2003-10-22  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4645169689Skan
4646169689Skan	* config/alpha/alpha.c (function_value [ENABLE_CHECKING]): Don't call
4647169689Skan	alpha_return_in_memory if no VALTYPE specified.
4648169689Skan
4649169689Skan2003-10-22  Jan Hubicka  <jh@suse.cz>
4650169689Skan
4651169689Skan	PR debug/12389
4652169689Skan	* Makefile.in (dwarf2out.o): Depend on cgraph.h.
4653169689Skan	* cgraph.c (cgraph_function_possibly_inlined_p): New function.
4654169689Skan	* cgraph.h (cgraph_function_possibly_inlined_p): Declare.
4655169689Skan	(cgraph_global_info): Add flag inlined
4656169689Skan	* dwarf2out.c (gen_subprogram_die, gen_decl_die): Use
4657169689Skan	cgraph_function_possibly_inded_p
4658169689Skan	* cgraphunit.c (mark_inline): Set inlined flag.
4659169689Skan	* toplev.c (rest_of_decl_compilation): Call outlining_inline_function
4660169689Skan	only for possibly inlined functions.
4661169689Skan	* c-decl.c (duplicate_decls): Never output abstract DIE representing old
4662169689Skan	body of function.
4663169689Skan
4664169689Skan2003-10-22  Andrew Haley  <aph@redhat.com>
4665169689Skan
4666169689Skan	* varasm.c (output_constructor): Make constructor annotation
4667169689Skan	conditional on ASM_COMMENT_START.
4668169689Skan
4669169689Skan2003-10-21  Jason Merrill  <jason@redhat.com>
4670169689Skan
4671169689Skan	* tree.c (get_unwidened): Check TREE_UNSIGNED on the field's type.
4672169689Skan	(get_narrower): Likewise.
4673169689Skan
4674169689Skan	* stor-layout.c (layout_decl): Do packed field alignment for
4675169689Skan	bit-fields, too.
4676169689Skan
4677169689Skan2003-10-21  Eric Christopher  <echristo@redhat.com>
4678169689Skan
4679169689Skan	* expr.c (convert_move): Use FLOAT_EXTEND for extensions.
4680169689Skan
4681169689Skan2003-10-21  Geoffrey Keating  <geoffk@apple.com>
4682169689Skan
4683169689Skan	* c-pch.c: Add comments in various places.
4684169689Skan	(struct c_pch_validity): Add the lengths of various strings.
4685169689Skan	(host_machine): New static.
4686169689Skan	(target_machine): New static.
4687169689Skan	(get_ident): Bump version number.
4688169689Skan	(pch_init): Write out version, host, target validity data.
4689169689Skan	(c_common_valid_pch): Check version, host, target.
4690169689Skan	* Makefile.in (c-pch.o): Add version.h; define HOST_MACHINE and
4691169689Skan	TARGET_MACHINE.
4692169689Skan
4693169689Skan2003-10-21  Jason Merrill  <jason@redhat.com>
4694169689Skan
4695169689Skan	* tree.h (IS_EXPR_CODE_CLASS): Use strchr.
4696169689Skan	(EXPR_P): New macro.
4697169689Skan
4698169689Skan2003-10-21  Zack Weinberg  <zack@codesourcery.com>
4699169689Skan
4700169689Skan	* config/ia64/ia64.md (cmpxchg_acq_si): Mark operand 3 as DImode.
4701169689Skan	* config/ia64/ia64.c (ia64_expand_fetch_and_op,
4702169689Skan	ia64_expand_op_and_fetch): Make sure the REG for ar.ccv is
4703169689Skan	DImode.   Use convert_move to load ar.ccv.
4704169689Skan	(ia64_expand_compare_and_swap): Likewise.
4705169689Skan	If expand_expr doesn't put 'old' and 'new' in the proper
4706169689Skan	modes, run them through convert_to_mode.
4707169689Skan
4708169689Skan2003-10-21  Eric Christopher  <echristo@redhat.com>
4709169689Skan
4710169689Skan	* config/frv/frv.c (frv_adjust_field_align): Check DECL_ARTIFICIAL
4711169689Skan	for too large bitfields.
4712169689Skan
4713169689Skan2003-10-21  Mark Mitchell  <mark@codesourcery.com>
4714169689Skan
4715169689Skan	* Makefile.in ($(docobjdir)/%.info): Honor BUILD_INFO.
4716169689Skan
4717169689Skan2003-10-21  Andrew Haley  <aph@redhat.com>
4718169689Skan
4719169689Skan	* varasm.c (output_constructor): Annotate constructor.
4720169689Skan
4721169689Skan2003-10-21  Mark Mitchell  <mark@codesourcery.com>
4722169689Skan
4723169689Skan	* Makefile.in ($(DESTDIR)$(infodir)/%.info): Conditionalize chmod
4724169689Skan	on existence of destination file.
4725169689Skan
4726169689Skan2003-10-21  Jan Hubicka  <jh@suse.cz>
4727169689Skan
4728169689Skan	* haifa-sched.c (choose_ready): Initialize index.
4729169689Skan
4730169689Skan2003-10-21  Jason Merrill  <jason@redhat.com>
4731169689Skan
4732169689Skan	* tree.c (build1): Fix off-by-one error.
4733169689Skan
4734169689Skan2003-10-21  Robert Millan  <robertmh@gnu.org>
4735169689Skan
4736169689Skan	* config/i386/kfreebsdgnu.h: New. i386-*-kfreebsd-gnu definitions.
4737169689Skan	* config/kfreebsdgnu.h: New. *-*-kfreebsd-gnu definitions.
4738169689Skan	* config/t-kfreebsd-gnu: New. *-*-kfreebsd-gnu tmake_file.
4739169689Skan	* config.gcc: Add *-*-kfreebsd*-gnu and i[34567]86-*-kfreebsd*-gnu.
4740169689Skan
4741169689Skan2003-10-21  Eric Botcazou  <ebotcazou@libertysurf.fr>
4742169689Skan
4743169689Skan	* web.c: Fix various comments.
4744169689Skan
4745169689Skan2003-10-20  Nicolas Pitre <nico@cam.org>
4746169689Skan
4747169689Skan	* config/arm/arm.c (arm_override_options): Set arm_constant_limit
4748169689Skan	to 2 instead of 1 when optimize_size is true.  Gather code based on
4749169689Skan	optimize_size together.  Add comment about XScale load latency.
4750169689Skan
4751169689Skan2003-10-21  Gunther Nikl  <gni@gecko.de>
4752169689Skan
4753169689Skan	* config/m68k/m68k.c (m68k_output_function_prologue): Remove
4754169689Skan	obsolete comments.
4755169689Skan
4756169689Skan2003-10-20  Kelley Cook  <kcook@gcc.gnu.org>
4757169689Skan
4758169689Skan	* Makefile.in: Get parsedir and docobjdir from configure.
4759169689Skan	* configure.in: Recogonize --enable-generated-files-in-srcdir.
4760169689Skan	Pass along parsedir and docobjdir.
4761169689Skan	* configure: Regenerate.
4762169689Skan	* doc/install.texi: Document --enable-generated-files-in-srcdir.
4763169689Skan
4764169689Skan2003-10-20  Kelley Cook  <kcook@gcc.gnu.org>
4765169689Skan
4766169689Skan	* Makefile.in: Define $(docdir) before the Make-lang.in fragments are
4767169689Skan	included.
4768169689Skan
4769169689Skan2003-10-20  Joseph S. Myers  <jsm@polyomino.org.uk>
4770169689Skan
4771169689Skan	* c-common.c (expand_tree_builtin): Ensure creal and cimag
4772169689Skan	functions do not return lvalues.
4773169689Skan
4774169689Skan2003-10-20  Jason Merrill  <jason@redhat.com>
4775169689Skan
4776169689Skan	PR c/12553
4777169689Skan	* tree.c (build1) <ADDR_EXPR>: Set TREE_SIDE_EFFECTS
4778169689Skan	appropriately.
4779169689Skan
4780169689Skan	PR c/11446
4781169689Skan	* stor-layout.c (layout_decl): Fix alignment handling.
4782169689Skan
4783169689Skan2003-10-20  Joseph S. Myers  <jsm@polyomino.org.uk>
4784169689Skan
4785169689Skan	* doc/extend.texi: Deprecate casts as lvalues.
4786169689Skan
4787169689Skan2003-10-20  Jan Hubicka  <jh@suse.cz>
4788169689Skan
4789169689Skan	* toplev.c (rest_of_compilation): Fix webizer pass ordering.
4790169689Skan
4791169689Skan	* cgraphunit.c (decide_is_function_needed):  Fix test dealing
4792169689Skan	with functions implicitly made inline.
4793169689Skan
4794169689Skan	* cgraphunit.c (cgraph_decide_inlining_incrementally):  New function.
4795169689Skan	(cgraph_finalize_function): Use it.
4796169689Skan	(cgraph_mark_inline): Allow incrmental decisions
4797169689Skan	* invoke.texi (max-inline-slope, min-inline-insns): Kill.
4798169689Skan	* params.def (PARAM_MAX_INLINE_SLOPE, PARAM_MIN_INLINE_INSNS): Kill.
4799169689Skan	* tree-inline.c (limits_allow_inlining): Kill.
4800169689Skan	(expand_call_inline): Always use unit-at-a-time path.
4801169689Skan
4802169689Skan2003-10-20  Zack Weinberg  <zack@codesourcery.com>
4803169689Skan
4804169689Skan	* fixinc/inclhack.def (hpux11_snprintf): New edit.
4805169689Skan	* fixinc/fixincl.x: Regenerate.
4806169689Skan	* fixinc/tests/base/stdio.h: Add test for hpux11_snprintf.
4807169689Skan
4808169689Skan2003-10-20  Mark Mitchell  <mark@codesourcery.com>
4809169689Skan
4810169689Skan	* Makefile.in (install-info): Simplify.
4811169689Skan	($(DESTDIR)$(infodir)/%.info): New rule.
4812169689Skan	* configure.in (target_list): Remove install-info.
4813169689Skan	* doc/.cvsignore (gcc.info*): Remove.
4814169689Skan	(gccint.info*): Likewise.
4815169689Skan	(gccinstall.info*): Likewise.
4816169689Skan	(cpp.info*): Likewise.
4817169689Skan	(cppinternals.info*): Likewise.
4818169689Skan	(*.info*): Add it.
4819169689Skan	* doc/sourcebuild.texi: Update description of install-info.
4820169689Skan	* objc/Make-lang.in (objc.install-info): Remove.
4821169689Skan
4822169689Skan2003-10-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4823169689Skan
4824169689Skan	* config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Define _ABIO32.
4825169689Skan	Use it in _MIPS_SIM definition.
4826169689Skan	* config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Likewise.
4827169689Skan
4828169689Skan2003-10-20  Zack Weinberg  <zack@codesourcery.com>
4829169689Skan
4830169689Skan	* config/i386/i386.c (print_reg): Abort if REGNO (x) is a
4831169689Skan	virtual register, but only if file == asm_out_file.
4832169689Skan	* config/i386/i386.h (HI_REGISTER_NAMES): Use "argp", not "",
4833169689Skan	for ARG_POINTER_REGNUM.
4834169689Skan
4835169689Skan2003-10-20  Zack Weinberg  <zack@codesourcery.com>
4836169689Skan
4837169689Skan	* c-common.c (registered_builtin_types): New static.
4838169689Skan	(c_common_type_for_mode): Consult registered_builtin_types.
4839169689Skan	(c_register_builtin_type): Add type to registered_builtin_types.
4840169689Skan	* optabs.c (init_floating_libfuncs): Initialize libfuncs for
4841169689Skan	all MODE_FLOAT modes, not just the ones corresponding to
4842169689Skan	float_type_node, double_type_node, and long_double_type_node.
4843169689Skan
4844169689Skan2003-10-20  Richard Henderson  <rth@redhat.com>
4845169689Skan
4846169689Skan	* config/alpha/alpha.h (PREDICATE_CODES): Add normal_memory_operand.
4847169689Skan	* config/alpha/alpha-protos.h: Remove PREDICATE_CODES prototypes.
4848169689Skan
4849169689Skan2003-10-20  Dorit Naishlos  <dorit@il.ibm.com>
4850169689Skan
4851169689Skan	* config/rs6000/rs6000.h: (rs6000_sched_insert_nops):
4852169689Skan	support new flag -minsert-sched-nops.
4853169689Skan	(DEFAULT_SCHED_FINISH_NOP_INSERTION_SCHEME): Define.
4854169689Skan	* config/rs6000/rs6000.c: (rs6000_sched_insert_nops):
4855169689Skan	support new flag -minsert-sched-nops.
4856169689Skan	(is_cracked_insn, is_microcoded_insn): New functions.
4857169689Skan	(rs6000_sched_finish): New function.
4858169689Skan	(rs6000_issue_rate): Return 5 for power4.
4859169689Skan	(get_next_active_insn, insn_terminates_group_p): New
4860169689Skan	functions.
4861169689Skan	(is_costly_group, force_new_group): New functions.
4862169689Skan	(redefine_groups, pad_groups): New functions.
4863169689Skan	(rs6000_variable_issue): Use new functions.
4864169689Skan	* doc/invoke.texi (-minsert-sched-nops): Document new
4865169689Skan	option.
4866169689Skan
4867169689Skan2003-10-20  David S. Miller  <davem@redhat.com>
4868169689Skan
4869169689Skan	* config/sparc/sparc.md (type attribute): Add new insn types
4870169689Skan	fpa, fpm_pack, fgm_mul, fgm_pdist, and fgm_cmp for VIS.
4871169689Skan	(patterns emitting VIS insns): Use them.
4872169689Skan	* config/sparc/ultra1_2.md: Add VIS scheduling rules.
4873169689Skan	* config/sparc/ultra3.md: Likewise.
4874169689Skan
4875169689Skan2003-10-20  Falk Hueffner  <falk@debian.org>
4876169689Skan
4877169689Skan	PR target/12654
4878169689Skan	* config/alpha/alpha.c (alpha_emit_conditional_branch): Don't do
4879169689Skan	comparison against constant by adjusting the argument except for
4880169689Skan	EQ and NE.
4881169689Skan
4882169689Skan2003-10-19  Mark Mitchell  <mark@codesourcery.com>
4883169689Skan
4884169689Skan	* config.gcc: Add support for arm926ejs, arm1026ejs, arm1136js,
4885169689Skan	arm1136jfs, and armv6j.
4886169689Skan	* config/arm/arm.c (FL_ARCH6J): New macro.
4887169689Skan	(FL_VFPV2): Likewise.
4888169689Skan	(all_cores): Add entries for arm926ejs, arm1026ejs, arm1136js,
4889169689Skan	and arm1136jfs.
4890169689Skan	(all_architectures): Add entry for armv6j.
4891169689Skan	(arm_override_options): Add entries for arm926ejs, arm1026ejs,
4892169689Skan	arm1136js, and arm1136jfs.
4893169689Skan	* config/arm/arm.h (TARGET_CPU_arm926ej_s): New macro.
4894169689Skan	(TARGET_CPU_arm1026ej_s): Likewise.
4895169689Skan	(TARGET_CPU_arm1136j_s): Likewise.
4896169689Skan	(TARGET_CPU_arm1136jf_s): Likewise.
4897169689Skan	* doc/invoke.texi: Document new ARM cores and architecture
4898169689Skan	variants.
4899169689Skan
4900169689Skan2003-10-19  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
4901169689Skan
4902169689Skan	* Makefile.in (toplev.o): Add value-prof.h dependency.
4903169689Skan	(value-prof.o): Add REGS_H dependency.
4904169689Skan	* common.opt (fprofile-values, fvpt): New.
4905169689Skan	* flags.h (flag_value_profile_transformations): Declare.
4906169689Skan	* opts.c (common_handle_option): Handle -fprofile_values and
4907169689Skan	-fvpt.
4908169689Skan	* profile.c (branch_prob): Don't remove death notes here.
4909169689Skan	* timevar.def (TV_VPT): New.
4910169689Skan	* value-prof.c: Include regs.h.
4911169689Skan	(insn_divmod_values_to_profile, gen_divmod_fixed_value, gen_mod_pow2,
4912169689Skan	gen_mod_subtract, divmod_fixed_value_transform,mod_pow2_value_transform,
4913169689Skan	mod_subtract_transform, value_profile_transformations): New.
4914169689Skan	(insn_values_to_profile): Call insn_divmod_values_to_profile.
4915169689Skan	(find_values_to_profile): Add dumps.
4916169689Skan	* value-prof.h (value_profile_transformations): Declare.
4917169689Skan	* toplev.c: Include value-prof.h.
4918169689Skan	(rest_of_handle_value_profile_transformations): New.
4919169689Skan	(enum dump_file_index): Add DFI_vpt.
4920169689Skan	(dump_file): Add vpt dump.
4921169689Skan	(flag_value_profile_transformations): New.
4922169689Skan	(lang_independent_options): Add flag_profile_values and
4923169689Skan	flag_value_profile_transformations.
4924169689Skan	(rest_of_compilation): Call
4925169689Skan	rest_of_handle_value_profile_transformations.
4926169689Skan	(process_options): Let -fvpt imply -fprofile-values.
4927169689Skan	* doc/invoke.texi (-fvpt): Document.
4928169689Skan
4929169689Skan2003-10-19  Jan Hubicka  <jh@suse.cz>
4930169689Skan
4931169689Skan	* i386.c (print_reg): Do not abort on certain registers.
4932169689Skan
4933169689Skan	PR optimization/12612
4934169689Skan	* reg-stack.c (subst_stack_regs_pat):  Use st(1) for clobbers.
4935169689Skan	* i386.md (fpatan, fyl2x, fscale patterns and expanders): Use
4936169689Skan	match_scratch; avoid bogus paralles.
4937169689Skan
4938169689Skan	PR target/12674
4939169689Skan	* i386.c (ix86_function_regparm): Disable implicit register passing
4940169689Skan	conventions when profiling.
4941169689Skan
4942169689Skan2003-10-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
4943169689Skan	    Richard Henderson  <rth@redhat.com>
4944169689Skan
4945169689Skan	PR optimization/8178
4946169689Skan	* config/i386/i386.md (*movsi_zero): Delete.
4947169689Skan	(*ffs_no_cmove): Use ix86_expand_clear to zero the third operand.
4948169689Skan
4949169689Skan2003-10-19  Richard Henderson  <rth@redhat.com>
4950169689Skan
4951169689Skan	* config/alpha/alpha.c (fix_operator): New.
4952169689Skan	(divmod_operator): Tidy.
4953169689Skan	(alpha_emit_xfloating_cvt): Handle UNSIGNED_FIX.
4954169689Skan	* config/alpha/alpha.h (FIXUNS_TRUNC_LIKE_FIX_TRUNC): Remove.
4955169689Skan	(PREDICATE_CODES): Update.
4956169689Skan	* config/alpha/alpha.md (fix_truncdfsi_ieee): Use match_operator.
4957169689Skan	(fix_truncdfsi_internal, fix_truncdfdi_ieee): Likewise.
4958169689Skan	(fix_truncsfsi_ieee, fix_truncsfsi_internal): Likewise.
4959169689Skan	(fix_truncsfdi_ieee): Likewise.
4960169689Skan	(fix_truncdfdi2, fix_truncsfdi2): Turn into define_expand.
4961169689Skan	(fixuns_truncdfdi2, fixuns_truncsfdi2, fixuns_trunctfdi2): New.
4962169689Skan	* config/alpha/alpha-protos.h: Update.
4963169689Skan
4964169689Skan2003-10-19  Richard Sandiford  <rsandifo@redhat.com>
4965169689Skan
4966169689Skan	* config/mips/mips.h (INITIALIZE_TRAMPOLINE): Simplify.
4967169689Skan	* config/mips/mips.c (mips_load_got): Assume Pmode == ptr_mode.
4968169689Skan	* config/mips/mips.md (extendsidi2, *extendsidi2): Merge. Don't accept
4969169689Skan	constant operands.
4970169689Skan
4971169689Skan2003-10-18  Kazu Hirata  <kazu@cs.umass.edu>
4972169689Skan
4973169689Skan	* doc/extend.texi: Fix typos.
4974169689Skan	* doc/invoke.texi: Likewise.
4975169689Skan
4976169689Skan2003-10-18  Nicolas Pitre <nico@cam.org>
4977169689Skan
4978169689Skan	* config/arm/arm.c (arm_override_options): Use arm_tune_xscale for
4979169689Skan	XScale optimizations not arm_arch_xscale.
4980169689Skan	* config/arm/arm.h (CONSTANT_ALIGNMENT_FACTOR, MOVE_RATIO): Likewise.
4981169689Skan
4982169689Skan2003-10-18  Ulrich Weigand  <uweigand@de.ibm.com>
4983169689Skan
4984169689Skan	* config/s390/s390-protos.h (shift_count_operand): Add prototype.
4985169689Skan	* config/s390/s390.c (shift_count_operand): New function.
4986169689Skan	(s390_extra_constraint): Use it to implement 'Y' constraint.
4987169689Skan	(print_shift_count_operand): New function.
4988169689Skan	(print_operand): Use it to implement '%Y'.
4989169689Skan	* config/s390/s390.h (EXTRA_ADDRESS_CONSTRAINT): Add 'Y' constraint.
4990169689Skan	(PREDICATE_CODES): Add shift_count_operand.
4991169689Skan	* config/s390/s390.md ("rotldi3"): Merge alternatives,
4992169689Skan	using "shift_count_operand" predicate and "Y" constraint,
4993169689Skan	and "%Y" to output the combined shift count.
4994169689Skan	("rotlsi3"): Likewise.
4995169689Skan	("ashldi3", "*ashldi3_31", "*ashldi3_64"): Likewise.
4996169689Skan	("ashrdi3", "*ashrdi3_31", "*ashrdi3_64", "*ashrdi3_cc_31",
4997169689Skan	"*ashrdi3_cc_64", "*ashrdi3_cconly_31", "*ashrdi3_cconly_64"): Likewise.
4998169689Skan	("ashlsi3", "ashrsi3", "*ashrsi3_cc", "*ashrsi3_cconly"): Likewise.
4999169689Skan	("lshrdi3", "*lshrdi3_31", "*lshrdi3_64"): Likewise.
5000169689Skan	("lshrsi3"): Likewise.
5001169689Skan
5002169689Skan2003-10-18  Gunther Nikl  <gni@gecko.de>
5003169689Skan
5004169689Skan	* config/m68k/m68k.c (m68k_output_function_epilogue): Add missing
5005169689Skan	argument to asm_fprintf statement.
5006169689Skan
5007169689Skan2003-10-18  Fariborz Jahanian  <fjahanian@apple.com>
5008169689Skan
5009169689Skan	* rs6000.md: Separate TARGET_POWERPC64 patterns for TARGET_64BIT or TARGET_32BIT.
5010169689Skan	(ashrdisi3_noppc64) Generate more efficient code for 32-bit right-shift of
5011169689Skan	a "long long" argument.
5012169689Skan
5013169689Skan2003-10-18  Alexandre Oliva  <aoliva@redhat.com>
5014169689Skan
5015169689Skan	* final.c (final_scan_insn): Run FINAL_PRESCAN_INSNS on asm insns
5016169689Skan	as well.
5017169689Skan
5018169689Skan2003-10-18  Richard Sandiford  <rsandifo@redhat.com>
5019169689Skan
5020169689Skan	* rtl.h (rtl_size): Declare.
5021169689Skan	(rtunion): Remove rtwint.
5022169689Skan	(rtx_def): Replace 'fld' with a union of an rtunion or a HOST_WIDE_INT.
5023169689Skan	(RTX_HDR_SIZE, RTX_SIZE): New macros.
5024169689Skan	(RTL_CHECK1): Adjust for new rtx_def layout.
5025169689Skan	(RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2): Likewise.
5026169689Skan	(XWINT, XCWINT): Likewise.  Access the rtx structure directly.
5027169689Skan	(X0WINT): Remove.
5028169689Skan	(X0ANY): New macro.
5029169689Skan	* rtl.def: Adjust comments for new rtx_def layout.
5030169689Skan	* ggc.h (ggc_alloc_rtx): Take the rtx code as argument, not the
5031169689Skan	number of slots.
5032169689Skan	* rtl.c (rtx_size): New array.
5033169689Skan	(rtx_alloc): Adjust call to ggc_alloc_rtx.  Use RTX_HDR_SIZE.
5034169689Skan	(copy_rtx): Use RTX_HDR_SIZE.  Adjust for new rtx_def layout.
5035169689Skan	(shallow_copy_rtx): Adjust call to ggc_alloc_rtx.  Use RTX_SIZE.
5036169689Skan	* integrate.c (copy_rtx_and_substitute): Use X0ANY to copy '0' fields.
5037169689Skan	* emit-rtl.c (copy_most_rtx): Likewise.
5038169689Skan	(copy_rtx_if_shared): Use RTX_SIZE.
5039169689Skan	(copy_insn_1): Use RTX_HDR_SIZE.  Adjust for new rtx_def layout.
5040169689Skan	* gengenrtl.c (gendef): Adjust ggc_alloc_rtx call.  Use RTX_HDR_SIZE.
5041169689Skan	* gengtype.c (write_rtx_next): Use RTX_HDR_SIZE.
5042169689Skan	(adjust_field_rtx_def): Expect "rtx_def" to be a union rather than
5043169689Skan	an array.  Adjust output for new rtx_def layout.
5044169689Skan	* ggc-page.c (RTL_SIZE): Use RTX_HDR_SIZE.
5045169689Skan	* reload1.c (eliminate_regs): Use RTX_SIZE.
5046169689Skan	* rtlanal.c (loc_mentioned_in_p): Adjust for new rtx_def layout.
5047169689Skan	* gdbinit.in (pi): Likewise.
5048169689Skan
5049169689Skan2003-10-18  Jan Hubicka  <jh@suse.cz>
5050169689Skan
5051169689Skan	* integrate.c (copy_decl_for_inlining): Revert previous patch.
5052169689Skan
5053169689Skan2003-10-18  Jan Hubicka  <jh@suse.cz>
5054169689Skan
5055169689Skan	* integrate.c (copy_decl_for_inlining): Fix copying of copies.
5056169689Skan
5057169689Skan2003-10-18  Roger Sayle  <roger@eyesopen.com>
5058169689Skan
5059169689Skan	* libgcc.texi: Group multi-word types, such as "long double" and
5060169689Skan	"unsigned int", using braces in @deftypefn and @deftypefnx nodes.
5061169689Skan	Document __unord?f2 as returning a non-zero value, not just one.
5062169689Skan
5063169689Skan2003-10-18  Hans-Peter Nilsson  <hp@bitrange.com>
5064169689Skan
5065169689Skan	* config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Define.
5066169689Skan	($(T)crti.o, $(T)crtn.o): Pass CRTSTUFF_T_CFLAGS here too.
5067169689Skan
5068169689Skan2003-10-18  Eric Botcazou  <ebotcazou@libertysurf.fr>
5069169689Skan
5070169689Skan	* config/i386/k6.md (k6_alux): Use the 'mode' attribute instead of
5071169689Skan	match_operand.
5072169689Skan
5073169689Skan2003-10-18  Eric Botcazou  <ebotcazou@libertysurf.fr>
5074169689Skan
5075169689Skan	* config/sparc/sparc.c (function_arg_record_value_1): New fourth
5076169689Skan	parameter packed_p.  Search for a DECL_PACKED field only if
5077169689Skan	packed_p is false.  Pass packed_p recursively.
5078169689Skan	(function_arg_record_value_2): Likewise.
5079169689Skan	(function_arg_record_value): Update calls to
5080169689Skan	function_arg_record_value_1 and function_arg_record_value_2.
5081169689Skan
5082169689Skan2003-10-18  Eric Botcazou  <ebotcazou@libertysurf.fr>
5083169689Skan
5084169689Skan	* cse.c (cse_insn) [src_folded]: Check that the tentative replacement
5085169689Skan	was successfully forced to memory before using the result.
5086169689Skan
5087169689Skan2003-10-18  Eric Botcazou  <ebotcazou@libertysurf.fr>
5088169689Skan
5089169689Skan	PR optimization/8178
5090169689Skan	* config/i386/i386.md (*movsi_zero): New insn to set
5091169689Skan	a register to zero on TARGET_USE_MOV0 targets.
5092169689Skan
5093169689Skan2003-10-18  Kelley Cook  <kcook@gcc.gnu.org>
5094169689Skan
5095169689Skan	* Makefile.in (Makefile): Depend on the all Make-lang.in fragments.
5096169689Skan	(POSTSTAGE1_FLAGS_TO_PASS): Pass down MAKEINFO and MAKEINFOFLAGS.
5097169689Skan
5098169689Skan2003-10-17  David Edelsohn  <edelsohn@gnu.org>
5099169689Skan
5100169689Skan	* doc/invoke.texi (gcse-las): Fix typo.
5101169689Skan
5102169689Skan2003-10-17  Andrew Pinski  <pinskia@physics.uc.edu>
5103169689Skan
5104169689Skan	* doc/install.texi: Remove first part of the sentence for
5105169689Skan	zsh not working.  Change gcc to GCC.
5106169689Skan
5107169689Skan	PR bootstrap/12546
5108169689Skan	* doc/install.texi: Document that zsh does not work when
5109169689Skan	configuring gcc.
5110169689Skan
5111169689Skan2003-10-17  Nathanael Nerode  <neroden@gcc.gnu.org>
5112169689Skan
5113169689Skan	* config/ptx4.h: Switch to DWARF 2; update comments.
5114169689Skan
5115169689Skan2003-10-17  Segher Boessenkool  <boessen@de.ibm.com>
5116169689Skan	    Hartmut Penner  <hpenner@de.ibm.com>
5117169689Skan
5118169689Skan	PR 10404, partial 11591, partial 11601
5119169689Skan	* config/rs6000/altivec.md ("altivec_dst", "altivec_dstt",
5120169689Skan	"altivec_dstst", "altivec_dststt", "altivec_lvsl", "altivec_lvsr",
5121169689Skan	"altivec_lvebx", "altivec_lvehx", "altivec_lvewx", "altivec_lvxl",
5122169689Skan	"altivec_lvx", "altivec_stvx", "altivec_stvxl", "altivec_stvebx",
5123169689Skan	"altivec_stvehx", "altivec_stvewx"): Use a memory_operand.
5124169689Skan	* config/rs6000/rs6000.c (altivec_expand_lv_builtin): New function.
5125169689Skan	(altivec_expand_stv_builtin): Adjust for the memory_operand.
5126169689Skan	(altivec_expand_builtin): Call altivec_expand_lv_builtin.
5127169689Skan	(altivec_init_builtins): Use `long int' for memory offsets.
5128169689Skan
5129169689Skan2003-10-17  Jan Hubicka  <jh@suse.cz>
5130169689Skan
5131169689Skan	* opts.c  (common_handle_option): Handle OPT_fweb
5132169689Skan	* invoke.texi (-fweb): Add missing parts of documentation.
5133169689Skan
5134169689Skan2003-10-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5135169689Skan
5136169689Skan	* config/mips/linux.h (FUNCTION_NAME_ALREADY_DECLARED): Undef
5137169689Skan	before redefinition.
5138169689Skan
5139169689Skan2003-10-17  Mostafa Hagog  <mustafa@il.ibm.com>
5140169689Skan
5141169689Skan	* common.opt: Add description of the new -fgcse-las flag.
5142169689Skan	* flags.h (flag_gcse_las): Declaration of global flag_gcse_las.
5143169689Skan	* gcse.c (hash_scan_set): Handle the case of store expression and
5144169689Skan	insert the memory expression to the hash table, this way we make it
5145169689Skan	possible to discover redundant loads after stores and remove them.
5146169689Skan	(pre_insert_copy_insn): moved the call to update_ld_motion_stores,
5147169689Skan	to pre_insert_copies, it is not the correct place to call it after
5148169689Skan	adding stores to be in the available expression hash table.
5149169689Skan	(pre_insert_copies): Added the call to update_ld_motion_stores when
5150169689Skan	one or more copies were inserted.
5151169689Skan	* opts.c (common_handle_option): Handle the -fgcse-las flag.
5152169689Skan	* toplev.c (flag_gcse_las): Initialization of flag_gcse_las.
5153169689Skan
5154169689Skan	* doc/invoke.tex: Document new -fgcse-las flag.
5155169689Skan
5156169689Skan2003-10-18  Alan Modra  <amodra@bigpond.net.au>
5157169689Skan
5158169689Skan	* config/rs6000/crtsavres.asm: Correct alignment of powerpc64 code
5159169689Skan	for posterity, then remove it.
5160169689Skan
5161169689Skan2003-10-17  Richard Earnshaw <rearnsha@arm.com>
5162169689Skan	    Nathan Sidwell  <nathan@codesourcery.com>
5163169689Skan
5164169689Skan	* config/arm/arm.c (use_return_insn): Not a single instruction, if
5165169689Skan	there's a frame pointer.
5166169689Skan	(arm_output_epilogue): Protect stack pointer from being corrupted
5167169689Skan	on interrupt.
5168169689Skan
5169169689Skan2003-10-17  Ulrich Weigand  <uweigand@de.ibm.com>
5170169689Skan
5171169689Skan	* ifcvt.c (noce_try_addcc): Handle ifs with 'else' case.
5172169689Skan
5173169689Skan2003-10-17  Ulrich Weigand  <uweigand@de.ibm.com>
5174169689Skan
5175169689Skan	* combine.c (simplify_set): Do not clear out undobuf.other_insn
5176169689Skan	already set elsewhere.
5177169689Skan
5178169689Skan2003-10-17  Kelley Cook  <kcook@gcc.gnu.org>
5179169689Skan
5180169689Skan	* config/i386/i386.c (ix86_expand_prologue):  Use
5181169689Skan	gen_allocate_stack_worker.
5182169689Skan
5183169689Skan2003-10-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5184169689Skan
5185169689Skan	* config.gcc (mips-sgi-irix6*o32): Only enable use_collect2
5186169689Skan	without gas.
5187169689Skan	(mips-sgi-irix6*): Likewise.
5188169689Skan
5189169689Skan	* config/mips/iris6gas.h: New file.
5190169689Skan	* gcc/config.gcc (mips-sgi-irix6*): Use it.
5191169689Skan
5192169689Skan	* config/mips/mips.h (TARGET_IRIX): Provide default.
5193169689Skan	(TARGET_IRIX5): Likewise.
5194169689Skan	(TARGET_SGI_O32_AS): Likewise.
5195169689Skan	* config/mips/iris5.h (TARGET_IRIX): Redefine as 1.
5196169689Skan	(TARGET_IRIX5): Likewise.
5197169689Skan	* config/mips/iris6.h (TARGET_IRIX6): Remove.
5198169689Skan	(TARGET_IRIX5): Redefine as 0.
5199169689Skan
5200169689Skan	* config/mips/mips.c (mips_output_external): Test for IRIX 6 O32
5201169689Skan	linker workaround with TARGET_IRIX and mips_abi instead of
5202169689Skan	ASM_OUTPUT_UNDEF_FUNCTION.
5203169689Skan	(mips_file_end): Inline old ASM_OUTPUT_UNDEF_FUNCTION definition,
5204169689Skan	testing TARGET_IRIX and mips_abi explicitly.
5205169689Skan	* config/mips/iris5.h (ASM_OUTPUT_UNDEF_FUNCTION): Remove.
5206169689Skan	* config/mips/iris6.h (ASM_OUTPUT_UNDEF_FUNCTION): Remove undef.
5207169689Skan
5208169689Skan	* config/mips/mips.c (irix_output_external_libcall): Renamed from
5209169689Skan	mips_output_external_libcall.
5210169689Skan	Use new TARGET_IRIX in guard.
5211169689Skan	* config/mips/mips-protos.h (irix_output_external_libcall): Match
5212169689Skan	this.
5213169689Skan	* config/mips/iris5.h (TARGET_ASM_EXTERNAL_LIBCALL): Likewise.
5214169689Skan
5215169689Skan	* config/mips/iris5gas.h (HAVE_GAS_SHF_MERGE): Update comment.
5216169689Skan	Define as 0.
5217169689Skan
5218169689Skan	* config/mips/iris6.h (FUNCTION_NAME_ALREADY_DECLARED): Define
5219169689Skan	depending on mips_abi.
5220169689Skan	* config/mips/linux.h (FUNCTION_NAME_ALREADY_DECLARED): Define as 1.
5221169689Skan	* config/mips/mips.c (mips_output_function_prologue): Test
5222169689Skan	FUNCTION_NAME_ALREADY_DECLARED at runtime.
5223169689Skan	(mips_output_function_epilogue): Likewise.
5224169689Skan	(build_mips16_function_stub): Likewise.
5225169689Skan	(build_mips16_call_stub): Likewise.
5226169689Skan	* config/mips/mips.h (FUNCTION_NAME_ALREADY_DECLARED): Provide
5227169689Skan	default.
5228169689Skan
5229169689Skan	* config/mips/iris6.h (DWARF2_UNWIND_INFO): Don't define for native
5230169689Skan	IRIX 6 O32 assembler.
5231169689Skan	(SUBTARGET_CC1_SPEC): Enforce mips2 ISA with O32 ABI.
5232169689Skan	(TARGET_OS_CPP_BUILTINS): Define _ABIO32, use it to define
5233169689Skan	_MIPS_SIM for O32 ABI.
5234169689Skan	(DWARF2_FRAME_INFO): Don't define for native IRIX 6 O32 assembler.
5235169689Skan	(ASM_DECLARE_FUNCTION_NAME): Integrate mips.h version.
5236169689Skan	(ASM_DECLARE_FUNCTION_SIZE): Move undef before redefinition.
5237169689Skan	Integrate O32 version.
5238169689Skan	(SUBTARGET_ASM_SPEC): Handle -mabi=32.
5239169689Skan	(SUBTARGET_ASM_DEBUGGING_SPEC): Add mdebug_asm_spec for gas with
5240169689Skan	O32 ABI.
5241169689Skan	(BSS_SECTION_ASM_OP_32): Define.
5242169689Skan	(BSS_SECTION_ASM_OP_64): Likewise.
5243169689Skan	(BSS_SECTION_ASM_OP): Define differently for O32 and N32/N64 ABIs
5244169689Skan	using them.
5245169689Skan	(TARGET_ASM_NAMED_SECTION): Reflect renaming.
5246169689Skan	Move up to allow override for O32 ABI without GNU as.
5247169689Skan	(EH_FRAME_SECTION_NAME): Define explicitly.
5248169689Skan	(MUST_USE_SJLJ_EXCEPTIONS): Define.
5249169689Skan	[_MIPS_SIM == _ABIO32 && !GAS] (CTORS_SECTION_ASM_OP,
5250169689Skan	DTORS_SECTION_ASM_OP): Dummy definitions.
5251169689Skan	(TARGET_ASM_NAMED_SECTION): Undef statically.
5252169689Skan	(EH_FRAME_SECTION_NAME): Likewise.
5253169689Skan	(ASM_OUTPUT_FILENAME): Integrate mips.h version.
5254169689Skan	(LINK_SPEC): Only use default options -call_shared -no_unresolved
5255169689Skan	without -r.
5256169689Skan	Don't pass -init, -fini with -mabi=32.
5257169689Skan	(COLLECT_PARSE_FLAG): Define.
5258169689Skan
5259169689Skan	* config/mips/mips.c (iris6_asm_named_section_1): Changed guard to
5260169689Skan	TARGET_IRIX.
5261169689Skan	Renamed to use irix_ prefix.
5262169689Skan	(iris6_asm_named_section): Likewise.
5263169689Skan	(iris_section_align_entry_eq): Likewise.
5264169689Skan	(iris_section_align_entry_hash): Likewise.
5265169689Skan	(iris6_file_start): Likewise.
5266169689Skan	(iris6_section_align_1): Likewise.
5267169689Skan	(iris6_file_end): Likewise.
5268169689Skan	(iris6_section_type_flags): Likewise.
5269169689Skan	(iris_section_align_htab): Likewise.
5270169689Skan	(iris_orig_asm_out_file): Likewise.
5271169689Skan	[TARGET_IRIX] (TARGET_ASM_FILE_START): Reflect rename.
5272169689Skan	(TARGET_ASM_FILE_END): Likewise.
5273169689Skan	(TARGET_SECTION_TYPE_FLAGS): Likewise.
5274169689Skan
5275169689Skan	* config/mips/mips.c [TARGET_IRIX5 && !TARGET_IRIX6]
5276169689Skan	(TARGET_ASM_UNALIGNED_HI_OP): Use runtime initialization in
5277169689Skan	override_options instead.
5278169689Skan	(TARGET_ASM_UNALIGNED_SI_OP): Likewise.
5279169689Skan	(TARGET_ASM_UNALIGNED_DI_OP): Likewise.
5280169689Skan	* config/mips/mips.c (override_options) [USE_COLLECT2]: Restore
5281169689Skan	flag_gnu_linker to defaults without USE_COLLECT2 for non-IRIX O32
5282169689Skan	assemblers.
5283169689Skan	Likewise for constructor/destructor handling.
5284169689Skan	(override_options): Handle IRIX O32 assembler quirks.
5285169689Skan	[TARGET_IRIX] (irix_asm_named_section): Handle O32 ABI with and
5286169689Skan	without gas.
5287169689Skan	(mips_file_start): Use new TARGET_IRIX.
5288169689Skan	(mips_declare_object_name): No special processing for IRIX O32
5289169689Skan	assembler.
5290169689Skan	(mips_finish_declare_object): Likewise.
5291169689Skan	(irix_asm_output_align): Renamed from iris6_asm_output_align.
5292169689Skan	Don't record alignment for O32 ABI.
5293169689Skan	(irix_file_start): Renamed from iris6_file_start.
5294169689Skan	Return early for O32 ABI.
5295169689Skan	(irix_file_end): Renamed from iris6_file_end.
5296169689Skan	Don't emit .section directives for O32 ABI.
5297169689Skan	* config/mips/iris6.h (ASM_OUTPUT_ALIGN): Reflect renaming.
5298169689Skan	* config/mips/mips-protos.h (irix_asm_output_align): Likewise.
5299169689Skan
5300169689Skan	* config/mips/t-iris6 (MULTILIB_OPTIONS): Add mabi=32.
5301169689Skan	(MULTILIB_OSDIRNAMES): Likewise.
5302169689Skan
5303169689Skan2003-10-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5304169689Skan
5305169689Skan	* collect2.c (COLLECT_PARSE_FLAG): Provide default.
5306169689Skan	(main): Use it.
5307169689Skan	* doc/tm.texi (COLLECT_PARSE_FLAG): Document it.
5308169689Skan
5309169689Skan2003-10-17  Richard Earnshaw  <rearnsha@arm.com>
5310169689Skan
5311169689Skan	* arm-modes.def (CC_Nmode): New condition code mode.
5312169689Skan	* arm.c (thumb_condition_code): Delete.
5313169689Skan	(arm_select_cc_mode): Handle single-bit test for Thumb.
5314169689Skan	(arm_print_operand, cases 'd' and 'D'): Don't special case the
5315169689Skan	condition code logic for Thumb.
5316169689Skan	(get_arm_condition_code): Handle CC_Nmode.
5317169689Skan	(thumb_cbrch_target_operand): New function.
5318169689Skan	* arm.h (PREDICATE_CODES): Add thumb_cbrch_target_operand.
5319169689Skan	* arm-protos.h (thumb_cbrch_target_operand): Add prototype.
5320169689Skan	* arm.md: Add Thumb split patterns for zero_extract and
5321169689Skan	sign_extract.
5322169689Skan	(tbit_cbranch, andsi3_cbranch_scratch, andsi3_cbranch)
5323169689Skan	(orrsi3_cbranch_scratch, orrsi3_cbranch, xorsi3_cbranch_scratch)
5324169689Skan	(xorsi3_cbranch, addsi3_cbranch, addsi3_cbranch_scratch)
5325169689Skan	(subsi3_cbranch, subsi3_cbranch_scratch): New Thumb patterns.
5326169689Skan	(cbranchne_decr1): Re-work to use CC_Nmode.
5327169689Skan
5328169689Skan	* arm.c (thumb_expand_epilogue): Add clobbers of registers restored
5329169689Skan	by the return instruction.  Add a use of the link register if it
5330169689Skan	wasn't stored.
5331169689Skan
5332169689Skan2003-10-17  Richard Earnshaw  <rearnsha@arm.com>
5333169689Skan
5334169689Skan	* flow.c (init_propagate_block_info): Don't abort if a conditional
5335169689Skan	jump is not a comparison of a register.  Instead, just don't record
5336169689Skan	conditional life information.
5337169689Skan
5338169689Skan2003-10-16  Jan Hubicka  <jh@suse.cz>
5339169689Skan
5340169689Skan	PR optimization/12630
5341169689Skan	* pa.md (movstrsi, movstrsi_internal): Use match_scratch in clobbers
5342169689Skan	for operands 7 and 8.
5343169689Skan
5344169689Skan2003-10-16  Kelley Cook  <kcook@gcc.gnu.org>
5345169689Skan
5346169689Skan	* objc/Make-lang.in (objc-parse.o): Honor $(parsedir) for objc-parse.c.
5347169689Skan
5348169689Skan2003-10-16  Danny Smith  <dannysmith@users.sourceforge.net>
5349169689Skan
5350169689Skan	* config/i386/cygming.h (ASM_OUTPUT_DEF_FROM_DECLS): Define.
5351169689Skan
5352169689Skan	* config/i386/winnt.c (gen_stdcall_suffix): Make static
5353169689Skan	(gen_fastcall_suffix): Likewise.
5354169689Skan	(i386_pe_dllexport_p): Likewise.
5355169689Skan	(i386_pe_dllimport_p): Likewise.
5356169689Skan	(i386_pe_mark_dllexport): Likewise.
5357169689Skan	(i386_pe_mark_dllimport): Likewise.
5358169689Skan	(i386_pe_asm_named_section): Fix formatting.
5359169689Skan
5360169689Skan2003-10-16  Zack Weinberg  <zack@codesourcery.com>
5361169689Skan
5362169689Skan	* configure.in: Add snprintf to gcc_AC_CHECK_DECLS list.
5363169689Skan	* system.h: Declare snprintf if necessary.
5364169689Skan	* configure, config.in: Regenerate.
5365169689Skan
5366169689Skan2003-10-15  David Edelsohn  <edelsohn@gnu.org>
5367169689Skan
5368169689Skan	* config/rs6000/rs6000.c (rs6000_va_arg): Only align vector
5369169689Skan	arguments if TARGET_ALTIVEC_ABI.
5370169689Skan
5371169689Skan2003-10-15  Roger Sayle  <roger@eyesopen.com>
5372169689Skan
5373169689Skan	* builtins.c (fold_builtin_memcpy, fold_builtin_mempcpy,
5374169689Skan	fold_builtin_memmove, fold_builtin_strcpy, fold_builtin_strncpy,
5375169689Skan	fold_builtin_memcmp, fold_builtin_strcmp, fold_builtin_strncmp):
5376169689Skan	New functions.
5377169689Skan	(expand_builtin_memcpy): Use integer_zerop instead of testing
5378169689Skan	host_integerp and tree_low_cst directly.  Move misapplied hunk
5379169689Skan	for optimization wher SRC and DEST point to the same location.
5380169689Skan	(expand_builtin_mempcpy): From here.
5381169689Skan	(expand_builtin_memmove): Use integer_zerop instead of testing
5382169689Skan	host_integerp and tree_low_cst_directly.
5383169689Skan	(expand_builtin_memset): Likewise.
5384169689Skan	(expand_builtin_memcmp): Likewise (and for integer_onep).
5385169689Skan	(expand_builtin_strncmp): Likewise.
5386169689Skan	(fold_builtin): Call the appropriate fold_builtin_foo functions
5387169689Skan	to optimize memcpy, mempcpy, memmove, strcpy, strncpy, memcmp,
5388169689Skan	strcmp and strncmp.
5389169689Skan
5390169689Skan2003-10-15  Geoffrey Keating  <geoffk@apple.com>
5391169689Skan
5392169689Skan	* config/darwin-protos.h (machopic_non_lazy_ptr_name): Delete
5393169689Skan	prototype.  Clean up some whitespace.
5394169689Skan	* config/darwin.c: Use gen_rtx_FOO (...) rather than
5395169689Skan	gen_rtx (FOO, ...).
5396169689Skan	(machopic_non_lazy_ptr_name): Make static.
5397169689Skan	(name_needs_quotes): Allow '.' and '$' unquoted.
5398169689Skan	(machopic_legitimize_pic_address): Improve codegen in dynamic-no-pic
5399169689Skan	case.
5400169689Skan
5401169689Skan2003-10-15  G�bor L�ki  <alga@rgai.hu>
5402169689Skan
5403169689Skan	* fold-const.c (tree_swap_operands_p): Disable some features
5404169689Skan	when optimizing for size.
5405169689Skan
5406169689Skan2003-10-15  David Daney  <ddaney@avtrex.com>
5407169689Skan
5408169689Skan	* config/mips/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New
5409169689Skan	* config/mips/mips.h (DWARF_FRAME_REGNUM): Fixed to allow unwind
5410169689Skan	from leaf functions.
5411169689Skan	(DWARF_FRAME_RETURN_COLUMN): Ditto.
5412169689Skan	(SIGNAL_UNWIND_RETURN_COLUMN): New, used
5413169689Skan	by MD_FALLBACK_FRAME_STATE_FOR.
5414169689Skan	* testsuite/gcc.dg/cleanup-9.c: Added mips*-*-linux* target.
5415169689Skan
5416169689Skan2003-10-15  Zack Weinberg  <zack@codesourcery.com>
5417169689Skan
5418169689Skan	* genmodes.c: Include hashtab.h.
5419169689Skan	(modes_by_name, hash_mode, eq_mode, struct mode_adjust)
5420169689Skan	(adj_bytesize, adj_alignment, adj_format, new_adjust)
5421169689Skan	(_ADD_ADJUST, ADJUST_BYTESIZE, ADJUST_ALIGNMENT, ADJUST_FORMAT)
5422169689Skan	(print_maybe_const_decl, emit_mode_adjustments): New.
5423169689Skan	(known_modes): Rename to modes.
5424169689Skan	(find_mode): Kill class argument; look up in hash table.
5425169689Skan	(new_mode): Insert into hash table also.
5426169689Skan	(new_adjust): New.
5427169689Skan	(reset_float_format, make_partial_integer_mode)
5428169689Skan	(make_vector_mode): Tweak error reporting.
5429169689Skan	(reset_float_format): Correct type of fourth argument.
5430169689Skan	(emit_insn_modes_h): Add #defines to help make mode_size,
5431169689Skan	mode_base_align, and real_format_for_mode conditionally const.
5432169689Skan	(emit_mode_size, emit_mode_base_align): Use print_maybe_const_decl.
5433169689Skan	(emit_real_format_for_mode): Likewise, but temporarily disabled.
5434169689Skan	(emit_insn_modes_c): Call emit_mode_adjustments.
5435169689Skan	(main): Initialize modes_by_name.
5436169689Skan	* Makefile.in: Update dependencies.
5437169689Skan	* machmode.def: Document EXPR arguments and new ADJUST_* statements.
5438169689Skan	* machmode.h: Use CONST_MODE_SIZE and CONST_MODE_BASE_ALIGN in
5439169689Skan	declarations of mode_size and mode_base_align.  Declare
5440169689Skan	init_adjust_machine_modes.
5441169689Skan	* toplev.c (backend_init): Call init_adjust_machine_modes.
5442169689Skan
5443169689Skan2003-10-15  Olivier Hainque  <hainque@act-europe.fr>
5444169689Skan
5445169689Skan	* genmodes.c (calc_wider_mode): Allocate enough room for all the
5446169689Skan	entries we'll possibly assign in the sort buffer.
5447169689Skan
5448169689Skan2003-10-15  Ulrich Weigand  <uweigand@de.ibm.com>
5449169689Skan
5450169689Skan	* config.gcc (s390x-ibm-tpf*): New target.
5451169689Skan	* doc/install.texi: Document it.
5452169689Skan	* config/s390/t-tpf: New file.
5453169689Skan	* config/s390/tpf.h: New file.
5454169689Skan
5455169689Skan2003-10-15  Hans-Peter Nilsson  <hp@axis.com>
5456169689Skan
5457169689Skan	PR target/12598
5458169689Skan	* config/cris/cris.md (define_split "*mov_sidesi_biap_mem"+1)
5459169689Skan	(define_splits "*mov_sidesi_mem"+1, "casesi"+9, +10, +11, +12):
5460169689Skan	Use cris_mem_op and replace_equiv_address, not gen_rtx_MEM.
5461169689Skan	("call", "call_value", define_split "*mov_sidesi_mem"+19, +20)
5462169689Skan	(define_split "*mov_sidesi_mem"+21, +22, +23, +24, +25, +26, +27)
5463169689Skan	(define_split "*mov_sidesi_mem"+28, +29, +30): Use
5464169689Skan	replace_equiv_address, not gen_rtx_MEM.
5465169689Skan	* config/cris/cris.c (cris_mem_op): New match_operator function.
5466169689Skan	(cris_notice_update_cc): Use replace_equiv_address, not
5467169689Skan	gen_rtx_MEM.
5468169689Skan	* config/cris/cris.h (PREDICATE_CODES): Add cris_mem_op.
5469169689Skan
5470169689Skan2003-10-15  Bernardo Innocenti <bernie@develer.com>
5471169689Skan
5472169689Skan	* config/m68k/m68k.h (MASK_SEP_DATA, TARGET_SEP_DATA,
5473169689Skan	MASK_ID_SHARED_LIBRARY, TARGET_ID_SHARED_LIBRARY): Move
5474169689Skan	definitions after the other flags.
5475169689Skan
5476169689Skan2003-10-14  Ziemowit Laski  <zlaski@apple.com>
5477169689Skan
5478169689Skan	* c-parse.in (methoddef, methodproto): Call objc_add_method()
5479169689Skan	instead of add_method().
5480169689Skan	* objc/objc-act.c (objc_check_decl): Do not check for
5481169689Skan	constant_string_type.
5482169689Skan	(add_method): Rename to objc_add_method().
5483169689Skan	(really_start_method): Call objc_add_method() instead of
5484169689Skan	add_method().
5485169689Skan	* objc/objc-act.h (add_method): Rename to objc_add_method().
5486169689Skan
5487169689Skan2003-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
5488169689Skan
5489169689Skan	* config/s390/s390-protos.h (s390_alc_comparison): Add prototype.
5490169689Skan	(s390_slb_comparison): Likewise.
5491169689Skan	* config/s390/s390.c (s390_alc_comparison, s390_slb_comparison):
5492169689Skan	New functions.
5493169689Skan	* config/s390/s390.h (PREDICATE_CODES): Add s390_alc_comparison
5494169689Skan	and s390_slb_comparison.
5495169689Skan	* config/s390/s390.md ("*adddi3_31", "*subdi3_31"): Do not use on
5496169689Skan	zSeries machines.
5497169689Skan	("*adddi3_31z", "*subdi3_31z"): New insns.
5498169689Skan	("*adddi3_alc_cc", "*adddi3_alc", "*subdi3_slb_cc", "*subdi3_slb",
5499169689Skan	"*addsi3_alc_cc", "*addsi3_alc", "*subsi3_slb_cc", "*subsi3_slb"):
5500169689Skan	New insns.
5501169689Skan
5502169689Skan2003-10-14  Nathanael Nerode  <neroden@gcc.gnu.org>
5503169689Skan
5504169689Skan	* configure.in: Clean up some feedback echoes.
5505169689Skan	* configure: Regenerate.
5506169689Skan
5507169689Skan	* aclocal.m4: Properly quote names of macros being defined.
5508169689Skan
5509169689Skan	* config.gcc (am33_2.0-*-linux*): Use t-slibgcc-elf-ver.
5510169689Skan
5511169689Skan2003-10-14  Steve Ellcey  <sje@cup.hp.com>
5512169689Skan
5513169689Skan	* config/ia64/ia64.c (ia64_expand_call): Force function address
5514169689Skan	to DImode.
5515169689Skan	* config/ia64/ia64.md (call_gp): Put DImode on operand 0.
5516169689Skan
5517169689Skan2003-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
5518169689Skan
5519169689Skan	* config/s390/s390.md ("muldf3", "*muldf3", "*muldf3_ibm",
5520169689Skan	"mulsf3", "*mulsf3", "*mulsf3_ibm"): Do not clobber CC.
5521169689Skan	("divdf3", "*divdf3", "*divdf3_ibm", "divsf3", "*divsf3",
5522169689Skan	"*divsf3_ibm"): Likewise.
5523169689Skan
5524169689Skan2003-10-14  Nathanael Nerode  <neroden@gcc.gnu.org>
5525169689Skan
5526169689Skan	* config.gcc, config/m68hc11/t-m68hc11-gas: Replace uses of
5527169689Skan	target_alias with target_noncanonical.
5528169689Skan
5529169689Skan2003-10-14  Geoffrey Keating  <geoffk@apple.com>
5530169689Skan
5531169689Skan	* expr.c (block_move_libcall_safe_for_call_parm): Clean up,
5532169689Skan	and add case for machines where outgoing register parameters
5533169689Skan	get stack space.
5534169689Skan
5535169689Skan	* config/darwin.c (machopic_indirect_data_reference): Use a scratch
5536169689Skan	register when generating indirect address.
5537169689Skan
5538169689Skan2003-10-14  Richard Earnshaw  <rearnsha@arm.com>
5539169689Skan
5540169689Skan	* arm.c (arm_addimm_operand): MODE arguemnt is unused.
5541169689Skan	* arm.md (cbranchne_decr1): Fix bootstrap warning.
5542169689Skan
5543169689Skan2003-10-14  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5544169689Skan
5545169689Skan	* fixinc/inclhack.def (alpha_pthread_gcc): New fix.
5546169689Skan	* fixinc/fixincl.x: Regenerate.
5547169689Skan	* fixinc/tests/base/pthread.h [ALPHA_PTHREAD_GCC_CHECK]: New
5548169689Skan	testcase.
5549169689Skan	Fixes PR bootstrap/9330.
5550169689Skan
5551169689Skan2003-10-13  Eric Christopher  <echristo@redhat.com>
5552169689Skan
5553169689Skan	* config/frv/frv.c (frv_adjust_field_align): Redo check for
5554169689Skan	too wide bitfields.
5555169689Skan	(frv_hard_regno_mode_ok): Add SPR_P and AP_FIRST.
5556169689Skan	* config/frv/frv.h (FUNCTION_PROFILER): Remove abort call.
5557169689Skan	(SBSS_SECTION_ASM_OP): Remove.
5558169689Skan	(EXTRA_SECTIONS): Remove in_sbss.
5559169689Skan	(EXTRA_SECTION_FUNCTIONS): Remove SBSS_SECTION_FUNCTION.
5560169689Skan	(SBSS_SECTION_FUNCTION, sbss_section): Remove.
5561169689Skan	(ASM_OUTPUT_ALIGNED_DECL_LOCAL): Change sbss_section to
5562169689Skan	named_section.
5563169689Skan
5564169689Skan2003-10-13  Nathanael Nerode  <neroden@gcc.gnu.org>
5565169689Skan
5566169689Skan	* Makefile.in, configure.in, config.host, mkheaders.in: Replace
5567169689Skan	uses of ${target_alias} for directory names (and other places which
5568169689Skan	won't like the empty string) with ${target_noncanonical}.  Introduce
5569169689Skan	call early in configure.in to _GCC_TOPLEV_NONCANONICAL_TARGET so it's
5570169689Skan	available.
5571169689Skan	* configure: Regenerate.
5572169689Skan
5573169689Skan2003-10-13  Ian Lance Taylor  <ian@wasabisystems.com>
5574169689Skan
5575169689Skan	* config/arm/iwmmxt.md (cond_iwmmxt_movsi_insn): New pattern.
5576169689Skan	* config/arm/arm.md: For splits which rely on conditional moves,
5577169689Skan	remove ! TARGET_IWMMXT condition.
5578169689Skan
5579169689Skan2003-10-13  David S. Miller  <davem@redhat.com>
5580169689Skan
5581169689Skan	* ifcvt.c (num_removed_blocks): Rename to num_true_changes.
5582169689Skan	(find_cond_trap): Always increment if we emit a conditional
5583169689Skan	trap insn.
5584169689Skan
5585169689Skan2003-10-13  Zack Weinberg  <zack@codesourcery.com>
5586169689Skan
5587169689Skan	* Makefile.in (BUILD_RTL): Replace $(BUILD_PREFIX)insn-modes.o
5588169689Skan	with min-insn-modes.o.
5589169689Skan	(STAGESTUFF): Add min-insn-modes.c.
5590169689Skan	(genobjs): Add genmodes.o.
5591169689Skan	(print-rtl.o, print-rtl1.o): Depend on $(TM_P_H).
5592169689Skan	(insn-modes.o): Depend on $(TM_H) not $(GTM_H); also real.h.
5593169689Skan	(min-insn-modes.c, min-insn-modes.o): New rules.
5594169689Skan	(s-modes): Also generate min-insn-modes.c.
5595169689Skan	($(BUILD_PREFIX_1)insn-modes.o): Kill.
5596169689Skan	* genmodes.c (struct mode_data): Add format field.
5597169689Skan	(blank_mode, validate_mode, complete_mode): Update to match.
5598169689Skan	(make_scalar_mode): Separate into make_int_mode and make_float_mode.
5599169689Skan	(_SCALAR_MODE): Kill.
5600169689Skan	(FLOAT_MODE, FRACTIONAL_FLOAT_MODE): Add format argument.
5601169689Skan	(emit_insn_modes_c_header): Adjust.
5602169689Skan	(emit_min_insn_modes_c_header, emit_real_format_for_mode)
5603169689Skan	(emit_min_insn_modes_c): New functions.
5604169689Skan	(emit_insn_modes_c): Call emit_real_format_for_mode.
5605169689Skan	(main): Add -m option to generate min-insn-modes.c.
5606169689Skan	* machmode.h: Update documentation.  Add format argument to
5607169689Skan	all uses of FLOAT_MODE.
5608169689Skan	* real.c: Don't define real_format_for_mode here.
5609169689Skan
5610169689Skan	* dwarfout.c: Move default definition of PRINT_REG...
5611169689Skan	* defaults.h: ...here.
5612169689Skan	* print-rtl.c: Include tm_p.h.
5613169689Skan	(DEBUG_PRINT_REG, DEBUG_REGISTER_NAMES, debug_reg_names, reg_names):
5614169689Skan	Kill.
5615169689Skan	(print_rtx): Use PRINT_REG, not DEBUG_PRINT_REG.  But surround
5616169689Skan	this entire block with #ifndef GENERATOR_FILE.
5617169689Skan	* regclass.c: Unconditionally define reg_names.
5618169689Skan	* config/mips/mips.h, config/rs6000/rs6000.h, config/sh/sh.h
5619169689Skan	Don't define DEBUG_REGISTER_NAMES.
5620169689Skan	* config/rs6000/darwin.h: Don't use DEBUG_REGISTER_NAMES in
5621169689Skan	redefinition of REGISTER_NAMES.
5622169689Skan	* config/i386/i386.h: Don't define DEBUG_PRINT_REG.
5623169689Skan
5624169689Skan	* combine.c: Change all preprocessor conditionals on
5625169689Skan	EXTRA_CC_MODES to use SELECT_CC_MODE instead; rearrange a bit
5626169689Skan	for clarity.
5627169689Skan	* genopinit.c: Remove mention of EXTRA_CC_MODES in comment.
5628169689Skan	* configure.in: Don't define EXTRA_CC_MODES.
5629169689Skan	* configure, config.in: Regenerate.
5630169689Skan	* doc/tm.texi: Remove documentation of EXTRA_CC_MODES.
5631169689Skan
5632169689Skan	* config/arc/arc.c, config/m32r/m32r.c, config/sparc/sparc.c:
5633169689Skan	May assume that GET_MODE_CLASS is accurate for extra CC modes
5634169689Skan	at all times.
5635169689Skan
5636169689Skan	* config/i860/i860.h (INIT_CUMULATIVE_ARGS): Pass correct
5637169689Skan	number of arguments to aggregate_value_p.
5638169689Skan
5639169689Skan	* genmodes.c (RESET_FLOAT_FORMAT, reset_float_format): New.
5640169689Skan	* machmode.def: Explain ARCH-modes.def.  Document
5641169689Skan	RESET_FLOAT_FORMAT.  Improve commentary on various mode
5642169689Skan	clusters.  Do not define OI, PQI, PHI, PSI, PDI, QF, HF, TQF,
5643169689Skan	XF, or TF modes here.  Remove backward-compatibility
5644169689Skan	definition of CC.
5645169689Skan
5646169689Skan	* config/alpha/alpha-modes.def: New file; define TF mode.
5647169689Skan	* config/arc/arm-modes.def: Define XF mode.
5648169689Skan	* config/c4x/c4x-modes.def: Define QF and HF modes.  Unset
5649169689Skan	float format for SF and DF modes.
5650169689Skan	* config/dsp16xx/dsp16xx-modes.def: New file; define HF mode.
5651169689Skan	* config/i386/i386-modes.def: Define XF and TF modes.
5652169689Skan	* config/i960/i960-modes.def: Define TF mode.
5653169689Skan	* config/ia64/ia64-modes.def: Define TF and OI modes.
5654169689Skan	* config/m68k/m68k-modes.def: New file; define XF mode.
5655169689Skan	* config/mips/mips-modes.def: New file; define TF mode, reset
5656169689Skan	formats for SF and DF modes.
5657169689Skan	* config/pa/pa-modes.def: Define TF mode.
5658169689Skan	* config/rs6000/rs6000.c: Define TF and PSI modes.
5659169689Skan	* config/s390/s390-modes.def: Define OI mode.
5660169689Skan	* config/sh/sh-modes.def: New file; define PSI mode.
5661169689Skan	* config/sparc/sparc-modes.def: Define TF mode.
5662169689Skan	* config/vax/vax-modes.def: New file; reset formats for SF and
5663169689Skan	DF modes.
5664169689Skan
5665169689Skan	* config/c4x/c4x.c (c4x_override_options): No need to mess
5666169689Skan	with real_format_for_mode or set REAL_MODE_FORMATs.
5667169689Skan	(c4x_immed_int_constant): Don't apply GET_MODE_CLASS to rtx
5668169689Skan	variable.
5669169689Skan	* config/i386/i386.c (override_options): No need to set
5670169689Skan	REAL_MODE_FORMATs here.
5671169689Skan	* config/i960/i960.c (i960_initialize): Likewise.
5672169689Skan	* config/m68k/m68k.c (m68k_override_options): Likewise.
5673169689Skan	* config/ia64/ia64.c (ia64_override_options): Set REAL_MODE_FORMAT
5674169689Skan	for TFmode only if not the default.
5675169689Skan	* config/mips/mips.c (override_options): Likewise.
5676169689Skan	* config/vax/vax.c (override_optionms): Set REAL_MODE_FORMAT for
5677169689Skan	DFmode only if not the default.
5678169689Skan
5679169689Skan	* config/i370/i370.h (RET_REG): Don't consider TFmode.
5680169689Skan	* config/m68hc11/m68hc11.c (print_operand): Don't consider XFmode.
5681169689Skan	* config/dsp16xx/dsp16xx.c (hard_regno_mode_ok): #if 0 out use
5682169689Skan	of modes that don't appear anywhere in the machine description.
5683169689Skan
5684169689Skan	* config/arc/arc-modes.def, config/arm/arm-modes.def
5685169689Skan	* config/c4x/c4x-modes.def, config/frv/frv-modes.def
5686169689Skan	* config/i386/i386-modes.def, config/i960/i960-modes.def
5687169689Skan	* config/ia64/ia64-modes.def, config/mmix/mmix-modes.def
5688169689Skan	* config/pa/pa-modes.def, config/pdp11/pdp11-modes.def
5689169689Skan	* config/rs6000/rs6000-modes.def, config/s390/s390-modes.def
5690169689Skan	* config/sparc/sparc-modes.def: Convert to new style for
5691169689Skan	declaring extra CC modes.
5692169689Skan
5693169689Skan2003-10-13  Zack Weinberg  <zack@codesourcery.com>
5694169689Skan
5695169689Skan	* cpplex.c (_cpp_clean_line): In the common case of a line
5696169689Skan	with no trigraphs and no \-newline, avoid writing to memory.
5697169689Skan	(_cpp_skip_block_comment): Use a local 'cur' pointer instead
5698169689Skan	of the buffer member.  Make c an uchar to avoid unnecessary
5699169689Skan	sign extensions.
5700169689Skan
5701169689Skan2003-10-13  Nathanael Nerode  <neroden@gcc.gnu.org>
5702169689Skan
5703169689Skan	* configure.in: Remove unnecessary test.
5704169689Skan	* configure: Regenerate.
5705169689Skan
5706169689Skan	* configure.in: Fix grammatical error.  Move UWIN host error to...
5707169689Skan	* config.host: Here.
5708169689Skan	* configure: Regenerate.
5709169689Skan
5710169689Skan2003-10-13  Andreas Krebbel  <krebbel1@de.ibm.com>
5711169689Skan
5712169689Skan	* config/s390/s390.md ("*fmadddf4", "*fmsubdf4", "*fmaddsf4",
5713169689Skan	"*fmsubsf4"): Insns are now dependent on TARGET_FUSED_MADD instead
5714169689Skan	of flag_unsafe_math_optimizations.
5715169689Skan	* config/s390/s390.h ("MASK_NO_FUSED_MADD", "TARGET_NO_FUSED_MADD",
5716169689Skan	"TARGET_FUSED_MADD", "TARGET_SWITCHES"): Introduced new target flags
5717169689Skan	fused-madd and no-fused-madd.
5718169689Skan	* doc/invoke.texi: Documented the new options fused-madd and
5719169689Skan	no-fused-madd for S/390.
5720169689Skan
5721169689Skan2003-10-14  Alan Modra  <amodra@bigpond.net.au>
5722169689Skan
5723169689Skan	* config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Choose
5724169689Skan	MASK_ALIGN_NATURAL if rs6000_alignment_string not given.  Don't
5725169689Skan	assign DEFAULT_ABI.
5726169689Skan	(ADJUST_FIELD_ALIGN, ROUND_TYPE_ALIGN): Update comment.
5727169689Skan	* config/rs6000/rs6000.c: Formatting.
5728169689Skan	(rs6000_parse_alignment_option): Only set rs6000_alignment_flags
5729169689Skan	when rs6000_alignment_string given.
5730169689Skan
5731169689Skan2003-10-13  Eric Botcazou  <ebotcazou@libertysurf.fr>
5732169689Skan
5733169689Skan	PR target/12538
5734169689Skan	* config/sparc/sparc.c (MUST_SAVE_REGISTER): Delete.
5735169689Skan	(sparc_flat_must_save_register_p): New function to decide whether
5736169689Skan	a register must be saved/restored in the function prologue/epilogue.
5737169689Skan	(sparc_flat_compute_frame_size): Use it instead of MUST_SAVE_REGISTER.
5738169689Skan
5739169689Skan2003-10-12  Steven Bosscher  <steven@gcc.gnu.org>
5740169689Skan
5741169689Skan	* config/avr/avr.c, config/avr/avr-protos.h: Convert to
5742169689Skan	ISO C90 function declarations and definitions.
5743169689Skan	* config/sh/sh.c, config/sh/sh-protos.h: Likewise.
5744169689Skan
5745169689Skan2003-10-12  Nathanael Nerode  <neroden@gcc.gnu.org>
5746169689Skan
5747169689Skan	* config.gcc (*-*-freebsd*): Use tm_defines instead of tiny
5748169689Skan	config files which do the same thing.
5749169689Skan	* config/freebsd3.h, config/freebsd4.h, config/freebsd5.h,
5750169689Skan	config/freebsd6.h: Remove now unnecessary files.
5751169689Skan
5752169689Skan2003-10-12  Steven Bosscher  <steven@gcc.gnu.org>
5753169689Skan
5754169689Skan	* c-common.c (c_common_truthvalue_conversion): Warn if the
5755169689Skan	address of a non-weak function is used as a truth value.
5756169689Skan
5757169689Skan2003-10-12  Kazu Hirata  <kazu@cs.umass.edu>
5758169689Skan
5759169689Skan	* config/h8300/h8300.c (WORD_REG_USED): Use SP_REG instead of
5760169689Skan	a literal.
5761169689Skan	* config/h8300/h8300.h (REGNO_OK_FOR_BASE_P): Use MAC_REG
5762169689Skan	instead of a literal.
5763169689Skan
5764169689Skan2003-10-12  Hans-Peter Nilsson  <hp@bitrange.com>
5765169689Skan
5766169689Skan	* doc/extend.texi (Function Attributes): Mention the exceptional
5767169689Skan	path for noreturn-marked functions.
5768169689Skan
5769169689Skan2003-10-12  Jan Hubicka  <jh@suse.cz>
5770169689Skan
5771169689Skan	* cgraphunit.c (cgraph_decide_inlining): Fix uninitialized variable
5772169689Skan	warning.
5773169689Skan
5774169689Skan2003-10-12  Danny Smith  <dannysmith@users.sourceforge.net>
5775169689Skan
5776169689Skan	* config/i386/i386.c (x86_this_parameter): Fix typo.
5777169689Skan
5778169689Skan2003-10-11  Jan Hubicka  <jh@suse.cz>
5779169689Skan
5780169689Skan	* Makefile.in (web.o): New.
5781169689Skan	* web.c: New file.
5782169689Skan	* rtl.h (web_main): Declare.
5783169689Skan	* timervar.def (TV_WEB): New.
5784169689Skan	* toplev.c (dump_file_index, dump_file_info): Add DFI_web.
5785169689Skan	(rest_of_hanle_web): New.
5786169689Skan	(flag_web): New static variable.
5787169689Skan	(lang_independent_options): Add "web".
5788169689Skan	(rest_of_compilation): Call rest_of_handle_web.
5789169689Skan	* invoke.texi (-fweb): Document.
5790169689Skan	* common.opt (fweb): New.
5791169689Skan	* flags.h (flag_web): New.
5792169689Skan	* opts.c (decode_options): Set flag_web at -O3.
5793169689Skan
5794169689Skan	* passes.texi (web construction):  Document.
5795169689Skan	* invoke.texi (-O3): Document that -fweb is enabled.
5796169689Skan
5797169689Skan	* regrename.c (regrename_optimize): Deal better with situation when
5798169689Skan	replacement failed.
5799169689Skan
5800169689Skan	* sched-ebb.c: Include params.h and profile.h
5801169689Skan	(schedule_ebbs):  Use tracer parameters to discover superblocks
5802169689Skan	* Makefile.in (sched-ebb.o):  Add dependencies.
5803169689Skan
5804169689Skan2003-10-11  Roger Sayle  <roger@eyesopen.com>
5805169689Skan
5806169689Skan	* fold-const.c (negate_mathfn_p): New function to determine whether
5807169689Skan	a built-in mathematical function is sign preserving, f(-x) == -f(x).
5808169689Skan	Add support for BUILT_IN_ASIN, BUILT_IN_ASINF and BUILT_IN_ASINL.
5809169689Skan	(tree_swap_operands_p): Change API to take an additional argument
5810169689Skan	indicating that the swapped operands evaluate in reverse order.
5811169689Skan	Canonicalize VAR_DECLs and PARM_DECLs last if we can, i.e. neither
5812169689Skan	operand side-effects or we don't care about flag_evaluation_order.
5813169689Skan	(reorder_operands_p): New function to check whether its safe to
5814169689Skan	evaluate the given operands in reverse order.
5815169689Skan	(negate_expr_p):  We can always negate integer constants unless
5816169689Skan	we honor -ftrapv and the signed type would overflow.  Only allow
5817169689Skan	-(A-B) into B-A if reorder_operands_p says that its OK.  Allow
5818169689Skan	negation of COMPLEX_CST if both real and imaginary parts can be
5819169689Skan	negated.  Allow negation through floating point extensions and
5820169689Skan	sign-preserving built-in functions.
5821169689Skan	(negate_expr):  Move the code to negate integers from "fold" to
5822169689Skan	here.  Always negate integer constants unless we honor -ftrapv
5823169689Skan	and the signed type would overflow.  Always negate real constants
5824169689Skan	unless we honor -ftrapping-math.  Only convert -(A-B) into B-A
5825169689Skan	if allowed by reorder_operands_p.  Add support for COMPLEX_CST.
5826169689Skan	Optimize negation through floating point extensions and
5827169689Skan	sign-preserving built-in functions (as defined by negate_mathfn_p).
5828169689Skan	(fold): Adjust calls to tree_swap_operands_p.
5829169689Skan	(fold <NEGATE_EXPR>): Move the remaining negation optimizations
5830169689Skan	to negate_expr_p/negate_expr.
5831169689Skan	(fold <MINUS_EXPR>): Use reorder_operands_p to check whether we're
5832169689Skan	allowed to convert (-A) - B into (-B) - A.
5833169689Skan
5834169689Skan2003-10-11  Roger Sayle  <roger@eyesopen.com>
5835169689Skan
5836169689Skan	* builtins.c (expand_builtin_strcmp): Defend against the possibility
5837169689Skan	that gen_cmpstrsi may fail: Stabilize the argument list against
5838169689Skan	re-evaluation and expand the library call directly using this saved
5839169689Skan	argument list if a cmpstrsi sequence can't be generated.
5840169689Skan	(expand_builtin_strncmp): Likewise.
5841169689Skan
5842169689Skan	* config/i386/i386.md (cmpstrsi, movstrsi): Disable with -Os.
5843169689Skan
5844169689Skan2003-10-11  Roger Sayle  <roger@eyesopen.com>
5845169689Skan
5846169689Skan	PR optimization/12260
5847169689Skan	* simplify-rtx.c (simplify_unary_operation): Simplify all unary
5848169689Skan	operations through CONST nodes.  Optimize (neg (plus X C)) as
5849169689Skan	(minus -C X) for constant values C.
5850169689Skan	(simplify_binary_operation): Optimize (minus (neg X) C) as
5851169689Skan	(minus -C X) for constant values C.
5852169689Skan	(simplify_plus_minus): Avoid creating (neg (const (plus X C)),
5853169689Skan	instead create (minus -C X).
5854169689Skan
5855169689Skan2003-10-11  Roger Sayle  <roger@eyesopen.com>
5856169689Skan
5857169689Skan	* expr.c (expand_expr <PLUS_EXPR>): Let expand_operands call
5858169689Skan	safe_from_p for us, once it chooses an evaluation order.
5859169689Skan	(expand_expr <MULT_EXPR>): Likewise.
5860169689Skan	(expand_expr <MIN_EXPR> <MAX_EXPR>): Likewise.  If expand_operands
5861169689Skan	places the second operand in "target", swap the operands.
5862169689Skan	(do_store_flag): Let expand_operands call safe_from_p for us.
5863169689Skan
5864169689Skan2003-10-11  Eric Botcazou  <ebotcazou@libertysurf.fr>
5865169689Skan
5866169689Skan	PR optimization/12544
5867169689Skan	* function.c (put_var_into_stack): Don't generate ADDRESSOFs
5868169689Skan	for DECL_NONLOCAL decls.
5869169689Skan
5870169689Skan2003-10-11  Kazu Hirata  <kazu@cs.umass.edu>
5871169689Skan
5872169689Skan	* expr.c: Follow spelling conventions.
5873169689Skan	* final.c: Likewise.
5874169689Skan	* optabs.c: Likewise.
5875169689Skan	* sched-deps.c: Likewise.
5876169689Skan	* sdbout.c: Likewise.
5877169689Skan
5878169689SkanSat Oct 11 12:24:23 CEST 2003  Jan Hubicka  <jh@suse.cz>
5879169689Skan
5880169689Skan	* varasm.c (notice_global_symbol):  Fix handling of variables; avoid
5881169689Skan	re-computing of variable.
5882169689Skan
5883169689Skan2003-10-11  Richard Henderson  <rth@redhat.com>
5884169689Skan
5885169689Skan	* config/alpha/alpha.c (alpha_return_in_memory): Rename from
5886169689Skan	return_in_memory, make static, change signature to match target hook.
5887169689Skan	(alpha_setup_incoming_varargs): Make static, change signature to
5888169689Skan	match target hook, add code for vms and unicos.
5889169689Skan	(TARGET_PROMOTE_FUNCTION_ARGS, TARGET_PROMOTE_FUNCTION_RETURN,
5890169689Skan	TARGET_PROMOTE_PROTOTYPES, TARGET_STRUCT_VALUE_RTX,
5891169689Skan	TARGET_RETURN_IN_MEMORY, TARGET_SETUP_INCOMING_VARARGS,
5892169689Skan	TARGET_STRICT_ARGUMENT_NAMING,
5893169689Skan	TARGET_PRETEND_OUTGOING_VARARGS_NAMED): New.
5894169689Skan	* config/alpha/alpha-protos.h: Update.
5895169689Skan	* config/alpha/alpha.h (PROMOTE_FUNCTION_ARGS,
5896169689Skan	PROMOTE_FUNCTION_RETURN, RETURN_IN_MEMORY,
5897169689Skan	SETUP_INCOMING_VARARGS): Remove.
5898169689Skan	* config/alpha/unicosmk.h (SETUP_INCOMING_VARARGS): Remove.
5899169689Skan	* config/alpha/vms.h (SETUP_INCOMING_VARARGS): Remove.
5900169689Skan
5901169689Skan2003-10-11  Ian Lance Taylor  <ian@wasabisystems.com>
5902169689Skan
5903169689Skan	* config/arm/arm.c (arm_regno_class): Handle IWMMXT_GR_REGS.
5904169689Skan
5905169689Skan2003-10-11  Kazu Hirata  <kazu@cs.umass.edu>
5906169689Skan
5907169689Skan	* config/m68k/lb1sf68.asm: Follow spelling conventions.
5908169689Skan	* config/m68k/m68k.c: Likewise.
5909169689Skan	* config/m68k/m68k.h: Likewise.
5910169689Skan	* config/m68k/m68k.md: Likewise.
5911169689Skan
5912169689Skan2003-10-11  Roger Sayle  <roger@eyesopen.com>
5913169689Skan
5914169689Skan	* builtins.c (expand_builtin_memcpy): Optimize case when the two
5915169689Skan	pointer arguments are the equal, non-volatile and side-effect free.
5916169689Skan	(expand_builtin_mempcpy): Likewise.
5917169689Skan	(expand_builtin_memmove): Likewise.
5918169689Skan	(expand_builtin_strcpy): Likewise.
5919169689Skan	(expand_builtin_memcmp): Likewise.
5920169689Skan	(expand_builtin_strcmp): Likewise.
5921169689Skan	(expand_builtin_strncmp): Likewise.
5922169689Skan
5923169689Skan2003-10-11  Roger Sayle  <roger@eyesopen.com>
5924169689Skan
5925169689Skan	* combine.c (apply_distributive_law): Enable "distributive" floating
5926169689Skan	point optimizations with -funsafe-math-optimizations.
5927169689Skan
5928169689Skan2003-10-11  Andrew Pinski <pinskia@physics.uc.edu>
5929169689Skan
5930169689Skan	* genmodes.c (emit_mode_mask) Change MASK to MODE_MASK.
5931169689Skan
5932169689Skan2003-10-11  Kazu Hirata  <kazu@cs.umass.edu>
5933169689Skan
5934169689Skan	* config/m68k/m68k-protos.h: Remove the prototype for
5935169689Skan	finalize_pic.
5936169689Skan
5937169689Skan2003-10-11  Kazu Hirata  <kazu@cs.umass.edu>
5938169689Skan
5939169689Skan	* config/m68k/m68k.c: Fix comment typos.
5940169689Skan
5941169689Skan2003-10-11  Bernardo Innocenti  <bernie@develer.com>
5942169689Skan
5943169689Skan	* config/m68k/m68k-protos.h (use_return_insn): Change return type from
5944169689Skan	int to bool.
5945169689Skan	* config/m68k/m68k.c (struct m68k_frame): Add funcdef_no member.
5946169689Skan	(current_frame): New global var.
5947169689Skan	(m68k_compute_frame_layout): Cache computations in current_frame.
5948169689Skan	(m68k_initial_elimination_offset): Use values from current_frame
5949169689Skan	instead of recomputing them.
5950169689Skan	(use_return_insn): Likewise.
5951169689Skan	(m68k_output_function_prologue): Likewise.
5952169689Skan	(m68k_output_function_epilogue): Likewise.
5953169689Skan	* config/m68k/m68k.h (TARGET_CPU_CPP_PREDEFINES): Fold __PIC__ handling
5954169689Skan	inside the block for __pic__.
5955169689Skan
5956169689Skan2003-10-11  Peter Barada <peter@baradas.org>
5957169689Skan	    Bernardo Innocenti  <bernie@develer.com>
5958169689Skan
5959169689Skan	* config/m68k/m68k.c (m68k_frame): Move before protos referencing it.
5960169689Skan	(m68k_save_reg): Add boolean parameter `interrupt_handler'.
5961169689Skan	(m68k_interrupt_function_p): New function.
5962169689Skan	(m68k_handle_fndecl_attribute): Ditto.
5963169689Skan	(m68k_compute_frame_layout): Ditto.
5964169689Skan	(m68k_attribute_table): Define back-end specific attributes.
5965169689Skan	(m68k_output_function_epilogue): Emit RTE instruction for interrupt
5966169689Skan	functions.
5967169689Skan
5968169689Skan2003-10-11  Bernardo Innocenti  <bernie@develer.com>
5969169689Skan
5970169689Skan	* config/m68k/t-uclinux: New target Makefile fragment.
5971169689Skan	* config/m68k/uclinux.h: New target macro file.
5972169689Skan	* config.gcc (m68k-*-uclinux): New target definition.
5973169689Skan
5974169689Skan2003-10-10  Roger Sayle  <roger@eyesopen.com>
5975169689Skan
5976169689Skan	* builtins.c (builtin_mathfn_code): Generalize to check whether
5977169689Skan	the call is to any built-in function by comparing the call's
5978169689Skan	argument list against the builtin decl's function type.
5979169689Skan
5980169689Skan2003-10-10  Roger Sayle  <roger@eyesopen.com>
5981169689Skan
5982169689Skan	* cse.c (constant_pool_entries_regcost): New global variable to
5983169689Skan	hold the register cost component of constant_pool_entries_cost.
5984169689Skan	(fold_rtx): Calculate constant_pool_entries_regcost at the same
5985169689Skan	time as constant_pool_entries_cost.
5986169689Skan	(cse_insn): Set both src_folded_cost and src_folded_regcost from
5987169689Skan	constant_pool_entries_cost and constant_pool_entries_regcost.
5988169689Skan	(cse_main): Initialize constant_pool_entries_regcost to zero.
5989169689Skan
5990169689Skan	* optabs.c (expand_unop): Attach a REG_EQUAL note describing
5991169689Skan	the semantics of the sequence of bit operations used to negate
5992169689Skan	a floating-point value.
5993169689Skan	(expand_abs_nojump): Likewise attach a REG_EQUAL note describing
5994169689Skan	the semantics of the bit operations used to abs a floating point
5995169689Skan	value.
5996169689Skan
5997169689Skan2003-10-11  Bernardo Innocenti  <bernie@develer.com>
5998169689Skan	    Paul Dale  <pauli@snapgear.com>
5999169689Skan
6000169689Skan	* config/m68k/lb1sf68.asm: Add __PIC__ and __ID_SHARED_LIBRARY__
6001169689Skan	support.
6002169689Skan	* config/m68k/m68k-none.h (ASM_SPEC): Pass --pcrel to assembler on
6003169689Skan	-fpic, -fPIC, -msep-data and -mid-shared-library.
6004169689Skan	* config/m68k/m68k.c (m68k_library_id_string): New global variable.
6005169689Skan	(override_options): Add -msep-data and -mshared-library-id support.
6006169689Skan	(m68k_output_function_prologue): Generate code to load A5 for
6007169689Skan	TARGET_ID_SHARED_LIBRARY and TARGET_SEP_DATA.
6008169689Skan	(m68k_output_mi_thunk): Emit indirect jump on TARGET_ID_SHARED_LIBRARY.
6009169689Skan	(m68k_output_pic_call): New function.
6010169689Skan	* gcc/config/m68k/m68k.h (TARGET_SEP_DATA): New target flag.
6011169689Skan	(TARGET_ID_SHARED_LIBRARY): Ditto.
6012169689Skan	(TARGET_SWITCHES): Add switches for -mid-shared-library and -msep-data.
6013169689Skan	* gcc/config/m68k/m68k.md (call): Call m68k_output_pic_call().
6014169689Skan	(call_value): Likewise.
6015169689Skan
6016169689Skan2003-10-10  Zack Weinberg  <zack@codesourcery.com>
6017169689Skan
6018169689Skan	* gengenrtl.c (find_formats, genheader): Make i an unsigned
6019169689Skan	int, remove cast of NUM_RTX_CODE.
6020169689Skan	* machmode.h: Make the HAVE_MACHINE_MODES #ifdef encompass the
6021169689Skan	entire file.  Remove the #ifs on GET_MODE_MASK etc and
6022169689Skan	GET_MODE_WIDER_MODE etc.
6023169689Skan
6024169689Skan2003-10-10  Eric Christopher  <echristo@redhat.com>
6025169689Skan
6026169689Skan	* lcm.c (optimize_mode_switching): Change NORMAL_MODE
6027169689Skan	to MODE_ENTRY and MODE_EXIT. Add MODE_AFTER for insns
6028169689Skan	that set mode.
6029169689Skan	* config/sh/sh.h (MODE_ENTRY): New macro.
6030169689Skan	(MODE_EXIT): Ditto.
6031169689Skan	(MODE_AFTER): Ditto.
6032169689Skan	* config/sh/sh.md: Change for MODE_AFTER. Add
6033169689Skan	fp_set attribute.
6034169689Skan	* doc/tm.texi: Document MODE_AFTER, MODE_ENTRY, and MODE_EXIT.
6035169689Skan
6036169689Skan2003-10-10  Zack Weinberg  <zack@codesourcery.com>
6037169689Skan
6038169689Skan	* genmodes.c, mode-classes.def: New files.
6039169689Skan	* machmode.def: Rewritten to genmodes.c interface.
6040169689Skan	* Makefile.in (extra_modes_file): New substitution variable.
6041169689Skan	(MACHMODE_H): No longer includes machmode.def or
6042169689Skan	@extra_modes_file@; instead, mode-classes.def and insn-modes.h.
6043169689Skan	(BUILD_RTL): Add $(BUILD_PREFIX)insn-modes.o.
6044169689Skan	(OBJS-common): Add insn-modes.o.
6045169689Skan	(STAGESTUFF): Add insn-modes.c, insn-modes.h, s-modes, and
6046169689Skan	genmodes$(build_exeext).
6047169689Skan	(insn-modes.o, insn-modes.c, insn-modes.h, s-modes, genmodes.o,
6048169689Skan	genmodes$(build_exeext), $(BUILD_PREFIX_1)insn-modes.o): New targets.
6049169689Skan	(s-genrtl): Don't depend on $(RTL_BASE_H).
6050169689Skan	(gengenrtl.o): Don't depend on coretypes.h, $(GTM_H), real.h,
6051169689Skan	or $(RTL_BASE_H); just rtl.def.
6052169689Skan	* gengenrtl.c: Don't include coretypes.h, tm.h, rtl.h, or
6053169689Skan	real.h.  Give fake definition of CONST_DOUBLE_FORMAT and
6054169689Skan	substitute definition of NUM_RTX_CODE.  Add casts to avoid
6055169689Skan	warnings.
6056169689Skan	* machmode.h: Include insn-modes.h, not machmode.def.  Include
6057169689Skan	mode-classes.def to define enum mode_class.  Tweak definitions
6058169689Skan	of GET_MODE_CLASS, GET_MODE_SIZE, GET_MODE_BITSIZE, GET_MODE_MASK,
6059169689Skan	GET_MODE_INNER, GET_MODE_WIDER_MODE, GET_CLASS_NARROWEST_MODE.
6060169689Skan	(inner_mode_array): Renamed mode_inner.
6061169689Skan	(mode_base_align): New.
6062169689Skan	* rtl.c (mode_name, mode_class, mode_bitsize, mode_size,
6063169689Skan	mode_unit_size, mode_wider_mode, mode_mask_array,
6064169689Skan	inner_mode_array, class_narrowest_mode): Delete definitions.
6065169689Skan	* stor-layout.c (get_mode_alignment): Use mode_base_align.
6066169689Skan	* real.h: Use MIN_MODE_FLOAT and MAX_MODE_FLOAT, not QFmode
6067169689Skan	and TFmode, in real_format_for_mode and REAL_MODE_FORMAT.
6068169689Skan
6069169689Skan	* config/ip2k/ip2k.h, config/iq2000/iq2000.h:
6070169689Skan	No need to define BITS_PER_UNIT.
6071169689Skan
6072169689Skan2003-10-10  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6073169689Skan
6074169689Skan	* config/ia64/ia64.c (ia64_vms_init_libfuncs): New function.
6075169689Skan	(ia64_output_function_prologue): Only write .prologue if --with-gnu-as.
6076169689Skan	(ia64_initialize_trampoline): If not using GAS, declare trampoline
6077169689Skan	as global.
6078169689Skan	* config/ia64/ia64.h (ASM_APP_ON, ASM_APP_OFF): Add vers for not GAS.
6079169689Skan	(ASM_OUTPUT_DEBUG_LABEL): Likewise.
6080169689Skan
6081169689Skan	* stor-layout.c (compute_record_mode): Don't force BLKmode if
6082169689Skan	field is zero-length BLKmode.
6083169689Skan	* expr.c (expand_expr, case COMPONENT_REF): Handle case of BLKmode
6084169689Skan	zero-size references.
6085169689Skan
6086169689Skan	* combine.c (distribute_links): Properly test for REG being set.
6087169689Skan
6088169689Skan	* config/alpha/alpha.c (alpha_expand_block_mode): Don't use
6089169689Skan	gen_lowpart and company except for REG.
6090169689Skan
6091169689Skan2003-10-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6092169689Skan
6093169689Skan	* pa64-hpux.h (LINK_SPEC): Use `-z' option with HP ld.
6094169689Skan
6095169689Skan2003-10-10  Nathanael Nerode  <neroden@gcc.gnu.org>
6096169689Skan
6097169689Skan	* config.gcc (mips*-*-netbsd*): Remove content-free line.
6098169689Skan
6099169689Skan2003-10-10  Herman A.J. ten Brugge <hermantenbrugge@home.nl>
6100169689Skan
6101169689Skan	* gcov-io.h: Check BITS_PER_UNIT when defining gcov_unsigned_t,
6102169689Skan	gcov_position_t and gcov_type.
6103169689Skan
6104169689Skan2003-10-09  Kaz Kojima  <kkojima@gcc.gnu.org>
6105169689Skan
6106169689Skan	* configure.in (HAVE_AS_TLS): Add sh-*-* and sh[34]*-*-* cases.
6107169689Skan	* configure: Regenerate.
6108169689Skan
6109169689Skan2003-10-09  Kazu Hirata  <kazu@cs.umass.edu>
6110169689Skan
6111169689Skan	* config/h8300/h8300.md (define_asm_attributes): Specify
6112169689Skan	the length of an asm insn more precisely.
6113169689Skan
6114169689Skan2003-10-09  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6115169689Skan
6116169689Skan	* config/mips/iris6.h (SUBTARGET_CPP_SPEC): Define.
6117169689Skan
6118169689Skan2003-10-09  Bob Wilson  <bob.wilson@acm.org>
6119169689Skan
6120169689Skan	* config/xtensa/xtensa.c (xtensa_dbx_register_number): Change first
6121169689Skan	FP register number to 48 and MAC16 accumulator to 0x210.
6122169689Skan
6123169689Skan2003-10-09  Nathanael Nerode  <neroden@gcc.gnu.org>
6124169689Skan
6125169689Skan	* config.gcc: Remove redundant thread_file setting clauses for
6126169689Skan	various *-*-linux* targets.
6127169689Skan
6128169689Skan2003-10-09  Kazu Hirata  <kazu@cs.umass.edu>
6129169689Skan
6130169689Skan	* config/h8300/h8300.md (define_asm_attributes): New.
6131169689Skan
6132169689Skan2003-10-09  Roger Sayle  <roger@eyesopen.com>
6133169689Skan
6134169689Skan	* optabs.c (prepare_float_lib_cmp): Always attach a REG_EQUAL note
6135169689Skan	to the comparison, as emit_libcall_block calls copy_rtx on equiv.
6136169689Skan
6137169689Skan2003-10-09  Dorit Naishlos  <dorit@il.ibm.com>
6138169689Skan
6139169689Skan	* haifa-sched.c (ok_for_early_schedule): New function.
6140169689Skan	(early_queue_to_ready): New function.
6141169689Skan	(schedule_block): Allow early removal of insns from Q.
6142169689Skan	(schedule_insn): Update INSN_TICK in case of premature
6143169689Skan	issue.
6144169689Skan	* common.opt (sched_stalled_insns): New flag.
6145169689Skan	(sched_stalled_insns_dep): New flag.
6146169689Skan	* flags.h: Same above flags.
6147169689Skan	* opts.c: Same as above.
6148169689Skan	* toplev.c: Same as above.
6149169689Skan	* target.h (targetm.sched.is_costly_dependence): New
6150169689Skan	hook.
6151169689Skan	* target-def.h: Same as above.
6152169689Skan	* config/rs6000/rs6000.h: (rs6000_sched_costly_dep):
6153169689Skan	Support new flag -msched-costly-dep.
6154169689Skan	(DEFAULT_SCHED_COSTLY_DEP): Define.
6155169689Skan	* config/rs6000/rs6000.c:
6156169689Skan	(rs6000_is_costly_dependence): New function.
6157169689Skan	(is_load_insn, is_store_insn): New functions.
6158169689Skan	(is_load_insn1, is_store_insn1, is_mem_ref): New
6159169689Skan	functions.
6160169689Skan	* doc/invoke.texi (-fsched-stalled-insns-dep)
6161169689Skan	(-fsched-stalled-insns, -msched-costly-dep): Document
6162169689Skan	options.
6163169689Skan	* doc/tm.texi (is_costly_dependence): Define new
6164169689Skan	scheduler target hook.
6165169689Skan
6166169689Skan2003-10-09  Jason Merrill  <jason@redhat.com>
6167169689Skan
6168169689Skan	PR c++/6392
6169169689Skan	* c-common.c (c_build_qualified_type): Look through arrays first.
6170169689Skan	(c_apply_type_quals_to_decl): Look through arrays.
6171169689Skan
6172169689Skan	* c-common.c (c_apply_type_quals_to_decl): Unset TREE_READONLY for
6173169689Skan	types with constructors.
6174169689Skan
6175169689Skan	* coverage.c (build_ctr_info_value): Use build_decl to make a
6176169689Skan	VAR_DECL.
6177169689Skan	(create_coverage): Likewise.
6178169689Skan
6179169689Skan	* stmt.c (resolve_asm_operand_names): Call check_unique_operand_names
6180169689Skan	here.
6181169689Skan	(expand_asm_operands): Not here.
6182169689Skan	(parse_input_constraint): No longer static.
6183169689Skan	* tree.h: Declare it.
6184169689Skan
6185169689Skan2003-10-08  Kaz Kojima  <kkojima@gcc.gnu.org>
6186169689Skan
6187169689Skan	* config/sh/t-linux (SHLIB_LINK): Override to use a linker script
6188169689Skan	libgcc_s.so.
6189169689Skan	(SHLIB_INSTALL): Likewise.
6190169689Skan
6191169689Skan2003-10-08  Nathanael Nerode  <neroden@gcc.gnu.org>
6192169689Skan
6193169689Skan	* doc/install.texi: Remove reference to removed 'pthreads' thread
6194169689Skan	option.
6195169689Skan
6196169689Skan2003-10-08  Aldy Hernandez  <aldyh@redhat.com>
6197169689Skan
6198169689Skan	* config/rs6000/rs6000.md ("abssi2_isel"): Add early clobber to
6199169689Skan	operand 2.
6200169689Skan
6201169689Skan2003-10-08  Nathanael Nerode  <neroden@gcc.gnu.org>
6202169689Skan
6203169689Skan	* config.gcc: Don't accept --enable-threads=pthreads.  Clean
6204169689Skan	up related case statements.
6205169689Skan	* configure.in: Don't accept --enable-threads=pthreads,
6206169689Skan	decosf1, mach, or os2 (none of which work anyway).  Alphabetize
6207169689Skan	supported thread files in case clause.
6208169689Skan	* configure: Regenerate.
6209169689Skan
6210169689Skan2003-10-08  Geoffrey Keating  <geoffk@apple.com>
6211169689Skan
6212169689Skan	* function.c (pad_to_arg_alignment): Move 'boundary_in_bytes'
6213169689Skan	definition to above SPARC_STACK_BOUNDARY_HACK.
6214169689Skan
6215169689Skan2003-10-08  Jason Merrill  <jason@redhat.com>
6216169689Skan
6217169689Skan	* c-pretty-print.c (pp_c_postfix_expression)
6218169689Skan	<COMPOUND_LITERAL_EXPR>: Fix thinko.
6219169689Skan
6220169689Skan2003-10-08  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6221169689Skan
6222169689Skan	* mklibgcc.in: Don't hide undefined or typeless symbols.
6223169689Skan
6224169689Skan2003-10-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6225169689Skan
6226169689Skan	PR optimization/12142
6227169689Skan	* cse.c (count_reg_usage): In a SET with a REG SET_DEST, count the
6228169689Skan	uses of the register in the SET_SRC.  Remove unnecessary argument.
6229169689Skan	* pa.c (legitimize_pic_address): Before reload, use a scratch register
6230169689Skan	for the intermediate result in loading the address of a SYMBOL_REF.
6231169689Skan	Set the MEM_NOTRAP_P flag for the MEM.  Add a REG_EQUAL to the insn
6232169689Skan	which loads the SYMBOL_REF address.
6233169689Skan
6234169689Skan2003-10-08  Timo Kokkonen  <tjko@iki.fi>
6235169689Skan	    Eric Botcazou  <ebotcazou@libertysurf.fr>
6236169689Skan
6237169689Skan	PR bootstrap/12490
6238169689Skan	* scan-decls.c (MAX_EXTERN_C_BRACES): New preprocessor constant
6239169689Skan	to define the size of the extern_C_braces array.  Set it to 200.
6240169689Skan	(scan_decls): Abort when extern_C_braces_length is out-of-bounds.
6241169689Skan
6242169689Skan2003-10-08  Carlo Wood  <carlo@alinoe.com>
6243169689Skan
6244169689Skan	* Makefile.in (gengtype-lex.c): flex 2.5.4[a] doesn't understand
6245169689Skan	a space after the -o option.  flex 2.5.31 understands both, with
6246169689Skan	and without the space. Removed that space.
6247169689Skan
6248169689Skan2003-10-08  Richard Sandiford  <rsandifo@redhat.com>
6249169689Skan
6250169689Skan	* config/mips/mips.c (mips_frame_info): Add cprestore_size field.
6251169689Skan	(compute_frame_size): Initialize it.  Remove the .cprestore slot
6252169689Skan	from args_size.
6253169689Skan	(mips_output_function_prologue): Simplify accordingly.
6254169689Skan	(mips_debugger_offset): Change the mips16 frame pointer offset from
6255169689Skan	current_function_outgoing_args to cfun->machine->frame.args_size.
6256169689Skan	(mips_initial_elimination_offset): Likewise.
6257169689Skan	(mips_expand_prologue): Likewise.
6258169689Skan	(mips_expand_epilogue): Likewise.
6259169689Skan
6260169689Skan2003-10-08  Richard Sandiford  <rsandifo@redhat.com>
6261169689Skan
6262169689Skan	* config/mips/mips.h (EXTRA_CONSTRAINT): Add 'W' constraint.
6263169689Skan	(EXTRA_MEMORY_CONSTRAINT): Define.
6264169689Skan	(CAN_ELIMINATE): Remove lwu workaround.
6265169689Skan	* config/mips/mips.md (*zero_extendsidi2_mem): Enable for mips16 too.
6266169689Skan	Use a 'W' constraint for the source operand.
6267169689Skan
6268169689Skan2003-10-08  Kazu Hirata  <kazu@cs.umass.edu>
6269169689Skan
6270169689Skan	* genopinit.c (main): Output code to declare undefined
6271169689Skan	variables.
6272169689Skan
6273169689Skan2003-10-07  Kelley Cook  <kcook@gcc.gnu.org>
6274169689Skan
6275169689Skan	* gengtype-lex.l: Remove -Wtraditional cruft.
6276169689Skan	* Makefile.in (gengtype-lex.c): Likewise.
6277169689Skan
6278169689Skan2003-10-07  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
6279169689Skan
6280169689Skan	* cfgloopmanip.c (fix_irreducible_loops): Initialize e correctly.
6281169689Skan
6282169689Skan2003-10-07  Jason Merrill  <jason@redhat.com>
6283169689Skan
6284169689Skan	PR c++/12519
6285169689Skan	* c-semantics.c (genrtl_cleanup_stmt): Ignore the CLEANUP_DECL if
6286169689Skan	it isn't a decl.
6287169689Skan
6288169689Skan2003-10-07  Alexandre Oliva  <aoliva@redhat.com>
6289169689Skan
6290169689Skan	* gcc.c (cpp_options): Only pass -fworking-directory for -g* if
6291169689Skan	not overridden.
6292169689Skan	Fixes PR bootstrap/12173.
6293169689Skan
6294169689Skan2003-10-07  Zack Weinberg  <zack@codesourcery.com>
6295169689Skan
6296169689Skan	* errors.c: Don't include coretypes.h or tm.h.
6297169689Skan	(trim_filename): Use IS_DIR_SEPARATOR.
6298169689Skan	* Makefile.in: Update dependencies of errors.o and
6299169689Skan	$(BUILD_PREFIX_1)errors.o.
6300169689Skan
6301169689Skan2003-10-07  Geoffrey Keating  <geoffk@apple.com>
6302169689Skan
6303169689Skan	* function.c (pad_to_arg_alignment): Take STACK_POINTER_OFFSET into
6304169689Skan	account	when aligning arguments.
6305169689Skan	* calls.c (STACK_POINTER_OFFSET): Move default from here ...
6306169689Skan	* defaults.h (STACK_POINTER_OFFSET): ... to here.
6307169689Skan	* config/sparc/sparc.h (STACK_BOUNDARY): Add comment about how
6308169689Skan	it's wrong when TARGET_ARCH64 && TARGET_STACK_BIAS.
6309169689Skan	(SPARC_STACK_BOUNDARY_HACK): Define.
6310169689Skan	* config/rs6000/rs6000.c (function_arg): On non-SVR4 systems,
6311169689Skan	arrange for vector parameters to varargs functions to be passed
6312169689Skan	in both memory and GPRs when appropriate.
6313169689Skan	(rs6000_va_arg): Vector arguments passed in memory are 16-byte
6314169689Skan	aligned.
6315169689Skan
6316169689Skan	* hooks.c (hook_bool_tree_true): New.
6317169689Skan	(hook_rtx_tree_int_null): New.
6318169689Skan	(hook_rtx_rtx_null): Use NULL, not 0.
6319169689Skan	* hooks.h: Add 'extern' to everything.
6320169689Skan	(hook_bool_tree_true): New.
6321169689Skan	(hook_rtx_tree_int_null): New.
6322169689Skan	* targhooks.c (hook_bool_CUMULATIVE_ARGS_true): New.
6323169689Skan	* targhooks.h (hook_bool_CUMULATIVE_ARGS_true): New.
6324169689Skan	* config/rs6000/rs6000-protos.h (setup_incoming_varargs): Remove
6325169689Skan	prototype.
6326169689Skan	* config/rs6000/rs6000.c (rs6000_return_in_memory): New.
6327169689Skan	(setup_incoming_varargs): Prototype.
6328169689Skan	(TARGET_PROMOTE_FUNCTION_ARGS): Define.
6329169689Skan	(TARGET_PROMOTE_FUNCTION_RETURN): Define.
6330169689Skan	(TARGET_STRUCT_VALUE_RTX): Define.
6331169689Skan	(TARGET_RETURN_IN_MEMORY): Define.
6332169689Skan	(TARGET_SETUP_INCOMING_VARARGS): Define.
6333169689Skan	(TARGET_STRICT_ARGUMENT_NAMING): Define.
6334169689Skan	(TARGET_PRETEND_OUTGOING_VARARGS_NAMED): Define.
6335169689Skan	(init_cumulative_args): Use rs6000_return_in_memory.
6336169689Skan	(setup_incoming_varargs): Make 'static'.
6337169689Skan	* config/rs6000/rs6000.h (PROMOTE_FUNCTION_ARGS): Delete.
6338169689Skan	(PROMOTE_FUNCTION_RETURN): Delete.
6339169689Skan	(STRUCT_VALUE): Delete.
6340169689Skan	(RETURN_IN_MEMORY): Delete.
6341169689Skan	(SETUP_INCOMING_VARARGS): Delete.
6342169689Skan
6343169689Skan2003-10-07  Gerald Pfeifer  <gerald@pfeifer.com>
6344169689Skan
6345169689Skan	* doc/invoke.texi (Warning Options): Simplify and clarify the
6346169689Skan	descriptions of -Wnonnull and -Winit-self.
6347169689Skan
6348169689Skan2003-10-07  Richard Earnshaw  <rearnsha@arm.com>
6349169689Skan
6350169689Skan	* optabs.c (init_intraclass_conv_libfuncs): Fix order of array
6351169689Skan	indicees for floating-point conversersion libcalls.
6352169689Skan
6353169689Skan2003-10-07  Nathanael Nerode  <neroden@gcc.gnu.org>
6354169689Skan
6355169689Skan	* Makefile.in: Add more comments separating large conceptually
6356169689Skan	separate sections.
6357169689Skan
6358169689Skan	* configure.in: Clean up thread file logic.
6359169689Skan	* configure: Regenerate.
6360169689Skan
6361169689Skan2003-10-07  Danny Smith  <dannysmith@users.sourceforge.net>
6362169689Skan
6363169689Skan	* config/i386/cygming.h (READONLY_DATA_SECTION_ASM_OP): Define.
6364169689Skan	(switch_to_section): Handle in_readonly_data.
6365169689Skan	* config/i386/winnt.c (i386_pe_asm_named_section): Handle
6366169689Skan	readonly data.
6367169689Skan
6368169689Skan2003-10-07  Richard Earnshaw  <rearnsha@arm.com>
6369169689Skan
6370169689Skan	* arm.md (cmpsi2_addneg): New ARM pattern. Add peephole2 to generate
6371169689Skan	it.
6372169689Skan	(cbranchne_decr1): New Thumb pattern.
6373169689Skan	* arm.c (arm_addimm_operand): New insn predicate.
6374169689Skan	* arm-protos.h: Add a prototype for it.
6375169689Skan	* arm.h (PREDICATE_CODES): Add it.
6376169689Skan
6377169689Skan2003-10-07  Dorit Naishlos <dorit@il.ibm.com>
6378169689Skan
6379169689Skan	* sched-int.h (sched_info): New field
6380169689Skan	sched_max_insns_priority.
6381169689Skan	* sched-rgn.c (init_ready_list): Add invocations to
6382169689Skan	targetm.sched.adjust_priority.
6383169689Skan	(sched_max_insns_priority): Init new field.
6384169689Skan	* sched-ebb.c (sched_max_insns_priority): Init new field.
6385169689Skan	* haifa-sched.c (set_priorities): Set
6386169689Skan	sched_info->sched_max_insns_priority.
6387169689Skan	* config/rs6000/rs6000.h:
6388169689Skan	(rs6000_sched_restricted_insns_priority_str): Support new
6389169689Skan	flag -mprioritize-restricted-insns.
6390169689Skan	(DEFAULT_RESTRICTED_INSNS_PRIORITY): Define.
6391169689Skan	* config/rs6000/rs6000.c (is_dispatch_slot_restricted): New
6392169689Skan	function.
6393169689Skan	(rs6000_adjust_priority): Change priority of restricted
6394169689Skan	insns, using above new function and new flag.
6395169689Skan	* doc/invoke.texi (-mprioritize-restricted-insns): Document
6396169689Skan	new option.
6397169689Skan
6398169689Skan2003-10-07  Zack Weinberg  <zack@codesourcery.com>
6399169689Skan
6400169689Skan	* expr.c (cmpstr_optab, cmpmem_optab): New.
6401169689Skan	* genopinit.c: Initialize them.
6402169689Skan	* optabs.h: Declare them.
6403169689Skan	* optabs.c (init_optabs): Clear them.
6404169689Skan	(prepare_cmp_insn):  Use cmpstr_optab and cmpmem_optab to find
6405169689Skan	block memory compare insns, not conditional chains.  Restructure
6406169689Skan	the fallback generation of a call to memcmp/bcmp for better
6407169689Skan	readability.
6408169689Skan
6409169689Skan2003-10-07  Richard Sandiford  <rsandifo@redhat.com>
6410169689Skan
6411169689Skan	* config/mips/mips.c (MIPS_MAX_FIRST_STACK_STEP): New macro.
6412169689Skan	(mips_save_restore_fn): New typedef.
6413169689Skan	(mips_add_large_offset_to_sp, mips_emit_frame_related_store): Remove.
6414169689Skan	(mips_set_frame_expr, mips_frame_set): Move above prologue code.
6415169689Skan	(save_restore_insns): Remove, replacing with...
6416169689Skan	(mips_save_restore_reg, mips_for_each_saved_reg): ...these new fns.
6417169689Skan	(mips_save_reg, mips_restore_reg): New function.
6418169689Skan	(mips_expand_prologue, mips_expand_epilogue): Rework.
6419169689Skan	* config/mips/mips.h (MIPS_TEMP1_REGNUM, MIPS_TEMP2_REGNUM): Remove.
6420169689Skan	(MIPS_PROLOGUE_TEMP_REGNUM, MIPS_EPILOGUE_TEMP_REGNUM): New macros.
6421169689Skan	(MIPS_PROLOGUE_TEMP, MIPS_EPILOGUE_TEMP): New macros.
6422169689Skan
6423169689Skan2003-10-07  Richard Sandiford  <rsandifo@redhat.com>
6424169689Skan
6425169689Skan	* config/mips/mips.c (mips_expand_prologue): Remove unused
6426169689Skan	traversal of function arguments.
6427169689Skan
6428169689Skan2003-10-07  Richard Sandiford  <rsandifo@redhat.com>
6429169689Skan
6430169689Skan	* doc/invoke.texi: Remove documentation of -mentry.
6431169689Skan	* config/mips/mips.c (mips_entry_string, mips_entry): Remove.
6432169689Skan	(override_options, mips_save_reg_p): Remove handling.
6433169689Skan	(compute_frame_size, mips_output_function_prologue): Likewise.
6434169689Skan	(mips_expand_prologue, mips_expand_epilogue): Likewise.
6435169689Skan	* config/mips/mips.h (mips_entry_string): Remove declaration.
6436169689Skan	(TARGET_OPTIONS): Remove -mentry.
6437169689Skan	* config/mips/mips16.S: Remove mention of -mentry.
6438169689Skan
6439169689Skan2003-10-06  Zack Weinberg  <zack@codesourcery.com>
6440169689Skan
6441169689Skan	* libfuncs.h (LTI_extendsfdf2, LTI_extendsfxf2, LTI_extendsftf2)
6442169689Skan	(LTI_extenddfxf2, LTI_extenddftf2, LTI_truncdfsf2, LTI_truncxfsf2)
6443169689Skan	(LTI_trunctfsf2, LTI_truncxfdf2, LTI_trunctfdf2, LTI_floatsisf)
6444169689Skan	(LTI_floatdisf, LTI_floattisf, LTI_floatsidf, LTI_floatdidf)
6445169689Skan	(LTI_floattidf, LTI_floatsixf, LTI_floatdixf, LTI_floattixf)
6446169689Skan	(LTI_floatsitf, LTI_floatditf, LTI_floattitf, LTI_fixsfsi, LTI_fixsfdi)
6447169689Skan	(LTI_fixsfti, LTI_fixdfsi, LTI_fixdfdi, LTI_fixdfti, LTI_fixxfsi)
6448169689Skan	(LTI_fixxfdi, LTI_fixxfti, LTI_fixtfsi, LTI_fixtfdi, LTI_fixtfti)
6449169689Skan	(LTI_fixunssfsi, LTI_fixunssfdi, LTI_fixunssfti, LTI_fixunsdfsi)
6450169689Skan	(LTI_fixunsdfdi, LTI_fixunsdfti, LTI_fixunsxfsi, LTI_fixunsxfdi)
6451169689Skan	(LTI_fixunsxfti, LTI_fixunstfsi, LTI_fixunstfdi, LTI_fixunstfti)
6452169689Skan	(extendsfdf2_libfunc, extendsfxf2_libfunc, extendsftf2_libfunc)
6453169689Skan	(extenddfxf2_libfunc, extenddftf2_libfunc, truncdfsf2_libfunc)
6454169689Skan	(truncxfsf2_libfunc, trunctfsf2_libfunc, truncxfdf2_libfunc)
6455169689Skan	(trunctfdf2_libfunc, floatsisf_libfunc, floatdisf_libfunc)
6456169689Skan	(floattisf_libfunc, floatsidf_libfunc, floatdidf_libfunc)
6457169689Skan	(floattidf_libfunc, floatsixf_libfunc, floatdixf_libfunc)
6458169689Skan	(floattixf_libfunc, floatsitf_libfunc, floatditf_libfunc)
6459169689Skan	(floattitf_libfunc, fixsfsi_libfunc, fixsfdi_libfunc, fixsfti_libfunc)
6460169689Skan	(fixdfsi_libfunc, fixdfdi_libfunc, fixdfti_libfunc, fixxfsi_libfunc)
6461169689Skan	(fixxfdi_libfunc, fixxfti_libfunc, fixtfsi_libfunc, fixtfdi_libfunc)
6462169689Skan	(fixtfti_libfunc, fixunssfsi_libfunc, fixunssfdi_libfunc)
6463169689Skan	(fixunssfti_libfunc, fixunsdfsi_libfunc, fixunsdfdi_libfunc)
6464169689Skan	(fixunsdfti_libfunc, fixunsxfsi_libfunc, fixunsxfdi_libfunc)
6465169689Skan	(fixunsxfti_libfunc, fixunstfsi_libfunc, fixunstfdi_libfunc)
6466169689Skan	(fixunstfti_libfunc): Delete.
6467169689Skan	* optabs.h (struct optab_handlers): Break out of struct optab.
6468169689Skan	(struct convert_optab, convert_optab, enum convert_optab_index,
6469169689Skan	convert_optab_table, sext_optab, zext_optab, trunc_optab,
6470169689Skan	sfix_optab, ufix_optab, sfixtrunc_optab, ufixtrunc_optab,
6471169689Skan	sfloat_optab, ufloat_optab): New.
6472169689Skan	(set_conv_libfunc): Prototype.
6473169689Skan	(GEN_FCN): Use C90 indirect call syntax, remove unnecessary cast.
6474169689Skan	(trunc_optab): Renamed btrunc_optab.
6475169689Skan	* builtins.c (expand_builtin_mathfn): Update to match.
6476169689Skan	* optabs.c (extendtab, fixtab, fixtrunctab, floattab): Delete.
6477169689Skan	(convert_optab_table, new_convert_optab, init_convert_optab)
6478169689Skan	(init_interclass_conv_libfuncs, init_intraclass_conv_libfuncs)
6479169689Skan	(set_conv_libfunc): New.
6480169689Skan	(can_extend_p, gen_extend_insn, can_fix_p, can_float_p)
6481169689Skan	(expand_float, expand_fix): Use new conversion optabs,
6482169689Skan	not old insn code tables or long chains of ifs.
6483169689Skan	(init_optabs): No need to clear old insn code tables.
6484169689Skan	Initialize the new optabs, not the old libfunc array entries.
6485169689Skan	Don't handle FIXUNS_TRUNC_LIKE_FIX_TRUNC here.
6486169689Skan	* genopinit.c: Initialize conversion optabs, not the
6487169689Skan	former insn code tables.  Remove unnecessary casts.
6488169689Skan	Handle FIXUNS_TRUNC_LIKE_FIX_TRUNC here.
6489169689Skan	* expr.c (convert_move): Remove redundant check that
6490169689Skan	to_real==from_real.  Use the conversion optabs instead
6491169689Skan	of long chains of tests of modes.  Move partial-integer-mode
6492169689Skan	interconversion above all integer conversion.  Do not recurse
6493169689Skan	on a value forced into a register in the original mode.
6494169689Skan
6495169689Skan	* config/gofast.h, config/frv/frv.c, config/ia64/ia64.c
6496169689Skan	* config/mips/mips.c, config/pa/pa.c, config/rs6000/rs6000.c
6497169689Skan	* config/sparc/sparc.c: Use set_conv_libfunc to adjust entries
6498169689Skan	in new conversion optabs; do not reference the old libfunc
6499169689Skan	array entries.  No need to include libfuncs.h.
6500169689Skan
6501169689Skan2003-10-06  Roger Sayle  <roger@eyesopen.com>
6502169689Skan
6503169689Skan	* config/i386/i386.c (ix86_expand_setcc): Annotate the floating
6504169689Skan	point comparison sequence with a REG_EQUAL note that describes
6505169689Skan	the comparison's semantics.
6506169689Skan
6507169689Skan2003-10-06  Roger Sayle  <roger@eyesopen.com>
6508169689Skan
6509169689Skan	* expr.c (expand_expr <COND_EXPR>): Handle the void type semantics
6510169689Skan	of COND_EXPR when expanding the "A op 0 ? FOO : A" optimizations.
6511169689Skan
6512169689Skan2003-10-06  Roger Sayle  <roger@eyesopen.com>
6513169689Skan	    Zack Weinberg  <zack@codesourcery.com>
6514169689Skan
6515169689Skan	* optabs.c (prepare_float_lib_cmp): Avoid searching for REG_RETVAL
6516169689Skan	instruction by using LCT_CONST and then calling emit_libcall_block
6517169689Skan	ourselves.
6518169689Skan
6519169689Skan2003-10-06  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
6520169689Skan
6521169689Skan	PR optimization/11974
6522169689Skan	* optabs.c (expand_unop): Promote libcall outmode according to
6523169689Skan	hard_libcall_value.
6524169689Skan
6525169689Skan2003-10-06  Zack Weinberg  <zack@codesourcery.com>
6526169689Skan
6527169689Skan	* real.h (REAL_MODE_FORMAT): New macro.
6528169689Skan	* c-cppbuiltin.c, optabs.c, real.c, config/alpha/alpha.c
6529169689Skan	* config/c4x/c4x.c, config/i370/i370.c, config/i386/freebsd.h
6530169689Skan	* config/i386/i386.c, config/i960/i960.c, config/ia64/ia64.c
6531169689Skan	* config/m68k/m68k.c, config/mips/mips.c, config/rs6000/rs6000.c
6532169689Skan	* config/vax/vax.c: Use REAL_MODE_FORMAT instead of referring
6533169689Skan	directly to real_format_for_mode array, wherever possible.
6534169689Skan
6535169689Skan2003-10-06  Devang Patel  <dpatel@apple.com>
6536169689Skan
6537169689Skan	* dwarf2out.c (is_main_source): Remove variable.
6538169689Skan	(dwarf2out_start_source_file): Do not check is_main_source.
6539169689Skan	Do not reset is_main_source.
6540169689Skan	(dwarf2out_init): Do not initialize is_main_source.
6541169689Skan
6542169689Skan2003-10-06  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6543169689Skan
6544169689Skan	* fixinc/inclhack.def (stdio_va_list): Removed _ap fix.
6545169689Skan	(irix_stdio_va_list): Don't require leading printf, IRIX 6.5.21
6546169689Skan	introduced some multi-line prototypes.
6547169689Skan	* fixinc/fixincl.x: Regenerate.
6548169689Skan
6549169689Skan2003-10-06  Richard Sandiford  <rsandifo@redhat.com>
6550169689Skan
6551169689Skan	* config/mips/mips.h (PREDICATE_CODES): Add stack_operand.
6552169689Skan	* config/mips/mips.c (stack_operand): New predicate.
6553169689Skan	* config/mips/mips.md: Use it for the destination of mips16 insns
6554169689Skan	that store $31.
6555169689Skan
6556169689Skan2003-10-06  Richard Sandiford  <rsandifo@redhat.com>
6557169689Skan
6558169689Skan	* config/mips/mips.md (*lowsi): Renamed from lowsi.
6559169689Skan	(*lowdi): Likewise lowdi.
6560169689Skan	(*lowsi_mips16, *lowdi_mips16): New patterns.
6561169689Skan	* config/mips/mips.c (mips_const_insns, mips_output_move): Remove
6562169689Skan	mips16 CONSTANT_RELOC handling.
6563169689Skan	(mips_delegitimize_address): Adjust for new sdata representation.
6564169689Skan
6565169689Skan2003-10-06  Richard Sandiford  <rsandifo@redhat.com>
6566169689Skan
6567169689Skan	* config/mips/mips.c (mips_arg_info): If MUST_PASS_IN_STACK,
6568169689Skan	skip any remaining register arguments.
6569169689Skan
6570169689Skan2003-10-06  Ulrich Weigand  <uweigand@de.ibm.com>
6571169689Skan
6572169689Skan	* reload.c (find_reloads_subreg_address): Use correct offset for
6573169689Skan	paradoxical MEM subregs on big-endian targets.
6574169689Skan
6575169689Skan2003-10-06  Andrew Haley  <aph@redhat.com>
6576169689Skan
6577169689Skan	* tree.c (get_callee_fndecl): Call
6578169689Skan	lang_hooks.lang_get_callee_fndecl.
6579169689Skan	* langhooks-def.h (LANG_HOOKS_GET_CALLEE_FNDECL): New.
6580169689Skan	(lhd_get_callee_fndecl): New.
6581169689Skan
6582169689Skan2003-10-06  Andrew Pinski  <apinski@apple.com>
6583169689Skan
6584169689Skan	* config/darwin.c (machopic_non_lazy_ptr_name): Fix off by one
6585169689Skan	error in calculating the length of the string.
6586169689Skan	(machopic_stub_name): Likewise.
6587169689Skan
6588169689Skan2003-10-06  Roger Sayle  <roger@eyesopen.com>
6589169689Skan
6590169689Skan	* optabs.c (prepare_float_lib_cmp):  Attach a REG_EQUAL note
6591169689Skan	describing the return value of the comparison libcall to the
6592169689Skan	REG_RETVAL instruction of the emitted sequence.
6593169689Skan
6594169689Skan2003-10-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
6595169689Skan
6596169689Skan	PR optimization/12215
6597169689Skan	* cse.c (cse_set_around_loop): Emit the move at the beginning
6598169689Skan	of the next basic block for trapping sets.
6599169689Skan
6600169689Skan2003-10-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
6601169689Skan
6602169689Skan	PR optimization/11637
6603169689Skan	* combine.c (adjust_for_new_dest): New function to adjust the
6604169689Skan	notes and LOG_LINKS when the dest of an insn has changed.
6605169689Skan	(try_combine): Use it when deleting the first insn of a two-insn
6606169689Skan	parallel or splitting a two-load parallel.
6607169689Skan
6608169689Skan2003-10-06  Richard Sandiford  <rsandifo@redhat.com>
6609169689Skan
6610169689Skan	* config/mips/mips.c (mips_classify_constant): Only allow UNSPECs
6611169689Skan	if TARGET_EXPLICIT_RELOCS.
6612169689Skan
6613169689Skan2003-10-06  Mark Mitchell  <mark@codesourcery.com>
6614169689Skan
6615169689Skan	PR bootstrap/12512
6616169689Skan	* Makefile.in (info): Use double-colon rules.
6617169689Skan	(dvi): Likewise.
6618169689Skan	(generated-manpages): Likewise.
6619169689Skan	* configure.in: Do not create lang.info, lang.dvi, or
6620169689Skan	lang.generated-manpages hooks.
6621169689Skan	* configure: Regenerated.
6622169689Skan	* objc/Make-lang.in (objc.info): Remove.
6623169689Skan	(objc.dvi): Remove.
6624169689Skan	(objc.generated-manpages): Remove.
6625169689Skan	* doc/sourcebuild.texi: Update description of info, dvi, and
6626169689Skan	generated-manpages hooks.
6627169689Skan
6628169689Skan2003-10-06  Richard Sandiford  <rsandifo@redhat.com>
6629169689Skan
6630169689Skan	* config/mips/mips.md: Merge mips16 lw/srl pattern with its splitter.
6631169689Skan
6632169689Skan2003-10-05  Andrew Pinski  <apinski@apple.com>
6633169689Skan
6634169689Skan	* config/darwin.c (machopic_non_lazy_ptr_name): Fix off by one
6635169689Skan	errors in memcpy destinations.
6636169689Skan	(machopic_stub_name): Likewise.
6637169689Skan
6638169689Skan2003-10-05  Andrew Pinski <apinski@apple.com>
6639169689Skan
6640169689Skan	* config/darwin.c (machopic_non_lazy_ptr_name):
6641169689Skan	Change strcat to memcpy and add length together.
6642169689Skan	(machopic_stub_name): Likewise.
6643169689Skan
6644169689Skan2003-10-05  Kaz Kojima  <kkojima@gcc.gnu.org>
6645169689Skan
6646169689Skan	* config/sh/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Handle new
6647169689Skan	signal trampoline codes.
6648169689Skan
6649169689Skan2003-10-05  Chris Demetriou  <cgd@broadcom.com>
6650169689Skan
6651169689Skan	* config/mips/mips.md (*divsf3): Move description of
6652169689Skan	SB-1 F2 erratum from here to...
6653169689Skan	(divsf3): Here.  Disable if TARGET_FIX_SB1 is set and
6654169689Skan	flag_unsafe_math_optimizations is not.
6655169689Skan
6656169689Skan2003-10-05  Aldy Hernandez  <aldyh@redhat.com>
6657169689Skan
6658169689Skan	* config/rs6000/linuxspe.h: Define TARGET_SPE_ABI, TARGET_SPE,
6659169689Skan	TARGET_E500, TARGET_ISEL, and TARGET_FPRS.
6660169689Skan
6661169689Skan2003-10-05  Kazu Hirata  <kazu@cs.umass.edu>
6662169689Skan
6663169689Skan	* c-pretty-print.c: Fix comment typos.
6664169689Skan	* c-pretty-print.h: Likewise.
6665169689Skan	* calls.c: Likewise.
6666169689Skan	* cfgloopmanip.c: Likewise.
6667169689Skan	* cgraphunit.c: Likewise.
6668169689Skan	* cppfiles.c: Likewise.
6669169689Skan	* final.c: Likewise.
6670169689Skan	* function.c: Likewise.
6671169689Skan	* gcov-io.h: Likewise.
6672169689Skan	* gcse.c: Likewise.
6673169689Skan	* genoutput.c: Likewise.
6674169689Skan	* loop.c: Likewise.
6675169689Skan	* postreload.c: Likewise.
6676169689Skan	* reg-stack.c: Likewise.
6677169689Skan	* regmove.c: Likewise.
6678169689Skan	* sched-int.h: Likewise.
6679169689Skan	* sched-rgn.c: Likewise.
6680169689Skan	* simplify-rtx.c: Likewise.
6681169689Skan	* tree-inline.c: Likewise.
6682169689Skan	* config/m68hc11/m68hc11.h: Likewise.
6683169689Skan	* config/mmix/mmix.c: Likewise.
6684169689Skan	* config/mn10300/mn10300.md: Likewise.
6685169689Skan	* config/sh/sh.h: Likewise.
6686169689Skan
6687169689Skan2003-10-05  Richard Henderson  <rth@redhat.com>
6688169689Skan
6689169689Skan	* tree-inline.c (remap_type): New.
6690169689Skan	(remap_decl): Use it.  Remap DECL_SIZE*.
6691169689Skan	(copy_body_r): Use it.
6692169689Skan	(walk_tree): Walk TREE_TYPE too.
6693169689Skan	(copy_tree_r): Don't walk subtrees of types.
6694169689Skan	* tree.c (variably_modified_type_p): Restructure.  Consider integer
6695169689Skan	types with non-const bounds variably modified.
6696169689Skan
6697169689Skan2003-10-05  Kazu Hirata  <kazu@cs.umass.edu>
6698169689Skan
6699169689Skan	* doc/invoke.texi: Fix typos.
6700169689Skan
6701169689Skan2003-10-05  Kazu Hirata  <kazu@cs.umass.edu>
6702169689Skan
6703169689Skan	* fold-const.c: Follow spelling conventions.
6704169689Skan	* function.c: Likewise.
6705169689Skan	* config/c4x/c4x.h: Likewise.
6706169689Skan	* config/c4x/c4x.md: Likewise.
6707169689Skan	* config/frv/frv.md: Likewise.
6708169689Skan	* config/rs6000/aix.h: Likewise.
6709169689Skan	* config/rs6000/linux64.h: Likewise.
6710169689Skan	* config/xtensa/xtensa.c: Likewise.
6711169689Skan
6712169689Skan2003-10-05  Kazu Hirata  <kazu@cs.umass.edu>
6713169689Skan
6714169689Skan	* c-pretty-print.c: Fix comment formatting.
6715169689Skan	* cfglayout.c: Likewise.
6716169689Skan	* cfgloopanal.c: Likewise.
6717169689Skan	* cppcharset.c: Likewise.
6718169689Skan	* dbxout.c: Likewise.
6719169689Skan	* ggc-page.c: Likewise.
6720169689Skan	* ggc.h: Likewise.
6721169689Skan	* target.h: Likewise.
6722169689Skan
6723169689Skan2003-10-04  Kelley Cook  <kelleycook@wideopenwest.com>
6724169689Skan
6725169689Skan	* gengtype-lex.l: Recognize typedef of functions without PARAMS macro.
6726169689Skan
6727169689Skan2003-10-04  Nathanael Nerode  <neroden@gcc.gnu.org>
6728169689Skan
6729169689Skan	* config/v850/v850-c.c, config/v850/v850-protos.h, config/v850/v850.c:
6730169689Skan	Convert to ISO C90 function declarations and definitions.
6731169689Skan
6732169689Skan2003-10-04  Zack Weinberg  <zack@codesourcery.com>
6733169689Skan
6734169689Skan	* libfuncs.h
6735169689Skan	(LTI_eqhf2, LTI_nehf2, LTI_gthf2, LTI_gehf2, LTI_lthf2)
6736169689Skan	(LTI_lehf2, LTI_unordhf2, LTI_eqsf2, LTI_nesf2, LTI_gtsf2)
6737169689Skan	(LTI_gesf2, LTI_ltsf2, LTI_lesf2, LTI_unordsf2, LTI_eqdf2)
6738169689Skan	(LTI_nedf2, LTI_gtdf2, LTI_gedf2, LTI_ltdf2, LTI_ledf2)
6739169689Skan	(LTI_unorddf2, LTI_eqxf2, LTI_nexf2, LTI_gtxf2, LTI_gexf2)
6740169689Skan	(LTI_ltxf2, LTI_lexf2, LTI_unordxf2, LTI_eqtf2, LTI_netf2)
6741169689Skan	(LTI_gttf2, LTI_getf2, LTI_lttf2, LTI_letf2, LTI_unordtf2)
6742169689Skan	(eqhf2_libfunc, nehf2_libfunc, gthf2_libfunc, gehf2_libfunc)
6743169689Skan	(lthf2_libfunc, lehf2_libfunc, unordhf2_libfunc, eqsf2_libfunc)
6744169689Skan	(nesf2_libfunc, gtsf2_libfunc, gesf2_libfunc, ltsf2_libfunc)
6745169689Skan	(lesf2_libfunc, unordsf2_libfunc eqdf2_libfunc, nedf2_libfunc)
6746169689Skan	(gtdf2_libfunc, gedf2_libfunc, ltdf2_libfunc, ledf2_libfunc)
6747169689Skan	(unorddf2_libfunc eqxf2_libfunc, nexf2_libfunc, gtxf2_libfunc)
6748169689Skan	(gexf2_libfunc, ltxf2_libfunc, lexf2_libfunc, unordxf2_libfunc
6749169689Skan	(eqtf2_libfunc, netf2_libfunc, gttf2_libfunc, getf2_libfunc)
6750169689Skan	(lttf2_libfunc, letf2_libfunc, unordtf2_libfunc):
6751169689Skan	Delete.
6752169689Skan	* optabs.h (OTI_eq, OTI_ne, OTI_gt, OTI_ge, OTI_lt, OTI_le)
6753169689Skan	(OTI_unord, eq_optab, ne_optab, gt_optab, ge_optab, lt_optab)
6754169689Skan	(le_optab, unord_optab): New.
6755169689Skan
6756169689Skan	* optabs.c (prepare_float_lib_cmp): Rewrite.  Get the libfuncs
6757169689Skan	from the code_to_optab table, not a giant switch; use
6758169689Skan	swap_condition; do widening only if a comparison function that
6759169689Skan	we can call exists in a wider mode, not if a cmp_optab insn or
6760169689Skan	libfunc exists in a wider mode; call protect_from_queue
6761169689Skan	exactly once on each operand.
6762169689Skan	(init_optabs): Initialize the new optabs, not the deleted libfuncs.
6763169689Skan
6764169689Skan	* config/gofast.h, config/ia64/ia64.c, config/mips/mips.c
6765169689Skan	* config/pa/pa.c, config/rs6000/rs6000.c, config/sparc/sparc.c:
6766169689Skan	Set floating point comparison libfuncs using set_optab_libfunc
6767169689Skan	on the appropriate optab.
6768169689Skan
6769169689Skan	* config/ia64/ia64.c (ia64_hpux_init_libfuncs): Fix typo.
6770169689Skan	* config/rs6000/rs6000.c (rs6000_init_libfuncs): Correct ABI
6771169689Skan	selector conditionals.
6772169689Skan
6773169689Skan2003-10-04  Stephane Carrez  <stcarrez@nerim.fr>
6774169689Skan
6775169689Skan	* config/m68hc11/t-m68hc11-gas (MULTILIB_MATCHES): m68hcs12 is
6776169689Skan	identical to m68hc12 as far as libraries are concerned.
6777169689Skan
6778169689Skan2003-10-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
6779169689Skan
6780169689Skan	PR c/12446
6781169689Skan	* c-typeck.c (convert_for_assignment): Issue an error for
6782169689Skan	array to pointer assignment after default conversion.
6783169689Skan	(digest_init): Likewise.
6784169689Skan
6785169689Skan2003-10-04  Fariborz Jahanian  <fjahanian@apple.com>
6786169689Skan
6787169689Skan	* c-decl.c (duplicate_decls): retain DECL_COMMON of old declaration
6788169689Skan
6789169689Skan2003-10-03  Gerald Pfeifer  <gerald@pfeifer.com>
6790169689Skan
6791169689Skan	* doc/extend.texi (Function Attributes): Fix title of GNU C
6792169689Skan	Preprocessor manual.
6793169689Skan	(C++ Extensions): Fix reference to "Predefined Macros" in the
6794169689Skan	GNU C Preprocessor manual.
6795169689Skan
6796169689Skan2003-10-04  Richard Earnshaw  <reanrsha@arm.com>
6797169689Skan
6798169689Skan	* doc/extend.texi: Document how GCC estimates and relies on the size
6799169689Skan	of an asm.
6800169689Skan
6801169689Skan2003-10-04  Richard Sandiford  <rsandifo@redhat.com>
6802169689Skan
6803169689Skan	* config/mips/mips.c (mips_pad_arg_upward): Pad floating-point
6804169689Skan	arguments downward for big-endian o64.
6805169689Skan
6806169689Skan2003-10-03  Robert Bowdidge <bowdidge@apple.com>
6807169689Skan
6808169689Skan	* ggc-page.c (ggc_pch_write_object): Replace fseek() with fwrite() in
6809169689Skan	PCH generation, avoiding too-frequent flushes when writing to NFS
6810169689Skan	file system.
6811169689Skan
6812169689Skan2003-10-03  Ziemowit Laski  <zlaski@apple.com>
6813169689Skan
6814169689Skan	* objc/objc-act.c (lookup_category): Mark as 'inline'.
6815169689Skan
6816169689Skan2003-10-03  Alexander Malmberg  <alexander@malmberg.org>
6817169689Skan	    Ziemowit Laski  <zlaski@apple.com>
6818169689Skan
6819169689Skan	* objc/objc-act.c (add_method_to_hash_list, lookup_category):
6820169689Skan	New functions.
6821169689Skan	(lookup_method_in_hash_lists): New parameter indicating whether
6822169689Skan	we are messaging 'Class' or 'id'.
6823169689Skan	(check_duplicates): Likewise; do not assume all methods will
6824169689Skan	be either class or instance methods.
6825169689Skan	(generate_category, finish_class): Use lookup_category().
6826169689Skan	(add_method): Use add_method_to_hash_list(); insert instance
6827169689Skan	methods of root classes into the global class method hash table.
6828169689Skan	(add_category): Use lookup_category(); avoid constructing
6829169689Skan	duplicate categories.
6830169689Skan	(really_start_method): Add method to corresponding @interface,
6831169689Skan	if not already there (and if the @interface exists).
6832169689Skan	(finish_message_expr, finish_objc): Adjust calls to
6833169689Skan	check_duplicates().
6834169689Skan
6835169689Skan2003-10-03  Roger Sayle  <roger@eyesopen.com>
6836169689Skan
6837169689Skan	PR optimization/9325, PR java/6391
6838169689Skan	* fold-const.c (fold_convert): For floating point to integer
6839169689Skan	conversions, return the maximum/minimum representable integer
6840169689Skan	value if the real constant overflows the destination type.
6841169689Skan	* tree.c (real_value_from_int_cst): Allow the type to be NULL,
6842169689Skan	meaning don't truncate the result to a floating point mode.
6843169689Skan	Simplify the logic by calling real_from_integer directly.
6844169689Skan	* simplify-rtx.c (simplify_unary_operation):  Implement the
6845169689Skan	same semantics for folding floating point to integer conversions
6846169689Skan	in RTL.
6847169689Skan
6848169689Skan2003-10-03  Chris Demetriou  <cgd@broadcom.com>
6849169689Skan
6850169689Skan	* config/mips/mips.c (mips_emit_prefetch): Restructure
6851169689Skan	to avoid use of arrays, handle indexed prefetch.
6852169689Skan	* config/mips/mips.h (ISA_HAS_FP4, ISA_HAS_PREFETCH): Update comments.
6853169689Skan	(ISA_HAS_PREFETCHX): New deffine.
6854169689Skan	* config/mips/mips.md ("type" attr): Add new "prefetchx" value,
6855169689Skan	update comments.
6856169689Skan	(prefetch_indexed_di, prefetch_indexed_si): New insns.
6857169689Skan
6858169689Skan2003-10-03  Jeff Sturm  <jsturm@one-point.com>
6859169689Skan	    Roger Sayle  <roger@eyesopen.com>
6860169689Skan
6861169689Skan	PR optimization/12289
6862169689Skan	* calls.c (emit_call_1): Pretend to have popped the arguments
6863169689Skan	to noreturn and longjmp functions instead of ignoring them.
6864169689Skan	(expand_call): Don't adjust stack_pointer_dela while
6865169689Skan	inhibit_defer_pop is set.
6866169689Skan
6867169689Skan2003-10-03  Andreas Schwab  <schwab@suse.de>
6868169689Skan
6869169689Skan	PR bootstrap/12276
6870169689Skan	* configure.in: Check for libunwind on the host only if building
6871169689Skan	a native compiler.
6872169689Skan	* configure: Regenerated.
6873169689Skan
6874169689Skan2003-10-03  Paolo Carlini  <pcarlini@unitus.it>
6875169689Skan
6876169689Skan	* unwind-pe.h (read_encoded_value_with_base): Constify u and
6877169689Skan	its inizialization cast.
6878169689Skan
6879169689Skan2003-10-03  Richard Sandiford  <rsandifo@redhat.com>
6880169689Skan
6881169689Skan	PR target/12485
6882169689Skan	* config/mips/mips.c (mips_load_got): GOT accesses can't trap.
6883169689Skan
6884169689Skan2003-10-02  Mark Mitchell  <mark@codesourcery.com>
6885169689Skan
6886169689Skan	PR optimization/12180
6887169689Skan	* tree-inline.c (inline_forbidden_p_1): Do not permit inlining of
6888169689Skan	functions containing calls to __builtin_next_arg.
6889169689Skan
6890169689Skan2003-10-02  Chris Demetriou  <cgd@broadcom.com>
6891169689Skan
6892169689Skan	* config/mips/mips.c (mips_emit_prefetch): Use operand 3
6893169689Skan	in instructions being output.
6894169689Skan	* config/mips/mips.md (prefetch_si_address): Change third
6895169689Skan	operand's constraint letter to 'I'.
6896169689Skan	(prefetch_di_address): Likewise.
6897169689Skan	(prefetch_si, prefetch_di): Set third operand to const0_rtx.
6898169689Skan
6899169689Skan2003-10-02  Zack Weinberg  <zack@codesourcery.com>
6900169689Skan
6901169689Skan	* system.h: Poison macros obsoleted by earlier patch.
6902169689Skan	* config/cris/cris.c: C90-ify a function definition.
6903169689Skan
6904169689Skan2003-10-02  Josef Zlomek  <zlomekj@suse.cz>
6905169689Skan
6906169689Skan	PR/12292
6907169689Skan	* combine.c (make_field_assignment): Check whether rtx's code
6908169689Skan	is CONST_INT before using INTVAL.
6909169689Skan
6910169689Skan2003-10-02  Josef Zlomek  <zlomekj@suse.cz>
6911169689Skan
6912169689Skan	* cgraph.c (cgraph_node): Use INSERT instead of 1 in
6913169689Skan	htab_find_slot_with_hash.
6914169689Skan	(cgraph_node_for_identifier): Use NO_INSERT.
6915169689Skan	(cgraph_remove_node): Use NO_INSERT.
6916169689Skan	(cgraph_varpool_node): Use INSERT.
6917169689Skan	(cgraph_varpool_node_for_identifier): Use NO_INSERT.
6918169689Skan
6919169689Skan2003-10-02  Josef Zlomek  <zlomekj@suse.cz>
6920169689Skan
6921169689Skan	Waldek Hebisch <hebisch@math.uni.wroc.pl>
6922169689Skan	PR/12072
6923169689Skan	* varasm.c (compare_constant): Fix thinko.
6924169689Skan
6925169689Skan2003-10-02  Richard Sandiford  <rsandifo@redhat.com>
6926169689Skan
6927169689Skan	* config/frv/frv.c (frv_issue_rate): New function.
6928169689Skan	(frv_pack_insns): Use it.
6929169689Skan	(TARGET_SCHED_ISSUE_RATE): Define.
6930169689Skan
6931169689Skan2003-10-02  Steven Bosscher <s.bosscher@student.tudelft.nl>
6932169689Skan
6933169689Skan	* config/mcore/mcore.c: Convert to ISO C90 function declarations
6934169689Skan	and definitions.
6935169689Skan	* config/mcore/mcore.h: Likewise.
6936169689Skan	* config/mcore/mcore-protos.h: Likewise.
6937169689Skan
6938169689Skan2003-10-02  Richard Sandiford  <rsandifo@redhat.com>
6939169689Skan
6940169689Skan	* config/frv/frv.c (frv_use_dfa_pipeline_interface): New function.
6941169689Skan	(TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define.
6942169689Skan
6943169689Skan2003-10-01  Per Bothner  <pbothner@apple.com>
6944169689Skan
6945169689Skan	* c-lex.c (src_line):   Remove unneeded static variable.
6946169689Skan	(cb_line_change):  Set input_line directly, instead of src_line.
6947169689Skan	(get_non_padding_token):  We no longer need to compensate for the
6948169689Skan	"horrible things" the C++ front-end does with the current line number,
6949169689Skan
6950169689Skan	* cpplib.c (_cpp_pop_buffer):  Do generate a _cpp_do_file_change
6951169689Skan	callback even when popping the main file.
6952169689Skan	* c-lex.c (fe_file_change):  Handle a NULL new_map.
6953169689Skan	* fix-header.c (cb_file_change):  Likewise.
6954169689Skan	* c-ppoutput.c (pp_file_change):  Likewise.
6955169689Skan
6956169689Skan	* cppinit.c (cpp_read_main_file):  Split into two functions:
6957169689Skan	Distribute _cpp_stack_file call over the two functions.
6958169689Skan	(cpp_find_main_file):  New function.
6959169689Skan	Don't call _cpp_do_file_change even if working_directory flag set.
6960169689Skan	(cpp_push_main_file):  New function.
6961169689Skan	* cppfiles.c (_cpp_find_failed):  New helper function.
6962169689Skan	(find_file):  Made non-static and renamed to _cpp_find_file.
6963169689Skan	(_cpp_stack_file):  No longer needed.  But note the following.
6964169689Skan	(stack_file):  Made non-static and renamed to _cpp_stack_file.
6965169689Skan	* fix-header.c (cpp_read_main_file):  Replace cpp_read_main_file
6966169689Skan	call with calls to cpp_find_main_file and cpp_push_main_file.
6967169689Skan	(search_path_head):  If there is no current buffer, use main_file.
6968169689Skan	* cpphash.h:  Update function declarations.
6969169689Skan	* cpplib.h:  Update function declarations.
6970169689Skan
6971169689Skan	* c-opts.c (c_common_post_options):  Don't call cpp_find_main_file yet.
6972169689Skan	(c_common_parse_file):  No longer need to call cpp_read_main_file
6973169689Skan	when file_index > 0 (as in multi-file or server compiation).
6974169689Skan	(finish_options):  Change to <built-in> is an LC_ENTER, not LC_RENAME
6975169689Skan	as this now happens before cpp_push_main_file.
6976169689Skan	(push_command_line_include):  When done with options, pass LC_LEAVE
6977169689Skan	instead of LC_RENAME to cpp_change_file and finally cpp_push_main_file.
6978169689Skan	(fe_file_change):  Handle NULL new_map, and simplify.
6979169689Skan	* cpplex.c (_cpp_get_fresh_line):  Revert my no-longer-needed
6980169689Skan	08-28 change, since we're never called with a NULL buffer.
6981169689Skan	(_cpp_lex_direct):  Likewise.
6982169689Skan	* cpptrad.c (_cpp_read_logical_line_trad):  Likewise.
6983169689Skan	Return false if buffer is NULL at end.
6984169689Skan
6985169689Skan	* cpplex.c (_cpp_get_fresh_line):  Return value now just depends on
6986169689Skan	whether pfile->buffer is NULL after pop, ignoring return_at_eof.
6987169689Skan	* cpphash.h (struct cpp_buffer):  Remove unused return_at_eof field.
6988169689Skan	* cpplib.c (cpp_push_buffer):  Since we no longer set return_at_eof,
6989169689Skan	remove the unused return_at_eof parameter.
6990169689Skan	* cppfiles.c, cpplib.c, cppmacro.c, cpppch.c, fix-header.c:
6991169689Skan	Update callers of cpp_push_buffer.
6992169689Skan
6993169689Skan2003-10-01  Zack Weinberg  <zack@codesourcery.com>
6994169689Skan
6995169689Skan	* target.h (init_libfuncs): New hook.
6996169689Skan	* target-def.h: Default TARGET_INIT_BUILTINS and
6997169689Skan	TARGET_INIT_LIBFUNCS to hook_void_void.  Add
6998169689Skan	TARGET_INIT_LIBFUNCS to TARGET_INITIALIZER.
6999169689Skan	* builtins.c (default_init_builtins): Delete.
7000169689Skan	* expr.h (default_init_builtins): Delete prototype.
7001169689Skan	* doc/tm.texi: Document TARGET_INIT_LIBFUNCS and US_SOFTWARE_GOFAST.
7002169689Skan	Tweak documentation of TARGET_FLOAT_LIB_COMPARE_RETURNS_BOOL.
7003169689Skan	Remove documentation of INIT_TARGET_OPTABS, MULSI3_LIBCALL,
7004169689Skan	DIVSI3_LIBCALL, UDIVSI3_LIBCALL, MODSI3_LIBCALL, UMODSI3_LIBCALL,
7005169689Skan	MULDI3_LIBCALL, DIVDI3_LIBCALL, UDIVDI3_LIBCALL, MODDI3_LIBCALL,
7006169689Skan	and UMODDI3_LIBCALL,
7007169689Skan
7008169689Skan	* Makefile.in (optabs.o): Depends on target.h.
7009169689Skan	* defaults.h: Provide default for FLOAT_LIB_COMPARE_RETURNS_BOOL.
7010169689Skan	* optabs.c: Include target.h.
7011169689Skan	(prepare_float_lib_cmp): No need for #ifdef around use of
7012169689Skan	FLOAT_LIB_COMPARE_RETURNS_BOOL.
7013169689Skan	(set_optab_libfunc): New function.
7014169689Skan	(init_optabs): Delete use of all *_LIBCALL defines.
7015169689Skan	Call targetm.init_libfuncs not INIT_TARGET_OPTABS.
7016169689Skan	* optabs.h: Prototype set_optab_libfunc.
7017169689Skan
7018169689Skan	* config.gcc: Remove all references to pa/long_double.h,
7019169689Skan	ia64/hpux_longdouble.h, and gofast.h.
7020169689Skan	(mips-*-*): When --enable-gofast, just add US_SOFTWARE_GOFAST
7021169689Skan	to tm_defines; don't set INIT_SUBTARGET_OPTABS or change tm_file.
7022169689Skan
7023169689Skan	* config/alpha/alpha.c, config/c4x/c4x.c, config/cris/cris.c
7024169689Skan	* config/frv/frv.c, config/h8300/h8300.c, config/i860/i860.c
7025169689Skan	* config/ia64/ia64.c, config/ip2k/ip2k.c, config/m68hc11/m68hc11.c
7026169689Skan	* config/mips/mips.c, config/pa/pa.c, config/rs6000/rs6000.c
7027169689Skan	* config/sparc/sparc.c, config/vax/vax.c:
7028169689Skan	Provide a definition for TARGET_INIT_LIBFUNCS.  Where
7029169689Skan	necessary, include optabs.h, libfuncs.h, and/or config/gofast.h.
7030169689Skan
7031169689Skan	* config/alpha/unicosmk.h, config/alpha/vms.h, config/c4x/c4x.h
7032169689Skan	* config/avr/avr.h, config/cris/cris.h, config/frv/frv.h
7033169689Skan	* config/h8300/h8300.h, config/i860/i860.h, config/ip2k/ip2k.h
7034169689Skan	* config/iq2000/iq2000.h, config/m68hc11/m68hc11.h, config/mips/mips.h
7035169689Skan	* config/rs6000/aix.h, config/rs6000/sysv4.h, config/sparc/elf.h
7036169689Skan	* config/sparc/lite.h, config/sparc/netbsd-elf.h, config/sparc/sol2.h
7037169689Skan	* config/sparc/sparc.h, config/v850/v850.h, config/vax/vax.h
7038169689Skan	* config/vax/elf.h: Don't define or use INIT_TARGET_OPTABS,
7039169689Skan	INIT_SUBTARGET_OPTABS, or any *_LIBCALL macros.
7040169689Skan
7041169689Skan	* config/ia64/hpux.h: Redefine INTEL_EXTENDED_IEEE_FORMAT to 0.
7042169689Skan	Set TARGET_INIT_LIBFUNCS and FLOAT_LIB_COMPARE_RETURNS_BOOL here.
7043169689Skan	* config/pa/pa-hpux.h: Define LONG_DOUBLE_TYPE_SIZE,
7044169689Skan	HPUX_LONG_DOUBLE_LIBRARY, and FLOAT_LIB_COMPARE_RETURNS_BOOL here.
7045169689Skan	* config/ia64/hpux_longdouble.h, config/pa/long_double.h: Delete.
7046169689Skan
7047169689Skan	* config/rs6000/xcoff.h: Don't define RS6000_ITRUNC nor RS6000_UITRUNC.
7048169689Skan	* config/sparc/sparc.h: Default SUN_CONVERSION_LIBFUNCS and
7049169689Skan	SUN_INTEGER_MULTIPLY_64 to 0.
7050169689Skan	* config/sparc/sol2.h: Redefine SUN_CONVERSION_LIBFUNCS and
7051169689Skan	SUN_INTEGER_MULTIPLY_64 to 1.
7052169689Skan	* config/sparc/elf.h: Redefine SUN_CONVERSION_LIBFUNCS and
7053169689Skan	SUN_INTEGER_MULTIPLY_64 to 0.
7054169689Skan	* config/sparc/lite.h, config/sparc/liteelf.h, config/sparc/sp86x-elf.h:
7055169689Skan	Define US_SOFTWARE_GOFAST.
7056169689Skan	* config/vax/vax.h: Default TARGET_ELF to 0.
7057169689Skan	* config/vax/elf.h: Redefine TARGET_ELF to 1.
7058169689Skan
7059169689Skan	* config/gofast.h: Don't define any macros here.  Provide one
7060169689Skan	static function, gofast_maybe_init_libfuncs, which does what
7061169689Skan	INIT_GOFAST_LIBFUNCS used to do but only if US_SOFTWARE_GOFAST
7062169689Skan	is already defined.  Do not clear negation libfuncs.  Do
7063169689Skan	not mess with HFmode, XFmode, or TFmode libfuncs.
7064169689Skan
7065169689Skan	* config/avr/avr.c (avr_init_once): #if 0 out; mark FIXME.
7066169689Skan
7067169689Skan2003-10-01  Kelley Cook  <kelleycook@wideopenwest.com>
7068169689Skan
7069169689Skan	PR C/12466
7070169689Skan	* c-parse.in (parmlist_2): Mark declaration with an ellipsis as ISO C.
7071169689Skan
7072169689Skan2003-10-01  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7073169689Skan
7074169689Skan	* config/mips/xm-iris5.h: Remove, unnecessary.
7075169689Skan	* config.build (mips-sgi-irix5*): Remove.
7076169689Skan	(mips-sgi-irix6*o32): Likewise.
7077169689Skan	* config.gcc (mips-sgi-irix6*o32): Remove xm_file.
7078169689Skan	(mips-sgi-irix5cross64): Likewise.
7079169689Skan	(mips-sgi-irix5*): Likewise.
7080169689Skan	* config.host (mips-sgi-irix5*): Remove.
7081169689Skan	(mips-sgi-irix6*o32): Likewise.
7082169689Skan
7083169689Skan2003-10-01  Zack Weinberg  <zack@codesourcery.com>
7084169689Skan
7085169689Skan	* dbxout.c (dbxout_fptype_value): Delete.
7086169689Skan	(dbxout_type): Emit R3 for all COMPLEX_TYPEs.
7087169689Skan
7088169689Skan2003-10-01  Alexandre Oliva  <aoliva@redhat.com>
7089169689Skan
7090169689Skan	* output.h (compute_reloc_for_constant): Declare.
7091169689Skan	* varasm.c (compute_reloc_for_constant): Extract from...
7092169689Skan	(output_addressed_constants): ... here.  Adjust all callers.
7093169689Skan
7094169689Skan2003-10-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7095169689Skan
7096169689Skan	* aclocal.m4: Add hpux10* and hpux11.00 to /dev/zero blacklist.
7097169689Skan	* configure: Rebuilt.
7098169689Skan
7099169689Skan2003-10-01  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7100169689Skan
7101169689Skan	* fold-const.c (make_range): When handling unsigned, don't reverse
7102169689Skan	range if high bound is zero.
7103169689Skan
7104169689Skan2003-09-30  Alexandre Oliva  <aoliva@redhat.com>
7105169689Skan
7106169689Skan	* config/frv/frv.h (PREDICATE_CODES): Added
7107169689Skan	condexec_si_media_operator, condexec_sf_add_operator and
7108169689Skan	condexec_sf_conv_operator.  Removed condexec_sf_binary_operator
7109169689Skan	and condexec_sf_unary_operator.
7110169689Skan
7111169689Skan2003-10-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7112169689Skan
7113169689Skan	* aclocal.m4: Add ultrix* to /dev/zero blacklist.
7114169689Skan	* configure: Rebuilt.
7115169689Skan
7116169689Skan2003-10-01  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7117169689Skan
7118169689Skan	* except.h (MUST_USE_SJLJ_EXCEPTIONS): Revert 2003-09-23 change.
7119169689Skan	Allow override.
7120169689Skan	* doc/tm.texi (MUST_USE_SJLJ_EXCEPTIONS): Document.
7121169689Skan
7122169689Skan2003-09-23  David S. Miller  <davem@redhat.com>
7123169689Skan
7124169689Skan	* config/sparc/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Undefine
7125169689Skan	before redefining.
7126169689Skan	* config/sparc/linux64.h (LINK_GCC_C_SEQUENCE_SPEC): Likewise.
7127169689Skan
7128169689Skan2003-10-01  Steven Bosscher  <steven@gcc.gnu.org>
7129169689Skan
7130169689Skan	* config/cris/cris-protos.h, config/cris/cris.c: Convert to ISO
7131169689Skan	C90 function declarations and definitions.
7132169689Skan
7133169689Skan2003-10-01  Nathanael Nerode  <neroden@gcc.gnu.org>
7134169689Skan
7135169689Skan	* config.gcc (cris-*-linux*): Revert mistaken commit.
7136169689Skan
7137169689Skan2003-10-01  Eric Botcazou  <ebotcazou@libertysurf.fr>
7138169689Skan
7139169689Skan	PR optimization/11753
7140169689Skan	* config/sparc/sparc.md (length attribute) [fcc branch]: Add 1 to
7141169689Skan	the length in the non-V9 case.
7142169689Skan
7143169689Skan2003-09-30  Richard Henderson  <rth@redhat.com>
7144169689Skan
7145169689Skan	* dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Honor
7146169689Skan	DWARF_ALT_FRAME_RETURN_COLUMN.
7147169689Skan	* unwind-dw2.c (dwarf_reg_size_table): Expand by one.
7148169689Skan	(_Unwind_GetGR, _Unwind_SetGR): Validate lookup column.
7149169689Skan	(uw_frame_state_for): Return end-of-stack for null return address.
7150169689Skan	* doc/tm.texi (DWARF_ALT_FRAME_RETURN_COLUMN): Add.
7151169689Skan
7152169689Skan	* config/alpha/alpha.c (alpha_sa_mask): Add r31 for eh_return.
7153169689Skan	(alpha_expand_prologue): Store a zero for it.
7154169689Skan	(alpha_expand_epilogue): Don't reload it.
7155169689Skan	* config/alpha/alpha.h (DWARF_ALT_FRAME_RETURN_COLUMN): New.
7156169689Skan	* config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Use column 64
7157169689Skan	for the sigframe return address.
7158169689Skan
7159169689Skan2003-09-30  Kelley Cook  <kelleycoook@wideopenwest.com>
7160169689Skan
7161169689Skan	* sdbout.c: Convert to ISO C90 prototypes.
7162169689Skan	* objc/objc-act.c: Likewise.
7163169689Skan
7164169689Skan2003-09-30  Kelley Cook  <kelleycoook@wideopenwest.com>
7165169689Skan
7166169689Skan	* config/i386/cygwin1.c: Convert to ISO C90 prototypes.
7167169689Skan	* config/i386/winnt.c: Likewise.
7168169689Skan	* config/i386/cygming.h: Likewise.
7169169689Skan
7170169689Skan2003-09-30  Kazu Hirata  <kazu@cs.umass.edu>
7171169689Skan
7172169689Skan	* fold-const.c (fold): Fold (A & ~B) - (A & B) into
7173169689Skan	(A ^ B) - B for any B.
7174169689Skan
7175169689Skan2003-09-30  Nathanael Nerode  <neroden@gcc.gnu.org>
7176169689Skan
7177169689Skan	* config.gcc (arm*-*-kaos*, i[34567]86-*-kaos*, powerpc-*-kaos*,
7178169689Skan	powerpcle-*-kaos*, strongarm-*-kaos*): Disable fixproto.
7179169689Skan
7180169689Skan2003-09-30  Richard Earnshaw  <rearnsha@arm.com>
7181169689Skan
7182169689Skan	* arm/ieee754-sf.S: Tidy formatting.
7183169689Skan
7184169689Skan2003-09-30  Nicolas Pitre  <nico@cam.org>
7185169689Skan
7186169689Skan	* arm/lib1funcs.asm (ARM_DIV_MOD_BODY): Split into ARM_DIV_BODY
7187169689Skan	and ARM_MOD_BODY.
7188169689Skan	(ARM_MOD_BODY): Rewritten. added clz insns for __ARM_ARCH__ >= 5.
7189169689Skan	(ARM_DIV_BODY): Added clz insns for __ARM_ARCH__ >= 5,
7190169689Skan	added better divisor alignment in the other case.
7191169689Skan	(ARM_DIV2_ORDER): Added, finds the order of a single bit divisor.
7192169689Skan	(__divsi3, __udivsi3, __modsi3, __umodsi3): rewritten using the
7193169689Skan	macros above, add fast exits for divisor >= dividend, etc.
7194169689Skan
7195169689Skan2003-09-30  Nicolas Pitre  <nico@cam.org>
7196169689Skan
7197169689Skan	* arm/ieee754-df.S: Split compilation of fixunsdfsi from
7198169689Skan	L_fixdfsi target.
7199169689Skan	* arm/t-arm-elf (LIB1ASMFUNCS): Add _fixunsdfsi.
7200169689Skan
7201169689Skan2003-09-30  Nathanael Nerode  <neroden@gcc.gnu.org>
7202169689Skan
7203169689Skan	* config.gcc: Default use_fixproto to 'no'.
7204169689Skan
7205169689Skan2003-09-30  Richard Sandiford  <rsandifo@redhat.com>
7206169689Skan
7207169689Skan	PR optimization/12345
7208169689Skan	* config/mips/mips-protos.h (mips_restore_gp): Remove.
7209169689Skan	(mips_gp_save_slot): Declare.
7210169689Skan	* config/mips/mips.c (mips_restore_gp): Remove in favor of...
7211169689Skan	(mips_gp_save_slot): ...this new function.
7212169689Skan	* config/mips/mips.md (exception_receiver): Use mips_gp_save_slot
7213169689Skan	and mips_output_move to generate the output template.
7214169689Skan	(call_internal): Force splitting if TARGET_SPLIT_CALLS.  Don't emit
7215169689Skan	a gp load after a noreturn call.  Load the gp using a move rather
7216169689Skan	than an exception_receiver pattern.
7217169689Skan	(call_value_internal, call_value_multiple_internal): Likewise.
7218169689Skan	(call_split, call_value_split, call_value_multiple_split): Clobber $28.
7219169689Skan
7220169689Skan2003-09-30  Carlo Wood  <carlo@alinoe.com>
7221169689Skan
7222169689Skan	PR debug/12319
7223169689Skan	* cfglayout.c (insn_scope):  Use prologue_locator and
7224169689Skan	epilogue_locator; return the outer function scope for
7225169689Skan	pro- and epilogue insns.
7226169689Skan
7227169689Skan2003-09-29  Zack Weinberg  <zack@codesourcery.com>
7228169689Skan
7229169689Skan	* objc/objc-act.c (encode_type): Encode INTEGER_TYPEs and
7230169689Skan	REAL_TYPEs based on the bitsize of the type's mode, not the
7231169689Skan	mode directly.
7232169689Skan
7233169689Skan2003-09-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7234169689Skan
7235169689Skan	* dwarf2out.c (default_eh_frame_section): Split into ...
7236169689Skan	(named_section_eh_frame_section, collect2_eh_frame_section): ... new
7237169689Skan	functions.
7238169689Skan	* output.h (named_section_eh_frame_section): Declare.
7239169689Skan	(collect2_eh_frame_section): Likewise.
7240169689Skan
7241169689Skan2003-09-29  Zack Weinberg  <zack@codesourcery.com>
7242169689Skan
7243169689Skan	* real.c (real_sqrt): Use get_canonical_qnan directly.
7244169689Skan
7245169689Skan	* dwarf2out.c (add_const_value_attribute): Use real_to_target.
7246169689Skan
7247169689Skan	* varasm.c (assemble_real): Use real_to_target directly,
7248169689Skan	calculate the number of significant elements of the result
7249169689Skan	array and write them out in a loop, instead of using a giant
7250169689Skan	switch statement to pick the correct REAL_VALUE_TO_TARGET_*
7251169689Skan	macro.
7252169689Skan
7253169689Skan2003-09-29  Jan Hubicka  <jh@suse.cz>
7254169689Skan
7255169689Skan	PR c++/12175
7256169689Skan	* varasm.c (notice_global_symbol): Discard external symbols.
7257169689Skan
7258169689Skan	PR optimization/12286
7259169689Skan	* gcov-io.c (gcov_read_words): Fix memmove call.
7260169689Skan	* profile.c (compute_branch_probabilities): Add extra sanity checks.
7261169689Skan
7262169689Skan2003-09-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7263169689Skan
7264169689Skan	* config.gcc (sparc-*-solaris2*): Handle Solaris 10 and up like
7265169689Skan	Solaris 7-9.
7266169689Skan
7267169689Skan	* fixinc/inclhack.def (solaris_widec): Replace solaris2.[0-5]* by
7268169689Skan	wildcards which explicitly match micro versions.
7269169689Skan	* fixinc/fixincl.x: Regenerate.
7270169689Skan
7271169689Skan2003-09-29  Kazu Hirata  <kazu@cs.umass.edu>
7272169689Skan
7273169689Skan	* fold-const.c (fold): Fold (A & ~B) - (A & B) into
7274169689Skan	(A ^ B) - B, where B is any power of 2 minus 1.
7275169689Skan
7276169689Skan2003-09-29  Jan Hubicka  <jh@suse.cz>
7277169689Skan
7278169689Skan	* libgcov.c (gcov_exit): Fix two pastos.
7279169689Skan
7280169689Skan2003-09-29  Kazu Hirata  <kazu@cs.umass.edu>
7281169689Skan
7282169689Skan	* config/h8300/h8300.md (*tst_extzv_1_n): Combine with the
7283169689Skan	define_split immediately below to form define_insn_and_split.
7284169689Skan
7285169689Skan2003-09-29  Kazu Hirata  <kazu@cs.umass.edu>
7286169689Skan
7287169689Skan	* config/h8300/h8300.md (*tstsi_variable_bit): New.
7288169689Skan	(*tstsi_variable_bit_qi): Likewise.
7289169689Skan
7290169689Skan2003-09-28  Phil Edwards  <phil@codesourcery.com>
7291169689Skan
7292169689Skan	* doc/cppopts.texi:  Use 'dashMP' instead of '-MP' as a cross-
7293169689Skan	reference name.
7294169689Skan
7295169689Skan2003-09-28  Richard Henderson  <rth@redhat.com>
7296169689Skan
7297169689Skan	* c-decl.c (duplicate_decls): Copy DECL_SOURCE_LOCATION, not
7298169689Skan	file and line separately.
7299169689Skan
7300169689Skan2003-09-28  Ulrich Weigand  <uweigand@de.ibm.com>
7301169689Skan
7302169689Skan	* config/s390/s390.md ("*adddi3_carry1_cc", "*adddi3_carry1_cconly",
7303169689Skan	"*adddi3_carry2_cc", "*adddi3_carry2_cconly", "*subdi3_borrow_cc",
7304169689Skan	"*subdi3_borrow_cconly"): New insns.
7305169689Skan	("*addsi3_sub", "*subsi3_sub"): Remove.
7306169689Skan	("*subdi3_cc", *subdi3_cconly"): Use only if TARGET_64BIT.
7307169689Skan	("*subsi3_cc"): Fix op_type attribute.
7308169689Skan
7309169689Skan2003-09-28  Richard Henderson  <rth@redhat.com>
7310169689Skan
7311169689Skan	* stmt.c (expand_asm_operands): Take a location_t, instead of
7312169689Skan	individual file and line.
7313169689Skan	* c-typeck.c (c_expand_asm_operands): Likewise.
7314169689Skan	* tree.h (expand_asm_operands): Update decl.
7315169689Skan	* c-common.h (c_expand_asm_operands): Likewise.
7316169689Skan	* c-semantics (genrtl_asm_stmt): Update call.
7317169689Skan
7318169689Skan2003-09-28  Philip Blundell  <philb@gnu.org>
7319169689Skan
7320169689Skan	* config/arm/arm.c (legitimize_pic_address): Check
7321169689Skan	SYMBOL_REF_LOCAL_P, not ENCODED_SHORT_CALL_ATTR_P.
7322169689Skan	(arm_assemble_integer): Likewise.
7323169689Skan
7324169689Skan2003-09-28  Steven Bosscher  <steven@gcc.gnu.org>
7325169689Skan
7326169689Skan	* config/pdp11/pdp11-protos.h, config/pdp11/pdp11.c,
7327169689Skan	config/c4x/c4x-c.c, config/c4x/c4x-protos.h, config/c4x/c4x.c,
7328169689Skan	config/c4x/c4x.h:
7329169689Skan	Convert to ISO C90 function declarations and definitions.
7330169689Skan
7331169689Skan2003-09-28  Steven Bosscher  <steven@gcc.gnu.org>
7332169689Skan
7333169689Skan	*  config/stormy16/stormy16.c, config/stormy16/stormy16-protos.h:
7334169689Skan	Convert to ISO C90 function declarations and definitions.
7335169689Skan
7336169689Skan2003-09-28  Richard Sandiford  <rsandifo@redhat.com>
7337169689Skan
7338169689Skan	* config/mips/mips.c (mips_constant_info): Add reloc field.
7339169689Skan	(mips_classify_constant): Initialize it.  Always set SYMBOL to the
7340169689Skan	underlying symbol, not to an unspec.
7341169689Skan	(mips_delegitimize_address, print_operand): Clean up accordingly.
7342169689Skan
7343169689Skan2003-09-28  Richard Sandiford  <rsandifo@redhat.com>
7344169689Skan
7345169689Skan	* config/mips/mips-protos.h (mips16_gp_pseudo_reg): Remove.
7346169689Skan	* config/mips/mips.h (LEGITIMATE_CONSTANT_P): Remove orphaned comment.
7347169689Skan	* config/mips/mips.c (mips_reloc_offset_ok_p): New function.
7348169689Skan	(mips_classify_constant): Use it.
7349169689Skan	(mips_splittable_symbol_p): Add an offset argument.
7350169689Skan	(mips_classify_address): Adjust call accordingly.
7351169689Skan	(mips_legitimize_symbol): Handle sdata references with LO_SUM rather
7352169689Skan	than a relocation unspec.  Update call to mips_splittable_symbol_p.
7353169689Skan	Generalize the code that copes with symbols + invalid offsets.
7354169689Skan	(print_operand): Allow '%R' to be applied to small data addresses.
7355169689Skan	(mips_reloc_string): Remove RELOC_GPREL16.
7356169689Skan	(mips_sdata_pointer): Renamed from mips16_gp_pseudo_reg.  Return $gp
7357169689Skan	for TARGET_EXPLICIT_RELOCS.  Return null if we can't use gp-relative
7358169689Skan	relocation operators.
7359169689Skan	* config/mips/mips.md (RELOC_GPREL16): Remove.  Shuffle other reloc
7360169689Skan	constants accordingly.
7361169689Skan
7362169689Skan2003-09-27  Roger Sayle  <roger@eyesopen.com>
7363169689Skan
7364169689Skan	* toplev.c (flag_evaluation_order): New global variable.
7365169689Skan	* flags.h (flag_evaluation_order): Prototype here.
7366169689Skan	* expr.c (expand_operands): If we need to preserve observable
7367169689Skan	evaluation order, protect exp1 from clobbering exp0's result.
7368169689Skan
7369169689Skan2003-09-28  Andreas Jaeger  <aj@suse.de>
7370169689Skan
7371169689Skan	* c-decl.c (finish_function): Convert definition to ISO C90.
7372169689Skan	* ifcvt.c (mark_loop_exit_edges): Likewise.
7373169689Skan	* ra-rewrite.c (emit_colors): Likewise.
7374169689Skan
7375169689Skan2003-09-27  Nathanael Nerode  <neroden@gcc.gnu.org>
7376169689Skan
7377169689Skan	* config.gcc (alpha*-dec-osf[45]*): Disable fixproto.
7378169689Skan	* config.gcc (arm*-*-uclinux*): Disable fixproto.
7379169689Skan	* config.gcc (powerpc-*-eabispe*, powerpc-*-eabisimaltivec*,
7380169689Skan	powerpc-*-eabialtivec*): Disable fixproto.
7381169689Skan
7382169689Skan2003-09-27  Eric Botcazou  <ebotcazou@libertysurf.fr>
7383169689Skan
7384169689Skan	PR optimization/12340
7385169689Skan	* loop.h (struct induction): Document the new semantics
7386169689Skan	of the 'same' field for bivs.
7387169689Skan	* unroll.c (biv_total_increment): Don't count the same
7388169689Skan	biv increment several times.
7389169689Skan	(loop_iterations) [GENERAL_INDUCT]: Likewise.
7390169689Skan
7391169689Skan2003-09-27  Graham Stott  <graham.stott@btinternet.com>
7392169689Skan
7393169689Skan	* unroll.c (loop_interations)[GT]: Add missing break.
7394169689Skan
7395169689Skan2003-09-27  Kelley Cook  <kcook@gcc.gnu.org>
7396169689Skan
7397169689Skan	* config/chorus.h, config/darwin-c.c, config/darwin-protos.h,
7398169689Skan	config/darwin.c, config/darwin.h, config/dbx.h, config/dbxcoff.h,
7399169689Skan	config/dbxelf.h, config/elfos.h, config/fp-bit.h,
7400169689Skan	config/freebsd-nthr.h, config/freebsd-spec.h, config/freebsd.h,
7401169689Skan	config/freebsd3.h, config/freebsd4.h, config/freebsd5.h,
7402169689Skan	config/freebsd6.h, config/netbsd-aout.h, config/netbsd-elf.h,
7403169689Skan	config/netbsd.h, config/netware.h, config/openbsd-oldgas.h,
7404169689Skan	config/openbsd.h, config/ptx4.h, config/alpha/alpha-protos.h,
7405169689Skan	config/alpha/alpha.c, config/alpha/alpha.h, config/alpha/alpha.md,
7406169689Skan	config/alpha/elf.h, config/alpha/ev4.md, config/alpha/ev5.md,
7407169689Skan	config/alpha/ev6.md, config/alpha/freebsd.h, config/alpha/linux-elf.h,
7408169689Skan	config/alpha/linux.h, config/alpha/netbsd.h, config/alpha/openbsd.h,
7409169689Skan	config/alpha/osf.h, config/alpha/osf5.h, config/alpha/unicosmk.h,
7410169689Skan	config/alpha/vms-cc.c, config/alpha/vms-crt0-64.c,
7411169689Skan	config/alpha/vms-crt0.c, config/alpha/vms-dwarf2.asm,
7412169689Skan	config/alpha/vms-dwarf2eh.asm, config/alpha/vms-ld.c,
7413169689Skan	config/alpha/vms-psxcrt0-64.c, config/alpha/vms-psxcrt0.c,
7414169689Skan	config/alpha/vms.h, config/alpha/vms64.h, config/alpha/vms_tramp.asm,
7415169689Skan	config/alpha/xm-vms.h, config/arc/arc-modes.def,
7416169689Skan	config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
7417169689Skan	config/arc/arc.md, config/arc/initfini.c, config/arc/lib1funcs.asm,
7418169689Skan	config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
7419169689Skan	config/avr/avr.md, config/d30v/d30v-protos.h, config/d30v/d30v.h,
7420169689Skan	config/d30v/d30v.md, config/fr30/fr30-protos.h, config/fr30/fr30.c,
7421169689Skan	config/fr30/fr30.h, config/fr30/fr30.md, config/fr30/lib1funcs.asm,
7422169689Skan	config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7423169689Skan	config/frv/frv-abi.h, config/frv/frv-asm.h, config/frv/frv-modes.def,
7424169689Skan	config/frv/frv-protos.h, config/frv/frv.c, config/frv/frv.h,
7425169689Skan	config/frv/frv.md, config/frv/frvbegin.c, config/frv/frvend.c,
7426169689Skan	config/frv/lib1funcs.asm, config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7427169689Skan	config/h8300/parityhi2.c, config/h8300/popcounthi2.c,
7428169689Skan	config/i370/i370-c.c, config/i370/i370-protos.h, config/i370/i370.c,
7429169689Skan	config/i370/i370.h, config/i370/i370.md, config/i370/linux.h,
7430169689Skan	config/i370/mvs.h, config/i370/oe.h, config/i386/darwin.h,
7431169689Skan	config/i960/i960-c.c, config/i960/i960-coff.h,
7432169689Skan	config/i960/i960-modes.def, config/i960/i960-protos.h,
7433169689Skan	config/i960/i960.c, config/i960/i960.h, config/i960/i960.md,
7434169689Skan	config/i960/rtems.h, config/ia64/elf.h, config/ia64/ia64.h,
7435169689Skan	config/m32r/initfini.c, config/m32r/m32r-protos.h, config/m32r/m32r.c,
7436169689Skan	config/m32r/m32r.h, config/m32r/m32r.md, config/m68hc11/larith.asm,
7437169689Skan	config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
7438169689Skan	config/m68hc11/m68hc11.h, config/m68hc11/m68hc11.md,
7439169689Skan	config/m68hc11/m68hc12.h, config/m68k/coff.h, config/m68k/crti.s,
7440169689Skan	config/m68k/crtn.s, config/m68k/hp320.h, config/m68k/hp320base.h,
7441169689Skan	config/m68k/lb1sf68.asm, config/m68k/linux.h, config/m68k/m68020-elf.h,
7442169689Skan	config/m68k/m68k-aout.h, config/m68k/m68k-none.h,
7443169689Skan	config/m68k/m68k-protos.h, config/m68k/m68k.c, config/m68k/m68k.h,
7444169689Skan	config/m68k/m68k.md, config/m68k/m68kelf.h, config/m68k/m68kv4.h,
7445169689Skan	config/m68k/netbsd-elf.h, config/m68k/openbsd.h,
7446169689Skan	config/m68k/rtemself.h, config/m68k/sgs.h, config/mcore/lib1.asm,
7447169689Skan	config/mcore/mcore-elf.h, config/mcore/mcore-pe.h,
7448169689Skan	config/mcore/mcore-protos.h, config/mcore/mcore.c,
7449169689Skan	config/mcore/mcore.md, config/mips/elf.h, config/mips/elf64.h,
7450169689Skan	config/mips/elforion.h, config/mips/iris5.h, config/mips/iris6.h,
7451169689Skan	config/mips/iris6gld.h, config/mips/irix6-libc-compat.c,
7452169689Skan	config/mips/linux.h, config/mips/mips-protos.h, config/mips/mips.c,
7453169689Skan	config/mips/mips.h, config/mips/mips.md, config/mips/netbsd.h,
7454169689Skan	config/mips/openbsd.h, config/mips/r3900.h, config/mips/rtems.h,
7455169689Skan	config/mips/vr.h, config/mn10300/linux.h,
7456169689Skan	config/mn10300/mn10300-protos.h, config/mn10300/mn10300.c,
7457169689Skan	config/mn10300/mn10300.h, config/mn10300/mn10300.md,
7458169689Skan	config/ns32k/__unorddf2.c, config/ns32k/__unordsf2.c,
7459169689Skan	config/ns32k/netbsd.h, config/ns32k/ns32k-protos.h,
7460169689Skan	config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/ns32k/ns32k.md,
7461169689Skan	config/pdp11/2bsd.h, config/pdp11/pdp11-modes.def,
7462169689Skan	config/pdp11/pdp11-protos.h, config/pdp11/pdp11.c,
7463169689Skan	config/pdp11/pdp11.h, config/pdp11/pdp11.md, config/rs6000/biarch64.h,
7464169689Skan	config/rs6000/default64.h, config/sh/coff.h, config/sh/crt1.asm,
7465169689Skan	config/sh/crti.asm, config/sh/crtn.asm, config/sh/elf.h,
7466169689Skan	config/sh/embed-elf.h, config/sh/linux.h, config/sh/little.h,
7467169689Skan	config/sh/netbsd-elf.h, config/sh/rtems.h, config/sh/rtemself.h,
7468169689Skan	config/sh/sh-protos.h, config/sh/sh.c, config/sh/sh.h,
7469169689Skan	config/sh/sh.md, config/sh/sh64.h, config/sh/shmedia.h,
7470169689Skan	config/sh/sshmedia.h, config/sh/ushmedia.h, config/sparc/pbd.h,
7471169689Skan	config/sparc/sparc.h, doc/install-old.texi, fixinc/fixinc.ptx,
7472169689Skan	fixinc/fixinc.svr4: GNU CC -> GCC.
7473169689Skan
7474169689Skan2003-09-26  Loren James Rittle  <ljrittle@acm.org>
7475169689Skan
7476169689Skan	* objc/objc-act.c (tm_p.h): Tweak order.
7477169689Skan	* objc/Make-lang.in (objc/objc-act.o): Add $(TM_P_H).
7478169689Skan
7479169689Skan2003-09-26  Nathanael Nerode  <neroden@gcc.gnu.org>
7480169689Skan
7481169689Skan	* config.gcc (hppa*64*-*-linux* | parisc*64*-*-linux*):
7482169689Skan	Include t-slibgcc-elf-ver and t-linux in tmake_file.
7483169689Skan	* config.gcc (hppa*64*-*-linux* | parisc*64-*-linux*):
7484169689Skan	Disable fixproto.
7485169689Skan	* config.gcc (i960-*-coff*, m68k-*-aout*, sparclite-*-coff*):
7486169689Skan	Disable fixproto.
7487169689Skan	* config.gcc (i[34567]86-*-solaris2*, sparc64-*-solaris2*,
7488169689Skan	sparcv9-*-solaris2*, sparc-*-solaris2*): Disable fixproto.
7489169689Skan
7490169689Skan	* config/i386/unix.h: Remove (unused) DEFAULT_ASSEMBLER_DIALECT.
7491169689Skan
7492169689Skan2003-09-26  Loren James Rittle  <ljrittle@acm.org>
7493169689Skan
7494169689Skan	* config/i386/i386.h (ix86_return_in_memory): Revert my last patch.
7495169689Skan	* objc/objc-act.c (tm_p.h): Include.
7496169689Skan
7497169689Skan2003-09-26  Per Bothner  <pbothner@apple.com>
7498169689Skan
7499169689Skan	* dbxout.c (dbxout_typedefs):  Output typedefs in forward order.
7500169689Skan	No longer any need to reverse by recursion.
7501169689Skan
7502169689Skan2003-09-26  Roger Sayle  <roger@eyesopen.com>
7503169689Skan	    Richard Henderson  <rth@redhat.com>
7504169689Skan
7505169689Skan	PR optimization/11741
7506169689Skan	* gcse.c (pre_insert_copy_insn): Tweak the logic for finding the
7507169689Skan	appropriate set to match that in hash_scan_insn.  Fall back to
7508169689Skan	the original copy method, if we can't validate changing insn.
7509169689Skan	(pre_delete): Only delete instructions that have a single_set,
7510169689Skan	instead of aborting when we encounter an PARALLEL insn with more
7511169689Skan	then one SET.
7512169689Skan
7513169689Skan2003-09-26  Andreas Krebbel  <krebbel1@de.ibm.com>
7514169689Skan
7515169689Skan	* config/s390/s390.md ("builtin_setjmp_setup"): Insn deleted.
7516169689Skan	("builtin_longjmp"): Insn deleted.
7517169689Skan	("save_stack_nonlocal"): Save literal pool base pointer behind
7518169689Skan	backchain and stack pointer.
7519169689Skan	("restore_stack_nonlocal"): Restore literal pool base pointer.
7520169689Skan	* config/s390/s390.h (STACK_SAVEAREA_MODE): Double size of
7521169689Skan	the stack save area for the nonlocal goto case.
7522169689Skan
7523169689Skan2003-09-26  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7524169689Skan
7525169689Skan	PR bootstrap/12358
7526169689Skan	* pa.c (output_bvb): Fix typo.
7527169689Skan
7528169689Skan2003-09-26  Richard Sandiford  <rsandifo@redhat.com>
7529169689Skan
7530169689Skan	* expmed.c (store_bit_field): Don't search for an integer mode
7531169689Skan	unless we need the result.
7532169689Skan
7533169689Skan2003-09-26  Richard Sandiford  <rsandifo@redhat.com>
7534169689Skan
7535169689Skan	* expr.c (emit_move_insn_1): If there is no move pattern for the
7536169689Skan	original mode, try using a pattern for the corresponding integer mode.
7537169689Skan
7538169689Skan2003-09-26  Richard Sandiford  <rsandifo@redhat.com>
7539169689Skan
7540169689Skan	PR middle-end/9200
7541169689Skan	* combine.c (if_then_else_cond): Tighten mode check.
7542169689Skan
7543169689Skan2003-09-25  Nathanael Nerode  <neroden@gcc.gnu.org>
7544169689Skan
7545169689Skan	* cppcharset.c, cpphash.h: Rename 'struct strbuf' to
7546169689Skan	'struct _cpp_strbuf'.
7547169689Skan
7548169689Skan	* config/i386/netbsd-elf.h, config/i386/netbsd64.h,
7549169689Skan	config/i386/netware.h, config/i386/nto.h, config/i386/openbsd.h,
7550169689Skan	config/i386/pentium.md, config/i386/pmmintrin.h, config/i386/ppro.md,
7551169689Skan	config/i386/ptx4-i.h, config/i386/rtemself.h, config/i386/sco5.h,
7552169689Skan	config/i386/sol2.h, config/i386/svr3gas.h, config/i386/sysv3.h,
7553169689Skan	config/i386/sysv4-cpp.h, config/i386/sysv4.h, config/i386/sysv5.h,
7554169689Skan	config/i386/unix.h, config/i386/uwin.h, config/i386/vsta.h,
7555169689Skan	config/i386/xm-cygwin.h, config/i386/xm-djgpp.h,
7556169689Skan	config/i386/xm-mingw32.h, config/i386/xmmintrin.h: Replace
7557169689Skan	"GNU CC", "GNU compiler", and "GNU C-compiler" with "GCC".
7558169689Skan	* config/i386/i386-aout.h, config/i386/i386-coff.h,
7559169689Skan	config/i386/i386-interix.h, config/i386/i386-interix3.h,
7560169689Skan	config/i386/i386-modes.def, config/i386/i386-protos.h,
7561169689Skan	config/i386/i386.c, config/i386/i386.h, config/i386/i386.md,
7562169689Skan	config/i386/i386elf.h, config/i386/k6.md, config/i386/kaos-i386.h,
7563169689Skan	config/i386/linux-aout.h, config/i386/linux.h, config/i386/linux64.h,
7564169689Skan	config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mingw32.h,
7565169689Skan	config/i386/mmintrin.h, config/i386/moss.h: GNU CC -> GCC.
7566169689Skan	"GNU compiler" -> GCC.
7567169689Skan	* config/i386/att.h, config/i386/beos-elf.h, config/i386/biarch64.h,
7568169689Skan	config/i386/bsd.h, config/i386/crtdll.h, config/i386/cygming.h,
7569169689Skan	config/i386/cygwin.h, config/i386/cygwin1.c, config/i386/cygwin2.c,
7570169689Skan	config/i386/darwin.h, config/i386/djgpp.h, config/i386/emmintrin.h,
7571169689Skan	config/i386/freebsd-aout.h, config/i386/freebsd.h,
7572169689Skan	config/i386/freebsd64.h, config/i386/gas.h: GNU CC -> GCC.
7573169689Skan
7574169689Skan2003-09-25  Kelley Cook  <kelleycook@wideopenwest.com>
7575169689Skan
7576169689Skan	* cgraph.c (dump_cgraph):  Don't output newline before dump.  Add in
7577169689Skan	"local" to the callgraph dump.  Output "after inlining" earlier.
7578169689Skan	* cgraphunit.c: Fix dumpfile whitespace and commonize headers of the
7579169689Skan	callgraph dumps.  Correct misspellings.
7580169689Skan	(cgraph_decide_inlining):  Output number of insns before inlining.
7581169689Skan	Output the calling function into which a function is inlined.
7582169689Skan	(cgraph_decide_small_functions): Format dump file like always_inline.
7583169689Skan
7584169689Skan2003-09-25  Loren James Rittle  <ljrittle@acm.org>
7585169689Skan
7586169689Skan	* config/i386/i386.h (ix86_return_in_memory): Add prototype.
7587169689Skan
7588169689Skan2003-09-25  Ulrich Weigand  <uweigand@de.ibm.com>
7589169689Skan
7590169689Skan	* config/s390/s390.c (s390_emit_prologue): Simplify accesses to
7591169689Skan	FPR slots in the save area.
7592169689Skan	(s390_emit_epilogue): Likewise.
7593169689Skan
7594169689Skan2003-09-25  Richard Sandiford  <rsandifo@redhat.com>
7595169689Skan
7596169689Skan	* cgraph.h (cgraph_remove_edge): Declare.
7597169689Skan	* cgraph.c (cgraph_remove_edge): Make extern.
7598169689Skan	* cgraphunit.c (cgraph_finalize_function): Call cgraph_remove_edge
7599169689Skan	instead of cgraph_remove_call.
7600169689Skan
7601169689Skan2003-09-25  Ulrich Weigand  <uweigand@de.ibm.com>
7602169689Skan
7603169689Skan	* objc/objc-act.c (gen_declaration_1): Fix printf format.
7604169689Skan
7605169689Skan2003-09-25  Richard Earnshaw  <rearnsha@arm.com>
7606169689Skan
7607169689Skan	* arm.c (all_cores): arm710t, arm720t and arm740t are all based on the
7608169689Skan	arm7tdmi core.
7609169689Skan
7610169689Skan2003-09-25  Ziemowit Laski  <zlaski@apple.com>
7611169689Skan
7612169689Skan	* config/darwin-protos.h (objc_image_info_section):
7613169689Skan	New prototype.
7614169689Skan
7615169689Skan2003-09-25  Ziemowit Laski  <zlaski@apple.com>
7616169689Skan
7617169689Skan	* Makefile.in (stub-objc.o): Depend on $(GGC_H).
7618169689Skan
7619169689Skan2003-09-25  Nathanael Nerode  <neroden@gcc.gnu.org>
7620169689Skan
7621169689Skan	* config.gcc: Get rid of more gratuitious 'x'es.  Actually allow
7622169689Skan	tsc701 as a --with-cpu, --with-tune setting for sparc.
7623169689Skan
7624169689Skan2003-09-25  Ziemowit Laski  <zlaski@apple.com>
7625169689Skan
7626169689Skan	* c-parse.in (objc_try_stmt): Do not specify a %type.
7627169689Skan
7628169689Skan2003-09-25  Nathanael Nerode  <neroden@gcc.gnu.org>
7629169689Skan
7630169689Skan	* config.gcc: New 'widely ported system' clause for rtems.
7631169689Skan	Set thread file there, not in individual clauses.
7632169689Skan
7633169689Skan2003-09-25  Richard Sandiford  <rsandifo@redhat.com>
7634169689Skan
7635169689Skan	PR target/6222
7636169689Skan	* config/mips/mips.c (mips_va_arg): Handle arguments that must be
7637169689Skan	passed on the stack.
7638169689Skan
7639169689Skan2003-09-25  Nathanael Nerode  <neroden@gcc.gnu.org>
7640169689Skan
7641169689Skan	* config.gcc (widely ported systems section): Mostly alphabetize
7642169689Skan	by system.  Comment the case where we can't.
7643169689Skan	* config.gcc (widely ported systems section): Reindent and clean up.
7644169689Skan
7645169689Skan	* config.gcc: Remove some unnecessary uses of 'x' in case statements.
7646169689Skan	Actually allow ep9312 as an arm --with-arch setting.
7647169689Skan
7648169689Skan	* config.gcc (*-hpux11): Disable fixproto.
7649169689Skan
7650169689Skan2003-09-24  Phil Edwards  <phil@codesourcery.com>
7651169689Skan
7652169689Skan	PR pch/12112
7653169689Skan	* gcc/cppfiles.c (pch_open_file): Return based on combined
7654169689Skan	result of all files.
7655169689Skan	(validate_pch): Return validate flag for current file.
7656169689Skan
7657169689Skan2003-09-24  Roger Sayle  <roger@eyesopen.com>
7658169689Skan
7659169689Skan	PR bootstrap/12358
7660169689Skan	* fold-const.c (tree_swap_operands_p): Only reorder operands when
7661169689Skan	one of the operands is constant.
7662169689Skan
7663169689Skan2003-09-24  Ziemowit Laski  <zlaski@apple.com>
7664169689Skan
7665169689Skan	MERGE OF objc-improvements-branch into MAINLINE:
7666169689Skan	* Makefile.in (C_OBJS): Add in stub-objc.o.
7667169689Skan	(c-parse.y): Change sed demarcations to begin with '@@'.
7668169689Skan	(stub-objc.o): New rule.
7669169689Skan	* c-common.c (flag_nil_receivers, flag_objc_exceptions, flag_zero_link,
7670169689Skan	flag_replace_objc_classes): New flags.
7671169689Skan	* c-common.h (RID_AT_THROW, RID_AT_TRY, RID_AT_CATCH, RID_AT_FINALLY,
7672169689Skan	RID_AT_SYNCHRONIZED): New keywords.
7673169689Skan	(flag_nil_receivers, flag_objc_exceptions, flag_zero_link,
7674169689Skan	flag_replace_objc_classes): New flags.
7675169689Skan	(lookup_interface, is_class_name, objc_is_object_ptr, objc_check_decl,
7676169689Skan	objc_comptypes, objc_message_selector, lookup_objc_ivar,
7677169689Skan	get_current_scope, objc_mark_locals_volatile): New prototypes,
7678169689Skan	some moved from c-tree.h.
7679169689Skan	* c-decl.c (get_current_scope, objc_mark_locals_volatile): New functions.
7680169689Skan	(finish_decl): Adjust where objc_check_decl() gets called.
7681169689Skan	* c-lang.c (lookup_interface, is_class_name, objc_is_id,  objc_check_decl,
7682169689Skan	objc_comptypes, objc_message_selector, lookup_objc_ivar): Remove stubs.
7683169689Skan	* c-opts.c (c_common_handle_option): Add handling for  flag_nil_receivers,
7684169689Skan	flag_objc_exceptions, flag_replace_objc_classes and flag_zero_link.
7685169689Skan	* c-parse.in: Replace 'ifc' and 'end ifc' sed markers with '@@ifc' and
7686169689Skan	'@@end_ifc', respectively.
7687169689Skan	(AT_THROW, AT_TRY, AT_CATCH, AT_FINALLY, AT_SYNCHRONIZED): New %tokens.
7688169689Skan	(objc_try_stmt, superclass, class_ivars, objc_try_catch-stmt,
7689169689Skan	objc_finally_block): New rules.
7690169689Skan	(component_decl_list2): Clean up semantic action for @defs construct.
7691169689Skan	(component_decl, c99_block_start): Remove call to add_objc_decls().
7692169689Skan	(poplevel): Add call to objc_clear_super_receiver().
7693169689Skan	(stmt): Add rules for @throw, @try..@catch..@finally and @synchronized
7694169689Skan	constructs.
7695169689Skan	(classdef, methodprotolist): Clean up/simplify.
7696169689Skan	(methodprotolist2): Eliminate.
7697169689Skan	(methodproto): Call add_method() instead of add_class_method() and
7698169689Skan	add_instance_method().
7699169689Skan	(receiver): Add TYPENAME production.
7700169689Skan	(reswords): Add "throw", "try", "catch", "finally" and "synchronized".
7701169689Skan	(rid_to_yy): Add AT_THROW, AT_TRY, AT_CATCH, AT_FINALLY and
7702169689Skan	AT_SYNCHRONIZED.
7703169689Skan	* c-tree.h (lookup_interface, is_class_name, objc_is_id, objc_check_decl,
7704169689Skan	objc_comptypes, objc_message_selector)
7705169689Skan	* c-typeck.c (comptypes): In ObjC mode, call objc_comptypes() for
7706169689Skan	struct and pointer types.
7707169689Skan	(build_c_cast): Do not discard ObjC protocol qualifiers.
7708169689Skan	(convert_for_assignment): Cache result of comp_target_types() instead
7709169689Skan	of calling it more than once.
7710169689Skan	* c.opt (fnext-runtime): Update description string.
7711169689Skan	(fnil-receivers, fobjc-exceptions, freplace-objc-classes, fzero-link):
7712169689Skan	New ObjC/ObjC++-specific flags.
7713169689Skan	* function.h (GCC_FUNCTION_H): Header guard.
7714169689Skan	* gengtype-lex.l: Teach lexer about new @@... sed demarcations.
7715169689Skan	* stub-objc.c: New file, to be used to satisfy references to ObjC
7716169689Skan	functions by the C and C++ front-ends.
7717169689Skan	* config/darwin.c (_OBJC_IMAGE_INFO): New global metadata.
7718169689Skan	* config/darwin.h (FUNCTION): Add in_objc_image_info.
7719169689Skan	(SECTION_FUNCTION): Add objc_image_info_section.
7720169689Skan	* doc/invoke.texi: Link to GCC web site for Objective-C information.
7721169689Skan	(-fconstant-string-class): Update documentation.
7722169689Skan	(-fno-nil-receivers, -fobjc-exceptions, -freplace-objc-classes,
7723169689Skan	-fzero-link): New documentation.
7724169689Skan	* objc/Make-lang.in (objc-parse.y): Change sed demarcations to begin
7725169689Skan	with '@@'.
7726169689Skan	* objc/lang-specs.h (@objective-c-header): Fix -E spec.
7727169689Skan	* objc/objc/objc-act.c: Replace TYPE_NAME with OBJC_TYPE_NAME
7728169689Skan	throughout; provide casts for return values from memory allocation
7729169689Skan	functions (xmalloc, alloca, ggc_alloc, etc.).
7730169689Skan	(OBJC_VOID_AT_END): New macro.
7731169689Skan	(rtl.h): Do not #include any more.
7732169689Skan	(STRING_OBJECT_GLOBAL_NAME): Replaced with STRING_OBJECT_GLOBAL_FORMAT.
7733169689Skan	(TAG_MSGSEND_STRET, TAG_MSGSENDSUPER_STRET, TAG_MSGSEND_NONNIL,
7734169689Skan	TAG_MSGSEND_NONNIL_STRET, TAG_EXCEPTIONEXTRACT, TAG_EXCEPTIONTRYENTER,
7735169689Skan	TAG_EXCEPTIONTRYEXIT, TAG_EXCEPTIONMATCH, TAG_EXCEPTIONTHROW,
7736169689Skan	TAG_SYNCENTER, TAG_SYNCEXIT): New NeXT runtime entry points.
7737169689Skan	(struct val_stack, catch_count_stack, exc_binding_stack,  val_stack_push,
7738169689Skan	val_stack_pop): New.
7739169689Skan	(objc_check_decl): Fix precondition for error message, along with
7740169689Skan	the message itself.
7741169689Skan	(lookup_and_install_protocols): Remove nonexistent protocols from
7742169689Skan	protocol list instead of returning error_mark_node.
7743169689Skan	(create_builtin_decl): Use DECL_ARTIFICIAL only for VAR_DECLs.
7744169689Skan	(setup_string_decl): Generalize to use STRING_OBJECT_GLOBAL_FORMAT.
7745169689Skan	(synth_module_prologue): General clean-up; construct NeXT-specific
7746169689Skan	runtime API prototypes if needed.
7747169689Skan	(build_string_class_template): Remove.
7748169689Skan	(check_string_class_template, string_layout_checked): New.
7749169689Skan	(build_objc_string_object): Generalize to work with
7750169689Skan	-fconstant-string-class.
7751169689Skan	(build_objc_symtab_template): Fix layout for the NeXT runtime.
7752169689Skan	(build_metadata_decl): New.
7753169689Skan	(forward_declare_categories): Call build_metadata_decl() instead of
7754169689Skan	create_builtin_decl() et al.
7755169689Skan	(build_module_descriptor): Use OBJC_VOID_AT_END instead of
7756169689Skan	void_list_node_1.
7757169689Skan	(build_selector_reference_decl, build_class_reference_decl,
7758169689Skan	build_objc_string_decl): Do not set TREE_READONLY.
7759169689Skan	(get_proto_encoding): Do not call hack_method_prototype().
7760169689Skan	(get_class_reference): Add failure mode for invalid class names;
7761169689Skan	support -fzero-link; defer if in an ObjC++ template declaration.
7762169689Skan	(objc_declare_alias, objc_declare_class): Fix up duplicate name
7763169689Skan	lookup; check for global scope if in ObjC++.
7764169689Skan	(is_class_name): Generalize to work with various tree nodes (TYPE_DECL,
7765169689Skan	RECORD_TYPE, IDENTIFIER_NODE, etc.)
7766169689Skan	(objc_is_id): Removed.
7767169689Skan	(objc_is_object_ptr): New function.
7768169689Skan	(get_class_ivars_from_name): New function, used for @defs construct.
7769169689Skan	(get_class_ivars): Add option to return raw ivars; create a
7770169689Skan	ClASS_OWN_IVARS list for each class as needed.
7771169689Skan	(objc_enter_block, objc_exit_block, objc_declare_variable,
7772169689Skan	objc_build_throw_stmt, val_stack_push, val_stack_pop,
7773169689Skan	objc_build_try_enter_fragment, objc_build_extract_expr,
7774169689Skan	objc_build_try_exit_fragment, objc_build_extract_fragment,
7775169689Skan	objc_build_try_prologue, objc_build_try_epilogue,
7776169689Skan	objc_build_catch_stmt, objc_build_catch_epilogue,
7777169689Skan	objc_build_finally_prologue, objc_build_finally_epilogue,
7778169689Skan	objc_build_try_catch_finally_stmt, objc_build_synchronized_prologue,
7779169689Skan	objc_build_synchronized_epilogue, build_objc_exception_stuff):
7780169689Skan	New functions.
7781169689Skan	(_JBLEN): _setjmp jmpbuf size (needs to be made a target hook in
7782169689Skan	the future).
7783169689Skan	(build_private_template): Fix up calls to get_class_ivars().
7784169689Skan	(offset_is_register, forwarding_offset): Remove.
7785169689Skan	(objc_method_parm_type, objc_encoded_type_size): New functions.
7786169689Skan	(encode_method_prototype): Simplify to no longer depend on
7787169689Skan	back-end information.
7788169689Skan	(build_tmp_function_decl_xxx, build_tmp_function_decl,
7789169689Skan	hack_method_prototype): Removed.
7790169689Skan	(generate_protocol_references): Remove calls to
7791169689Skan	build_tmp_function_decl().
7792169689Skan	(generate_protocols): Adjust calls to encode_method_prototype().
7793169689Skan	(build_class_template): Generate sel_id' and 'gc_object_type' fields
7794169689Skan	for the NeXT runtime.
7795169689Skan	(synth_forward_declarations): Call build_metadata_decl().
7796169689Skan	(check_ivars): Check that the number of ivars matches also.
7797169689Skan	(build_super_template): Modify super_type directly; disable debugging
7798169689Skan	output while generating decl.
7799169689Skan	(build_ivar_list_initializer): Skip list elements that are not
7800169689Skan	FIELD_DECLs.
7801169689Skan	(ivar_list_length): New function.
7802169689Skan	(generate_ivar_lists): Call ivar_list_length() instead of list_length()
7803169689Skan	and encode_method_prototype() instead of encode_method_def().
7804169689Skan	(build_shared_structure_initializer): Generate 'sel_id' field for
7805169689Skan	the NeXT runtime.
7806169689Skan	(generate_category): Do not set TREE_USED.
7807169689Skan	(build_keyword_selector): Ditto; transform into a function argument
7808169689Skan	chain.
7809169689Skan	(get_arg_type_list): If there are no user-specified arguments, use
7810169689Skan	'...'; use OBJC_VOID_AT_END.
7811169689Skan	(check_duplicates): Add a parameter indicating whether methods or
7812169689Skan	selectors are being checked.
7813169689Skan	(receiver_is_class_object): Add parameters indicating whether
7814169689Skan	receiver is 'self' or 'super'; robustify.
7815169689Skan	(build_message_expr): Defer call to finish_message_expr() if
7816169689Skan	inside an ObjC++ template.
7817169689Skan	(lookup_method_in_hash_lists): New function.
7818169689Skan	(finish_message_expr): Complete rewrite/fix.
7819169689Skan	(build_objc_method_call): Ditto; factor out commonalities between
7820169689Skan	the GNU and NeXT runtimes; acccommodate ..._stret and ...NonNil
7821169689Skan	messenger variants on the NeXT.
7822169689Skan	(lookup_instance_method_static, lookup_class_method_static):
7823169689Skan	Fold into a single lookup_method_static() function with an
7824169689Skan	additional parameter.
7825169689Skan	(add_class_method, add_instance_method): Fold into a single
7826169689Skan	add_method() function with an additional parameter.
7827169689Skan	(add_category): Make duplicate categories a hard error in ObjC++.
7828169689Skan	(add_instance_variable): Properly handle unnamed ivars, arrays of
7829169689Skan	zero or no size and bitfields.  In ObjC++, check for nontrivial
7830169689Skan	C++ class instances.
7831169689Skan	(is_public): Allow C functions to access non-@public ivars, with
7832169689Skan	a warning.
7833169689Skan	(start_class): Move common initializations to
7834169689Skan	synth_module_prologue(); check for global scope if in ObjC++.
7835169689Skan	(continue_class): Fix calls to finish_struct().
7836169689Skan	(objc_declare_protocols, start_protocol): Check for global scope
7837169689Skan	if in ObjC++.
7838169689Skan	(encode_pointer): Encode 'BOOL *' specially on the NeXT.
7839169689Skan	(encode_aggregate_within): Rewrite to properly distinguish
7840169689Skan	struct tags from typedefs in both ObjC and ObjC++.
7841169689Skan	(encode_bitfield, encode_complete_bitfield): Remove.
7842169689Skan	(encode_next_bitfield, encode_gnu_bitfield): New functions.
7843169689Skan	(encode_field_decl): Call encode_next_bitfield() or
7844169689Skan	encode_gnu_bitfield() as needed.
7845169689Skan	(synth_self_and_ucmd_args): New function.
7846169689Skan	(start_method_def): Use it.
7847169689Skan	(objc_types_are_equivalent): New function.
7848169689Skan	(comp_proto_with_proto): Use it instead of comptypes(), since
7849169689Skan	we need symmetry.
7850169689Skan	(really_start_method): Use lookup_method_static() instead of
7851169689Skan	lookup_class_method_static() and lookup_instance_method_static();
7852169689Skan	Emit 'extern "C"' if in ObjC++ mode.
7853169689Skan	(add_objc_decls): Removed.
7854169689Skan	(UOBJC_SUPER_scope): New variable.
7855169689Skan	(get_super_receiver): Move construction of 'super' from
7856169689Skan	add_objc_decls(); remove dependency on struct objc_class.
7857169689Skan	(encode_method_def): Removed; encode_method_prototype() is
7858169689Skan	used instead.
7859169689Skan	(objc_clear_super_receiver): New function.
7860169689Skan	(objc_expand_function_end): Do not do anything for ordinary
7861169689Skan	C functions.
7862169689Skan	(finish_method_def): Mark ObjC methods as un-inlinable.
7863169689Skan	(gen_declaration_1): Emit widths of bitfields.
7864169689Skan	(finish_objc): Call generate_objc_image_info() if needed;
7865169689Skan	use check_duplicates() when checking for selector duplicates.
7866169689Skan	(generate_objc_image_info): New function.
7867169689Skan	* objc/objc-act.h (add_instance_method, add_class_method,
7868169689Skan	get_class_ivars): Remove prototypes.
7869169689Skan	(objc_build_throw_stmt, objc_build_try_catch_finally_stmt,
7870169689Skan	objc_build_synchronized_prologue, objc_build_synchronized_epilogue,
7871169689Skan	objc_build_catch_stmt, objc_build_catch_epilogue,
7872169689Skan	objc_build_finally_prologue, objc_build_finally_epilogue,
7873169689Skan	add_method, get_class_ivars_from_name): New prototypes.
7874169689Skan	(CLASS_BINFO_ELTS, PROTOCOL_BINFO_ELTS): New.
7875169689Skan	(TYPE_PROTOCOL_LIST): Robustify to distinguish from
7876169689Skan	TRANSLATION_UNIT_DECLs.
7877169689Skan	(OBJC_TYPE_NAME): New.
7878169689Skan	(objc_tree_code): Ensure that either <c-tree.h> or <cp/cp-tree.h>
7879169689Skan	got included.
7880169689Skan	(IS_SUPER): Robustify.
7881169689Skan	(umsg_stret_decl, umsg_super_stret_decl, umsg_nonnil_decl,
7882169689Skan	umsg_nonnil_stret_decl, objc_storage_class, objc_exception_extract_decl,
7883169689Skan	objc_exception_try_enter_decl, objc_exception_try_exit_decl,
7884169689Skan	objc_exception_match_decl, objc_exception_throw_decl,
7885169689Skan	objc_sync_enter_decl, objc_sync_exit_decl, objc_exception_data_template,
7886169689Skan	objc_setjmp_decl, objc_stack_exception_data, objc_caught_exception,
7887169689Skan	objc_rethrow_exception, objc_eval_once, objc_exception_block_stack,
7888169689Skan	objc_catch_type): New ObjC/ObjC++ roots.
7889169689Skan	* objc/objc-tree.def (MESSAGE_SEND_EXPR, CLASS_REFERENCE_EXPR): New
7890169689Skan	ObjC/ObjC++ tree node codes.
7891169689Skan
7892169689Skan2003-09-24  Alexandre Oliva  <aoliva@redhat.com>
7893169689Skan
7894169689Skan	* cpplib.c (do_pragma): Reintroduce cb_line_change call in the
7895169689Skan	code path that calls a handler.
7896169689Skan
7897169689Skan2003-09-24  Nathanael Nerode  <neroden@gcc.gnu.org>
7898169689Skan
7899169689Skan	* config.gcc (c4x-*, tic4x-*, d30v-*, mmix-knuth-mmixware):
7900169689Skan	Disable fixproto.
7901169689Skan
7902169689Skan	* config.gcc: Clean up and reindent $with_cpu=yes|no clause and
7903169689Skan	the section giving $with_cpu defaults by target.
7904169689Skan
7905169689Skan	* config.gcc (arm-*-coff*, armel-*-coff*, arm*-*-ecos-elf,
7906169689Skan	arm*-*-elf, ep9312-*-elf, arm*-wince-pe*, arm*-*-pe*, arm*-*-pe*,
7907169689Skan	rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*,
7908169689Skan	rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*,
7909169689Skan	rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*,
7910169689Skan	i[34567]86-pc-msdosdjgpp*): Disable fixproto.
7911169689Skan
7912169689Skan2003-09-24  David Edelsohn  <edelsohn@gnu.org>
7913169689Skan
7914169689Skan	* config/rs6000/rs6000.md (movti_power): Collapse case 1 and 2
7915169689Skan	together.  Protect load string instruction with TARGET_STRING.
7916169689Skan	(movti_string): Collapse case 1 and 2 together.
7917169689Skan
7918169689Skan2003-09-24  Nathan Sidwell  <nathan@codesourcery.com>
7919169689Skan
7920169689Skan	* c-common.c (c_common_type_for_mode): Check for VOIDmode.
7921169689Skan
7922169689Skan2003-09-24  Richard Earnshaw  <rearnsha@arm.com>
7923169689Skan
7924169689Skan	* arm.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Wrap in
7925169689Skan	do...while(0)
7926169689Skan
7927169689Skan2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
7928169689Skan
7929169689Skan	* config.gcc: Move use_fixproto=no from generic vxworks clause to
7930169689Skan	specific one.
7931169689Skan
7932169689Skan	* config.gcc (powerpc-*-gnu-gnualtivec*): Disable fixproto
7933169689Skan	(accidentally missed in last pass).
7934169689Skan
7935169689Skan2003-09-23  Andrew Pinski  <apinski@apple.com>
7936169689Skan
7937169689Skan	PR bootstrap/12383
7938169689Skan	* configure: Regenerate.
7939169689Skan
7940169689Skan2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
7941169689Skan
7942169689Skan	* config.gcc (x86_64-*-freebsd*): Disable fixproto (accidentally
7943169689Skan	missed in last pass).
7944169689Skan
7945169689Skan2003-09-23  Alexandre Oliva  <aoliva@redhat.com>
7946169689Skan
7947169689Skan	* config/mn10300/mn10300.md (andsi3): Fix cut&pasto in 0xfffffffe
7948169689Skan	constant.
7949169689Skan
7950169689Skan2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
7951169689Skan
7952169689Skan	* config.gcc: Move vax-*-vms* unsupported notice up with the rest.
7953169689Skan
7954169689Skan	* config.gcc (alpha64*-dec-*vms*, alpha*-dec-*vms*,
7955169689Skan	powerpc-*-eabisim*, powerpc-*-eabi*, powerpcle-*-eabisim*,
7956169689Skan	powerpcle-*-eabi*): Disable fixproto.
7957169689Skan
7958169689Skan	* config.gcc: Move use_fixproto=no from generic FreeBSD clause to
7959169689Skan	specific FreeBSD clauses.
7960169689Skan	* config.gcc: Move use_fixproto=no from generic NetBSD clause to
7961169689Skan	specific NetBSD clauses.
7962169689Skan	* config.gcc: Move use_fixproto=no from generic OpenBSD clause
7963169689Skan	to specific OpenBSD clauses.
7964169689Skan
7965169689Skan2003-09-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7966169689Skan
7967169689Skan	* pa.c (hppa_expand_prologue): Do pic register save in frame marker
7968169689Skan	without adding a frame note.
7969169689Skan	* pa.md (allocate_stack): Save pic register in new frame marker when
7970169689Skan	generating pic code.
7971169689Skan
7972169689Skan2003-09-23  Kelley Cook  <kelleycook@wideopenwest.com>
7973169689Skan
7974169689Skan	* cgraphunit.c (cgraph_expand_all_functions): Renamed from
7975169689Skan	cgraph_expand_functions.
7976169689Skan
7977169689Skan2003-09-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7978169689Skan
7979169689Skan	* Makefile.in (gnucompare*): Merge into ...
7980169689Skan	(slowcompare*): ... here.
7981169689Skan	(fastcompare*): New targets.
7982169689Skan	* aclocal.m4 (gcc_AC_PROG_CMP_IGNORE_INITIAL): Add checks for
7983169689Skan	other "fast" cmp programs.
7984169689Skan	* configure: Regenerate.
7985169689Skan
7986169689Skan2003-09-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7987169689Skan
7988169689Skan	* targhooks.c: Include output.h.
7989169689Skan	* Makefile.in (targhooks.o): Add output.h to dependency list.
7990169689Skan
7991169689Skan2003-09-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7992169689Skan
7993169689Skan	* config.host: Removed superfluous newline.
7994169689Skan
7995169689Skan2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
7996169689Skan
7997169689Skan	* config.gcc: Use ${target}, not $machine.
7998169689Skan	* configure.in: Don't set $machine.
7999169689Skan	* configure: Regenerate.
8000169689Skan
8001169689Skan2003-09-23  Geoffrey Keating  <geoffk@apple.com>
8002169689Skan
8003169689Skan	* config/t-darwin (crt2.o): Add stmp-int-hdrs to dependencies.
8004169689Skan
8005169689Skan	* config/rs6000/rs6000.c (function_arg_pass_by_reference): Don't
8006169689Skan	pass zero-size arrays by reference.
8007169689Skan	(rs6000_va_arg): Likewise.
8008169689Skan
8009169689Skan2003-09-23  Nathanael Nerode  <neroden@gcc.gnu.org>
8010169689Skan
8011169689Skan	* config.gcc: Set use_fixproto=no in each specific *-gnu*
8012169689Skan	configuration, rather than the generic one.
8013169689Skan
8014169689Skan2003-09-23  Richard Henderson  <rth@redhat.com>
8015169689Skan
8016169689Skan	* tree-inline.c (remap_save_expr): Map new save_expr to identity
8017169689Skan	rather than to error_mark_node.
8018169689Skan
8019169689Skan2003-09-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8020169689Skan
8021169689Skan	* configure.in (HAVE_GAS_SHF_MERGE): Always define to test result.
8022169689Skan	Update description.
8023169689Skan	* configure: Regenerate.
8024169689Skan	* config.in: Likewise.
8025169689Skan	* dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Test for
8026169689Skan	HAVE_GAS_SHF_MERGE value.
8027169689Skan	* varasm.c (mergeable_string_section): Likewise.
8028169689Skan	(mergeable_constant_section): Likewise.
8029169689Skan
8030169689Skan2003-09-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8031169689Skan
8032169689Skan	* except.h (MUST_USE_SJLJ_EXCEPTIONS): Test for DWARF2_UNWIND_INFO
8033169689Skan	value.
8034169689Skan
8035169689Skan2003-09-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8036169689Skan
8037169689Skan	* target.h (struct gcc_target): New member external_libcall.
8038169689Skan	* target-def.h (TARGET_ASM_EXTERNAL_LIBCALL): Provide default.
8039169689Skan	(TARGET_ASM_OUT): Use it.
8040169689Skan	* doc/tm.texi (TARGET_ASM_EXTERNAL_LIBCALL): Document.
8041169689Skan	* targhooks.c: Convert to ISO C 90.
8042169689Skan	(default_external_libcall): New function.
8043169689Skan	* targhooks.h (default_external_libcall): Declare.
8044169689Skan	* varasm.c (assemble_external_libcall): Use
8045169689Skan	targetm.asm_out.external_libcall instead of
8046169689Skan	ASM_OUTPUT_EXTERNAL_LIBCALL.
8047169689Skan	* config/mips/mips-protos.h [TARGET_IRIX5 || TARGET_IRIX 6]
8048169689Skan	(mips_output_external_libcall): Declare.
8049169689Skan	* config/mips/mips.c (mips_output_external_libcall): Change
8050169689Skan	definition guard.
8051169689Skan	Change to match TARGET_ASM_EXTERNAL_LIBCALL.
8052169689Skan	Only operate for O32 ABI.
8053169689Skan	* config/mips/iris5.h (TARGET_ASM_EXTERNAL_LIBCALL): Define
8054169689Skan	instead of ASM_OUTPUT_EXTERNAL_LIBCALL.
8055169689Skan	* config/mips/iris6.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Don't undef,
8056169689Skan	superceded by TARGET_ASM_EXTERNAL_LIBCALL.
8057169689Skan
8058169689Skan2003-09-22  Nathnael Nerode  <neroden@gcc.gnu.org>
8059169689Skan
8060169689Skan	* config.gcc: Do per-target disabling of fixproto here in clauses,
8061169689Skan	not in t- fragments.
8062169689Skan	* configure.in: Adjust to set STMP_FIXPROTO correctly.
8063169689Skan	* configure: Regenerate.
8064169689Skan	* config/arm/t-semi, config/cris/t-cris, config/i386/t-beos,
8065169689Skan	config/i386/t-cygming, config/i386/t-nto, config/ia64/t-hpux,
8066169689Skan	t-freebsd, t-linux, t-netbsd, t-openbsd, t-rtems, t-vxworks,
8067169689Skan	xtensa/t-xtensa: Remove setting of STMP_FIXPROTO.
8068169689Skan	* config/i370/t-oe, config/i386/t-netware, config/pa/t-bsd,
8069169689Skan	t-interix, t-linux-aout:  Delete files consisting only of
8070169689Skan	setting of STMP_FIXPROTO.
8071169689Skan
8072169689Skan	* config.host: Allow unknown hosts (not targets).  Allow
8073169689Skan	ns32k-*-netbsdelf* as a host (not a target).  Remove redundant
8074169689Skan	empty clauses.  Remove useless obsolete-configuration clause.
8075169689Skan	Prune unsupported configuration list.  Collapse identical
8076169689Skan	clauses for closely related systems.  Rewrite comment for
8077169689Skan	unsupported hosts list.  Reorganize a little.
8078169689Skan
8079169689Skan2003-09-22  Richard Henderson  <rth@redhat.com>
8080169689Skan
8081169689Skan	* c-common.c (c_common_signed_or_unsigned_type): Examine mode,
8082169689Skan	not precision.
8083169689Skan
8084169689Skan2003-09-22  David Edelsohn  <edelsohn@gnu.org>
8085169689Skan	    Hartmut Penner  <hpenner@de.ibm.com>
8086169689Skan	    Segher Boessenkool  <boessen@de.ibm.com>
8087169689Skan
8088169689Skan	* config/rs6000/rs6000.c (altivec_in_gprs_p): Rename to ...
8089169689Skan	(gpr_or_gpr_p): Test INT_REGNO_P and convert to boolean.
8090169689Skan	(rs6000_split_altivec_in_gprs): Rename to ...
8091169689Skan	(rs6000_split_multireg_move): Add support for update addressing.
8092169689Skan	* config/rs6000/rs6000-protos.h: Same.
8093169689Skan	* config/rs6000/altivec.md: Same.
8094169689Skan	* config/rs6000/rs6000.md (movdi_internal32): Use new splitter for
8095169689Skan	multiple GPRs.
8096169689Skan	(movti): Remove TARGET_STRING || TARGET_POWERPC64 final condition.
8097169689Skan	(movti_power): Use new splitter for multiple GPRs.
8098169689Skan	(movti_string): Same.
8099169689Skan	(movti_ppc64): Same.
8100169689Skan
8101169689Skan2003-09-22  Bob Wilson  <bob.wilson@acm.org>
8102169689Skan
8103169689Skan	* config/xtensa/xtensa-protos.h: Convert to ISO C90.
8104169689Skan	* config/xtensa/xtensa.c: Convert to ISO C90.  Minor formatting fixes.
8105169689Skan
8106169689Skan2003-09-22  Alexandre Oliva  <aoliva@redhat.com>
8107169689Skan
8108169689Skan	* config/mn10300/mn10300.md: Revert 2003-09-17's patch.
8109169689Skan	(andsi3): Set attr cc to set_zn when using shifts or adds.
8110169689Skan
8111169689Skan2003-09-22  Bernardo Innocenti <bernie@develer.com>
8112169689Skan
8113169689Skan	* doc/contrib.texi: Add Peter Barada, Paul Dale and myself.
8114169689Skan
8115169689Skan2003-09-22  Bernardo Innocenti  <bernie@develer.com>
8116169689Skan
8117169689Skan	* config/m68k/m68k.h (MASK_RTD, TARGET_RTD, RETURN_POPS_ARGS):
8118169689Skan	Resurrect -mrtd option.
8119169689Skan
8120169689Skan2003-09-21  Andrew Pinski  <pinskia@physics.uc.edu>
8121169689Skan
8122169689Skan	PR target/12281
8123169689Skan	* config/darwin.c (machopic_validate_stub_or_non_lazy_ptr): Call
8124169689Skan	mark_referenced instead of setting TREE_SYMBOL_REFERENCED.
8125169689Skan
8126169689Skan2003-09-22  Olivier Hainque  <hainque@act-europe.fr>
8127169689Skan
8128169689Skan	PR target/9786
8129169689Skan	* reg-stack.c (convert_regs_1): Purge possible dead eh edges
8130169689Skan	after potential deletion of trapping insn. Avoids later ICE
8131169689Skan	from call to fixup_abnormal_edges.
8132169689Skan	(convert_regs_2): Stack the current block successors before
8133169689Skan	processing this block, that is, before the potential deletion of
8134169689Skan	dead edges by convert_regs_1, because these edges have been used
8135169689Skan	to initialize the predecessors count.
8136169689Skan
8137169689Skan2003-09-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
8138169689Skan
8139169689Skan	* real.c: Fix several nits in the head comment.
8140169689Skan
8141169689Skan2003-09-21  Richard Henderson  <rth@redhat.com>
8142169689Skan
8143169689Skan	* tree.h c-aux-info.c, c-decl.c, c-parse.in, coverage.c, dbxout.c,
8144169689Skan	diagnostic.c, dwarf2out.c, dwarfout.c, function.c, integrate.c,
8145169689Skan	print-tree.c, stmt.c, toplev.c, tree-dump.c, tree-inline.c,
8146169689Skan	tree-optimize.c, tree.c, tree.def, xcoffout.c, config/alpha/alpha.c,
8147169689Skan	config/mips/mips.c, doc/c-tree.texi, objc/objc-act.c: Revert.
8148169689Skan
8149169689Skan2003-09-21  Richard Henderson  <rth@redhat.com>
8150169689Skan
8151169689Skan	* tree.h (TREE_LOCUS): Rename from DECL_SOURCE_LOCATION; make const.
8152169689Skan	(TREE_FILENAME, TREE_LINENO): Likewise.
8153169689Skan	(set_tree_locus, copy_tree_locus, set_tree_file_line): New.
8154169689Skan	(TREE_LOCUS_SET_P): New.
8155169689Skan	* c-aux-info.c, c-decl.c, c-parse.in, coverage.c, dbxout.c,
8156169689Skan	diagnostic.c, dwarf2out.c, dwarfout.c, function.c, integrate.c,
8157169689Skan	print-tree.c, stmt.c, toplev.c, tree-dump.c, tree-inline.c,
8158169689Skan	tree-optimize.c, tree.c, tree.def, xcoffout.c, config/alpha/alpha.c,
8159169689Skan	config/mips/mips.c, doc/c-tree.texi, objc/objc-act.c: Update to match.
8160169689Skan
8161169689Skan2003-09-21  Nathanael Nerode  <neroden@gcc.gnu.org>
8162169689Skan
8163169689Skan	* config/vax/vax-protos.h: Convert to ISO C90.
8164169689Skan	* config/vax/vax.c: Convert to ISO C90.
8165169689Skan
8166169689Skan2003-09-21  Graham Stott  <grahams@btinternet.com>
8167169689Skan
8168169689Skan       PR target/12353
8169169689Skan       * config/i386/i386.md(ffs_no_cmove): Fix operand 2 constraint.
8170169689Skan
8171169689Skan2003-09-21  Eric Botcazou  <ebotcazou@libertysurf.fr>
8172169689Skan
8173169689Skan	PR target/12301
8174169689Skan	* reorg.c (stop_search_p): Return 1 for insns that can
8175169689Skan	throw internally.
8176169689Skan
8177169689Skan2003-09-20  Richard Henderson  <rth@redhat.com>
8178169689Skan
8179169689Skan	* c-format.c (gcc_diag_char_table): Add %J.
8180169689Skan	(gcc_cdiag_char_table, gcc_cxxdiag_char_table): Likewise.
8181169689Skan	(check_format_types): Fix wanted_type name lookup.
8182169689Skan	(init_dynamic_diag_info): Setup %J.
8183169689Skan	* diagnostic.c (text_specifies_location): Implement %J.
8184169689Skan	* c-common.c, c-decl.c, c-objc-common.c, c-pragma.c, calls.c,
8185169689Skan	dwarfout.c, expr.c, function.c, stmt.c, stor-layout.c, toplev.c,
8186169689Skan	tree-inline.c, tree-optimize.c, varasm.c, config/arm/pe.c,
8187169689Skan	config/i386/winnt.c, config/ia64/ia64.c, config/mcore/mcore.c,
8188169689Skan	config/v850/v850.c, objc/objc-act.c: Use %J in diagnostics.
8189169689Skan
8190169689Skan	* tree-inline.c: Include intl.h
8191169689Skan	(inline_forbidden_p_1): Fix i18n of inline_forbidden_reason.
8192169689Skan	* Makefile.in (tree-inline.o): Update.
8193169689Skan
8194169689Skan2003-09-20  Roger Sayle  <roger@eyesopen.com>
8195169689Skan
8196169689Skan	* config/i386/i386.c (ix86_expand_carry_flag_compare): Fix
8197169689Skan	transformation of a>=0 into (unsigned)a<0x80000000.
8198169689Skan
8199169689Skan2003-09-20  Andrew Pinski <apinski@apple.com>
8200169689Skan
8201169689Skan	* config/darwin.c (machopic_select_rtx_section): Fix check for PIC code.
8202169689Skan
8203169689Skan2003-09-20  Nathanael Nerode  <neroden@gcc.gnu.org>
8204169689Skan
8205169689Skan	* Makefile.in: Don't set (unused) DLLTOOL.
8206169689Skan
8207169689Skan	* config/arm/t-linux, config/arm/t-netbsd, config/arm-t-semi:
8208169689Skan	Remove obsolete references to ENQUIRE.
8209169689Skan
8210169689Skan2003-09-19  Nathanael Nerode  <neroden@gcc.gnu.org>
8211169689Skan
8212169689Skan	* configure.in: Remove --with-elf, which doesn't work.
8213169689Skan	* configure: Regenerate.
8214169689Skan	* config.gcc: Remove references to $elf, which does nothing.
8215169689Skan
8216169689Skan	* config/i386/xm-vsta.h: Remove xm-file believed useless.
8217169689Skan	* config.build (i386-vsta): Remove reference to it.
8218169689Skan	* config.host (i386-vsta): Remove reference to it.
8219169689Skan
8220169689Skan2003-09-19  Phil Edwards  <phil@codesourcery.com>
8221169689Skan
8222169689Skan	* doc/install.texi:  Document the multiple testsuite options.
8223169689Skan
8224169689Skan2003-09-19  Gerald Pfeifer  <gerald@pfeifer.com>
8225169689Skan
8226169689Skan	* doc/install.texi (Specific): Add the specific versions of GCC
8227169689Skan	where support for FreeBSD 1, HP-UX version 9 and older, and AIX
8228169689Skan	version 3 and older was discontinued.
8229169689Skan
8230169689Skan2003-09-19	Joel Sherrill <joel@oarcorp.com>
8231169689Skan
8232169689Skan	* config/m68k/t-m68kbare, config/m68k/t-rtems: Change 68681 to
8233169689Skan	68881.
8234169689Skan
8235169689Skan2003-09-19  Bernardo Innocenti  <bernie@develer.com>
8236169689Skan
8237169689Skan	* config/m68k/m68k.h (TARGET_CPU_CPP_PREDEFINES): Add predefines
8238169689Skan	for -m68030, -m68020-60 and -m68020-40.
8239169689Skan	* config/m68k/m68k.h (TARGET_68030): New target flag.
8240169689Skan	* config/m68k/m68k.h (MASK_RTD, TARGET_RTD, MASK_REGPARM,
8241169689Skan	TARGET_REGPARM): Remove.
8242169689Skan	* config/m68k/m68k.h: Regroup and renumber target flags.
8243169689Skan	* config/m68k/m68k.h (TARGET_SWITCHES): Fix some tabulations.
8244169689Skan	* config/m68k/m68k.h (RETURN_POPS_ARGS): Always evaluate to 0.
8245169689Skan	* config/m68k/m68k.h (FUNCTION_ARG): Likewise.
8246169689Skan	* config/m68k/m68k.h (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
8247169689Skan	* config/m68k/m68k-none.h: Use MASK_xxx values in M68K_CPU_xxx macros.
8248169689Skan
8249169689Skan2003-09-19  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
8250169689Skan
8251169689Skan	* config/m68k/t-rtems (m68k-*-rtems*): New.
8252169689Skan	* config.gcc: Use config/m68k/t-rtems.
8253169689Skan
8254169689Skan2003-09-19  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
8255169689Skan
8256169689Skan	* config/mips/t-rtems: New.
8257169689Skan	* config.gcc (mips*-*-rtems*): Use config/mips/t-rtems.
8258169689Skan
8259169689Skan2003-09-19  Kelley Cook  <kelleycook@wideopenwest.com>
8260169689Skan
8261169689Skan	* cgraph.c: Fix typo in debugging output.
8262169689Skan
8263169689Skan2003-09-19  T. Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
8264169689Skan	    Eric Botcazou <ebotcazou@libertysurf.fr>
8265169689Skan
8266169689Skan	PR target/12166
8267169689Skan	* config/sparc/sol2-c1.asm (start): Set __Argv if GCRT1.
8268169689Skan
8269169689Skan2003-09-18  Mike Stump  <mrs@apple.com>
8270169689Skan
8271169689Skan	* c-ppoutput.c (print):  Use fileline typedef for field 'line'.
8272169689Skan	(print_line, maybe_print_line, cb_define, cb_undef, cb_include,
8273169689Skan	cb_ident, cb_def_pragma):  Use fileline typedef.
8274169689Skan	* cpphash.h (struct cpp_reader):  Likewise for field out.first_line.
8275169689Skan
8276169689Skan2003-09-18  Danny Smith  <dannysmith@users.sourceforge.net>
8277169689Skan
8278169689Skan	* config/i386/winnt.c (gen_stdcall_suffix): Quit summation of
8279169689Skan	total parm size if a parm has incomplete type.
8280169689Skan	(gen_fastcall_suffix): Likewise.
8281169689Skan
8282169689Skan2003-09-18  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
8283169689Skan
8284169689Skan	* except.c (output_function_exception_table): Adjust last change
8285169689Skan	to handle TYPE of INTEGER_CST.
8286169689Skan
8287169689Skan2003-09-18  Mark Mitchell  <mark@codesourcery.com>
8288169689Skan
8289169689Skan	PR target/11184
8290169689Skan	* builtins.c (expand_builtin_apply): Use convert_memory_address
8291169689Skan	before returning the value.
8292169689Skan
8293169689Skan	* alias.c (find_base_value): Simplify use of
8294169689Skan	convert_memory_address.
8295169689Skan	(find_base_term): Likewise.
8296169689Skan	* builtins.c (expand_builtin_stejmp_setup): Likewise.
8297169689Skan	(expand_builtin_longjmp): Likewise.
8298169689Skan	(expand_builtin_prefetch): Likewise.
8299169689Skan	(get_memory_rtx): Likewise.
8300169689Skan	(expand_builtin_return): Likewise.
8301169689Skan	(expand_builtin_memcpy): Likewise.
8302169689Skan	(expand_builtin_strncpy): Likewise.
8303169689Skan	(expand_builtin_memset): Likewise.
8304169689Skan	(expand_builtin_va_arg): Likewise.
8305169689Skan	(expand_builtin_va_copy): Likewise.
8306169689Skan	(expand_builtin_alloca): Likewise.
8307169689Skan	* calls.c (expand_call): Likewise.
8308169689Skan	* except.c (expand_builtin_extract_return_addr): Likewise.
8309169689Skan	(expand_builtin_eh_return): Likewise.
8310169689Skan	* explow.c (convert_memory_address): Define even when
8311169689Skan	POINTER_EXTEND_UNSIGNED is not defined.  Do nothing if the address
8312169689Skan	is already in the right mode.
8313169689Skan	* explow.c (memory_address): Simplify use of convert_memory_address.
8314169689Skan	(probe_stack_range): Likewise.
8315169689Skan	* expmed.c (make_tree): Likewise.
8316169689Skan	* expr.c (emit_block_move_in_libcall): Likewise.
8317169689Skan	(expand_assignment): Likewise.
8318169689Skan	(expand_expr): Likewise.
8319169689Skan	* function.c (assign_parms): Likewise.
8320169689Skan	(expand_function_end): Likewise.
8321169689Skan	* integrate.c (copy_rtx_and_substitute): Likewise.
8322169689Skan	* stmt.c (expand_computed_goto): Likewise.
8323169689Skan
8324169689Skan2003-09-18  Roger Sayle  <roger@eyesopen.com>
8325169689Skan
8326169689Skan	* simplify-rtx.c (simplify_unary_operation): Only transform
8327169689Skan	(not (eq X Y)) into (ne X Y) when mode is BImode or STORE_FLAG_VALUE
8328169689Skan	is -1.  RTL "not" is a bit-wise not, "~", not a logical not "!".
8329169689Skan
8330169689Skan2003-09-18  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
8331169689Skan
8332169689Skan	PR target/11674
8333169689Skan	* config/i386/i386.c (x86_emit_floatuns): Also handle SImode operand.
8334169689Skan
8335169689Skan2003-09-18  Roger Sayle  <roger@eyesopen.com>
8336169689Skan
8337169689Skan	* tree.def (FFS_EXPR, CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR,
8338169689Skan	PARITY_EXPR): Delete unused tree codes.
8339169689Skan	* c-common.c (c_common_truthvalue_conversion): Delete references
8340169689Skan	to FFS_EXPR and POPCOUNT_EXPR.
8341169689Skan	* c-pretty-print.c (pp_c_postfix_expression): Remove FFS_EXPR.
8342169689Skan	(pp_c_expression): Likewise.
8343169689Skan	* expr.c (expand_expr): Delete RTL expansion of FFS_EXPR, CLZ_EXPR,
8344169689Skan	CTZ_EXPR, POPCOUNT_EXPR and PARITY_EXPR.
8345169689Skan	* fold-const.c (tree_expr_nonnegative_p): Remove FFS_EXPR, CLZ_EXPR,
8346169689Skan	CTZ_EXPR, POPCOUNT_EXPR and PARITY_EXPR.  Add support for calls to
8347169689Skan	BUILT_IN_FFS, BUILT_IN_PARITY and BUILT_IN_POPCOUNT and their long
8348169689Skan	and long long variants.
8349169689Skan
8350169689Skan2003-09-18  Gabriel Dos Reis  <gdr@integrable-solutions.net>
8351169689Skan
8352169689Skan	* c-pretty-print.h (pp_type_specifier_seq): Fix thinko.
8353169689Skan	* c-pretty-print.c: Fix formatting.
8354169689Skan	(pp_c_integer_constant): Append type annotation to literals.  Tidy.
8355169689Skan	(pp_c_type_specifier): Tidy.
8356169689Skan	(pp_c_compound_literal): New function.
8357169689Skan	(pp_c_initializer): Simplify..
8358169689Skan	(pp_c_initializer_list): Likewise.
8359169689Skan	(pp_c_brace_enclosed_initializer_list): New function.
8360169689Skan	(pp_c_postfix_expression): Simplify.
8361169689Skan
8362169689Skan2003-09-17  Alexandre Oliva  <aoliva@redhat.com>
8363169689Skan
8364169689Skan	* config/mn10300/mn10300.md (andsi3, iorsi3, xorsi3,
8365169689Skan	one_complsi2, bit-clear, bit-set, iorqi3): Make them set_zn.
8366169689Skan
8367169689Skan2003-09-17  Richard Henderson  <rth@redhat.com>
8368169689Skan
8369169689Skan	* tree-optimize.c (tree_rest_of_compilation): Save and restore
8370169689Skan	input_location.
8371169689Skan
8372169689Skan2003-09-17  Daniel Jacobowitz  <drow@mvista.com>
8373169689Skan
8374169689Skan	* config/rs6000/sysv4.h (LIB_LINUX_SPEC): Give -lpthread before -lc.
8375169689Skan
8376169689Skan2003-09-17  Richard Henderson  <rth@redhat.com>
8377169689Skan
8378169689Skan	* cfg.c (dump_flow_info): Skip register dump if reg_n_info null.
8379169689Skan
8380169689Skan2003-09-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8381169689Skan
8382169689Skan	* configure.in (gcc_cv_ld_hidden): Don't test gnu_ld_flag.
8383169689Skan	* configure: Regenerate.
8384169689Skan
8385169689Skan2003-09-17  Mark Mitchell  <mark@codesourcery.com>
8386169689Skan
8387169689Skan	PR debug/12066
8388169689Skan	* dbxout.c (dbxout_init): Use a langhook to find builtin types.
8389169689Skan	* langhooks-def.h (lhd_return_null_tree_v): New function.
8390169689Skan	(LANG_HOOKS_BUILTIN_TYPE_DECLS): New macro.
8391169689Skan	(LANG_HOOKS_DECLS): Add it to the intializer.
8392169689Skan	* langhooks.c (lhd_return_null_tree_v): New function.
8393169689Skan	* langhooks.h (lang_hooks_for_decls): Add builtin_type_decls.
8394169689Skan
8395169689Skan2003-09-17  Daniel Jacobowitz  <drow@mvista.com>
8396169689Skan
8397169689Skan	* configure.in: Quote gcc_config_arguments for configargs.h.
8398169689Skan	* configure: Regenerated.
8399169689Skan	* gccbug.in: Don't shell-expand gcc_config_arguments.
8400169689Skan
8401169689Skan2003-09-17  Gabriel Dos Reis  <gdr@integrable-solutions.net>
8402169689Skan
8403169689Skan	PR c++/11357
8404169689Skan	* c-pretty-print.c (pp_c_floating_constant): Append
8405169689Skan	type-annotation to floating constants.
8406169689Skan
8407169689Skan2003-09-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8408169689Skan
8409169689Skan	* config/mips/iris5.h (TARGET_OS_CPP_BUILTINS): Define _LONGLONG.
8410169689Skan	Define _ABIO32.
8411169689Skan	Use it for _MIPS_SIM.
8412169689Skan	* config/mips/iris6-o32.h (TARGET_OS_CPP_BUILTINS): Removed.
8413169689Skan
8414169689Skan	* config/mips/iris6-o32-as.h (SUBTARGET_ASM_OPTIMIZING_SPEC):
8415169689Skan	Moved ...
8416169689Skan	* config/mips/iris5.h (SUBTARGET_ASM_OPTIMIZING_SPEC): ... here,
8417169689Skan	updating comment.
8418169689Skan	Fixes PR target/10190.
8419169689Skan
8420169689Skan2003-09-17  Daniel Jacobowitz  <drow@mvista.com>
8421169689Skan
8422169689Skan	* config/rs6000/sysv4.h (LIB_LINUX_SPEC): Make -pthread apply
8423169689Skan	to shared libraries.
8424169689Skan
8425169689Skan2003-09-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
8426169689Skan
8427169689Skan	PR optimization/11646
8428169689Skan	* cfgrtl.c (purge_dead_edges) [JUMP_INSN]: Rematerialize the
8429169689Skan	EDGE_ABNORMAL flag for EH edges.
8430169689Skan	* toplev.c (rest_of_handle_cse): Delete unreachable blocks
8431169689Skan	if dead edges were purged.
8432169689Skan
8433169689Skan2003-09-16  Bernardo Innocenti  <bernie@develer.com>
8434169689Skan
8435169689Skan	* config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Add target predefines.
8436169689Skan	* config/m68k/m68k-none.h (CPP_CPU_DEFAULT_SPEC): Kill all definitions.
8437169689Skan	* config/m68k/m68k-none.h (CPP_FPU_SPEC): Remove.
8438169689Skan	* config/m68k/m68k-none.h (CPP_SPEC): Likewise.
8439169689Skan
8440169689Skan2003-09-16  Ian Lance Taylor  <ian@wasabisystems.com>
8441169689Skan
8442169689Skan	* cfgcleanup.c (label_is_jump_target_p): Correct use of table
8443169689Skan	returned by tablejump_p.
8444169689Skan
8445169689Skan2003-09-16  Joel Brobecker  <brobecker@gnat.com>
8446169689Skan
8447169689Skan	* dwarf2asm.c (dw2_asm_output_nstring): Add comment.
8448169689Skan
8449169689Skan2003-09-16  Roger Sayle  <roger@eyesopen.com>
8450169689Skan
8451169689Skan	PR bootstrap/12269
8452169689Skan	* simplify-rtx.c (simplify_gen_relational): Allow the cmp_mode
8453169689Skan	argument to be VOIDmode, taking the mode of the comparison from
8454169689Skan	the operands.  Only call simplify_relational_operation if we
8455169689Skan	know the mode of the comparison.  Honor FLOAT_STORE_FLAG_VALUE
8456169689Skan	if comparison has a floating point result.  Ensure that the
8457169689Skan	result is always of the specified mode.
8458169689Skan	(simplify_replace_rtx): Simplify call to simplify_gen_relational.
8459169689Skan	(simplify_unary_operation): Ensure the correct mode and cmp_mode
8460169689Skan	are always passed to simplify_gen_relational.  Simplify NOT of
8461169689Skan	comparison operator in any mode, not just BImode.
8462169689Skan	(simplify_ternary_operation): Correct tests on the return value
8463169689Skan	of simplify_relational_operation to use const_true_rtx, not
8464169689Skan	const1_rtx.  Abort if it ever returns a non-constant result.
8465169689Skan
8466169689Skan	* cfgloopanal.c (count_strange_loop_iterations): Use the function
8467169689Skan	simplify_relational_operation, not simplify_gen_relational, if
8468169689Skan	we're only interested in constant comparisons and will ignore
8469169689Skan	non-constant results.
8470169689Skan
8471169689Skan2003-09-16  Roger Sayle  <roger@eyesopen.com>
8472169689Skan
8473169689Skan	* fold-const.c (tree_swap_operands_p): New function to determine
8474169689Skan	the prefered ordering of operands.
8475169689Skan	(fold): Numerous clean-ups.  Use tree_swap_operands_p when swapping
8476169689Skan	operands to commutative, comparison or ternary operators.  Replace
8477169689Skan	uses of TREE_SET_CODE with recursive call to fold.  Remove duplicate
8478169689Skan	transformation of A ? B : C into !A ? C : B.
8479169689Skan
8480169689Skan2003-09-16  Jakub Jelinek  <jakub@redhat.com>
8481169689Skan
8482169689Skan	* config/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
8483169689Skan	* config/alpha/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
8484169689Skan	* config/arm/linux-elf.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
8485169689Skan	* config/rs6000/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
8486169689Skan	* config/rs6000/linux64.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
8487169689Skan	* config/sh/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
8488169689Skan	* config/sparc/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
8489169689Skan	* config/sparc/linux64.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
8490169689Skan
8491169689Skan2003-09-16  Jason Merrill  <jason@redhat.com>
8492169689Skan	    Jakub Jelinek  <jakub@redhat.com>
8493169689Skan
8494169689Skan	* c-common.c (handle_warn_unused_result_attribute): New function.
8495169689Skan	(c_common_attribute_table): Add warn_unused_result.
8496169689Skan	(c_expand_expr): Issue warning when result of inlined function
8497169689Skan	with warn_unused_result attribute is ignored.
8498169689Skan	* calls.c (expand_call): Issue warning when result of function
8499169689Skan	with warn_unused_result attribute is ignored.
8500169689Skan	* c-common.h (STMT_EXPR_WARN_UNUSED_RESULT): Define.
8501169689Skan	* expr.c (expr_wfl_stack): Define.
8502169689Skan	(expand_expr) <case EXPR_WITH_FILE_LOCATION>: If ignore,
8503169689Skan	pass const0_rtx as target.  Chain locations into expr_wfl_stack.
8504169689Skan	* tree-inline.c (expand_call_inline): Set STMT_EXPR_WARN_UNUSED_RESULT
8505169689Skan	bit if inlined function has warn_unused_result attribute.
8506169689Skan	* input.h (expr_wfl_stack): Declare.
8507169689Skan	* doc/extend.texi: Document warn_unused_result attribute.
8508169689Skan
8509169689Skan2003-09-15  Alexandre Oliva  <aoliva@redhat.com>
8510169689Skan
8511169689Skan	* cpplib.c (do_pragma): Remove unnecessary cb_line_change.
8512169689Skan
8513169689Skan2003-09-15  Bob Wilson  <bob.wilson@acm.org>
8514169689Skan
8515169689Skan	* config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Add
8516169689Skan	ATTRIBUTE_UNUSED.
8517169689Skan	(call_insn_operand): For PIC, don't allow a direct call to a
8518169689Skan	function in a different section than the current one.
8519169689Skan
8520169689Skan2003-09-16  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
8521169689Skan
8522169689Skan	* doc/invoke.texi (Warning Options): Add missing hyphen before
8523169689Skan	"Wimport".  Change "-Wno-endif-labels" to "-Wendif-labels".
8524169689Skan	Move "-Wold-style-definition" to the C-only section.
8525169689Skan	Fix the ordering of the warning options.
8526169689Skan
8527169689Skan2003-09-15  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
8528169689Skan	    Jeff Law  <law@redhat.com>
8529169689Skan
8530169689Skan	* gcse.c (remove_reachable_equiv_notes): New.
8531169689Skan	replace_store_insn): Call it.  Update antic list.
8532169689Skan	(store_killed_in_insn): Take REG_EQUAL notes into account.
8533169689Skan	(build_store_vectors, delete_store): Add parameter to
8534169689Skan	replace_store_insn call.
8535169689Skan
8536169689Skan2003-09-15  Bob Wilson  <bob.wilson@acm.org>
8537169689Skan
8538169689Skan	* config/xtensa/xtensa.h (LEGITIMATE_PIC_OPERAND_P): Use
8539169689Skan	SYMBOL_REF_LOCAL_P.
8540169689Skan
8541169689Skan2003-09-15  Kazu Hirata  <kazu@cs.umass.edu>
8542169689Skan
8543169689Skan	* expr.h (DEFAULT_FUNCTION_ARG_PADDING): New.
8544169689Skan	(FUNCTION_ARG_PADDING): Use DEFAULT_FUNCTION_ARG_PADDING.
8545169689Skan	* config/ia64/ia64.c (ia64_hpux_function_arg_padding):
8546169689Skan	Likewise.
8547169689Skan	* config/m68hc11/m68hc11.c (m68hc11_function_arg_padding):
8548169689Skan	Likewise.
8549169689Skan	* config/rs6000/rs6000.c (function_arg_padding): Likewise.
8550169689Skan	* config/sparc/sparc.c (function_arg_padding): Likewise.
8551169689Skan
8552169689Skan2003-09-15  Vladimir Makarov  <vmakarov@redhat.com>
8553169689Skan
8554169689Skan	* haifa-sched.c (schedule_block): Use ready_remove_first instead
8555169689Skan	of choose_ready for non-dfa insn scheduling.
8556169689Skan
8557169689Skan2003-09-15  Andreas Jaeger  <aj@suse.de>
8558169689Skan	    Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8559169689Skan
8560169689Skan	* doc/invoke.texi (Warning Options): Describe -Wold-style-definition.
8561169689Skan	* c-opts.c (c_common_handle_option): Handle OPT_Wold_style_definition.
8562169689Skan	* c-parse.in: Warn about old-style parameter definition.
8563169689Skan	* c-common.c: Define warn_old_style_defintion.
8564169689Skan	* c-common.h: Declare it.
8565169689Skan	* c.opt: Add Wold-style-defintion.
8566169689Skan
8567169689Skan2003-09-15  Andreas Jaeger  <aj@suse.de>
8568169689Skan
8569169689Skan	* config/rs6000/altivec.h: Convert () prototypes to ISO C90.
8570169689Skan	* config/rs6000/rs6000.c: Likewise.
8571169689Skan
8572169689Skan2003-09-12  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
8573169689Skan
8574169689Skan	PR optimization/10914
8575169689Skan	* expr.h (get_condition, canonicalize_condition): Declaration changed.
8576169689Skan	* cfgloopanal.c (simple_loop_exit_p): Add parameter to a get_condition
8577169689Skan	and canonicalize_condition calls.
8578169689Skan	* gcse.c (fis_get_condition, delete_null_pointer_checks_1,
8579169689Skan	delete_null_pointer_checks): Ditto.
8580169689Skan	* ifcvt.c (noce_get_alt_condition, noce_get_condition): Ditto.
8581169689Skan	* predict.c (estimate_probability, expected_value_to_br_prob): Ditto.
8582169689Skan	* loop.c (check_dbra_loop, get_condition_for_loop): Ditto.
8583169689Skan	(canonicalize_condition, get_condition): Allow to return comparisons
8584169689Skan	of cc mode registers.
8585169689Skan	* loop-unswitch.c (may_unswitch_on_p, unswitch_single_loop): Allow
8586169689Skan	cc mode registers comparison in condition.
8587169689Skan
8588169689Skan2003-09-12  Mark Mitchell  <mark@codesourcery.com>
8589169689Skan
8590169689Skan	* coverage.c (create_coverage): Do not call pushlevel/poplevel.
8591169689Skan	* langhooks-def.h (lhd_do_nothing_iii_return_null_tree): New
8592169689Skan	function.
8593169689Skan	* langhooks.c (lhd_do_nothing_iii_return_null_tree): Define it.
8594169689Skan
8595169689Skan2003-09-14  Kazu Hirata  <kazu@cs.umass.edu>
8596169689Skan
8597169689Skan	* combine.c (simplify_comparison): Convert
8598169689Skan	(ne (and (lshiftrt (xor X CST) Y) 1) 0) into
8599169689Skan	(eq (and (lshiftrt X Y) 1) 0).
8600169689Skan
8601169689Skan2003-09-14  Kazu Hirata  <kazu@cs.umass.edu>
8602169689Skan
8603169689Skan	* alias.c: Follow spelling conventions.
8604169689Skan	* cpphash.h: Likewise.
8605169689Skan	* fold-const.c: Likewise.
8606169689Skan
8607169689Skan2003-09-14  Alexandre Oliva  <aoliva@redhat.com>
8608169689Skan
8609169689Skan	* c-ppoutput.c (cb_line_change): Revert 2003-08-04's change.
8610169689Skan	* c-lex.c (cb_line_change): Skip line changing whenever
8611169689Skan	c-ppoutput.c would.
8612169689Skan
8613169689Skan2003-09-14  Steven Bosscher  <steven@gcc.gnu.org>
8614169689Skan
8615169689Skan	* ra.c: Convert to ISO C90 prototypes.
8616169689Skan	* ra-build.c: Likewise.
8617169689Skan	* ra-colorize.c: Likewise.
8618169689Skan	* ra-debug.c: Likewise.
8619169689Skan	* ra-rewrite.c: Likewise.
8620169689Skan
8621169689Skan2003-09-14  Richard Sandiford  <rsandifo@redhat.com>
8622169689Skan
8623169689Skan	* Makefile.in (%.dvi): Remove excess $(docdir).
8624169689Skan
8625169689Skan2003-09-14  Richard Sandiford  <rsandifo@redhat.com>
8626169689Skan
8627169689Skan	* function.c (STACK_BYTES): Move definition to head of file.
8628169689Skan	(assign_parms): Don't pass current_function_pretend_args_size
8629169689Skan	directly to SETUP_INCOMING_VARARGS.  For partial register arguments,
8630169689Skan	round current_function_pretend_args_size up to STACK_BYTES.  Skip any
8631169689Skan	excess before laying out the argument.
8632169689Skan
8633169689Skan2003-09-14  Andreas Jaeger  <aj@suse.de>
8634169689Skan
8635169689Skan	* objc/objc-act.c: Convert to ISO C90 prototypes.
8636169689Skan	* objc/objc-act.h: Likewise.
8637169689Skan
8638169689Skan2003-09-14  Olaf Hering  <olh@suse.de>
8639169689Skan
8640169689Skan	* config/rs6000/rs6000.c: Fix typo: Remove extra ')'.
8641169689Skan
8642169689Skan2003-09-13  Andrew Pinski <pinskia@physics.uc.edu>
8643169689Skan
8644169689Skan	PR target/12021
8645169689Skan	* config/m68k/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Remove the asserts
8646169689Skan	as they already are done in config/m68k/m68k.h.
8647169689Skan	* config/m68k/netbsd.h (TARGET_OS_CPP_BUILTINS): Likewise
8648169689Skan
8649169689Skan	* config/rs6000/rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Remove.
8650169689Skan	(machopic_output_stub): Only generate pic base symbols when using pic
8651169689Skan	and generate them in the form L00000000$spb.
8652169689Skan
8653169689Skan2003-09-13  Richard Henderson  <rth@redhat.com>
8654169689Skan
8655169689Skan	* cgraphunit.c (cgraph_assemble_pending_functions): Export.
8656169689Skan	(cgraph_finalize_function): Revert TREE_ASM_WRITTEN check.
8657169689Skan	* cgraph.h: Update.
8658169689Skan
8659169689Skan2003-09-12  Dale Johannesen  <dalej@apple.com>
8660169689Skan
8661169689Skan	* config/rs6000/rs6000.c: Fix typos in previous.
8662169689Skan
8663169689Skan2003-09-12  Ziemowit Laski  <zlaski@apple.com>
8664169689Skan
8665169689Skan	* pretty-print.c (pp_construct): Use xcalloc instead of xmalloc
8666169689Skan	when allocating pp->buffer.
8667169689Skan
8668169689Skan2003-09-12  Geoffrey Keating  <geoffk@apple.com>
8669169689Skan
8670169689Skan	* config/darwin.c (machopic_select_rtx_section): Use
8671169689Skan	const_data_section for things that might require relocation.
8672169689Skan
8673169689Skan2003-09-12  H.J. Lu  <hongjiu.lu@intel.com>
8674169689Skan
8675169689Skan	PR bootstrap/12264
8676169689Skan	* tree-inline.c (inline_forbidden_p_1): Cast the 3rd arg to tree.
8677169689Skan
8678169689Skan2003-09-12  Bob Wilson  <bob.wilson@acm.org>
8679169689Skan
8680169689Skan	* config/xtensa/elf.h (ASM_SPEC): Remove no-density option.  Reformat.
8681169689Skan	* config/xtensa/linux.h (ASM_SPEC): Likewise.
8682169689Skan	* config/xtensa/xtensa.h (TARGET_SWITCHES): Remove -mbig-endian,
8683169689Skan	-mlittle-endian, -m[no-]density, -m[no-]abs, -m[no-]addx, -m[no-]mac16,
8684169689Skan	-m[no-]mul16, -m[no-]mul32, -m[no-]nsa, -m[no-]minmax, -m[no-]sext,
8685169689Skan	-m[no-]booleans, -mhard-float, -msoft-float, -m[no-]hard-float-div,
8686169689Skan	-m[no-]hard-float-recip, -m[no-]hard-float-sqrt, and
8687169689Skan	-m[no-]hard-float-rsqrt options.  Delete corresponding MASK_* macros
8688169689Skan	and redefine corresponding TARGET_* macros with constants from the
8689169689Skan	xtensa-config.h header.
8690169689Skan	* doc/invoke.texi (Option Summary, Xtensa Options): Remove documention
8691169689Skan	for the options listed above.
8692169689Skan
8693169689Skan2003-09-12  Dale Johannesen  <dalej@apple.com>
8694169689Skan
8695169689Skan	* config/rs6000/rs6000-protos.h:  Use C90 prototypes.
8696169689Skan	* config/rs6000/rs6000-c.c:  Ditto.
8697169689Skan	* config/rs6000/rs6000.c:  Ditto.
8698169689Skan	* config/rs6000/ sysv4.h:  Ditto.
8699169689Skan
8700169689Skan2003-09-12  Chris Lattner <sabre@nondot.org>
8701169689Skan
8702169689Skan	* loop.c: Move comments describing BIV's and GIV's to top of file
8703169689Skan
8704169689Skan2003-09-12  Roger Sayle  <roger@eyesopen.com>
8705169689Skan
8706169689Skan	PR optimization/8967
8707169689Skan	* alias.c (write_dependence_p): Modify to take an additional constp
8708169689Skan	argument that controls whether the UNCHANGING_RTX_P flags are used.
8709169689Skan	(anti_dependence, output_dependence): Adjust write_dependence_p
8710169689Skan	callers to pass this additional argument, to return the same result.
8711169689Skan	(unchanging_anti_dependence): New variant of anti_dependence that
8712169689Skan	ignores the UNCHANGING_RTX_P property on memory references.
8713169689Skan	* rtl.h (unchaning_anti_dependence): Prototype here.
8714169689Skan	* flow.c (init_propagate_block): Place fake constant mem writes on
8715169689Skan	the mem_set_list so that dead writes to const variables are deleted.
8716169689Skan	(insn_dead_p): Change anti_dependence to unchanging_anti_dependence.
8717169689Skan	(mark_used_regs): Likewise.
8718169689Skan
8719169689Skan2003-09-12  Richard Sandiford  <rsandifo@redhat.com>
8720169689Skan
8721169689Skan	* config/mcore/mcore-protos.h (mcore_r15_operand_p): Declare.
8722169689Skan	(mcore_secondary_reload_class): Declare.
8723169689Skan	(mcore_output_inline_const_forced): Remove.
8724169689Skan	* config/mcore/mcore.md (movsi): Remove the code that forced
8725169689Skan	non-inlineable constants into a register if the target was r15
8726169689Skan	or the stack pointer.  Remove constant restrictions from the main
8727169689Skan	define_insn.  Remove r <- I, r <- M and r <- N alternatives in favor
8728169689Skan	of an r <- P alternative.  Remove fallback define_insn for reload.
8729169689Skan	(movhi, movqi): Use gen_lowpart rather than gen_SUBREG.  Remove reload
8730169689Skan	define_insn.  Use mcore_output_move in the remaining define_insn.
8731169689Skan	Adjust condition and constraints in the way as for movsi.
8732169689Skan	(movdi): Always split unacceptable constants into two.  Use
8733169689Skan	simplify_gen_subreg instead of operand_subword{,_force}.
8734169689Skan	* config/mcore/mcore.c (mcore_output_inline_const_forced): Remove.
8735169689Skan	(mcore_output_move): Support HImode and QImode moves as well.
8736169689Skan	(mcore_m15_operand_p): New function.
8737169689Skan	(mcore_reload_class): Use it to detect cases where LRW_REGS are better.
8738169689Skan	(mcore_secondary_reload_class): New function.
8739169689Skan	* config/mcore/mcore.h (SECONDARY_RELOAD_CLASS): Redefine in
8740169689Skan	terms of mcore_secondary_reload_class.
8741169689Skan
8742169689Skan2003-09-11  Mike Stump  <mrs@apple.com>
8743169689Skan
8744169689Skan	* c-lex.c (fe_file_change): Don't transform to_line with SOURCE_LINE.
8745169689Skan
8746169689Skan2003-09-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8747169689Skan
8748169689Skan	* builtins.c (fold_builtin_logarithm): if N can't be truncated to
8749169689Skan	MODE exactly, then only convert logN(N) -> 1.0 if
8750169689Skan	flag_unsafe_math_optimizations is set.
8751169689Skan
8752169689Skan	* builtins.c (builtin_dconsts_init, dconstpi, dconste,
8753169689Skan	init_builtin_dconsts): Delete.
8754169689Skan	* emit-rtl.c (dconstpi, dconste): Define.
8755169689Skan	(init_emit_once): Initialize dconstpi & dconste.
8756169689Skan	* real.h (dconstpi, dconste): Declare.
8757169689Skan
8758169689Skan2003-09-11  Alexandre Oliva  <aoliva@redhat.com>
8759169689Skan
8760169689Skan	PR fortran/11522
8761169689Skan	* dwarf2out.c (gen_inlined_subroutine_die): Emit abstract function
8762169689Skan	for ultimate origin even if block is abstract.
8763169689Skan
8764169689Skan2003-09-11  Roger Sayle  <roger@eyesopen.com>
8765169689Skan
8766169689Skan	* combine.c (combine_simplify_rtx): Move several NOT and NEG
8767169689Skan	optimizations from here...
8768169689Skan	* simplify-rtx.c (simplify_unary_operation): to here.  Recursively
8769169689Skan	simplify expressions using simplify_gen_*ary instead of gen_rtx_*.
8770169689Skan
8771169689Skan2003-09-11  Richard Henderson  <rth@redhat.com>
8772169689Skan
8773169689Skan	* cgraphunit.c (cgraph_finalize_function): Add nested arg.
8774169689Skan	Tweek tests for function already generated.
8775169689Skan	(cgraph_expand_function): Don't double announce in !unit-at-a-time.
8776169689Skan	* cgraph.h (cgraph_finalize_function): Update for extra arg.
8777169689Skan	* c-decl.c (finish_function): Likewise.
8778169689Skan
8779169689Skan2003-09-10  Joe Buck  <jbuck@welsh-buck.org>
8780169689Skan
8781169689Skan	* c-decl.c (poplevel): Eliminate use of |= in function_body assignment.
8782169689Skan
8783169689Skan2003-09-10  Jerry Quinn  <jlquinn@optonline.net>
8784169689Skan
8785169689Skan	* real.c: Update URL to VAX floating point docs.
8786169689Skan	(decode_vax_d): Extract 8 exponent bits instead of 7.
8787169689Skan
8788169689Skan2003-09-10  Ian Lance Taylor  <ian@wasabisystems.com>
8789169689Skan
8790169689Skan	* combine.c (force_to_mode): Set fuller_mask based only on mask,
8791169689Skan	not op_mode.
8792169689Skan
8793169689Skan2003-09-11  Jan Hubicka  <jh@suse.cz>
8794169689Skan
8795169689Skan	* c-objc-common.c (c_cannot_inline_tree_fn): Warn
8796169689Skan	on why function is not inlinable; do not check
8797169689Skan	the body.
8798169689Skan	(inline_forbidden_p): Move to...
8799169689Skan	* tree-inline.c (inline_forbidden_p_1): ... here; Add warnings;
8800169689Skan	deal with alloca, longjmp.
8801169689Skan	(inline_forbidden_p): New static function.
8802169689Skan	(find_alloca_call_1, find_alloca_call, find_builtin_longjmp_call_1,
8803169689Skan	find_builtin_longjmp_call): Kill.
8804169689Skan
8805169689Skan2003-09-10  Richard Henderson  <rth@redhat.com>
8806169689Skan
8807169689Skan	* cgraph.h (struct cgraph_node): Rename lowered to analyzed.
8808169689Skan	* cgraphunit.c: Update to match.
8809169689Skan	(record_call_1): Rearrange.  Call lang hook for language nodes.
8810169689Skan	(cgraph_analyze_function): Don't call lower_function.
8811169689Skan	* langhooks.h (struct lang_hooks_for_callgraph): Replace
8812169689Skan	lower_function with analyze_expr.
8813169689Skan	* langhooks-def.h: Update to match.
8814169689Skan	* langhooks.c (lhd_callgraph_analyze_expr): New.
8815169689Skan
8816169689Skan2003-09-10  Martin Husemann  <martin@duskware.de>
8817169689Skan
8818169689Skan	PR target/11965
8819169689Skan	* config/sparc/sparc.c (sparc_v8plus_shift): Protect against
8820169689Skan	constants greater than 63.
8821169689Skan	* config/sparc/sparc.md (ashlsi3, ashrsi3, lshrsi3): Protect
8822169689Skan	against constants greater than 31.
8823169689Skan	(*ashldi3_sp64, *ashrdi3_sp64, *lshrdi3_sp64): Protect against
8824169689Skan	constants greater than 63.
8825169689Skan
8826169689Skan2003-09-09  Richard Henderson  <rth@redhat.com>
8827169689Skan
8828169689Skan	* cgraphunit.c (cgraph_finalize_function): Remove unused argument.
8829169689Skan	* cgraph.h (cgraph_finalize_function): Update.
8830169689Skan	* c-decl.c (finish_function): Update.
8831169689Skan
8832169689Skan2003-09-09  Devang Patel  <dpatel@apple.com>
8833169689Skan
8834169689Skan	* config/darwin.h (LINK_SPEC): Pass -nofixprebinding to linker.
8835169689Skan	* doc/invoke.texi: Document new Darwin linker option -nofixprebinding.
8836169689Skan
8837169689Skan2003-09-09  Eric Christopher  <echristo@redhat.com>
8838169689Skan
8839169689Skan	* configure.in: Change usage of 'head' to 'sed 1q'.
8840169689Skan	* configure: Regenerate.
8841169689Skan
8842169689Skan2003-09-09  Richard Henderson  <rth@redhat.com>
8843169689Skan
8844169689Skan	* except.c: Include cgraph.h.
8845169689Skan	(output_function_exception_table): Invoke
8846169689Skan	cgraph_varpool_mark_needed_node.
8847169689Skan	* Makefile.in (except.o): Update.
8848169689Skan
8849169689Skan2003-09-07  Kelley Cook  <kelleycook@wideopenwest.com>
8850169689Skan
8851169689Skan	* Makefile.in: Define REMAKEFLAGS for LANGUAGES & BOOT_CFLAGS
8852169689Skan	and use it throughout.
8853169689Skan
8854169689Skan2003-09-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8855169689Skan
8856169689Skan	* builtins.c (real_dconstp, fold_builtin_logarithm,
8857169689Skan	fold_builtin_exponent): New, split out from fold_builtin.  Also
8858169689Skan	generalize to add log2, log10, exp2 and exp10/pow10 equivalents.
8859169689Skan	* emit-rtl.c (dconst3, dconst10, dconstthird): New.
8860169689Skan	(init_emit_once): Initialize new dconsts, use ARRAY_SIZE in lieu
8861169689Skan	of hardcoded array size.
8862169689Skan	* fold-const.c (fold): Add cases for exp2, exp10 and pow10.
8863169689Skan	(tree_expr_nonnegative_p): Likewise.
8864169689Skan	* real.h (dconst3, dconst10, dconstthird): New.
8865169689Skan
8866169689Skan2003-09-09  Jan Hubicka  <jh@suse.cz>
8867169689Skan
8868169689Skan	* cgraphunit.c (cgraph_finalize_function): Fix handling of extern
8869169689Skan	inline functions.
8870169689Skan	(cgraph_finalize_compilation_unit): Fix crash when dealing with lost
8871169689Skan	DECL_SAVED_TREE.
8872169689Skan
8873169689Skan2003-09-09  Roger Sayle  <roger@eyesopen.com>
8874169689Skan
8875169689Skan	* builtins.c (fold_builtin_cabs): Protect the complex argument
8876169689Skan	against multiple evaluation when optimizing cabs* into sqrt*.
8877169689Skan
8878169689Skan2003-09-09  Jan Hubicka  <jh@suse.cz>
8879169689Skan
8880169689Skan	* varasm.c (notice_global_symbol):  Properly deal with weak symbols.
8881169689Skan
8882169689Skan2003-09-08  Kelley Cook <kelleycook@wideopenwest.com>
8883169689Skan
8884169689Skan	* Makefile.in: Revert yesterday's change.
8885169689Skan
8886169689Skan2003-09-08  Bernardo Innocenti  <bernie@develer.com>
8887169689Skan	    Peter Barada <peter@baradas.org>
8888169689Skan
8889169689Skan	* config/m68k/coff.h (REGISTER_NAMES): Add fake register `argptr'
8890169689Skan	* config/m68k/hp320.h (REGISTER_NAMES): Likewise.
8891169689Skan	* config/m68k/linux.h (REGISTER_NAMES): Likewise.
8892169689Skan	* config/m68k/m68kelf.h (REGISTER_NAMES): Likewise.
8893169689Skan	* gcc/config/m68k/sgs.h (REGISTER_NAMES): Likewise.
8894169689Skan	* config/m68k/m68k-protos.h (m68k_initial_elimination_offset): Add prototype.
8895169689Skan	* config/m68k/m68k.c (m68k_frame): New struct, simular to ix86 back-end.
8896169689Skan	(m68k_compute_frame_layout): New function.
8897169689Skan	(m68k_initial_elimination_offset): New function.
8898169689Skan	(m68k_output_function_prologue): ColdFire-specific movem handling.
8899169689Skan	(m68k_output_function_epilogue): Likewise.
8900169689Skan	* config/m68k/m68k.h (FIRST_PSEUDO_REGISTER): Make room for argptr reg.
8901169689Skan	(ARG_POINTER_REGNUM): Add new definition.
8902169689Skan	(INITIAL_FRAME_POINTER_OFFSET): Remove macro.
8903169689Skan	(ELIMINABLE_REGS): Define new macro, like in ix86 back-end.
8904169689Skan	(CAN_ELIMINATE): Likewise.
8905169689Skan	(INITIAL_ELIMINATION_OFFSET): Likewise.
8906169689Skan
8907169689Skan2003-09-08  Bernardo Innocenti  <bernie@develer.com>
8908169689Skan
8909169689Skan	* config/m68k/m68k.c (m68k_output_function_prologue): Simplify
8910169689Skan	by removing redundant variable cfa_store_offset.
8911169689Skan
8912169689Skan2003-09-08  Mark Mitchell  <mark@codesourcery.com>
8913169689Skan
8914169689Skan	* langhooks-def.h (lhd_register_builtin_type): New function.
8915169689Skan	(LANG_HOOKS_REGISTER_BUILTIN_TYPE): New macro.
8916169689Skan	(LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
8917169689Skan	* langhooks.h (lang_hooks_for_types): Add register_builtin_type.
8918169689Skan	* langhooks.c (lhd_register_builtin_type): New function.
8919169689Skan	* c-common.h (c_register_builtin_type): Declare.
8920169689Skan	* c-common.c (c_register_builtin_type): New function.
8921169689Skan	* c-lang.c (LANG_HOOKS_REGISTER_BUILTIN_TYPE): Define to
8922169689Skan	c_register_builtin_type.
8923169689Skan	* config/ia64/hpux.h (TARGET_OS_CPP_BUILTINS): Remove __fpreg,
8924169689Skan	__float80, and __float128 macros.
8925169689Skan	* config/ia64/ia64.c (ia64_init_builtins): Create __fpreg,
8926169689Skan	__float80, and __float128 types.
8927169689Skan
8928169689Skan2003-09-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8929169689Skan
8930169689Skan	* builtin-types.def
8931169689Skan	(BT_FN_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE,
8932169689Skan	BT_FN_COMPLEX_DOUBLE_COMPLEX_DOUBLE_COMPLEX_DOUBLE,
8933169689Skan	BT_FN_COMPLEX_FLOAT_COMPLEX_FLOAT_COMPLEX_FLOAT): New.
8934169689Skan	* builtins.def (BUILT_IN_CACOS, BUILT_IN_CACOSF, BUILT_IN_CACOSH,
8935169689Skan	BUILT_IN_CACOSHF, BUILT_IN_CACOSHL, BUILT_IN_CACOSL,
8936169689Skan	BUILT_IN_CARG, BUILT_IN_CARGF, BUILT_IN_CARGL, BUILT_IN_CASIN,
8937169689Skan	BUILT_IN_CASINF, BUILT_IN_CASINH, BUILT_IN_CASINHF,
8938169689Skan	BUILT_IN_CASINHL, BUILT_IN_CASINL, BUILT_IN_CATAN,
8939169689Skan	BUILT_IN_CATANF, BUILT_IN_CATANH, BUILT_IN_CATANHF,
8940169689Skan	BUILT_IN_CATANHL, BUILT_IN_CATANL, BUILT_IN_CCOS, BUILT_IN_CCOSF,
8941169689Skan	BUILT_IN_CCOSH, BUILT_IN_CCOSHF, BUILT_IN_CCOSHL, BUILT_IN_CCOSL,
8942169689Skan	BUILT_IN_CEXP, BUILT_IN_CEXPF, BUILT_IN_CEXPL, BUILT_IN_CPOW,
8943169689Skan	BUILT_IN_CPOWF, BUILT_IN_CPOWL, BUILT_IN_CPROJ, BUILT_IN_CPROJF,
8944169689Skan	BUILT_IN_CPROJL, BUILT_IN_CSIN, BUILT_IN_CSINF, BUILT_IN_CSINH,
8945169689Skan	BUILT_IN_CSINHF, BUILT_IN_CSINHL, BUILT_IN_CSINL, BUILT_IN_CSQRT,
8946169689Skan	BUILT_IN_CSQRTF, BUILT_IN_CSQRTL, BUILT_IN_CTAN, BUILT_IN_CTANF,
8947169689Skan	BUILT_IN_CTANH, BUILT_IN_CTANHF, BUILT_IN_CTANHL, BUILT_IN_CTANL):
8948169689Skan	New.
8949169689Skan	* doc/extend.texi: Document new builtins.
8950169689Skan
8951169689Skan2003-09-09  Jan Hubicka  <jh@suse.cz>
8952169689Skan
8953169689Skan	* cgraph.c (cgraph_varpool_finalize_decl): Sanity check duplicated
8954169689Skan	finalization.
8955169689Skan	* cgraphunit.c (decide_is_fnction_needed): Avoid special case of nested
8956169689Skan	functions, check for COMDAT.
8957169689Skan	(cgraph_assemble_pending_functions): Break out from...
8958169689Skan	(cgraph_finalize_function): ... here; allow redefinig of extern inline
8959169689Skan	functions.
8960169689Skan	(record_call_1): Record function references only in non-unit-at-a-time
8961169689Skan	mode.
8962169689Skan	(cgraph_analyze_function): Reset current_function_decl.
8963169689Skan	(cgraph_finalize_compilation_unit):  Assemble pending functions.
8964169689Skan
8965169689Skan2003-09-08  Mark Mitchell  <mark@codesourcery.com>
8966169689Skan
8967169689Skan	* mklibgcc.in (libcc.a): Depend on stmp-dirs.
8968169689Skan	(libgov.a): Likewise.
8969169689Skan	(libgcc_eh.a): Likewise.
8970169689Skan
8971169689Skan2003-09-08  Roger Sayle  <roger@eyesopen.com>
8972169689Skan
8973169689Skan	* fold-const.c (operand_equal_p): Clarify documentation.
8974169689Skan
8975169689Skan2003-09-08  Richard Henderson  <rth@redhat.com>
8976169689Skan
8977169689Skan	* c-decl.c (c_expand_body_1): Push and pop function context here.
8978169689Skan	* tree-optimize.c (tree_rest_of_compilation): ... not here.  Take
8979169689Skan	nested argument instead of computing nesting ourselves.
8980169689Skan
8981169689Skan2003-09-08  Jakub Jelinek  <jakub@redhat.com>
8982169689Skan
8983169689Skan	* toplev.c (rest_of_handle_stack_regs): Call split_all_insns before
8984169689Skan	regstack if optimizing but not scheduling after reload.
8985169689Skan
8986169689Skan2003-09-08  Jakub Jelinek  <jakub@redhat.com>
8987169689Skan
8988169689Skan	* config/sparc/sparc.c (struct machine_function): New type.
8989169689Skan	(TARGET_HAVE_TLS, TARGET_CANNOT_FORCE_CONST_MEM): Define.
8990169689Skan	(sparc_override_options): Initialize init_machine_status.
8991169689Skan	(tls_symbolic_operand, tgd_symbolic_operand, tld_symbolic_operand,
8992169689Skan	tie_symbolic_operand, tle_symbolic_operand): New functions.
8993169689Skan	(symbolic_operand): Disallow tls_symbolic_operand.
8994169689Skan	(symbolic_memory_operand): Likewise.
8995169689Skan	(tls_call_delay, sparc_cannot_force_const_mem, legitimate_constant_p,
8996169689Skan	constant_address_p, legitimate_pic_operand_p, legitimate_address_p):
8997169689Skan	New functions.
8998169689Skan	(sparc_tls_symbol): New variable.
8999169689Skan	(sparc_tls_get_addr, sparc_tls_got, legitimize_tls_address,
9000169689Skan	legitimize_address): New functions.
9001169689Skan	(print_operand): Handle %&.
9002169689Skan	(sparc_init_machine_status, get_some_local_dynamic_name,
9003169689Skan	get_some_local_dynamic_name_1): New functions.
9004169689Skan	(sparc_output_dwarf_dtprel): New function.
9005169689Skan	* config/sparc/sparc.h (CONSTANT_ADDRESS_P): Moved into
9006169689Skan	constant_address_p.
9007169689Skan	(LEGITIMATE_PIC_OPERAND_P): Moved into legitimate_pic_operand_p.
9008169689Skan	(LEGITIMATE_CONSTANT_P): Moved into legitimate_constant_p.
9009169689Skan	(GO_IF_LEGITIMATE_ADDRESS): Moved into legitimate_address_p.
9010169689Skan	(LEGITIMIZE_ADDRESS): Moved into legitimize_address.
9011169689Skan	(PRINT_OPERAND_PUNCT_VALID_P): Add '&'.
9012169689Skan	(TARGET_TLS, TARGET_SUN_TLS, TARGET_GNU_TLS): Define.
9013169689Skan	(ASM_OUTPUT_DWARF_DTPREL): Define.
9014169689Skan	(PREDICATE_CODES): Add tgd_symbolic_operand, tld_symbolic_operand,
9015169689Skan	tie_symbolic_operand, tle_symbolic_operand.
9016169689Skan	* config/sparc/sparc.md (UNSPEC_TLSGD, UNSPEC_TLSLDM, UNSPEC_TLSLDO,
9017169689Skan	UNSPEC_TLSIE, UNSPEC_TLSLE, UNSPEC_TLSLD_BASE): New constants.
9018169689Skan	(tls_call_delay): New attribute.
9019169689Skan	(in_call_delay): Use it.
9020169689Skan	(movqi, movhi, movsi, movdi): Call legitimize_tls_address if needed.
9021169689Skan	(tgd_hi22, tgd_lo10, tgd_add32, tgd_add64, tgd_call32, tgd_call64,
9022169689Skan	tldm_hi22, tldm_lo10, tldm_add32, tldm_add64, tldm_call32, tldm_call64,
9023169689Skan	tldo_hix22, tldo_lox10, tldo_add32, tldo_add64, tie_hi22, tie_lo10,
9024169689Skan	tie_ld32, tie_ld64, tie_add32, tie_add64, tle_hix22_sp32,
9025169689Skan	tle_lox10_sp32, tle_hix22_sp64, tle_lox10_sp64): New insns.
9026169689Skan	(tldo_ldub_sp32, tldo_ldub1_sp32, tldo_ldub2_sp32, tldo_ldsb1_sp32,
9027169689Skan	tldo_ldsb2_sp32, tldo_ldub_sp64, tldo_ldub1_sp64, tldo_ldub2_sp64,
9028169689Skan	tldo_ldub3_sp64, tldo_ldsb1_sp64, tldo_ldsb2_sp64, tldo_ldsb3_sp64,
9029169689Skan	tldo_lduh_sp32, tldo_lduh1_sp32, tldo_ldsh1_sp32, tldo_lduh_sp64,
9030169689Skan	tldo_lduh1_sp64, tldo_lduh2_sp64, tldo_ldsh1_sp64, tldo_ldsh2_sp64,
9031169689Skan	tldo_lduw_sp32, tldo_lduw_sp64, tldo_lduw1_sp64, tldo_ldsw1_sp64,
9032169689Skan	tldo_ldx_sp64, tldo_stb_sp32, tldo_stb_sp64, tldo_sth_sp32,
9033169689Skan	tldo_sth_sp64, tldo_stw_sp32, tldo_stw_sp64, tldo_stx_sp64): New
9034169689Skan	insns.
9035169689Skan	* config/sparc/sparc-protos.h (legitimate_constant_p,
9036169689Skan	constant_address_p, legitimate_pic_operand_p, legitimate_address_p,
9037169689Skan	legitimize_tls_address, legitimize_address, tls_symbolic_operand,
9038169689Skan	tls_call_delay, sparc_output_dwarf_dtprel): New prototypes.
9039169689Skan	* config/sparc/linux.h (TARGET_GNU_TLS, TARGET_SUN_TLS): Define.
9040169689Skan	* config/sparc/linux64.h (TARGET_GNU_TLS, TARGET_SUN_TLS): Likewise.
9041169689Skan	* configure.in (sparc*-*-*): Add TLS check.
9042169689Skan	* configure: Rebuilt.
9043169689Skan
9044169689Skan2003-09-07  Eric Botcazou  <ebotcazou@libertysurf.fr>
9045169689Skan
9046169689Skan	PR target/11689
9047169689Skan	* config/i386/i386.c (memory_address_length): Fix computation when
9048169689Skan	the base is esp or ebp.
9049169689Skan
9050169689Skan2003-09-07  Mark Mitchell  <mark@codesourcery.com>
9051169689Skan
9052169689Skan	PR c++/11852
9053169689Skan	* varasm.c (initializer_constant_valid_p): Correct logic for
9054169689Skan	CONSTRUCTORs.
9055169689Skan
9056169689Skan2003-09-07  Roger Sayle  <roger@eyesopen.com>
9057169689Skan
9058169689Skan	* expr.c (expand_operands): New function to expand an operand pair.
9059169689Skan	(expand_expr): Call expand_operands whenever we need to expand both
9060169689Skan	operands of a binary operator.
9061169689Skan	(do_store_flag): Likewise for operands of comparison operations.
9062169689Skan
9063169689Skan2003-09-07  Roger Sayle  <roger@eyesopen.com>
9064169689Skan
9065169689Skan	* combine.c (combine_simplify_rtx): Don't convert -(A*B) into
9066169689Skan	(-A)*B if we care about sign-dependent rounding.
9067169689Skan
9068169689Skan2003-09-07  Gabriel Dos Reis  <gcc@integrable-solutions.net>
9069169689Skan
9070169689Skan	* c-pretty-print.h (pp_c_left_brace): Declare.
9071169689Skan	(pp_c_right_brace): Likewise.
9072169689Skan	* c-pretty-print.c (pp_c_left_brace): Now a function
9073169689Skan	(pp_c_right_brace): Likewise.
9074169689Skan
9075169689Skan2003-09-07  Jan Hubicka  <jh@suse.cz>
9076169689Skan
9077169689Skan	* cfgcleanup.c (try_simplify_condjump): Fix again the preivous patch.
9078169689Skan
9079169689Skan2003-09-07  Gabriel Dos Reis  <gdr@integrable-solutions.net>
9080169689Skan
9081169689Skan	* diagnostic.c (warn_deprecated_use): Move to toplev.c
9082169689Skan
9083169689Skan2003-09-07  Gabriel Dos Reis  <gdr@integrable-solutions.net>
9084169689Skan
9085169689Skan	* langhooks.c (lhd_print_error_function): Move from diagnostic.c.
9086169689Skan	* Makefile.in (langhooks.o): Depend on diagnostic.h
9087169689Skan
9088169689Skan2003-09-06  James E Wilson  <wilson@tuliptree.org>
9089169689Skan
9090169689Skan	* loop.c (loop_regs_update): Delete else clause for PATTERN rtx and
9091169689Skan	simplify.
9092169689Skan
9093169689Skan2003-09-07  Kelley Cook  <kelleycook@wideopenwest.com>
9094169689Skan
9095169689Skan	* Makefile.in: Define $REMAKE to be $MAKE with LANGUAGES & BOOT_CFLAGS
9096169689Skan	and use it throughout.
9097169689Skan
9098169689Skan2003-09-07  Jan Hubicka  <jh@suse.cz>
9099169689Skan
9100169689Skan	* cfgcleanup.c (try_simplify_condjump): Fix my previous patch.
9101169689Skan
9102169689Skan	* toplev.c  (rest_of_decl_compilation):  Do not finalize external
9103169689Skan	virables.
9104169689Skan
9105169689Skan	* cgraph.c (cgraph_mark_reachable_node): Only enqueue finalized
9106169689Skan	functions.
9107169689Skan	(cgraph_varpool_finalize_decl): Notice global symbol when needed.
9108169689Skan
9109169689Skan2003-09-06  Jan Hubicka  <jh@suse.cz>
9110169689Skan
9111169689Skan	PR target/12070
9112169689Skan	* calls.c (emit_library_call_value_1): Fix saving of BLKmode arguments.
9113169689Skan
9114169689Skan	PR opt/12082
9115169689Skan	* cfgcleanup.c (try_simplify_condjump): Avoid unreachable code warning.
9116169689Skan
9117169689Skan2003-09-06  Gabriel Dos Reis  <gdr@integrable-solutions.net>
9118169689Skan
9119169689Skan	* diagnostic.c (announce_function): Move to toplev.c.
9120169689Skan
9121169689Skan2003-09-06  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
9122169689Skan
9123169689Skan	* gcse.c (expr_equiv_p): Don't consider anything to be equal to
9124169689Skan	volatile mem.
9125169689Skan
9126169689Skan2003-09-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9127169689Skan
9128169689Skan	* ggc-common.c (init_ggc_heuristics): Don't use the heuristics
9129169689Skan	when gc checking is enabled.
9130169689Skan
9131169689Skan2003-09-06  Steven Bosscher  <steven@gcc.gnu.org>
9132169689Skan
9133169689Skan	PR c/9862
9134169689Skan	* c-decl.c (c_expand_body_1): Move return warning from here...
9135169689Skan	(finish_function): ...to here.
9136169689Skan
9137169689Skan2003-09-05  Geoffrey Keating  <geoffk@apple.com>
9138169689Skan
9139169689Skan	* config/rs6000/darwin.h (PREFERRED_RELOAD_CLASS): Always return
9140169689Skan	a subset of the input class.
9141169689Skan
9142169689Skan2003-09-05  Kazu Hirata  <kazu@cs.umass.edu>
9143169689Skan
9144169689Skan	* config/i860/i860.c: Follow spelling conventions.
9145169689Skan	* config/i860/i860.h: Likewise.
9146169689Skan	* config/sh/sh.h: Likewise.
9147169689Skan
9148169689Skan2003-09-05  Nitin Yewale  <NitinY@KPITCummins.com>
9149169689Skan
9150169689Skan	* config/h8300/h8300-protos.h: Declare h8300_hard_regno_rename_ok
9151169689Skan	* config/h8300/h8300.h (HARD_REGNO_RENAME_OK): New.
9152169689Skan	* config/h8300/h8300.c (h8300_hard_regno_rename_ok): New.
9153169689Skan
9154169689Skan2003-09-05  Roger Sayle  <roger@eyesopen.com>
9155169689Skan	    Richard Henderson  <rth@redhat.com>
9156169689Skan
9157169689Skan	PR optimization/1823
9158169689Skan	* expmed.c (expand_divmod <EXACT_DIV_EXPR>): Use an unsigned
9159169689Skan	multiplication to implement division by constant integer.
9160169689Skan
9161169689Skan2003-09-05  Jan Hubicka  <jh@suse.cz>
9162169689Skan
9163169689Skan	* opts.c (decode_options): Enable unit-at-a-time at -O2.
9164169689Skan	* params.def (max-inline-insns-single): Set to 500
9165169689Skan	(max-inline-insns-auto): Set to 150
9166169689Skan	* invoke.texi (max-inline-insns-single, max-inline-insns-auto): Update.
9167169689Skan
9168169689Skan2003-09-04  Richard Henderson  <rth@redhat.com>
9169169689Skan
9170169689Skan	* cgraph.c (cgraph_mark_reachable_node): Split out from ...
9171169689Skan	(cgraph_mark_needed_node): Remove needed argument.
9172169689Skan	* cgraph.h: Update to match.
9173169689Skan	* cgraphunit.c (decide_is_function_needed): Split out from ...
9174169689Skan	(cgraph_finalize_function): Reorg.  Avoid deferred_inline_function
9175169689Skan	if we generated the function.
9176169689Skan	(record_call_1): Update for cgraph_mark_reachable_node.
9177169689Skan	* varasm.c (mark_referenced): Likewise.
9178169689Skan	* objc/objc-act.c (mark_referenced_methods): Likewise.
9179169689Skan
9180169689Skan2003-09-04  DJ Delorie  <dj@redhat.com>
9181169689Skan
9182169689Skan	* targhooks.c: Add comment explaining the migration process.
9183169689Skan
9184169689Skan2003-09-04  Eric Christopher  <echristo@redhat.com>
9185169689Skan
9186169689Skan	* config/frv/t-frv: Fix path for frv-abi.h.
9187169689Skan	* config/frv/frv-asm.h: Fix string concatenation.
9188169689Skan
9189169689Skan2003-09-04  DJ Delorie  <dj@redhat.com>
9190169689Skan
9191169689Skan	* builtins.c (apply_args_size): Guard against a NULL cfun.
9192169689Skan	(expand_builtin_apply_args_1): Likewise.
9193169689Skan	(expand_builtin_apply): Likewise.
9194169689Skan	Fixes PR bootstrap/12172.
9195169689Skan
9196169689Skan2003-09-04  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9197169689Skan
9198169689Skan	* configure.in (gcc_cv_as_ix86_cmov_sun_syntax): Check if
9199169689Skan	assembler supports Sun syntax for cmov.
9200169689Skan	* configure: Regenerate.
9201169689Skan	* config.in: Likewise.
9202169689Skan	* config/i386/i386.c: Rename CMOV_SUN_AS_SYNTAX to
9203169689Skan	HAVE_AS_IX86_CMOV_SUN_SYNTAX.
9204169689Skan	* config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Remove.
9205169689Skan	Fixes PR target/12101.
9206169689Skan
9207169689Skan2003-09-04  Matt Austern  <austern@apple.com>
9208169689Skan
9209169689Skan	* c-common.c (fname_as_string): Use lang_hooks.decl_printable_name
9210169689Skan	with verbosity 0, instead of DECL_NAME, for human-readable string.
9211169689Skan
9212169689Skan2003-09-04  Eric Christopher  <echristo@redhat.com>
9213169689Skan
9214169689Skan	* targhooks.c (default_return_in_memory): Allow
9215169689Skan	unconverted ports.
9216169689Skan
9217169689Skan2003-09-04  Eric Christopher  <echristo@redhat.com>
9218169689Skan
9219169689Skan	* targhooks.c (default_return_in_memory): Fix typo
9220169689Skan	in last checkin.
9221169689Skan
9222169689Skan2003-09-04  Eric Christopher  <echristo@redhat.com>
9223169689Skan
9224169689Skan	* targhooks.c (default_return_in_memory): Fix default
9225169689Skan	definition.
9226169689Skan
9227169689Skan2003-09-04  Bernardo Innocenti  <bernie@develer.com>
9228169689Skan
9229169689Skan	* config/m68k/m68k.c (m68k_coff_asm_named_section): Restore
9230169689Skan	deleted function.
9231169689Skan	* config/m68k/coff.h (M68K_TARGET_COFF): Add flag used to
9232169689Skan	enable coff-only code in m68k.c.
9233169689Skan
9234169689Skan2003-09-04  Nick Clifton  <nickc@redhat.com>
9235169689Skan
9236169689Skan	* config.gcc: Add v850e1 target.  Allow --with-cpu to accept
9237169689Skan	v850e1.
9238169689Skan	* config/v850/v850.h: Accept v850e1 as a default CPU.
9239169689Skan	Accept -mv850e1 as a command line option.
9240169689Skan	* doc/invoke.texi: Document new -mv850e1 command line switch.
9241169689Skan	* config/v850/t-v850: Treat -mv850e1 as a multilib alias for
9242169689Skan	-mv850e.
9243169689Skan
9244169689Skan2003-09-04  Nick Clifton  <nickc@redhat.com>
9245169689Skan
9246169689Skan	* config.gcc (v850e-*-*): Use t-v850e makefile fragment.
9247169689Skan	* config/v850/t-v850: Only produce one extra multilib - for
9248169689Skan	the v850e.
9249169689Skan	* config/v850/t-v850e: New file: Only produce one extra
9250169689Skan	multilib - for the v850.
9251169689Skan
9252169689Skan2003-09-04  Jakub Jelinek  <jakub@redhat.com>
9253169689Skan
9254169689Skan	* config/ia64/libgcc-ia64.ver: Export _Unwind_GetBSP@@GCC_3.3.2.
9255169689Skan	* config/ia64/unwind-ia64.c (_Unwind_GetBSP): New function.
9256169689Skan	* unwind.h (_Unwind_GetBSP): New prototype.
9257169689Skan	* libgcc-std.ver: Add empty GCC_3.3.2 version.
9258169689Skan	* mkmap-symver.awk: For symbol versions with no exported symbols,
9259169689Skan	don't put anything into version script, just change all symbol
9260169689Skan	versions which inherit from it to inherit from its ancestor.
9261169689Skan
9262169689Skan2003-09-04  Eric Christopher  <echristo@redhat.com>
9263169689Skan
9264169689Skan	* config/mips/mips.c (mips_expand_prologue): Convert to
9265169689Skan	calls.struct_value_rtx hook.
9266169689Skan	(reg_or_const_float_1_operand): New.
9267169689Skan	* config/mips/mips.h: Update Comments.
9268169689Skan	(mips_arg): Add reg_or_const_float_1_operand.
9269169689Skan	* config/mips/mips.md (divdf3); Convert to expander.
9270169689Skan	(divsf3): Ditto.
9271169689Skan	(*divdf3): New pattern.
9272169689Skan	(*divsf3): Ditto.
9273169689Skan
9274169689Skan2003-09-04  Jan Hubicka  <jh@suse.cz>
9275169689Skan
9276169689Skan	* toplev.c (wrapup_global_declarations): Fix final pass in
9277169689Skan	unit-at-atime mode.
9278169689Skan
9279169689Skan2003-09-04  Mark Mitchell  <mark@codesourcery.com>
9280169689Skan
9281169689Skan	* doc/extend.texi: Document removal of cast-as-lvalue extension in
9282169689Skan	C++.
9283169689Skan
9284169689Skan2003-09-04  Nicolas Roche  <roche@act-europe.fr>
9285169689Skan
9286169689Skan	* gcc.c (process_command): Fix typo.
9287169689Skan
9288169689Skan2003-09-03  David O'Brien  <obrien@FreeBSD.org>
9289169689Skan
9290169689Skan	optimization/11980
9291169689Skan	* config/i386/freebsd.h (SIZE_TYPE): Support TARGET_64BIT.
9292169689Skan	(PTRDIFF_TYPE): Likewise.
9293169689Skan	(WCHAR_TYPE_SIZE): Likewise.
9294169689Skan
9295169689Skan2003-09-03  DJ Delorie  <dj@redhat.com>
9296169689Skan
9297169689Skan	* targhooks.c: New file.
9298169689Skan	* targhooks.h: New file.
9299169689Skan	* Makefile.in: Add targhooks.o support.
9300169689Skan	(function.o): Depend on$(TARGET_H).
9301169689Skan	(stmt.o): Likewise.
9302169689Skan	(combine.o): Depend on $(TREE_H) and $(TARGET_H).
9303169689Skan	* builtins.c (apply_args_size, expand_builtin_apply_args_1,
9304169689Skan	expand_builtin_apply): Convert to calls.struct_value_rtx hook.
9305169689Skan	(expand_builtin_saveregs): Convert to
9306169689Skan	calls.expand_builtin_saveregs hook.
9307169689Skan	* c-decl.c (start_decl): Handle new calls.promote_prototypes hook
9308169689Skan	here, instead of ...
9309169689Skan	(get_parm_info) ... here.
9310169689Skan	(store_parm_decls_oldstyle): Convert to calls.promote_prototypes
9311169689Skan	hook.
9312169689Skan	(finish_function): Handle calls.promote_prototypes hook here too.
9313169689Skan	* c-typeck.c (convert_arguments): Convert to
9314169689Skan	calls.promote_prototypes hook.
9315169689Skan	(c_convert_parm_for_inlining): Likewise.
9316169689Skan	* calls.c (initialize_argument_information): Convert to
9317169689Skan	calls.promote_function_args hook.
9318169689Skan	(expand_call): Convert to calls.struct_value_rtx,
9319169689Skan	calls.strict_argument_naming,
9320169689Skan	calls.pretend_outgoing_varargs_named, and
9321169689Skan	calls.promote_function_return hooks.  Pass fndecl to
9322169689Skan	aggregate_value_p.  Initialize CUMULATIVE_ARGS before calling
9323169689Skan	hooks, so they can use that.
9324169689Skan	(emit_library_call_value_1): Likewise.
9325169689Skan	* combine.c (setup_incoming_promotions): Convert to
9326169689Skan	calls.promote_function_args hook.
9327169689Skan	* emit-rtl.c: Convert to calls.struct_value_rtx hook.
9328169689Skan	* expr.c (expand_assignment): Pass call to aggregate_value_p.
9329169689Skan	(expand_expr): Likewise.
9330169689Skan	* expr.h: Remove support for SETUP_INCOMING_VARARGS,
9331169689Skan	STRICT_ARGUMENT_NAMING, PRETEND_OUTGOING_VARARGS_NAMED,
9332169689Skan	RETURN_IN_MEMORY macro defaults.
9333169689Skan	* final.c (profile_function): Convert to calls.struct_value_rtx
9334169689Skan	hook.
9335169689Skan	* function.c (aggregate_value_p): Accept function type tree as
9336169689Skan	second parameter; try to deduce fntype from it.  Convert to
9337169689Skan	calls.return_in_memory hook.
9338169689Skan	(assign_parms): Convert to calls.setup_incoming_varargs,
9339169689Skan	calls.strict_argument_naming, calls.promote_function_args,
9340169689Skan	calls.pretend_outgoing_varargs_named hooks.  Pass fndecl to
9341169689Skan	aggregate_value_p.
9342169689Skan	(expand_function_start): Likewise.  Convert to
9343169689Skan	calls.struct_value_rtx hook.
9344169689Skan	(expand_function_end): Convert to calls.promote_function_return hook.
9345169689Skan	(allocate_struct_function): Pass fndecl to aggregate_value_p.
9346169689Skan	* hard-reg-set.h: Update comments to new hook names.
9347169689Skan	* integrate.c (expand_inline_function): Pass fndecl to aggregate_value_p.
9348169689Skan	* reg-stack.c (stack_result): Likewise.
9349169689Skan	* rtl.h (struct_value_rtx, struct_value_incoming_rtx): Delete.
9350169689Skan	* stmt.c (expand_value_return): Convert to
9351169689Skan	calls.promote_function_return hook.
9352169689Skan	* target-def.h: Add TARGET_PROMOTE_FUNCTION_ARGS,
9353169689Skan	TARGET_PROMOTE_FUNCTION_RETURN, TARGET_PROMOTE_PROTOTYPES,
9354169689Skan	TARGET_STRUCT_VALUE_RTX, TARGET_RETURN_IN_MEMORY,
9355169689Skan	TARGET_EXPAND_BUILTIN_SAVEREGS, TARGET_SETUP_INCOMING_VARARGS,
9356169689Skan	TARGET_STRICT_ARGUMENT_NAMING,
9357169689Skan	TARGET_PRETEND_OUTGOING_VARARGS_NAMED, and TARGET_CALLS.
9358169689Skan	* target.h: Likewise.
9359169689Skan	* tree.h (aggregate_value_p): Also takes a tree to deduce function
9360169689Skan	attributes from (for target hooks).
9361169689Skan	* doc/tm.texi (PROMOTE_FUNCTION_ARGS, PROMOTE_FUNCTION_RETURN,
9362169689Skan	PROMOTE_PROTOTYPES, RETURN_IN_MEMORY, STRUCT_VALUE_REGNUM,
9363169689Skan	STRUCT_VALUE, STRUCT_VALUE_INCOMING_REGNUM, STRUCT_VALUE_INCOMING,
9364169689Skan	EXPAND_BUILTIN_SAVEREGS, SETUP_INCOMING_VARARGS,
9365169689Skan	STRICT_ARGUMENT_NAMING, PRETEND_OUTGOING_VARARGS_NAMED): Convert
9366169689Skan	to hooks.
9367169689Skan
9368169689Skan	* config/alpha/alpha.c (alpha_output_mi_thunk_osf): Pass function
9369169689Skan	to aggregate_value_p.
9370169689Skan	* config/arm/arm.c (arm_init_cumulative_args,
9371169689Skan	arm_output_mi_thunk): Likewise.
9372169689Skan	* config/i386/i386.c (ix86_return_pops_args, x86_this_parameter):
9373169689Skan	Likewise.
9374169689Skan	* config/mips/mips.c (mips_save_reg_p, mips_expand_prologue,
9375169689Skan	mips_can_use_return_insn): Likewise.
9376169689Skan	* config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise.
9377169689Skan	* config/s390/s390.c (s390_output_mi_thunk): Likewise.
9378169689Skan	* config/sparc/sparc.c (sparc_output_mi_thunk): Pass function to
9379169689Skan	aggregate_value_p.
9380169689Skan	* config/story16/stormy16.c (xstormy16_asm_output_mi_thunk): Pass
9381169689Skan	function to aggregate_value_p.
9382169689Skan	* objc/objc-act.c (generate_struct_by_value_array): Pass NULL to
9383169689Skan	aggregate_value_p.
9384169689Skan
9385169689Skan	* config/sh/sh-protos.h (sh_builtin_saveregs): Remove.
9386169689Skan	(sh_attr_renesas_p, sh_cfun_attr_renesas_p, sh_function_arg,
9387169689Skan	sh_function_arg_advance, sh_pass_in_reg_p): New.  * config/sh/sh.c
9388169689Skan	(sh_handle_renesas_attribute, sh_promote_prototypes,
9389169689Skan	sh_struct_value_rtx, sh_return_in_memory, sh_builtin_saveregs,
9390169689Skan	sh_setup_incoming_varargs, sh_strict_argument_naming,
9391169689Skan	sh_pretend_outgoing_varargs_named): New decls.
9392169689Skan	(targetm): Add new hooks.
9393169689Skan	(calc_live_regs): Save MACL and MACH if the function has the
9394169689Skan	renesas attribute.
9395169689Skan	(sh_expand_prologue): Support renesas attribute.
9396169689Skan	(sh_builtin_saveregs): Make static.
9397169689Skan	(sh_build_va_list): Support renesas attribute.
9398169689Skan	(sh_va_start): Likewise.
9399169689Skan	(sh_va_arg): Likewise.
9400169689Skan	(sh_promote_prototypes): New.
9401169689Skan	(sh_function_arg): New, moved from sh.h.  Support renesas
9402169689Skan	attribute.
9403169689Skan	(sh_function_arg_advance): Likewise.
9404169689Skan	(sh_return_in_memory): Likewise.
9405169689Skan	(sh_strict_argument_naming): Likewise.
9406169689Skan	(sh_pretend_outgoing_varargs_named): Likewise.
9407169689Skan	(sh_struct_value_rtx): New.
9408169689Skan	(sh_attribute): Add renesas attribute.
9409169689Skan	(sh_handle_renesas_attribute): New.
9410169689Skan	(sh_attr_renesas_p, sh_cfun_attr_renesas_p): New.
9411169689Skan	(sh_ms_bitfield_layout_p): Support renesas attribute also.
9412169689Skan	(sh_output_mi_thunk): Pass function to aggregate_value_p.  *
9413169689Skan	config/sh/sh.h (TARGET_SWITCHES): Add -mrenesas as an alias for
9414169689Skan	-mhitachi.
9415169689Skan	(STRUCT_VALUE_REGNUM, STRUCT_VALUE, RETURN_IN_MEMORY): Moved to
9416169689Skan	target hooks.
9417169689Skan	(sh_args): Add renesas_abi flag.
9418169689Skan	(INIT_CUMULATIVE_ARGS): Set it.  Pass fndecl to aggregate_value_p.
9419169689Skan	(FUNCTION_ARG_ADVANCE, FUNCTION_ARG): Move to sh.c.
9420169689Skan	(PASS_IN_REG_P): Support renesas attribute.  Pass DF and TF on the
9421169689Skan	stack for the renesas abi.
9422169689Skan	(STRICT_ARGUMENT_NAMING, PRETEND_OUTGOING_VARARGS_NAMED,
9423169689Skan	SETUP_INCOMING_VARARGS, EXPAND_BUILTIN_SAVEREGS,
9424169689Skan	PROMOTE_PROTOTYPES): Moved to sh.c.  * config/sh/sh.md (call): Set
9425169689Skan	call cookie to indicate renesas calls.
9426169689Skan
9427169689Skan2003-09-03  Mostafa Hagog  <mustafa@il.ibm.com>
9428169689Skan
9429169689Skan	* gcse.c (replace_one_set): New function.
9430169689Skan	(pre_insert_copy_insn): Change the order of copying
9431169689Skan	to make copy propagation discover additional PRE opportunities.
9432169689Skan
9433169689Skan2003-09-03  Roger Sayle  <roger@eyesopen.com>
9434169689Skan
9435169689Skan	PR optimization/11700.
9436169689Skan	* simplify-rtx.c (simplify_subreg): Check that the subreg offset
9437169689Skan	of a hard register is representable before trying to simplify it
9438169689Skan	using subreg_hard_regno.
9439169689Skan
9440169689Skan2003-09-04  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9441169689Skan
9442169689Skan	* configure.in (gcc_cv_ld_hidden): Disable unless using GNU ld.
9443169689Skan	* configure: Regenerate.
9444169689Skan
9445169689Skan2003-09-04  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9446169689Skan
9447169689Skan	* intl.h (N_): Remove parentheses.
9448169689Skan
9449169689Skan2003-09-03  Bernardo Innocenti  <bernie@develer.com>
9450169689Skan
9451169689Skan	* config.gcc (m68k-*-linux*): Remove definition of LINUX_DEFAULT_ELF.
9452169689Skan	* config/i370/linux.h (LINUX_DEFAULT_ELF): Remove unconditional
9453169689Skan	definition and code blocks compiled when not defined.
9454169689Skan	* config/i386/linux.h (LINUX_DEFAULT_ELF): Likewise.
9455169689Skan	* config/i386/linux64.h (LINUX_DEFAULT_ELF): Likewise.
9456169689Skan	* config/sparc/linux.h: (LINUX_DEFAULT_ELF): Likewise.
9457169689Skan	* config/sparc/linux64.h: (LINUX_DEFAULT_ELF): Likewise.
9458169689Skan
9459169689Skan2003-09-03  Jeff Sturm  <jsturm@one-point.com>
9460169689Skan
9461169689Skan	* cgraphunit.c (visited_nodes): New static variable.
9462169689Skan	(record_call_1): Use walk_tree with visited_nodes.
9463169689Skan	(cgraph_create_edges): Use walk_tree with visited_nodes.
9464169689Skan	Setup/teardown visited_nodes hashtable.
9465169689Skan
9466169689Skan2003-09-03  Roger Sayle  <roger@eyesopen.com>
9467169689Skan
9468169689Skan	* toplev.c (flag_rounding_math): New global variable.
9469169689Skan	(f_options): Add to the list of language independent options.
9470169689Skan	* flags.h (flag_rounding_math): Prototype here.
9471169689Skan	(HONOR_SIGN_DEPENDENT_ROUNDING): Use flag_rounding_math instead.
9472169689Skan	* common.opt (frounding-math): New common command line option.
9473169689Skan	* opts.c (common_handle_option): Handle OPT_frounding_math.
9474169689Skan	(set_fast_math_flags): -ffast-math clears flag_rounding_math.
9475169689Skan
9476169689Skan	* doc/invoke.texi: Document this new command line option.
9477169689Skan
9478169689Skan2003-09-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9479169689Skan
9480169689Skan	* config/sol2.h (NO_IMPLICIT_EXTERN_C): Update comment.
9481169689Skan
9482169689Skan2003-09-03  Jan Hubicka  <jh@suse.cz>
9483169689Skan
9484169689Skan	* Makefile.in (c-objc-common.o): Kill gt-c-objc-common.h dependency.
9485169689Skan	* c-decl.c (finish_function):  Kill arguments, always use cgraph path.
9486169689Skan	* c-objc-common.c: Kill include of gt-c-objc-common.h
9487169689Skan	(expand_deferred_fns, deffer_fn): Kill function.
9488169689Skan	(deferred_fns): Kill variable.
9489169689Skan	(finish_cdtor): Update finish_function call.
9490169689Skan	(c_objc_common_finish_file): Always call cgraph code.
9491169689Skan	* c-parse.c: Regenerate.
9492169689Skan	* c-parse.y: Regenerate.
9493169689Skan	* c-tree.h (finish_function): Update prototype.
9494169689Skan	* objc-acct.c (build_module_descriptor, finish_method_def):
9495169689Skan	Update call of finish_function.
9496169689Skan	* cgraphunit.c (cgraph_default_inline_p, cgraph_analyze_function): Add
9497169689Skan	forward prototype.
9498169689Skan	(cgraph_finalize_function): In non-unit-at-a-time mode analyze the
9499169689Skan	function and assemble it if needed.
9500169689Skan	(cgraph_finalize_compilation_unit): Do nothing in non-unit-at-a-time
9501169689Skan	mode.
9502169689Skan	(cgraph_optimize): Likewise.
9503169689Skan	(cgraph_expand_function): In non-unit-at-a-time mode keep function body
9504169689Skan	even when it has no inline callees.
9505169689Skan	* c-parse.in: Update calls to finish_function.
9506169689Skan
9507169689Skan2003-09-03  Nick Clifton  <nickc@redhat.com>
9508169689Skan
9509169689Skan	* config/arm/arm.h: Handle TARGET_CPU_iwmmxt.
9510169689Skan	Use #error to generate the message if TARGET_DEFAULT is not
9511169689Skan	recognised.
9512169689Skan
9513169689Skan2003-09-03  Richard Sandiford  <rsandifo@redhat.com>
9514169689Skan
9515169689Skan	* config/mips/mips.h (MASK_UNUSED1): Remove.
9516169689Skan	(MASK_XGOT, TARGET_XGOT): Define.
9517169689Skan	(TARGET_SWITCHES): Add an entry for -mxgot.
9518169689Skan	(ASM_SPEC): Map -mxgot to -xgot.
9519169689Skan	* config/mips/mips.c (mips_symbol_insns): Use TARGET_XGOT to decide
9520169689Skan	whether we're using a big-GOT sequences.
9521169689Skan	(mips_legitimize_const_move, mips_expand_call): Likewise.
9522169689Skan	(override_options): Revert 2003-01-09 change.
9523169689Skan	* doc/invoke.texi: Document -mxgot.
9524169689Skan
9525169689Skan2003-09-02  Jason Merrill  <jason@redhat.com>
9526169689Skan
9527169689Skan	* config/sol2.h (NO_IMPLICIT_EXTERN_C): Define here.
9528169689Skan	* config/sparc/sol2.h: Not here.
9529169689Skan
9530169689Skan2003-09-02  Roger Sayle  <roger@eyesopen.com>
9531169689Skan
9532169689Skan	* expr.c (expand_expr): The code following both_summands performs
9533169689Skan	the same task as simplify_gen_binary.  Replace all gotos to
9534169689Skan	both_summands with a call to simplify_gen_binary and delete the
9535169689Skan	now unused label.
9536169689Skan
9537169689Skan2003-09-02  Jason Merrill  <jason@redhat.com>
9538169689Skan
9539169689Skan	PR c++/7327
9540169689Skan	* config/sparc/sol2.h (NO_IMPLICIT_EXTERN_C): Define.
9541169689Skan
9542169689Skan2003-09-02  Jeff Sturm  <jsturm@one-point.com>
9543169689Skan
9544169689Skan	* cgraphunit.c (record_call_1): Use walk_tree_without_duplicates.
9545169689Skan	(cgraph_optimize_function): Set current_function_decl to the
9546169689Skan	fndecl we're integrating from.
9547169689Skan
9548169689Skan2003-09-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9549169689Skan
9550169689Skan	* builtins.def: Break out _Complex math functions into their
9551169689Skan	own category.
9552169689Skan
9553169689Skan2003-09-02  Andreas Jaeger  <aj@suse.de>
9554169689Skan
9555169689Skan	* langhooks-def.h (LANG_HOOKS_RTL_EXPAND_STMT): Cast properly.
9556169689Skan
9557169689Skan2003-09-02  Josef Zlomek  <zlomekj@suse.cz>
9558169689Skan
9559169689Skan	* cfgbuild.c (compute_outgoing_frequencies): Use NOTE instead of
9560169689Skan	finding the note again.
9561169689Skan
9562169689Skan2003-09-02  Nathanael Nerode  <neroden@gcc.gnu.org>
9563169689Skan
9564169689Skan	* config.gcc: Remove host-specific rewrites of target_alias.
9565169689Skan
9566169689Skan2003-09-01  Mark Mitchell  <mark@codesourcery.com>
9567169689Skan
9568169689Skan	* Makefile.in (genprogs): Fix typo.
9569169689Skan
9570169689Skan	* Makefile.in (gencheck.o): Remove build commands.
9571169689Skan	(dummy-conditions.o): Likewise.
9572169689Skan	(read-rtl.o): Likewise.
9573169689Skan	(gensupport.o): Likewise.
9574169689Skan	(genconfig$(build_exeext)): Remove rule.
9575169689Skan	(genconfig.o): Remove build commands.
9576169689Skan	(genflags$(build_exeext)): Remove rule.
9577169689Skan	(genflags.o): Remove build commands.
9578169689Skan	(gencodes$(build_exeext)): Remove rule.
9579169689Skan	(gencodes.o): Remove build commands.
9580169689Skan	(genconstants.o): Remove build commands.
9581169689Skan	(genemit$(build_exeext)): Remove rule.
9582169689Skan	(genemit.o): Remove build commands.
9583169689Skan	(genrecog$(build_exeext)): Remove rule.
9584169689Skan	(genrecog.o): Remove build commands.
9585169689Skan	(genextract$(build_exeext)): Remove rule.
9586169689Skan	(genextract.o): Remove build commands.
9587169689Skan	(genpeep$(build_exeext)): Remove rule.
9588169689Skan	(genpeep.o): Remove build commands.
9589169689Skan	(genattr$(build_exeext)): Remove rule.
9590169689Skan	(genattr.o): Remove build commands.
9591169689Skan	(genprognames): New variable.
9592169689Skan	(genprogs): Likewise.
9593169689Skan	(genobjs): Likewise.
9594169689Skan	(genprogs): New rule.
9595169689Skan	(genobjs): Likewise.
9596169689Skan	(genattrtab.o): Remove build commands.
9597169689Skan	(genautomata.o): Likewise.
9598169689Skan	(genoutput$(build_exeext)): Remove rule.
9599169689Skan	(genoutput.o): Remove build commands.
9600169689Skan	(gengenrtl.o): Likewise.
9601169689Skan	(genpreds.o): Likewise.
9602169689Skan	(gengtype.o): Likewise.
9603169689Skan	(genconditions.o): Likewise.
9604169689Skan	(gen-protos.o): Likewise.
9605169689Skan	(scan.o): Likewise.
9606169689Skan	(fix-header.o): Likewise.
9607169689Skan	(scan-decls.o): Likewise.
9608169689Skan	(check-g++): Combine with other check targets.
9609169689Skan	(check-gcc): Likewise.
9610169689Skan	(check-g77): Likewise.
9611169689Skan	(check-objc): Likewise.
9612169689Skan
9613169689Skan2003-09-01  Nathanael Nerode  <neroden@gcc.gnu.org>
9614169689Skan
9615169689Skan	* config.gcc: Remove host-specific stuff which is unused here
9616169689Skan	since the introduction of config.host.
9617169689Skan
9618169689Skan	* doc/fragments.texi: Mention config.host.
9619169689Skan	* doc/sourcebuild.texi: Mention config.host.  Give brief descriptions
9620169689Skan	of config.build, config.host, and config.gcc.
9621169689Skan
9622169689Skan2003-09-01  Zack Weinberg  <zack@codesourcery.com>
9623169689Skan
9624169689Skan	* c-decl.c (pushdecl): Don't put variables on
9625169689Skan	C_TYPE_INCOMPLETE_VARS of a type unless that type is itself
9626169689Skan	incomplete.
9627169689Skan
9628169689Skan2003-09-01  Nathanael Nerode  <neroden@gcc.gnu.org>
9629169689Skan
9630169689Skan	* config.host: New file.
9631169689Skan	* config.gcc: Remove some host-specific stuff and some
9632169689Skan	logic needed only for repeated invocation.
9633169689Skan	* configure.in: Use config.host.
9634169689Skan	* configure: Regenerate.
9635169689Skan
9636169689Skan2003-09-01  Josef Zlomek  <zlomekj@suse.cz>
9637169689Skan
9638169689Skan	* c-typeck.c (build_binary_op): Kill BIT_ANDTC_EXPR.
9639169689Skan	* convert.c (convert_to_integer): Kill BIT_ANDTC_EXPR.
9640169689Skan	* fold-const.c (int_const_binop): Kill BIT_ANDTC_EXPR.
9641169689Skan	(fold): Kill BIT_ANDTC_EXPR and label bit_and.
9642169689Skan	* tree.def (BIT_ANDTC_EXPR): Kill.
9643169689Skan
9644169689Skan2003-08-31  Nathanael Nerode  <neroden@gcc.gnu.org>
9645169689Skan
9646169689Skan	* configure.in: Remove uses of "for x in .. ${foo}" idiom.
9647169689Skan	* configure: Regenerate.
9648169689Skan
9649169689Skan	* config.gcc:  Remove references to install_headers_dir, now unused
9650169689Skan	since introduction of config.build.
9651169689Skan	* config.gcc (i860-*-sysv4*): Don't set unused USG, SVR3 defines.
9652169689Skan
9653169689Skan	* doc/fragments.texi, doc/sourcebuild.texi: Mention new file
9654169689Skan	config.build.
9655169689Skan
9656169689Skan	* config.build: New file.
9657169689Skan	* config.gcc: Remove some build-specific stuff.
9658169689Skan	* configure.in: Use config.build.
9659169689Skan	* configure: Regnerate.
9660169689Skan
9661169689Skan2003-08-31  Steven Bosscher  <steven@gcc.gnu.org>
9662169689Skan	    Roger Sayle  <roger@eyesopen.com>
9663169689Skan
9664169689Skan	PR middle-end/11823
9665169689Skan	* stmt.c (expand_end_case_type): Only use jump tables for dense
9666169689Skan	switch statements when optimizing for size.
9667169689Skan
9668169689Skan2003-08-31  Olivier Hainque  <hainque@act-europe.fr>
9669169689Skan
9670169689Skan	* builtins.c (expand_builtin_setjmp): Use emit_jump to jump around
9671169689Skan	the != 0 case, which ensures pending stack adjustments are flushed.
9672169689Skan
9673169689Skan2003-08-30  Zack Weinberg  <zack@codesourcery.com>
9674169689Skan
9675169689Skan	* configure.frag: Delete file.
9676169689Skan	* configure.in: Rename the substitution variables
9677169689Skan	dep_host_xmake_file and dep_tmake_file to xmake_file and
9678169689Skan	tmake_file respectively.  Do not expand $srcdir in the
9679169689Skan	value of these; leave that for Make.  Introduce a new
9680169689Skan	substitution varaible, all_lang_makefrags, which lists
9681169689Skan	subdirectory Make-lang.in files; exclude these from
9682169689Skan	all_lang_makefiles, which is now only for subdirectory
9683169689Skan	outputs.  Do not invoke configure.frag.  Do not set nor
9684169689Skan	AC_SUBST_FILE target_overrides, host_overrides, or
9685169689Skan	language_fragments. Create build subdirectories in
9686169689Skan	config.status extra commands.
9687169689Skan	* configure: Regenerate.
9688169689Skan	* Makefile.in: Update substitutions to match changes to
9689169689Skan	configure.  Use include directives instead of @-insertions
9690169689Skan	to read in host, target, and language fragments.
9691169689Skan	(Makefile rule): Do not invoke configure.frag.  Do not copy
9692169689Skan	config.status to config.run before executing it.  Set
9693169689Skan	CONFIG_HEADERS and CONFIG_FILES so that only Makefile gets
9694169689Skan	regenerated.
9695169689Skan	(cstamp-h rule): Set CONFIG_FILES as well as CONFIG_HEADERS.
9696169689Skan
9697169689Skan2003-08-30  Zack Weinberg  <zack@codesourcery.com>
9698169689Skan
9699169689Skan	* c-tree.h: Delete COMPARE_DIFFERENT_TU from enumeration.
9700169689Skan	* c-typeck.c (same_translation_unit_p): New function.
9701169689Skan	(comptypes): Use it instead of flags parameter to identify
9702169689Skan	structure types from different translation units.
9703169689Skan	* c-decl.c (duplicate_decls): Always call comptypes with
9704169689Skan	COMPTYPE_STRICT flags argument.
9705169689Skan	(c_reset_state): Set BLOCK_SUPERCONTEXT of the block formed
9706169689Skan	to file_scope_decl.
9707169689Skan
9708169689Skan2003-08-30  Zack Weinberg  <zack@codesourcery.com>
9709169689Skan
9710169689Skan	* c-tree.h (C_TYPE_INCOMPLETE_VARS): New macro.
9711169689Skan	* c-decl.c (struct c_scope): Remove "incomplete" field.
9712169689Skan	(pushdecl): Attach variables with incomplete types to
9713169689Skan	the TYPE_MAIN_VARIANT of the incomplete type in question.
9714169689Skan	(finish_struct): Look at C_TYPE_INCOMPLETE_VARS for variables
9715169689Skan	to complete, not at current_scope->incomplete.  All such
9716169689Skan	variables do need completion.
9717169689Skan
9718169689Skan2003-08-30  Richard Earnshaw  <rearnsha@arm.com>
9719169689Skan	Nicolas Pitre <nico@cam.org>
9720169689Skan
9721169689Skan	* arm/lib1funcs.asm (RETCOND): Delete.
9722169689Skan	(RETLDM): New assembler macro.  Use it for returning with ldm/ldr.
9723169689Skan	(ARM_LDIV0, THUMB_LDIV0): Collapse multiple definitions.
9724169689Skan	(__ARM_ARCH__): Move here from ieee754-?f.S.
9725169689Skan	(RET, RETc): Clean up definitions.
9726169689Skan	(DIV_FUNC_END): Renamed from FUNC_END.  All uses changed.
9727169689Skan	(FUNC_END): New macro that marks the end of any function.
9728169689Skan	(ARM_FUNC_START): New macro that allows an assembler routine to be
9729169689Skan	implemented in ARM code even if a Thumb-only build.
9730169689Skan	Unconditionally include ieee754-?f.S.
9731169689Skan	* arm/ieee754-df.S: Delete macros moved to lib1funcs.asm.
9732169689Skan	Mark ends of functions.
9733169689Skan	Split into separate conditionally-compiled units.
9734169689Skan	Use RETLDM to return from routines.
9735169689Skan	* arm/ieee754-sf.S: Similarly.
9736169689Skan	* t-arm-elf (LIB1ASMFUNCS): Remove _ieee754_dp and _ieee754_sp.
9737169689Skan	Add _negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi
9738169689Skan	_truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2
9739169689Skan	_fixsfsi and _fixunssfsi.
9740169689Skan
9741169689Skan	* arm/ieee754-df.S (__muldf3): Fix bug when result of a
9742169689Skan	multiplication underflows to zero.
9743169689Skan	(__adddf3): Fix bug when using VFP ordering on little-endian
9744169689Skan	processors.
9745169689Skan	(__fixdfsi): Use rrx to extract the carry into a register instead of
9746169689Skan	MRS instruction.  Optimize later use of result.
9747169689Skan	* arm/ieee754-sf.S (__fixsfsi): Likewise.
9748169689Skan	(__fixunssfsi): Use a better sequence for handling negative-or-zero.
9749169689Skan
9750169689Skan2003-08-29  Richard Henderson  <rth@redhat.com>
9751169689Skan
9752169689Skan	* tree-optimize.c: New file.
9753169689Skan	* Makefile.in (OBJS-archive): Add tree-optimize.o.
9754169689Skan	(tree-optimize.o): New.
9755169689Skan	* c-decl.c (store_parm_decls): Use allocate_struct_function.
9756169689Skan	(finish_function): Don't free_after_parsing or free_after_compilation.
9757169689Skan	(set_save_expr_context): Move to tree-optimize.c.
9758169689Skan	(c_expand_body_1): Use tree_rest_of_compilation.
9759169689Skan	* c-lang.c (LANG_HOOKS_RTL_EXPAND_STMT): New.
9760169689Skan	* objc/objc-lang.c (LANG_HOOKS_RTL_EXPAND_STMT): New.
9761169689Skan	* c-objc-common.c (expand_deferred_fns): Don't emit unused inlines;
9762169689Skan	iterate until closure.
9763169689Skan	* langhooks-def.h (LANG_HOOKS_RTL_EXPAND_START,
9764169689Skan	LANG_HOOKS_RTL_EXPAND_STMT, LANG_HOOKS_RTL_EXPAND_END): New.
9765169689Skan	(LANG_HOOKS_RTL_EXPAND_INITIALIZER): New.
9766169689Skan	* langhooks.h (struct lang_hooks_for_rtl_expansion): New.
9767169689Skan	* toplev.h (tree_rest_of_compilation): Declare it.
9768169689Skan
9769169689Skan2003-08-29  Richard Henderson  <rth@redhat.com>
9770169689Skan
9771169689Skan	* function.h (struct function): Add rtl_inline_init, saved_for_inline.
9772169689Skan	* integrate.c (save_for_inline): Set saved_for_inline.
9773169689Skan	* c-semantics.c (genrtl_scope_stmt): Check it.
9774169689Skan	* toplev.c (wrapup_global_declarations): Check it.
9775169689Skan	(rest_of_handle_inlining): Set and check rtl_inline_init.
9776169689Skan	(rest_of_compilation): Remove out of date comment.
9777169689Skan
9778169689Skan2003-08-29  Richard Henderson  <rth@redhat.com>
9779169689Skan
9780169689Skan	* function.c (allocate_struct_function): New, split out of ...
9781169689Skan	(prepare_function_start, init_function_start): ... here.
9782169689Skan	* expr.c (init_expr): Use ggc_alloc_cleared.
9783169689Skan	* stmt.c (init_stmt_for_function): Likewise.
9784169689Skan	* tree.h (allocate_struct_function): Declare.
9785169689Skan
9786169689Skan2003-08-29  Nathanael Nerode  <neroden@gcc.gnu.org>
9787169689Skan
9788169689Skan	* config.gcc: Don't use negated character class in shell case
9789169689Skan	clause.
9790169689Skan
9791169689Skan2003-08-29  Richard Henderson  <rth@redhat.com>
9792169689Skan
9793169689Skan	* function.h (struct function): Move function_frequency and
9794169689Skan	max_jumptable_ents before start of bit field members.
9795169689Skan
9796169689Skan2003-08-29  Richard Henderson  <rth@redhat.com>
9797169689Skan
9798169689Skan	* builtins.c (expand_builtin_constant_p): Check cse_not_expected here,
9799169689Skan	(fold_builtin_constant_p) ... not here.
9800169689Skan
9801169689Skan2003-08-29  Richard Henderson  <rth@redhat.com>
9802169689Skan
9803169689Skan	* c-tree.h (C_DECL_FILE_SCOPE): Move ...
9804169689Skan	* tree.h (DECL_FILE_SCOPE_P): ... here, and rename.
9805169689Skan	* c-decl.c, c-objc-common.c, c-typeck.c: Update to match.
9806169689Skan
9807169689Skan2003-08-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9808169689Skan
9809169689Skan	* builtins.def: Fix typos.
9810169689Skan	(ATTR_MATHFN_FPROUNDING_STORE): New macro.
9811169689Skan	(BUILT_IN_FREXP, BUILT_IN_FREXPF, BUILT_IN_FREXPL, BUILT_IN_MODF,
9812169689Skan	BUILT_IN_MODFF, BUILT_IN_MODFL, BUILT_IN_REMQUO, BUILT_IN_REMQUOF,
9813169689Skan	BUILT_IN_REMQUOL, BUILT_IN_SINCOS, BUILT_IN_SINCOSF,
9814169689Skan	BUILT_IN_SINCOSL): Use ATTR_MATHFN_FPROUNDING_STORE.
9815169689Skan
9816169689Skan	* builtins.def (BUILT_IN_ERFC, BUILT_IN_ERFCF, BUILT_IN_ERFCL):
9817169689Skan	Use ATTR_MATHFN_FPROUNDING_ERRNO.
9818169689Skan
9819169689Skan2003-08-29  Nathanael Nerode  <neroden@gcc.gnu.org>
9820169689Skan
9821169689Skan	* config.gcc (i386-*-vsta): Fix obvious bogosity.
9822169689Skan
9823169689Skan	* fixinc/inclhack.def:  Remove special cases for unsupported
9824169689Skan	PTX 1 and PTX 2 (including i[34567]86-sequent-sysv3).
9825169689Skan	* fixinc/fixincl.x: Regenerate.
9826169689Skan
9827169689Skan2003-08-29  Mark Mitchell  <mark@codesourcery.com>
9828169689Skan
9829169689Skan	* Makefile.in (cpp.info): Just state dependencies.
9830169689Skan	(gcc.info): Likewise.
9831169689Skan	(gccint.info): Likewise.
9832169689Skan	(gccinstall.info): Likewise.
9833169689Skan	(cppinternals.info): Likewise.
9834169689Skan	(cpp.dvi): Likewise.
9835169689Skan	(gcc.dvi): Likewise.
9836169689Skan	(gccint.dvi): Likewise.
9837169689Skan	(gccinstall.dvi): Likewise.
9838169689Skan	(cppinternals.dvi): Likewise.
9839169689Skan	(gcov.1): Likewise.
9840169689Skan	(cpp.1): Likewise.
9841169689Skan	(gcc.1): Likewise.
9842169689Skan	(gfdl.7): Likewise.
9843169689Skan	(gpl.7): Likewise.
9844169689Skan	(fsf-funding.7): Likewise.
9845169689Skan	($(objdir)/%.info): New pattern rule.
9846169689Skan	(%.dvi): Likewise.
9847169689Skan
9848169689Skan2003-08-29  Kelley Cook  <kelleycook@wideopenwest.com>
9849169689Skan
9850169689Skan	* Makefile.in (restage1): Pass BOOT_CFLAGS to recursive make.
9851169689Skan	(restage2): Likewise.
9852169689Skan	(restage3): Likewise.
9853169689Skan	(restage4): Likewise.
9854169689Skan	(restageprofile): Likewise.
9855169689Skan	(restagefeedback): Likewise.
9856169689Skan	(bubblestrap): Likewise.
9857169689Skan
9858169689Skan2003-08-29  Nathanael Nerode  <neroden@gcc.gnu.org>
9859169689Skan
9860169689Skan	* config.gcc: Narrow unsupported target match to avoid clobbering
9861169689Skan	i?86-sequent-sysv4*.
9862169689Skan
9863169689Skan2003-08-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9864169689Skan
9865169689Skan	* builtins.c (mathfn_built_in): Handle new math builtins.
9866169689Skan
9867169689Skan2003-08-28  Per Bothner  <per@bothner.com>
9868169689Skan
9869169689Skan	Fix (hopefully temporary) for breakage caused by my 08-21 patch.
9870169689Skan	* cpplex.c (_cpp_get_fresh_line):  Check for null buffer.
9871169689Skan	(_cpp_lex_buffer):  Likewise.
9872169689Skan	* cpptrad.c (_cpp_read_logical_line_trad):  Likewise.
9873169689Skan
9874169689Skan2003-08-28  Ulrich Weigand  <uweigand@de.ibm.com>
9875169689Skan
9876169689Skan	* config/s390/s390.md ("*mulsi3_sign"): New insn.
9877169689Skan	("mulsidi3" expander, "mulsi_6432" insn): Remove, replace by ...
9878169689Skan	("mulsidi3"): ... this new insn.
9879169689Skan	("umulsidi3"): New insn.
9880169689Skan	("divmoddi3", "divmodtidi3", "divmodtisi3"): Simplify by using
9881169689Skan	mixed-mode matching constraints.
9882169689Skan	("udivmodsi4", "udivmoddisi3"): New insns.
9883169689Skan	("udivsi3", "umodsi3"): Use only in ESA/390 mode.
9884169689Skan
9885169689Skan2003-08-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9886169689Skan
9887169689Skan	* builtin-types.def (BT_INT_PTR, BT_FLOAT_PTR, BT_DOUBLE_PTR,
9888169689Skan	BT_LONGDOUBLE_PTR, BT_FN_FLOAT_FLOAT_FLOATPTR,
9889169689Skan	BT_FN_DOUBLE_DOUBLE_DOUBLEPTR,
9890169689Skan	BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLEPTR,
9891169689Skan	BT_FN_FLOAT_FLOAT_INTPTR, BT_FN_DOUBLE_DOUBLE_INTPTR,
9892169689Skan	BT_FN_LONGDOUBLE_LONGDOUBLE_INTPTR,
9893169689Skan	BT_FN_FLOAT_FLOAT_FLOAT_INTPTR, BT_FN_DOUBLE_DOUBLE_DOUBLE_INTPTR,
9894169689Skan	BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE_INTPTR,
9895169689Skan	BT_FN_VOID_FLOAT_FLOATPTR_FLOATPTR,
9896169689Skan	BT_FN_VOID_DOUBLE_DOUBLEPTR_DOUBLEPTR,
9897169689Skan	BT_FN_VOID_LONGDOUBLE_LONGDOUBLEPTR_LONGDOUBLEPTR): New.
9898169689Skan	* builtins.def (BUILT_IN_FREXP, BUILT_IN_FREXPF, BUILT_IN_FREXPL,
9899169689Skan	BUILT_IN_MODF, BUILT_IN_MODFF, BUILT_IN_MODFL, BUILT_IN_REMQUO,
9900169689Skan	BUILT_IN_REMQUOF, BUILT_IN_REMQUOL, BUILT_IN_SINCOS,
9901169689Skan	BUILT_IN_SINCOSF, BUILT_IN_SINCOSL): New.
9902169689Skan	* tree.c: Assign new type_nodes.
9903169689Skan	* tree.h (tree_index): Add TI_FLOAT_PTR_TYPE, TI_DOUBLE_PTR_TYPE,
9904169689Skan	TI_LONG_DOUBLE_PTR_TYPE, TI_INTEGER_PTR_TYPE.
9905169689Skan	(float_ptr_type_node, double_ptr_type_node,
9906169689Skan	long_double_ptr_type_node, integer_ptr_type_node): New type_nodes.
9907169689Skan
9908169689Skan	* doc/extend.texi: Document new builtins.
9909169689Skan
9910169689Skan2003-08-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9911169689Skan
9912169689Skan	* builtin-types.def (BT_FN_FLOAT_INT_FLOAT,
9913169689Skan	BT_FN_DOUBLE_INT_DOUBLE, BT_FN_LONGDOUBLE_INT_LONGDOUBLE): New.
9914169689Skan
9915169689Skan	* builtins.def (BUILT_IN_ERF, BUILT_IN_ERFC, BUILT_IN_ERFCF,
9916169689Skan	BUILT_IN_ERFCL, BUILT_IN_ERFF, BUILT_IN_ERFL, BUILT_IN_GAMMA,
9917169689Skan	BUILT_IN_GAMMAF, BUILT_IN_GAMMAL, BUILT_IN_J0, BUILT_IN_J0F,
9918169689Skan	BUILT_IN_J0L, BUILT_IN_J1, BUILT_IN_J1F, BUILT_IN_J1L,
9919169689Skan	BUILT_IN_JN, BUILT_IN_JNF, BUILT_IN_JNL, BUILT_IN_LGAMMA,
9920169689Skan	BUILT_IN_LGAMMAF, BUILT_IN_LGAMMAL, BUILT_IN_SIGNIFICAND,
9921169689Skan	BUILT_IN_SIGNIFICANDF, BUILT_IN_SIGNIFICANDL, BUILT_IN_TGAMMA,
9922169689Skan	BUILT_IN_TGAMMAF, BUILT_IN_TGAMMAL, BUILT_IN_Y0, BUILT_IN_Y0F,
9923169689Skan	BUILT_IN_Y0L, BUILT_IN_Y1, BUILT_IN_Y1F, BUILT_IN_Y1L,
9924169689Skan	BUILT_IN_YN, BUILT_IN_YNF, BUILT_IN_YNL): New.
9925169689Skan
9926169689Skan	* doc/extend.texi: Document new builtins.
9927169689Skan
9928169689Skan2003-08-28  Nathanael Nerode  <neroden@gcc.gnu.org>
9929169689Skan
9930169689Skan	* fixinc/mkfixinc.sh: Remove special case code for unsupported
9931169689Skan	variants of i?86, powerpcle, and thumb.
9932169689Skan	* fixinc/mkfixinc.sh: Remove special case code for unsupported
9933169689Skan	arm and hppa variants.
9934169689Skan
9935169689Skan2003-08-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9936169689Skan
9937169689Skan	* builtin-types.def (BT_FN_INT_FLOAT, BT_FN_INT_DOUBLE,
9938169689Skan	BT_FN_INT_LONGDOUBLE, BT_FN_LONG_FLOAT, BT_FN_LONG_DOUBLE,
9939169689Skan	BT_FN_LONG_LONGDOUBLE, BT_FN_LONGLONG_FLOAT,
9940169689Skan	BT_FN_LONGLONG_DOUBLE, BT_FN_LONGLONG_LONGDOUBLE,
9941169689Skan	BT_FN_FLOAT_FLOAT_LONGDOUBLE, BT_FN_DOUBLE_DOUBLE_LONGDOUBLE,
9942169689Skan	BT_FN_FLOAT_FLOAT_INT, BT_FN_DOUBLE_DOUBLE_INT,
9943169689Skan	BT_FN_LONGDOUBLE_LONGDOUBLE_INT, BT_FN_FLOAT_FLOAT_LONG,
9944169689Skan	BT_FN_DOUBLE_DOUBLE_LONG, BT_FN_LONGDOUBLE_LONGDOUBLE_LONG,
9945169689Skan	BT_FN_FLOAT_FLOAT_FLOAT_FLOAT, BT_FN_DOUBLE_DOUBLE_DOUBLE_DOUBLE,
9946169689Skan	BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE): New.
9947169689Skan
9948169689Skan	* builtins.def (BUILT_IN_ACOS, BUILT_IN_ACOSF, BUILT_IN_ACOSH,
9949169689Skan	BUILT_IN_ACOSHF, BUILT_IN_ACOSHL, BUILT_IN_ACOSL, BUILT_IN_ASIN,
9950169689Skan	BUILT_IN_ASINF, BUILT_IN_ASINH, BUILT_IN_ASINHF, BUILT_IN_ASINHL,
9951169689Skan	BUILT_IN_ASINL, BUILT_IN_ATANH, BUILT_IN_ATANHF, BUILT_IN_ATANHL,
9952169689Skan	BUILT_IN_CBRT, BUILT_IN_CBRTF, BUILT_IN_CBRTL, BUILT_IN_COPYSIGN,
9953169689Skan	BUILT_IN_COPYSIGNF, BUILT_IN_COPYSIGNL, BUILT_IN_COSH,
9954169689Skan	BUILT_IN_COSHF, BUILT_IN_COSHL, BUILT_IN_DREM, BUILT_IN_DREMF,
9955169689Skan	BUILT_IN_DREML, BUILT_IN_EXP10, BUILT_IN_EXP10F, BUILT_IN_EXP10L,
9956169689Skan	BUILT_IN_EXP2, BUILT_IN_EXP2F, BUILT_IN_EXP2L, BUILT_IN_EXPM1,
9957169689Skan	BUILT_IN_EXPM1F, BUILT_IN_EXPM1L, BUILT_IN_FDIM, BUILT_IN_FDIMF,
9958169689Skan	BUILT_IN_FDIML, BUILT_IN_FMA, BUILT_IN_FMAF, BUILT_IN_FMAL,
9959169689Skan	BUILT_IN_FMAX, BUILT_IN_FMAXF, BUILT_IN_FMAXL, BUILT_IN_FMIN,
9960169689Skan	BUILT_IN_FMINF, BUILT_IN_FMINL, BUILT_IN_HYPOT, BUILT_IN_HYPOTF,
9961169689Skan	BUILT_IN_HYPOTL, BUILT_IN_ILOGB, BUILT_IN_ILOGBF, BUILT_IN_ILOGBL,
9962169689Skan	BUILT_IN_LDEXP, BUILT_IN_LDEXPF, BUILT_IN_LDEXPL, BUILT_IN_LLRINT,
9963169689Skan	BUILT_IN_LLRINTF, BUILT_IN_LLRINTL, BUILT_IN_LLROUND,
9964169689Skan	BUILT_IN_LLROUNDF, BUILT_IN_LLROUNDL, BUILT_IN_LOG10,
9965169689Skan	BUILT_IN_LOG10F, BUILT_IN_LOG10L, BUILT_IN_LOG1P, BUILT_IN_LOG1PF,
9966169689Skan	BUILT_IN_LOG1PL, BUILT_IN_LOG2, BUILT_IN_LOG2F, BUILT_IN_LOG2L,
9967169689Skan	BUILT_IN_LOGB, BUILT_IN_LOGBF, BUILT_IN_LOGBL, BUILT_IN_LRINT,
9968169689Skan	BUILT_IN_LRINTF, BUILT_IN_LRINTL, BUILT_IN_LROUND,
9969169689Skan	BUILT_IN_LROUNDF, BUILT_IN_LROUNDL, BUILT_IN_NEXTAFTER,
9970169689Skan	BUILT_IN_NEXTAFTERF, BUILT_IN_NEXTAFTERL, BUILT_IN_NEXTTOWARD,
9971169689Skan	BUILT_IN_NEXTTOWARDF, BUILT_IN_NEXTTOWARDL, BUILT_IN_POW10,
9972169689Skan	BUILT_IN_POW10F, BUILT_IN_POW10L, BUILT_IN_REMAINDER,
9973169689Skan	BUILT_IN_REMAINDERF, BUILT_IN_REMAINDERL, BUILT_IN_RINT,
9974169689Skan	BUILT_IN_RINTF, BUILT_IN_RINTL, BUILT_IN_SCALB, BUILT_IN_SCALBF,
9975169689Skan	BUILT_IN_SCALBL, BUILT_IN_SCALBLN, BUILT_IN_SCALBLNF,
9976169689Skan	BUILT_IN_SCALBLNL, BUILT_IN_SCALBN, BUILT_IN_SCALBNF,
9977169689Skan	BUILT_IN_SCALBNL, BUILT_IN_SINH, BUILT_IN_SINHF, BUILT_IN_SINHL,
9978169689Skan	BUILT_IN_TANH, BUILT_IN_TANHF, BUILT_IN_TANHL): New.
9979169689Skan
9980169689Skan	* doc/extend.texi: Document new builtins.
9981169689Skan
9982169689Skan2003-08-28  Ulrich Weigand  <uweigand@de.ibm.com>
9983169689Skan
9984169689Skan	* config/s390/s390.c (legitmate_constant_p): Use LARL on
9985169689Skan	zSeries machines even in 31-bit addressing mode.
9986169689Skan	(legitimate_reload_constant_p): Likewise.
9987169689Skan	(legitimize_pic_address): Likewise.
9988169689Skan	(legitimize_tls_address): Likewise.
9989169689Skan	(s390_split_branches): Likewise.
9990169689Skan	(s390_dump_pool): Likewise.
9991169689Skan	(s390_mainpool_finish): Likewise.
9992169689Skan	(s390_chunkify_start): Likewise.
9993169689Skan	(s390_select_rtx_section): Likewise.
9994169689Skan	* config/s390/s390.md ("doloop_si"): Likewise.
9995169689Skan	("pool_start_31", "pool_end_31"): Likewise.
9996169689Skan	("pool_start_64", "pool_end_64"): Likewise.
9997169689Skan	("main_base_31_small", "main_base_31_large"): Likewise.
9998169689Skan	("main_base_64"): Likewise.
9999169689Skan	("reload_base_31", "reload_base_64"): Likewise.
10000169689Skan	("*movsi_larl"): New insn.
10001169689Skan	("cjump", "icjump"): Use long branches on zSeries machines.
10002169689Skan	("jump"): Likewise.
10003169689Skan	("call"): Use BRASL on zSeries machines.
10004169689Skan	("call_value", "call_value_tls"): Likewise.
10005169689Skan	("brasl", "bras", "basr_64", "basr_31", "bas_64", "bas_31"): Remove
10006169689Skan	and replace by ...
10007169689Skan	("*bras", "*brasl", "*basr") ... these new insns.
10008169689Skan	("brasl_r", "bras_r", "basr_64_r", "basr_31_r", "bas_64_r",
10009169689Skan	"bas_31_r"): Remove and replace by ...
10010169689Skan	("*bras_r", "*brasl_r", "*basr_r") ... these new insns.
10011169689Skan	("brasl_tls", "bras_tls", "basr_64_tls", "basr_31_tls",
10012169689Skan	"bas_64_tls", "bas_31_tls"): Remove and replace by ...
10013169689Skan	("*bras_tls", "*brasl_tls", "*basr_tls") ... these new insns.
10014169689Skan	("*return_si", "*return_di"): Remove and replace by ...
10015169689Skan	("*return"): ... this new insn.
10016169689Skan	("rotlsi3"): Allow on zSeries machines.
10017169689Skan
10018169689Skan	* config/s390/s390.c (legitimize_reload_constant_p): Use
10019169689Skan	LL/LH type instructions in z/Architecture mode.
10020169689Skan	* config/s390/s390.md ("*movsi_lli"): Likewise.
10021169689Skan	("*andsi3_ni", "*andhi3_ni", "*andqi3_ni"): Likewise.
10022169689Skan	("*iorsi3_ni", "*iorhi3_ni", "*iorqi3_ni"): Likewise.
10023169689Skan	("*extendqisi2"): Use LB in z/Architecture mode.
10024169689Skan	("*zero_extendqisi2_64", "*zero_extendqisi2_31"): Use LLGC in
10025169689Skan	z/Architecture mode.
10026169689Skan	("zero_extendqihi2", "*zero_extendqihi2_64", "*zero_extendqihi2_31"):
10027169689Skan	Likewise.
10028169689Skan
10029169689Skan	* config/s390/s390.md ("*tmdi_ext"): Allow in both 64-bit
10030169689Skan	and 31-bit mode.
10031169689Skan	("ptr_extend"): Allow only in 64-bit mode.
10032169689Skan
10033169689Skan2003-08-27  Daniel Jacobowitz  <drow@mvista.com>
10034169689Skan
10035169689Skan	* gcc.c (STANDARD_EXEC_PREFIX, STANDARD_STARTFILE_PREFIX)
10036169689Skan	(TOOLDIR_BASE_PREFIX, STANDARD_BINDIR_PREFIX): Remove unnecessary
10037169689Skan	definitions.
10038169689Skan	(main): Only use standard_startfile_prefix if native.
10039169689Skan	* doc/tm.texi (STANDARD_STARTFILE_PREFIX): Update.
10040169689Skan
10041169689Skan2003-08-27  Per Bothner  <pbothner@apple.com>
10042169689Skan
10043169689Skan	* cpperror.c (print_location):  Don't check for !pfile->buffer.  That
10044169689Skan	test fails following my 08-21 change, and it seems unnecessary anyway.
10045169689Skan	(cpp_error):  Likewise.
10046169689Skan
10047169689Skan2003-08-27  Jason Merrill  <jason@redhat.com>
10048169689Skan
10049169689Skan	* real.c (do_multiply): Initialize with memset.
10050169689Skan
10051169689Skan2003-08-27  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
10052169689Skan
10053169689Skan	* gcov.c (typedef struct arc_info): New field cs_count.
10054169689Skan	(accumulate_line_counts): Find cycles correctly.
10055169689Skan
10056169689Skan2003-08-27  Ulrich Weigand  <uweigand@de.ibm.com>
10057169689Skan
10058169689Skan	* config/s390/s390.c (struct machine_function): Remove member
10059169689Skan	literal_pool_label.
10060169689Skan	(s390_optimize_prolog): Replace TEMP_REG argument with
10061169689Skan	TEMP_USED and BASE_USED.  Do not check get_pool_size ().
10062169689Skan	(general_s_operand): Accept all immediates before reload if
10063169689Skan	ALLOW_IMMEDIATE.  If not ALLOW_IMMEDIATE, reject literal pool
10064169689Skan	references.
10065169689Skan	(s390_output_symbolic_const): Remove UNSPEC_LTREL_OFFSET handling.
10066169689Skan	(find_constant_pool_ref): Ignore UNSPECV_POOL_ENTRY insns.
10067169689Skan	(s390_alloc_pool): New function.
10068169689Skan	(s390_new_pool): Call it.
10069169689Skan	(s390_dump_pool): Add REMOTE_LABEL argument.
10070169689Skan	(s390_chunkify_start): Add BASE_REG argument.  Do not check
10071169689Skan	get_pool_size ().
10072169689Skan	(s390_chunkify_finish): Add BASE_REG argument.  Adapt
10073169689Skan	s390_dump_pool call.
10074169689Skan	(s390_pool_count, s390_nr_constants): Remove.
10075169689Skan	(s390_output_constant_pool): Remove.
10076169689Skan	(s390_mainpool_start): New function.
10077169689Skan	(s390_mainpool_finish): New function.
10078169689Skan	(s390_mainpool_cancel): New function.
10079169689Skan	(s390_reorg): Implement main literal pool handling.
10080169689Skan	(s390_emit_prologue): Emit main_pool placeholder instead of
10081169689Skan	literal_pool_31 / literal_pool_64 insns.
10082169689Skan	* config/s390/s390.h (s390_pool_count, s390_nr_constants): Remove.
10083169689Skan	(ASM_OUTPUT_POOL_PROLOGUE, ASM_OUTPUT_SPECIAL_POOL_ENTRY): Remove.
10084169689Skan	* config/s390/s390.md (UNSPEC_MAIN_BASE): New symbolic constant.
10085169689Skan	("main_base_31_small", "main_base_31_large"): New insns.
10086169689Skan	("main_base_64",  "main_pool"): New insns.
10087169689Skan	("literal_pool_31", "literal_pool_64"): Remove.
10088169689Skan
10089169689Skan2003-08-27  Nathanael Nerode  <neroden@gcc.gnu.org>
10090169689Skan
10091169689Skan	* fixinc/inclhack.def (ptx_netswap): New disabled fix, ported from
10092169689Skan	fixinc.ptx.
10093169689Skan	* fixinc/inclhack.def (undefine_null):  Don't generate \r characters.
10094169689Skan	Prettify a little.
10095169689Skan	* fixinc/fixincl.x: Regenerate.
10096169689Skan
10097169689Skan2003-08-27  Richard Earnshaw  <rearnsha@arm.com>
10098169689Skan
10099169689Skan	* lib1funcs.asm (L_ieee754_sp): New.  Include ieee754-sf.S.
10100169689Skan	(L_ieee754_dp): New.  Include ieee754-df.S.
10101169689Skan	* arm/ieee754-sf.S: Rework to allow interworking, calling from Thumb,
10102169689Skan	and compilation in apcs-26 mode.
10103169689Skan	* arm/ieee754-df.S: Likewise.
10104169689Skan	* t-arm-elf (DPBIT, FPBIT, fp-bit.c dp-bit.c): Delete rules
10105169689Skan	(LIB1ASMFUNCS): Add _ieee754_sp and _ieee754_dp targets.
10106169689Skan
10107169689Skan2003-08-27  Nicolas Pitre  <nico@cam.org>
10108169689Skan
10109169689Skan	* arm/ieee754-sf.S: New.
10110169689Skan	* arm/ieee754-df.S: New.
10111169689Skan
10112169689Skan2003-08-27  Jakub Jelinek  <jakub@redhat.com>
10113169689Skan
10114169689Skan	* builtins.c (expand_builtin_expect_jump): Save pending_stack_adjust
10115169689Skan	and restore it if returning NULL.
10116169689Skan
10117169689Skan2003-08-27  Richard Sandiford  <rsandifo@redhat.com>
10118169689Skan
10119169689Skan	* calls.c (initialize_argument_information): If an argument has no
10120169689Skan	stack space associated with it, and BLOCK_REG_PADDING is defined,
10121169689Skan	use it to decide at which end the argument should be padded.
10122169689Skan	* function.c (assign_parms): Allocate BLKmode stack slots.
10123169689Skan	* config/mips/mips-protos.h (mips_pad_arg_upward): Declare.
10124169689Skan	(mips_pad_reg_upward): Declare.
10125169689Skan	* config/mips/mips.h (PAD_VARARGS_DOWN): Use FUNCTION_ARG_PADDING.
10126169689Skan	(CUMULATIVE_ARGS): Remove num_adjusts and adjusts.
10127169689Skan	(FUNCTION_ARG_PADDING): Use mips_pad_arg_upward.
10128169689Skan	(BLOCK_REG_PADDING): Use mips_pad_reg_upward.
10129169689Skan	* config/mips/mips.c (struct mips_arg_info): Remove struct_p.
10130169689Skan	(mips_expand_call): Remove code for generating structure shifts.
10131169689Skan	(mips_arg_info): Don't set struct_p.  Don't set fpr_p for non-float
10132169689Skan	types unless using the EABI.
10133169689Skan	(function_arg_advance): Don't generate shift instructions.
10134169689Skan	(function_arg): Don't return them.  Don't short-circuit the
10135169689Skan	check for double structure chunks for DFmode arguments.
10136169689Skan	(mips_pad_arg_upward, mips_pad_reg_upward): New functions.
10137169689Skan	(mips_expand_prologue): Remove code to emit structure shifts.
10138169689Skan	* config/mips/irix6-libc-compat.c: Remove workarounds for buggy
10139169689Skan	structure passing (inet_ntoa, inet_lnaof, inet_netof).  Update
10140169689Skan	comments to say that only structure returns are a problem.
10141169689Skan
10142169689Skan2003-08-26  Nathanael Nerode  <neroden@gcc.gnu.org>
10143169689Skan
10144169689Skan	* fixinc/tests/base/string.h, fixinc/tests/base/sys/regset.h:
10145169689Skan	Fix to match produced versions.
10146169689Skan	* fixinc/inclhack.def (longlong_t): New disabled test, ported
10147169689Skan	from fixinc.svr4.
10148169689Skan	* fixinc/inclhack.def (ptx_pwd_h): New disabled fix, ported
10149169689Skan	from fixinc.ptx.
10150169689Skan	* fixinc/inclhack.def (ptx_sys_mc_param_h): New disabled fix,
10151169689Skan	ported from fixinc.ptx.
10152169689Skan
10153169689Skan2003-08-26  Per Bothner  <pbothner@apple.com>
10154169689Skan
10155169689Skan	* cpplib.h (struct cpp_token):  Change type of field line to fileline.
10156169689Skan	(cpp_error_with_line):  Use fileline for appropriate parameter.
10157169689Skan	* cpphash.h (struct cpp_macro):  Change type of field line to fileline.
10158169689Skan	(struct cpp_reader):  Likewise for fields line and directive_line.
10159169689Skan	(_cpp_begin_message):  Use fileline for appropriate parameter.
10160169689Skan	* cpperror.c (print_location, _cpp_begin_message, cpp_error_with_line,
10161169689Skan	cpp_error):  Use fileline for appropriate parameters and variables.
10162169689Skan	(print_location):  New local lin, since it is not a fileline.
10163169689Skan
10164169689Skan2003-08-26  Roger Sayle  <roger@eyesopen.com>
10165169689Skan
10166169689Skan	PR middle-end/12002
10167169689Skan	* tree.h (SCALAR_FLOAT_TYPE_P, COMPLEX_FLOAT_TYPE_P): New macros.
10168169689Skan	(FLOAT_TYPE_P): Define in terms of these two new macros.
10169169689Skan	* fold-const.c (fold <PLUS_EXPR>): Don't convert x+x into x*2.0
10170169689Skan	for complex floating point types.
10171169689Skan
10172169689Skan2003-08-26  Ulrich Weigand  <uweigand@de.ibm.com>
10173169689Skan
10174169689Skan	* config/s390/s390.c (emit_prologue): Don't check literal pool size.
10175169689Skan	* config/s390/s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Call
10176169689Skan	s390_output_pool_entry.
10177169689Skan
10178169689Skan2003-08-26  Nathanael Nerode  <neroden@gcc.gnu.org>
10179169689Skan
10180169689Skan	* fixinc/inclhack.def (svr4_preproc_lint_on,
10181169689Skan	svr4_preproc_lint_off, svr4_preproc_machine): New disabled
10182169689Skan	fixes, ported from fixinc.svr4.
10183169689Skan
10184169689Skan2003-08-26  Mark Mitchell  <mark@codesourcery.com>
10185169689Skan
10186169689Skan	* doc/install.texi (Prerequisites): Mention GNU make requirement.
10187169689Skan
10188169689Skan	* Makefile.in (AR_FOR_TARGET): Export it.
10189169689Skan	(AR_CREATE_FOR_TARGET): Likewise.
10190169689Skan	(AR_FLAGS_FOR_TARGET): Likewise.
10191169689Skan	(AR_EXTRACT_FOR_TARGET): Likewise.
10192169689Skan	(AWK): Likewise.
10193169689Skan	(BUILD_PREFIX): Likewise.
10194169689Skan	(BUILD_PREFIX_1): Likewise.
10195169689Skan	(DESTDIR): Likewise.
10196169689Skan	(GCC_FOR_TARGET): Likewise.
10197169689Skan	(INCLUDES): Likewise.
10198169689Skan	(INSTALL_DATA): Likewise.
10199169689Skan	(LIB1ASMSRC): Likewise.
10200169689Skan	(LIBGCC2_CFLAGS): Likewise.
10201169689Skan	(MACHMODE_H): Likewise.
10202169689Skan	(NM_FOR_TARGET): Likewise.
10203169689Skan	(RANLIB_FOR_TARGET): Likewise.
10204169689Skan	(libsubdir): Likewise.
10205169689Skan	(slibdir): Likewise.
10206169689Skan	(ORDINARY_FLAGS_TO_PASS): Remove stuff that we're
10207169689Skan	exporting.
10208169689Skan	(libgcc.a): Don't pass them here.
10209169689Skan	(stmp-multilib): Or here.
10210169689Skan	(install-libgcc): Or here.
10211169689Skan	(install-multilib): Or here.
10212169689Skan	(POSTSTAGE1_FLAGS_TO_PASS): Or here.
10213169689Skan	(stage1_build): Or here.
10214169689Skan
10215169689Skan2003-08-26  Andreas Krebbel <krebbel1@de.ibm.com>
10216169689Skan
10217169689Skan	* config/s390/s390.md ("*llgt_sisi", "*llgt_sisi_split", "*llgt_didi",
10218169689Skan	"*llgt_didi_split", "*llgt_sidi", "*llgt_sidi_split"): New insns.
10219169689Skan
10220169689Skan2003-08-26  Andreas Krebbel <krebbel1@de.ibm.com>
10221169689Skan
10222169689Skan	* config/s390/s390.md ("*fmadddf", "*fmsubdf",
10223169689Skan	"*fmaddsf", "*fmsubsf"): New insns.
10224169689Skan
10225169689Skan2003-08-26  Roger Sayle  <roger@eyesopen.com>
10226169689Skan
10227169689Skan	* fold-const.c (fold <MULT_EXPR>): Optimize (C1/X)*C2 into
10228169689Skan	(C1*C2)/X when unsafe math optimizations are allowed.
10229169689Skan	(fold <RDIV_EXPR>): Optimize C1/(X*C2) into (C1/C2)/X with unsafe
10230169689Skan	math optimizations.  Minor code clean-ups.  Recursively call
10231169689Skan	fold when constructing sub-expressions.
10232169689Skan
10233169689Skan2003-08-26  Roger Sayle  <roger@eyesopen.com>
10234169689Skan
10235169689Skan	* builtins.c (fold_builtin_bitop): New function to perform constant
10236169689Skan	folding of ffs, clz, ctz, popcount and parity builtin functions
10237169689Skan	and their long and long long variants (such as ffsl and ffsll).
10238169689Skan	(fold_builtin): fold_builtin_bitop when appropriate.
10239169689Skan	* simplify-rtx.c (simplify_unary_operation): Honor both
10240169689Skan	CLZ_DEFINED_VALUE_AT_ZERO and CTZ_DEFINED_VALUE_AT_ZERO when
10241169689Skan	evaluating clz and ctz at compile-time, for operands wider
10242169689Skan	than HOST_WIDE_INT.
10243169689Skan
10244169689Skan2003-08-26  Nathan Sidwell  <nathan@codesourcery.com>
10245169689Skan
10246169689Skan	* builtins.c (build_function_call_expr): Don't set
10247169689Skan	TREE_SIDE_EFFECTS here.
10248169689Skan	* expr.c (emit_block_move_via_libcall): Likewise.
10249169689Skan	(clear_storage_via_libcall): Likewise.
10250169689Skan	* tree.c (build): Set TREE_SIDE_EFFECTS for non-const, non-pure
10251169689Skan	CALL_EXPRs.
10252169689Skan
10253169689Skan	* gcse.c (is_too_expensive): New function.
10254169689Skan	(gcse_main, delete_null_pointer_checks, bypass_jumps): Use it.
10255169689Skan
10256169689Skan2003-08-25  Zack Weinberg  <zack@codesourcery.com>
10257169689Skan
10258169689Skan	* config.gcc (hppa*-*-hpux11*, ia64*-*-hpux*): Remove
10259169689Skan	commented-out logic to use DCE threads (if present), add
10260169689Skan	support for POSIX threads.
10261169689Skan	* config/ia64/hpux.h: Define CPP_SPEC to set appropriate
10262169689Skan	#defines for -pthread.  Add -lpthread to LIB_SPEC when
10263169689Skan	-pthread.  In both cases take -mt as a synonym for -pthread
10264169689Skan	for acc compatibility.
10265169689Skan	Define GTHREAD_USE_WEAK to 0.
10266169689Skan	* config/pa/pa-hpux11.h: Likewise for CPP_SPEC and LIB_SPEC.
10267169689Skan	Remove old logic for DCE threads from LIB_SPEC.
10268169689Skan	* config/pa/pa64-hpux.h: Define GTHREAD_USE_WEAK to 0.
10269169689Skan
10270169689Skan2003-08-25  Roger Sayle  <roger@eyesopen.com>
10271169689Skan
10272169689Skan	* builtins.c (expand_builtin_mathfn):  Rearrange so that we only
10273169689Skan	return 0 for invalid argument types.  Instead drop through to a
10274169689Skan	call of expand_call at the bottom of function.  If op is SQRT,
10275169689Skan	try attaching a SQRT rtx as the REQ_EQUAL note of the libcall.
10276169689Skan
10277169689Skan2003-08-25  Richard Henderson  <rth@redhat.com>
10278169689Skan
10279169689Skan	* config/ia64/ia64.c (ia64_expand_tls_address): Properly truncate
10280169689Skan	result when op0 is SImode.
10281169689Skan
10282169689Skan2003-08-25  Nathanael Nerode  <neroden@twcny.rr.com>
10283169689Skan
10284169689Skan	* fixinc/inclhack.def (svr4_sighandler_type): New fix, ported
10285169689Skan	from fixinc.svr4.
10286169689Skan	* fixinc/fixincl.x: Regenerate.
10287169689Skan	* fixinc/tests/base/sys/signal.h: Regenerate.
10288169689Skan
10289169689Skan2003-08-25  Ulrich Weigand  <uweigand@de.ibm.com>
10290169689Skan
10291169689Skan	* combine.c (simplify_comparison): Re-enable widening of comparisons
10292169689Skan	with non-paradoxical subregs of non-REG expressions.
10293169689Skan
10294169689Skan2003-08-25  Ulrich Weigand  <uweigand@de.ibm.com>
10295169689Skan
10296169689Skan	* combine.c (distribute_notes): Handle REG_ALWAYS_RETURN.
10297169689Skan
10298169689Skan2003-08-25  Ulrich Weigand  <uweigand@de.ibm.com>
10299169689Skan
10300169689Skan	* combine.c (combine_simplify_rtx): Fix RTL sharing bug.
10301169689Skan
10302169689Skan2003-08-25  Gabriel Dos Reis  <gdr@integrable-solutions.net>
10303169689Skan
10304169689Skan	* pretty-print.h (pp_maybe_newline_and_indent): New macro.
10305169689Skan	* c-pretty-print.h (c_pretty_printer): Now typedef to the
10306169689Skan	structure.  Be consistent with pretty-print.h abd cxx-pretty-print.h
10307169689Skan	(struct c_pretty_print_info): Document.  Add new fields.
10308169689Skan	(pp_type_specifier_seq): Rename from pp_c_type_specifier.
10309169689Skan	(pp_direct_abstract_declarator): New macro.
10310169689Skan	(pp_ptr_operator): Likewise.
10311169689Skan	(pp_simple_type_specifier): Likewise.
10312169689Skan	(pp_expression): Likewise.
10313169689Skan	(pp_parameter_list): Rename from pp_parameter_declaration.
10314169689Skan	* c-pretty-print.c (pp_c_whitespace): Now a function.
10315169689Skan	(pp_c_left_paren): Likewise.
10316169689Skan	(pp_c_right_paren): Likewise.
10317169689Skan	(pp_c_dot): Likewise.
10318169689Skan	(pp_c_ampersand): Likewise.
10319169689Skan	(pp_c_arrow): Likewise.
10320169689Skan	(pp_c_semicolon): Likewise.
10321169689Skan	(pp_c_type_cast): New function.
10322169689Skan	(pp_c_space_for_pointer_operator): Likewise.
10323169689Skan	(pp_c_call_argument_list): Likewise.
10324169689Skan	(pp_c_cv_qualifier): Adjust prototype.
10325169689Skan	(pp_c_type_qualifier_list): Likewise.
10326169689Skan	(pp_c_pointer): Likewise.  Handle REFERENCE_TYPE here.
10327169689Skan	(pp_c_type_specifier): Rename from pp_c_simple_type_specifier.
10328169689Skan	Adjust to follow standard grammar.
10329169689Skan	(pp_c_specifier_qualifier_list): Adjusr prototype.  Handle
10330169689Skan	REFERENCE_TYPE.  Tidy.
10331169689Skan	(pp_c_parameter_type_list): Adjust prototype.  Tidy.
10332169689Skan	(pp_c_parameter_declaration): Remove.
10333169689Skan	(pp_c_abstract_declarator): Adjust prototype.
10334169689Skan	(pp_c_direct_abstract_declarator): Likewise.
10335169689Skan	(pp_c_type_id): Likewise.
10336169689Skan	(pp_c_storage_class_specifier): Likewise.
10337169689Skan	(pp_c_function_specifier): Likewise.
10338169689Skan	(pp_c_declaration_specifiers): Likewise.
10339169689Skan	(pp_c_direct_declarator): Likewise.
10340169689Skan	(pp_c_declarator): Likewise.
10341169689Skan	(pp_c_declarator): Likewise.
10342169689Skan	(pp_c_declaration): Likewise.
10343169689Skan	(pp_c_attributes): Likewise.  Tidy.
10344169689Skan	(pp_c_function_definition): Adjust prototype.
10345169689Skan	(pp_c_char): Likewise.
10346169689Skan	(pp_c_string_literal): Likewise.
10347169689Skan	(pp_c_integer_constant): Likewise.
10348169689Skan	(pp_c_character_constant): Likewise.
10349169689Skan	(pp_c_bool_constant): Likewise.
10350169689Skan	(pp_c_enumeration_constant): Likewise.
10351169689Skan	(pp_c_floating_constant): Likewise.
10352169689Skan	(pp_c_constant): Likewise.
10353169689Skan	(pp_c_identifier): Likewise.
10354169689Skan	(pp_c_primary_expression): Likewise.  Remove TARGET_EXPR case.  Tidy.
10355169689Skan	(pp_c_initializer): Adjust prototype.
10356169689Skan	(pp_c_init_declarator): Likewise.
10357169689Skan	(pp_c_initializer_list): Likewise.
10358169689Skan	(pp_c_id_expression): Likewise.
10359169689Skan	(pp_c_postfix_expression): Likewise.
10360169689Skan	(pp_c_expression_list): Likewise.
10361169689Skan	(pp_c_unary_expression): Likewise.
10362169689Skan	(pp_c_cast_expression): Likewise.
10363169689Skan	(pp_c_multiplicative_expression): Likewise.
10364169689Skan	(pp_c_additive_expression): Likewise.
10365169689Skan	(pp_c_shift_expression): Likewise.
10366169689Skan	(pp_c_relational_expression): Likewise.
10367169689Skan	(pp_c_equality_expression): Likewise.
10368169689Skan	(pp_c_and_expression): Likewise.
10369169689Skan	(pp_c_exclusive_or_expression): Likewise.
10370169689Skan	(pp_c_inclusive_or_expression): Likewise.
10371169689Skan	(pp_c_logical_and_expression): Likewise.
10372169689Skan	(pp_c_logical_or_expression): Likewise.
10373169689Skan	(pp_c_conditional_expression): Likewise.
10374169689Skan	(pp_c_assignment_expression): Likewise.
10375169689Skan	(pp_c_expression): Likewise.  Tidy.
10376169689Skan	(pp_c_statement): Likewise.  Document.
10377169689Skan	(pp_c_pretty_printer_init): Adjust prototype. Tidy.
10378169689Skan
10379169689Skan	* c-lang.c (c_initialize_diagnostics): Update.
10380169689Skan	* c-common.h (strip_pointer_operator): Declare.
10381169689Skan	* c-common.c (strip_pointer_operator): Define.
10382169689Skan
10383169689Skan2003-08-25  Mark Mitchell  <mark@codesourcery.com>
10384169689Skan
10385169689Skan	PR c++/8795
10386169689Skan	* tree.h (build_method_type_directly): Declare.
10387169689Skan	* c-common.c (handle_vector_size_attributes): Handle METHOD_TYPEs.
10388169689Skan	(vector_size_helper): Likewise.
10389169689Skan	* tree.c (build_method_type_directly): New function.
10390169689Skan	(build_method_type): Use it.
10391169689Skan
10392169689Skan2003-08-24  Richard Henderson  <rth@redhat.com>
10393169689Skan
10394169689Skan	* config/i386.i386.c (ix86_return_in_memory): Reformat.  Return true
10395169689Skan	for 16-byte vector modes if sse not enabled; warn for abi change.
10396169689Skan	(ix86_value_regno): Only return xmm0 for 16-byte vector types.
10397169689Skan
10398169689Skan2003-08-24  Kazu Hirata  <kazu@cs.umass.edu>
10399169689Skan
10400169689Skan	* rtlanal.c (may_trap_p): Simplify an integer comparison.
10401169689Skan
10402169689Skan2003-08-24  Nathanael Nerode  <neroden@gcc.gnu.org>
10403169689Skan
10404169689Skan	* fixinc/inclhack.def (AAB_svr4_replace_byteorder):  Enhance
10405169689Skan	comment.  Enable for DYNIX/ptx systems (when they switch to
10406169689Skan	regular fixincludes).
10407169689Skan	* fixinc/fixincl.x: Regenerate.
10408169689Skan
10409169689Skan2003-08-23  Jason Eckhardt  <jle@rice.edu>
10410169689Skan
10411169689Skan	* config/i860/t-i860: New.
10412169689Skan	* config.gcc (i860-*-sysv4*): Add t-i860 to tmake_file.
10413169689Skan
10414169689Skan2003-08-23  Jakub Jelinek  <jakub@redhat.com>
10415169689Skan
10416169689Skan	* c-decl.c (pushdecl): Only put decls which finish_struct will do
10417169689Skan	something about onto incomplete chain.
10418169689Skan	(finish_struct): If not removing type from incomplete
10419169689Skan	list, update prev.
10420169689Skan
10421169689Skan2003-08-20  Jan Hubicka  <jh@suse.cz>
10422169689Skan
10423169689Skan	PR target/11369
10424169689Skan	* i386.c (ix86_expand_carry_flag_compare): Validate operand.
10425169689Skan
10426169689Skan	PR target/11031
10427169689Skan	* i386.c (const_0_to_3_operand, const_0_to_7_operand,
10428169689Skan	const_0_to_15_operand, const_0_to_255_operand): New predicates.
10429169689Skan	* i386.h (PREDICATE_CODES): Add these.
10430169689Skan	* i386.c (pinsrw and pextrw patterns): Use them.
10431169689Skan
10432169689Skan	PR target/10984
10433169689Skan	* i386.c (ix86_expand_binop_builtin): Behave sanely for VOIDmodes.
10434169689Skan
10435169689Skan	PR target/8869
10436169689Skan	* expr.c (convert_modes): Deal properly with integer to vector
10437169689Skan	constant conversion.
10438169689Skan
10439169689Skan	PR target/8871
10440169689Skan	* i386.md (zero_extendsidi2*): Add MMX and SSE alternatives.
10441169689Skan
10442169689Skan2003-08-23  Ulrich Weigand  <uweigand@de.ibm.com>
10443169689Skan
10444169689Skan	* config/s390/s390.h (LOAD_EXTEND_OP): Remove.
10445169689Skan	* config/s390/s390.md ("movhi"): New expander; old insn renamed to ...
10446169689Skan	("*movhi"): ... this.
10447169689Skan	("movqi", "*movqi"): Likewise.
10448169689Skan	("movqi_64"): Remove.
10449169689Skan	("*zero_extendhisi2_31"): Change predicate to s_operand.
10450169689Skan
10451169689Skan2003-08-23  Dale Johannesen  <dalej@apple.com>
10452169689Skan	* calls.c (emit_library_call_value_1): Fix obvious errors in
10453169689Skan	arguments to emit_group_store.
10454169689Skan
10455169689Skan2003-08-23  Jason Eckhardt  <jle@rice.edu>
10456169689Skan
10457169689Skan	* calls.c (emit_library_call_value_1): Remove code related
10458169689Skan	to LIBGCC_NEEDS_DOUBLE.
10459169689Skan	* config/stormy16/stormy16.h: Remove mention of LIBGCC_NEEDS_DOUBLE.
10460169689Skan	* doc/tm.texi: Likewise.
10461169689Skan	* system.h: Poison the LIBGCC_NEEDS_DOUBLE macro.
10462169689Skan
10463169689Skan2003-08-23  Richard Sandiford  <rsandifo@redhat.com>
10464169689Skan
10465169689Skan	* config/mips/linux64.h (STARTFILE_PREFIX_SPEC): Remove.
10466169689Skan
10467169689Skan2003-08-23  Richard Sandiford  <rsandifo@redhat.com>
10468169689Skan
10469169689Skan	* config/mips/mips.c (mips_setup_incoming_varargs): Handle o32 and o64
10470169689Skan	as well.  Put memory references in the varargs alias set.
10471169689Skan	(mips_expand_prologue): Remove varargs handling from here.
10472169689Skan
10473169689Skan2003-08-23  Ulrich Weigand  <uweigand@de.ibm.com>
10474169689Skan
10475169689Skan	* config/s390/s390.c (s390_expand_movstr, s390_expand_clrstr,
10476169689Skan	s390_expand_cmpmem, s390_output_constant_pool, s390_build_va_list,
10477169689Skan	s390_function_profiler, s390_output_mi_thunk): Use ISO C syntax
10478169689Skan	for function pointer calls.
10479169689Skan	* config/s390/s390.md ("*negdi2_31"): Likewise.
10480169689Skan
10481169689Skan2003-08-23  Roger Sayle  <roger@eyesopen.com>
10482169689Skan
10483169689Skan	* combine.c (apply_distributive_law): Correct comment.
10484169689Skan
10485169689Skan2003-08-23  Jason Eckhardt  <jle@rice.edu>
10486169689Skan
10487169689Skan	* config/i860/i860.h: Remove comment mentioning LIBGCC_NEEDS_DOUBLE.
10488169689Skan
10489169689Skan2003-08-22  Jason Eckhardt  <jle@rice.edu>
10490169689Skan
10491169689Skan	* config/i860/i860.c (i860_build_va_list): Create the va_decl
10492169689Skan	declaration.  Document the va_list structure.
10493169689Skan	(i860_va_start): Initialize the va_list structure.
10494169689Skan	(i860_va_arg): Rewrite completely.
10495169689Skan	* config/i860/i860.h (LIBGCC_NEEDS_DOUBLE): Don't define.
10496169689Skan	* config/i860/varargs.asm: Do not allocate or initialize
10497169689Skan	a va_list.  Return the address of the register save area.
10498169689Skan
10499169689Skan2003-08-22  Kazu Hirata  <kazu@cs.umass.edu>
10500169689Skan
10501169689Skan	* config/iq2000/iq2000.c: Fix comment typos.
10502169689Skan	* config/iq2000/iq2000.md: Likewise.
10503169689Skan
10504169689Skan2003-08-22  Kazu Hirata  <kazu@cs.umass.edu>
10505169689Skan
10506169689Skan	* config/iq2000/iq2000.c: Follow spelling conventions.
10507169689Skan	* config/iq2000/iq2000.h: Likewise.
10508169689Skan	* config/mn10300/mn10300.c: Likewise.
10509169689Skan
10510169689Skan2003-08-22  Jason Eckhardt  <jle@rice.edu>
10511169689Skan
10512169689Skan	* config/i860/i860.c (output_move_double): Don't set latehalf
10513169689Skan	to zero for CONST_INT (since it could be, e.g., -1).
10514169689Skan
10515169689Skan	* config/i860/i860.h (REMSI3_LIBCALL): Replace this macro...
10516169689Skan	(MODSI3_LIBCALL): ...with this one.
10517169689Skan	(UREMSI3_LIBCALL): Replace this macro...
10518169689Skan	(UMODSI3_LIBCALL): ...with this one.
10519169689Skan
10520169689Skan2003-08-22  Jason Eckhardt  <jle@rice.edu>
10521169689Skan
10522169689Skan	* config/i860/i860-protos.h (output_delay_insn): Remove prototype.
10523169689Skan	(output_delayed_branch): Remove prototype.
10524169689Skan	(single_insn_src_p): Remove prototype.
10525169689Skan	* config/i860/i860.c (single_insn_src_p): Remove function.
10526169689Skan	(output_delayed_branch): Remove function.
10527169689Skan	(output_delay_insn): Remove function.
10528169689Skan	(va_start): Remove unconditional test and dead code, re-format.
10529169689Skan	Fix coding style and spelling problems in various comments.
10530169689Skan	* config/i860/i860.md (UNSPECV_BLOCKAGE): Define constant...
10531169689Skan	(blockage pattern): ...and use it here.
10532169689Skan	(all define_peephole patterns related to delayed branches): Remove.
10533169689Skan	Fix coding style and spelling problems in various comments.
10534169689Skan
10535169689Skan2003-08-22  Jason Eckhardt  <jle@rice.edu>
10536169689Skan
10537169689Skan	* config/i860/i860.c: Replace all occurrences of 'GNU CC' with 'GCC'.
10538169689Skan	Remove all uses of the PARAMS macro.  Remove superflous prototypes.
10539169689Skan	Convert all function definitions from traditional to ISO C90 syntax.
10540169689Skan	* config/i860/i860-protos.h: Replace all occurrences of 'GNU CC'
10541169689Skan	with 'GCC'.  Remove all uses of the PARAMS macro.
10542169689Skan	* config/i860/i860.h: Replace all occurrences of 'GNU CC' with 'GCC'.
10543169689Skan	* config/i860/i860.md: Likewise.
10544169689Skan	* config/i860/sysv4.h: Likewise.
10545169689Skan	* config/i860/varargs.asm: Likewise.
10546169689Skan
10547169689Skan2003-08-22  Jason Eckhardt  <jle@rice.edu>
10548169689Skan
10549169689Skan	* config/i860/i860-protos.h (i860_va_start): Remove 'stdarg_p'
10550169689Skan	argument.
10551169689Skan	(tdesc_section): Add prototype.
10552169689Skan	Update copyright dates.
10553169689Skan	* config/i860/i860.c: Include coretypes.h, tm.h, and toplev.h.
10554169689Skan	(TARGET_ASM_FUNCTION_PROLOGUE): Move definition to end of file.
10555169689Skan	(TARGET_ASM_FUNCTION_EPILOGUE): Likewise.
10556169689Skan	(targetm): Likewise.
10557169689Skan	(i860_output_function_prologue): Substitute HOST_WIDE_INT_PRINT_DEC
10558169689Skan	for '%d' where necessary.
10559169689Skan	(i860_va_start): Remove 'stdarg_p' argument.  Make conditional checks
10560169689Skan	on 'stdarg_p' unconditional.  Divide current_function_args_info.ints
10561169689Skan	by UNITS_PER_WORD when referencing (likewise for .floats).
10562169689Skan	(I860_SVR4_VARARGS): Rename...
10563169689Skan	(I860_SVR4_VA_LIST): ...to this.
10564169689Skan	Call build() with 't' rather than 'field'.
10565169689Skan	(i860_rtx_costs): New function.
10566169689Skan	(TARGET_RTX_COSTS): Define.
10567169689Skan	(i860_internal_label): New function.
10568169689Skan	(TARGET_ASM_INTERNAL_LABEL): Define.
10569169689Skan	(i860_file_start): New function.
10570169689Skan	Update copyright dates.
10571169689Skan	* config/i860/i860.h (CPP_PREDEFINES): Remove.
10572169689Skan	(TARGET_CPU_CPP_BUILTINS): Define.
10573169689Skan	(EXPAND_BUILTIN_VA_START): Remove 'stdarg' argument.
10574169689Skan	(CONST_COSTS): Remove (and move code to i860_rtx_costs).
10575169689Skan	(ASM_FILE_START): Remove.
10576169689Skan	(ASM_FILE_START_1): Remove.
10577169689Skan	(ASM_GLOBALIZE_LABEL): Remove.
10578169689Skan	(ASM_OUTPUT_INTERNAL_LABEL): Remove.
10579169689Skan	(ASM_OUTPUT_CASE_LABEL): Replace call of ASM_OUTPUT_INTERNAL_LABEL
10580169689Skan	with targetm.asm_out.internal_label.
10581169689Skan	Update copyright dates.
10582169689Skan	* config/i860/sysv4.h (USER_LABEL_PREFIX): Define.
10583169689Skan	(CPP_PREDEFINES): Remove.
10584169689Skan	(TARGET_OS_CPP_BUILTINS): Define.
10585169689Skan	(GLOBAL_ASM_OP): Define.
10586169689Skan	(ASM_FILE_START): Remove.
10587169689Skan	(TARGET_ASM_FILE_START_FILE_DIRECTIVE): Define.
10588169689Skan	(TARGET_ASM_FILE_START): Define.
10589169689Skan	Update copyright dates.
10590169689Skan
10591169689Skan2003-08-22  Jason Eckhardt  <jle@rice.edu>
10592169689Skan
10593169689Skan	* gcc/config.gcc (i860-*-sysv4*): Add target.
10594169689Skan	* config/i860/i860-protos.h: New.
10595169689Skan	* config/i860/i860.c: New.
10596169689Skan	* config/i860/i860.h: New.
10597169689Skan	* config/i860/i860.md: New.
10598169689Skan	* config/i860/sysv4.h: New.
10599169689Skan	* config/i860/varargs.asm: New.
10600169689Skan	* config/i860/x-sysv4: New.
10601169689Skan
10602169689Skan2003-08-22  Jason Eckhardt  <jle@rice.edu>
10603169689Skan
10604169689Skan	* config/pa/pa.c: Replace 'GNU CC' with 'GCC'.
10605169689Skan	Remove all uses of PARAMS macro.
10606169689Skan	Convert all function definitions to ISO C90 syntax.
10607169689Skan	* config/pa/elf.h: Replace 'GNU CC' with 'GCC'.
10608169689Skan	* config/pa/fptr.c: Likewise.
10609169689Skan	* config/pa/lib2funcs.asm: Likewise.
10610169689Skan	* config/pa/long_double.h: Likewise.
10611169689Skan	* config/pa/milli64.S: Likewise.
10612169689Skan	* config/pa/pa-64.h: Likewise.
10613169689Skan	* config/pa/pa-hpux.h: Likewise.
10614169689Skan	* config/pa/pa-hpux10.h: Likewise.
10615169689Skan	* config/pa/pa-hpux11.h: Likewise.
10616169689Skan	* config/pa/pa-linux.h: Likewise.
10617169689Skan	* config/pa/pa-modes.def: Likewise.
10618169689Skan	* config/pa/pa-osf.h: Likewise.
10619169689Skan	* config/pa/pa-pro-end.h: Likewise.
10620169689Skan	* config/pa/pa.md: Likewise.
10621169689Skan	* config/pa/pa32-linux.h: Likewise.
10622169689Skan	* config/pa/pa64-linux.h: Likewise.
10623169689Skan	* config/pa/pa64-hpux.h: Likewise.
10624169689Skan	* config/pa/pa64-regs.h: Likewise.
10625169689Skan	* config/pa/quadlib.c: Likewise.
10626169689Skan	* config/pa/rtems.h: Likewise.
10627169689Skan	* config/pa/pa-protos.h: Replace 'GNU CC' with 'GCC' and remove
10628169689Skan	all uses of the PARAMS macro.
10629169689Skan	* config/pa/pa.h: Likewise.
10630169689Skan	* config/pa/som.h: Likewise.
10631169689Skan
10632169689Skan	* config/iq2000/iq2000.c: Replace 'GNU CC' with 'GCC'.
10633169689Skan	Remove all uses of PARAMS macro.
10634169689Skan	Convert all function definitions to ISO C90 syntax.
10635169689Skan	* config/iq2000-protos.h: Replace 'GNU CC' with 'GCC'.
10636169689Skan	Remove all uses of PARAMS macro.
10637169689Skan	* config/iq2000.h: Remove all uses of PARAMS macro.
10638169689Skan	* config/iq2000/iq2000.md: Replace 'GNU CC' with 'GCC'.
10639169689Skan
10640169689Skan2003-08-23  Ulrich Weigand  <uweigand@de.ibm.com>
10641169689Skan
10642169689Skan	* config/s390/s390-protos.h (s390_output_pool_entry): Declare.
10643169689Skan	* config/s390/s390.c (gen_consttable): Remove.
10644169689Skan	(s390_dump_pool): Use UNSPECV_POOL_ENTRY for pool entry insns.
10645169689Skan	(s390_output_pool_entry): New function.
10646169689Skan	* config/s390/s390.md (UNSPECV_POOL_QI, UNSPECV_POOL_HI,
10647169689Skan	UNSPECV_POOL_SI, UNSPECV_POOL_DI, UNSPECV_POOL_TI,
10648169689Skan	UNSPECV_POOL_SF, UNSPECV_POOL_DF): Remove, replace by ...
10649169689Skan	(UNSPECV_POOL_ENTRY): ... this new constant.
10650169689Skan	("consttable_qi", "consttable_hi", "consttable_si", "consttable_di",
10651169689Skan	"consttable_ti", "consttable_sf", "consttable_df"): Remove ...
10652169689Skan	("*pool_entry"): ... and replace by this new insn.
10653169689Skan	("literal_pool_31"): Do not emit anchor label if pool empty.
10654169689Skan
10655169689Skan	* config/s390/s390.c (struct machine_function): Add save_return_addr_p.
10656169689Skan	(s390_optimize_prolog): Save RETURN_REGNUM if save_return_addr_p.
10657169689Skan	(s390_fixup_clobbered_return_reg): Remove.
10658169689Skan	(s390_reorg): Don't call s390_fixup_clobbered_return_reg.
10659169689Skan	(s390_return_addr_rtx): Always retrieve return address from save area
10660169689Skan	slot.  Use save_return_addr_p to force slot to be filled.
10661169689Skan	(s390_emit_prologue): Remove has_hard_reg_initial_val test.
10662169689Skan
10663169689Skan2003-08-22  Chris Demetriou  <cgd@broadcom.com>
10664169689Skan
10665169689Skan	* config/mips/mips.h (MASK_FIX_SB1, TARGET_FIX_SB1): New defines.
10666169689Skan	(TARGET_SWITCHES): Add -mfix-sb1 and -mno-fix-sb1.
10667169689Skan	* config/mips/mips.md (divdf3, divsf3, sqrtdf2, sqrtsf2): Work
10668169689Skan	around SB-1 errata if TARGET_FIX_SB1 is set.
10669169689Skan	(recip.d insn, recip.s insn, rsqrt.d insn, rsqrt.s insn): Likewise.
10670169689Skan	* doc/invoke.texi: Document MIPS -mfix-sb1 and -mno-fix-sb1.
10671169689Skan
10672169689Skan2003-08-22  Roger Sayle  <roger@eyesopen.com>
10673169689Skan
10674169689Skan	* hashtable.c (ht_expand): Avoid calculating rehash for the common
10675169689Skan	case that the first probe hits an empty hash table slot.
10676169689Skan
10677169689Skan2003-08-22  Mark Mitchell  <mark@codesourcery.com>
10678169689Skan
10679169689Skan	* config/ia64/hpux.h (SUPPORTS_INIT_PRIORITY): Define to 0.
10680169689Skan
10681169689Skan2003-08-22  Mark Mitchell  <mark@codesourcery.com>
10682169689Skan
10683169689Skan	* config/ia64/ia64.md (*ptr_extend_plus_1): Rename to ...
10684169689Skan	(ptr_extend_plus_imm): ... this.
10685169689Skan	* config/ia64/ia64.c (addp4_optimize_ok): Do not disable addp4
10686169689Skan	optimization in C++.
10687169689Skan	(ia64_output_mi_thunk): Support ILP32 mode.
10688169689Skan
10689169689Skan2003-08-22  Bernardo Innocenti  <bernie@develer.com>
10690169689Skan
10691169689Skan	* gcc/config/m68k/m68k.c (m68k_coff_asm_named_section): remove unused
10692169689Skan	function.
10693169689Skan	* gcc/config/m68k/m68k.c (-m68k_svr3_asm_out_constructor): likewise.
10694169689Skan
10695169689Skan2003-08-22  Kazu Hirata  <kazu@cs.umass.edu>
10696169689Skan
10697169689Skan	* config/i386/i386.c (const_int_1_operand): Simplify an
10698169689Skan	integer comparison.
10699169689Skan
10700169689Skan2003-08-22  Alan Modra  <amodra@bigpond.net.au>
10701169689Skan
10702169689Skan	* config/fp-bit.c: Specify config/ dir for include of fp-bit.h.
10703169689Skan	* config/rs6000/ppc64-fp.c: Likewise.
10704169689Skan
10705169689Skan2003-08-22  Kazu Hirata  <kazu@cs.umass.edu>
10706169689Skan
10707169689Skan	* cfgcleanup.c: Fix comment typos.
10708169689Skan	* emit-rtl.c: Likewise.
10709169689Skan	* optabs.c: Likewise.
10710169689Skan	* ra-build.c: Likewise.
10711169689Skan	* rtlanal.c: Likewise.
10712169689Skan	* tree.h: Likewise.
10713169689Skan
10714169689Skan2003-08-22  Kazu Hirata  <kazu@cs.umass.edu>
10715169689Skan
10716169689Skan	* c-decl.c: Fix comment formatting.
10717169689Skan	* cfgrtl.c: Likewise.
10718169689Skan	* combine.c: Likewise.
10719169689Skan	* convert.c: Likewise.
10720169689Skan	* dominance.c: Likewise.
10721169689Skan	* dwarf2out.c: Likewise.
10722169689Skan	* dwarfout.c: Likewise.
10723169689Skan	* expmed.c: Likewise.
10724169689Skan	* fold-const.c: Likewise.
10725169689Skan	* gcov.c: Likewise.
10726169689Skan	* genattrtab.c: Likewise.
10727169689Skan	* ggc-common.c: Likewise.
10728169689Skan	* mips-tfile.c: Likewise.
10729169689Skan	* regmove.c: Likewise.
10730169689Skan
10731169689Skan2003-08-22  Kazu Hirata  <kazu@cs.umass.edu>
10732169689Skan
10733169689Skan	* builtin-attrs.def: Fix comment formatting.
10734169689Skan	* c-pretty-print.c: Likewise.
10735169689Skan	* diagnostic.h: Likewise.
10736169689Skan	* langhooks.h: Likewise.
10737169689Skan	* recog.c: Likewise.
10738169689Skan	* simplify-rtx.c: Likewise.
10739169689Skan	* tree.def: Likewise.
10740169689Skan
10741169689Skan2003-08-22  Bernardo Innocenti  <bernie@develer.com>
10742169689Skan
10743169689Skan	* config/m68k/m68k-protos.h: Convert to ISO C90.
10744169689Skan	* config/m68k/m68k.c: Likewise.
10745169689Skan
10746169689Skan2003-08-21  Bernardo Innocenti  <bernie@develer.com>
10747169689Skan	    Paul Dale  <pauli@snapgear.com>
10748169689Skan	    Peter Barada <peter@baradas.org>
10749169689Skan
10750169689Skan	* config/m68k/m68k.c (m68k_rtx_costs): Adjust mul/div costs for
10751169689Skan	ColdFire cores.
10752169689Skan
10753169689Skan2003-08-21  Zack Weinberg  <zack@codesourcery.com>
10754169689Skan
10755169689Skan	* Makefile.in (INCLUDES): Remove -I$(srcdir)/config.
10756169689Skan	* config.gcc (*-*-openbsd): Don't set tm_file.
10757169689Skan	(alpha*-*-openbsd, arm*-*-coff*, arm*-wince-pe*,
10758169689Skan	arm-*-pe*, avr-*-*, h8300-*-rtems*, h8300-*-elf*,
10759169689Skan	h8300-*-*, hppa*-*-osf*, hppa*-*-bsd*, hppa*-*-hpux*,
10760169689Skan	i370-*-opened*, i370-*-mvs*, i370-*-linux*, i?86-*-openbsd*,
10761169689Skan	i?86-*-lynxos, i?86-*-nto-qnx*, iq2000*-*-elf*, m68000-hp-hpux*,
10762169689Skan	m68k-hp-hpux*, m68k-*-aout*, m68k-*-coff*, m68020-*-elf*,
10763169689Skan	m68k-*-elf*, m68k*-*-netbsd*, m68k*-*-openbsd*, m68k-*-sysv4*,
10764169689Skan	m68k-*-linux*, m68k-*-rtems*, mcore-*-pe*, mips*-*-netbsd*,
10765169689Skan	mips*-*-openbsd*, rs6000-*-lynxos*, sh*-*-elf*, sh*-*-ka,
10766169689Skan	sh-*-rtemself, sparc-*-openbsd*, strongarm-*-pe, vax-*-openbsd*,
10767169689Skan	xscale-*-coff): Use explicit and complete lists of target headers
10768169689Skan	to include.  Move definitions to tm_defines where appropriate.
10769169689Skan	(hppa*-*-openbsd*, powerpc-*-openbsd*): Comment out stanza for
10770169689Skan	not-yet-contributed configuration.
10771169689Skan
10772169689Skan	* config/lynx.h, config/alpha/openbsd.h, config/arm/coff.h
10773169689Skan	* config/avr/avr.h, config/frv/frv.h, config/h8300/elf.h
10774169689Skan	* config/i370/linux.h, config/i370/mvs.h, config/i370/oe.h
10775169689Skan	* config/i386/nto.h, config/iq2000/iq2000.h,
10776169689Skan	* config/m68k/coff.h, config/m68k/hp310.h, config/m68k/hp320.h
10777169689Skan	* config/m68k/linux.h, config/m68k/m68k-aout.h
10778169689Skan	* config/m68k/m68k-none.h, config/m68k/m68kv4.h
10779169689Skan	* config/m68k/netbsd.h, config/m68k/openbsd.h
10780169689Skan	* config/m68k/sgs.h, config/mcore/mcore-pe.h,
10781169689Skan	* config/mips/netbsd.h, config/mips/openbsd.h, config/pa/pa.h,
10782169689Skan	* config/rs6000/lynx.h, config/sh/embed-elf.h, config/sparc/openbsd.h:
10783169689Skan	Remove includes of other target config headers, and
10784169689Skan	definitions of macros moved to tm_defines lists.  Add #undefs
10785169689Skan	where now necessary to prevent redefinition warnings.
10786169689Skan
10787169689Skan	* config/h8300/coff.h: New file split out of...
10788169689Skan	* config/h8300/elf.h: ...here.
10789169689Skan	* config/m68k/hp320base.h: New file split out of...
10790169689Skan	* config/m68k/hp320.h: ...here.
10791169689Skan	* config/rs6000/lynxbase.h: New file split out of...
10792169689Skan	* config/rs6000/lynx.h: ...here.
10793169689Skan
10794169689Skan	* config/m68k/hp310g.h, config/m68k/hp320g.h, config/m68k/hpux7.h
10795169689Skan	* config/m68k/m68k-coff.h, config/mips/openbsd-be.h: Delete file.
10796169689Skan
10797169689Skan	* config/sol2.h: Remove #if 0-ed #include of sys/mman.h.
10798169689Skan	* config/m68k/m68kelf.h: Remove commented out #include of m68k/sgs.h.
10799169689Skan	* config/mcore/mcore.h: Don't include hwint.h nor machmode.h.
10800169689Skan	Remove unnecessary #ifndef.
10801169689Skan	* config/s390/s390.h: Prefix #include of s390/fixdfdi.h
10802169689Skan	[under IN_LIBGCC2] with config/.
10803169689Skan
10804169689Skan2003-08-21  Per Bothner  <pbothner@apple.com>
10805169689Skan
10806169689Skan	* cppfiles.c (stack_file):  Correctly pass return_at_eof parameter
10807169689Skan	to cpp_push_buffer.
10808169689Skan	* cpplex.c (_cpp_get_fresh_line):  Don't buffer->prev - handled
10809169689Skan	by return_at_eof check.  Always call _cpp_pop_buffer at end.
10810169689Skan
10811169689Skan2003-08-21  Kazu Hirata  <kazu@cs.umass.edu>
10812169689Skan
10813169689Skan	PR target/11805
10814169689Skan	* config/h8300/h8300.md (two anonymous patterns): Remove.
10815169689Skan
10816169689Skan2003-08-21  Richard Sandiford  <rsandifo@redhat.com>
10817169689Skan
10818169689Skan	* config/mips/mips.h (MUST_PASS_IN_STACK): Remove BLKmode clause.
10819169689Skan	* config/mips/mips.c (function_arg_pass_by_reference): Never return
10820169689Skan	true for n32 & n64.
10821169689Skan
10822169689Skan2003-08-21  Josef Zlomek  <zlomekj@suse.cz>
10823169689Skan
10824169689Skan	* fold-const.c (fold): Fix bug in (A & C) == D where D & ~C != 0
10825169689Skan	and similarly in (A | C) == D where C & ~D != 0.
10826169689Skan
10827169689Skan2003-08-20  Geoffrey Keating  <geoffk@apple.com>
10828169689Skan
10829169689Skan	PR 8180
10830169689Skan	* configure.in: When testing with_libs and with_headers, treat
10831169689Skan	'no' as unset.  Based on a patch by Dan Kegel <dank@kegel.com>.
10832169689Skan	* configure: Regenerate.
10833169689Skan
10834169689Skan2003-08-20  Peter Barada <peter@baradas.org>
10835169689Skan
10836169689Skan	* longlong.h (umul_ppmm): Add ColdFire support.
10837169689Skan
10838169689Skan2003-08-20  Peter Barada <peter@baradas.org>
10839169689Skan	    Bernardo Innocenti  <bernie@develer.com>
10840169689Skan
10841169689Skan	* config/m68k/m68k-none.h: Introduce new ColdFire archs.
10842169689Skan	* config/m68k/m68k.h: Likewise.
10843169689Skan	* config/m68k/lb1sf68.asm: Rename __mcf5200__ to __mcoldfire__.
10844169689Skan	* config/m68k/coff.h: Rename TARGET_5200 to TARGET_COLDFIRE.
10845169689Skan	* config/m68k/linux.h: Likewise.
10846169689Skan	* config/m68k/m68k.c: Likewise.
10847169689Skan	* config/m68k/m68k.md: Likewise.
10848169689Skan	* config/m68k/m68kelf.h: Likewise.
10849169689Skan	* config/m68k/netbsd-elf.h: Likewise.
10850169689Skan	* config/m68k/t-m68kelf: Add multilib targets for new ColdFire archs.
10851169689Skan
10852169689Skan2003-08-20  Bernardo Innocenti  <bernie@develer.com>
10853169689Skan
10854169689Skan	* config/m68k/m68k.c: Strip away code depending on NO_ADDSUB_Q definition.
10855169689Skan	* config/m68k/m68k.md: Likewise.
10856169689Skan
10857169689Skan2003-08-20  Mark Mitchell  <mark@codesourcery.com>
10858169689Skan
10859169689Skan	PR java/11996
10860169689Skan	Revert this change:
10861169689Skan	2003-08-19  Mark Mitchell  <mark@codesourcery.com>
10862169689Skan	* c-common.c (c_common_signed_or_unsigned_type): Correctly handle
10863169689Skan	types with precisions other than those given by native machine
10864169689Skan	modes.
10865169689Skan
10866169689Skan2003-08-20  Gunther Nikl  <gni@gecko.de>
10867169689Skan
10868169689Skan	* config/m68k/m68k.md (anonymous define_insn): remove obsolete code
10869169689Skan	selected by FSGLMUL_USE_S and FSGLDIV_USE_S
10870169689Skan	* config/m68k/m68k.c (output_move_himode): remove SGS_NO_LI check
10871169689Skan	* config/m68k/m68k.md (anonymous define_insn): Likewise
10872169689Skan	* config/m68k/m68k.md (anonymous define_insn): remove ISI_OV check
10873169689Skan	* config/m68k/m68k.c (standard_68881_constant_p): remove obsolete
10874169689Skan	code selected by NO_ASM_FMOVECR
10875169689Skan
10876169689Skan2003-08-20  Gunther Nikl  <gni@gecko.de>
10877169689Skan
10878169689Skan	* config/m68k/m68k.c (output_move_const_into_data_reg,
10879169689Skan	output_move_himode): unify MOTOROLA/MIT handling of moveq
10880169689Skan	* config/m68k/m68k.md (movsi_const0, anonymous define_insn):
10881169689Skan	Likewise
10882169689Skan
10883169689Skan2003-08-20  Gunther Nikl  <gni@gecko.de>
10884169689Skan
10885169689Skan	* config/m68k/m68k.c (m68k_output_function_prologue): use %U in
10886169689Skan	label name
10887169689Skan	* config/m68k/m68k.c (m68k_output_function_epilogue): replace
10888169689Skan	HOST_WIDE_INT_PRINT_DEC with %wd
10889169689Skan
10890169689Skan2003-08-20  Loren James Rittle  <ljrittle@acm.org>
10891169689Skan
10892169689Skan	* config/i386/freebsd.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Handle
10893169689Skan	redefine warning.
10894169689Skan
10895169689Skan2003-08-20  Roger Sayle  <roger@eyesopen.com>
10896169689Skan
10897169689Skan	PR middle-end/11984
10898169689Skan	* fold-const.c (fold <PLUS_EXPR>): Check for integer constant
10899169689Skan	operands before calling tree_int_cst_lt when performing associative
10900169689Skan	transformations.
10901169689Skan
10902169689Skan2003-08-20  Jason Merrill  <jason@redhat.com>
10903169689Skan
10904169689Skan	* tree.h (IS_EXPR_CODE_CLASS): Also include 'r' and 's'.
10905169689Skan	(EXPR_CHECK): Don't check for 'r' or 's' if we're
10906169689Skan	checking IS_EXPR_CODE_CLASS.
10907169689Skan	* calls.c (calls_function_1): Likewise.
10908169689Skan	* fold-const.c (fold): Likewise.
10909169689Skan	* tree.c (iterative_hash_expr): Likewise.
10910169689Skan	* tree-inline.c (walk_tree, copy_tree_r): Likewise.
10911169689Skan
10912169689Skan2003-08-20  Gunther Nikl  <gni@gecko.de>
10913169689Skan
10914169689Skan	* config/m68k/m68k.c (m68k_output_mi_thunk): delete obsolete code
10915169689Skan	depending on MOTOROLA_BSR
10916169689Skan	* config/m68k/m68k.md (anonymous define_insn): Likewise
10917169689Skan
10918169689Skan2003-08-20  Jason Merrill  <jason@redhat.com>
10919169689Skan
10920169689Skan	* builtins.c (expand_builtin_mathfn): Use get_callee_fndecl.
10921169689Skan	(expand_builtin_mathfn2, expand_builtin, builtin_mathfn_code,
10922169689Skan	fold_trunc_transparent_mathfn, fold_builtin): Likewise.
10923169689Skan	* dojump.c (do_jump): Likewise.
10924169689Skan	* fold-const.c (operand_equal_p, fold): Likewise.
10925169689Skan	(tree_expr_nonnegative_p): Likewise.
10926169689Skan
10927169689Skan	* stor-layout.c (do_type_align): Only copy DECL_USER_ALIGN from
10928169689Skan	TYPE_USER_ALIGN for FIELD_DECLs.
10929169689Skan
10930169689Skan	* attribs.c (decl_attributes): Rebuild the function pointer type after
10931169689Skan	changing the target type.
10932169689Skan	* tree.c (get_qualified_type): Also check that the attributes match.
10933169689Skan
10934169689Skan2003-08-19  Matt Kraai  <kraai@alumni.cmu.edu>
10935169689Skan
10936169689Skan	* Makefile.in (STAGESTUFF): Move cc1obj$(exeext) from here ...
10937169689Skan	* objc/config-lang.in (stagestuff): ... to here.
10938169689Skan
10939169689Skan2003-08-19  Mark Mitchell  <mark@codesourcery.com>
10940169689Skan
10941169689Skan	PR c++/11946
10942169689Skan	* convert.c (convert_to_integer): Use CONVERT_EXPR (instead of
10943169689Skan	NOP_EXPR) when necessary.
10944169689Skan	* c-common.c (c_common_signed_or_unsigned_type): Correctly handle
10945169689Skan	types with precisions other than those given by native machine
10946169689Skan	modes.
10947169689Skan
10948169689Skan2003-08-19  Geoffrey Keating  <geoffk@apple.com>
10949169689Skan
10950169689Skan	* cpppch.c (cpp_valid_state): Re-add warning about PCH not used
10951169689Skan	because some macro is defined.
10952169689Skan
10953169689Skan	* config/darwin.h (LINK_COMMAND_SPEC): Add -arch and -arch_only
10954169689Skan	options.
10955169689Skan	* config/i386/darwin.h (ASM_SPEC): New.
10956169689Skan	(SUBTARGET_EXTRA_SPECS): New.
10957169689Skan	* config/rs6000/darwin.h (ASM_SPEC): New.
10958169689Skan	(SUBTARGET_EXTRA_SPECS): New.
10959169689Skan	* configure.in: Don't set CROSS or SYSTEM_HEADER_DIR when building
10960169689Skan	a cross-compiler between two different processors on Darwin.
10961169689Skan	* configure: Regenerate.
10962169689Skan
10963169689Skan2003-08-19  Kazu Hirata  <kazu@cs.umass.edu>
10964169689Skan
10965169689Skan	* builtins.c: Fix comment typos.
10966169689Skan	* c-common.c: Likewise.
10967169689Skan	* c-decl.c: Likewise.
10968169689Skan	* c-pretty-print.c: Likewise.
10969169689Skan	* cfgbuild.c: Likewise.
10970169689Skan	* cfglayout.c: Likewise.
10971169689Skan	* cfgloopanal.c: Likewise.
10972169689Skan	* cgraphunit.c: Likewise.
10973169689Skan	* cppfiles.c: Likewise.
10974169689Skan	* dwarfout.c: Likewise.
10975169689Skan	* expr.c: Likewise.
10976169689Skan	* fold-const.c: Likewise.
10977169689Skan	* gcse.c: Likewise.
10978169689Skan	* ggc-page.c: Likewise.
10979169689Skan	* haifa-sched.c: Likewise.
10980169689Skan	* pretty-print.c: Likewise.
10981169689Skan	* tree.c: Likewise.
10982169689Skan	* tree.h: Likewise.
10983169689Skan	* value-prof.c: Likewise.
10984169689Skan
10985169689Skan2003-08-19  Kazu Hirata  <kazu@cs.umass.edu>
10986169689Skan
10987169689Skan	* c-decl.c: Follow spelling conventions.
10988169689Skan	* cppfiles.c: Likewise.
10989169689Skan
10990169689Skan2003-08-19  Kazu Hirata  <kazu@cs.umass.edu>
10991169689Skan
10992169689Skan	* c-common.c: Fix comment formatting.
10993169689Skan	* c-common.h: Likewise.
10994169689Skan	* c-decl.c: Likewise.
10995169689Skan	* cppinit.c: Likewise.
10996169689Skan	* cpplib.h: Likewise.
10997169689Skan	* emit-rtl.c: Likewise.
10998169689Skan	* input.h: Likewise.
10999169689Skan	* line-map.h: Likewise.
11000169689Skan	* opts.c: Likewise.
11001169689Skan	* opts.h: Likewise.
11002169689Skan	* simplify-rtx.c: Likewise.
11003169689Skan
11004169689Skan2003-08-19  Daniel Jacobowitz  <drow@mvista.com>
11005169689Skan
11006169689Skan	* unwind-c.c: Add libgcc-style exception.
11007169689Skan	* unwind-dw2.c: Likewise.
11008169689Skan	* unwind-pe.h: Likewise.
11009169689Skan	* unwind-sjlj.c: Likewise.
11010169689Skan	* unwind.inc: Likewise.
11011169689Skan
11012169689Skan2003-08-19  Andrew Pinski  <pinskia@physics.uc.edu>
11013169689Skan
11014169689Skan	PR c/5582 PR c++/10538
11015169689Skan	* langhooks-def.h (lhd_decl_uninit): Declare.
11016169689Skan	(LANG_HOOKS_DECL_UNINIT): New macro.
11017169689Skan	(LANG_HOOKS_INITIALIZER): Adjust.
11018169689Skan	* langhooks.h (struct lang_hooks): Add new field
11019169689Skan	decl_uninit.
11020169689Skan	* langhooks.c (lhd_decl_uninit): Define.
11021169689Skan	* c-common.c (c_decl_uninit_1): New function.
11022169689Skan	(c_decl_uninit): New function.
11023169689Skan	(warn_init_self): Define.
11024169689Skan	* c-common.h (c_decl_uninit): Declare.
11025169689Skan	(warn_init_self): Declare.
11026169689Skan	* c.opt: Introduce -Winit-self.
11027169689Skan	* c-opts.c (c_common_handle_options): Set warn_init_self.
11028169689Skan	* c-lang.c (LANG_HOOKS_DECL_UNINIT): Define.
11029169689Skan	* objc/objc-lang.c  (LANG_HOOKS_DECL_UNINIT): Define.
11030169689Skan	* function.c (uninitialized_vars_warning): Call the language hook.
11031169689Skan	* doc/invoke.texi: Document -Winit-self.
11032169689Skan
11033169689Skan2003-08-19  Chris Demetriou  <cgd@broadcom.com>
11034169689Skan
11035169689Skan	* config/mips/mips.md: Adjust SI-mode "trap_if" instruction
11036169689Skan	to use better predicates and constraints.  Define new
11037169689Skan	instruction to handle "trap_if" with DI-mode arguments.
11038169689Skan	(conditional_trap): FAIL if trap code is not 0.
11039169689Skan
11040169689Skan2003-08-19  Andrew Pinski  <pinskia@physics.uc.edu>
11041169689Skan
11042169689Skan	* config/i386/i386.c (legitimate_pic_address_disp_p): Change the
11043169689Skan	strstr with $pb to a strcompare with "<pic base>"
11044169689Skan	(ix86_output_addr_diff_elt): Output the real pic base.
11045169689Skan
11046169689Skan2003-08-19  Gabriel Dos Reis  <gdr@integrable-solutions.net>
11047169689Skan
11048169689Skan	* langhooks-def.h (LANG_HOOKS_INITIALIZE_DIAGNOSTICS): Fix spelling.
11049169689Skan	(LANG_HOOKS_INITIALIZER): Correct.
11050169689Skan	* c-lang.c: Likewise.
11051169689Skan
11052169689Skan2003-08-19  Jan Hubicka  <jh@suse.cz>
11053169689Skan
11054169689Skan	* cgraph.c (cgraph_mark_needed_node): Call notice_global_symbol.
11055169689Skan	(cgraph_varpool_mark_needed_node): Likewise.
11056169689Skan	* cgraph.h (notice_global_symbol): Declare
11057169689Skan	* varasm.c (notice_global_symbol): Break out from ...
11058169689Skan	(assemble_start_function): ... here; update for variables.
11059169689Skan	(assemble_variable): Use notice_global_symbol.
11060169689Skan
11061169689Skan2003-08-19  Richard Sandiford  <rsandifo@redhat.com>
11062169689Skan
11063169689Skan	* config/mips/mips.c (mips_va_arg): If EABI_FLOAT_VARARGS_P,
11064169689Skan	expect SFmode and DFmode arguments to be passed in FPRs,
11065169689Skan	regardless of the underlying type.
11066169689Skan
11067169689Skan2003-08-19  Richard Sandiford  <rsandifo@redhat.com>
11068169689Skan
11069169689Skan	PR target/11924
11070169689Skan	* config/mips/mips.c (INTERNAL_SYMBOL_P): New macro.
11071169689Skan	(mips_classify_symbol, m16_usym8_4, m16_usym5_4): Use it.
11072169689Skan
11073169689Skan2003-08-18  Matt Kraai  <kraai@alumni.cmu.edu>
11074169689Skan
11075169689Skan	PR c/11207
11076169689Skan	* c-typeck.c (set_init_index): Check for negative index.
11077169689Skan
11078169689Skan2003-08-18  Bob Wilson  <bob.wilson@acm.org>
11079169689Skan
11080169689Skan	* config/xtensa/crti.asm (_init, _fini): Add alternate code for new
11081169689Skan	call0 ABI.
11082169689Skan	* config/xtensa/crtn.asm (_init, _fini): Likewise.
11083169689Skan	* config/xtensa/lib1funcs.asm (__mulsi3, __udivsi3, __divsi3,
11084169689Skan	__umodsi3, __modsi3): Likewise.
11085169689Skan	* config/xtensa/t-xtensa (crti.o, crtn.o): Add $(GCC_CFLAGS) and
11086169689Skan	$(INCLUDES).
11087169689Skan
11088169689Skan2003-08-18  Aldy Hernandez  <aldyh@redhat.com>
11089169689Skan
11090169689Skan	* config/rs6000/spe.md ("*nabssf2_gpr"): New.
11091169689Skan
11092169689Skan2003-08-18  Richard Sandiford  <rsandifo@redhat.com>
11093169689Skan
11094169689Skan	* config/mips/mips.md: Quote C code in braces.  Remove use of
11095169689Skan	fake const0_rtx operands.  Remove double backslashes.  Use \;.
11096169689Skan	Remove workarounds for bogus warnings.
11097169689Skan
11098169689Skan2003-08-18  Richard Sandiford  <rsandifo@redhat.com>
11099169689Skan
11100169689Skan	* config/mips/mips.md (muldf3, mulsf3): Don't call a gen_* function.
11101169689Skan	(muldf3_internal, muldf3_r4300): Select based on TARGET_4300_MUL_FIX
11102169689Skan	rather than TARGET_MIPS4300.
11103169689Skan	(mulsf3_internal, mulsf3_r4300): Likewise.
11104169689Skan
11105169689Skan2003-08-18  Richard Sandiford  <rsandifo@redhat.com>
11106169689Skan
11107169689Skan	* config/mips/mips.md: Renumber unspecs.  Clean up comments.
11108169689Skan
11109169689Skan2003-08-17  Roger Sayle  <roger@eyesopen.com>
11110169689Skan
11111169689Skan	* simplify-rtx.c (associative_constant_p): New function to test
11112169689Skan	whether an RTX expression is an immediate constant.
11113169689Skan	(simplify_associative_operation): New function to perform some
11114169689Skan	reassociation optimizations of associative binary expressions.
11115169689Skan	(simplify_binary_operation): Use simplify_associative_operation
11116169689Skan	to simplify PLUS, MULT, AND, IOR, XOR, SMIN, SMAX, UMIN and UMAX.
11117169689Skan	Floating point expressions are only reassociated when unsafe
11118169689Skan	math optimizations are permitted.
11119169689Skan
11120169689Skan2003-08-17  Andreas Jaeger  <aj@suse.de>
11121169689Skan
11122169689Skan	* config/alpha/alpha.md: Remove usage of PARAMS.
11123169689Skan
11124169689Skan	* config/i386/cygwin.h: Convert K&R prototypes to ISO C90.
11125169689Skan	* config/i386/i386-interix.h: Likewise.
11126169689Skan	* config/i386/winnt.c: Likewise.
11127169689Skan	* config/i386/cygming.h: Likewise.
11128169689Skan	* config/i386/cygwin2.c: Likewise.
11129169689Skan	* config/darwin.c: Likewise.
11130169689Skan	* config/darwin-c.c: Likewise.
11131169689Skan	* config/darwin-protos.h: Likewise.
11132169689Skan	* config/darwin.h: Likewise.
11133169689Skan	* config/s390/s390-protos.h: Likewise.
11134169689Skan	* config/s390/s390.c: Likewise.
11135169689Skan	* config/ia64/ia64.c: Likewse
11136169689Skan	* config/ia64/ia64-protos.h: Likewise.
11137169689Skan	* config/ia64/ia64-c.c: Likewise.
11138169689Skan
11139169689Skan2003-08-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11140169689Skan
11141169689Skan	* config/sparc/sparc.c: Convert to ISO C.
11142169689Skan
11143169689Skan	* config/sparc/sparc-protos.h: Don't use the PARAMS macro.
11144169689Skan	* config/sparc/sparc.c: Likewise.
11145169689Skan
11146169689Skan2003-08-16  Nathan Sidwell  <nathan@codesourcery.com>
11147169689Skan
11148169689Skan	PR c++/11512
11149169689Skan	* stmt.c (expand_expr_stmt_value): Don't warn about any void
11150169689Skan	typed expression.
11151169689Skan
11152169689Skan2003-08-16  Jan Hubicka  <jh@suse.cz>
11153169689Skan
11154169689Skan	* i386.c (ix86_fntype_regparm): Rename from ...
11155169689Skan	(ix86_function_regparm): ... this one; add fastcall and local
11156169689Skan	functions.
11157169689Skan	(ix86_function_ok_for_sibcall): Update.
11158169689Skan	(ix86_return_pops_args): Likewise.
11159169689Skan	(init_cumulative_args): Likewise.
11160169689Skan	(x86_can_output_mi_thunk): Likewise.
11161169689Skan	(function_arg): Fix formating.
11162169689Skan	(x86_this_parameter): Fix fastcall.
11163169689Skan	(x86_output_mi_thunk): Likewise.
11164169689Skan
11165169689Skan	* cgraph.c (cgraph_mark_needed_node): Do not mark functions without
11166169689Skan	body as reachable; mark nested functions as needed too.
11167169689Skan	(dump_cgraph): Do not output global.calls.
11168169689Skan	* cgraph.h (cgraph_global_info): Kill.
11169169689Skan	* cgraphunit.c (cgraph_finalize_function): Enqueue needed functions.
11170169689Skan	(record_call_1): Speedup.
11171169689Skan	(cgraph_analyze_function): Break out from ...; compute inlining
11172169689Skan	parameters.
11173169689Skan	(cgraph_finalize_compilation_unit): ... here.
11174169689Skan	(cgraph_mark_inline): Kill computation of calls.
11175169689Skan	(cgraph_decide_inlining): Do not compute most of initial values.
11176169689Skan
11177169689Skan2003-08-14  Roger Sayle  <roger@eyesopen.com>
11178169689Skan
11179169689Skan	* fold-const.c (negate_expr_p): MULT_EXPRs and RDIV_EXPRs are easy
11180169689Skan	to negate if either operand is easy to negate, if we don't care
11181169689Skan	about sign-dependent rounding.
11182169689Skan	(negate_expr): Make the logic to negate a REAL_CST explicit.
11183169689Skan	Attempt to negate a MULT_EXPR or RDIV_EXPR by negating an operand
11184169689Skan	that's easy to negate, if we don't honor sign-dependent rounding.
11185169689Skan	(fold <MULT_EXPR>): Optimize -A * B as A * -B if B is easy to
11186169689Skan	negate, and the symmetric A * -B as -A * B if A is easy to negate.
11187169689Skan	(fold <RDIV_EXPR>): Likewise, optimize -A/B and C/-D as A/-B and
11188169689Skan	-C/D if B and C are cheap to negate.  Add an explicit rule to
11189169689Skan	optimize X/-1.0 as -X when we don't care about signaling NaNs.
11190169689Skan
11191169689Skan2003-08-14  Zack Weinberg  <zack@codesourcery.com>
11192169689Skan
11193169689Skan	* Makefile.in (tm_file): Rename tm_include_list.
11194169689Skan	(tm_p_file): Rename tm_p_include_list.
11195169689Skan	(build_xm_file): Rename build_xm_include_list.
11196169689Skan	(host_xm_file): Rename host_xm_include_list.
11197169689Skan	(xm_file): Rename xm_include_list.
11198169689Skan	(xm_file_list): Add to be substituted.
11199169689Skan	(cs-config.h, cs-bconfig.h, cs-tconfig.h, cs-tm.h, cs-tm_p.h):
11200169689Skan	Update to match.
11201169689Skan	(bt-load.o): Add missing dependency on $(TM_H).
11202169689Skan	* configure.in: Prefix value of EXTRA_MODES_FILE with config/.
11203169689Skan	For each of tm_file, tm_p_file, xm_file, host_xm_file, and
11204169689Skan	build_xm_file, generate both *_file_list and *_include_list
11205169689Skan	values from it.  (xm_file_list was formerly not being generated.)
11206169689Skan	In *_include_list, prefix the names of all headers found in
11207169689Skan	$(srcdir)/config with config/.  In each loop, consider only
11208169689Skan	the special case files that can actually appear in that list.
11209169689Skan	AC_SUBST all *_file_list and all *_include_list variables; do
11210169689Skan	not AC_SUBST the plain *_file variables.
11211169689Skan	* configure: Regenerate.
11212169689Skan
11213169689Skan2003-08-14  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
11214169689Skan
11215169689Skan	* cfg.c (dump_edge_info): Add name of loop_exit edge flag.
11216169689Skan
11217169689Skan2003-08-14  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
11218169689Skan
11219169689Skan	* pa.c (pa_adjust_insn_length): Delete adjustment for delay slot in
11220169689Skan	direct calls.
11221169689Skan	(attr_length_call): Include it here.  Improve length estimate for
11222169689Skan	local calls.
11223169689Skan	(output_call): Use targetm.binds_local_p.
11224169689Skan
11225169689Skan2003-08-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11226169689Skan
11227169689Skan	* builtins.c (CASE_MATHFN): New helper macro.
11228169689Skan	(mathfn_built_in): Simplify and sort.
11229169689Skan
11230169689Skan	* protoize.c (substr): Delete, callers changed to `strstr'.
11231169689Skan
11232169689Skan2003-08-13  Zack Weinberg  <zack@codesourcery.com>
11233169689Skan
11234169689Skan	* config.gcc (iq2000*-*-elf*): Don't set xm_file.
11235169689Skan	* config/iq2000/xm-iq2000.h: Delete file.
11236169689Skan
11237169689Skan2003-08-13  Geoffrey Keating  <geoffk@apple.com>
11238169689Skan
11239169689Skan	* gengtype.c (walk_type): Process a subobject before processing
11240169689Skan	the pointer that points to the subobject.
11241169689Skan
11242169689Skan2003-08-13  Per Bothner  <pbothner@apple.com>
11243169689Skan
11244169689Skan	* regclass.c (init_reg_modes):  Make non-static.
11245169689Skan	Rename to init_reg_modes_once per new naming convention.
11246169689Skan	(init_regs):  Don't call init_reg_modes here.
11247169689Skan	* emit-rtl.c (init_emit_once):  Call init_reg_modes_once here instead.
11248169689Skan	* rtl.h (init_reg_modes_once):  New declaration.
11249169689Skan	* toplev.c (backend_init):  Call init_regs after init_emit_once.
11250169689Skan
11251169689Skan2003-08-13  Kaz Kojima  <kkojima@gcc.gnu.org>
11252169689Skan
11253169689Skan	* config/sh/linux.h (DBX_REGISTER_NUMBER): Define so to map a
11254169689Skan	special index for MD_FALLBACK_FRAME_STATE_FOR to itself.
11255169689Skan
11256169689Skan2003-08-13  J"orn Rennecke <joern.rennecke@superh.com>
11257169689Skan
11258169689Skan	* sh.c (sh_get_pr_initial_val): Always wrap in unspec for TARGET_SH1.
11259169689Skan	* sh.md (load_ra): Change insn predicate to TARGET_SH1.
11260169689Skan
11261169689Skan2003-08-13  Dale Johannesen  <dalej@apple.com>
11262169689Skan
11263169689Skan	* config/rs6000/rs6000.md (ctrsi, ctrdi):  Reenable
11264169689Skan	handling of decrement-and-branch farther than 32 bits.
11265169689Skan
11266169689Skan2003-08-12  Kelley Cook  <kelleycook@wideopenwest.com>
11267169689Skan
11268169689Skan	* configure.in (make_compare_target): Move test to ...
11269169689Skan	* aclocal.m4 (gcc_AC_PROG_CMP_IGNORE_INITIAL): here.
11270169689Skan	* configure: Regenerate.
11271169689Skan
11272169689Skan2003-08-12  Richard Sandiford  <rsandifo@redhat.com>
11273169689Skan
11274169689Skan	* config/mips/iris6.h: Convert to C90 prototypes.
11275169689Skan	* config/mips/irix6-libc-compat.c: Likewise.
11276169689Skan	* config/mips/mips-protos.h: Likewise.
11277169689Skan	* config/mips/mips.c: Likewise.
11278169689Skan
11279169689Skan2003-08-12  Nathanael Nerode  <neroden@gcc.gnu.org>
11280169689Skan
11281169689Skan	fixinc/inclhack.def (svr4_krnl): Rename from svr4_kernel.  Enable
11282169689Skan	for selected machines.  Comment heavily.
11283169689Skan	fixinc/fixincl.x: Rebuild.
11284169689Skan	fixinc/tests/base/fs/rfs/rf_cache.h: New file.
11285169689Skan
11286169689Skan2003-08-12  Richard Sandiford  <rsandifo@redhat.com>
11287169689Skan
11288169689Skan	* config/mips/mips.h: Tweak various comments.
11289169689Skan	* config/mips/mips.c: Likewise.
11290169689Skan
11291169689Skan2003-08-11  James E Wilson  <wilson@tuliptree.org>
11292169689Skan
11293169689Skan	PR optimization/11319
11294169689Skan	PR target/10021
11295169689Skan	* alias.c (find_base_value, case REG): Return 0 not src if no base
11296169689Skan	found.
11297169689Skan
11298169689Skan2003-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11299169689Skan
11300169689Skan	* gcse.c (gmalloc): Fix last change.
11301169689Skan
11302169689Skan2003-08-11  Roger Sayle  <roger@eyesopen.com>
11303169689Skan
11304169689Skan	* simplify-rtx.c (simplify_binary_operation): Replace calls to
11305169689Skan	gen_rtx_NEG and gen_rtx_NOT with calls to simplify_gen_unary,
11306169689Skan	and calls to gen_rtx_PLUS, gen_rtx_MULT, gen_rtx_LSHIFTRT,
11307169689Skan	gen_rtx_ASHIFT and gen_rtx_AND with calls to simplify_gen_binary.
11308169689Skan
11309169689Skan2003-08-11  Roger Sayle  <roger@eyesopen.com>
11310169689Skan
11311169689Skan	* expr.c (expand_expr): If an ABS_EXPR has a complex type, abort.
11312169689Skan	* c-typeck.c (build_unary_op): COMPLEX_TYPE is not a valid
11313169689Skan	typecode for an ABS_EXPR.
11314169689Skan
11315169689Skan	* doc/c-tree.texi: Document ABS_EXPR.
11316169689Skan
11317169689Skan2003-08-11  Roger Sayle  <roger@eyesopen.com>
11318169689Skan
11319169689Skan	* fold-const.c (fold): Optimize any associative floating point
11320169689Skan	operator with -funsafe-math-optimizations, not just MULT_EXPR.
11321169689Skan
11322169689Skan2003-08-11  Kaz Kojima  <kkojima@gcc.gnu.org>
11323169689Skan
11324169689Skan	* config/sh/lib1funcs.asm (__udivdi3): Add .type and .size
11325169689Skan	information in SHmedia case too.
11326169689Skan	(__divdi3, __umoddi3, __moddi3, __init_trampoline, __ic_invalidate):
11327169689Skan	Likewise.
11328169689Skan	(__set_fpscr): Use an access via GOT for PIC case.
11329169689Skan
11330169689Skan2003-08-11  Kelley Cook  <kelleycook@wideopenwest.com>
11331169689Skan
11332169689Skan	* configure.in (intermodule): Make switch test more portable.
11333169689Skan	* configure: Regenerate.
11334169689Skan
11335169689Skan2003-08-11  Kelley Cook  <kelleycook@wideopenwest.com>
11336169689Skan
11337169689Skan	* Makefile.in (cleanstrap): Pass BOOT_CFLAGS to bootstrap.
11338169689Skan	(restrap): Likewise.
11339169689Skan
11340169689Skan2003-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11341169689Skan
11342169689Skan	* gcse.c (gmalloc): Argument is a size_t.  Add ATTRIBUTE_MALLOC.
11343169689Skan	(grealloc): Size argument is a size_t.
11344169689Skan	(gcalloc): New function.  Use throughout in lieu of
11345169689Skan	gmalloc/memset.
11346169689Skan
11347169689Skan	* config/avr/avr.c (avr_init_once): Use xcalloc in lieu of
11348169689Skan	xmalloc/memset.
11349169689Skan	* config/ia64/ia64.c (ia64_reorg): Likewise.
11350169689Skan	* conflict.c (conflict_graph_new): Likewise.
11351169689Skan	* fixinc/fixincl.c (run_compiles): Likewise.
11352169689Skan	* genattrtab.c (optimize_attrs): Likewise.
11353169689Skan	* genrecog.c (new_decision): Likewise.
11354169689Skan	* haifa-sched.c (schedule_block): Likewise.
11355169689Skan	* hashtable.c (ht_create): Likewise.
11356169689Skan
11357169689Skan2003-08-11  Bob Wilson  <bob.wilson@acm.org>
11358169689Skan
11359169689Skan	* config/xtensa/lib2funcs.S: Fix whitespace.
11360169689Skan	* config/xtensa/xtensa.md (all insns and expanders): Use brace block
11361169689Skan	syntax where appropriate.  Remove unnecessary backslash escapes.
11362169689Skan	Reformat comments and fix some code formatting.
11363169689Skan	(extendqisi2): Rearrange conditional.
11364169689Skan	(*btrue, *bfalse, *ubtrue, *ubfalse, *bittrue, *bitfalse, *masktrue,
11365169689Skan	*maskfalse, movsicc_internal0, movsfcc_internal0): Call abort instead
11366169689Skan	of fatal_insn.
11367169689Skan
11368169689Skan2003-08-11  Richard Sandiford  <rsandifo@redhat.com>
11369169689Skan
11370169689Skan	* config/mips/mips.c: Various formatting fixes.
11371169689Skan	(override_options): Resync -mtune handling with gas.
11372169689Skan	(mips_issue_rate): Rearrange like mips_use_dfa_pipeline_interface.
11373169689Skan	* config/mips/mips.h: More formatting fixes.
11374169689Skan	(mips_abi): Move declaration.
11375169689Skan	* config/mips/mips.md (exception_receiver): Add mode to
11376169689Skan	unspec_volatile.
11377169689Skan
11378169689Skan2003-08-11  Aldy Hernandez  <aldyh@redhat.com>
11379169689Skan
11380169689Skan	* config/rs6000/rs6000.c (spe_init_builtins): Handle evsplati and
11381169689Skan	evsplatfi here.
11382169689Skan	(bdesc_1arg): Remove evsplati and evsplatfi.
11383169689Skan
11384169689Skan2003-08-11  J"orn Rennecke <joern.rennecke@superh.com>
11385169689Skan
11386169689Skan	* dwarf2asm.c (dw2_output_indirect_constant_1): Take user_label_prefix
11387169689Skan	into account.
11388169689Skan
11389169689Skan2003-08-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11390169689Skan
11391169689Skan	* builtins.c (expand_builtin_strcat): Optimize constant strings.
11392169689Skan
11393169689Skan2003-08-10  Gabriel Dos Reis  <gdr@integrable-solutions.net>
11394169689Skan
11395169689Skan	* pretty-print.c (pp_base_indent): Rename from pp_indent.
11396169689Skan	* c-pretty-print.h (pp_c_pretty_print_flag)s: New datatype.
11397169689Skan	(struct c_pretty_print_info): Add more fields.
11398169689Skan	(pp_c_left_paren): Move to c-pretty-print.c.
11399169689Skan	(pp_c_right_paren): Likewise.
11400169689Skan	(pp_c_left_brace): Likewise.
11401169689Skan	(pp_c_right_brace): Likewise.
11402169689Skan	(pp_c_left_bracket): Likewise.
11403169689Skan	(pp_c_right_bracket): Likewise.
11404169689Skan	(pp_c_declarator): Declare.
11405169689Skan	(pp_c_direct_declarator): Likewise.
11406169689Skan	(pp_c_specifier_qualifier_list): Likewise.
11407169689Skan	(pp_c_type_id): Likewise.
11408169689Skan	* c-pretty-print.c (pp_c_cv_qualifier): Change prootype. Rework..
11409169689Skan	(pp_c_type_qualifier_list): New.
11410169689Skan	(pp_c_pointer): Likewise.
11411169689Skan	(pp_c_parameter_type_list): Likewise.
11412169689Skan	(pp_c_function_definition): Likewise.
11413169689Skan	(pp_c_id_expression): Likewise.
11414169689Skan	(pp_c_simple_type_specifier): Tidy.
11415169689Skan	(pp_c_unary_expression): Likewise.
11416169689Skan	(pp_c_expression): Likewise.
11417169689Skan	(pp_c_pretty_printer_init): Likewise.
11418169689Skan	(pp_c_specifier_qualifier_list): Rework..
11419169689Skan	(pp_c_abstract_declarator): Likewise.
11420169689Skan	(pp_c_postfix_expression): Likewise.
11421169689Skan	(pp_c_primary_expression): Likewise.
11422169689Skan	(pp_c_cast_expression): Likewise.
11423169689Skan	(pp_c_direct_abstract_declarator): Likewise.
11424169689Skan	(pp_c_storage_class_specifier): Likewise.
11425169689Skan	(pp_c_function_specifier): Likewise.
11426169689Skan	(pp_c_declaration_specifiers): Likewise.
11427169689Skan	(pp_c_direct_declarator): Likewise.
11428169689Skan	(pp_c_declarator): Likewise.
11429169689Skan	(pp_c_declaration): Likewise.
11430169689Skan	(pp_c_statement): Likewise.
11431169689Skan	(pp_c_integer_constant): Rename from pp_c_integer_literal.
11432169689Skan	(pp_c_character_constant): Rename from pp_c_character_literal.
11433169689Skan	(pp_c_bool_constant): Rename from pp_c_bool_literal.
11434169689Skan	(pp_c_enumeration_constant): Rename from pp_c_enumerator.
11435169689Skan	(pp_c_floating_constant): Rename from pp_c_real_literal.
11436169689Skan	(pp_c_constant): Rename from pp_c_literal.
11437169689Skan	* c-lang.c: Include diagnostic.h and c-pretty-print.h
11438169689Skan	(LANG_HOOKS_INITIALIZE_DIAGNOSTITCS): Define.
11439169689Skan	(c_initialize_diagnostics): New.
11440169689Skan	* Makefile.in (c-lang.o): Update dependency.
11441169689Skan
11442169689Skan2003-08-10  Nathan Sidwell  <nathan@codesourcery.com>
11443169689Skan
11444169689Skan	* c-typeck.c (digest_init): Add conversion for VECTOR_TYPEs.
11445169689Skan
11446169689Skan2003-08-10  Richard Sandiford  <rsandifo@redhat.com>
11447169689Skan
11448169689Skan	* config/mips/mips.c (mips_no_mips16_string): Remove.
11449169689Skan	(override_options): Don't handle -mips16 as part of -mipsN.
11450169689Skan	* config/mips/mips.h (mips_no_mips16_string): Remove declaration.
11451169689Skan	(TARGET_SWITCHES): Add -mips16 and -mno-mips16 entries.
11452169689Skan	(TARGET_OPTIONS): Remove -mno-mips16.
11453169689Skan
11454169689Skan2003-08-10  Richard Sandiford  <rsandifo@redhat.com>
11455169689Skan
11456169689Skan	* config/mips/mips-protos.h (coprocessor_operand): Remove declaration.
11457169689Skan	(coprocessor2_operand): Likewise.
11458169689Skan	* config/mips/mips.c (STAB_CODE_TYPE): Remove.
11459169689Skan	(lookup_name): Remove declaration.
11460169689Skan	(abort_with_insn): Remove.  Replace all uses with fatal_insn.
11461169689Skan	(mips16, mips_abicalls): Remove.
11462169689Skan	(mips_char_to_class): Remove initialiser: all entries are NO_REGS.
11463169689Skan	(arith32_operand, large_int, true_reg_or_0_operand): Remove.
11464169689Skan	(coprocessor_operand, coprocessor2_operand): Remove.
11465169689Skan	(override_options): Don't set mips16 or mips_abicalls.
11466169689Skan	(print_operand): Don't expect SIGN_EXTEND operands.
11467169689Skan	(mips_secondary_reload_class): Likewise.
11468169689Skan	(mips_output_conditional_branch): Remove disabled long-branch code.
11469169689Skan	* config/mips/mips.h (call_used_regs): Remove declaration.
11470169689Skan	(may_call_alloca): Likewise.
11471169689Skan	(mips_cpu_attr, mips_abicalls_type, mips_abicalls_attr): Remove.
11472169689Skan	(mips_abicalls, mips16): Remove declarations.
11473169689Skan	(ASM_FINAL_SPEC, LIB_SPEC): Remove.
11474169689Skan	(CC1_SPEC): Remove outdated comment.
11475169689Skan	(MIPS_VERSION, MACHINE_TYPE): Remove.
11476169689Skan	(TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove.
11477169689Skan	(PC_REGNUM, STACK_POINTER_OFFSET): Remove disabled definitions.
11478169689Skan	(STRUCT_VALUE_RETURN_REGNUM, STACK_DYNAMIC_OFFSET): Likewise.
11479169689Skan	(PUSH_ROUNDING): Likewise.
11480169689Skan	(ASSEMBLER_SCRATCH_REGNUM): Remove.
11481169689Skan	* config/mips/mips.md: Replace mips_cpu_attr with mips_tune
11482169689Skan	and mips16 with TARGET_MIPS16.
11483169689Skan
11484169689Skan2003-08-09  Per Bothner  <pbothner@apple.com>
11485169689Skan
11486169689Skan	* cppinit.c (cpp_read_main_file):  Split out source-independent
11487169689Skan	initialization to separate function ...
11488169689Skan	(cpp_post_options):  New function.
11489169689Skan	* cppfiles.c (cpp_stack_file):  Rename public name to ...
11490169689Skan	(_cpp_stack_file):  New internal function name.
11491169689Skan	* cpplib.h:  Update accordingly.
11492169689Skan	* cppinit.c:  (cpp_create_reader):  Initialize cpp_readers line here.
11493169689Skan	(cpp_read_main_file):  Don't initialize line here.
11494169689Skan	* c-opts.c (c_common_post_options):  Call cpp_post_options.
11495169689Skan	(c_common_parse_file):  Call cpp_read_main_file, not cpp_stack_file.
11496169689Skan	* fix-header.c (read_scan_file):  Call cpp_post_options.
11497169689Skan
11498169689Skan2003-08-09  Per Bothner  <per@bothner.com>
11499169689Skan
11500169689Skan	* c-decl.c (SCOPE_LIST_APPEND):  Remove bogus line continuation.
11501169689Skan
11502169689Skan2003-08-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
11503169689Skan
11504169689Skan	* pa.c (pa_asm_output_mi_thunk): Fix typo.
11505169689Skan
11506169689Skan2003-08-09  Neil Booth  <neil@daikokuya.co.uk>
11507169689Skan
11508169689Skan	PR preprocessor/11839
11509169689Skan	* cppfiles.c (open_file): Handle ENOTDIR.
11510169689Skan
11511169689Skan2003-08-09  Richard Sandiford  <rsandifo@redhat.com>
11512169689Skan
11513169689Skan	PR target/11699
11514169689Skan	* config/mips/mips.c (override_options): Reject -mabi=eabi -mabicalls.
11515169689Skan
11516169689Skan2003-08-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
11517169689Skan
11518169689Skan	* pa.md (extzv, extv, insv): Fix operand limit checks.  Fail if
11519169689Skan	source/destination is not a register operand.
11520169689Skan
11521169689Skan2003-08-08  Richard Henderson  <rth@redhat.com>
11522169689Skan
11523169689Skan	PR target/11535
11524169689Skan	* config/ia64/ia64.c (ia64_initial_elimination_offset): Remove
11525169689Skan	RETURN_ADDRESS_POINTER_REGNUM.
11526169689Skan	(ia64_expand_prologue): Don't frob it.
11527169689Skan	(ia64_output_function_epilogue): Likewise.
11528169689Skan	(ia64_return_addr_rtx): New.
11529169689Skan	(ia64_split_return_addr_rtx): New.
11530169689Skan	* config/ia64/ia64-protos.h: Update.
11531169689Skan	* config/ia64/ia64.h (FIRST_PSEUDO_REGISTER): Decrement.
11532169689Skan	(RETURN_ADDRESS_POINTER_REGNUM): Remove.
11533169689Skan	(GENERAL_REGNO_P): Don't check it.
11534169689Skan	(AR_*_REGNUM): Renumber.
11535169689Skan	(FIXED_REGISTERS): Remove RETURN_ADDRESS_POINTER_REGNUM.
11536169689Skan	(CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS): Likewise.
11537169689Skan	(REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Likewise.
11538169689Skan	(ELIMINABLE_REGS, REGISTER_NAMES): Likewise.
11539169689Skan	(RETURN_ADDR_RTX): Use ia64_return_addr_rtx.
11540169689Skan	* config/ia64/ia64.md (UNSPEC_RET_ADDR): New.
11541169689Skan	(movdi_ret_addr): New.
11542169689Skan
11543169689Skan2003-08-08  Geoffrey Keating  <geoffk@apple.com>
11544169689Skan
11545169689Skan	* config.gcc (powerpc-*-darwin*): Don't build a soft-float multilib.
11546169689Skan
11547169689Skan2003-08-08  Roger Sayle  <roger@eyesopen.com>
11548169689Skan
11549169689Skan	* tree.h (get_identifier) Define a macro form of get_identifier
11550169689Skan	that calls get_identifier_with_length when the string is constant.
11551169689Skan	(get_identifier_with_length): Change type of second argument to
11552169689Skan	size_t in prototype.
11553169689Skan	* stringpool.c (get_identifier): Undefine the macro before giving
11554169689Skan	the function definition.
11555169689Skan	(get_identifier_with_length): Change  type of second argument to
11556169689Skan	size_t in function definition.
11557169689Skan	* hashtable.c (calc_hash): Change type of second argument to size_t.
11558169689Skan	(ht_lookup): Change type of third argument to size_t.  Reorganize
11559169689Skan	to speed-up the cases where the hash table slot is empty, or the
11560169689Skan	first probe matches (i.e. there isn't a collision).
11561169689Skan	* hashtable.h (ht_lookup): Adjust function prototype.
11562169689Skan
11563169689Skan2003-08-08  Bernardo Innocenti  <bernie@develer.com>
11564169689Skan
11565169689Skan	PR target/9697
11566169689Skan	PR target/11777
11567169689Skan	* longlong.h (count_leading_zeros): Exclude on __mcpu32__.
11568169689Skan
11569169689Skan2003-08-08  Neil Booth  <neil@daikokuya.co.uk>
11570169689Skan
11571169689Skan	* common.opt: Add debug switches.
11572169689Skan	* flags.h (use_gnu_debug_info_extensions): Boolify.
11573169689Skan	* opts.c (write_symbols, debug_info_level,
11574169689Skan	use_gnu_debug_info_extensions): Move from toplev.c.
11575169689Skan	(set_debug_level): New.
11576169689Skan	(common_handle_options): Handle debug switches.
11577169689Skan	(print_help): Display target options directly.
11578169689Skan	* toplev.c (debug_hooks): Don't initialize.
11579169689Skan	(write_symbols, debug_info_level,
11580169689Skan	use_gnu_debug_info_extensions): Move to opts.c.
11581169689Skan	(debug_args, display_help, decode_g_option): Remove.
11582169689Skan	(process_options): Set no debug if level zero here,
11583169689Skan	and no-debug-hooks.  Error here if impossible debug format selected.
11584169689Skan	* toplev.h (display_help, decode_g_option): Remove.
11585169689Skan
11586169689Skan2003-08-08  Richard Sandiford  <rsandifo@redhat.com>
11587169689Skan
11588169689Skan	* tree.c (get_file_function_name_long): Fix size of alloca() area.
11589169689Skan
11590169689Skan2003-08-08  Kelley Cook  <kelleycook@wideopenwest.com>
11591169689Skan
11592169689Skan	* configure.in (gcc_cv_prog_cmp_skip): Flipflop make_compare_target
11593169689Skan	and gcc_cv_prog_cmp_skip.
11594169689Skan	* configure: Regenerate.
11595169689Skan
11596169689Skan2003-08-08  Stan Cox  <scox@redhat.com>
11597169689Skan
11598169689Skan	* config/iq2000: New port.
11599169689Skan	* config.gcc (iq2000-*-elf): Added.
11600169689Skan	* doc/install.texi (Specific):  Add iq2000 description.
11601169689Skan
11602169689Skan2003-08-08  Andreas Schwab  <schwab@suse.de>
11603169689Skan
11604169689Skan	* configure.in (gcc_cv_as_ia64_ltoffx_ldxmov_relocs): Fix quoting
11605169689Skan	and insert missing empty argument.
11606169689Skan	* configure: Regenerate.
11607169689Skan
11608169689Skan2003-08-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
11609169689Skan
11610169689Skan	* pa.c (update_total_code_bytes): Use new macro IN_NAMED_SECTION_P.
11611169689Skan	(attr_length_millicode_call): Likewise.
11612169689Skan	(attr_length_call): Likewise.  Revise some maximum insn lengths.
11613169689Skan	(attr_length_indirect_call): Likewise.
11614169689Skan	(output_call): Fix thinko that added extra nop.
11615169689Skan	* pa.h (IN_NAMED_SECTION_P): Define.
11616169689Skan
11617169689Skan	PR c++/11712
11618169689Skan	* pa-hpux.h, pa-hpux10.h, pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define
11619169689Skan	__STDC_EXT__ when using C++ dialect.
11620169689Skan
11621169689Skan2003-08-07  J"orn Rennecke <joern.rennecke@superh.com>
11622169689Skan
11623169689Skan	* sh.c (calc_live_regs): If the return address pointer is live,
11624169689Skan	force pr live.
11625169689Skan	(sh5_schedule_saves): Exclude PR_MEDIA_REG from being a temp register
11626169689Skan	for saves / restores.
11627169689Skan	(sh_expand_epilogue): If sh_media_register_for_return returns a
11628169689Skan	register number, flag the instructions that restores PR_MEDIA_REG
11629169689Skan	as possibly dead.
11630169689Skan	Remove dead update of offset.
11631169689Skan	(sh_get_pr_initial_val): Use UNSPEC_RA if we don't know yet if
11632169689Skan	we can use the result of get_hard_reg_initial_val.
11633169689Skan	* sh.md (UNSPEC_RA): New constant.
11634169689Skan	(movsi_i_lowpart+1): Changed into a define_insn_and_split, named:
11635169689Skan	(load_ra).  Handle UNSPEC_RA.
11636169689Skan	(sibcall_media): Use PR_MEDIA_REG.
11637169689Skan
11638169689Skan	* sh.h (CALL_USED_REGISTERS): Include PR_REG and PR_MEDIA_REG.
11639169689Skan	* sh.c (calc_live_regs): Use sh_pr_n_sets to determine if pr
11640169689Skan	needs saving on SHmedia.
11641169689Skan
11642169689Skan2003-08-07  Ulrich Weigand  <uweigand@de.ibm.com>
11643169689Skan
11644169689Skan	* config/s390/s390.md: Replace all occurrences of \\t with \t.
11645169689Skan
11646169689Skan2003-08-07  Richard Sandiford  <rsandifo@redhat.com>
11647169689Skan
11648169689Skan	* local-alloc.c (combine_regs): Fix comment typo.
11649169689Skan
11650169689Skan2003-08-06  Zack Weinberg  <zack@codesourcery.com>
11651169689Skan
11652169689Skan	* c-decl.c (builtin_decls): Replace with first_builtin_decl
11653169689Skan	and last_builtin_decl.
11654169689Skan	(c_init_decl_processing): Initialize both.
11655169689Skan	(c_reset_state): Iterate from first_builtin_decl to
11656169689Skan	last_builtin_decl inclusive to reintroduce builtins.
11657169689Skan
11658169689Skan2003-08-06  David Mosberger  <davidm@hpl.hp.com>
11659169689Skan
11660169689Skan	* doc/extend.texi (Function Attributes): Document the IA-64 version
11661169689Skan	of the "model" attribute.
11662169689Skan
11663169689Skan	* config/ia64/ia64.h (SYMBOL_FLAG_SMALL_ADDR): New macro.
11664169689Skan	(SYMBOL_REF_SMALL_ADDR_P): Ditto.
11665169689Skan	(PREDICATE_CODES): Mention "small_addr_symbolic_operand".
11666169689Skan
11667169689Skan	* config/ia64/ia64.c (ia64_handle_model_attribute): New function.
11668169689Skan	(ia64_encode_section_info): Likewise.
11669169689Skan	(ia64_attribute_table): Add "model" attribute.
11670169689Skan	(TARGET_ENCODE_SECTION_INFO): Define.
11671169689Skan	(small_addr_symbolic_operand): New function.
11672169689Skan	(got_symbolic_operand): Return 0 for a symbolref to an object
11673169689Skan	in the small address area.
11674169689Skan	(enum ia64_addr_area): New type.
11675169689Skan	(small_ident1): New variable.
11676169689Skan	(small_ident2): Likewise.
11677169689Skan	(init_idents): New function.
11678169689Skan	(ia64_get_addr_area): Likewise.
11679169689Skan	(ia64_encode_addr_area): Likewise.
11680169689Skan	(ia64_encode_section_info): Likewise.
11681169689Skan	(ia64_expand_load_address): For symbolic references to objects in
11682169689Skan	the small-address-area, load the address via gen_rtx_SET() (which,
11683169689Skan	eventually, will expand into "addl").
11684169689Skan
11685169689Skan2003-08-06  Per Bothner  <pbothner@apple.com>
11686169689Skan
11687169689Skan	* line-map.h (fileline):  New typedef.
11688169689Skan	(struct line_map, linemap_add, linemap_lookup):  Use it.
11689169689Skan	* input.h (struct location_s):  Comment notes that long-term we want
11690169689Skan	to replace it by fileline.
11691169689Skan
11692169689Skan2003-08-06  J"orn Rennecke <joern.rennecke@superh.com>
11693169689Skan
11694169689Skan	Fix SHcompact exception handling:
11695169689Skan	* sh.c (sh_get_pr_initial_val): If PR is or miight be clobbered
11696169689Skan	by the prologue, return a MEM with return_address_pointer_rtx
11697169689Skan	as address.
11698169689Skan	* sh.h (HARD_REGNO_MODE_OK): PR is OK for SImode.
11699169689Skan	(RETURN_ADDR_OFFSET): Don't define.
11700169689Skan	(SH_DBX_REGISTER_NUMBER): Use SHmedia numbers for SHmedia
11701169689Skan	registers that are visible in compact mode.  Show that SHmedia
11702169689Skan	registers still exist in compact mode, even if there are not
11703169689Skan	readily accessible.
11704169689Skan	(ASM_PREFERRED_EH_DATA_FORMAT): Supply DW_EH_PE_indirect
11705169689Skan	if GLOBAL.  Use DW_EH_PE_textrel (nominally) for CODE,
11706169689Skan	and DW_EH_PE_pcrel for pic data.
11707169689Skan	(ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): If DW_EH_PE_textrel,
11708169689Skan	set SYMBOL_FLAG_FUNCTION in symbol, and actually use
11709169689Skan	DW_EH_PE_pcrel / DW_EH_PE_absptr encoding.
11710169689Skan	(ALLOCATE_INITIAL_VALUE): Put PR on stack if prologue clobbers it.
11711169689Skan	* sh.md (movsi_media-1): New splitter.
11712169689Skan
11713169689Skan2003-08-06  Graeme Peterson <gp@qnx.com>
11714169689Skan
11715169689Skan	* config/i386/nto.h: New.
11716169689Skan	* config/i386/t-nto: New.
11717169689Skan	* config.gcc (i[34567]86-*-nto-qnx*): New.
11718169689Skan
11719169689Skan2003-08-06  Phil Edwards  <pme@gcc.gnu.org>
11720169689Skan
11721169689Skan	* doc/install.texi (*-*-solaris2*):  Refine configure instructions.
11722169689Skan
11723169689Skan2003-08-06  Alan Modra  <amodra@bigpond.net.au>
11724169689Skan
11725169689Skan	* calls.c (load_register_parameters): Arrange for call_fusage to
11726169689Skan	report the whole register as used when shifting to the msb.
11727169689Skan
11728169689Skan2003-08-05  Roger Sayle  <roger@eyesopen.com>
11729169689Skan
11730169689Skan	* builtins.c (expand_builtin): When not optimizing, call the library
11731169689Skan	function for all builtins that have library functions (except alloca).
11732169689Skan
11733169689Skan2003-08-05  Alexandre Oliva  <aoliva@redhat.com>
11734169689Skan
11735169689Skan	* c.opt: Introduce -fworking-directory.
11736169689Skan	* doc/cpp.texi, doc/invoke.texi, doc/cppopts.texi: Document it.
11737169689Skan	* c-common.h (flag_working_directory): Declare.
11738169689Skan	* c-common.c (flag_working_directory): Define.
11739169689Skan	* c-opts.c (c_common_handle_options): Set it.
11740169689Skan	(sanitize_cpp_opts): Set...
11741169689Skan	* cpplib.h (struct cpp_options): ... working_directory option.
11742169689Skan	(struct cpp_callbacks): Add dir_change.
11743169689Skan	* cppinit.c (read_original_filename): Call...
11744169689Skan	(read_original_directory): New.  Look for # 1 "directory//"
11745169689Skan	and process it.
11746169689Skan	(cpp_read_main_file): Call dir_change callback if working_directory
11747169689Skan	option is set.
11748169689Skan	* gcc.c (cpp_unique_options): Pass -g*.
11749169689Skan	* c-lex.c (cb_dir_change): New.
11750169689Skan	(init_c_lex): Set dir_change callback.
11751169689Skan	* toplev.c (src_pwd): New static variable.
11752169689Skan	(set_src_pwd, get_src_pwd): New functions.
11753169689Skan	* toplev.h (get_src_pwd, set_src_pwd): Declare.
11754169689Skan	* dbxout.c (dbxout_init): Call get_src_pwd() instead of getpwd().
11755169689Skan	* dwarf2out.c (gen_compile_unit_die): Likewise.
11756169689Skan	* dwarfout.c (output_compile_unit_die, dwarfout_init): Likewise.
11757169689Skan
11758169689Skan2003-08-05  Gabriel Dos Reis  <gdr@integrable-solutions.net>
11759169689Skan
11760169689Skan	* pretty-print.h (pp_set_line_maximum_length): Make macro.
11761169689Skan	(pp_set_prefix): Likewise.
11762169689Skan	(pp_destroy_prefix): Likewise.
11763169689Skan	(pp_remaining_character_count_for_line): Likewise.
11764169689Skan	(pp_clear_output_area): Likewise.
11765169689Skan	(pp_formatted_text): Likewise.
11766169689Skan	(pp_last_position_in_text): Likewise.
11767169689Skan	(pp_emit_prefix): Likewise.
11768169689Skan	(pp_append_text): Likewise.
11769169689Skan	(pp_flush): Likewise.
11770169689Skan	(pp_format_text): Likewise.
11771169689Skan	(pp_format_verbatim): Likewise.
11772169689Skan	(pp_tree_identifier): Tidy.
11773169689Skan	* pretty-print.c (pp_base_format_text): Rename from pp_format_text.
11774169689Skan	(pp_base_format_verbatim): Rename from pp_format_verbatim.
11775169689Skan	(pp_base_flush): Rename from pp_flush.
11776169689Skan	(pp_base_set_line_maximum_length): Rename from
11777169689Skan	pp_set_line_maximum_length.
11778169689Skan	(pp_base_clear_output_area): Rename from pp_clear_output_area.
11779169689Skan	(pp_base_set_prefix): Rename from pp_set_prefix.
11780169689Skan	(pp_base_destroy_prefix): Rename from pp_destroy_prefix.
11781169689Skan	(pp_base_emit_prefix): Rename from pp_emit_prefix.
11782169689Skan	(pp_base_append_text): Rename from pp_append_text.
11783169689Skan	(pp_base_formatted_text): Rename from pp_formatted_text.
11784169689Skan	(pp_base_last_position_in_text): Rename from pp_last_position_in_text.
11785169689Skan	(pp_base_remaining_character_count_for_line): Rename from
11786169689Skan	pp_remaining_character_count_for_line.
11787169689Skan	* diagnostic.h (diagnostic_format_decoder): Tidy.
11788169689Skan	(diagnostic_flush_buffer): Likewise.
11789169689Skan	* c-pretty-print.h: (pp_c_string_literal): Declare.
11790169689Skan	(pp_c_real_literal): Likewise.
11791169689Skan	(pp_c_integer_literal): Likewise.
11792169689Skan	* c-pretty-print.c (pp_c_char): Use pp_string in lieu of
11793169689Skan	pp_identifier.
11794169689Skan	(pp_c_character_literal): Tidy.
11795169689Skan	(pp_c_string_literal): Make public.
11796169689Skan	(pp_c_bool_literal): Likewise.
11797169689Skan	(pp_c_integer_literal): Likewise.
11798169689Skan	(pp_c_real_literal): Likewise.
11799169689Skan
11800169689Skan	* Makefile.in (C_PRETTY_PRINT_H): New variable.
11801169689Skan	(c-pretty-print.o): Update dependence.
11802169689Skan
11803169689Skan2003-08-05  Chris Demetriou  <cgd@broadcom.com>
11804169689Skan
11805169689Skan	* config/mips/mips.md (fix_truncdfsi2_macro): Properly restore
11806169689Skan	".set nomacro" state.
11807169689Skan	(fix_truncsfsi2_macro): Likewise.
11808169689Skan
11809169689Skan2003-08-05  Steven Bosscher  <steven@gcc.gnu.org>
11810169689Skan
11811169689Skan	* tree.h (DID_INLINE_FUNC): Remove macro.
11812169689Skan	(DECL_DECLARED_INLINE_P): Move from c-tree.h and cp/cp-tree.h,
11813169689Skan	add tree check for FUNCTION_DECL.
11814169689Skan	(DECL_ESTIMATED_INSNS): Move from c-common.h and java/java-tree.h.
11815169689Skan	(struct tree_decl): Rename inlined_function_flag to
11816169689Skan	declared_inline_flag.
11817169689Skan	* c-common.h (c_lang_decl): Remove.
11818169689Skan	(DECL_ESTIMATED_INSNS): Remove.
11819169689Skan	* c-tree.h (struct lang_decl): Don't include c_lang_decl.
11820169689Skan	(DECL_DECLARED_INLINE_P): Remove.
11821169689Skan	* c-decl.c (grokdeclarator): Update comment.  With -finline-functions,
11822169689Skan	do not reset DECL_DECLARED_INLINE_P.  Don't use DID_INLINE_FUNC.
11823169689Skan	(finish_function): Make uninlinable a bool.  Fixup call to
11824169689Skan	tree_inlinable_function_p() and fix some code style issues.
11825169689Skan	* cgraph.h (disgread_inline_limits): Fix spelling: `disregard'.
11826169689Skan	* cgraph.c (dump_cgraph): Likewise.
11827169689Skan	* cgraphunit.c (cgraph_decide_inlining): Likewise
11828169689Skan	(cgraph_finalize_compilation_unit): Likewise.
11829169689Skan	Also update call to tree_inlinable_function_p().
11830169689Skan	(cgraph_default_inline_p): Don't use DID_INLINE_FUNC.  Instead
11831169689Skan	look at DECL_DECLARED_INLINE and reverse logic.
11832169689Skan	* print-tree.c (print_node): Likewise.
11833169689Skan	* toplev.c (rest_of_handle_inlining): Don't use DID_INLINE_FUNC.
11834169689Skan	* tree-inline.h (tree_inlinable_function_p): Make a bool.  Update
11835169689Skan	prototype.
11836169689Skan	* tree-inline.c (inlinable_function_p): Split up in this function to
11837169689Skan	check for basic inlining inhibiting conditions, and new
11838169689Skan	limits_allow_inlining() function.  Warn if inlining is impossible
11839169689Skan	because the inline candidate calls alloca or uses sjlj exceptions.
11840169689Skan	(limits_allow_inlining): this new function to check if the inlining
11841169689Skan	limits are satisfied.  Throttle from currfn_max_inline_insns, not from
11842169689Skan	MAX_INLINE_INSNS_SINGLE.  The latter only makes sense if
11843169689Skan	MAX_INLINE_INSNS_AUTO and MAX_INLINE_INSNS_SINGLE are equal.
11844169689Skan	Update prototypes.
11845169689Skan	(tree_inlinable_function_p): Make a bool.  Update call to
11846169689Skan	inlinable_function_p
11847169689Skan	(expand_call_inline): Use limits_allow_inlining() when not in
11848169689Skan	unit-at-a-time mode to decide on inlining.  Don't use DID_INLINE_FUNC,
11849169689Skan	instead see if the function was declared `inline'.
11850169689Skan
11851169689Skan2003-08-05  Josef Zlomek  <zlomekj@suse.cz>
11852169689Skan
11853169689Skan	* gcse.c (try_replace_reg): Fix updating of note.
11854169689Skan
11855169689Skan2003-08-04  Roger Sayle  <roger@eyesopen.com>
11856169689Skan
11857169689Skan	PR middle-end/11771
11858169689Skan	* fold-const.c (negate_expr_p <MINUS_EXPR>): Change to match the
11859169689Skan	logic in negate_expr, i.e. we don't invert (A-B) for floating
11860169689Skan	point types unless flag_unsafe_math_optimizations.
11861169689Skan
11862169689Skan2003-08-04  Roger Sayle  <roger@eyesopen.com>
11863169689Skan
11864169689Skan	* fold-const.c (fold <PLUS_EXPR>): Transform x+x into x*2.0.
11865169689Skan	Optimize x*c+x and x+x*c into x*(c+1) and x*c1+x*c2 into x*(c1+c2)
11866169689Skan	for floating point expressions with -ffast-math.
11867169689Skan	(fold <MULT_EXPR>): Don't transform x*2.0 into x+x.
11868169689Skan	* expmed.c (expand_mult): Wrap long line.  Expand x*2.0 as x+x.
11869169689Skan
11870169689Skan2003-08-04  Roger Sayle  <roger@eyesopen.com>
11871169689Skan
11872169689Skan	* c-common.c (flag_noniso_default_format_attributes): Delete.
11873169689Skan	(built_in_attribute): Don't define/undefine DEF_FN_ATTR.
11874169689Skan	(c_attrs_initialized): Delete.
11875169689Skan	(c_common_nodes_and_builtins): Don't test c_attrs_initialized,
11876169689Skan	always call c_init_attributes.
11877169689Skan	(c_init_attributes): Don't define/undefine DEF_FN_ATTR.  Don't
11878169689Skan	set c_attrs_initialized when done.
11879169689Skan	(c_common_insert_default_attributes): Delete.
11880169689Skan	* c-common.h (flag_noniso_default_format_attributes): Delete.
11881169689Skan	(c_coomon_insert_default_attributes): Delete prototype.
11882169689Skan	* c-opts.c (set_std_c89, set_std_c99, set_std_cxx98): Dont set
11883169689Skan	flag_noniso_default_format_attributes.
11884169689Skan
11885169689Skan	* c-decl.c (c_insert_default_attributes): Delete.
11886169689Skan	* c-tree.h (c_insert_default_attributes): Delete prototype.
11887169689Skan
11888169689Skan	* attribs.c (decl_attributes): Don't call insert_default_attributes
11889169689Skan	langhook.  Update function description comment.
11890169689Skan	* langhooks.h (lang_hooks): Remove insert_default_attributes field.
11891169689Skan	* langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Delete.
11892169689Skan	* c-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Don't define.
11893169689Skan	* system.h: Poison LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES macro.
11894169689Skan
11895169689Skan	* objc/objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Don't
11896169689Skan	define.
11897169689Skan
11898169689Skan2003-08-04  Richard Sandiford  <rsandif@redhat.com>
11899169689Skan
11900169689Skan	* config/mips/mips.c (override_options): Disable -G on targets that
11901169689Skan	have no .section support.
11902169689Skan	(mips_select_section): Use default_select_section for such targets.
11903169689Skan
11904169689Skan2003-08-04  Nathanael Nerode  <neroden@gcc.gnu.org>
11905169689Skan
11906169689Skan	* fixinc/inclhack.def (svr4_undeclared_getrnge): Introduce and enable.
11907169689Skan	* fixinc/inclhack.def (static_getrnge): Remove disabled hack.
11908169689Skan	* fixinc/fixincl.x: Rebuild.
11909169689Skan	* fixinc/tests/base/regexp.h: New test.
11910169689Skan
11911169689Skan2003-08-04  Alexandre Oliva  <aoliva@redhat.com>
11912169689Skan
11913169689Skan	* c-ppoutput.c (cb_line_change): Don't skip line changing while
11914169689Skan	parsing macro arguments in the top-level context.
11915169689Skan
11916169689Skan2003-08-04  Neil Booth  <neil@daikokuya.co.uk>
11917169689Skan
11918169689Skan	* config.in: Remove HAVE_LSTAT.
11919169689Skan	* configure, configure.in: Don't test for lstat.
11920169689Skan
11921169689Skan2003-08-03  Gabriel Dos Reis  <gdr@integrable-solutions.net>
11922169689Skan
11923169689Skan	* opts.c (decode_options): Do language-specific initialization for
11924169689Skan	the global diagnostic context.
11925169689Skan	* langhooks-def.h (lhd_initialize_diagnostics): Declare.
11926169689Skan	(LANG_HOOKS_INITIALIZE_DIAGNOSTITCS): New macro.
11927169689Skan	(LANG_HOOKS_INITIALIZER): Adjust.
11928169689Skan	* langhooks.h (struct lang_hooks): Add new field
11929169689Skan	initialize_diagnostics.
11930169689Skan	* langhooks.c (lhd_initialize_diagnostics): Define.
11931169689Skan
11932169689Skan2003-08-03  Gabriel Dos Reis  <gdr@integrable-solutions.net>
11933169689Skan
11934169689Skan	* pretty-print.h:   Adjust macro definitions.
11935169689Skan	* pretty-print.c (pp_newline): Rename to pp_base_newline.
11936169689Skan	(pp_character): Rename to pp_base_character.
11937169689Skan	(pp_string): Rename to pp_base_string.
11938169689Skan	* c-pretty-print.c (pp_buffer): Move to pretty-print.h
11939169689Skan	(pp_newline):  Likewise.  Adjust.
11940169689Skan	(pp_c_char): Adjust.
11941169689Skan
11942169689Skan2003-08-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11943169689Skan
11944169689Skan	* builtins.def (BUILT_IN_ABS, BUILT_IN_IMAXABS, BUILT_IN_LABS,
11945169689Skan	BUILT_IN_LLABS): Move to miscellaneous section.
11946169689Skan
11947169689Skan2003-08-03  Neil Booth  <neil@daikokuya.co.uk>
11948169689Skan
11949169689Skan	PR preprocessor/11534
11950169689Skan	* cppexp.c (parse_defined): Warn only if -pedantic.
11951169689Skan
11952169689Skan2003-08-03  Neil Booth  <neil@daikokuya.co.uk>
11953169689Skan
11954169689Skan	* cppfiles.c (stack_file): Use file path.
11955169689Skan
11956169689Skan2003-08-02  Roger Sayle  <roger@eyesopen.com>
11957169689Skan
11958169689Skan	* builtin-types.def (BT_SSIZE): New primitive type.
11959169689Skan	(BT_FN_INT_PTR_CONST_STRING_VALIST_ARG,
11960169689Skan	BT_FN_STRING_CONST_STRING_CONST_STRING_INT,
11961169689Skan	BT_FN_SIZE_STRING_SIZE_CONST_STRING_CONST_PTR,
11962169689Skan	BT_FN_SSIZE_STRING_SIZE_CONST_STRING_VAR): New function types.
11963169689Skan	* builtins.def (BUILT_IN_DCGETTEXT, BUILT_IN_DGETTEXT,
11964169689Skan	BUILT_IN_FSCANF, BUILT_IN_GETTEXT, BUILT_IN_STRFMON,
11965169689Skan	BUILT_IN_STRFTIME, BUILT_IN_VFPRINTF, BUILT_IN_VFSCANF): New builtins.
11966169689Skan	* builtin-attrs.def: Remove DEF_FN_ATTR construct and the last
11967169689Skan	few functions that define default attributes using it.
11968169689Skan	* c-common.c (c_common_insert_default_attributes): Do nothing.
11969169689Skan
11970169689Skan	* doc/extend.texi: Document these "new" builtins.
11971169689Skan
11972169689Skan2003-08-02  Kaz Kojima  <kkojima@gcc.gnu.org>
11973169689Skan
11974169689Skan	* config/sh/linux.h (SUBTARGET_LINK_SPEC): Don't set rpath.
11975169689Skan	(LIB_SPEC): Set -lpthread always when -pthread set.  Set -lieee
11976169689Skan	when -mieee-fp set and -shared not set.
11977169689Skan	(SH_FALLBACK_FRAME_FLOAT_STATE): Don't define for SH5.
11978169689Skan
11979169689Skan2003-08-02  Neil Booth  <neil@daikokuya.co.uk>
11980169689Skan
11981169689Skan	* cppfiles.c (struct _cpp_file): Rename once_only_next to
11982169689Skan	next_file.  Remove import and pragma_once, add once_only.
11983169689Skan	(find_file): Add new file structures to the all_files list.
11984169689Skan	(should_stack_file): Mark #import-ed files once-only, and
11985169689Skan	don't stack them if the file has already been stacked.
11986169689Skan	(_cp_mark_file_once_only): Simplify.
11987169689Skan	* cpphash.h (struct cpp_reader): Rename once_only_files
11988169689Skan	to all_files.  Rename saw_pragma_once to seen_once_only.
11989169689Skan	(_cpp_mark_file_once_only): Update prototype.
11990169689Skan	* cpplib.c (do_pragma_once): Update.
11991169689Skan
11992169689Skan2003-08-02  Neil Booth  <neil@daikokuya.co.uk>
11993169689Skan
11994169689Skan	* cppfiles.c (ENOTDIR): Remove.
11995169689Skan	(open_file_in_dir): Rename find_file_in_dir.  Handle errors
11996169689Skan	other than ENOENT here.
11997169689Skan	(once_only_file_p): Rename should_stack_file.
11998169689Skan	(find_file, open_file_failed, read_file_guts): Report errors
11999169689Skan	with full path name.
12000169689Skan	(read_file): Move pch handling to should_stack_file.
12001169689Skan	(should_stack_file): Handle PCH and once-only issues, and
12002169689Skan	reading the file.
12003169689Skan	(stack_file): Don't do file reads.
12004169689Skan
12005169689Skan2003-08-02  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
12006169689Skan
12007169689Skan	* libgcov.c (gcov_exit): Cleanup and fix.
12008169689Skan	* profile.c (compute_value_histograms): Don't try to read profiles
12009169689Skan	that are not present.
12010169689Skan
12011169689Skan2003-08-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12012169689Skan
12013169689Skan	* builtins.def: Categorize.
12014169689Skan
12015169689Skan	* builtins.def (BUILT_IN_CABS, BUILT_IN_CABSF, BUILT_IN_CABSL):
12016169689Skan	Mind fp rounding.
12017169689Skan	(BUILT_IN_FFSL): Use DEF_EXT_LIB_BUILTIN.
12018169689Skan
12019169689Skan2003-08-02  Andreas Tobler  <a.tobler@schweiz.ch>
12020169689Skan
12021169689Skan	* config.gcc: Enable posix threads by default on darwin.
12022169689Skan
12023169689Skan2003-08-01  Jakub Jelinek  <jakub@redhat.com>
12024169689Skan
12025169689Skan	* cfgcleanup.c (outgoing_edges_match): Check REG_EH_REGION notes
12026169689Skan	even if nehedges1 is 0.
12027169689Skan
12028169689Skan2003-08-01  Nathanael Nerode  <neroden@gcc.gnu.org>
12029169689Skan
12030169689Skan	* fixinc/fixfixes.c, fixinc/fixlib.c, fixinc/fixlib.h,
12031169689Skan	fixinc/fixtests.c, fixinc/procopen.c, fixinc/server.c,
12032169689Skan	fixinc/server.h, fixinc/fixincl.c: ANSIfy function prototypes
12033169689Skan	and defintions.
12034169689Skan
12035169689Skan	* fixinc/inclhack.def (broken_cabs): Make matching more generous.
12036169689Skan	* fixinc/fixincl.x: Regenerate.
12037169689Skan	* fixinc/tests/base/math.h: Regenerate to match test_text change.
12038169689Skan
12039169689Skan2003-08-01  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12040169689Skan
12041169689Skan	* ggc-common.c (gt_pch_restore): Case MAP_FAILED to void *.
12042169689Skan
12043169689Skan2003-08-01  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12044169689Skan
12045169689Skan	* except.c (sjlj_emit_dispatch_table): Use ptr_mode, not Pmode,
12046169689Skan	for accesses to exc_ptr.
12047169689Skan
12048169689Skan2003-08-01  Geoffrey Keating  <geoffk@apple.com>
12049169689Skan
12050169689Skan	* doc/sourcebuild.texi (Front End Directory): Don't make references
12051169689Skan	to libsubdir, it's not part of the interface to frontends.
12052169689Skan	* doc/install.texi (Configuration): Help users read faster by saying
12053169689Skan	that GCC's configure options are the standard autoconf ones.
12054169689Skan	Mention --libdir.  Update the default rules for finding the
12055169689Skan	assembler.  Don't use libsubdir since we haven't said what it means.
12056169689Skan	(Specific): In the Solaris 7 notes, update the place to put the
12057169689Skan	assembler.
12058169689Skan	* doc/invoke.texi: Update lib/gcc-lib to lib/gcc.
12059169689Skan	* doc/cpp.texi (Search Path): Actually, the search path
12060169689Skan	depends on libdir, which can relocate with cpp.
12061169689Skan	* doc/tm.texi (Driver): Don't document STANDARD_EXEC_PREFIX, it's
12062169689Skan	now a private interface between the Makefile and the driver.
12063169689Skan
12064169689Skan2003-08-01  Richard Henderson  <rth@redhat.com>
12065169689Skan
12066169689Skan	* system.h: Poison ASM_SIMPLIFY_DWARF_ADDR.
12067169689Skan
12068169689Skan	* varasm.c (lookup_constant_def): New function.
12069169689Skan	* rtl.h (lookup_constant_def): Declare it.
12070169689Skan	* dwarf2out.c (loc_descriptor_from_tree): Use it.
12071169689Skan	Use targetm.delegitimize_address, not ASM_SIMPLIFY_DWARF_ADDR.
12072169689Skan
12073169689Skan2003-08-01  Zack Weinberg  <zack@codesourcery.com>
12074169689Skan
12075169689Skan	* c-decl.c (gettags, pushdecl_function_level): Delete.
12076169689Skan	(last_function_parm_vars): Rename last_function_parm_others.
12077169689Skan	(current_function_parm_vars): Rename current_function_parm_others.
12078169689Skan	(struct c_scope): Rewrite comment explaining this data structure.
12079169689Skan	Add names_last, blocks_last, parms_last fields.  Rename
12080169689Skan	incomplete_list to incomplete.
12081169689Skan	(SCOPE_LIST_APPEND, SCOPE_LIST_CONCAT): New macros.
12082169689Skan	(poplevel): Ignore second argument.  No need to nreverse
12083169689Skan	anything.  Restructure such that each list is processed
12084169689Skan	exactly once.  Use 'const location_t *locus' syntactic sugar
12085169689Skan	variable where useful.  Issue unused variable warnings
12086169689Skan	ourselves, do not rely on function.c.
12087169689Skan	(insert_block, pushdecl, bind_label): Use SCOPE_LIST_APPEND.
12088169689Skan	(pushdecl_top_level): Likewise.  Don't call duplicate_decls.
12089169689Skan	(implicitly_declare): decl cannot be error_mark_node.
12090169689Skan	(undeclared_variable): Manipulate scope structure directly.
12091169689Skan	(c_make_fname_decl): Likewise.
12092169689Skan	(getdecls, c_init_decl_processing): Fix comment.
12093169689Skan	(mark_forward_parm_decls): Use SCOPE_LIST_CONCAT.  No need
12094169689Skan	for 'last' variable.
12095169689Skan	(grokparms): No need to nreverse parms list.
12096169689Skan	(store_parm_decls_newstyle): Set up the parms_last and
12097169689Skan	names_last fields of the new scope too.
12098169689Skan	(store_parm_decls_oldstyle): Can assume DECL_WEAK is not set
12099169689Skan	on parms to begin with; check this under ENABLE_CHECKING.  Set
12100169689Skan	up parms_last.
12101169689Skan	(check_for_loop_decls): Refer directly to current_scope->tags.
12102169689Skan	Use consistent quote style in diagnostics.
12103169689Skan	(c_write_global_declarations): The names list is not backward.
12104169689Skan
12105169689Skan	* c-common.h: Don't prototype gettags.
12106169689Skan	* c-parse.in: Call poplevel with second argument 0 always.
12107169689Skan
12108169689Skan2003-08-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12109169689Skan
12110169689Skan	* builtins.def: Resort builtins.
12111169689Skan
12112169689Skan2003-08-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12113169689Skan
12114169689Skan	* builtins.def (DEF_GCC_BUILTIN, DEF_LIB_BUILTIN,
12115169689Skan	DEF_EXT_LIB_BUILTIN, DEF_C99_BUILTIN, DEF_C99_C90RES_BUILTIN):
12116169689Skan	Prepend "__builtin_" onto NAME with string concatenation.  Remove
12117169689Skan	explicit "__builtin_" from each macro call.
12118169689Skan
12119169689Skan	Reformat entire file.
12120169689Skan
12121169689Skan2003-08-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12122169689Skan
12123169689Skan	* builtins.def (ATTR_MATHFN_ERRNO, ATTR_MATHFN_FPROUNDING,
12124169689Skan	ATTR_MATHFN_FPROUNDING_ERRNO): New macros.  Use throughout.
12125169689Skan
12126169689Skan2003-08-01  Andreas Krebbel  <krebbel1@de.ibm.com>
12127169689Skan
12128169689Skan	* config/s390/s390.c (s390_select_ccmode): Do not attempt to use CCL,
12129169689Skan	CCL1, or CCL2 modes with floating point operations.
12130169689Skan
12131169689Skan	* config/s390/s390.md ("*addsf3_cc", "*addsf3_cconly", "*adddf3_cc",
12132169689Skan	"*adddf3_cconly", "*subsf3_cc", "*subsf3_cconly", "*subdf3_cc",
12133169689Skan	"*subdf3_cconly"): New insns.
12134169689Skan	("*negabssi2", "*negabsdi2", "*negabsdf2", "*negabssf2"): Likewise.
12135169689Skan
12136169689Skan2003-08-01  Neil Booth  <neil@daikokuya.co.uk>
12137169689Skan
12138169689Skan	* Makefile.in: Refine dependencies.
12139169689Skan	* c-opts.c (c_common_handle_option): Do nothing for -Wimport.
12140169689Skan	* c.opt: Update help for -Wimport.
12141169689Skan	* cppfiles.c: Include hashtab.h.  Update comments.
12142169689Skan	(stack_file): Read the file before updating dependencies.
12143169689Skan	(once_only_file_p): Be smarter about marking once-only files.
12144169689Skan	(_cpp_mark_file_once_only): Correct the check for existence on
12145169689Skan	the list.
12146169689Skan	(open_file_failed): Use name not path, which is NULL.
12147169689Skan	* cpphash.h: Don't include hashtab.h.
12148169689Skan	(struct _cpp_file): Remove.
12149169689Skan	(struct cpp_reader): Update.
12150169689Skan	* cppinit.c (cpp_create_reader): Don't initialize warn_import.
12151169689Skan	* cpplib.h (struct cpp_options): Remove warn_import.
12152169689Skan	(cpp_simplify_path): Remove.
12153169689Skan
12154169689Skan2003-08-01  Nathan Sidwell  <nathan@codesourcery.com>
12155169689Skan
12156169689Skan	PR c++/11295
12157169689Skan	* doc/extend.texi (Statement Expressions): Document C++ semantics.
12158169689Skan
12159169689Skan2003-07-31  SUGIOKA Toshinobu  <sugioka@itonet.co.jp>
12160169689Skan
12161169689Skan	* config.gcc (sh-*-linux*): Do not override sh/t-linux with sh/t-le.
12162169689Skan
12163169689Skan2003-07-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12164169689Skan
12165169689Skan	* builtin-types.def: Use `LONGDOUBLE' instead of `LONG_DOUBLE'
12166169689Skan	throughout.
12167169689Skan	* builtins.def: Likewise.
12168169689Skan
12169169689Skan2003-07-31  Jason Merrill  <jason@redhat.com>
12170169689Skan
12171169689Skan	* Makefile.in (bubblestrap): Don't require a previous full
12172169689Skan	bootstrap.
12173169689Skan
12174169689Skan	* expr.c (mostly_zeros_p): No longer static.
12175169689Skan	* tree.h: Declare it.
12176169689Skan	* stmt.c (resolve_asm_operand_names): Don't copy the pattern
12177169689Skan	unless we need to do substitutions.
12178169689Skan
12179169689Skan2003-07-31  Roger Sayle  <roger@eyesopen.com>
12180169689Skan
12181169689Skan	* fold-const.c (fold <MULT_EXPR>): Optimize both x*pow(x,c) and
12182169689Skan	pow(x,c)*x as pow(x,c+1) for constant values c.  Optimize x*x
12183169689Skan	as pow(x,2.0) when the latter will be expanded back into x*x.
12184169689Skan	(fold <RDIV_EXPR>): Optimize pow(x,c)/x as pow(x,c-1).
12185169689Skan	* builtins.c (expand_builtin_pow): Ignore flag_errno_math as
12186169689Skan	pow can never set errno when used with an integer exponent.
12187169689Skan	Always use expand_powi when exponent is -1, 0, 1 or 2.
12188169689Skan	(fold_builtin): Don't rewrite pow(x,2.0) as x*x nor pow(x,-2.0)
12189169689Skan	as 1.0/(x*x).  This avoids unbounded recursion as we now prefer
12190169689Skan	the pow forms of these expressions.
12191169689Skan
12192169689Skan2003-07-31  Geoffrey Keating  <geoffk@apple.com>
12193169689Skan
12194169689Skan	* Makefile.in (libexecdir): New.
12195169689Skan	(libsubdir): Use gcc instead of gcc-lib.
12196169689Skan	(libexecsubdir): New.
12197169689Skan	(ORDINARY_FLAGS_TO_PASS): Add libexecsubdir.
12198169689Skan	(DRIVER_DEFINES): Add STANDARD_LIBEXEC_PREFIX, use gcc instead of
12199169689Skan	gcc-lib.
12200169689Skan	(installdirs): Make libexecsubdir.
12201169689Skan	(install-common): Put executables in libexecsubdir.
12202169689Skan	(itoolsdir): Use libexecsubdir.
12203169689Skan	(itoolsdatadir): New.
12204169689Skan	(install-mkheaders): Separate data files and executables.
12205169689Skan	(install-collect2): Put executables in libexecsubdir.
12206169689Skan	(uninstall): Remove libexecsubdir.
12207169689Skan	* mkheaders.in: Update for new arrangement of files.
12208169689Skan	(libexecdir): New.
12209169689Skan	(libexecsubdir): New.
12210169689Skan	(itoolsdir): Use libexecsubdir.
12211169689Skan	(itoolsdatadir): New.
12212169689Skan	* gcc.c (gcc_libexec_prefix): New.
12213169689Skan	(STANDARD_LIBEXEC_PREFIX): Use gcc instead of gcc-lib.
12214169689Skan	(standard_exec_prefix_1): Use libexec.
12215169689Skan	(standard_exec_prefix_2): New.
12216169689Skan	(standard_libexec_prefix): New.
12217169689Skan	(process_command): Update for new arrangement of files.  Compute
12218169689Skan	gcc_libexec_prefix.  Update for change from gcc-lib to gcc.
12219169689Skan
12220169689Skan2003-07-31  Nathanael Nerode  <neroden@gcc.gnu.org>
12221169689Skan
12222169689Skan	* inclhack.def (stdio_va_list): Avoid bogus replacement which
12223169689Skan	triggers on Interix.
12224169689Skan	* fixincl.x: Regenerate.
12225169689Skan
12226169689Skan2003-07-31  Jakub Jelinek  <jakub@redhat.com>
12227169689Skan
12228169689Skan	* config/i386/i386.c (legitimate_pic_address_disp_p): Disallow TLS
12229169689Skan	SYMBOL_REFs not inside UNSPEC even in PLUS rtx.
12230169689Skan
12231169689Skan2003-07-31  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
12232169689Skan
12233169689Skan	* dwarf2out.c (loc_descriptor_from_tree, case CONSTRUCTOR): New case.
12234169689Skan
12235169689Skan2003-07-31  Per Bothner  <pbothner@apple.com>
12236169689Skan
12237169689Skan	* opts.c (in_fnames, num_in_fnames):  Moved here from c-opts.
12238169689Skan	(add_input_filename):  New function.
12239169689Skan	(handle_options):  Call add_input_filename directly instead of
12240169689Skan	with a lang hook.
12241169689Skan	* opts.h (in_fnames, num_in_fnames):  Moved here.
12242169689Skan	(add_input_filename):  Declare.
12243169689Skan	* c-decl.c:  Need to #include opts.h.
12244169689Skan	* Makefile.in (c-decl.o):  Also depends on opts.h.
12245169689Skan	* c-opts.c (in_fnames, num_in_fnames):  Moved to opts.c.
12246169689Skan	(c_common_handle_filename):  Replaced by add_input_filename.
12247169689Skan	* c-common.h (in_fnames, num_in_fnames, c_common_handle_filename):
12248169689Skan	Remove.
12249169689Skan	* langhooks.h (struct lang_hooks):  Remove handle_filename hook.
12250169689Skan	* langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME):  Remove macro.
12251169689Skan	(LANG_HOOKS_INITIALIZER):  Remove use of LANG_HOOKS_HANDLE_FILENAME.
12252169689Skan	* c-lang.c (LANG_HOOKS_HANDLE_FILENAME):  Remove macro.
12253169689Skan
12254169689Skan2003-07-31  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
12255169689Skan
12256169689Skan	* combine.c (try_combine): Set JUMP_LABEL for newly created
12257169689Skan	unconditional jump.
12258169689Skan
12259169689Skan2003-07-31  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
12260169689Skan
12261169689Skan	* fold-const.c (fold): Fold some comparisons of bit operations.
12262169689Skan
12263169689Skan2003-07-31  Jan Hubicka  <jh@suse.cz>
12264169689Skan
12265169689Skan	* cgraph.c (create_edge): Fix typo.
12266169689Skan	* i386.c (pic_symbolic_operand): Reorder tests.
12267169689Skan
12268169689Skan2003-07-31  Nathan Sidwell  <nathan@codesourcery.com>
12269169689Skan
12270169689Skan	* doc/gcov.texi (Invoking Gcov): Describe output name mangling
12271169689Skan	more fully.
12272169689Skan	(Gcov Data Files): Update.
12273169689Skan
12274169689Skan2003-07-31  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12275169689Skan
12276169689Skan	* config.gcc (alpha*-dec-osf[45]*): Enable POSIX thread support by
12277169689Skan	default.
12278169689Skan
12279169689Skan	* gthr-posix.c: New file.
12280169689Skan	* gthr-posix.h: Define _REENTRANT if missing.
12281169689Skan	Make _LIBOBJC #pragma weak visible with _LIBOBJC_WEAK.
12282169689Skan
12283169689Skan	* config/alpha/t-osf4 (SHLIB_LINK): Hide dummy functions provided
12284169689Skan	by gthr-posix.o.
12285169689Skan	* config/alpha/t-osf-pthread: New file.
12286169689Skan
12287169689Skan	* fixinc/inclhack.def (alpha_pthread): New fix.
12288169689Skan	* fixinc/fixincl.x: Regenerate.
12289169689Skan	* fixinc/tests/base/pthread.h [ALPHA_PTHREAD_CHECK]: New testcase.
12290169689Skan
12291169689Skan	* doc/install.texi (alpha*-dec-osf*): Remove --enable-threads
12292169689Skan	warning.
12293169689Skan	Fixes PR bootstrap/9330.
12294169689Skan
12295169689Skan2003-07-31  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12296169689Skan
12297169689Skan	* configure.in (gcc_cv_ld_hidden): Also disable on mips-sgi-irix5*
12298169689Skan	without GNU ld.
12299169689Skan	Update comment.
12300169689Skan	* configure: Regenerate.
12301169689Skan
12302169689Skan2003-07-31  Vladimir Makarov  <vmakarov@redhat.com>
12303169689Skan
12304169689Skan	* sched-deps.c (sched_analyze_2): Prevent interblock move of CC0
12305169689Skan	setter.
12306169689Skan
12307169689Skan2003-07-30  Roger Sayle  <roger@eyesopen.com>
12308169689Skan
12309169689Skan	* builtins.def: Alphabetize.
12310169689Skan
12311169689Skan2003-07-30  Matt Kraai  <kraai@alumni.cmu.edu>
12312169689Skan
12313169689Skan	* doc/c-tree.texi: Normalize spellings of "lowercase" and
12314169689Skan	"uppercase".
12315169689Skan	* doc/cpp.texi: Likewise.
12316169689Skan	* doc/md.texi: Likewise.
12317169689Skan	* doc/rtl.texi: Likewise.
12318169689Skan	* doc/tm.texi: Likewise.
12319169689Skan
12320169689Skan2003-07-30  Matt Kraai  <kraai@alumni.cmu.edu>
12321169689Skan
12322169689Skan	* objc/Make-lang.in (objc.stage1, objc.stage2, objc.stage3)
12323169689Skan	(objc.stage4, objc.stageprofile, objc.stagefeedback): Remove moves
12324169689Skan	of cc1obj.
12325169689Skan
12326169689Skan2003-07-30  Chris Demetriou  <cgd@broadcom.com>
12327169689Skan
12328169689Skan	* config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Undef these
12329169689Skan	macros before defining them.
12330169689Skan
12331169689Skan2003-07-31  Ulrich Weigand  <uweigand@de.ibm.com>
12332169689Skan
12333169689Skan	* config/s390/s390.md (UNSPEC_ROUND, UNSPEC_SETHIGH,
12334169689Skan	UNSPECV_BLOCKAGE): New constants.
12335169689Skan	("*sethighqisi", "*sethighhisi", "*sethiqidi_64", "*sethiqidi_31",
12336169689Skan	"*extractqi", "*extracthi", "*extendqidi2" splitter, "*extendqisi2"
12337169689Skan	splitter, "fix_truncdfdi2_ieee", "fix_truncdfsi2_ieee",
12338169689Skan	"fix_truncsfdi2", "fix_truncsfsi2", "blockage"): Use them.
12339169689Skan
12340169689Skan	(all insns and expanders): Write output control string as brace block
12341169689Skan	where appropriate.  Remove \-escapes for doublequote characters.
12342169689Skan
12343169689Skan2003-07-31  Jan Hubicka  <jh@suse.cz>
12344169689Skan
12345169689Skan	* gcse.c (insert_store): Fix typo in previous patch.
12346169689Skan
12347169689Skan2003-07-30  Neil Booth  <neil@daikokuya.co.uk>
12348169689Skan
12349169689Skan	* cppfiles.c (stack_file, open_file_failed): Use path for deps.
12350169689Skan
12351169689Skan2003-07-30  Andi Kleen  <ak@muc.de>
12352169689Skan
12353169689Skan	* loop.c (check_dbra_loop): Allow LTU in the loop condition.
12354169689Skan
12355169689Skan2003-07-30  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
12356169689Skan
12357169689Skan	* combine.c (distribute_notes): Cancel REG_VALUE_PROFILE notes.
12358169689Skan	* gcov-io.h (GCOV_FIRST_VALUE_COUNTER, GCOV_LAST_VALUE_COUNTER,
12359169689Skan	GCOV_N_VALUE_COUNTERS): New.
12360169689Skan	* profile.c (compute_value_histograms): New static function.
12361169689Skan	(branch_prob): Read back the value histograms.
12362169689Skan	* rtl.c (reg_note_name): Add name for REG_VALUE_PROFILE note.
12363169689Skan	* rtl.h (enum reg_note): Add REG_VALUE_PROFILE note.
12364169689Skan	* value-prof.c: Add comment on reading the profile.
12365169689Skan	* value-prof.h (COUNTER_FOR_HIST_TYPE, HIST_TYPE_FOR_COUNTER): New.
12366169689Skan	* doc/invoke.texi (-fprofile-values): Document behavior with
12367169689Skan	-fbranch-probabilities.
12368169689Skan
12369169689Skan2003-07-30  David Edelsohn  <edelsohn@gnu.org>
12370169689Skan
12371169689Skan	* longlong.h (PowerPC umul_ppmm): Do not test __vxworks__.
12372169689Skan
12373169689Skan2003-07-30  Ulrich Weigand  <uweigand@de.ibm.com>
12374169689Skan
12375169689Skan	* config/s390/s390.h (EH_RETURN_HANDLER_RTX): Compute offset
12376169689Skan	symbolically.
12377169689Skan
12378169689Skan2003-07-30  Jan Hubicka  <jh@suse.cz>
12379169689Skan
12380169689Skan	* gcse.c (insert_store): Ignore fake edges.
12381169689Skan
12382169689Skan	* c-common.c (flag_vtable_gc): Kill.
12383169689Skan	* c-common.g (flag_vtable_gc): Kill.
12384169689Skan	* c-opts (c_common_handle_option): Kill.
12385169689Skan	* c.opt (fvtable-gc): Kill.
12386169689Skan	* final.c (final_scan_insn): Do not call assemble_vtable_entry.
12387169689Skan	* output.h (assemble_vtable_entry, assemble_vtable_inherit): Kill.
12388169689Skan	* varasm.c (assemble_vtable_entry, assemble_vtable_inherit): Kill.
12389169689Skan
12390169689Skan	* invoke.texi (-ftable-gc): Kill documentation.
12391169689Skan
12392169689Skan	* tree-inline.c (inlinable_function_p): Don't set DECL_UNINLINABLE
12393169689Skan	just because function body is missing.
12394169689Skan
12395169689Skan	* i386.c (pic_symbolic_operand): Properly detect RIP relative unspecs.
12396169689Skan
12397169689Skan2003-07-30  Ranjit Mathew  <rmathew@hotmail.com>
12398169689Skan
12399169689Skan	* unwind-sjlj.c: Fix typo in file description.
12400169689Skan
12401169689Skan2003-07-30  Alan Modra  <amodra@bigpond.net.au>
12402169689Skan
12403169689Skan	* calls.c (load_register_parameters): When shifting reg sized values
12404169689Skan	to the msb, move the value to a reg first.
12405169689Skan
12406169689Skan2003-07-29  Geoffrey Keating  <geoffk@apple.com>
12407169689Skan
12408169689Skan	* cppfiles.c (stack_file): Leave filename as "" rather than "<stdin>".
12409169689Skan	* line-map.h (linemap_add): Update comments.
12410169689Skan	* line-map.c (linemap_add): Update comments, interpret zero-length
12411169689Skan	filename as "<stdin>".
12412169689Skan
12413169689Skan2003-07-29  Nathanael Nerode  <neroden@gcc.gnu.org>
12414169689Skan
12415169689Skan	* mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.
12416169689Skan
12417169689Skan2003-07-29  Zack Weinberg  <zack@codesourcery.com>
12418169689Skan
12419169689Skan	* c-decl.c (last_function_parm_vars, current_function_parm_vars):
12420169689Skan	New static variables.
12421169689Skan	(struct c_scope): Add parms and warned_forward_parm_decls
12422169689Skan	fields; remove parm_order.
12423169689Skan	(storedecls, storetags): Delete.
12424169689Skan	(poplevel): Also clear bindings on the parms chain.
12425169689Skan	(pushdecl): Handle forward declarations of parameters, and
12426169689Skan	chain PARM_DECLs on the parms list, not the names list.
12427169689Skan	(lookup_name_current_level): Check for PARM_DECLs on the parms
12428169689Skan	list too.
12429169689Skan	(push_parm_decl): Don't update parm_order.
12430169689Skan	(clear_parm_order): Rename mark_forward_parm_decls.  Issue the
12431169689Skan	warning, only once per parameter list, and set TREE_ASM_WRITTEN
12432169689Skan	on the decls here.  Then move the forward decls to the names list.
12433169689Skan	(grokparms): Set last_function_parm_vars.
12434169689Skan	(get_parm_info): Don't use gettags or getdecls.  No need to
12435169689Skan	extract non-parms from the parms list, or reorganize the parms
12436169689Skan	list.  Feed nonparms back in the TREE_TYPE of the list node
12437169689Skan	returned.  Issue only one error per parameter list for "void"
12438169689Skan	appearing more than once in said parameter list.  Collapse
12439169689Skan	parmlist_tags_warning into this function to avoid double scan
12440169689Skan	of tags list.
12441169689Skan	(start_function): Set current_function_parm_vars.
12442169689Skan	(store_parm_decls_newstyle): Bypass pushdecl, manipulate scope
12443169689Skan	directly.  Get non-parms from current_function_parm_vars; no
12444169689Skan	need to extract them from the parms chain.  Properly bind tags
12445169689Skan	in the new scope.
12446169689Skan	(store_parm_decls_oldstyle): No need to extract non-parameters
12447169689Skan	from the parms chain, nor to store them back afterward.  Move
12448169689Skan	declaration to top of function, restructure code reordering
12449169689Skan	DECL_ARGUMENTS.
12450169689Skan	(store_parm_decls): No need to save and restore warn_shadow.
12451169689Skan	* c-parse.in: Don't call parmlist_tags_warning nor
12452169689Skan	clear_parm_order.  Call mark_forward_parm_decls when forward
12453169689Skan	parm decls are encountered.
12454169689Skan	* c-tree.h: Prototype mark_forward_parm_decls; not
12455169689Skan	clear_parm_order or parmlist_tags_warning.
12456169689Skan
12457169689Skan2003-07-29  Geoffrey Keating  <geoffk@apple.com>
12458169689Skan
12459169689Skan	* c-common.c (allow_pch): Remove.
12460169689Skan	* c-common.h (allow_pch): Remove.
12461169689Skan	(c_common_no_more_pch): Declare.
12462169689Skan	* c-lex.c (c_lex): Call c_common_no_more_pch when appropriate.
12463169689Skan	* c-pch.c: Include hosthooks.h.
12464169689Skan	(c_common_valid_pch): Don't check allow_pch.
12465169689Skan	(c_common_read_pch): Clear valid_pch to prevent reading PCH files.
12466169689Skan	(c_common_no_more_pch): New.
12467169689Skan	* ggc-common.c: Include hosthooks.h.
12468169689Skan	(gt_pch_save): Call gt_pch_get_address.
12469169689Skan	(gt_pch_restore): Call gt_pch_use_address.
12470169689Skan	* hooks.c (hook_voidp_size_t_null): New.
12471169689Skan	(hook_bool_voidp_size_t_false): New.
12472169689Skan	* hooks.h (hook_voidp_size_t_null): New.
12473169689Skan	(hook_bool_voidp_size_t_false): New.
12474169689Skan	* hosthooks-def.h (HOST_HOOKS_GT_PCH_GET_ADDRESS): New.
12475169689Skan	(HOST_HOOKS_GT_PCH_USE_ADDRESS): New.
12476169689Skan	(HOST_HOOKS_INITIALIZER): Add HOST_HOOKS_GT_PCH_GET_ADDRESS,
12477169689Skan	HOST_HOOKS_GT_PCH_USE_ADDRESS.
12478169689Skan	* hosthooks.h (struct host_hooks): Add gt_pch_get_address,
12479169689Skan	gt_pch_use_address.
12480169689Skan	* doc/hostconfig.texi (Host Common): Document
12481169689Skan	HOST_HOOKS_GT_PCH_GET_ADDRESS, HOST_HOOKS_GT_PCH_USE_ADDRESS.
12482169689Skan	* Makefile.in (c-pch.o): Depend on hosthooks.h.
12483169689Skan	(ggc-common.o): Likewise.
12484169689Skan
12485169689Skan	* config/rs6000/host-darwin.c (HOST_HOOKS_GT_PCH_GET_ADDRESS): Define.
12486169689Skan	(HOST_HOOKS_GT_PCH_USE_ADDRESS): Define.
12487169689Skan	(pch_address_space): New.
12488169689Skan	(darwin_rs6000_gt_pch_get_address): New.
12489169689Skan	(darwin_rs6000_gt_pch_use_address): New.
12490169689Skan
12491169689Skan2003-07-29  Neil Booth  <neil@daikokuya.co.uk>
12492169689Skan
12493169689Skan	PR preprocessor/11569
12494169689Skan	PR preprocessor/11649
12495169689Skan	* Makefile.in (LIBCPP_DEPS): Add HASHTAB_H.
12496169689Skan	* cppfiles.c: Completely rewritten.
12497169689Skan	* c-incpath.c (free_path, remove_duplicates, heads, tails, add_path):
12498169689Skan	struct cpp_path is now struct cpp_dir.
12499169689Skan	(remove_duplicates): Don't simplify path names.
12500169689Skan	* c-opts.c (c_common_parse_file): cpp_read_next_file renamed
12501169689Skan	cpp_stack_file.
12502169689Skan	* cpphash.h: Include hashtab.h.
12503169689Skan	(_cpp_file): Declare.
12504169689Skan	(struct cpp_buffer): struct include_file is now struct _cpp_file,
12505169689Skan	and struct cpp_path is now struct cpp_dir.  Rename members.
12506169689Skan	(struct cpp_reader): Similarly.  New members once_only_files,
12507169689Skan	file_hash, file_hash_entries, quote_ignores_source_dir,
12508169689Skan	no_search_path, saw_pragma_once.  Remove all_include_files and
12509169689Skan	max_include_len.  Make some members bool.
12510169689Skan	(_cpp_mark_only_only): Renamed from _cpp_never_reread.
12511169689Skan	(_cpp_stack_file): Renamed from _cpp_read_file.
12512169689Skan	(_cpp_stack_include): Renamed from _cpp_execute_include.
12513169689Skan	(_cpp_init_files): Renamed from _cpp_init_includes.
12514169689Skan	(_cpp_cleanup_files): Renamed from _cpp_cleanup_includes.
12515169689Skan	* cppinit.c (cpp_create_reader): Initialize no_search_path.  Update.
12516169689Skan	(cpp_read_next_file): Rename and move to cppfiles.c.
12517169689Skan	(cpp_read_main_file): Update.
12518169689Skan	* cpplib.c (run_directive): Update for renamed members.
12519169689Skan	(do_include_common, _cpp_pop_buffer): Update.
12520169689Skan	(do_import): Undeprecate #import.
12521169689Skan	(do_pragma_once): Undeprecate.  Use _cpp_mark_file_once_only.
12522169689Skan	* cpplib.h: Remove file_name_map_list.
12523169689Skan	(cpp_options): Remove map_list.
12524169689Skan	(cpp_dir): Rename from cpp_path.  New datatype for name_map.
12525169689Skan	(cpp_set_include_chains, cpp_stack_file, cpp_included): Update.
12526169689Skan
12527169689Skan2003-07-29  Phil Edwards  <pme@gcc.gnu.org>
12528169689Skan
12529169689Skan	* Makefile.in:  Make stamp-objdir safe for parallel builds.
12530169689Skan
12531169689Skan2003-07-29  Phil Edwards  <pme@gcc.gnu.org>
12532169689Skan
12533169689Skan	* Makefile.in (stmp-docobjdir):  New target; ensure $docobjdir exists.
12534169689Skan	(info):  Depend on stmp-docobjdir.
12535169689Skan
12536169689Skan2003-07-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12537169689Skan
12538169689Skan	* configure: Regenerate.
12539169689Skan
12540169689Skan2003-07-29  Jan Hubicka  <jh@suse.cz>
12541169689Skan
12542169689Skan	PR C++/11131
12543169689Skan	* tree-inline.c (expand_call_inline): Always call inlinable_function_p
12544169689Skan	in !unit-at-a-time mode.
12545169689Skan
12546169689Skan2003-07-28  Geoffrey Keating  <geoffk@apple.com>
12547169689Skan
12548169689Skan	* c-decl.c (c_expand_body_1): Use C_DECL_FILE_SCOPE to detect
12549169689Skan	main function.
12550169689Skan
12551169689Skan2003-07-28  Mark Mitchell  <mark@codesourcery.com>
12552169689Skan
12553169689Skan	PR c++/11667
12554169689Skan	* c-common.c (shorten_compare): Take into account differences
12555169689Skan	between C and C++ representation for enumeration types.
12556169689Skan	* tree.h (set_min_and_max_values_for_integral_type): Declare.
12557169689Skan	* stor-layout.c (set_min_and_max_values_for_integral_type): New
12558169689Skan	function, broken out from ...
12559169689Skan	(fixup_signed_type): ... here and ...
12560169689Skan	(fixup_unsigned_type): ... here.
12561169689Skan
12562169689Skan2003-07-28  Zack Weinberg  <zack@codesourcery.com>
12563169689Skan
12564169689Skan	* c-decl.c: Update commentary, adjust blank lines throughout.
12565169689Skan	(struct c_scope): Fix indentation.  Reorder members so
12566169689Skan	outer-context pointers come first, booleans last.
12567169689Skan	(duplicate_decls, define_label): Use a 'locus' variable for
12568169689Skan	diagnostic locations in a few more places.
12569169689Skan	(warn_if_shadowing): Un-split a conditional that fits on one line.
12570169689Skan	(c_init_decl_processing): No need to clear current_scope and
12571169689Skan	current_function_scope.
12572169689Skan	(start_decl): Merge if/else if statements with same action.
12573169689Skan	(push_parm_decl): Rename old_immediate_size_expand to use
12574169689Skan	save_foo convention; save/restore around entire function.
12575169689Skan	(grokdeclarator): Remove unnecessary braces.
12576169689Skan
12577169689Skan2003-07-28  Hans-Peter Nilsson  <hp@bitrange.com>
12578169689Skan	    Michael Culbertson  <Michael.J.Culbertson@wheaton.edu>
12579169689Skan
12580169689Skan	* c-parse.in (lineno_stmt_decl_or_labels_ending_decl): Also warn
12581169689Skan	when warn_declaration_after_statement.  Call pedwarn_c90, not
12582169689Skan	pedwarn.  Correct message: it's "ISO C90", not "ISO C89".
12583169689Skan	* c-common.c (warn_declaration_after_statement): Define.
12584169689Skan	* c-common.h (warn_declaration_after_statement): Declare.
12585169689Skan	* c.opt (Wdeclaration-after-statement): New.
12586169689Skan	* c-errors.c (pedwarn_c90): New function.
12587169689Skan	* c-opts.c (c_common_handle_option) <case
12588169689Skan	OPT_Wdeclaration_after_statement>: New.
12589169689Skan	* c-tree.h (pedwarn_c90): Declare.
12590169689Skan	* doc/invoke.texi (Option Summary): Document
12591169689Skan	-Wdeclaration-after-statement.
12592169689Skan	(Warning Options): Ditto.
12593169689Skan
12594169689Skan2003-07-28  Jan Hubicka  <jh@suse.cz>
12595169689Skan
12596169689Skan	* i386.md (memory attribute) Avoid accessing uninitialized memory
12597169689Skan	for ishift1 type instructions.
12598169689Skan
12599169689Skan2003-07-28  Jakub Jelinek  <jakub@redhat.com>
12600169689Skan
12601169689Skan	* configure.in (--enable-checking): Add fold category.
12602169689Skan	(ENABLE_FOLD_CHECKING): Define if requested.
12603169689Skan	* configure: Rebuilt.
12604169689Skan	* config.in: Rebuilt.
12605169689Skan	* doc/install.texi: Document it.
12606169689Skan	* fold-const.c: Include md5.h.
12607169689Skan	[ENABLE_FOLD_CHECKING] (fold): Define to fold_1.
12608169689Skan	[ENABLE_FOLD_CHECKING] (fold, fold_checksum_tree, fold_check_failed,
12609169689Skan	print_fold_checksum): New functions.
12610169689Skan
12611169689Skan	* fold-const.c (fold): Never modify argument passed to fold, instead
12612169689Skan	change a copy and return it.
12613169689Skan	* convert.c (convert_to_integer): Likewise.
12614169689Skan
12615169689Skan2003-07-27  Nathanael Nerode  <neroden@gcc.gnu.org>
12616169689Skan
12617169689Skan	* fixinc/fixinc.svr4: Remove dead code.  Remove now-unnecessary
12618169689Skan	cleanup of junk after #else and #endif directives.  Collapse repeated
12619169689Skan	clauses into for statment.
12620169689Skan
12621169689Skan	* fixinc/fixincl.sh: GNU C -> GCC.  Add usage comment.
12622169689Skan
12623169689Skan2003-07-27  Zack Weinberg  <zack@codesourcery.com>
12624169689Skan
12625169689Skan	* c-decl.c (struct c_scope): Remove keep_if_subblocks field.
12626169689Skan	(keep_next_if_subblocks): Rename next_is_function_body.
12627169689Skan	(pushlevel): Adjust commentary.  Always set ->keep on the
12628169689Skan	outermost level of a function.  Don't set ->keep_if_subblocks.
12629169689Skan	(poplevel): Adjust commentary.  Don't look at ->keep_if_subblocks.
12630169689Skan	(store_parm_decls): Adjust to match.
12631169689Skan	(finish_function): Adjust to match.
12632169689Skan	Call poplevel with all three arguments zero.
12633169689Skan
12634169689Skan	* c-decl.c (store_parm_decls_newstyle, store_parm_decls_oldstyle):
12635169689Skan	New functions split out of store_parm_decls.
12636169689Skan	Avoid unnecessary work. Use local variables consistently.
12637169689Skan	(store_parm_decls): Likewise.
12638169689Skan
12639169689Skan	(finish_function): No need to set functionbody flag on call to
12640169689Skan	poplevel.
12641169689Skan	(struct language_function): Remove scope field.
12642169689Skan	(c_push_function_context, c_pop_function_context): No need to
12643169689Skan	save and restore current_scope.
12644169689Skan
12645169689Skan2003-07-27  Nathan Sidwell  <nathan@codesourcery.com>
12646169689Skan
12647169689Skan	* doc/extend.texi (Deprecated Features): Implicit typename is
12648169689Skan	gone. Default args on types is going.
12649169689Skan
12650169689Skan2003-07-26  J"orn Rennecke <joern.rennecke@superh.com>
12651169689Skan
12652169689Skan	* Makefile.in (ifcvt.o): Depend on target.h
12653169689Skan	* ifcvt.c (target.h): Include.
12654169689Skan	(if_convert): Don't call mark_loop_exit_edges if we can't
12655169689Skan	modify jumps.
12656169689Skan
12657169689Skan2003-07-26  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
12658169689Skan
12659169689Skan	* doc/install.texi (Testing): Adjust required versions of DejaGnu.
12660169689Skan
12661169689Skan2003-07-26  Richard Henderson  <rth@redhat.com>
12662169689Skan
12663169689Skan	PR inline-asm/11676
12664169689Skan	* cse.c (count_reg_usage): Handle asm_operands properly.
12665169689Skan
12666169689Skan2003-07-26  Roger Sayle  <roger@eyesopen.com>
12667169689Skan
12668169689Skan	* builtins.def (DEF_FALLBACK_BUILTIN): Delete.
12669169689Skan	(DEF_EXT_FALLBACK_BUILTIN): Delete.
12670169689Skan	(BUILT_IN_BZERO, BUILT_IN_BCOPY, BUILT_IN_BCMP): Declare using
12671169689Skan	the regular DEF_EXT_LIB_BUILTIN macro.
12672169689Skan	(BUILT_IN_FPUTC, BUILT_IN_FPUTS, BUILT_IN_FWRITE): Declare using
12673169689Skan	the regular DEF_LIB_BUILTIN macro.
12674169689Skan	(BUILT_IN_PUTCHAR_UNLOCKED, BUILT_IN_PUTS_UNLOCKED,
12675169689Skan	BUILT_IN_FPUTC_UNLOCKED, BUILT_IN_FPUTS_UNLOCKED,
12676169689Skan	BUILT_IN_FWRITE_UNLOCKED): Declare using the regular
12677169689Skan	DEF_EXT_LIB_BUILTIN macro.
12678169689Skan
12679169689Skan	* c-decl.c (duplicate_decls): Remove code to handle builtin
12680169689Skan	functions prototyped without an argument list.
12681169689Skan
12682169689Skan2003-07-26  Danny Smith  <dannysmith@users.sourceforge.net>
12683169689Skan
12684169689Skan	* config/i386/winnt.c: Revert 2003-07-08 change.
12685169689Skan	(i386_pe_section_type_flags): Remove error_with_decl here too.
12686169689Skan
12687169689Skan2003-07-26  Gabriel Dos Reis  <gdr@integrable-solutions.net>
12688169689Skan
12689169689Skan	* config/arm/pe.c (arm_mark_dllimport): Don't use xxx_with_decl.
12690169689Skan	* config/mcore/mcore.c (mcore_mark_dllimport): Likewise.
12691169689Skan	* config/v850/v850.c (v850_handle_data_area_attribute): Likewise.
12692169689Skan	(v850_handle_data_area_attribute): Likewise.
12693169689Skan
12694169689Skan2003-07-26  Geoffrey Keating  <geoffk@apple.com>
12695169689Skan
12696169689Skan	* varasm.c (output_constant_def_contents): Use
12697169689Skan	ASM_DECLARE_CONSTANT_NAME if defined.
12698169689Skan	* doc/tm.texi (Label Output): Document ASM_DECLARE_CONSTANT_NAME.
12699169689Skan	* config/darwin.h (ASM_DECLARE_OBJECT_NAME): Ensure zero-sized
12700169689Skan	objects get at least one byte to prevent assembler problems.
12701169689Skan	(ASM_DECLARE_CONSTANT_NAME): New.
12702169689Skan
12703169689Skan	* Makefile.in (libbackend.o): Remove options_.h.
12704169689Skan	(mostlyclean): Likewise.
12705169689Skan
12706169689Skan	* config/rs6000/rs6000.c (rs6000_output_function_epilogue): Don't
12707169689Skan	insert a label at the end of an function under Mach-O.
12708169689Skan
12709169689Skan	* c-decl.c (c_static_assembler_name): Remove TREE_STATIC test.
12710169689Skan
12711169689Skan2003-07-25  Aldy Hernandez  <aldyh@redhat.com>
12712169689Skan
12713169689Skan	* config/rs6000/rs6000.c (is_ev64_opaque_type): Only check pointer
12714169689Skan	equality.
12715169689Skan	(spe_init_builtins): Declare __ev64_opaque__ as a builtin type.
12716169689Skan
12717169689Skan	* config/rs6000/spe.h: Remove __ev64_opaque__ definition.
12718169689Skan
12719169689Skan2003-07-25  Gabriel Dos Reis  <gdr@integrable-solutions.net>
12720169689Skan
12721169689Skan	* doc/passes.texi (Passes): Mention pretty-printing and
12722169689Skan	diagnostic files.
12723169689Skan
12724169689Skan2003-07-25  Nathan Sidwell  <nathan@codesourcery.com>
12725169689Skan
12726169689Skan	* doc/extend.texi (Function Attributes): GNU C++ does now allow
12727169689Skan	unused parameter decls.
12728169689Skan	(Attribute Syntax): GNU C++ does not allow label attributes to be
12729169689Skan	after the ':'.
12730169689Skan
12731169689Skan2003-07-25  Gabriel Dos Reis  <gdr@integrable-solutions.net>
12732169689Skan
12733169689Skan	* objc/objc-act.c (objc_check_decl): Don't use xxx_with_decl.
12734169689Skan	(objc_declare_class): Likewise.
12735169689Skan	(error_with_ivar): Likewise.
12736169689Skan	(start_class): Likewise.
12737169689Skan	(warn_with_method): Likewise.
12738169689Skan
12739169689Skan2003-07-25  Gabriel Dos Reis  <gdr@integrable-solutions.net>
12740169689Skan
12741169689Skan	Remove pedwarn_with_decl, warning_with_decl and error_with_decl
12742169689Skan	from GCC.
12743169689Skan	* calls.c (try_to_integrate): Don't use xxx_with_decl.
12744169689Skan	(expand_call): Likewise.
12745169689Skan	* dwarfout.c (output_reg_number): Likewise.
12746169689Skan	* expr.c (expand_expr): Likewise.
12747169689Skan	* function.c (assign_temp): Likewise.
12748169689Skan	(uninitialized_vars_warning): Likewise.
12749169689Skan	(setjmp_args_warning): Likewise.
12750169689Skan	(expand_function_end): Likewise.
12751169689Skan	* stmt.c (fixup_gotos): Likewise.
12752169689Skan	(warn_about_unused_variables): Likewise.
12753169689Skan	(expand_end_bindings): Likewise.
12754169689Skan	* stor-layout.c (layout_decl): Likewise.
12755169689Skan	(place_field): Likewise.
12756169689Skan	* toplev.c (check_global_declarations): Likewise.
12757169689Skan	(rest_of_handle_inlining): Likewise.
12758169689Skan	(default_tree_printer): New function.
12759169689Skan	(general_init): Initialize diagnostic machinery before routing
12760169689Skan	signals to the ICE machinery.  Set default tree printer.
12761169689Skan	* toplev.h (pedwarn_with_decl): Remove declaration.
12762169689Skan	(warning_with_decl): Likewise.
12763169689Skan	(error_with_decl): Likewise.
12764169689Skan	(pedwarn): Remove attribute for the time being.
12765169689Skan	* tree-inline.c (expand_call_inline): Don't use xxx_with_decl.
12766169689Skan	* varasm.c (named_section): Likewise.
12767169689Skan	(make_decl_rtl): Likewise.
12768169689Skan	(assemble_variable): Likewise.
12769169689Skan	(merge_weak): Likewise.
12770169689Skan	(declare_weak): Likewise.
12771169689Skan
12772169689Skan	* diagnostic.h: Move non-diagnostic stuff into pretty-print.h.
12773169689Skan	* diagnostic.c: Move non-diagnostic stuff into pretty-print.c.
12774169689Skan	(format_with_decl): Remove.
12775169689Skan	(diagnostic_for_decl): Likewise.
12776169689Skan	(pedwarn_with_decl): Likewise.
12777169689Skan	(warning_with_decl): Likewise.
12778169689Skan	(error_with_decl): Likewise.
12779169689Skan	(diagnostic_initialize): Adjust.
12780169689Skan	(diagnostic_count_diagnostic): Likewise.
12781169689Skan	(announce_function): Likewise.
12782169689Skan	(lhd_print_error_function): Likewise.
12783169689Skan	(diagnostic_report_current_module): Likewise.
12784169689Skan	(default_diagnostic_starter): Likewise.
12785169689Skan	(diagnostic_report_diagnostic): Likewise.
12786169689Skan	(default_diagnostic_finalizer): Likewise.
12787169689Skan	(verbatim): Likewise.
12788169689Skan	(error): Likewise.
12789169689Skan	(warning): Likewise.
12790169689Skan	* opts.c (common_handle_option): Likewise.
12791169689Skan	* pretty-print.c: New file.
12792169689Skan	* c-pretty-print.h (pp_base): Override.
12793169689Skan	* c-pretty-print.c: Adjust use of macros throughout.
12794169689Skan	(pp_buffer): New macro.
12795169689Skan	(pp_newline): Likewise.
12796169689Skan	* c-objc-common.c (c_tree_printer): Adjust prototype. Tidy.
12797169689Skan	* Makefile.in (DIAGNOSTIC_H): New variable.
12798169689Skan	(c-errors.o): Use it.
12799169689Skan	(c-objc-common.o): Likewise.
12800169689Skan	(c-common.o): Likewise.
12801169689Skan	(c-opts.o): Likewise.
12802169689Skan	(c-format.o): Likewise.
12803169689Skan	(diagnostic.o): Likewise.
12804169689Skan	(opts.o): Likewise.
12805169689Skan	(toplev.o): Likewise.
12806169689Skan	(rtl-error.o): Likewise.
12807169689Skan	(dwarf2out.o): Likewise.
12808169689Skan	(jump.o): Likewise.
12809169689Skan	(pretty-print.o): New rule.
12810169689Skan
12811169689Skan2003-07-24  Roger Sayle  <roger@eyesopen.com>
12812169689Skan
12813169689Skan	* builtins.def (BUILT_IN_PRINTF, BUILT_IN_FPRINTF): Changed from
12814169689Skan	front-end builtins to normal builtins, using DEF_LIB_BUILTIN.
12815169689Skan	(BUILT_IN_PRINTF_UNLOCKED, BUILT_IN_FPRINTF_UNLOCKED): Changed
12816169689Skan	from front-end to normal builtins, using DEF_EXT_LIB_BUILTIN.
12817169689Skan	(DEF_FRONT_END_LIB_BUILTIN): Delete.
12818169689Skan	(DEF_EXT_FRONT_END_LIB_BUILTIN): Delete.
12819169689Skan	(BUILT_IN_FWRITE_UNLOCKED): Wrap long line.
12820169689Skan
12821169689Skan	* builtins.c (build_string_literal): New function to construct
12822169689Skan	a char* pointer to a string literal.
12823169689Skan	(expand_builtin_fputs): Change 2nd argument from "int ignore" to
12824169689Skan	"rtx target" to be consistent with other expand_builtin_* functions.
12825169689Skan	Change 3rd argument from "int unlocked" to "bool unlocked".
12826169689Skan	(expand_builtin_printf): Rewrite of c_expand_builtin_printf from
12827169689Skan	c-common.c to avoid front-end dependencies.  Optimize printf("")
12828169689Skan	as a no-op when the result isn't required.  Handle embedded NULs
12829169689Skan	in format string.
12830169689Skan	(expand_builtin_fprintf): A rewrite of c_expand_builtin_fprintf
12831169689Skan	from c-common.c to avoid front-end dependencies.  Likewise, optimize
12832169689Skan	fprintf(fp,"") as a no-op when the result isn't required, evaluating
12833169689Skan	fp for side-effects.  Handle embedded NULs in format string.
12834169689Skan	(expand_builtin_sprintf): Fix typo.
12835169689Skan	(expand_builtin): Don't expand BUILT_IN_FPRINT{,_UNLOCKED} when not
12836169689Skan	optimizing.  Adjust calls of expand_builtin_fputs to match the API
12837169689Skan	change. Expand BUILT_IN_PRINTF and BUILT_IN_PRINTF_UNLOCKED using
12838169689Skan	expand_builtin_printf.  Likewise, expand BUILT_IN_FPRINTF_UNLOCKED
12839169689Skan	and BUILT_IN_FPRINTF using expand_builtin_fprintf.
12840169689Skan
12841169689Skan	* c-common.c (is_valid_printf_arglist): Delete.
12842169689Skan	(c_expand_builtin): Delete.
12843169689Skan	(c_expand_builtin_printf): Moved to builtins.c. Delete.
12844169689Skan	(c_expand_builtin_fprintf): Moved to builtins.c.  Delete.
12845169689Skan	(c_expand_expr): No longer treat CALL_EXPRs specially.
12846169689Skan	(CALLED_AS_BUILT_IN): Delete.
12847169689Skan
12848169689Skan2003-07-24  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
12849169689Skan
12850169689Skan	PR optimization/11631
12851169689Skan	* gcse.c (store_motion): Connect infinite loops to exit.
12852169689Skan
12853169689Skan2003-07-24  Jason Merrill  <jason@redhat.com>
12854169689Skan
12855169689Skan	* tree.h (boolean_type_node): Move from C/C++/Java frontends.
12856169689Skan	(boolean_true_node, boolean_false_node): Likewise.
12857169689Skan	(enum tree_index): Add TI_BOOLEAN_{TYPE,FALSE,TRUE}.
12858169689Skan	* tree.c (build_common_tree_nodes): Init boolean_type_node.
12859169689Skan	(build_common_tree_nodes_2): Init boolean_{true,false}_node.
12860169689Skan	* stor-layout.c (set_sizetype): Handle an early BOOLEAN_TYPE.
12861169689Skan	* c-common.h (truthvalue_type_node): Renamed from boolean_type_node.
12862169689Skan	(truthvalue_true_node): Renamed from boolean_true_node.
12863169689Skan	(truthvalue_false_node): Renamed from boolean_false_node.
12864169689Skan	* c-decl.c: Just set truthvalue_* to integer_*.
12865169689Skan	* c-*.[ch]: s/boolean/truthvalue/.  s/c_bool/boolean/.
12866169689Skan
12867169689Skan2003-07-24  Roger Sayle  <roger@eyesopen.com>
12868169689Skan
12869169689Skan	* c-decl.c (match_builtin_function_types): New subroutine of
12870169689Skan	duplicate_decls to test whether a redeclaration of a builtin
12871169689Skan	function is suitably close, i.e. the return type and all of
12872169689Skan	the argument types have the same modes as the builtin expects.
12873169689Skan	(duplicate_decls): Fuzzy type matching for builtin functions
12874169689Skan	moved to match_builtin_function_types.
12875169689Skan
12876169689Skan2003-07-24  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
12877169689Skan
12878169689Skan	* cfgloopmanip.c (duplicate_loop_to_header_edge): Update irreducible
12879169689Skan	flag correctly.
12880169689Skan
12881169689Skan2003-07-24  Zack Weinberg  <zack@codesourcery.com>
12882169689Skan
12883169689Skan	* c-decl.c: Search-and-replace change 'binding level' to
12884169689Skan	'scope' in commentary.
12885169689Skan	(struct binding_level): Now struct c_scope.
12886169689Skan	(current_binding_level): Now current_scope.
12887169689Skan	(free_binding_level): Now scope_freelist.
12888169689Skan	(current_function_level): Now current_function_scope.
12889169689Skan	(global_binding_level): Now global_scope.
12890169689Skan	(make_binding_level): Now make_scope.
12891169689Skan	(pop_binding_level): Now pop_scope.
12892169689Skan
12893169689Skan2003-07-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12894169689Skan
12895169689Skan	* configure.in (libgcc_visibility): Add missing whitespace.
12896169689Skan
12897169689Skan2003-07-24  Richard Henderson  <rth@redhat.com>
12898169689Skan
12899169689Skan	* libgcc-std.ver (GCC_3.3.1): Export __gcc_personality_sj0,
12900169689Skan	__gcc_personality_v0.
12901169689Skan
12902169689Skan2003-07-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
12903169689Skan
12904169689Skan	* Makefile.in: Replace pwd by ${PWD_COMMAND}.
12905169689Skan
12906169689Skan2003-07-24  Nathan Sidwell  <nathan@codesourcery.com>
12907169689Skan
12908169689Skan	* doc/invoke.texi (-fprofile-arcs, -ftest-coverage): Update
12909169689Skan	documentation missed from my 2003-07-09 patch.
12910169689Skan
12911169689Skan2003-07-24  Nathanael Nerode  <neroden@gcc.gnu.org>
12912169689Skan
12913169689Skan	* aclocal.m4 (_gcc_COMPUTE_GAS_VERSION): Set patch level to 0 if
12914169689Skan	it's not provided.
12915169689Skan	* configure: Rebuild.
12916169689Skan
12917169689Skan2003-07-24  Steven Bosscher  <steven@gcc.gnu.org>
12918169689Skan
12919169689Skan	PR c/10602
12920169689Skan	* c-typeck.c (type_lists_compatible_p): Do not compare
12921169689Skan	arguments if one of them is an error_mark_node
12922169689Skan
12923169689Skan2003-07-24  Alan Modra  <amodra@bigpond.net.au>
12924169689Skan
12925169689Skan	* config/rs6000/rs6000.c (rs6000_emit_prologue): Save fp regs inline
12926169689Skan	if current_function_calls_eh_return.
12927169689Skan
12928169689Skan2003-07-23  Mark Mitchell  <mark@codesourcery.com>
12929169689Skan
12930169689Skan	* doc/c-tree.texi (OFFSET_TYPE): Update description.
12931169689Skan
12932169689Skan2003-07-23  Bob Wilson  <bob.wilson@acm.org>
12933169689Skan
12934169689Skan	* config/xtensa/crti.asm (_init, _fini): Increase frame size to 64.
12935169689Skan	* config/xtensa/lib1funcs.asm (__mulsi3, __udivsi3, __divsi3,
12936169689Skan	__umodsi3, __modsi3): Increase frame size to 32.
12937169689Skan
12938169689Skan2003-07-23  Geoffrey Keating  <geoffk@apple.com>
12939169689Skan
12940169689Skan	* config/rs6000/host-darwin.c: ANSIfy, update comment for sigaltstack
12941169689Skan	prototype.
12942169689Skan
12943169689Skan2003-07-23  Mark Mitchell  <mark@codesourcery.com>
12944169689Skan
12945169689Skan	* doc/c-tree.texi (Types): Update documentation for OFFSET_TYPE.
12946169689Skan
12947169689Skan	PR optimization/10679
12948169689Skan	* tree-inline.c (inlinable_function_p): Honor MIN_INLINE_INSNS.
12949169689Skan
12950169689Skan2003-07-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
12951169689Skan
12952169689Skan	PR target/11607 and PR target/11516
12953169689Skan	* pa.md (extzv, extv, insv): Revert latter half of last patch.
12954169689Skan
12955169689Skan2003-07-22  Mark Mitchell  <mark@codesourcery.com>
12956169689Skan
12957169689Skan	* fold-const.c (force_fit_type): Handle OFFSET_TYPE.
12958169689Skan	* varasam.c (output_constant): Likewise.
12959169689Skan
12960169689Skan2003-07-22  Kazu Hirata  <kazu@cs.umass.edu>
12961169689Skan
12962169689Skan	* alias.c: Fix comment formatting.
12963169689Skan	* c-common.c: Likewise.
12964169689Skan	* c-decl.c: Likewise.
12965169689Skan	* c-opts.c: Likewise.
12966169689Skan	* combine.c: Likewise.
12967169689Skan	* cpplib.c: Likewise.
12968169689Skan	* diagnostic.c: Likewise.
12969169689Skan	* dojump.c: Likewise.
12970169689Skan	* final.c: Likewise.
12971169689Skan	* fold-const.c: Likewise.
12972169689Skan	* gcc.c: Likewise.
12973169689Skan	* gcse.c: Likewise.
12974169689Skan	* ggc-page.c: Likewise.
12975169689Skan	* jump.c: Likewise.
12976169689Skan	* loop.c: Likewise.
12977169689Skan	* mips-tfile.c: Likewise.
12978169689Skan	* recog.c: Likewise.
12979169689Skan	* regclass.c: Likewise.
12980169689Skan	* regmove.c: Likewise.
12981169689Skan	* tree.c: Likewise.
12982169689Skan	* tree.h: Likewise.
12983169689Skan
12984169689Skan2003-07-22  Per Bothner  <pbothner@apple.com>
12985169689Skan
12986169689Skan	* line-map.c (add_line_map):  Handle invalid LEAVE request.
12987169689Skan	Fixes PR preprocessor/11361.
12988169689Skan
12989169689Skan2003-07-22  Per Bothner  <pbothner@apple.com>
12990169689Skan
12991169689Skan	* diagnostic.c.(diagnostic_report_current_module):  Update to match
12992169689Skan	2003-06-05 changes to push_srcloc and pop_srcloc.
12993169689Skan
12994169689Skan2003-07-22  Wolfgang Bangerth  <bangerth@dealii.org>
12995169689Skan
12996169689Skan	* doc/trouble.texi: Better document two-stage name lookup.
12997169689Skan
12998169689Skan2003-07-22  Eric Christopher <echristo@redhat.com>
12999169689Skan
13000169689Skan	* config/s390.c (s390_valid_pointer_mode): New.
13001169689Skan	(TARGET_VALID_POINTER_MODE): Use.
13002169689Skan	(s390_emit_prologue): Add tpf profiling hooks.
13003169689Skan	(s390_emit_epilogue): Ditto.
13004169689Skan	* config/s390.h (MASK_TPF): New.
13005169689Skan	(TARGET_TPF): Use.
13006169689Skan	(POINTERS_EXTEND_UNSIGNED): Define.
13007169689Skan	* config/s390.md (ptr_extend): New pattern.
13008169689Skan
13009169689Skan2003-07-22  Zack Weinberg  <zack@codesourcery.com>
13010169689Skan
13011169689Skan	* hashtable.c (approx_sqrt): Make static.
13012169689Skan	* hashtable.h: Don't prototype approx_sqrt.
13013169689Skan	* line-map.c (init_line_maps): Rename linemap_init.
13014169689Skan	(free_line_maps): Rename linemap_free.
13015169689Skan	(add_line_map): Rename linemap_add.
13016169689Skan	(lookup_line): Rename linemap_lookup.
13017169689Skan	(print_containing_files): Rename linemap_print_containing_files.
13018169689Skan	* linemap.h: Update to match.
13019169689Skan
13020169689Skan	* cpperror.c, cppinit.c, cpplib.c, cppmacro.c: Update calls to
13021169689Skan	linemap routines to use new names.
13022169689Skan
13023169689Skan2003-07-16  Nathan Sidwell  <nathan@codesourcery.com>
13024169689Skan
13025169689Skan	* c-common.c (handle_packed_attribute): Don't pack a struct via a
13026169689Skan	typedef. Propagate packedness from a main variant.
13027169689Skan
13028169689Skan2003-07-22  Nathanael Nerode  <neroden@gcc.gnu.org>
13029169689Skan
13030169689Skan	* Makefile.in (install-common): Add dependency on installdirs.
13031169689Skan
13032169689Skan2003-07-21  Alexandre Oliva  <aoliva@redhat.com>
13033169689Skan
13034169689Skan	* c-common.c (c_common_type_for_mode): Return integer types for
13035169689Skan	pointer modes.
13036169689Skan
13037169689Skan2003-07-22  Geoffrey Keating  <geoffk@apple.com>
13038169689Skan
13039169689Skan	* c-decl.c (start_decl): Don't call maybe_apply_pragma_weak here.
13040169689Skan	(finish_decl): Call maybe_apply_pragma_weak here.
13041169689Skan	(grokdeclarator): Check that DECL_ASSEMBLER_NAME isn't set before
13042169689Skan	TREE_PUBLIC and TREE_STATIC are decided.
13043169689Skan	(start_function): Move call to maybe_apply_pragma_weak.  Check that
13044169689Skan	DECL_ASSEMBLER_NAME isn't set too early.
13045169689Skan
13046169689Skan	* cpplex.c (_cpp_process_line_notes): Mention option name in
13047169689Skan	trigraphs warning.
13048169689Skan
13049169689Skan2003-07-22  Kazu Hirata  <kazu@cs.umass.edu>
13050169689Skan
13051169689Skan	* combine.c (if_then_else_cond): Simplify the comparison of
13052169689Skan	rtx against -1, 0, and 1.
13053169689Skan	* loop.c (check_dbra_loop): Likewise.
13054169689Skan	* optabs.c (emit_conditional_move): Likewise.
13055169689Skan	(emit_conditional_add): Likewise.
13056169689Skan	* config/i386/i386.md (*movsi_or): Likewise.
13057169689Skan	(*movdi_or_rex6): Likewise.
13058169689Skan
13059169689Skan2003-07-22  Jan Hubicka  <jh@suse.cz>
13060169689Skan
13061169689Skan	* cgraphunit.c (cgraph_finalize_compilation_unit): Remove redundant if.
13062169689Skan
13063169689Skan2003-07-21  Neil Booth  <neil@daikokuya.co.uk>
13064169689Skan
13065169689Skan	* cppfiles.c (open_file_pch): Don't put unused entries in the
13066169689Skan	splay tree.  Remove dead code.
13067169689Skan
13068169689Skan2003-07-21  Geoffrey Keating  <geoffk@apple.com>
13069169689Skan
13070169689Skan	* c-common.h (num_in_fnames): Declare.
13071169689Skan	(c_static_assembler_name): Move from here...
13072169689Skan	* c-tree.h (c_static_assembler_name): ... to here.
13073169689Skan	* c-opts.c: Don't include langhooks-def.h.
13074169689Skan	(c_static_assembler_name): Move to c-decl.c.
13075169689Skan	(num_in_fnames): Make externally visible.
13076169689Skan	* c-decl.c: Include langhooks-def.h.
13077169689Skan	(c_static_assembler_name): Move from c-opts.c.
13078169689Skan	* Makefile.in (c-decl.o): Add $(LANGHOOKS_DEF_H).
13079169689Skan	(c-opts.o): Remove $(LANGHOOKS_DEF_H).
13080169689Skan
13081169689Skan	* c-pragma.c (maybe_apply_pragma_weak): Don't get DECL_ASSEMBLER_NAME
13082169689Skan	when it's not needed.
13083169689Skan
13084169689Skan2003-07-21  Jakub Jelinek  <jakub@redhat.com>
13085169689Skan
13086169689Skan	* config/rs6000/rs6000.h (machine_function): Add ra_need_lr.
13087169689Skan	* config/rs6000/rs6000.c (rs6000_return_addr): Set it.
13088169689Skan	(rs6000_emit_prologue): Save FPRs inline if set.
13089169689Skan
13090169689Skan2003-07-21  H.J. Lu <hongjiu.lu@intel.com>
13091169689Skan
13092169689Skan	* config/ia64/ia64.md (prefetch): Support predicate.
13093169689Skan
13094169689Skan2003-07-21  Josef Zlomek  <zlomekj@suse.cz>
13095169689Skan
13096169689Skan	* cfgcleanup.c (merge_blocks_move_successor_nojumps): Use tablejump_p.
13097169689Skan	* rtlanal.c (tablejump_p): Use next_active_insn for finding the jump
13098169689Skan	table.
13099169689Skan
13100169689Skan2003-07-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
13101169689Skan
13102169689Skan	PR optimization/11536
13103169689Skan	* unroll.c (loop_iterations): Do not replace a register holding
13104169689Skan	the final value by its equivalent before the loop if it is not
13105169689Skan	invariant.
13106169689Skan
13107169689Skan2003-07-21  Dave Fluri  <dave.fluri@onlink.net>
13108169689Skan
13109169689Skan	* doc/extend.texi: Fixes to spelling, grammar, and diction.
13110169689Skan
13111169689Skan2003-07-21  Ben Elliston  <bje@wasabisystems.com>
13112169689Skan
13113169689Skan	* doc/invoke.texi (Optimize Options): Replace "it's" with "its".
13114169689Skan	(V850 Options): Spelling fixes.
13115169689Skan
13116169689Skan2003-07-20  Lisa M. Goldstein  <opus@gnu.org>
13117169689Skan
13118169689Skan	* doc/invoke.texi: Fixes to style, grammar and diction.
13119169689Skan
13120169689Skan2003-07-20  Roger Sayle  <roger@eyesopen.com>
13121169689Skan
13122169689Skan	* builtins.def (BUILT_IN_ALLOCA): Remove "#if SMALL_STACK" form.
13123169689Skan	* system.h (SMALL_STACK): Poison obsolete target macro.
13124169689Skan	* doc/tm.texi (SMALL_STACK): Remove target macro documentation.
13125169689Skan
13126169689Skan2003-07-20  Phil Edwards  <pme@gcc.gnu.org>
13127169689Skan
13128169689Skan	* configure.in:  Cache the results of testing for cmp's capabilities.
13129169689Skan	* configure:  Regenerate.
13130169689Skan
13131169689Skan2003-07-20  Mark Mitchell  <mark@codesourcery.com>
13132169689Skan
13133169689Skan	PR debug/11279
13134169689Skan	* dwarf2out.c (gen_enumeration_type_die): Remember that
13135169689Skan	enumerators can be unsigned.
13136169689Skan
13137169689Skan2003-07-19  Zack Weinberg  <zack@codesourcery.com>
13138169689Skan
13139169689Skan	* c-decl.c (named_labels, shadowed_labels, label_level_chain)
13140169689Skan	(push_label_level, pop_label_level): Kill.
13141169689Skan	(struct binding_level): Rename level_chain to outer.
13142169689Skan	Add outer_function field.  Change parm_flag, function_body,
13143169689Skan	keep, keep_if_subblocks to 1-bit bitfields of type bool.
13144169689Skan	(current_function_level): New variable.
13145169689Skan	(keep_next_level_flag, keep_next_if_subblocks): Change type to bool.
13146169689Skan	(keep_next_level, declare_parm_level, warn_if_shadowing):
13147169689Skan	Update to match.
13148169689Skan	(struct language_function): Kill named_labels, shadowed_labels fields.
13149169689Skan	(c_init_decl_processing, start_function, c_push__function_context)
13150169689Skan	(c_pop_function_context): No need to muck with named_labels nor
13151169689Skan	shadowed_labels.
13152169689Skan
13153169689Skan	(make_binding_level): No need to clear the structure here.
13154169689Skan	(pop_binding_level): Always operate on current_binding_level.
13155169689Skan	Update current_function_level if necessary.
13156169689Skan	(pushlevel): Don't clear named_labels.  Update current_function_level
13157169689Skan	if necessary.  Use "true" and "false" where appropriate.
13158169689Skan	(poplevel): Diagnose labels defined but not used, or vice
13159169689Skan	versa, and clear out label-meanings leaving scope, while
13160169689Skan	walking down the decls list, for all binding levels.
13161169689Skan	Handle LABEL_DECLs appearing in the shadowed list.
13162169689Skan	pop_binding_level takes no arguments.
13163169689Skan	(pushdecl_function_level): Use current_function_level.
13164169689Skan
13165169689Skan	(make_label, bind_label): New static functions.
13166169689Skan	(declare_label): New exported function.
13167169689Skan	(lookup_label, define_label): Rewritten for new data structure.
13168169689Skan	(shadow_label): Kill.
13169169689Skan
13170169689Skan	* c-tree.h: Prototype declare_label; don't prototype
13171169689Skan	push_label_level, pop_label_level, nor shadow_label.
13172169689Skan	* c-parse.in: Remove all calls to push_label_level and
13173169689Skan	pop_label_level.  Use declare_label for __label__ decls.
13174169689Skan
13175169689Skan	* doc/extend.texi: Clarify that __label__ can be used to
13176169689Skan	declare labels with local scope in any nested block, not
13177169689Skan	just statement expressions.  Cross-reference nested functions
13178169689Skan	section from local labels section.
13179169689Skan
13180169689Skan2003-07-19  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
13181169689Skan
13182169689Skan	* sched-rgn.c (find_rgns): Initialize current_edge correctly.
13183169689Skan
13184169689Skan2003-07-19  Phil Edwards  <pme@gcc.gnu.org>
13185169689Skan
13186169689Skan	* doc/makefile.texi (restrap, profiledbootstrap):  Document targets.
13187169689Skan
13188169689Skan2003-07-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13189169689Skan
13190169689Skan	* fixinc/fixfixes.c fixinc/fixincl.c fixinc/fixlib.c
13191169689Skan	fixinc/server.c objc/objc-act.c: Remove unnecessary casts.
13192169689Skan
13193169689Skan2003-07-19  Ulrich Weigand  <uweigand@de.ibm.com>
13194169689Skan
13195169689Skan	* config/s390/s390.c (legitimize_pic_address): Access local symbols
13196169689Skan	relative to the GOT instead of relative to the literal pool base.
13197169689Skan	(s390_output_symbolic_const): Handle new GOT-relative accesses.
13198169689Skan	* config/s390/s390.md ("call"): Access local functions and PLT stubs
13199169689Skan	relative to the GOT instead of relative to the literal pool base.
13200169689Skan	("call_value"): Likewise.
13201169689Skan	("call_value_tls"): Likewise.
13202169689Skan
13203169689Skan	* config/s390/s390.c (s390_chunkify_start): Remove pool anchor
13204169689Skan	reloading.  Support LTREL_BASE / LTREL_OFFSET construct.
13205169689Skan	(s390_chunkify_finish): Likewise.
13206169689Skan	(s390_chunkify_cancel): Likewise.
13207169689Skan	(s390_reorg): Adapt caller.
13208169689Skan	(find_base_register_in_addr,
13209169689Skan	find_base_register_ref, replace_base_register_ref): Delete.
13210169689Skan	(find_ltrel_base, replace_ltrel_base): New functions.
13211169689Skan	(find_constant_pool_ref): Handle LTREL_BASE unspecs.
13212169689Skan	(s390_decompose_address): Handle LTREL_BASE unspecs.  Optimize
13213169689Skan	base vs. index register usage.
13214169689Skan	(struct constant_pool): Remove 'anchor'.
13215169689Skan	(s390_add_anchor): Delete.
13216169689Skan	(s390_dump_pool): Remove anchor handling.
13217169689Skan	* config/s390/s390.md ("reload_anchor"): Remove.
13218169689Skan
13219169689Skan	* config/s390/s390.c (s390_split_branches): Use LTREL_BASE/OFFSET.
13220169689Skan	(s390_load_got): New function.  Use LTREL_BASE/OFFSET.
13221169689Skan	(s390_emit_prologue): Use it.
13222169689Skan	* config/s390/s390.md ("builtin_longjmp", "builtin_setjmp_setup",
13223169689Skan	"builtin_setjmp_receiver"): Cleanup.  Use s390_load_got.  Do not
13224169689Skan	hard-code register 14.
13225169689Skan	* config/s390/s390-protos.h (s390_load_got): Declare.
13226169689Skan
13227169689Skan	* config/s390/s390.c (NR_C_MODES, constant_modes, gen_consttable):
13228169689Skan	Support TImode constants.
13229169689Skan	* config/s390/s390.md ("consttable_ti"): New.
13230169689Skan	("consttable_si", "consttable_di"): Handle TLS symbols correctly.
13231169689Skan
13232169689Skan	* config/s390/s390.md (UNSPEC_LTREL_OFFSET, UNSPEC_LTREL_BASE,
13233169689Skan	UNSPEC_GOTENT, UNSPEC_GOT, UNSPEC_GOTOFF, UNSPEC_PLT, UNSPEC_PLTOFF,
13234169689Skan	UNSPEC_RELOAD_BASE, UNSPECV_POOL, UNSPECV_POOL_START, UNSPECV_POOL_END,
13235169689Skan	UNSPECV_POOL_QI, UNSPECV_POOL_HI, UNSPECV_POOL_SI, UNSPECV_POOL_DI,
13236169689Skan	UNSPECV_POOL_TI, UNSPECV_POOL_SF, UNSPECV_POOL_DF, UNSPECV_MAIN_POOL):
13237169689Skan	New symbolic constants.
13238169689Skan	("consttable_qi", "consttable_hi", "consttable_si", "consttable_di",
13239169689Skan	"consttable_sf", "consttable_df", "pool_start_31", "pool_end_31",
13240169689Skan	"pool_start_64", "pool_end_64", "reload_base_31", "reload_base_64",
13241169689Skan	"pool", "literal_pool_31", "literal_pool_64"): Cleanup.  Use
13242169689Skan	symbolic UNSPEC values.
13243169689Skan	* config/s390/s390.c (larl_operand, s390_short_displacement,
13244169689Skan	bras_sym_operand, s390_cannot_force_const_mem,
13245169689Skan	s390_delegitimize_address, s390_decompose_address,
13246169689Skan	legitimize_pic_address, s390_output_symbolic_const,
13247169689Skan	s390_function_profiler): Use symbolic UNSPEC values.
13248169689Skan
13249169689Skan2003-07-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
13250169689Skan
13251169689Skan	* alias.c alloc-pool.c bitmap.c bitmap.h bt-load.c builtins.c
13252169689Skan	c-common.c c-decl.c c-incpath.c c-lex.c c-opts.c c-parse.in
13253169689Skan	c-pragma.c c-typeck.c calls.c cfg.c cfganal.c cfgloop.c cfgrtl.c
13254169689Skan	collect2.c combine.c conflict.c coverage.c cppexp.c cppfiles.c
13255169689Skan	cpphash.c cppinit.c cpplex.c cpplib.c cppmacro.c cppspec.c
13256169689Skan	cpptrad.c cse.c cselib.c dbxout.c defaults.h df.c dominance.c
13257169689Skan	dwarf2out.c dwarfout.c emit-rtl.c except.c expmed.c expr.c final.c
13258169689Skan	fix-header.c flow.c fold-const.c function.c gcc.c gccspec.c gcov.c
13259169689Skan	gcse.c genattr.c genattrtab.c genautomata.c genconditions.c
13260169689Skan	genemit.c genextract.c genoutput.c genrecog.c gensupport.c
13261169689Skan	ggc-page.c ggc-simple.c global.c graph.c haifa-sched.c hashtable.c
13262169689Skan	integrate.c jump.c langhooks.c lcm.c line-map.c local-alloc.c
13263169689Skan	loop.c mips-tdump.c mips-tfile.c mkdeps.c optabs.c params.c
13264169689Skan	postreload.c prefix.c print-tree.c protoize.c ra-build.c
13265169689Skan	ra-colorize.c ra-rewrite.c ra.c recog.c reg-stack.c regclass.c
13266169689Skan	regmove.c regrename.c reload.c reload1.c reorg.c resource.c
13267169689Skan	sbitmap.c sched-deps.c sched-rgn.c sched-vis.c sdbout.c
13268169689Skan	simplify-rtx.c ssa-ccp.c ssa.c stmt.c stor-layout.c timevar.c
13269169689Skan	tlink.c toplev.c tree-dump.c tree.c unroll.c unwind-dw2-fde.c
13270169689Skan	varasm.c varray.c vmsdbgout.c xcoffout.c: Remove unnecessary
13271169689Skan	casts.
13272169689Skan
13273169689Skan2003-07-19  Gabriel Dos Reis  <gdr@integrable-solutions.net>
13274169689Skan
13275169689Skan	* c-pragma.c (apply_pragma_weak): Don't use warning_with_decl.
13276169689Skan	* toplev.h (warning): Remove attribute.
13277169689Skan
13278169689Skan2003-07-19  Gabriel Dos Reis  <gdr@integrable-solutions.net>
13279169689Skan
13280169689Skan	* c-decl.c (c_finish_incomplete_decl): Don't use xxx_with_decl.
13281169689Skan	(pop_label_level): Likewise.
13282169689Skan	(duplicate_decls): Likewise.
13283169689Skan	(implicitly_declare): Likewise.
13284169689Skan	(shadow_label): Likewise.
13285169689Skan	(start_decl): Likewise.
13286169689Skan	(finish_decl): Likewise.
13287169689Skan	(grokdeclarator): Likewise.
13288169689Skan	(get_parm_info): Likewise.
13289169689Skan	(detect_field_duplicates): Likewise.
13290169689Skan	(finish_struct): Likewise.
13291169689Skan	(start_function): Likewise.
13292169689Skan	(store_parm_decls): Likewise.
13293169689Skan	(finish_function): Likewise.
13294169689Skan	(c_expand_body_1): Likewise.
13295169689Skan	(check_for_loop_decls): Likewise.
13296169689Skan	(merge_translation_unit_decls): Likewise.
13297169689Skan
13298169689Skan2003-07-19  Neil Booth  <neil@daikokuya.co.uk>
13299169689Skan
13300169689Skan	* common.opt:  Document --param.
13301169689Skan	* opts.c (columns, undocumented_msg): New.
13302169689Skan	(print_help): Get number of columns from environment.  Print
13303169689Skan	--param help.  Tweak newline handling.
13304169689Skan	(print_param_help): New.
13305169689Skan	(print_filtered_help): Better handling of duplicates.  Complain
13306169689Skan	about undocumented switches.
13307169689Skan	(print_switch): New.
13308169689Skan	(wrap_help): Improve wrapping, use COLUMNS.
13309169689Skan	* opts.sh: Ignore comments in records.
13310169689Skan	* params.def: Fix typos and remove trailing periods.
13311169689Skan	* toplev.c (display_help): Don't dump --param help.
13312169689Skan	* doc/sourcebuild.texi: Update.
13313169689Skan
13314169689Skan2003-07-18  Richard Henderson  <rth@redhat.com>
13315169689Skan
13316169689Skan	PR target/11556
13317169689Skan	* optabs.c (prepare_operand): Fail gracefully instead of abort
13318169689Skan	if the predicate doesn't satisfy.
13319169689Skan	(gen_cond_trap): Allow prepare_operand to fail.
13320169689Skan
13321169689Skan2003-07-19  Gabriel Dos Reis  <gdr@integrable-solutions.net>
13322169689Skan
13323169689Skan	* c-common.c: Don't undefine GCC_DIAG_STYLE.
13324169689Skan	(fname_decl): Don't use xxx_with_decl.
13325169689Skan	(c_add_case_label): Likewise.
13326169689Skan	(handle_section_attribute): Likewise.
13327169689Skan	(handle_alias_attribute): Likewise.
13328169689Skan	(handle_no_instrument_function_attribute): Likewise.
13329169689Skan	(handle_no_limit_stack_attribute): Likewise.
13330169689Skan	* c-objc-common.c (c_tree_printer): Print IDENTIFIER_NODEs.
13331169689Skan	* c-format.c (gcc_cdiag_char_table): Add '%E' format-specifier.
13332169689Skan
13333169689Skan2003-07-19  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
13334169689Skan
13335169689Skan	* Makefile.in (ifcvt.o): Add cfgloop.h.
13336169689Skan	* basic-block.h (EDGE_LOOP_EXIT): New flag.
13337169689Skan	* cfgrtl.c (rtl_verify_flow_info_1): Handle it correctly.
13338169689Skan	* ifcvt.c: Include cfgloop.h.
13339169689Skan	(mark_loop_exit_edges): New static function.
13340169689Skan	(if_convert): Call it.
13341169689Skan	(find_if_header): Ignore branches out of loops.
13342169689Skan
13343169689Skan2003-07-18  Kazu Hirata  <kazu@cs.umass.edu>
13344169689Skan
13345169689Skan	* combine.c (simplify_comparison): Don't share rtx when converting
13346169689Skan	(ne (and (not X) 1) 0) to (eq (and X 1) 0).
13347169689Skan
13348169689Skan2003-07-18  David Edelsohn  <edelsohn@gnu.org>
13349169689Skan
13350169689Skan	* config/rs6000/aix.h (AGGREGATE_PADDING_FIXED): Define.
13351169689Skan	(AGGREGATES_PAD_UPWARD_ALWAYS): Define.
13352169689Skan	(MUST_PASS_IN_STACK): Define.
13353169689Skan	(BLOCK_REG_PADDING): Define.
13354169689Skan
13355169689Skan2003-07-18  Richard Henderson  <rth@redhat.com>
13356169689Skan
13357169689Skan	* cfgrtl.c (force_nonfallthru_and_redirect): Use tablejump_p
13358169689Skan	to skip the addr_vec.
13359169689Skan
13360169689Skan2003-07-18  Alexandre Oliva  <aoliva@redhat.com>
13361169689Skan
13362169689Skan	* combine.c (combinable_i3pat): Don't forbid occurrences of
13363169689Skan	i2dest or i1dest in inner_dest if inner_dest is a mem.
13364169689Skan
13365169689Skan2003-07-18  Jan Hubicka  <jh@suse.cz>
13366169689Skan
13367169689Skan	* cgraph.c (cgraph_remove_node): Clear the hash table slot.
13368169689Skan
13369169689Skan2003-07-17  Jakub Jelinek  <jakub@redhat.com>
13370169689Skan
13371169689Skan	PR target/11087
13372169689Skan	* loop.c (basic_induction_var): Check if convert_modes emitted any
13373169689Skan	instructions. Remove them and return 0 if so.
13374169689Skan
13375169689Skan2003-07-18  Eric Botcazou  <ebotcazou@libertysurf.fr>
13376169689Skan
13377169689Skan	PR optimization/11083
13378169689Skan	* toplev.c (rest_of_handle_addresof): Rename into
13379169689Skan	rest_of_handle_addressof.  Delete unreachable blocks
13380169689Skan	if dead edges were purged after the addressof pass.
13381169689Skan
13382169689Skan2003-07-18  Neil Booth  <neil@daikokuya.co.uk>
13383169689Skan
13384169689Skan	* Makefile.in, configure, configure.in: Remove handling of
13385169689Skan	lang-options.h and options_.h.
13386169689Skan	* toplev.c (struct lang_opt, documented_lang_options): Remove.
13387169689Skan	(display_help): Don't use documented_lang_options.
13388169689Skan
13389169689Skan2003-07-17  Zack Weinberg  <zack@codesourcery.com>
13390169689Skan
13391169689Skan	* c-decl.c (pushdecl_function_level): Make static, return nothing.
13392169689Skan	(kept_level_p): Fold into poplevel.
13393169689Skan	(undeclared_variable): Moved here from c-typeck.c.  Export.
13394169689Skan	* c-tree.h (KEEP_YES, KEEP_NO, KEEP_MAYBE): New #defines.
13395169689Skan	(undeclared_variable): Prototype here.  Don't prototype
13396169689Skan	kept_level_p nor pushdecl_function_level.
13397169689Skan	* c-parse.in: Change first argument to poplevel from
13398169689Skan	"kept_level_p()" to "KEEP_MAYBE".
13399169689Skan	* c-typeck.c (undeclared_variable): Moved to c-decl.c.
13400169689Skan
13401169689Skan2003-07-17  Roger Sayle  <roger@eyesopen.com>
13402169689Skan
13403169689Skan	* simplify-rtx.c (simplify_rtx): Use simplify_gen_binary to swap
13404169689Skan	commutative operands instead of modifying the RTL in-place.
13405169689Skan
13406169689Skan2003-07-17  Mark Mitchell  <mark@codesourcery.com>
13407169689Skan
13408169689Skan	PR optimization/11557
13409169689Skan	* calls.c (flags_from_decl_or_type): Do not set ECF_LIBCALL_BLOCK
13410169689Skan	unless we know which function is being called.
13411169689Skan
13412169689Skan2003-07-17  Roger Sayle  <roger@eyesopen.com>
13413169689Skan
13414169689Skan	* cse.c (fold_rtx): Use swap_commutative_operands_p to determine
13415169689Skan	whether to reorder the operands of a commutative binary operator.
13416169689Skan
13417169689Skan2003-07-17  Roger Sayle  <roger@eyesopen.com>
13418169689Skan
13419169689Skan	* fold-const.c (const_binop): Avoid performing the FP operation at
13420169689Skan	compile-time, if either operand is NaN and we honor signaling NaNs,
13421169689Skan	or if we're dividing by zero and either flag_trapping_math is set
13422169689Skan	or the desired mode doesn't support infinities.
13423169689Skan	(fold_initializer): New function to fold an expression ignoring any
13424169689Skan	potential run-time exceptions or traps.
13425169689Skan	* tree.h (fold_initializer): Prototype here.
13426169689Skan	* c-typeck.c (build_binary_op): Move to the end of the file so
13427169689Skan	that intializer_stack is in scope.  If constructing an initializer,
13428169689Skan	i.e. when initializer_stack is not NULL, use fold_initializer to
13429169689Skan	fold expressions.
13430169689Skan	* simplify-rtx.c (simplify_binary_operation): Likewise, avoid
13431169689Skan	performing FP operations at compile-time, if they would raise an
13432169689Skan	exception at run-time.
13433169689Skan
13434169689Skan2003-07-17  Geoffrey Keating  <geoffk@apple.com>
13435169689Skan
13436169689Skan	PR 11498
13437169689Skan	* Makefile.in (c-opts.o): Add $(LANGHOOKS_DEF_H).
13438169689Skan	(langhooks.o): Add $(GGC_H), gt-langhooks.h.
13439169689Skan	(GTFILES): Add langhooks.c.
13440169689Skan	(gt-langhooks.h): New.
13441169689Skan	* c-common.h (c_static_assembler_name): Prototype.
13442169689Skan	* c-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define.
13443169689Skan	* objc/objc-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define.
13444169689Skan	* c-opts.c: Include langhooks-def.h.
13445169689Skan	(c_static_assembler_name): New.
13446169689Skan	* langhooks.c: Include ggc.h.  Include gt-langhooks.h.
13447169689Skan	(var_labelno): New.
13448169689Skan	(lhd_set_decl_assembler_name): Give static objects with context
13449169689Skan	unique names.
13450169689Skan	* varasm.c (var_labelno): Delete.
13451169689Skan	(make_decl_rtl): Don't change the assembler name once it's set.
13452169689Skan
13453169689Skan	* c-opts.c (this_input_filename): New.
13454169689Skan	(finish_options): Take new parameter, name of file being compiled.
13455169689Skan	Update callers.  Set this_input_filename.
13456169689Skan	(push_command_line_include): Use this_input_filename not
13457169689Skan	main_input_filename.
13458169689Skan
13459169689Skan2003-07-17  Neil Booth  <neil@daikokuya.co.uk>
13460169689Skan
13461169689Skan	* Makefile.in: Depend .pot generation on options.c.
13462169689Skan	* po/exgettext: Add an extra_files variable containing additional
13463169689Skan	files to scan.
13464169689Skan
13465169689Skan2003-07-17  Zack Weinberg  <zack@codesourcery.com>
13466169689Skan
13467169689Skan	* objc/objc-lang.c: Override LANG_HOOKS_WRITE_GLOBALS to
13468169689Skan	c_write_global_declarations.
13469169689Skan
13470169689Skan	* c-decl.c: Fix typos in several comments.  Remove all
13471169689Skan	#if 0 blocks; reindent as needed.  Remove unused argument
13472169689Skan	to declare_parm_level; all callers changed.
13473169689Skan	* c-parse.in: Update calls to declare_parm_level.  Avoid
13474169689Skan	issuing a double warning in some circumstances.
13475169689Skan	* c-typeck.c: Update calls to declare_parm_level.
13476169689Skan	* c-tree.h: Update prototype of declare_parm_level.
13477169689Skan
13478169689Skan	* c-pragma.c (apply_pragma_weak): Don't complain about a
13479169689Skan	redundant #pragma weak.
13480169689Skan
13481169689Skan	* objc/objc-act.c (forward_declare_categories,
13482169689Skan	build_selector_reference_decl, build_class_reference_decl,
13483169689Skan	build_objc_string_decl, synth_forward_declarations,
13484169689Skan	build_protocol_reference): Set TREE_PUBLIC on synthetic
13485169689Skan	forward decl to 0, consistent with eventual definition.
13486169689Skan	Correct comments to match.
13487169689Skan
13488169689Skan	* fixinc/inclhack.def (solaris_mutex_init_2): Escape braces
13489169689Skan	in regexp that don't form a range expression.
13490169689Skan	* fixinc/fixincl.def: Regenerate.
13491169689Skan
13492169689Skan2003-07-17  Richard Henderson  <rth@redhat.com>
13493169689Skan
13494169689Skan	PR target/10907
13495169689Skan	* config/ia64/ia64.c (ia64_epilogue_uses): GP is live at end
13496169689Skan	even with !TARGET_CONST_GP.
13497169689Skan	(ia64_function_ok_for_sibcall): Reject non-local functions.
13498169689Skan
13499169689Skan2003-07-17  Steven Bosscher  <steven@gcc.gnu.org>
13500169689Skan
13501169689Skan	* c-common.c (c_estimate_num_insns_1): Don't handle
13502169689Skan	METHOD_CALL_EXPR.
13503169689Skan	* expr.c (safe_from_p): Likewise.
13504169689Skan	* gengtype.c (adjust_field_tree_exp): Likewise.
13505169689Skan	* stmt.c (warn_if_unused_value): Likewise
13506169689Skan	* tree.c (first_rtl_op): Likewise.
13507169689Skan	* tree.def: Don't define METHOD_CALL_EXPR.
13508169689Skan	* java/lang.c (java_estimate_num_insns_1): Don't handle
13509169689Skan	METHOD_CALL_EXPR.
13510169689Skan
13511169689Skan2003-07-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
13512169689Skan
13513169689Skan	PR other/11466
13514169689Skan	* doc/invoke.texi (SPARC Options): Document "-mlittle-endian"
13515169689Skan	and its restrictions for the SPARC64 port.
13516169689Skan	Move the entry of "-mimpure-text" before that of "-mv8".
13517169689Skan
13518169689Skan2003-07-17  Eric Botcazou <ebotcazou@libertysurf.fr>
13519169689Skan	    Phil Edwards <phil@jaj.com>
13520169689Skan
13521169689Skan	* doc/install.texi (*-*-solaris2*): Document the step-by-step
13522169689Skan	procedure to bootstrap and install.
13523169689Skan	Document the preference for the legacy Sun tools in /usr/bin
13524169689Skan	over the POSIX tools in /usr/xpg4/bin for the build process.
13525169689Skan
13526169689Skan2003-07-17  Neil Booth  <neil@daikokuya.co.uk>
13527169689Skan
13528169689Skan	* c.opt: Document Uncodumented; use it.  Document ObjC options.
13529169689Skan	* opts.c (print_filtered_help): Skip undocumented switches.
13530169689Skan	* opts.h (CL_UNDOCUMENTED): New.
13531169689Skan	* opts.sh: Handle Undocumented.
13532169689Skan	* toplev.c (documented_lang_options): Prevent its becoming empty.
13533169689Skanobjc:
13534169689Skan	* lang-options.h: Remove.
13535169689Skan
13536169689Skan2003-07-16  Ulrich Weigand  <uweigand@de.ibm.com>
13537169689Skan
13538169689Skan	* loop.c (check_ext_dependent_givs): Pass const struct loop *
13539169689Skan	instead of struct loop_info * as argument.  Accept BIVs with
13540169689Skan	increment +/- 1 provided there is a friendly exit test against
13541169689Skan	a loop-invariant value.
13542169689Skan	(strength_reduce): Adapt call to check_ext_dependent_givs.
13543169689Skan
13544169689Skan2003-07-16  J"orn Rennecke <joern.rennecke@superh.com>
13545169689Skan	    Con Bradley <con.bradley@superh.com>
13546169689Skan
13547169689Skan	* sh-protos.h (sh_get_pr_initial_val): Declare.
13548169689Skan	* sh.c (regno_reg_class): Make its elements type enum reg_class.
13549169689Skan	(output_stack_adjust): Remove emit_fn argument.  Add epilogue_p
13550169689Skan	and live_regs_mask arguments.  Changed all callers.
13551169689Skan	(save_schedule_s): New structure.
13552169689Skan	(save_schedule): New typedef.
13553169689Skan	(scavenge_reg, sh5_schedule_saves, sh5_schedule_saves): New functions.
13554169689Skan	(calc_live_regs): For TARGET_SHMEDIA, use leaf_function_p.
13555169689Skan	In interrupts handlers, also save registers that are usually
13556169689Skan	partially saved, and make sure there is at least one general purpose
13557169689Skan	register saved if a target register needs saving.
13558169689Skan	Add casts in comparisons to avoid warnings.
13559169689Skan	(sh_media_register_for_return): return -1 for interrupt handlers.
13560169689Skan	(MAX_SAVED_REGS, MAX_TEMPS): New defines.
13561169689Skan	(sh_expand_prologue): Use sh5_schedule_saves.  Check that any temp
13562169689Skan	registers used are available.
13563169689Skan	Set RTX_FRAME_RELATED_P where appropriate.
13564169689Skan	Add an REG_FRAME_RELATED_EXPR for r0 + offset addressing.
13565169689Skan	(sh_expand_epilogue, sh_set_return_address): Use sh5_schedule_saves.
13566169689Skan	(initial_elimination_offset): Likewise.
13567169689Skan	* sh.h (DWARF_CIE_DATA_ALIGNMENT): Set to -4.
13568169689Skan	(LOCAL_ALIGNMENT, GENERAL_REGISTER_P): Add casts to avoid warnings.
13569169689Skan	(FP_REGISTER_P): Add casts to fix broken handling of unsigned REGNO.
13570169689Skan	(XD_REGISTER_P, TARGET_REGISTER_P): Likewise.
13571169689Skan	(HARD_REGNO_CALL_PART_CLOBBERED): Also yield nonzero for r15,
13572169689Skan	and for target registers.
13573169689Skan	(RETURN_IN_MEMORY): Add parentheses to avoid warnings.
13574169689Skan	(regno_reg_class): Make its elements type enum reg_class.
13575169689Skan	(CONSTRAINT_LEN): Don't use isdigit.
13576169689Skan	(FUNCTION_ARG_REGNO_P): Add casts to avoid warnings.
13577169689Skan	(FUNCTION_ARG): Add parentheses to avoid warnings.
13578169689Skan	(RETURN_ADDR_RTX): Use sh_get_pr_initial_val.
13579169689Skan	(RETURN_ADDR_OFFSET): Define to -1 for TARGET_SH5.
13580169689Skan	(SH_DBX_REGISTER_NUMBER): Add casts to avoid warnings.
13581169689Skan	(EH_RETURN_DATA_REGNO): Use unsigned constants to avoid warnings.
13582169689Skan	* sh.md (xordi3+1): Remove unused variable regno.
13583169689Skan	(return_media): Check that tr0 is available before using it.
13584169689Skan
13585169689Skan2003-07-16  Neil Booth  <neil@daikokuya.co.uk>
13586169689Skan
13587169689Skan	* c.opt: Document more options.
13588169689Skan
13589169689Skan2003-07-16  Roger Sayle  <roger@eyesopen.com>
13590169689Skan
13591169689Skan	* combine.c (subst): Also handle (subreg (const_double ...)) case
13592169689Skan	if created by a substitution, by using the original inner mode.
13593169689Skan
13594169689Skan2003-07-16  Roger Sayle  <roger@eyesopen.com>
13595169689Skan
13596169689Skan	* simplify-rtx.c (simplify_replace_rtx): Convert constant comparisons
13597169689Skan	to MODE_FLOAT constants if FLOAT_STORE_FLAG_VALUE is defined.
13598169689Skan	(simplify_rtx): Likewise.  Simplify (lo_sum (high X) X) as X.
13599169689Skan
13600169689Skan2003-07-16  Andrew Pinski  <pinskia@physics.uc.edu>
13601169689Skan
13602169689Skan	* doc/install.texi (--without-headers): New.
13603169689Skan
13604169689Skan	Partial Fix PR/10129
13605169689Skan	* config/darwin.c (machopic_function_base_name): Only Return "<pic base>".
13606169689Skan	(machopic_output_function_base_name): New; print the true pic label.
13607169689Skan	(machopic_classify_ident): Pic Base is always a defined data.
13608169689Skan	* config/darwin.h (ASM_OUTPUT_LABELREF): Support the pic base label.
13609169689Skan	* config/darwin-proto.h (machopic_output_function_base_name): Prototype.
13610169689Skan
13611169689Skan	* gcse.c (gcse_constant_p): COMPARE of the same registers is a constant
13612169689Skan	if they are not floating point registers.
13613169689Skan
13614169689Skan	PR c/10962
13615169689Skan	* ggc.h: Add header guards.
13616169689Skan	* c-decl.c (finish_struct): Sort fields if
13617169689Skan	number greater than 15 and there are no
13618169689Skan	anonymous structs/unions.
13619169689Skan	* c-common.h: Include ggc.h.
13620169689Skan	(sorted_fields_type): New struct.
13621169689Skan	(field_decl_cmp): New prototype.
13622169689Skan	(resort_sorted_fields): New prototype.
13623169689Skan	(DECL_DECLARES_TYPE_NON_TEMPLATE_P): New macro.
13624169689Skan	* c-tree.h: (lang_type): Use pointer to sorted_fields_type
13625169689Skan	as s, removing other fields.
13626169689Skan	* c-typeck.c (lookup_field): Use s in lang_type.
13627169689Skan	These were mostly moved from cp/class.c:
13628169689Skan	* c-common.c (field_decl_cmp): New static function.
13629169689Skan	(field_decl_cmp): New function.
13630169689Skan	(resort_sorted_fields): New function.
13631169689Skan
13632169689Skan2003-07-16  Geoffrey Keating  <geoffk@apple.com>
13633169689Skan
13634169689Skan	* config/darwin.c (machopic_select_section): Use decl_readonly_section
13635169689Skan	to do most of the work.
13636169689Skan
13637169689Skan2003-07-16  Hans-Peter Nilsson  <hp@bitrange.com>
13638169689Skan
13639169689Skan	* config/mmix/mmix-protos.h: Convert prototypes to ISO C90.
13640169689Skan	* config/mmix/mmix.c: Convert functions to ISO C90.
13641169689Skan	(mmix_eh_return_handler_rtx, mmix_output_shifted_value): Tweak
13642169689Skan	formatting.
13643169689Skan	(mmix_get_hard_reg_initial_val): Tweak section head comment.
13644169689Skan
13645169689Skan2003-07-16  J"orn Rennecke <joern.rennecke@superh.com>
13646169689Skan
13647169689Skan	* c-pragma.h (HANDLE_PRAGMA_WEAK): Always define to SUPPORTS_WEAK.
13648169689Skan
13649169689Skan2003-07-16  Jakub Jelinek  <jakub@redhat.com>
13650169689Skan
13651169689Skan	* unwind-dw2.c (MD_FROB_UPDATE_CONTEXT): Define.
13652169689Skan	(uw_update_context_1): Use it.
13653169689Skan	* config/rs6000/rs6000.c (insn_after_throw): Remove.
13654169689Skan	(rs6000_aix_emit_builtin_unwind_init): Save $r2 to its location
13655169689Skan	in parent frame if _Unwind_* called directly instead of through
13656169689Skan	.plt.
13657169689Skan	(rs6000_emit_eh_toc_restore): Remove.
13658169689Skan	(rs6000_emit_prologue): Update stack pointer before doing any saving
13659169689Skan	if current_function_calls_eh_return.  Generate unwind info for $r2.
13660169689Skan	(rs6000_emit_epilogue): Restore stack pointer after doing all
13661169689Skan	restoring if current_function_calls_eh_return.  Restore $r2.
13662169689Skan	* config/rs6000/rs6000-protos.h (rs6000_emit_eh_toc_restore): Remove.
13663169689Skan	* config/rs6000/rs6000.md (eh_return): Remove call to
13664169689Skan	rs6000_emit_eh_toc_restore.
13665169689Skan	* config/rs6000/linux64.h (MD_FROB_UPDATE_CONTEXT): Define.
13666169689Skan	* config/rs6000/aix.h (MD_FROB_UPDATE_CONTEXT): Define.
13667169689Skan
13668169689Skan2003-07-15  Jakub Jelinek  <jakub@redhat.com>
13669169689Skan
13670169689Skan	* expr.c (emit_block_move): Don't move anything if size is const 0.
13671169689Skan	(clear_storage): Test against const0_rtx instead of comparing INTVAL
13672169689Skan	against 0.
13673169689Skan
13674169689Skan2003-07-15  David S. Miller  <davem@redhat.com>
13675169689Skan
13676169689Skan	* config/sparc/sparc.c (sparc_nonflat_function_epilogue): Only
13677169689Skan	emit nop if the last real insn is CALL_INSN.
13678169689Skan
13679169689Skan2003-07-16  Danny Smith  <dannysmith@users.sourceforge.net>
13680169689Skan
13681169689Skan	* config/i386/xm-mingw32.h (HOST_BIT_BUCKET): Define
13682169689Skan	as "nul".
13683169689Skan	* config/i386/xm-mingw32.h: Change GNU CC to GCC.
13684169689Skan
13685169689Skan2003-07-16  Danny Smith  <dannysmith@users.sourceforge.net>
13686169689Skan
13687169689Skan	* config/i386/winnt.c (associated_type): Artificial methods are not
13688169689Skan	affected by the import/export status of their class unless they are
13689169689Skan	COMDAT.
13690169689Skan	(i386_pe_dllimport_p): Do not mark artificial methods as dllimport.
13691169689Skan
13692169689Skan	* config/i386/winnt.c: Fix GCC copyright comment.
13693169689Skan
13694169689Skan2003-07-16  Gabriel Dos Reis  <gcc@integrable-solutions.net>
13695169689Skan
13696169689Skan	PR c++/11531
13697169689Skan	* diagnostic.c (diagnostic_report_diagnostic): Don't ICE if we're
13698169689Skan	not recursing on hard error.
13699169689Skan	(diagnostic_for_decl): Likewise.
13700169689Skan	* diagnostic.def: Rearrange.
13701169689Skan
13702169689Skan2003-07-15  J"orn Rennecke <joern.rennecke@superh.com>
13703169689Skan
13704169689Skan	* dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
13705169689Skan	If DWARF_FRAME_RETURN_COLUMN doesn't have a register mode, use Pmode.
13706169689Skan
13707169689Skan2003-07-15  J"orn Rennecke <joern.rennecke@superh.com>
13708169689Skan	    Richard Henderson  <rth@redhat.com>
13709169689Skan
13710169689Skan	* unwind-dw2.c (_Unwind_GetGR): Use dwarf_reg_size_table
13711169689Skan	to decide if to access a _Unwind_Ptr or a _Unwind_Word.
13712169689Skan	(_Unwind_SetGR): Likewise.
13713169689Skan	(_Unwind_GetPtr, _Unwind_SetSpColumn): New functions.
13714169689Skan	(Unwind_SpTmp): New typedef.
13715169689Skan	(uw_update_context_1): Use _Unwind_SetSpColumn and _Unwind_GetPtr.
13716169689Skan	(uw_update_context): Use _Unwind_GetPtr.
13717169689Skan	(init_dwarf_reg_size_table): Move above uw_init_context_1.
13718169689Skan	(uw_init_context_1): Initialize dwarf_reg_size_table if necessary.
13719169689Skan	Use _Unwind_SetSpColumn.
13720169689Skan	(uw_install_context_1): Don't initialize dwarf_reg_size_table.
13721169689Skan	Use _Unwind_GetPtr.
13722169689Skan
13723169689Skan2003-07-15  Neil Booth  <neil@daikokuya.co.uk>
13724169689Skan
13725169689Skan	* c.opt: Document more options.
13726169689Skan	* toplev.c (documented_lang_options): Remove all local help strings.
13727169689Skan
13728169689Skan2003-07-15  Mark Mitchell  <mark@codesourcery.com>
13729169689Skan
13730169689Skan	PR debug/11473
13731169689Skan	* dbxout.c (dbxout_type): Use TYPE_SIZE to determine the sizes of
13732169689Skan	base classes.
13733169689Skan
13734169689Skan2003-07-15  Kazu Hirata  <kazu@cs.umass.edu>
13735169689Skan
13736169689Skan	PR target/10795
13737169689Skan	* config/i386/i386.c (ix86_expand_carry_flag_compare): Don't
13738169689Skan	swap comparison operands if doing so would generate an
13739169689Skan	unrecognizable insn.
13740169689Skan
13741169689Skan2003-07-15  Eric Botcazou  <ebotcazou@libertysurf.fr>
13742169689Skan
13743169689Skan	PR optimization/11320
13744169689Skan	* sched-int.h (struct deps) [reg_conditional_sets]: New field.
13745169689Skan	(struct sched_info) [compute_jump_reg_dependencies]: New prototype.
13746169689Skan	* sched-deps.c (sched_analyze_insn) [JUMP_INSN]: Update call to
13747169689Skan	current_sched_info->compute_jump_reg_dependencies. Record which
13748169689Skan	registers are used and which registers are set by the jump.
13749169689Skan	Clear deps->reg_conditional_sets after a barrier.
13750169689Skan	Set deps->reg_conditional_sets if the insn is a COND_EXEC.
13751169689Skan	Clear deps->reg_conditional_sets if the insn is not a COND_EXEC.
13752169689Skan	(init_deps): Initialize reg_conditional_sets.
13753169689Skan	(free_deps): Clear reg_conditional_sets.
13754169689Skan	* sched-ebb.c (compute_jump_reg_dependencies): New prototype.
13755169689Skan	Mark registers live on entry of the fallthrough block and conditionally
13756169689Skan	set as set by the jump. Mark registers live on entry of non-fallthrough
13757169689Skan	blocks as used by the jump.
13758169689Skan	* sched-rgn.c (compute_jump_reg_dependencies): New prototype.
13759169689Skan	Mark new parameters as unused.
13760169689Skan
13761169689Skan2003-07-15  Richard Sandiford  <rsandifo@redhat.com>
13762169689Skan
13763169689Skan	* doc/invoke.texi: Resync MIPS -march documentation.
13764169689Skan
13765169689Skan2003-07-15  Richard Sandiford  <rsandifo@redhat.com>
13766169689Skan
13767169689Skan	* config/mips/mips.h (PROCESSOR_R9000): New processor_type.
13768169689Skan	(TARGET_MIPS9000, TUNE_MIPS9000): New macros.
13769169689Skan	(GENERATE_MULT3_SI): True for TARGET_MIPS9000.
13770169689Skan	* config/mips/mips.c (mips_cpu_info_table): Add rm9000 entry.
13771169689Skan	(mips_rtx_costs): Adjust integer multiplication costs for the rm9000.
13772169689Skan	(mips_issue_rate): Handle PROCESSOR_R9000.
13773169689Skan	(mips_use_dfa_pipeline_interface): Likewise.
13774169689Skan	* config/mips/9000.md: New file.
13775169689Skan	* config/mips/mips.md: Include it.
13776169689Skan	(define_attr cpu): Add r9000.
13777169689Skan	(mulsi3_mult3): Use "mul" for rm9000 code.
13778169689Skan
13779169689Skan2003-07-15  Stan Cox  <scox@redhat.com>
13780169689Skan
13781169689Skan	* config/mips/mips.h (PROCESSOR_R7000): New processor_type.
13782169689Skan	(TARGET_MIPS7000, TUNE_MIPS7000): New macros.
13783169689Skan	(GENERATE_MULT3_SI): True for TARGET_MIPS7000.
13784169689Skan	* config/mips/mips.c (mips_cpu_info_table): Add rm7000 entry.
13785169689Skan	(mips_rtx_costs): Adjust integer multiplication costs for the rm7000.
13786169689Skan	(mips_issue_rate): Handle PROCESSOR_R7000.
13787169689Skan	(mips_use_dfa_pipeline_interface): Likewise.
13788169689Skan	* config/mips/7000.md: New file.
13789169689Skan	* config/mips/mips.md: Include it.
13790169689Skan	(define_attr cpu): Add r7000.
13791169689Skan	(mulsi3_mult3): Use "mul" for rm7000 code.
13792169689Skan
13793169689Skan2003-07-15  Richard Sandiford  <rsandifo@redhat.com>
13794169689Skan
13795169689Skan	* config/mips/mips.md (define_attr type): Add condmove.  Use it for
13796169689Skan	the conditional move patterns.
13797169689Skan	* config/mips/5400.md (ir_vr54_move): Rename to ir_vr54_condmove.
13798169689Skan	Check for condmove type.
13799169689Skan	(ir_vr54_arith): Add move type.
13800169689Skan	* config/mips/5500.md (ir_vr55_move, ir_vr55_arith): Likewise.
13801169689Skan	* config/mips/sr71k.md (ir_sr70_move, ir_sr70_arith): Likewise.
13802169689Skan
13803169689Skan2003-07-15  Neil Booth  <neil@daikokuya.co.uk>
13804169689Skan
13805169689Skan	* c-opts.c (print_help): Remove.
13806169689Skan	(c_common_handle_option): Don't handle --help.
13807169689Skan	* c.opt: Document some options.
13808169689Skan	(--help): Remove.
13809169689Skan	* opts.c (print_filtered_help): New.
13810169689Skan	(print_help): Use it.
13811169689Skan
13812169689Skan2003-07-14  Geoffrey Keating  <geoffk@apple.com>
13813169689Skan
13814169689Skan	* c-common.c (c_common_type_for_mode): Handle V4DFmode.
13815169689Skan	* tree.c: (build_common_tree_nodes_2): Likewise.
13816169689Skan	* tree.h (enum tree_index): Add TI_V4DF_TYPE.
13817169689Skan	(V4DF_type_node): New.
13818169689Skan
13819169689Skan	* c-opts.c (push_command_line_include): Don't free deferred_opts,
13820169689Skan	we'll need it.
13821169689Skan	(finish_options): Reset init_cursor.
13822169689Skan
13823169689Skan2003-07-15  Kazu Hirata  <kazu@cs.umass.edu>
13824169689Skan
13825169689Skan	* expr.c (expand_assignment): Remove an unused argument
13826169689Skan	SUGGEST_REG.
13827169689Skan	* expr.h: Update the prototype.
13828169689Skan	* function.c: Update the callers.
13829169689Skan	* stmt.c: Likewise.
13830169689Skan
13831169689Skan2003-07-14  Mark Mitchell  <mark@codesourcery.com>
13832169689Skan
13833169689Skan	PR debug/11098
13834169689Skan	* integrate.c (copy_decl_for_inlining): Do not mark copied decls
13835169689Skan	as DECL_ABSTRACT.
13836169689Skan
13837169689Skan2003-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
13838169689Skan
13839169689Skan	* fixinc/inclhack.def (avoid_bool_define, avoid_bool_type): Bypass
13840169689Skan	with __cplusplus, not "we must use the C++ compiler's type"
13841169689Skan	* fixinc/inclhack.def (void_null): Note that Interix needs this.
13842169689Skan	* fixinc/fixincl.x: Regenerate.
13843169689Skan
13844169689Skan2003-07-14  Geoffrey Keating  <geoffk@apple.com>
13845169689Skan
13846169689Skan	* unwind-dw2-fde-darwin.c (live_image_destructor): Get seen_objects
13847169689Skan	and unseen_objects from the global data before calling
13848169689Skan	__deregister_frame_info_bases.
13849169689Skan	(examine_objects): Insert objects into the seen_objects list,
13850169689Skan	not unseen_objects.
13851169689Skan	(_Unwind_Find_FDE): Always unlock the global object lists, even if
13852169689Skan	we couldn't allocate a data structure to put in it.
13853169689Skan
13854169689Skan	* objc/objc-act.h (CLASS_SUPER_NAME): Add a little typechecking.
13855169689Skan	(TYPE_PROTOCOL_LIST): Share use of type.context with C frontend.
13856169689Skan	(SET_TYPE_PROTOCOL_LIST): New.
13857169689Skan	* objc/objc-act.c (get_static_reference): Use SET_TYPE_PROTOCOL_LIST.
13858169689Skan	(get_object_reference): Likewise.
13859169689Skan
13860169689Skan2003-07-14  Jan Hubicka  <jh@suse.cz>
13861169689Skan
13862169689Skan	* cfglayout.c (locator_file): Break out from ....
13863169689Skan	(insn_file): ... here.
13864169689Skan	(locator_line): Break out from ....
13865169689Skan	(insn_line): ... here.
13866169689Skan	* rtl.h (locator_file, locator_line): Declare.
13867169689Skan	(final_start_function): Set proper line/file info.
13868169689Skan
13869169689Skan2003-07-14  Gabriel Dos Reis  <gdr@integrable-solutions.net>
13870169689Skan
13871169689Skan	* c-pretty-print.c (pp_c_unary_expression): A CONVERT_EXPR is
13872169689Skan	handled by pp_c_cast_expression.
13873169689Skan
13874169689Skan2003-07-14  Richard Sandiford  <rsandifo@redhat.com>
13875169689Skan
13876169689Skan	* config/mips/mips.c (mips_expand_prologue): Use a single insn to
13877169689Skan	allocate 32768 bytes of stack.  Use addition rather than subtraction
13878169689Skan	when a single insn is enough.
13879169689Skan	* config/mips/mips.md: Remove insns and splitters for subtracting
13880169689Skan	constants.
13881169689Skan	(subsi3): Only accept register operands.
13882169689Skan	(subsi3_internal): Likewise.  Use for TARGET_MIPS16 as well.
13883169689Skan	(subdi3_internal_3, subsi3_internal_2): Likewise.
13884169689Skan	(casesi): Use expand_binop to subtract the lower bound.
13885169689Skan
13886169689Skan2003-07-14  Richard Sandiford  <rsandifo@redhat.com>
13887169689Skan
13888169689Skan	* config/mips/mips.c (mips_in_small_data_p): Don't handle
13889169689Skan	TARGET_MIPS16 specially.
13890169689Skan
13891169689Skan2003-07-14  Richard Sandiford  <rsandifo@redhat.com>
13892169689Skan
13893169689Skan	* config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Use
13894169689Skan	mips_output_aligned_bss.
13895169689Skan	* config/mips/linux.h: Likewise.
13896169689Skan	* config/mips/mips-protos.h (mips_output_aligned_bss): Declare.
13897169689Skan	* config/mips/mips.c (mips_output_aligned_bss): New function.
13898169689Skan
13899169689Skan	* config/mips/elf.h (DBX_DEBUGGING_INFO): Delete.
13900169689Skan	* config/mips/elf64.h: Likewise.
13901169689Skan
13902169689Skan	* config/mips/elf.h (ASM_DECLARE_OBJECT_NAME): Use
13903169689Skan	mips_declare_object_name.
13904169689Skan	(ASM_FINISH_DECLARE_OBJECT): Likewise mips_finish_declare_object.
13905169689Skan	* config/mips/elf64.h: As for elf.h.
13906169689Skan	* config/mips/iris6.h: Likewise.
13907169689Skan	* config/mips/linux.h (ASM_DECLARE_OBJECT_NAME): As for elf.h.
13908169689Skan	* config/mips/mips.h (ASM_DECLARE_OBJECT_NAME): Remove unnecessary
13909169689Skan	do...while (0) block.
13910169689Skan	* config/mips/mips-protos.h (mips_declare_object_name): Declare.
13911169689Skan	(mips_finish_declare_object): Declare.
13912169689Skan	* config/mips/mips.c (mips_declare_object_name): New function.
13913169689Skan	(mips_finish_declare_object): New function.
13914169689Skan
13915169689Skan	* config/mips/elf.h (SBSS_SECTION_ASM_OP): Delete.
13916169689Skan	* config/mips/linux.h: Likewise.
13917169689Skan
13918169689Skan	* config/mips/mips.c (inside_function): Delete.
13919169689Skan	(file_in_function_warning, ignore_line_number): Delete.
13920169689Skan	(mips_output_filename): Don't warn about changing filenames within
13921169689Skan	a function.
13922169689Skan	(mips_output_lineno): Update accordingly.
13923169689Skan	(mips_output_function_prologue): Don't reset the deleted variables.
13924169689Skan	* config/mips/mips.h (inside_function): Delete.
13925169689Skan	(file_in_function_warning, ignore_line_number): Delete.
13926169689Skan
13927169689Skan	* config/mips/elf.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Remove undefs.
13928169689Skan	* config/mips/elf64.h: Likewise.
13929169689Skan	* config/mips/openbsd.h: Likewise.
13930169689Skan	* config/mips/iris5.h (OBJECT_FORMAT_COFF): Remove undefs.
13931169689Skan	* config/mips/linux.h: Likewise.
13932169689Skan	* config/mips/mips.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Delete.
13933169689Skan	(CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, MIPS_UNMARK_STAB): Delete.
13934169689Skan
13935169689Skan	* config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Add mips/sdb.h
13936169689Skan	to the list of include files when using gas.
13937169689Skan	(mips*el-*-openbsd*, mips*-*-openbsd*): Add mips/sdb.h unconditionally.
13938169689Skan	* config/mips/elf.h: Remove #undef SDB_DEBUGGING_INFO.
13939169689Skan	* config/mips/elf64.h: Likewise.
13940169689Skan	* config/mips/iris5.h: Likewise.
13941169689Skan	* config/mips/linux.h: Likewise.
13942169689Skan	* config/mips/iris5gas.h (SDB_DEBUGGING_INFO): Remove definition.
13943169689Skan	* config/mips/mips.h (PREFERRED_DEBUGGING_TYPE): Likewise.
13944169689Skan	(SDB_DEBUGGING_INFO, sdb*, SDB_ALLOW_*, PUT_SDB*): Move to...
13945169689Skan	* config/mips/sdb.h: ...this new file.
13946169689Skan
13947169689Skan2003-07-14  Douglas Rupp  <rupp@gnat.com>
13948169689Skan
13949169689Skan	* fixinc/server.c (server_setup): Don't use non-POSIX NULL first
13950169689Skan	argument to getcwd; use fixed buffer instead.
13951169689Skan
13952169689Skan2003-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
13953169689Skan
13954169689Skan	* fixinc/mkfixinc.sh: Treat OpenBSD normally.
13955169689Skan	* fixinc/fixinc.wrap: Delete.
13956169689Skan
13957169689Skan2003-07-14  Dan Nicolaescu  <dann@ics.uci.edu>
13958169689Skan
13959169689Skan	* ggc-page.c (extra_order_size_table): Insns have 9 slots. Regs
13960169689Skan	don't have 2.
13961169689Skan
13962169689Skan2003-07-14  Dan Nicolaescu  <dann@ics.uci.edu>
13963169689Skan
13964169689Skan	* ggc-page.c (struct globals): Add new fields to keep track of the
13965169689Skan	total allocated memory and overhead.
13966169689Skan	(ggc_print_statistics): Print them.
13967169689Skan	(ggc_alloc): Keep track of the total allocated memory and the
13968169689Skan	overhead.
13969169689Skan
13970169689Skan	* tree.c (dump_tree_statistics): Increase spacing.
13971169689Skan	(enum tree_node_kind): Move to ...
13972169689Skan	* tree.h (enum tree_node_kind): ... here.
13973169689Skan	(tree_node_counts, tree_node_sizes): Declare.
13974169689Skan
13975169689Skan2003-07-14  James A. Morrison  <ja2morri@student.math.uwaterloo.ca>
13976169689Skan
13977169689Skan	* doc/include/texinfo.tex: Upgrade to texinfo 4.6.
13978169689Skan
13979169689Skan2003-07-14  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
13980169689Skan
13981169689Skan	PR optimization/11440
13982169689Skan	* gcse.c (try_replace_reg): Don't attach notes to ZERO_EXTRACT or
13983169689Skan	SIGN_EXTRACT SETs.
13984169689Skan
13985169689Skan2003-07-14  Alan Modra  <amodra@bigpond.net.au>
13986169689Skan
13987169689Skan	* doc/tm.texi (BLOCK_REG_PADDING): Describe.
13988169689Skan	* expr.h (struct locate_and_pad_arg_data): Add where_pad.
13989169689Skan	(emit_group_load, emit_group_store): Adjust declarations.
13990169689Skan	Remove most occurrences of #ifdef TREE_CODE.
13991169689Skan	* expr.c (emit_group_load): Add "type" param, and use
13992169689Skan	BLOCK_REG_PADDING to determine need for a shift.  Optimize non-
13993169689Skan	aligned accesses if !SLOW_UNALIGNED_ACCESS.
13994169689Skan	(emit_group_store): Likewise.
13995169689Skan	(emit_push_insn, expand_assignment, store_expr, expand_expr): Adjust
13996169689Skan	emit_group_load and emit_group_store calls.
13997169689Skan	* calls.c (store_unaligned_arguments_into_pseudos): Tidy.  Use
13998169689Skan	BLOCK_REG_PADDING to determine whether we need endian_correction.
13999169689Skan	(load_register_parameters): Localize vars.  Handle shifting of
14000169689Skan	small values to the correct end of regs.  Adjust emit_group_load
14001169689Skan	call.
14002169689Skan	(expand_call, emit_library_call_value_1): Adjust emit_group_load
14003169689Skan	and emit_group_store calls.
14004169689Skan	* function.c (assign_parms): Set mem alignment for stack slots.
14005169689Skan	Adjust emit_group_store call.  Store values at the "wrong" end
14006169689Skan	of regs to the stack.  Use BLOCK_REG_PADDING.
14007169689Skan	(locate_and_pad_parm): Save where_pad.
14008169689Skan	(expand_function_end): Adjust emit_group_load call.
14009169689Skan	* stmt.c (expand_value_return): Adjust emit_group_load call.
14010169689Skan	* Makefile.in (calls.o): Depend on $(OPTABS_H).
14011169689Skan	* config/rs6000/linux64.h (TARGET_LITTLE_ENDIAN): Redefine as 0.
14012169689Skan	(AGGREGATE_PADDING_FIXED, AGGREGATES_PAD_UPWARD_ALWAYS): Define.
14013169689Skan	(MUST_PASS_IN_STACK): Define.
14014169689Skan	(BLOCK_REG_PADDING): Define.
14015169689Skan	* config/rs6000/rs6000.h (struct rs6000_args): Remove orig_nargs.
14016169689Skan	(PAD_VARARGS_DOWN): Define in terms of FUNCTION_ARG_PADDING.
14017169689Skan	* config/rs6000/rs6000.c (init_cumulative_args): Don't set orig_nargs.
14018169689Skan	(function_arg_padding): !AGGREGATE_PADDING_FIXED compatibility code.
14019169689Skan	Act on AGGREGATES_PAD_UPWARD_ALWAYS.
14020169689Skan
14021169689Skan2003-07-13  Aaron W. LaFramboise  <awlaframboise@aol.com>
14022169689Skan
14023169689Skan	* config/i386/gthr-win32.c (__GTHREAD_HIDE_WIN32API): Define to 1.
14024169689Skan
14025169689Skan2003-07-13  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14026169689Skan
14027169689Skan	* expr.c (expand_expr, case COMPONENT_REF): If reg, copy OP0 to MEM
14028169689Skan	both if OFFSET specified and if result BLKmode for ARRAY_RANGE_REF.
14029169689Skan
14030169689Skan2003-07-13  Nathanael Nerode  <neroden@gcc.gnu.org>
14031169689Skan
14032169689Skan	PR other/11123
14033169689Skan	* toplev.c: Don't cut off option names.
14034169689Skan
14035169689Skan2003-07-13  Andreas Jaeger  <aj@suse.de>
14036169689Skan
14037169689Skan	* c-decl.c (link_hash_hash): Avoid warning about casting pointer
14038169689Skan	to integer of different size.
14039169689Skan
14040169689Skan2003-07-13  Kazu Hirata  <kazu@cs.umass.edu>
14041169689Skan
14042169689Skan	* combine.c (simplify_comparison): Convert (ne (and (not X) 1) 0)
14043169689Skan	to (eq (and X 1) 0).
14044169689Skan
14045169689Skan2003-07-13  Andreas Jaeger  <aj@suse.de>
14046169689Skan
14047169689Skan	* config.gcc: Add pmmintrin.h for x86_64-*-*.
14048169689Skan
14049169689Skan2003-07-13  Zack Weinberg  <zack@codesourcery.com>
14050169689Skan
14051169689Skan	* Makefile.in (LIBCPP_DEPS): Remove coretypes.h and $(TM_H).
14052169689Skan	(hashtable.o, line-map.o, mkdeps.o): Likewise, from dependency
14053169689Skan	list.  Move these all together down by cpplib.
14054169689Skan
14055169689Skan	* cpplib.h: Don't refer to MAX_WCHAR_TYPE_SIZE when determining
14056169689Skan	definition of CPPCHAR_SIGNED_T.
14057169689Skan
14058169689Skan	* cppcharset.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c, cppinit.c
14059169689Skan	* cpplex.c, cpplib.c, cppmacro.c, cpppch.c, cpptrad.c, hashtable.c
14060169689Skan	* line-map.c, mkdeps.c: Don't include coretypes.h or tm.h.
14061169689Skan
14062169689Skan	* cpphash.c (_cpp_init_hashtable): Don't use gcc_obstack_init.
14063169689Skan	* cppinit.c (cpp_create_reader): Likewise.
14064169689Skan
14065169689Skan	* cpphash.h (scan_out_logical_line): Rename _cpp_scan_out_logical_line.
14066169689Skan	* cpptrad.c: Likewise.  All callers changed.
14067169689Skan	* cpplib.c: All callers changed.
14068169689Skan	* c-ppoutput.c: Replace 'uchar' with 'unsigned char' throughout.
14069169689Skan	* hashtable.h: Define GTY(x) to nothing here too.
14070169689Skan
14071169689Skan2003-07-13  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
14072169689Skan
14073169689Skan	* stor-layout.c (compute_record_mode): Remove very obsolete test
14074169689Skan	that forces BLKmode for records with fields crossing word boundary.
14075169689Skan
14076169689Skan2003-07-13  Zack Weinberg  <zack@codesourcery.com>
14077169689Skan
14078169689Skan	* Makefile.in: Remove orphan reference to acconfig.h.
14079169689Skan
14080169689Skan2003-07-13  Andreas Jaeger  <aj@suse.de>
14081169689Skan
14082169689Skan	* cgraphunit.c: Convert prototypes to ISO C90.
14083169689Skan
14084169689Skan2003-07-13  Nathanael Nerode  <neroden@gcc.gnu.org>
14085169689Skan
14086169689Skan	* fixinc/inclhack.def (avoid_wchar_t_type): Use __cplusplus bypass
14087169689Skan	(for OpenBSD).
14088169689Skan	* fixinc/fixincl.x: Rebuild.
14089169689Skan
14090169689Skan2003-07-12  Zack Weinberg  <zack@codesourcery.com>
14091169689Skan
14092169689Skan	* configure.in: Always define HAVE_AS_GOTOFF_IN_DATA for
14093169689Skan	i?86-*-*.  Use correct name of cache variable.
14094169689Skan	* configure: Regenerate.
14095169689Skan
14096169689Skan2003-07-12  Kazu Hirata  <kazu@cs.umass.edu>
14097169689Skan
14098169689Skan	* config/alpha/alpha.c: Fix comment typos.
14099169689Skan	* config/alpha/alpha.md: Likewise.
14100169689Skan	* config/arm/arm.c: Likewise.
14101169689Skan	* config/arm/arm.md: Likewise.
14102169689Skan	* config/arm/lib1funcs.asm: Likewise.
14103169689Skan	* config/avr/avr.md: Likewise.
14104169689Skan	* config/arm/README-interworking: Fix typos.
14105169689Skan
14106169689Skan2003-07-12  Kazu Hirata  <kazu@cs.umass.edu>
14107169689Skan
14108169689Skan	* c-format.c: Fix comment formatting.
14109169689Skan	* c-typeck.c: Likewise.
14110169689Skan	* coverage.c: Likewise.
14111169689Skan	* cppcharset.c: Likewise.
14112169689Skan	* cpplib.c: Likewise.
14113169689Skan	* dbxout.c: Likewise.
14114169689Skan	* gcov-io.h: Likewise.
14115169689Skan	* toplev.c: Likewise.
14116169689Skan
14117169689Skan2003-07-12  Nathanael Nerode  <neroden@gcc.gnu.org>
14118169689Skan
14119169689Skan	* fixinc/inclhack.def (alpha_sbrk): Note that OpenBSD needs this
14120169689Skan	fix.
14121169689Skan
14122169689Skan2003-07-12  Zack Weinberg  <zack@codesourcery.com>
14123169689Skan
14124169689Skan	* aclocal.m4 (gcc_AC_CHECK_TYPE): Clone of AC_CHECK_TYPE,
14125169689Skan	uses three-argument AC_DEFINE so no acconfig.h entries are
14126169689Skan	needed.
14127169689Skan	(_gcc_COMPUTE_GAS_VERSION): Also provide gcc_cv_gas_vers
14128169689Skan	which contains the GAS version number as a scaled integer.
14129169689Skan	(gcc_GAS_VERSION_GTE_IFELSE): Use gcc_cv_gas_vers.  Add
14130169689Skan	ability to check for ELF assembler.
14131169689Skan	(gcc_GAS_CHECK_FEATURE): New macro.
14132169689Skan	* configure.in: Use gcc_AC_CHECK_TYPE.  Rewrite all
14133169689Skan	assembler feature checks using gcc_GAS_CHECK_FEATURE.
14134169689Skan	Use three-argument AC_DEFINE everywhere.
14135169689Skan	* acconfig.h: Deleted.
14136169689Skan	* config.in, configure: Regenerate.
14137169689Skan
14138169689Skan2003-07-12  Nathanael Nerode  <neroden@gcc.gnu.org>
14139169689Skan
14140169689Skan	* fixinc/inclhack.def (struct_sockaddr): Avoid "fixing" sockaddr_in
14141169689Skan	(on OpenBSD).
14142169689Skan	* fixinc/fixincl.x: Regenerate.
14143169689Skan
14144169689Skan	* fixinc/inclhack.def (gnu_types): Improve comment.
14145169689Skan
14146169689Skan2003-07-12  Andreas Jaeger  <aj@suse.de>
14147169689Skan
14148169689Skan	* fp-test.c (main): Use ISO C90 prototype.
14149169689Skan
14150169689Skan	* version.c: Remove unneded include of ansidecl.h.
14151169689Skan
14152169689Skan	* cgraph.h: Convert prototypes to ISO C90.
14153169689Skan	* cgraph.c: Likewise.
14154169689Skan	* fix-header.c: Likewise.
14155169689Skan	* ra.h: Likewise.
14156169689Skan	* protoize.c: Likewise.
14157169689Skan
14158169689Skan2003-07-12  Jan Hubicka  <jh@suse.cz>
14159169689Skan
14160169689Skan	* cgraphunit.c (cgraph_inlined_into, cgraph_inlined_calees): Fix
14161169689Skan	warning.
14162169689Skan
14163169689Skan2003-07-12  Jan Hubicka  <jh@suse.cz>
14164169689Skan			       Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
14165169689Skan
14166169689Skan	* cgraph.c (cgraph_max_uid): New global variable.
14167169689Skan	(cgraph_node): Set uid field.
14168169689Skan	(create_edge): Keep inline flags consistent.
14169169689Skan	(dump_cgraph): Dump more info.
14170169689Skan	* cgraph.h (struct cgraph_local_info): Remove inline_many and
14171169689Skan	can_inline_once; add inlinable, disgread_inline_limits, and self_insn
14172169689Skan	(struct cgraph_global_info): Add insns, calls, cloned_times,
14173169689Skan	will_be_output.
14174169689Skan	(struct cgraph_node): Add uid.
14175169689Skan	(struct cgraph_edge): Add inline_call.
14176169689Skan	(cgraph_max_uid, cgraph_inline_p): Declare.
14177169689Skan	* cgraph.c: Include params.h and fibheap.h
14178169689Skan	(cgraph_mark_functions_to_inline_once): Kill.
14179169689Skan	(INSNS_PER_CALL): New constant.
14180169689Skan	(ncalls_inlined, nfunctions_inlined, initial_insns, overall_insns): New
14181169689Skan	static variables.
14182169689Skan	(cgraph_finalize_function): Do not analyze inlining.
14183169689Skan	(cgraph_finalize_compilation_unit): Set inlining attributes.
14184169689Skan	(cgraph_mark_functions_to_output): More consistency checks.
14185169689Skan	(cgraph_optimize_function): Set current_function_decl to NULL.
14186169689Skan	(cgraph_expand_function): Use new inline flags.
14187169689Skan	(cgraph_postorder): Expand from cgraph_expand_functions.
14188169689Skan	(INLINED_TIMES, SET_INLINED_TIMES): New macros.
14189169689Skan	(cgraph_inlined_into, cgraph_inlined_callees,
14190169689Skan	cgraph_estimate_size_after_inlining, cgraph_estimate_growth,
14191169689Skan	cgraph_mark_inline, cgraph_check_inline_limits,
14192169689Skan	cgraph_default_inline_p, cgraph_decide_inling_of_small_functions,
14193169689Skan	cgraph_decide_inlining, cgraph_inline_p): New functions.
14194169689Skan	* params.def (PARAM_LARGE_FUNCTION_INSNS, PARAM_LARGE_FUNCTION_GROWTH,
14195169689Skan	PARAM_INLINE_UNIT_GROWTH): New parameters.
14196169689Skan	* tree-inline.c (struct inline_data): New field current_decl.
14197169689Skan	(expand_call_inline): Avoid forward declarations; use
14198169689Skan	inlinable_function_p.
14199169689Skan	(optimize_inline_calls): Set id.current_decl.
14200169689Skan
14201169689Skan2003-07-11  Andrew Pinski  <pinskia@physics.uc.edu>
14202169689Skan
14203169689Skan	* configure.in: Remove wrongly added definition of
14204169689Skan	local_prefix.
14205169689Skan	* configure: Regenerate.
14206169689Skan
14207169689Skan2003-07-11  Dan Nicolaescu  <dann@ics.uci.edu>
14208169689Skan
14209169689Skan	* rtl.def (NOTE): Do not use padding.
14210169689Skan
14211169689Skan2003-07-11  Dara Hazeghi  <dhazeghi@yahoo.com>
14212169689Skan
14213169689Skan	* doc/install.tex: Update required binutils for i?86-*-linux*
14214169689Skan
14215169689Skan2003-07-11  Richard Henderson  <rth@redhat.com>
14216169689Skan
14217169689Skan	* Makefile.in (stage1_build): Force OBJS-onestep=OBJS.
14218169689Skan
14219169689Skan2003-07-11  Mark Mitchell  <mark@codesourcery.com>
14220169689Skan
14221169689Skan	* varasm.c (make_decl_rtl): Treat decls with a DECL_CONTEXT of
14222169689Skan	TRANSLATION_UNIT_DECL as top_level.
14223169689Skan
14224169689Skan2003-07-11  Jakub Jelinek  <jakub@redhat.com>
14225169689Skan
14226169689Skan	* optabs.c (prepare_cmp_insn): Try cmpmemM first if it exists,
14227169689Skan	then fall back to cmpstrM.
14228169689Skan	* builtins.c (expand_builtin_memcmp): Likewise.
14229169689Skan	* config/s390/s390-protos.h (s390_expand_cmpstr): Rename to...
14230169689Skan	(s390_expand_cmpmem): ... this.
14231169689Skan	* config/s390/s390.md (cmpmemdi, cmpmemsi, cmpmem_short_64,
14232169689Skan	cmpmem_short_31, cmpmem_long_64, cmpmem_long_31): Renamed
14233169689Skan	from cmpstr* patterns.  Rename call to s390_expand_cmpstr
14234169689Skan	to s390_expand_cmpmem.
14235169689Skan	* config/s390/s390.c (s390_expand_cmpstr): Rename to...
14236169689Skan	(s390_expand_cmpstr): ... this.  Rename cmpstr* instructions
14237169689Skan	to cmpmem*.
14238169689Skan	* config/i370/i370.md (cmpmemsi, cmpmemsi_1): Renamed from
14239169689Skan	cmpstr* patterns.
14240169689Skan	* doc/md.texi (cmpstrM): Describe as String compare insn, not
14241169689Skan	Block compare insn.
14242169689Skan	(cmpmemM): Add.
14243169689Skan
14244169689Skan2003-07-11  Loren James Rittle  <ljrittle@acm.org>
14245169689Skan
14246169689Skan	* config/i386/freebsd.h (SET_ASM_OP): Remove.
14247169689Skan	(SUBTARGET_OVERRIDE_OPTIONS): Handle TARGET_64BIT case.
14248169689Skan	(ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, DBX_REGISTER_NUMBER
14249169689Skan	 MCOUNT_NAME, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE_SIZE): Whitespace.
14250169689Skan
14251169689Skan2003-07-11  Richard Henderson  <rth@redhat.com>
14252169689Skan
14253169689Skan	* function.c (assign_parms): Don't recombine complex args if
14254169689Skan	fnargs is unchanged from orig_fnargs.
14255169689Skan	(split_complex_args): Return args without complex before copying.
14256169689Skan	Re-layout the modified parameters.
14257169689Skan
14258169689Skan2003-07-11  J"orn Rennecke <joern.rennecke@superh.com>
14259169689Skan
14260169689Skan	* regclass.c (choose_hard_reg_mode): Add third argument.
14261169689Skan	Changed all callers.
14262169689Skan	* rtl.h (choose_hard_reg_mode): Update declaration.
14263169689Skan	* dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
14264169689Skan	Take HARD_REGNO_CALL_PART_CLOBBERED into account.
14265169689Skan
14266169689Skan2003-07-11  Geoffrey Keating  <geoffk@apple.com>
14267169689Skan
14268169689Skan	* c-decl.c (finish_decl): Handle 'used' here...
14269169689Skan	* cgraphunit.c (cgraph_finalize_function): ... and here ...
14270169689Skan	* c-common.c: (handle_used_attribute): ... not here.
14271169689Skan
14272169689Skan	* configure.in (onstep): Support --enable-intermodule.
14273169689Skan	* Makefile.in (OBJS-common): New.
14274169689Skan	(OBJS-md): New.
14275169689Skan	(OBJS-archive): New.
14276169689Skan	(OBJS): Build from OBJS-common, OBJS-md, OBJS-archive.
14277169689Skan	(OBJS-onestep): New.
14278169689Skan	(libbackend.a): Support @onestep@.
14279169689Skan	(libbackend.o): New.
14280169689Skan	* configure: Regenerate.
14281169689Skan
14282169689Skan	* c-common.h (c_reset_state): New prototype.
14283169689Skan	(c_parse_file): New prototype.
14284169689Skan	(finish_file): Move prototype from c-tree.h.
14285169689Skan	* c-decl.c: Include <hashtab.h>.
14286169689Skan	(builtin_decls): New.
14287169689Skan	(current_file_decl): New.
14288169689Skan	(duplicate_decls): Add extra parameter. Change all callers.  Don't
14289169689Skan	output duplicate common symbols.
14290169689Skan	(link_hash_hash): New.
14291169689Skan	(link_hash_eq): New.
14292169689Skan	(poplevel): Handle popping of the top level.
14293169689Skan	(warn_if_shadowing): Handle TRANSLATION_UNIT_DECL.
14294169689Skan	(pushdecl): Set DECL_CONTEXT to TRANSLATION_UNIT_DECL if appropriate.
14295169689Skan	(pushdecl_top_level): Likewise.
14296169689Skan	(redeclaration_error_message): Handle TRANSLATION_UNIT_DECL.
14297169689Skan	(c_init_decl_processing): Create TRANSLATION_UNIT_DECL.
14298169689Skan	(finish_decl): Handle TRANSLATION_UNIT_DECL.
14299169689Skan	(merge_translation_unit_decls): New.
14300169689Skan	(c_write_global_declarations): New.
14301169689Skan	(c_reset_state): New.
14302169689Skan	(implicitly_declare): Handle TRANSLATION_UNIT_DECL.
14303169689Skan	* c-lang.c (LANG_HOOKS_WRITE_GLOBALS): New.
14304169689Skan	* c-objc-common.c (c_cannot_inline_tree_fn): Handle
14305169689Skan	TRANSLATION_UNIT_DECL.
14306169689Skan	(c_objc_common_finish_file): Call merge_translation_unit_decls.
14307169689Skan	* c-opts.c (in_fnames): Rename from in_fname.
14308169689Skan	(c_common_decode_option): Handle multiple input filenames.
14309169689Skan	(c_common_post_options): Likewise.
14310169689Skan	(c_common_parse_file): Likewise; also, call c_parse_file rather than
14311169689Skan	yyparse.
14312169689Skan	* c-parse.in: Move cleanup code to c_parse_file.
14313169689Skan	(free_parser_stacks): Move contents to c_parse_file.
14314169689Skan	(c_parse_file): New.
14315169689Skan	* c-tree.h (union lang_tree_node): Chain along TYPE_NEXT_VARIANT
14316169689Skan	for integer types.
14317169689Skan	(C_DECL_FILE_SCOPE): New.
14318169689Skan	(finish_file): Move prototype to c-common.h.
14319169689Skan	(merge_translation_unit_decls): New prototype.
14320169689Skan	(comptypes): Add extra parameter to prototype.
14321169689Skan	(c_write_global_declarations): New prototype.
14322169689Skan	* c-typeck.c (tagged_types_tu_compatible_p): New.
14323169689Skan	(function_types_compatible_p): Add extra parameter, change all callers.
14324169689Skan	(type_lists_compatible_p): Likewise.
14325169689Skan	(comptypes): Likewise.
14326169689Skan	(struct tagged_tu_seen): New.
14327169689Skan	(tagged_tu_seen_base): New.
14328169689Skan	(build_unary_op): Handle TRANSLATION_UNIT_DECL.
14329169689Skan	(c_mark_addressable): Remove #if 0 code.
14330169689Skan	* calls.c (special_function_p): Handle TRANSLATION_UNIT_DECL, add
14331169689Skan	comment explaining why it shouldn't have to.
14332169689Skan	* cgraph.h (struct cgraph_node): Add chain_next and chain_prev GTY
14333169689Skan	options.
14334169689Skan	* cppinit.c (cpp_read_next_file): New.
14335169689Skan	(cpp_read_main_file): Use it.
14336169689Skan	* cpplib.c (undefine_macros): New.
14337169689Skan	(cpp_undef_all): New.
14338169689Skan	* cpplib.h (cpp_read_next_file): Prototype.
14339169689Skan	(cpp_undef_all): Prototype.
14340169689Skan	* langhooks-def.h (write_global_declarations): Remove prototype.
14341169689Skan	* toplev.h (write_global_declarations): Add prototype.
14342169689Skan	* tree.c (decl_type_context): Use switch statement, handle
14343169689Skan	TRANSLATION_UNIT_DECL.
14344169689Skan	* tree.def: Update documentation for TRANSLATION_UNIT_DECL.
14345169689Skan	(TRANSLATION_UNIT_DECL): New kind of tree.
14346169689Skan	* tree.h: Update documentation for TRANSLATION_UNIT_DECL.
14347169689Skan	* Makefile.in (c-decl.o): Add $(HASHTAB_H) to dependencies.
14348169689Skan	* doc/invoke.texi: Make attempt to document new functionality.
14349169689Skan
14350169689Skan	2003-05-19  Per Bothner <bothner@apple.com>
14351169689Skan
14352169689Skan	* gcc.c (combine_inputs): New.
14353169689Skan	(process_command): Set combine_inputs.
14354169689Skan	(do_spec_1): Handle combine_inputs.
14355169689Skan	(main): Likewise.
14356169689Skan
14357169689Skan2003-07-10  James E Wilson  <wilson@tuliptree.org>
14358169689Skan
14359169689Skan	PR optimization/9745
14360169689Skan	* loop.c (loop_iv_add_mult_emit_before): Call loop_regs_update before
14361169689Skan	loop_insn_emit_before.
14362169689Skan	(loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
14363169689Skan
14364169689Skan2003-07-10  Zack Weinberg  <zack@codesourcery.com>
14365169689Skan
14366169689Skan	* cppcharset.c: Fix comment.
14367169689Skan	(iconv_close [!HAVE_ICONV]): #define to (void)0 to prevent warning.
14368169689Skan	(EILSEQ): #define to EINVAL if not already defined.
14369169689Skan	(convert_using_iconv): #if out when !HAVE_ICONV.
14370169689Skan	(init_iconv_desc): Handle !HAVE_ICONV here...
14371169689Skan	(cpp_init_iconv): ...not here.
14372169689Skan
14373169689Skan2003-07-11  Neil Booth  <neil@daikokuya.co.uk>
14374169689Skan
14375169689Skan	* common.opt: More --help messages.
14376169689Skan	* opts.c (print_help): Use puts().
14377169689Skan	* toplev.c (f_options): Remove help text.
14378169689Skan	(display_help): Don't dump f_options.
14379169689Skan
14380169689Skan2003-07-11  Nathanael Nerode  <neroden@gcc.gnu.org>
14381169689Skan
14382169689Skan	* fixinc/mkfixinc.sh: Drop reference to unsupported alpha-*-interix*.
14383169689Skan	Move i?86-*-interix* to the don't-fix list.
14384169689Skan	* fixinc/fixinc.interix: Delete with extreme prejudice.
14385169689Skan
14386169689Skan2003-07-10  Dara Hazeghi  <dhazeghi@yahoo.com>
14387169689Skan
14388169689Skan	PR bootstrap/10758
14389169689Skan	* doc/install.texi: Document requirements for ia64-*-hpux* target.
14390169689Skan
14391169689Skan2003-07-10  Roger Sayle  <roger@eyesopen.com>
14392169689Skan
14393169689Skan	* config/ia64/hpux.h (TARGET_C99_FUNCTIONS): Define.
14394169689Skan
14395169689Skan2003-07-10  Zack Weinberg  <zack@codesourcery.com>
14396169689Skan
14397169689Skan	* cppcharset.c (one_utf8_to_cppchar, one_cppchar_to_utf8,
14398169689Skan	one_utf8_to_utf32, one_utf32_to_utf8, one_utf8_to_utf16,
14399169689Skan	one_utf16_to_utf8, conversion_loop, convert_utf8_utf16,
14400169689Skan	convert_utf8_utf32, convert_utf16_utf8,	convert_utf32_utf8,
14401169689Skan	convert_no_conversion, convert_using_iconv): New functions.
14402169689Skan	(APPLY_CONVERSION): New macro.
14403169689Skan	(struct conversion, conversion_tab): New data structure.
14404169689Skan	(init_iconv_desc): Check conversion_tab for a custom conversion
14405169689Skan	primitive before trying to use iconv.
14406169689Skan	(convert_cset): Deleted.
14407169689Skan	(cpp_init_iconv): Use UTF- terminology, not UCS-.
14408169689Skan	(_cpp_destroy_iconv): Update to match.
14409169689Skan	(_cpp_valid_ucn): We don't need iconv to implement UCNs.
14410169689Skan	(convert_ucn): Use one_cppchar_to_utf8 and APPLY_CONVERSION.
14411169689Skan	(convert_escape, cpp_interpret_string): Use APPLY_CONVERSION.
14412169689Skan	(_cpp_interpret_string_notranslate): New function, moved here
14413169689Skan	from cpplib.c.
14414169689Skan
14415169689Skan	* cpphash.h (convert_f, struct cset_converter): New types.
14416169689Skan	(struct cpp_reader): narrow_cset_desc and wide_cset_desc
14417169689Skan	are now struct cset_converter, not bare iconv_t.
14418169689Skan	Update prototypes.
14419169689Skan	* cpplib.c (interpret_string_notranslate): Moved to cppcharset.c;
14420169689Skan	all callers changed.
14421169689Skan
14422169689Skan2003-07-10  Kelley Cook  <kelleycook@wideopenwest.com>
14423169689Skan
14424169689Skan	* Makefile.in (options.h): Depend on Makefile.  Add move-if-change
14425169689Skan	to opts.sh command line.
14426169689Skan	* opts.sh: Write to temporary files with a move-if-change at the end.
14427169689Skan
14428169689Skan2003-07-10  Denis Chertykov  <denisc@overta.ru>
14429169689Skan	    Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14430169689Skan
14431169689Skan	* combine.c (gen_binary): Handle the CLOBBER rtx and
14432169689Skan	don't build a binary operation with it.
14433169689Skan
14434169689Skan2003-07-10  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
14435169689Skan
14436169689Skan	* gcse.c (load_kills_store, find_loads, store_killed_in_insn,
14437169689Skan	store_killed_after, store_killed_before): Keep track of the correct
14438169689Skan	dependency function to use.
14439169689Skan
14440169689Skan2003-07-10  Steven Bosscher  <steven@gcc.gnu.org>
14441169689Skan	* toplev.c (do_compile): Don't try to open dump files before
14442169689Skan	lang_dependent_init initializes dump_base_name.
14443169689Skan
14444169689Skan2003-07-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14445169689Skan
14446169689Skan	* config/arm/arm.c (arm_init_iwmmxt_builtins, arm_expand_builtin):
14447169689Skan	Use ARRAY_SIZE.
14448169689Skan	* config/frv/frv.c (frv_expand_builtin): Likewise.
14449169689Skan	* config/sh/sh.c (sh_media_init_builtins): Likewise.
14450169689Skan
14451169689Skan2003-07-09  Mark Mitchell  <mark@codesourcery.com>
14452169689Skan
14453169689Skan	PR c++/10032
14454169689Skan	* doc/invoke.texi (C++ Dialect Options): Change documentation of
14455169689Skan	-fpermissive.
14456169689Skan
14457169689Skan2003-07-10  J"orn Rennecke <joern.rennecke@superh.com>
14458169689Skan
14459169689Skan	* tm.texi (RETURN_ADDR_OFFSET): Document.
14460169689Skan
14461169689Skan2003-07-10  Nathan Sidwell  <nathan@codesourcery.com>
14462169689Skan
14463169689Skan	* gcov-io.h: Update documentation.
14464169689Skan	(GCOV_UNSIGNED2STRING): New.
14465169689Skan	(GCOV_TAG_FUNCTION_LENGTH, GCOV_TAG_BLOCKS_LENGTH,
14466169689Skan	GCOV_TAG_ARCS_LENGTH, GCOV_TAG_COUNTER_LENGTH,
14467169689Skan	GCOV_TAG_SUMMARY_LENGTH): Adjust.
14468169689Skan	(GCOV_TAG_BLOCKS_NUM, GCOV_TAG_ARCS_NUM,
14469169689Skan	GCOV_TAG_COUNTER_NUM): New.
14470169689Skan	(GCOV_BLOCK_SIZE): Number of words.
14471169689Skan	(gcov_var): Adjust buffer type.
14472169689Skan	* gcov-io.c (gcov_write_bytes, gcov_read_bytes): Rename to ...
14473169689Skan	(gcov_write_words, gcov_read_words): ... here. Take a 4-byte word
14474169689Skan	count, not byte count.
14475169689Skan	(gcov_open): Adjust overread init.
14476169689Skan	(gcov_allocate, gcov_write_unsigned, gcov_write_counter,
14477169689Skan	gcov_write_string, gcov_write_tag, gcov_write_length,
14478169689Skan	gcov_write_tag_length): Adjust.
14479169689Skan	(gcov_read_unsigned, gcov_read_counter, gcov_read_string): Adjust.
14480169689Skan	(gcov_sync, gcov_seek): Adjust.
14481169689Skan	* gcov-dump.c (print_usage): Show gcc version only.
14482169689Skan	(dump_file): Use GCOV_UNSIGNED2STRING.
14483169689Skan	(tag_blocks, tag_arcs, tag_counters): Use GCOV_TAG_*_NUM macros.
14484169689Skan	* gcov.c (print_version): Show gcc version only.
14485169689Skan	(read_graph_file): Use GCOV_UNSIGNED2STRING. Use
14486169689Skan	GCOV_TAG_*_NUM macros.
14487169689Skan	(read_count_file): Use GCOV_UNSIGNED2STRING. Use
14488169689Skan	GCOV_TAG_COUNTER_LENGTH.
14489169689Skan	* coverage.c (read_counts_file): Use GCOV_UNSIGNED2STRING.
14490169689Skan	Use GCOV_TAG_COUNTER_NUM.
14491169689Skan	* libgcov.c (gcov_version): Use GCOV_UNSIGNED2STRING.
14492169689Skan	(__gcov_merge_single, __gcov_merge_delta): Use GCOV_CHECK.
14493169689Skan
14494169689Skan2003-07-10  Andreas Schwab  <schwab@suse.de>
14495169689Skan
14496169689Skan	* gcov-dump.c (dump_file): Fix missing address operator.
14497169689Skan
14498169689Skan2003-07-10  Kazu Hirata  <kazu@cs.umass.edu>
14499169689Skan
14500169689Skan	PR c/11449
14501169689Skan	* fold-const.c (sign_bit_p): Return EXP if VAL is the sign bit
14502169689Skan	of HOST_WIDE_INT.
14503169689Skan	(fold_single_bit_test): If sign_bit_p() fails, assume that the
14504169689Skan	bit being tested is not a sign bit.
14505169689Skan
14506169689Skan2003-07-10  Kazu Hirata  <kazu@cs.umass.edu>
14507169689Skan
14508169689Skan	* config/h8300/h8300.md (a peephole2): New.
14509169689Skan
14510169689Skan2003-07-10  Alexandre Oliva  <aoliva@redhat.com>
14511169689Skan
14512169689Skan	2001-12-13  Alexandre Oliva  <aoliva@redhat.com>
14513169689Skan	* config/mn10300/linux.h (LINK_SPEC): Rename the dynamic linker
14514169689Skan	from ld-linux.so.2 to ld.so.1.
14515169689Skan	2001-11-18  Alexandre Oliva  <aoliva@redhat.com>
14516169689Skan	* config/mn10300/linux.h (LINK_SPEC): -lpthread, not -lthread.
14517169689Skan	* config/mn10300/linux.h (LINK_SPEC): Don't handle -Wl,-rpath
14518169689Skan	nor -Wl,-rpath-link.
14519169689Skan	(LIB_SPEC): Add -rpath-link if !static.
14520169689Skan	2001-08-22  Alexandre Oliva  <aoliva@redhat.com>
14521169689Skan	* config/mn10300/mn10300.c (mn10300_protect_label): New
14522169689Skan	variable.
14523169689Skan	* config/mn10300/linux.h (PRINT_OPERAND,
14524169689Skan	PRINT_OPERAND_ADDRESS): Set it during their execution.
14525169689Skan	(ASM_OUTPUT_LABELREF): Output `+' before symbol name if
14526169689Skan	mn10300_protect_label is set.
14527169689Skan	* config/mn10300/linux.h (LINK_SPEC): Recognize -Wl,-rpath and
14528169689Skan	-Wl,-rpath-link.
14529169689Skan	(LIB_SPEC, STARTFILE_SPEC): Define.
14530169689Skan	2001-05-11  Alexandre Oliva  <aoliva@redhat.com>
14531169689Skan	* config/mn10300/t-linux (dp-bit.c, fp-bit.c): Don't define
14532169689Skan	FLOAT_BIT_ORDER_MISMATCH.
14533169689Skan	2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
14534169689Skan	* config.gcc (am33_2.0-*-linux*): Added.
14535169689Skan	* config/mn10300/linux.h: New.
14536169689Skan	* config/mn10300/t-linux: New.
14537169689Skan
14538169689Skan2003-07-10  Andreas Jaeger  <aj@suse.de>
14539169689Skan
14540169689Skan	* fold-const.c: Properly wrap prototypes.
14541169689Skan
14542169689Skan2003-07-09  Alexandre Oliva  <aoliva@redhat.com>
14543169689Skan
14544169689Skan	2003-06-16  Alexandre Oliva  <aoliva@redhat.com>
14545169689Skan	* config/mn10300/mn10300.c (mn10300_unspec_int_label_counter):
14546169689Skan	Moved from...
14547169689Skan	* config/mn10300/mn10300.md (GOTaddr2picreg): ... here.
14548169689Skan	* config/mn10300/mn10300.h: GTY-declare it.
14549169689Skan	2003-06-11  Alexandre Oliva  <aoliva@redhat.com>
14550169689Skan	* config/mn10300/mn10300.c (mn10300_encode_section_info): Fix
14551169689Skan	prototype.  Use incoming RTL argument.
14552169689Skan	2002-12-12  Alexandre Oliva  <aoliva@redhat.com>
14553169689Skan	* config/mn10300/mn10300.md (int_label): Move C statements...
14554169689Skan	(GOTaddr2picreg): ... here.
14555169689Skan	2002-08-15  Alexandre Oliva  <aoliva@redhat.com>
14556169689Skan	* config/mn10300/mn10300.h (ENCODE_SECTION_INFO): Move...
14557169689Skan	* config/mn10300/mn10300.c (mn10300_encode_section_info):
14558169689Skan	... here.  New function.
14559169689Skan	(TARGET_ENCODE_SECTION_INFO): Define to it.
14560169689Skan	2001-11-04  Alexandre Oliva  <aoliva@redhat.com>
14561169689Skan	* config/mn10300/mn10300.md (builtin_setjmp_receiver): Fix typo in
14562169689Skan	pattern name.
14563169689Skan	(mn10300_loadPC): Define as insn splittable after reload.
14564169689Skan	2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
14565169689Skan	* config/sh/mn10300.h (JUMP_TABLES_IN_TEXT_SECTION): Let them
14566169689Skan	be defined in .rodata even in PIC, now that the assembler
14567169689Skan	supports that.
14568169689Skan	2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
14569169689Skan	* config/mn10300/mn10300.h (GOT_SYMBOL_NAME): Don't let the
14570169689Skan	symbol take an underscore prefix.
14571169689Skan	2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
14572169689Skan	* config/mn10300/mn10300-protos.h (legitimate_pic_operand_p,
14573169689Skan	legitimize_pic_address): Declare.
14574169689Skan	* config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Mark
14575169689Skan	the PIC register as fixed.
14576169689Skan	(EXTRA_CONSTRAINT): Match UNSPEC_PLT and UNSPEC_PIC for 'S'.
14577169689Skan	(GO_IF_LEGITIMATE_ADDRESS): Require legitimate_pic_operand for
14578169689Skan	PIC.
14579169689Skan	(LEGITIMATE_PIC_OPERAND_P): Define.
14580169689Skan	(PIC_OFFSET_TABLE_REGNUM): Define.
14581169689Skan	(GOT_SYMBOL_NAME): Define.
14582169689Skan	(SYMBOLIC_CONST_P): Define.
14583169689Skan	(ENCODE_SECTION_INFO): Use SYMBOL_REF_FLAG to mark local
14584169689Skan	symbols.
14585169689Skan	(MN10300_GLOBAL_P): Test it.
14586169689Skan	(OUTPUT_ADDR_CONST_EXTRA): Handle PIC-related unspecs.
14587169689Skan	(JUMP_TABLES_IN_TEXT_SECTION): Enable for PIC.
14588169689Skan	* config/mn10300/mn10300.c (print_operand): Handle unspec.
14589169689Skan	(expand_prologue): Set PIC register.
14590169689Skan	(call_address_operand): Don't match SYMBOL_REFs in PIC.
14591169689Skan	(legitimize_address): Call legitimize_pic_address.
14592169689Skan	(legitimize_pic_address): New fn.
14593169689Skan	(legitimate_pic_operand_p): New fn.
14594169689Skan	* config/mn10300/mn10300.md (PIC_REG, SP_REG): New constants.
14595169689Skan	(UNSPEC_INT_LABEL, UNSPEC_PIC, UNSPEC_GOT, UNSPEC_GOTOFF,
14596169689Skan	UNSPEC_PLT): New constants.
14597169689Skan	(pop_pic_reg): New insn.
14598169689Skan	(movsi): Adjust non-PIC addresses.
14599169689Skan	(builtin_setjmp_receiver): Restore the PIC register.
14600169689Skan	(casesi): New insn.
14601169689Skan	(call): Adjust non-PIC addresses.
14602169689Skan	(int_label, GOTaddr2picreg): New expands.
14603169689Skan	(am33_loadPC): New insn.
14604169689Skan	(mn10300_loadPC): New expand.
14605169689Skan	(call_next_insn): New insn.
14606169689Skan	(add_GOT_to_pic_reg): New expand.
14607169689Skan	(symGOT2reg, symGOT2reg_i): New expands.
14608169689Skan	(symGOTOFF2reg, symGOTOFF2reg_i): New expands.
14609169689Skan	(sym2PIC, sym2PLT): New expands.
14610169689Skan
14611169689Skan2003-07-09  Alexandre Oliva  <aoliva@redhat.com>
14612169689Skan
14613169689Skan	* config/mn10300/mn10300.h (PREDICATE_CODES): Define.
14614169689Skan	2001-05-01  Alexandre Oliva  <aoliva@redhat.com>
14615169689Skan	* config/mn10300/mn10300.md (sqrtsf2): flag_fast_math was renamed
14616169689Skan	to flag_unsafe_math_optimizations.
14617169689Skan	2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
14618169689Skan	* config/mn10300/mn10300.c (expand_prologue): Mark
14619169689Skan	FP-register-saving insns as frame-related.
14620169689Skan	2001-02-13  Alexandre Oliva  <aoliva@redhat.com>
14621169689Skan	* config/mn10300/mn10300.c
14622169689Skan	(mn10300_get_live_callee_saved_regs): Don't search past
14623169689Skan	LAST_EXTENDED_REGNUM.
14624169689Skan	(mn10300_gen_multiple_store, store_multiple_operation): Likewise.
14625169689Skan	* config/mn10300/mn10300.md: Remove excessive line breaks from
14626169689Skan	`@' output patterns that were accounted as additional
14627169689Skan	alternatives.
14628169689Skan	* config/mn10300/mn10300.md, config/mn10300/mn10300.c:
14629169689Skan	Re-introduce changes accidentally removed in Richard Sandiford's
14630169689Skan	2000-12-05's patch.
14631169689Skan	* config/mn10300/t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
14632169689Skan	Re-instate am33-2 lost in merge from net GCC.
14633169689Skan	2000-08-26  Alexandre Oliva  <aoliva@redhat.com>
14634169689Skan	* config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Added
14635169689Skan	floating-point registers.
14636169689Skan	2000-08-07  Alexandre Oliva  <aoliva@redhat.com>
14637169689Skan	* config/mn10300/mn10300.md (movdf): Revert some am33-specific
14638169689Skan	pessimizations that had gone in on 2000-05-08.
14639169689Skan	2000-06-28  Graham Stott  <grahams@cygnus.co.uk>
14640169689Skan	* config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Fix typo.
14641169689Skan	2000-06-22  Graham Stott  <grahams@cygnus.co.uk>
14642169689Skan	* config/mn10300/mn10300.md (movqi): Use nonimmediate_operand for
14643169689Skan	operand 0.
14644169689Skan	* (movhi): Likewise.
14645169689Skan	* (movsi): Likewise.
14646169689Skan	* (movsf): Likewise.
14647169689Skan	* (movdi): Likewise.
14648169689Skan	* (movdf): Likewise.
14649169689Skan	2000-05-24  Alexandre Oliva  <aoliva@cygnus.com>
14650169689Skan	* config/mn10300/mn10300.c (fp_regs_to_save): New function.
14651169689Skan	(can_use_return_insn, initial_offset): Add fp_regs_to_save.
14652169689Skan	(expand_prologue, expand_epilogue): Save and restore FP regs.
14653169689Skan	2000-05-20  Alexandre Oliva  <aoliva@cygnus.com>
14654169689Skan	* config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up.
14655169689Skan	2000-05-13  Alexandre Oliva  <aoliva@cygnus.com>
14656169689Skan	* config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2, addsf3,
14657169689Skan	subsf3, mulsf3, divsf3, fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4):
14658169689Skan	Do not clobber cc0.
14659169689Skan	2000-05-12  Alexandre Oliva  <aoliva@cygnus.com>
14660169689Skan	* config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2):
14661169689Skan	Discourage the two-argument, longer opcodes.
14662169689Skan	(addsf3, subsf3, mulsf3, divsf3): Likewise for three-argument
14663169689Skan	ones.
14664169689Skan	* config/mn10300/mn10300.h (struct mn10300_cc_status_mdep): New.
14665169689Skan	(CC_STATUS_MDEP, CC_STATUS_MDEP_INIT): Define.
14666169689Skan	* config/mn10300/mn10300.md (cmpsf): New pattern.
14667169689Skan	(branch): Test mdep.fpCC and output fbCC.
14668169689Skan	* config/mn10300/mn10300.c (print_operand): Output conditions.
14669169689Skan	(notice_cc_update): Recognize fcmp and set mdep.fpCC.
14670169689Skan	2000-05-10  Alexandre Oliva  <aoliva@cygnus.com>
14671169689Skan	* config/mn10300/mn10300.md (movsf, movdf, addsf3, subsf3,
14672169689Skan	mulsf3, divsf3): Use the `F' constraint for FP values.
14673169689Skan	* config/mn10300/mn10300.c (const_1f_operand): New function.
14674169689Skan	* config/mn10300/mn10300-protos.h (const_1f_operand): Declare.
14675169689Skan	* config/mn10300/mn10300.md (sqrtsf2): New expand.
14676169689Skan	(rsqrtsf2): New insn.
14677169689Skan	2000-05-09  Alexandre Oliva  <aoliva@cygnus.com>
14678169689Skan	* config/mn10300/mn10300.md (movdf): Oops, I missed it in my
14679169689Skan	previous check-in.
14680169689Skan	2000-05-08  Alexandre Oliva  <aoliva@cygnus.com>
14681169689Skan	* config/mn10300/mn10300.md (abssf2, negdf2): On
14682169689Skan	TARGET_AM33_2, expand to...
14683169689Skan	(abssf2_am33_2, negdf2_am33_2): New insns.
14684169689Skan	(addsf3, subsf3, mulsf3, divsf3): Likewise.
14685169689Skan	(fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4): Likewise.
14686169689Skan	* config/mn10300/mn10300.md (movqi, movhi, movsi, movsf,
14687169689Skan	movdi, movdf): Added FP regs.
14688169689Skan	* invoke.texi (-mam33-2, -mno-am33-2): Document.
14689169689Skan	2000-04-29  Alexandre Oliva  <aoliva@cygnus.com>
14690169689Skan	* config/mn10300/mn10300.h (FIRST_FP_REGNUM, LAST_FP_REGNUM):
14691169689Skan	New macros.
14692169689Skan	(REGNO_AM33_2_FP_P): Renamed to...
14693169689Skan	(REGNO_FP_P): Redefine in terms of FIRST_* and LAST_*.
14694169689Skan	(CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
14695169689Skan	2000-04-27  Alexandre Oliva  <aoliva@cygnus.com>
14696169689Skan	* config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Remove FP
14697169689Skan	regs from GENERAL_REGS.
14698169689Skan	2000-04-27  Alexandre Oliva  <aoliva@cygnus.com>
14699169689Skan	* config/mn10300/mn10300.h (REGNO_AM33_2_FP_P): New macro.
14700169689Skan	* config/mn10300/mn10300.c (mn10300_address_cost): Added FP_REGS.
14701169689Skan	* config/mn10300/mn10300.h (REGISTER_MOVE_COST): Added FP_REGS.
14702169689Skan	2000-04-23  Alexandre Oliva  <aoliva@cygnus.com>
14703169689Skan	* config/mn10300/mn10300.h (CLASS_CANNOT_CHANGE_SIZE): Defined
14704169689Skan	as FP_REGS.
14705169689Skan	2000-04-21  Alexandre Oliva  <aoliva@cygnus.com>
14706169689Skan	* config/mn10300/mn10300.h (OK_FOR_Q): New macro.
14707169689Skan	(EXTRA_CONSTRAINT): Added OK_FOR_Q.
14708169689Skan	* config/mn10300/mn10300.c (secondary_reload_class): Adjust.
14709169689Skan	* config/mn10300/mn10300.c (print_operand): Support `D' for doubles.
14710169689Skan	* config/mn10300/mn10300.h (FIRST_PSEUDO_REGISTER): Adjust.
14711169689Skan	(FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER): Added
14712169689Skan	AM33/2.0 floating-point registers.
14713169689Skan	(CONDITIONAL_REGISTER_USAGE): Adjust.
14714169689Skan	(enum reg_class, REG_CLASS_NAMES): Added FP_REGS and FP_ACC_REGS.
14715169689Skan	(REG_CLASS_CONTENTS, REGNO_REG_CLASS): Adjust.
14716169689Skan	(REG_CLASS_FROM_LETTER): Added `f' and `A'.
14717169689Skan	(REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Adjust.
14718169689Skan	* config/mn10300/t-mn10300 (MULTILIB_OPTIONS): Added am33-2.
14719169689Skan	(MULTILIB_DIRNAMES): Likewise.
14720169689Skan	* config/mn10300/mn10300.h (CPP_SPEC): Define `__AM33__=2' and
14721169689Skan	`__AM33_2__' when `-mam33-2' is given.
14722169689Skan	(TARGET_AM33_2): Define.
14723169689Skan	(TARGET_SWITCHES): Adjust.
14724169689Skan	* config/mn10300/mn10300.c (asm_file_start): Print `.am33_2'
14725169689Skan	when appropriate.
14726169689Skan
14727169689Skan2003-07-09  Matt Kraai  <kraai@alumni.cmu.edu>
14728169689Skan
14729169689Skan	* doc/install.texi: Add missing @.
14730169689Skan
14731169689Skan2003-07-09  Bob Wilson  <bob.wilson@acm.org>
14732169689Skan
14733169689Skan	* config/xtensa/xtensa.h (CRT_CALL_STATIC_FUNCTION): Define.
14734169689Skan
14735169689Skan2003-07-09  Aldy Hernandez  <aldyh@redhat.com>
14736169689Skan
14737169689Skan	PR/11144
14738169689Skan	* config/i386/i386.c (ix86_function_arg_boundary): Remove abort.
14739169689Skan
14740169689Skan2003-07-09  Nathanael Nerode  <neroden@gcc.gnu.org>
14741169689Skan
14742169689Skan	PR bootstrap/11043
14743169689Skan	* config/arc/t-arc: Replace bogus references to "x-crtinit.o",
14744169689Skan	"x-crtfini.o" with "crtinit.o", "crtfini.o".
14745169689Skan
14746169689Skan	* fixinc/inclhack.def (limits_ifndefs): Add select test.
14747169689Skan	* fixinc/fixincl.x: Rebuild.
14748169689Skan
14749169689Skan	* fixinc/inclhack.def (math_exception):  Improve bypass and comment.
14750169689Skan	* fixinc/fixincl.x: Rebuild.
14751169689Skan
14752169689Skan2003-07-09  Hans-Peter Nilsson  <hp@bitrange.com>
14753169689Skan
14754169689Skan	* doc/install.texi (Configuration): Document the valgrind option
14755169689Skan	to --enable-checking.
14756169689Skan
14757169689Skan2003-07-09  Jan Hubicka  <jh@suse.cz>
14758169689Skan
14759169689Skan	* objc-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
14760169689Skan
14761169689Skan2003-07-09  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
14762169689Skan
14763169689Skan	* c-lex.c (cb_ident): Cast cstr.text to const char *.
14764169689Skan
14765169689Skan2003-07-09  Nathan Sidwell  <nathan@codesourcery.com>
14766169689Skan
14767169689Skan	* gcov-io.h: Update documentation.
14768169689Skan	(GCOV_GRAPH_SUFFIX, GCOV_GRAPH_MAGIC): Rename to GCOV_NOTE_SUFFIX,
14769169689Skan	GCOV_NOTE_MAGIC.
14770169689Skan	(GCOV_DATA_SUFFIX, GCOV_NOTE_SUFFIX): Update.
14771169689Skan	(GCOV_DATA_MAGIC, GCOV_NOTE_MAGIC): Make non-palindromic.
14772169689Skan	(struct gcov_var): Change buffer's type. Add endian flag.
14773169689Skan	(gcov_open): Remove mode in libgcov.
14774169689Skan	(gcov_magic): Prototype.
14775169689Skan	* gcov-io.c (from_file): New.
14776169689Skan	(gcov_open): Clear endian flag.
14777169689Skan	(gcov_magic): New.
14778169689Skan	(gcov_write_bytes, gcov_read_bytes): Return gcov_unsigned_t
14779169689Skan	pointers.
14780169689Skan	(gcov_write_unsigned, gcov_write_counter, gcov_write_string,
14781169689Skan	gcov_write_tag, gcov_write_length, gcov_write_tag_length): Update.
14782169689Skan	(gcov_read_unsigned, gcov_read_counter, gcov_read_string): Update.
14783169689Skan	* gcov-iov.c (main): Correct cast.
14784169689Skan	* coverage.c (read_counts_file): Use gcov_magic. Remove endianness
14785169689Skan	conversion.
14786169689Skan	(gcov_begin_output): Use GCOV_NOTE_MAGIC.
14787169689Skan	(coverage_init): Use GCOV_NOTE_SUFFIX.
14788169689Skan	* libgcov.c (gcov_version_mismatch): Remove endianness conversion.
14789169689Skan	Rename to gcov_version, and return flag.
14790169689Skan	(gcov_exit): Use gcov_version.
14791169689Skan	(__gcov_init): Use gcov_version.
14792169689Skan	* Makefile.in (coverageexts): Update.
14793169689Skan	* gcov.c (print_version): Remove endianness conversion.
14794169689Skan	(create_file_names): Use GCOV_NOTE_SUFFIX.
14795169689Skan	(read_graph_file): Use gcov_magic.
14796169689Skan	(read_count_file): Likewise.
14797169689Skan	* gcov-dump.c (dump_file): Remove endianness conversion, use
14798169689Skan	gcov_magic.
14799169689Skan
14800169689Skan2003-07-09  Nathan Sidwell  <nathan@codesourcery.com>
14801169689Skan
14802169689Skan	* configure.in (BUILD_PREFIX, BUILD_PREFIX_1): Set if enable
14803169689Skan	coverage is on.
14804169689Skan	* configure: Regenerated.
14805169689Skan	* Makefile.in (ALL_CFLAGS): Correct its comment.
14806169689Skan
14807169689Skan2003-07-08  Mark Mitchell  <mark@codesourcery.com>
14808169689Skan
14809169689Skan	* fold-const.c (make_range): Do not access operand 1 for a
14810169689Skan	zero-operand operator.
14811169689Skan
14812169689Skan2003-07-09  Neil Booth  <neil@daikokuya.co.uk>
14813169689Skan
14814169689Skan	* toplev.c (warn_dummy, W_options): Die.
14815169689Skan	(display_help): Don't print W_options.
14816169689Skan	* common.opt: Add W_options help from toplev.c.
14817169689Skan
14818169689Skan2003-07-09  Andreas Jaeger  <aj@suse.de>
14819169689Skan
14820169689Skan	* opts.c (wrap_help): Only pass int arguments as arguments to
14821169689Skan	printf's '*' modifier.  Change argument of function.
14822169689Skan
14823169689Skan2003-07-08  Matt Kraai  <kraai@alumni.cmu.edu>
14824169689Skan
14825169689Skan	* doc/invoke.texi: Fix misspelling of "@item".
14826169689Skan
14827169689Skan2003-07-08  Kazu Hirata  <kazu@cs.umass.edu>
14828169689Skan
14829169689Skan	* config/i386/i386.md: Remove an old comment about
14830169689Skan	NOTICE_UPDATE_CC.
14831169689Skan
14832169689Skan2003-07-09  Jan Hubicka  <jh@suse.cz>
14833169689Skan
14834169689Skan	* cgraph.c (cgraph_node_name): New function.
14835169689Skan	(dump_cgraph): Use it.
14836169689Skan	* cgraph.h (cgraph_dump_file): Declare.
14837169689Skan	(cgraph_node_name): Declare.
14838169689Skan	* cgraphunit.c: Include timevar.h
14839169689Skan	(cgraph_finalize_compilation_unit): Use timevar; reorganize dumps.
14840169689Skan	(cgraph_optimize_function): Use TV_INTEGRATION.
14841169689Skan	(cgraph_mark_local_functions): reorganize dumps.
14842169689Skan	(cgraph_mark_functions_to_inline_once): Likewise.
14843169689Skan	(cgraph_optimize): Likewise; use timevar.
14844169689Skan	* timevar.def (TV_CGRAPH, TV_CGRAPHOPT): New.
14845169689Skan	* toplev.c (dump_file_index): Add DFI_cgraph.
14846169689Skan	(dump_file_info): Likewise.
14847169689Skan	(cgraph_dump_file): New global variable.
14848169689Skan	(do_compile): Open and close cgraph dump.
14849169689Skan	* invoke.texi (-d): Document new flag; renumber.
14850169689Skan
14851169689Skan2003-07-08  Roger Sayle  <roger@eyesopen.com>
14852169689Skan
14853169689Skan	PR c/11370
14854169689Skan	* calls.c (emit_call_1): Don't bother popping the arguments off of
14855169689Skan	the stack after a noreturn function call;  The adjustment is dead.
14856169689Skan	(expand_call): Likewise.
14857169689Skan
14858169689Skan2003-07-08  Geoffrey Keating  <geoffk@apple.com>
14859169689Skan
14860169689Skan	* expr.c (MOVE_MAX_PIECES): Move from here...
14861169689Skan	* defaults.h (MOVE_MAX_PIECES): ... to here.
14862169689Skan
14863169689Skan2003-07-08  Matt Kraai  <kraai@alumni.cmu.edu>
14864169689Skan
14865169689Skan	* Makefile.in (stage1-start): Handle an empty SUBDIRS.
14866169689Skan
14867169689Skan2003-07-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14868169689Skan
14869169689Skan	* genattr.c (internal_dfa_insn_code): Don't prototype.
14870169689Skan	* genattrtab.c (attr_desc): Add `static_p' field.
14871169689Skan	(expand_units): Make blockage range and ready cost functions
14872169689Skan	static.
14873169689Skan	(write_attr_get): Don't add extern prototypes in C file.  Mark
14874169689Skan	static functions as appropriate.
14875169689Skan	(find_attr, make_internal_attr): Initialize static_p.
14876169689Skan	* genattrtab.h (ATTR_STATIC): New macro.
14877169689Skan	* genautomata.c (output_internal_reset_func): Mark output function
14878169689Skan	as inline.
14879169689Skan	(make_internal_dfa_insn_code_attr): Mark output function as static.
14880169689Skan
14881169689Skan2003-07-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14882169689Skan
14883169689Skan	* genattrtab.h: Add new macros for attr `special' flags.
14884169689Skan	* genattrtab.c (attr_desc): Reorder/resize fields better.
14885169689Skan	Use attr `special' macros in all calls to make_internal_attr.
14886169689Skan	* genautomata.c: Likewise.
14887169689Skan
14888169689Skan2003-07-09  Jan Hubicka  <jh@suse.cz>
14889169689Skan
14890169689Skan	* c-common.c (c_estimate_num_insns_1): New static function.
14891169689Skan	(c_estimate_num_insns): New global function.
14892169689Skan	* c-common.h (DECL_NUM_STMTS): Rename to...
14893169689Skan	(DECL_ESTIMATED_INSNS): ... this.
14894169689Skan	(c_estimate_num_insns): Declare.
14895169689Skan	* c-decl.c (duplicate_decls): Use DECL_ESTIMATED_INSNS.
14896169689Skan	* c-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
14897169689Skan	* c-semantics.c (add_stmt): Do not account statements.
14898169689Skan	* langhooks-def.h (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS):
14899169689Skan	New.
14900169689Skan	* langhooks.h (lang_hooks_for_tree_inlining): Add
14901169689Skan	estimate_num_insns
14902169689Skan	* params.def (max-inline-insns-auto, max-inline-insns-auto): set
14903169689Skan	to 100.
14904169689Skan	(max-inline-insns): set to 300.
14905169689Skan	(min-inline-insns): set to 10.
14906169689Skan	* tree-inline.c (struct inline_data): Rename inlined_stmts to
14907169689Skan	inlined-insns.
14908169689Skan	(INSNS_PER_STMT): Kill.
14909169689Skan	(inlinable_function_p): Compute and store body size.
14910169689Skan	(expand_call_inline): Likewise.
14911169689Skan	(optimize_inline_calls): Likewise.
14912169689Skan
14913169689Skan2003-07-08  James E Wilson  <wilson@tuliptree.org>
14914169689Skan
14915169689Skan	PR target/10021
14916169689Skan	* emit-rtl.c (set_mem_attribute_minus_bitpos): When handle ARRAY_REF,
14917169689Skan	loop over new variable t2 instead of t.
14918169689Skan
14919169689Skan2003-07-08  Danny Smith  <dannysmith@users.sourceforge.net>
14920169689Skan
14921169689Skan	PR bootstrap/11455
14922169689Skan	* config/i386/winnt.c: Replace use of error(), warning() with
14923169689Skan	error_with_decl(), warning_with_decl(),  throughout.
14924169689Skan
14925169689Skan2003-07-08  Neil Booth  <neil@daikokuya.co.uk>
14926169689Skan
14927169689Skan	* opts.c (wrap_help): Use unsigned int, not size_t.
14928169689Skan
14929169689Skan2003-07-08  Stephane Carrez  <stcarrez@nerim.fr>
14930169689Skan
14931169689Skan	* config/m68hc11/m68hc11.h (HAVE_AS_DWARF2_DEBUG_LINE): Don't define
14932169689Skan	as .file/.loc directives are incompatible with linker relaxation.
14933169689Skan
14934169689Skan2003-07-08  Zack Weinberg  <zack@codesourcery.com>
14935169689Skan
14936169689Skan	* Makefile.in (fixinc.sh): Remove gnu-regex.[ch] from dependencies.
14937169689Skan	* fixinc/Makefile.in: Remove all references to gnu-regex.[och].
14938169689Skan	* fixinc/fixfixes.c, fixinc/fixincl.c, fixinc/fixlib.c
14939169689Skan	* fixinc/fixtests.c: Use xregexec not regexec, xregcomp not regcomp.
14940169689Skan	* fixinc/fixlib.h: Include xregex.h not gnu-regex.h.
14941169689Skan	* fixinc/inclhack.def (hpux10_cpp_pow_inline, hpux11_cpp_pow_inline):
14942169689Skan	Escape { and } characters which are not part of range expressions.
14943169689Skan	* fixinc/fixincl.x: Regenerate.
14944169689Skan	* fixinc/gnu-regex.c, fixinc/gnu-regex.h: Delete file.
14945169689Skan
14946169689Skan2003-07-08  Steven Bosscher  <steven@gcc.gnu.org>
14947169689Skan
14948169689Skan	PR c/1687
14949169689Skan	* tree-inline.c (find_alloca_call): Use
14950169689Skan	walk_tree_without_duplicates, instead of walk_tree.
14951169689Skan	(find_builtin_longjmp_call): Likewise.
14952169689Skan	* c-objc-common.c (c_cannot_inline_fn): Likewise.
14953169689Skan	* c-semantics.c (find_reachable_label): Likewise.
14954169689Skan
14955169689Skan2003-07-08  Jakub Jelinek  <jakub@redhat.com>
14956169689Skan
14957169689Skan	PR c/11420
14958169689Skan	* config/i386/i386.c (ix86_check_movabs): New function.
14959169689Skan	* config/i386/i386-protos.h (ix86_check_movabs): New prototype.
14960169689Skan	* config/i386/i386.md (movabs[shqd]i_1_rex64): Kill broken alternative.
14961169689Skan	(movabs[shqd]i_[12]_rex64): Add ix86_check_movabs check to conditions.
14962169689Skan
14963169689Skan2003-07-08  Chris Demetriou  <cgd@broadcom.com>
14964169689Skan
14965169689Skan	* Makefile.in (install-po): Cope with empty CATALOGS.
14966169689Skan
14967169689Skan2003-07-08  Richard Sandiford  <rsandifo@redhat.com>
14968169689Skan
14969169689Skan	* config/mips/elf64.h (TARGET_ASM_UNIQUE_SECTION): Delete.
14970169689Skan	(EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Delete.
14971169689Skan	(SECTION_FUNCTION_TEMPLATE): Delete.
14972169689Skan	* config/mips/elf.h: As for elf64.h.
14973169689Skan	(ASM_OUTPUT_ALIGNED_BSS): Use named_section rather than sbss_section.
14974169689Skan	* config/mips/linux.h: As for elf.h
14975169689Skan	* config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
14976169689Skan	* config/mips/iris6.h (EXTRA_SECTIONS): Delete.
14977169689Skan	(EXTRA_SECTION_FUNCTIONS): Remove sdata_section.  Remove the handling
14978169689Skan	of in_sdata from current_section_name and current_section_flags.
14979169689Skan	* config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
14980169689Skan	* config/mips/mips.h (sdata_section, sbss_section): Remove prototypes.
14981169689Skan	(MASK_GP_OPT, TARGET_GP_OPT): Delete.
14982169689Skan	(MASK_NO_FUSED_MADD): Use MASK_GP_OPT's old value.
14983169689Skan	(TARGET_SWITCHES): Neuter gpOPT, gpopt, no-gpOPT and no-gpopt.
14984169689Skan	(SMALL_DATA_SECTION, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
14985169689Skan	* config/mips/mips.c (TARGET_IN_SMALL_DATA_P): Override.
14986169689Skan	(TARGET_SECTION_TYPE_FLAGS): Override if TARGET_IRIX6.
14987169689Skan	(mips_classify_symbol): Use SYMBOL_REF_SMALL_P.
14988169689Skan	(override_options): Remove setting of MASK_GPOPT.
14989169689Skan	(mips_output_external): Use mips_in_small_data_p to check whether a
14990169689Skan	symbol needs an .extern directive.  Don't emit such directives for
14991169689Skan	TARGET_EXPLICIT_RELOCS.
14992169689Skan	(mips_declare_object): Update accordingly.
14993169689Skan	(mips_select_rtx_section): Call named_section rather than
14994169689Skan	SMALL_DATA_SECTION.
14995169689Skan	(mips_select_section): Use default_elf_section_section for everything
14996169689Skan	except .text string constants.
14997169689Skan	(mips_in_small_data_p): New function.
14998169689Skan	(mips_encode_section_info): Remove small data handling.
14999169689Skan	(mips_unique_section): Delete.
15000169689Skan	(iris6_section_type_flags): New function.
15001169689Skan	* doc/tm.texi: Remove documentation of -mgpopt and -mhalf-pic.
15002169689Skan
15003169689Skan2003-07-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
15004169689Skan
15005169689Skan	PR Target/11453
15006169689Skan	* pa.md: Disparage all mtsar constraints.
15007169689Skan	(extzv, extv, insv): Don't fail on length of {32|64}.
15008169689Skan
15009169689Skan2003-07-08  Zack Weinberg  <zack@codesourcery.com>
15010169689Skan
15011169689Skan	* system.h: Poison MAP_CHARACTER.
15012169689Skan	* config/i370/i370-protos.h (mvs_map_char): Delete.
15013169689Skan	* config/i370/i370.c (ascebc, ebcasc, mvs_map_char): Delete.
15014169689Skan	* config/i370/i370.h (MAP_CHARACTER): Delete definition.
15015169689Skan	(ASM_OUTPUT_ASCII): Don't use MAP_CHARACTER.
15016169689Skan
15017169689Skan2003-07-08  Danny Smith  <dannysmith@users.sourceforge.net>
15018169689Skan
15019169689Skan	* toplev.c (randomize): Correct call to time().
15020169689Skan
15021169689Skan2003-07-08  Jakub Jelinek  <jakub@redhat.com>
15022169689Skan
15023169689Skan	* unroll.c (reg_dead_after_loop): Check for reg in REG_EQUAL and
15024169689Skan	REG_EQUIV notes as well.
15025169689Skan
15026169689Skan2003-07-08  Kazu Hirata  <kazu@cs.umass.edu>
15027169689Skan
15028169689Skan	* doc/md.texi: Fix the description of addmodecc.
15029169689Skan
15030169689Skan2003-07-07  Zack Weinberg  <zack@codesourcery.com>
15031169689Skan
15032169689Skan	* Makefile.in (top_builddir): Set to "..", not ".".
15033169689Skan	(INTLLIBS, INTLDEPS): Delete.
15034169689Skan	(LIBINTL, LIBINTL_DEP, LIBICONV_DEP): New variables to be substituted.
15035169689Skan	(LIBDEPS): Add $(LIBICONV_DEP).
15036169689Skan	(LIBS): Take out $(INTLLIBS), add $(LIBINTL) and $(LIBICONV).
15037169689Skan	(INCLUDES): Replace -I../intl with @INCINTL@.
15038169689Skan	($(top_builddir)/intl/libintl.a): Delete rule.
15039169689Skan	(stage2-start, stage3-start, stage4-start, stageprofile-start,
15040169689Skan	stagefeedback-start): Use $$ for variable to be evaluated by
15041169689Skan	shell, not make.
15042169689Skan	* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT,
15043169689Skan	HAVE_LC_MESSAGES, HAVE_STPCPY): Delete.
15044169689Skan	* aclocal.m4: sinclude ../config/progtest.m4.  Add
15045169689Skan	contents of lcmessage.m4 from gettext distro.
15046169689Skan	* configure.in: Check for wchar.h and setlocale.  Set
15047169689Skan	LIBICONV_DEP to the empty string and substitute it.
15048169689Skan	Call AM_LC_MESSAGES.  Delete AC_ARG_ENABLE for --enable-nls;
15049169689Skan	this is handled elsewhere.  Use ZW_GNU_GETTEXT_SISTER_DIR,
15050169689Skan	not CY_GNU_GETTEXT.  Clear $LIBICONV if its text is included
15051169689Skan	in $LIBINTL, to avoid linking it twice.
15052169689Skan	* configure, config.in: Regenerate.
15053169689Skan
15054169689Skan2003-07-08  Nathanael Nerode  <neroden@gcc.gnu.org>
15055169689Skan
15056169689Skan	* fixinc/mkfixinc.sh: Remove winnt support.
15057169689Skan	* fixinc/fixinc.winnt: Delete with extreme prejudice.
15058169689Skan
15059169689Skan2003-07-08  Neil Booth  <neil@daikokuya.co.uk>
15060169689Skan
15061169689Skan	* Makefile.in: Update.
15062169689Skan	* c-opts.c (c_common_handle_option): opt_text now contains the '-'.
15063169689Skan	* c.opt: Update documentation.
15064169689Skan	* common.opt: Add some help text.
15065169689Skan	* opts.c: Include intl.h.
15066169689Skan	(wrap_help, print_help): New.
15067169689Skan	(find_opt, handle_option, common_handle_option): opt_text now
15068169689Skan	contains the '-'.  Use print_help to output help.
15069169689Skan	* opts.h (struct cl_option): New member "help".
15070169689Skan	* opts.sh: Update to handle help text output and to prepend
15071169689Skan	options with '-'.
15072169689Skan	* toplev.c (display_help): Remove some help text.
15073169689Skan
15074169689Skan2003-07-07  David Edelsohn  <edelsohn@gnu.org>
15075169689Skan	    Fariborz Jahanian  <fjahanian@apple.com>
15076169689Skan
15077169689Skan	* configure.in: Test for PowerPC mfcr field support in assembler.
15078169689Skan	* config.in, configure: Regenderated.
15079169689Skan
15080169689Skan	* config/rs6000/power4.md: Add mfcrf reservation.
15081169689Skan	* config/rs6000/rs6000-protos.h (mfcr_operation): Declare.
15082169689Skan	* config/rs6000/rs6000.c (mfcr_operation): Define.
15083169689Skan	(print_operand): Add 'Q' case for mfcrf.
15084169689Skan	* config/rs6000/rs6000.h (TARGET_MFCRF): New.
15085169689Skan	* config/rs6000/rs6000.md (attribute "type"): Add mfcrf.
15086169689Skan	(movcc_internal1): Emit optional field operand for mfcr and set
15087169689Skan	"type" attribute appropriately.
15088169689Skan	(mfcr SCC): Likewise.
15089169689Skan	(movesi_from_cr_one): New.
15090169689Skan
15091169689Skan2003-07-07  Roger Sayle  <roger@eyesopen.com>
15092169689Skan
15093169689Skan	* config/i386/i386.md: Correct check-in of incorrect version.
15094169689Skan
15095169689Skan2003-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15096169689Skan
15097169689Skan	* bitmap.c (debug_bitmap_file): Merge uses of HOST_PTR_PRINTF with
15098169689Skan	adjacent stdio calls.
15099169689Skan	* c-decl.c (c_print_identifier): Likewise.
15100169689Skan	* mips-tfile.c (write_varray, write_object, allocate_cluster): Likewise.
15101169689Skan	* print-rtl.c (print_rtx): Likewise.
15102169689Skan	* print-tree.c (print_node_brief, print_node): Likewise.
15103169689Skan	* system.h (HOST_PTR_PRINTF): Ensure we have a literal string.
15104169689Skan
15105169689Skan	* configure.in (AC_COMPILE_CHECK_SIZEOF): Check for `void *'.
15106169689Skan	* config.in, configure: Regenerated.
15107169689Skan
15108169689Skan2003-07-07  Roger Sayle  <roger@eyesopen.com>
15109169689Skan
15110169689Skan	PR target/10979
15111169689Skan	* config/i386/i386.md (atan2df3, atan2sf3, atan2xf3, atan2tf3):
15112169689Skan	Changed to define_expand patterns that copy operand[1] to prevent
15113169689Skan	it from being clobbered before emitting an atan2?f3_1 insn.
15114169689Skan	(atan2df3_1, atan2sf3_1, atan2xf_1, atan2tf3_1): New define_insn
15115169689Skan	patterns that actually specify the behaviour of x87's FPATAN.
15116169689Skan
15117169689Skan2003-07-07  Jakub Jelinek  <jakub@redhat.com>
15118169689Skan
15119169689Skan	* config/rs6000/rs6000.c (rs6000_output_mi_thunk): Remove bogus
15120169689Skan	clearing of SYMBOL_FLAG_LOCAL bit.
15121169689Skan	If vcall_offset fits into signed 16-bit immediate, use
15122169689Skan	one instruction for both addition and load.
15123169689Skan
15124169689Skan2003-07-07  Neil Booth  <neil@daikokuya.co.uk>
15125169689Skan
15126169689Skan	* opts.c (common_handle_option): Correct handling of the
15127169689Skan	-falign- switches that do and don't take an argument.
15128169689Skan
15129169689Skan2003-07-07  Kazu Hirata  <kazu@cs.umass.edu>
15130169689Skan
15131169689Skan	* config/h8300/h8300.md (pushqi1_h8300hs): Revert my patch
15132169689Skan	today.
15133169689Skan	(pushhi1_h8300hs): Likewise.
15134169689Skan
15135169689Skan2003-07-07  Andreas Jaeger  <aj@suse.de>
15136169689Skan
15137169689Skan	* genextract.c: Convert remaining prototypes to ISO C90.
15138169689Skan
15139169689Skan	* cpplex.c (_cpp_free_buff): Convert prototype to ISO C90.
15140169689Skan	* fold-const.c (fold_single_bit_test): Likewise.
15141169689Skan	* diagnostic.c (default_diagnostic_finalizer): Likewise.
15142169689Skan	* cfgrtl.c (rtl_redirect_edge_and_branch): Likewise.
15143169689Skan
15144169689Skan	* gengtype.c (write_array): Generate ISO C90 prototypes.
15145169689Skan
15146169689Skan	* genflags.c (gen_proto): Generate ISO C90 prototypes.
15147169689Skan
15148169689Skan2003-07-07  Roger Sayle  <roger@eyesopen.com>
15149169689Skan
15150169689Skan	PR optimization/11059
15151169689Skan	* expr.c (can_store_by_pieces): Return true if length is zero.
15152169689Skan	(store_by_pieces): If length is zero and endp is two, abort,
15153169689Skan	othwerise, if length is zero and endp is not two, return "to".
15154169689Skan	(clear_by_pieces): Do nothing if length is zero.
15155169689Skan	(clear_storage): Do nothing if length is zero.
15156169689Skan	(store_constructor): Simplify code when size is zero, or the
15157169689Skan	target has already been cleared.  This avoids emitting a
15158169689Skan	blockage instruction when initializing empty structures.
15159169689Skan
15160169689Skan2003-07-07  Andreas Jaeger  <aj@suse.de>
15161169689Skan
15162169689Skan	* mips-tfile.c: Convert prototypes to ISO C90.
15163169689Skan	* mips-tdump.c: Convert prototypes to ISO C90.
15164169689Skan
15165169689Skan2003-07-07  Nathan Sidwell  <nathan@codesourcery.com>
15166169689Skan
15167169689Skan	* rtl.h (emit_line_note): Take a location_t.
15168169689Skan	(emit_line_note_force): Remove.
15169169689Skan	(set_file_and_line_for_statement): Take a location_t.
15170169689Skan	* tree.g (emit_line_note): Take a location_t.
15171169689Skan	* emit-rtl.c (emit_line_note): Take a location_t.
15172169689Skan	(emit_line_note_force): Remove.
15173169689Skan	* function.c (init_function_start): Adjust emit_line_note call.
15174169689Skan	(expand_function_end): Use force_next_line_note, not
15175169689Skan	emit_line_note_force.
15176169689Skan	* c-parse.in (maybe_type_qual): Adjust emit_line_note calls.
15177169689Skan	* c-semantics.c (genrtl_do_pushlevel, genrtl_goto_stmt,
15178169689Skan	genrtl_expr_stmt_value, genrtl_decl_stmt, genrtl_if_stmt,
15179169689Skan	genrtl_while_stmt, genrtl_do_stmt_1, genrtl_return_stmt,
15180169689Skan	genrtl_for_stmt, genrtl_break_stmt, genrtl_continue_stmt,
15181169689Skan	genrtl_continue_stmt, genrtl_switch_stmt,
15182169689Skan	genrtl_asm_stmt): Likewise.
15183169689Skan	* expr.c (expand_expr): Likewise.
15184169689Skan	* integrate.c (expand_inline_function): Likewise.
15185169689Skan	* stmt.c (set_file_and_line_for_stmt): Take a location_t.
15186169689Skan	(expand_decl_init): Adjust emit_line_note call.
15187169689Skan
15188169689Skan2003-07-07  Dale Johannesen  <dalej@apple.com>
15189169689Skan
15190169689Skan	* config/rs6000/darwin-tramp.asm:  Fix trampolines.  PR 10900.
15191169689Skan
15192169689Skan2003-07-07  Andreas Jaeger  <aj@suse.de>
15193169689Skan
15194169689Skan	* config/i386/i386-protos.h: Convert prototypes to ISO C90.
15195169689Skan	* config/i386/i386.c: Likewise.
15196169689Skan
15197169689Skan2003-07-07  Kazu Hirata  <kazu@cs.umass.edu>
15198169689Skan
15199169689Skan	* config/h8300/h8300.md: Use gen_int_mode instead of
15200169689Skan	GEN_INT (trunc_int_for_mode (...)).
15201169689Skan
15202169689Skan2003-07-07  Kazu Hirata  <kazu@cs.umass.edu>
15203169689Skan
15204169689Skan	* config/h8300/h8300.md (pushqi1_h8300hs): Optimize by pushing
15205169689Skan	2 bytes and then subtract 2 from the stack pointer.
15206169689Skan	(pushhi1_h8300hs): Likewise.
15207169689Skan
15208169689Skan2003-07-07  Nathan Sidwell  <nathan@codesourcery.com>
15209169689Skan
15210169689Skan	* configure.in (enable_coverage): Remove -DSELF_COVERAGE, add
15211169689Skan	-frandom-seed.
15212169689Skan	* configure: Regenerated.
15213169689Skan	* Makefile.in: Remove extraneous comment.
15214169689Skan	* toplev.c (randomize): Protect against potential multiple calls.
15215169689Skan	* doc/invoke.texi (-frandom-seed): Document use for in coverage
15216169689Skan	files.
15217169689Skan
15218169689Skan2003-07-07  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15219169689Skan	    Eric Botcazou  <ebotcazou@libertysurf.fr>
15220169689Skan
15221169689Skan	PR optimization/11198
15222169689Skan	* alias.c (objects_must_conflict_p): Return 1 if the types have
15223169689Skan	the same alias set, not if the alias sets only conflict.
15224169689Skan
15225169689Skan2003-07-07  Andrew Pinski  <pinskia@physics.uc.edu>
15226169689Skan
15227169689Skan	* cppcharset.c (ICONV_CONST): Define iff !HAVE_ICONV.
15228169689Skan	(convert_cset): Change inbuf to type ICONV_CONST char.
15229169689Skan	* Makefile.in (LIBS): Add LIBICONV.
15230169689Skan
15231169689Skan	* doc/invoke.texi (-falign-functions): Document that
15232169689Skan	when n is zero then a machine-dependent default is used.
15233169689Skan	(-falign-labels): Document that when n is zero then a
15234169689Skan	machine-dependent default is used and that -falign-labels =1
15235169689Skan	is equivalent to -fno-align-labels.
15236169689Skan	(-falign-loops): Likewise.
15237169689Skan	(-falign-jumps): Likewise.
15238169689Skan
15239169689Skan2003-07-06  Art Haas  <ahaas@airmail.net>
15240169689Skan
15241169689Skan	* f/global.c (ffeglobal_type_string_): Fix obsolete GCC array
15242169689Skan	initializer syntax.
15243169689Skan
15244169689Skan2003-07-06  James E Wilson  <wilson@tuliptree.org>
15245169689Skan
15246169689Skan	PR optimization/9812
15247169689Skan	* rtl.h (mem_for_const_double): Delete prototype.
15248169689Skan	* varasm.c (mem_for_const_double): Delete function.
15249169689Skan	* config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68kelf.h,
15250169689Skan	config/m68k/m68kv4.h, config/m68k/netbsd-elf.h
15251169689Skan	(LEGITIMATE_PIC_OPERAND_P): Delete duplicate definitions.
15252169689Skan	* config/m68k/m68k.h (LEGITIMATE_CONSTANT_P): Disallow XFmode.
15253169689Skan	(LEGITIMATE_PIC_OPERAND_P): Delete CONST_DOUBLE tests.
15254169689Skan	* config/m68k/m68k.md (movxf): Add reload_in_progress guard.  Add
15255169689Skan	comment about confused support for XFmode constants.
15256169689Skan
15257169689Skan2003-07-07  Jan Hubicka  <jh@suse.cz>
15258169689Skan
15259169689Skan	* cfglayout.c (fixup_reorder_chain): Call delete_dead_jumptables.
15260169689Skan
15261169689Skan2003-07-06  Kazu Hirata  <kazu@cs.umass.edu>
15262169689Skan
15263169689Skan	* config/h8300/h8300.c: Fix comment typos.
15264169689Skan	* config/h8300/h8300.md: Likewise.
15265169689Skan	* config/i386/athlon.md: Likewise.
15266169689Skan	* config/i386/i386.c: Likewise.
15267169689Skan	* config/i386/pentium.md: Likewise.
15268169689Skan	* config/ia64/ia64.c: Likewise.
15269169689Skan	* config/ia64/itanium1.md: Likewise.
15270169689Skan	* config/ia64/itanium2.md: Likewise.
15271169689Skan	* config/m32r/m32r.md: Likewise.
15272169689Skan	* config/m68hc11/m68hc11.c: Likewise.
15273169689Skan	* config/mcore/mcore.c: Likewise.
15274169689Skan	* config/mips/sr71k.md: Likewise.
15275169689Skan	* config/mips/t-iris5-as: Likewise.
15276169689Skan	* config/mmix/mmix.h: Likewise.
15277169689Skan	* config/ns32k/ns32k.h: Likewise.
15278169689Skan	* config/ns32k/NOTES: Fix a typo.
15279169689Skan
15280169689Skan2003-07-06  Andreas Jaeger  <aj@suse.de>
15281169689Skan
15282169689Skan	* stmt.c: Convert remaining prototypes to ISO C90.
15283169689Skan	* cfglayout.c: Likewise.
15284169689Skan	* dbxout.c: Likewise.
15285169689Skan	* gcc.c: Likewise.
15286169689Skan	* genemit.c: Likewise.
15287169689Skan
15288169689Skan	* basic-block.h: Convert prototypes to ISO C90.
15289169689Skan	* c-parse.in: Likewise.
15290169689Skan	* c-pragma.h: Likewise.
15291169689Skan	* c-typeck.c: Likewise.
15292169689Skan	* cfghooks.h: Likewise.
15293169689Skan	* cfgloopanal.c: Likewise.
15294169689Skan	* dbxout.h: Likewise.
15295169689Skan	* debug.h: Likewise.
15296169689Skan	* dwarf2asm.h: Likewise.
15297169689Skan	* gcov.c: Likewise.
15298169689Skan	* gengtype-lex.l: Likewise.
15299169689Skan	* sched-int.h: Likewise.
15300169689Skan	* timevar.c: Likewise.
15301169689Skan
15302169689Skan2003-07-06  Neil Booth  <neil@daikokuya.co.uk>
15303169689Skan
15304169689Skan	* c-common.h (c_comon_handle_filename,
15305169689Skan	c_common_missing_arguement): New.
15306169689Skan	* c-lang.c (LANG_HOOKS_HANDLE_FILENAME,
15307169689Skan	LANG_HOOKS_MISSING_ARGUMENT): New.
15308169689Skan	* c-opts.c (missing_arg): Rename c_common_missing_argument,
15309169689Skan	update to be an appropriate langhook.
15310169689Skan	(c_common_handle_option): Don't handle filenames.
15311169689Skan	(c_common_handle_filename): New.
15312169689Skan	* hooks.c (hook_void_constcharptr,
15313169689Skan	hook_bool_constcharptr_size_t_false): New.
15314169689Skan	* hooks.h (hook_void_constcharptr,
15315169689Skan	hook_bool_constcharptr_size_t_false): New.
15316169689Skan	* langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME,
15317169689Skan	LANG_HOOKS_MISSING_ARGUMENT): New.
15318169689Skan	(LANG_HOOKS_INITIALIZER): Update.
15319169689Skan	* langhooks.h (struct lang_hooks): Add handle_filename and
15320169689Skan	missing_argument.
15321169689Skan	* opts.c (handle_option): Don't handle filenames here, but ...
15322169689Skan	(handle_options): ... here.
15323169689Skan	(common_handle_option): Don't handle missing arguments here.
15324169689Skan	* objc/objc-lang.c (LANG_HOOKS_HANDLE_FILENAME,
15325169689Skan	LANG_HOOKS_MISSING_ARGUMENT): New.
15326169689Skan
15327169689Skan2003-07-06  Neil Booth  <neil@daikokuya.co.uk>
15328169689Skan
15329169689Skan	* Makfile.in: Remove traces of mbchar.
15330169689Skan	* c-parse.in (MULTIBYTE_CHARS): Remove.
15331169689Skan	* config.in (MULTIBYTE_CHARS): Remove.
15332169689Skan	* configure: Remove --enable-mbchar.
15333169689Skan	* configure.in: Remove --enable-mbchar.
15334169689Skan	* mbchar.c, mbchar.h: Remove.
15335169689Skan	* system.h: Poison MULTIBYTE_CHARS.
15336169689Skan	* config/linux-aout.h (MULTIBYTE_CHARS): Remove.
15337169689Skan	* config/linux.h (MULTIBYTE_CHARS): Remove.
15338169689Skan	* config/svr4.h (MULTIBYTE_CHARS): Remove.
15339169689Skan	* config/sparc/linux.h (MULTIBYTE_CHARS): Remove.
15340169689Skan
15341169689Skan2003-07-06  Andreas Jaeger  <aj@suse.de>
15342169689Skan
15343169689Skan	* varray.c (varray_check_failed): Fix typo.
15344169689Skan
15345169689Skan	* unroll.c: Convert prototypes to ISO C90.
15346169689Skan	* varasm.c: Likewise.
15347169689Skan	* varray.c: Likewise.
15348169689Skan	* varray.h: Likewise.
15349169689Skan	* vmsdbgout.c: Likewise.
15350169689Skan	* xcoffout.c: Likewise.
15351169689Skan	* xcoffout.h: Likewise.
15352169689Skan
15353169689Skan2003-07-06  Nathan Sidwell  <nathan@codesourcery.com>
15354169689Skan
15355169689Skan	* gcov-io.h: Add a local time stamp.
15356169689Skan	(struct gcov_info): Add stamp field.
15357169689Skan	(gcov_truncate): New.
15358169689Skan	* coverage.c (read_counts_file): Skip the stamp.
15359169689Skan	(coverage_begin_output): Write the stamp.
15360169689Skan	(build_gcov_info): Declare and init the stamp.
15361169689Skan	(coverage_finish): Only unlink data file, if stamp is zero.
15362169689Skan	* gcov-dump.c (dump_file): Dump the stamp.
15363169689Skan	* gcov.c (bbg_stamp): New.
15364169689Skan	(release_structures): Clear bbg_stamp.
15365169689Skan	(read_graph_file): Read stamp.
15366169689Skan	(read_count_file): Check stamp.
15367169689Skan	* libgcov.c (gcov_exit): Check stamp and truncate if needed.
15368169689Skan
15369169689Skan2003-07-06  Nathan Sidwell  <nathan@codesourcery.com>
15370169689Skan
15371169689Skan	* tree.h (default_flag_random_seed): Remove.
15372169689Skan	* toplev.h (local_tick): Declare.
15373169689Skan	* tree.c (flag_random_seed, default_flag_random_seed): Move to
15374169689Skan	toplev.c.
15375169689Skan	(append_random_chars): Don't call default_flag_random_seed.
15376169689Skan	* toplev.c (flag_random_seed): Define here. Set local_tick.
15377169689Skan	(local_tick): Define.
15378169689Skan	(randomize): New, moved from tree.c.
15379169689Skan	(print_switch_values): Adjust.
15380169689Skan	(toplev_main): Call randomize.
15381169689Skan
15382169689Skan2003-07-06  Nathan Sidwell  <nathan@codesourcery.com>
15383169689Skan
15384169689Skan	* tree.h (crc32_string): Declare.
15385169689Skan	* tree.c (append_random_chars): Remove.
15386169689Skan	(crc32_string): New.
15387169689Skan	(get_file_function_name_long): Use crc32_string here.
15388169689Skan
15389169689Skan2003-07-06  Andreas Jaeger  <aj@suse.de>
15390169689Skan
15391169689Skan	* gcc.c: Convert prototypes to ISO C90.
15392169689Skan	* gcc.h: Likewise.
15393169689Skan	* gcov-dump.c: Likewise.
15394169689Skan	* gcov-iov.c: Likewise.
15395169689Skan	* gcse.c: Likewise.
15396169689Skan	* genattrtab.h: Likewise.
15397169689Skan	* ggc.h: Likewise.
15398169689Skan	* global.c: Likewise.
15399169689Skan	* graph.c: Likewise.
15400169689Skan	* graph.h: Likewise.
15401169689Skan	* hosthooks.h: Likewise.
15402169689Skan	* hooks.h: Likewise.
15403169689Skan	* hooks.c: Likewise.
15404169689Skan	* hashtable.h: Likewise.
15405169689Skan	* hashtable.c: Likewise.
15406169689Skan	* haifa-sched.c: Likewise.
15407169689Skan	* integrate.h: Likewise.
15408169689Skan	* integrate.c: Likewise.
15409169689Skan	* input.h: Likewise.
15410169689Skan	* ifcvt.c: Likewise.
15411169689Skan	* jump.c: Likewise.
15412169689Skan	* langhooks-def.h: Likewise.  Add extern to prototypes.
15413169689Skan	* langhooks.c: Likewise.
15414169689Skan	* langhooks.h: Likewise.
15415169689Skan	* lcm.c: Likewise.
15416169689Skan	* local-alloc.c: Likewise.
15417169689Skan	* loop-init.c: Likewise.
15418169689Skan	* loop-unroll.c: Likewise.
15419169689Skan	* loop-unswitch.c: Likewise.
15420169689Skan	* loop.c: Likewise.
15421169689Skan	* loop.h: Likewise. Add extern to prototypes.
15422169689Skan	* machmode.h: Likewise.
15423169689Skan	* main.c: Likewise.
15424169689Skan	* mbchar.c: Likewise.
15425169689Skan	* mbchar.h: Likewise.
15426169689Skan	* mkdeps.c: Likewise.
15427169689Skan	* mkdeps.h: Likewise.
15428169689Skan	* optabs.c: Likewise.
15429169689Skan	* optabs.h: Likewise.
15430169689Skan	* output.h: Likewise.
15431169689Skan	* gccspec.c: Likwise.
15432169689Skan	* postreload.c: Likewise.
15433169689Skan	* prefix.c: Likewise.
15434169689Skan	* prefix.h: Likewise.
15435169689Skan	* print-rtl.c: Likewise.
15436169689Skan	* print-tree.c: Likewise.
15437169689Skan	* profile.c: Likewise.
15438169689Skan	* read-rtl.c: Likewise.
15439169689Skan	* real.c: Likewise.
15440169689Skan	* real.h: Likewise.
15441169689Skan	* recog.c: Likewise.
15442169689Skan	* recog.h: Likewise.
15443169689Skan	* reg-stack.c: Likewise.
15444169689Skan	* regclass.c: Likewise.
15445169689Skan	* regmove.c: Likewise.
15446169689Skan	* regrename.c: Likewise.
15447169689Skan	* regs.h: Likewise.
15448169689Skan	* reload.c: Likewise.
15449169689Skan	* reload.h: Likewise.
15450169689Skan	* reload1.c: Likewise.
15451169689Skan	* reorg.c: Likewise.
15452169689Skan	* resource.c: Likewise.
15453169689Skan	* resource.h: Likewise.
15454169689Skan	* rtl-error.c: Likewise.
15455169689Skan	* rtl.c: Likewise.
15456169689Skan	* rtl.h: Likewise.
15457169689Skan	* rtlanal.c: Likewise.
15458169689Skan	* sbitmap.c: Likewise.
15459169689Skan	* sbitmap.h: Likewise.
15460169689Skan	* scan-decls.c: Likewise.
15461169689Skan	* scan.c: Likewise.
15462169689Skan	* sched-deps.c: Likewise.
15463169689Skan	* sched-ebb.c: Likewise.
15464169689Skan	* sched-int.h: Likewise.
15465169689Skan	* sched-rgn.c: Likewise.
15466169689Skan	* sched-vis.c: Likewise.
15467169689Skan	* sibcall.c: Likewise.
15468169689Skan	* simplify-rtx.c: Likewise.
15469169689Skan	* sreal.c: Likewise.
15470169689Skan	* sreal.h: Likewise.
15471169689Skan	* ssa-ccp.c: Likewise.
15472169689Skan	* ssa-dce.c: Likewise.
15473169689Skan	* ssa.c: Likewise.
15474169689Skan	* ssa.h: Likewise.
15475169689Skan	* stack.h: Likewise.
15476169689Skan	* stmt.c: Likewise.
15477169689Skan	* stor-layout.c: Likewise.
15478169689Skan	* stringpool.c: Likewise.
15479169689Skan	* target.h: Likewise.
15480169689Skan	* timevar.c: Likewise.
15481169689Skan	* timevar.h: Likewise.
15482169689Skan	* tlink.c: Likewise.
15483169689Skan	* tracer.c: Likewise.
15484169689Skan	* tree-inline.c: Likewise.
15485169689Skan	* tree-inline.h: Likewise.
15486169689Skan	* tree.c: Likewise.
15487169689Skan	* tree.h: Likewise.
15488169689Skan
15489169689Skan2003-07-05  Kazu Hirata  <kazu@cs.umass.edu>
15490169689Skan
15491169689Skan	* combine.c (nonzero_bits1): Fix a warning.
15492169689Skan
15493169689Skan2003-07-05  Kazu Hirata  <kazu@cs.umass.edu>
15494169689Skan
15495169689Skan	* config/h8300/h8300.c (compute_mov_length): Correct the
15496169689Skan	length of loading CONST0_RTX (SFmode).
15497169689Skan
15498169689Skan2003-07-05  Nathan Sidwell  <nathan@codesourcery.com>
15499169689Skan
15500169689Skan	* toplev.c (output_clean_symbol_name): Remove.
15501169689Skan	* toplev.h (output_clean_symbol_name): Remove.
15502169689Skan	* config/alpha/alpha.c (unicosmk_output_module_name): Use
15503169689Skan	lbasename & clean_symbol_name.
15504169689Skan
15505169689Skan2003-07-05  Kazu Hirata  <kazu@cs.umass.edu>
15506169689Skan
15507169689Skan	* ggc.h: Follow spelling conventions.
15508169689Skan	* config/i386/i386.c: Likewise.
15509169689Skan	* config/i386/winnt.c: Likewise.
15510169689Skan	* config/rs6000/rs6000.c: Likewise.
15511169689Skan
15512169689Skan2003-07-05  Kazu Hirata  <kazu@cs.umass.edu>
15513169689Skan
15514169689Skan	* bt-load.c: Fix comment typos.
15515169689Skan	* c-incpath.c: Likewise.
15516169689Skan	* cfg.c: Likewise.
15517169689Skan	* cfgcleanup.c: Likewise.
15518169689Skan	* cfgloop.h: Likewise.
15519169689Skan	* cfgloopmanip.c: Likewise.
15520169689Skan	* cfgrtl.c: Likewise.
15521169689Skan	* diagnostic.h: Likewise.
15522169689Skan	* dwarfout.c: Likewise.
15523169689Skan	* emit-rtl.c: Likewise.
15524169689Skan	* et-forest.c: Likewise.
15525169689Skan	* et-forest.h: Likewise.
15526169689Skan	* expr.c: Likewise.
15527169689Skan	* gcse.c: Likewise.
15528169689Skan	* genattr.c: Likewise.
15529169689Skan	* jump.c: Likewise.
15530169689Skan	* langhooks.h: Likewise.
15531169689Skan	* local-alloc.c: Likewise.
15532169689Skan	* loop-unroll.c: Likewise.
15533169689Skan	* loop-unswitch.c: Likewise.
15534169689Skan	* ra-build.c: Likewise.
15535169689Skan	* regclass.c: Likewise.
15536169689Skan	* regmove.c: Likewise.
15537169689Skan	* rtl.def: Likewise.
15538169689Skan	* rtlanal.c: Likewise.
15539169689Skan	* sched-ebb.c: Likewise.
15540169689Skan	* sched-rgn.c: Likewise.
15541169689Skan	* simplify-rtx.c: Likewise.
15542169689Skan	* ssa.c: Likewise.
15543169689Skan	* tracer.c: Likewise.
15544169689Skan	* tree.c: Likewise.
15545169689Skan
15546169689Skan2003-07-05  Zack Weinberg  <zack@codesourcery.com>
15547169689Skan
15548169689Skan	* cppcharset.c: Use the correct return type for the fallback iconv
15549169689Skan	macro.
15550169689Skan
15551169689Skan2003-07-05  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
15552169689Skan
15553169689Skan	Blame to Jan Hubicka  <jh@suse.cz>
15554169689Skan	* cfglayout.c (record_effective_endpoints): Split insns before
15555169689Skan	first basic block correctly.
15556169689Skan
15557169689Skan2003-07-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
15558169689Skan
15559169689Skan	* expr.c (expand_expr, case COMPONENT_REF): When seeing if should use
15560169689Skan	bitfield operations, use STRICT_ALIGNMENT, not SLOW_UNALIGNED_ACCESS
15561169689Skan	if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
15562169689Skan
15563169689Skan2003-07-05  Andreas Jaeger  <aj@suse.de>
15564169689Skan
15565169689Skan	* genattrtab.c (write_attr_get): Revert part of last patch to
15566169689Skan	always write out a prototype.
15567169689Skan
15568169689Skan	* genemit.c (gen_split): Readd lost unused attributes in last
15569169689Skan	patch.
15570169689Skan
15571169689Skan2003-07-05  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
15572169689Skan
15573169689Skan	* cfgloopmanip.c (force_single_succ_latches): Force latch to be
15574169689Skan	different from header.
15575169689Skan
15576169689Skan2003-07-05  Andreas Schwab  <schwab@suse.de>
15577169689Skan
15578169689Skan	* config/m68k/m68k.c: Remove code protected by CRDS.
15579169689Skan	* config/m68k/m68k.md: Likewise.
15580169689Skan
15581169689Skan2003-07-05  Neil Booth  <neil@daikokuya.co.uk>
15582169689Skan
15583169689Skan	PR driver/11417
15584169689Skan	* c-opts.c (permit_fortran_options): New.
15585169689Skan	(c_common_init_options): Accept fortran front end options if
15586169689Skan	it looks like we might be preprocessing Fortran.
15587169689Skan	(c_common_handle_option): Don't reject switch if permit_fotran_options.
15588169689Skan
15589169689Skan2003-07-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15590169689Skan
15591169689Skan	* genattr.c (internal_dfa_insn_code): Output prototype.
15592169689Skan	* genattrtab.c: Don't output unnecessary decls, output in ISO C.
15593169689Skan	* genautomata.c: Likewise.
15594169689Skan	* genconditions.c: Likewise.
15595169689Skan	* genemit.c: Likewise.
15596169689Skan	* genextract.c: Likewise.
15597169689Skan	* gengenrtl.c: Likewise.
15598169689Skan	* gengtype.c: Likewise.
15599169689Skan	* genopinit.c: Likewise.
15600169689Skan	* genoutput.c: Likewise.
15601169689Skan	* genpeep.c: Likewise.
15602169689Skan	* genrecog.c: Likewise.
15603169689Skan
15604169689Skan2003-07-04  Zack Weinberg  <zack@codesourcery.com>
15605169689Skan
15606169689Skan	* cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types.
15607169689Skan	(struct cpp_options): Add narrow_charset, wide_charset,
15608169689Skan	bytes_big_endian fields.  Remove EBCDIC field.
15609169689Skan	(cpp_init_iconv, cpp_interpret_string): New external interfaces.
15610169689Skan
15611169689Skan	* cpphash.h: Include <iconv.h> if we have it, otherwise
15612169689Skan	provide a dummy definition of iconv_t.
15613169689Skan	(struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields.
15614169689Skan	(_cpp_valid_ucn): Update prototype.
15615169689Skan	(_cpp_destroy_iconv): New prototype.
15616169689Skan
15617169689Skan	* doc/cpp.texi: Document character set handling.
15618169689Skan	* doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=.
15619169689Skan	* doc/extend.texi: Delete entire section on multiline strings.
15620169689Skan	Rewrite section on __FUNCTION__ etc now that these are
15621169689Skan	variables in C.
15622169689Skan
15623169689Skan	* cppucnid.tab, cppucnid.pl: New files.
15624169689Skan	* cppucnid.h: New generated file.
15625169689Skan	* cppcharset.c: Include cppucnid.h.  Lots of commentary added.
15626169689Skan	(iconv_open, iconv, iconv_close): Provide dummy definitions
15627169689Skan	if !HAVE_ICONV.
15628169689Skan	(SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv,
15629169689Skan	_cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn,
15630169689Skan	emit_numeric_escape, convert_hex, convert_oct, convert_escape,
15631169689Skan	cpp_interpret_string, narrow_str_to_charconst,
15632169689Skan	wide_str_to_charconst): New.
15633169689Skan	(ucn_valid_in_identifier): Use a binary search through the
15634169689Skan	ucnranges table defined in cppucnid.h, not a long chain of if
15635169689Skan	statements.
15636169689Skan	(_cpp_valid_ucn): Add a limit pointer.  Downgrade "universal
15637169689Skan	character names are only valid in C++ and C99" to a warning.
15638169689Skan	Issue the "meaning of \[uU] is different in traditional C"
15639169689Skan	warning here.  Take care not to let iconv see an invalid UCS
15640169689Skan	value if we get a malformed UCN.  Issue an error if we don't
15641169689Skan	have iconv.
15642169689Skan	(cpp_interpret_charconst): Moved here from cpplex.c.  Use
15643169689Skan	cpp_interpret_string to do the heavy lifting.
15644169689Skan
15645169689Skan	* cppinit.c (cpp_create_reader): Initialize bytes_big_endian,
15646169689Skan	narrow_charset, wide_charset fields of options structure.
15647169689Skan	(cpp_destroy): Call _cpp_destroy_iconv.
15648169689Skan	* cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn.
15649169689Skan	(maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete.
15650169689Skan	(cpp_interpret_charconst): Moved to cppcharset.c.
15651169689Skan	* cpplib.c (dequote_string): Delete.
15652169689Skan	(interpret_string_notranslate): New.
15653169689Skan	(do_line, do_linemarker): Use interpret_string_notranslate.
15654169689Skan
15655169689Skan	* Makefile.in (cppcharset.o): Depend on cppucnid.h.
15656169689Skan
15657169689Skan	* c-common.c (fname_string, combine_strings): Delete.
15658169689Skan	* c-common.h (fname_string, combine_strings): Delete prototypes.
15659169689Skan	* c-lex.c (ignore_escape_flag): Delete.
15660169689Skan	(cb_ident): Use cpp_interpret_string, not lex_string.
15661169689Skan	(get_nonpadding_token): New function.
15662169689Skan	(c_lex): Handle Objective-C @-prefixed identifiers and strings here.
15663169689Skan	Adjust calls to lex_string.  Don't write *value twice.
15664169689Skan	(lex_string): Now handles string constant concatenation.
15665169689Skan	Most of the work handed off to cpp_interpret_string.
15666169689Skan	Call fix_string_type here.
15667169689Skan	* c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with
15668169689Skan	FUNC_NAME, throughout.
15669169689Skan	(OBJC_STRING): New token type.
15670169689Skan	(primary:STRING): No need to call fix_string_type here.
15671169689Skan	(primary:objc_string): Make that OBJC_STRING.
15672169689Skan	(objc_string nonterminal): Delete.
15673169689Skan	(yylexname): Delete code to handle fake string constants.
15674169689Skan	(yylexstring): Delete entirely.
15675169689Skan	(_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING.  No need
15676169689Skan	to handle CPP_ATSIGN.
15677169689Skan
15678169689Skan	* c.opt (-fexec-charset=, -fwide-exec-charset=): New options.
15679169689Skan	* c-opts.c (missing_arg, c_common_handle_option): Handle
15680169689Skan	OPT_fexec_charset_ and OPT_fwide_exec_charset_.
15681169689Skan	(c_common_init): Set cpp_opts->bytes_big_endian, not
15682169689Skan	cpp_opts->EBCDIC.  Call cpp_init_iconv.
15683169689Skan	(print_help): Document -fexec-charset= and -fexec-wide-charset=.
15684169689Skan	(TARGET_EBCDIC): Delete default definition.
15685169689Skan
15686169689Skan	* objc/objc-act.c (build_objc_string_object): No need to
15687169689Skan	handle string constant concatenation.
15688169689Skan
15689169689Skan2003-07-04  Kazu Hirata  <kazu@cs.umass.edu>
15690169689Skan
15691169689Skan	* doc/install.texi: Fix typos.
15692169689Skan	* doc/invoke.texi: Likewise.
15693169689Skan	* doc/tm.texi: Likewise.
15694169689Skan
15695169689Skan2003-07-04  Kazu Hirata  <kazu@cs.umass.edu>
15696169689Skan
15697169689Skan	* config/pa/fptr.c: Fix comment typos.
15698169689Skan	* config/pa/pa-64.h: Likewise.
15699169689Skan	* config/pa/pa.c: Likewise.
15700169689Skan	* config/pa/pa.h: Likewise.
15701169689Skan	* config/rs6000/603.md: Likewise.
15702169689Skan	* config/rs6000/7xx.md: Likewise.
15703169689Skan	* config/rs6000/darwin.h: Likewise.
15704169689Skan	* config/rs6000/freebsd.h: Likewise.
15705169689Skan	* config/rs6000/rs6000.c: Likewise.
15706169689Skan	* config/rs6000/rs6000.md: Likewise.
15707169689Skan	* config/rs6000/spe.h: Likewise.
15708169689Skan
15709169689Skan2003-07-04  Ulrich Weigand  <uweigand@de.ibm.com>
15710169689Skan
15711169689Skan	* config/s390/2064.md: Change GNU CC to GCC.
15712169689Skan	* config/s390/2084.md: Likewise.
15713169689Skan	* config/s390/fixdfdi.h: Likewise.
15714169689Skan	* config/s390/linux.h: Likewise.
15715169689Skan	* config/s390/s390-modes.def: Likewise.
15716169689Skan	* config/s390/s390-protos.h: Likewise.
15717169689Skan	* config/s390/s390.c: Likewise.
15718169689Skan	* config/s390/s390.h: Likewise.
15719169689Skan	* config/s390/s390.md: Likewise.
15720169689Skan	* config/s390/s390x.h: Likewise.
15721169689Skan
15722169689Skan2003-07-04  Jeff Law  <law@redhat.com>
15723169689Skan
15724169689Skan	PR c/11428
15725169689Skan	* expr.c (do_store_flag): Pass in the correct result type
15726169689Skan	when calling fold_single_bit_test.
15727169689Skan	* fold-const.c (fold_single_bit_test): Use result_type for the
15728169689Skan	result when folding a sign bit test.
15729169689Skan
15730169689Skan2003-07-04  Neil Booth  <neil@daikokuya.co.uk>
15731169689Skan
15732169689Skan	* opts.c (common_handle_options): Negate sense of -falign- switches.
15733169689Skan
15734169689Skan2003-07-04  H.J. Lu <hongjiu.lu@intel.com>
15735169689Skan
15736169689Skan	* Makefile.in: Replace PWD with PWD_COMMAND.
15737169689Skan
15738169689Skan2003-07-04  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
15739169689Skan
15740169689Skan	* cfgloopanal.c (count_strange_loop_iterations): New static function.
15741169689Skan	(constant_iterations, count_loop_iterations, simple_loop_exit_p):
15742169689Skan	Handle strange loops.
15743169689Skan
15744169689Skan2003-07-04  Toon Moene  <toon@moene.indiv.nluug.nl>
15745169689Skan
15746169689Skan	* install.texi: Even the g77 manpage is derived from
15747169689Skan	the full g77 manual.
15748169689Skan
15749169689Skan2003-07-04  Zack Weinberg  <zack@codesourcery.com>
15750169689Skan
15751169689Skan	* ABOUT-NLS: Delete.
15752169689Skan	* intl: Delete entire directory.
15753169689Skan	* aclocal.m4: Include ../config/gettext.m4.  Delete
15754169689Skan	AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES,
15755169689Skan	AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT.
15756169689Skan	* configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT.
15757169689Skan	Remove intl/Makefile from all_outputs.
15758169689Skan	* configure, config.in: Regenerate.
15759169689Skan	* Makefile.in: Expunge all references to intl subdirectory.
15760169689Skan	Add -I../intl to INCLUDES.
15761169689Skan	* intl.h: Include libintl.h if and only if ENABLE_NLS is defined.
15762169689Skan
15763169689Skan2003-07-04  Roger Sayle  <roger@eyesopen.com>
15764169689Skan
15765169689Skan	* config/rs6000/aix51.h (TARGET_C99_FUNCTIONS): Define.
15766169689Skan	* config/rs6000/aix52.h (TARGET_C99_FUNCTIONS): Likewise.
15767169689Skan
15768169689Skan2003-07-04  Danny Smith  <dannysmith@users.sourceforge.net>
15769169689Skan
15770169689Skan	PR c++/5287, PR c++/7910, PR c++/11021
15771169689Skan	* config/i386/winnt.c (ix86_handle_dll_attribute): Don't add
15772169689Skan	dllimport attribute if function is defined at declaration, but
15773169689Skan	report error instead. Likewise for dllimport'd variable
15774169689Skan	definitions.  Set implicit TREE_PUBLIC for dllimport'd variables
15775169689Skan	declared within functions, Report error if dllimport or dllexport
15776169689Skan	symbol is not global.
15777169689Skan	(i386_pe_dllimport_p): Ignore dllimport attribute of functions
15778169689Skan	if defined after declaration or if inlined. Don't allow definition
15779169689Skan	of static data members of C++ classes. Don't dllimport virtual
15780169689Skan	methods.
15781169689Skan	(i386_pe_mark_dllexport): Warn about inconsistent dll attributes.
15782169689Skan	(i386_pe_mark_dllimport): Remove unnecessary checks.
15783169689Skan	(i386_pe_encode_section_info): Warn if the dllimport attribute
15784169689Skan	and symbol prefix have been instantiated and then overridden.
15785169689Skan
15786169689Skan	* doc/extend.texi: Document dllimport and dllexport attributes.
15787169689Skan
15788169689Skan	* config/i386/winnt.c (i386_pe_output_labelref): Fix indents.
15789169689Skan
15790169689Skan2003-07-03 Uwe Stieber <uwe@kaos-group.de>
15791169689Skan
15792169689Skan	* config/kaos.h (CPP_PREDEFINES): Delete.
15793169689Skan	(TARGET_OS_CPP_BUILTINS): New.
15794169689Skan
15795169689Skan2003-07-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15796169689Skan
15797169689Skan	* c-aux-info.c: Include toplev.h after c-tree.h.
15798169689Skan	* c-common.c: Likewise.
15799169689Skan	(GCC_DIAG_STYLE): Undef.
15800169689Skan	* c-semantics.c (GCC_DIAG_STYLE): Define.
15801169689Skan	* c-tree.h (GCC_DIAG_STYLE): Likewise.
15802169689Skan	* diagnostic.h (inform): Move prototype to toplev.h.
15803169689Skan	* jump.c: Include diagnostic.h before toplev.h.
15804169689Skan	* toplev.h (GCC_DIAG_STYLE, ATTRIBUTE_GCC_DIAG): Define.
15805169689Skan	(warning, error, fatal_error, pedwarn, sorry, inform,
15806169689Skan	error_for_asm, warning_for_asm): Mark with ATTRIBUTE_GCC_CXXDIAG.
15807169689Skan
15808169689Skan2003-07-03  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
15809169689Skan
15810169689Skan	* cfglayout.c (cfg_layout_duplicate_bb): Do not update frequencies
15811169689Skan	at all if edge is not specified.
15812169689Skan	(can_copy_bbs_p, copy_bbs): New.
15813169689Skan	* cfglayout.h (can_copy_bbs_p, copy_bbs): Declare.
15814169689Skan	* cfgloop.c (get_loop_body): Comment more precisely.
15815169689Skan	* cfgloopmanip.c (copy_bbs, record_exit_edges): Removed.
15816169689Skan	(scale_bbs_frequencies): Fix comment typo.
15817169689Skan	(can_duplicate_loop_p): Use can_copy_bbs_p.
15818169689Skan	(duplicate_loop_to_header_edge): Simplify by using copy_bbs.
15819169689Skan
15820169689Skan2003-07-03  Devang Patel <dpatel@apple.com>
15821169689Skan
15822169689Skan	* c-opts.c (c_common_parse_file): Remove extra
15823169689Skan	debug_hooks->start_source_file call.
15824169689Skan
15825169689Skan2003-07-03  Roger Sayle  <roger@eyesopen.com>
15826169689Skan
15827169689Skan	* real.c (real_trunc, real_floor, real_ceil): New functions
15828169689Skan	to implement trunc, floor and ceil respectively.
15829169689Skan	* real.h (real_trunc, real_floor, real_ceil): Prototype here.
15830169689Skan	* builtins.c (integer_valued_real_p): New function to test if
15831169689Skan	a floating point expression has an integer valued result.
15832169689Skan	(fold_trunc_transparent_mathfn): Optimize foo(foo(x)) as
15833169689Skan	foo(x) where foo is an integer rounding function.  Similarly,
15834169689Skan	optimize foo(bar(x)) as bar(x), and foo((double)(int)x) as
15835169689Skan	(double)(int)x when both foo and bar are integer rounding
15836169689Skan	functions and we don't need to honor errno.
15837169689Skan	(fold_builtin_trunc, fold_builtin_floor, fold_builtin_ceil):
15838169689Skan	New functions to fold trunc, floor and ceil.
15839169689Skan	(fold_builtin): Use fold_builtin_trunc to fold BUILT_IN_TRUNC*,
15840169689Skan	fold_builtin_floor to fold BUILT_IN_FLOOR* and fold_builtin_ceil
15841169689Skan	to fold BUILT_IN_CEIL*.
15842169689Skan	* fold-const.c (tree_expr_nonnegative_p): Handle FLOAT_EXPR and
15843169689Skan	the remaining integer rounding functions.
15844169689Skan
15845169689Skan2003-07-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
15846169689Skan
15847169689Skan	* config/sparc/sparc.c (function_arg_partial_nregs): Use
15848169689Skan	SPARC_INT_ARG_MAX to determine where to split unnamed
15849169689Skan	complex FP arguments.
15850169689Skan
15851169689Skan2003-07-03  Jan Hubicka  <jh@suse.cz>
15852169689Skan
15853169689Skan	* basic-block.h (create_basic_block, merge_blocks_nomove): Kill.
15854169689Skan	* cfgcleanup.c (merge_blocks): Rename to merge_blocks_move.
15855169689Skan	(merge_blocks_move_predecessor_nojumps,
15856169689Skan	 merge_blocks_move_successor_nojumps): Use merge_blocks.
15857169689Skan	(try_optimize_cfg): Use merge_blocks_move.
15858169689Skan	* cfgrtl.c (create_basic_block): Rename to rtl_create_basic_block.
15859169689Skan	(merge_blocks_nomove): Rename to rtl_merge_blocks.
15860169689Skan	(cfg_layout_create_basic_block): New.
15861169689Skan	(rtl_can_merge_blocks): New.
15862169689Skan	(cfg_layout_split_block): Do not alloc aux by hand.
15863169689Skan	* cfghooks.h (cfg_hooks): Add create_basic_block, can_merge_blocks_p,
15864169689Skan	merge_blocks.
15865169689Skan	(create_basic_block, can_merge_blocks_p, merge_blocks): New macros.
15866169689Skan	* cfglayout.c (cfg_layout_duplicate_bb): Do not allocate aux by hand.
15867169689Skan	* cfgloopmanip.c (loop_split_edge_with): Likewise.
15868169689Skan	* ifcvt.c (merge_if_block): Use merge_blocks_nomove.
15869169689Skan
15870169689Skan	* basic-block.h (basic_block_def): Add field 'rbi'.
15871169689Skan	* bb-reorder.c (find_traces, rotate_loop, mark_bb_visited,
15872169689Skan	find_traces_1_round, copy_bb, connect_traces): Update use of rbi.
15873169689Skan	* cfg.c (entry_exit_blocks): Add new field.
15874169689Skan	* cfglayout.c: Include alloc-pool.h;
15875169689Skan	(cfg_layout_pool): New.
15876169689Skan	(record_effective_endpoints, fixup_reorder_chain,
15877169689Skan	fixup_fallthru_exit_predecessor, cfg_layout_duplicate_bb): Update use
15878169689Skan	of rbi.
15879169689Skan	(cfg_layout_initialize_rbi): New function.
15880169689Skan	(cfg_layout_initialize): Use it.
15881169689Skan	(cfg_layout_finalize): Clear rbi fields.
15882169689Skan	* cfglayout.h (RBI): Kill.
15883169689Skan	(cfg_layout_initialize_rbi): Declare.
15884169689Skan	* cfgloopmanip.c (copy_bbs): Use rbi.
15885169689Skan	(record_exit_edges): Likewise.
15886169689Skan	(duplicate_loop_to_header_edge): Likewise.
15887169689Skan	* cfgrtl.c (cfg_layout_create_basic_block): Use
15888169689Skan	cfg_layout_initialize_rbi.
15889169689Skan	(cfg_layout_split_block): Use rbi.
15890169689Skan	(cfg_layout_delete_block): Likewise.
15891169689Skan	* loop-init.c (loop_optimizer_finalize): Likewise.
15892169689Skan	* loop-unswitch.c (unswitch_loop): Likewise.
15893169689Skan	* tracer.c (seen, tail_duplicate, layout_superblocks): Likewise.
15894169689Skan
15895169689Skan	* cfgrtl.c: Update comments.
15896169689Skan	(try_redirect_by_replacing_jump): New argument.
15897169689Skan	(redirect_branch_edge): Break out from ...
15898169689Skan	(rtl_redirect_edge_and_branch): ... this one.
15899169689Skan	(update_cfg_after_block_merging): Break out from ...
15900169689Skan	(rtl_merge_blocks): ... this one.
15901169689Skan	(cfg_layout_split_edge): New.
15902169689Skan	(cfg_layout_merge_blocks): New.
15903169689Skan	(cfg_layout_can_merge_blocks_p): New.
15904169689Skan	(cfg_layout_redirect_edge_and_branch): Reorganize.
15905169689Skan	(cfg_layout_rtl_cfg_hooks): Fill in.
15906169689Skan	(cfg_layout_delete_block): Kill barriers.
15907169689Skan	* cfganal.c (can_fallthru): Deal with exit blocks
15908169689Skan	* cfglayout.c (cfg_layout_function_header): New function
15909169689Skan	(record_effective_endpoints): Record function header.
15910169689Skan	(fixup_reorder_chain): Fixup dead jumptables; place header
15911169689Skan
15912169689Skan	* basic-block.h (CLEANUP_CFGLAYOUT): New flag.
15913169689Skan	* bb-reorder.c (cfg_layout_initialize): Update call.
15914169689Skan	* cfgcleanup.c (try_optimize_cfg): Supress optimizations of fallthru
15915169689Skan	edges in cfglayout mode.
15916169689Skan	* cfglayout.c (cleanup_unconditional_jumps): Kill.
15917169689Skan	(cfg_layout_initialize): Kill agrument loops; use cfgcleanup.
15918169689Skan	* cfglayout.h (cfg_layout_initialize): Update prototype.
15919169689Skan	* cfgloop.h (CP_INSIDE_CFGLAYOUT): Kill.
15920169689Skan	* cfgloopmanip.c (loop_split_edge_with): Use split_edge.
15921169689Skan	* flow.c (propagate_block): Do not crash when basic block ends
15922169689Skan	by first insn in the chain.
15923169689Skan	* loop-init.c (loop_optimizer_init):  First enter cfglayout mode; later
15924169689Skan	do loop discovery.
15925169689Skan	* tracer.c (tracer): Update call of cfg_layout_initialize.
15926169689Skan
15927169689Skan2003-07-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15928169689Skan
15929169689Skan	* Makefile.in: Use dependency variables in lieu of explicit
15930169689Skan	files throughout.
15931169689Skan
15932169689Skan2003-07-03  Steven Bosscher  <steven@gcc.gnu.org>
15933169689Skan
15934169689Skan	* rtl.h (ECF_*, flags_from_decl_or_type): Move from here...
15935169689Skan	* tree.h: ...to here.
15936169689Skan
15937169689Skan2003-07-03  Kazu Hirata  <kazu@cs.umass.edu>
15938169689Skan
15939169689Skan	* config/s390/2064.md: Fix comment typos.
15940169689Skan	* config/s390/2084.md: Likewise.
15941169689Skan	* config/s390/s390.c: Likewise.
15942169689Skan	* config/s390/s390.md: Likewise.
15943169689Skan	* config/sh/sh.c: Likewise.
15944169689Skan	* config/sh/sh.h: Likewise.
15945169689Skan	* config/sh/sh.md: Likewise.
15946169689Skan	* config/sparc/sparc.c: Likewise.
15947169689Skan	* config/sparc/sparc.h: Likewise.
15948169689Skan	* config/sparc/sparc.md: Likewise.
15949169689Skan	* config/stormy16/stormy16.c: Likewise.
15950169689Skan	* config/stormy16/stormy16.h: Likewise.
15951169689Skan	* config/stormy16/stormy-abi: Fix a typo.
15952169689Skan
15953169689Skan2003-07-03  Kelley Cook  <kelleycook@wideopenwest.org>
15954169689Skan
15955169689Skan	* Makefile.in (ifcvt.o): Depend on OPTABS_H.
15956169689Skan
15957169689Skan2003-07-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15958169689Skan
15959169689Skan	* config/mips/mips.h (save_argv): Delete.
15960169689Skan
15961169689Skan2003-07-03  Roger Sayle  <roger@eyesopen.com>
15962169689Skan
15963169689Skan	PR target/10700
15964169689Skan	* fold-const.c (extract_muldiv_1): There's nothing that can be done
15965169689Skan	if the expression is a SAVE_EXPR.
15966169689Skan
15967169689Skan2003-07-03  Kazu Hirata  <kazu@cs.umass.edu>
15968169689Skan
15969169689Skan	* config/m32r/m32r.c: Fix comment typos.
15970169689Skan	* config/m68hc11/m68hc11.c: Likewise.
15971169689Skan	* config/m68hc11/m68hc11.h: Likewise.
15972169689Skan	* config/m68k/m68k.c: Likewise.
15973169689Skan	* config/mcore/mcore.c: Likewise.
15974169689Skan	* config/mcore/mcore.h: Likewise.
15975169689Skan	* config/mcore/mcore.md: Likewise.
15976169689Skan	* config/mips/mips.c: Likewise.
15977169689Skan	* config/mips/mips.h: Likewise.
15978169689Skan	* config/mips/mips.md: Likewise.
15979169689Skan	* config/mips/netbsd.h: Likewise.
15980169689Skan	* config/mn10300/mn10300.c: Likewise.
15981169689Skan
15982169689Skan2003-07-03  Andreas Schwab  <schwab@suse.de>
15983169689Skan
15984169689Skan	* dbxout.c (pending_bincls): Move decl down inside
15985169689Skan	DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO section.
15986169689Skan
15987169689Skan2003-07-02  Nathan Sidwell  <nathan@codesourcery.com>
15988169689Skan
15989169689Skan	* rtl.h (NOTE_DATA): Refer to whole union.
15990169689Skan	* emit-rtl.c (emit_note): Use memset to clear NOTE_DATA.
15991169689Skan
15992169689Skan2003-07-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
15993169689Skan
15994169689Skan	PR optimization/11381
15995169689Skan	* simplify-rtx.c (simplify_relational_operation): Check that
15996169689Skan	two equal operands have no side-effects before simplifying
15997169689Skan	the comparison.
15998169689Skan
15999169689Skan2003-07-02  Jeff Law  <law@redhat.com>
16000169689Skan
16001169689Skan	* expr.c (do_store_flag): Remove special case folding for
16002169689Skan	single bit tests.  Instead call back into the commonized folder
16003169689Skan	routine.
16004169689Skan	* fold-const.c (fold_single_bit_test): New function, mostly
16005169689Skan	extracted from do_store_flag, with an additional case extracted
16006169689Skan	from fold.
16007169689Skan	(fold): Call fold_single_bit_test appropriately.
16008169689Skan	* tree.h (fold_single_bit_test): Prototype.
16009169689Skan
16010169689Skan2003-07-02  Zack Weinberg  <zack@codesourcery.com>
16011169689Skan
16012169689Skan	* system.h: Include filenames.h.
16013169689Skan	(IS_DIR_SEPARATOR, IS_ABSOLUTE_PATHNAME): Don't define.
16014169689Skan	(DIR_SEPARATOR, DIR_SEPARATOR_2): If not already defined,
16015169689Skan	define based on HAVE_DOS_BASED_FILE_SYSTEM.
16016169689Skan	* config/i386/xm-cygwin.h, config/i386/xm-djgpp.h
16017169689Skan	* config/i386/xm-mingw32.h: Don't define
16018169689Skan	HAVE_DOS_BASED_FILE_SYSTEM,
16019169689Skan	DIR_SEPARATOR, or DIR_SEPARATOR_2.
16020169689Skan	* doc/hostconfig.texi: Update to match.
16021169689Skan
16022169689Skan	* cppfiles.c, gcc.c, gensupport.c, protoize.c,
16023169689Skan	config/i386/cygwin.h:
16024169689Skan	Use IS_ABSOLUTE_PATH throughout.
16025169689Skan	* gcc.c (DIR_UP): Delete, unused.
16026169689Skan	* protoize.c (IS_SAME_PATH): Define in terms of
16027169689Skan	FILENAME_CMP.
16028169689Skan	(is_abspath): Delete.
16029169689Skan
16030169689Skan2003-07-02  Kazu Hirata  <kazu@cs.umass.edu>
16031169689Skan
16032169689Skan	* config/i386/emmintrin.h: Fix comment typos.
16033169689Skan	* config/i386/i386.c: Likewise.
16034169689Skan	* config/i386/i386.h: Likewise.
16035169689Skan	* config/i386/sco5.h: Likewise.
16036169689Skan	* config/ia64/ia64.c: Likewise.
16037169689Skan	* config/ia64/itanium2.md: Likewise.
16038169689Skan
16039169689Skan2003-07-02  H.J. Lu  <hongjiu.lu@intel.com>
16040169689Skan
16041169689Skan	* dbxout.c (pending_bincls): Replace DBX_USE_BINCLS with
16042169689Skan	DBX_USE_BINCL.
16043169689Skan	(emit_bincl_stab): Same.
16044169689Skan	(emit_pending_bincls): Same.
16045169689Skan
16046169689Skan2003-07-02  Kazu Hirata  <kazu@cs.umass.edu>
16047169689Skan
16048169689Skan	* config/h8300/h8300.c (compute_mov_length): Fix the length of
16049169689Skan	loading CONST0_RTX (SFmode).
16050169689Skan	* config/h8300/h8300.h (CONST_DOUBLE_OK_FOR_LETTER_P): Change
16051169689Skan	'G' to CONST0_RTX (SFmode).
16052169689Skan	* config/h8300/h8300.md (movsf_h8300): Change the first
16053169689Skan	constraint to 'G'.
16054169689Skan	(movsf_h8300h): Likewise.
16055169689Skan
16056169689Skan2003-07-02  Neil Booth  <neil@daikokuya.co.uk>
16057169689Skan
16058169689Skan	* c-common.h (c_common_init_options): New prototype.
16059169689Skan	* c-opts.c (deferred_size): Remove.
16060169689Skan	(defer_opt): Array is now pre-allocated.
16061169689Skan	(c_common_init_options): Pre-allocate deferred_opts.  Make
16062169689Skan	lang_flags unsigned.
16063169689Skan	(push_command_line_options): Free deferred_opts.
16064169689Skan	* hooks.c (hook_uint_uint_constcharptrptr_0): New.
16065169689Skan	* hooks.h (hook_uint_uint_constcharptrptr_0): New.
16066169689Skan	* langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): Update.
16067169689Skan	* langhooks.h (struct lang_hooks): New prototype for init_options.
16068169689Skan	* main.c (main): Cast argv.
16069169689Skan	* opts.c (handle_option, handle_options): Update prototypes.
16070169689Skan	(decode_options): save_argc, save_argv are not global.  Constify.
16071169689Skan	* opts.h (decode_options): New prototype.
16072169689Skan	* toplev.c (general_init): New protoype.
16073169689Skan	(save_argv): Make static.
16074169689Skan	(save_argc): Remove.
16075169689Skan	(print_switch_values, general_init): Constify.
16076169689Skan	(toplev_main): Save argv.
16077169689Skan	* toplev.h (toplev_main): Update prototype.
16078169689Skan	(save_argc, save_argv): Remove.
16079169689Skan
16080169689Skan2003-07-02  David Edelsohn  <edelsohn@gnu.org>
16081169689Skan
16082169689Skan	* dbxout.c (pending_bincls): Guard with DBX_USE_BINCLS.
16083169689Skan	(emit_bincl_stab): Same.
16084169689Skan	(emit_pending_bincls): Same.
16085169689Skan
16086169689Skan2003-07-02  Nathan Sidwell  <nathan@codesourcery.com>
16087169689Skan
16088169689Skan	PR c++/11072
16089169689Skan	* ginclude/stddef.h (offsetof): Remove cast to 'char &'. Explain why.
16090169689Skan
16091169689Skan2003-07-02  Andreas Schwab  <schwab@suse.de>
16092169689Skan
16093169689Skan	* dbxout.c (pending_bincls): Only define if DBX_DEBUGGING_INFO.
16094169689Skan
16095169689Skan2003-07-02  Eric Botcazou  <ebotcazou@libertysurf.fr>
16096169689Skan
16097169689Skan	PR optimization/11210
16098169689Skan	* expr.c (handled_component_p) [NOP_EXPR]: Add ??? note
16099169689Skan	about the behaviour with regard to bitfields.
16100169689Skan	* fold-const (decode_field_reference): Record outermost type in
16101169689Skan	case the expression is a NOP. Strip all NOPs. Set the signedness
16102169689Skan	to that of the outermost type (if any) when the bitsize is equal
16103169689Skan	to the size of the type.
16104169689Skan
16105169689Skan2003-07-02  Richard Sandiford  <rsandifo@redhat.com>
16106169689Skan
16107169689Skan	* config/mips/mips.md (addsi3): Remove workaround for adds of -32768.
16108169689Skan	(addsi3_internal, adddi3, adddi3_internal_2): Likewise.
16109169689Skan	(adddi3_internal_3, addsi3_internal_2): Likewise.
16110169689Skan
16111169689Skan2003-07-02  Richard Sandiford  <rsandifo@redhat.com>
16112169689Skan
16113169689Skan	* config/mips/mips.c (machine_function): Add new fields:
16114169689Skan	ignore_hazard_length_p and all_noreorder_p.
16115169689Skan	(mips_flag_delayed_branch): New variable.
16116169689Skan	(override_options): Treat '/' as an operand punctuation character.
16117169689Skan	Set up mips_flag_delayed_branch.
16118169689Skan	(print_operand): Handle '/'.
16119169689Skan	(mips_output_function_prologue): Put the whole function in
16120169689Skan	.set noreorder and .set nomacro if all_noreorder_p is true.
16121169689Skan	(mips_output_function_epilogue): End the noreorder/nomacro sequence.
16122169689Skan	(mips16_optimize_gp): Remove "first insn" parameter.
16123169689Skan	(mips16_lay_out_constants): New function, split out from mips_reorg.
16124169689Skan	(mips_avoid_hazard, mips_avoid_hazards): New functions.
16125169689Skan	(mips_reorg): For mips16 code, call mips16_lay_out_constant
16126169689Skan	and (optionally) mips16_optimize.  If TARGET_EXPLICIT_RELOCS,
16127169689Skan	do delayed-branch scheduling followed by hazard detection.
16128169689Skan	(mips_adjust_insn_length): Only account for hazards if
16129169689Skan	!ignore_hazard_length_p.
16130169689Skan	(mips_output_load_label): Add a nop to the o32 sequence if
16131169689Skan	the target suffers from load delays.
16132169689Skan	(mips_output_conditional_branch): Add %/ to the end of branches.
16133169689Skan	(mips_output_division): Fill the branch delay slot with %#.
16134169689Skan	* config/mips/mips.md: Remove redundant '%*' from mips16 branch
16135169689Skan	instructions.  End all other %* branches with %/.
16136169689Skan	(ffssi2, ffsdi2): Fix lengths.
16137169689Skan	(truncdisi2, truncdihi2, truncdiqi2): Add store attributes.
16138169689Skan	(fix_truncdfsi2_macro): Turn off .set nomacro if appropriate.
16139169689Skan	(fix_truncsfsi2_macro): Likewise.
16140169689Skan	(mov_lwl): Set hazard to "none".
16141169689Skan	(ashldi3_internal): Fill the branch delay slot with %#.
16142169689Skan	(ashrdi3_internal, lshrdi3_internal): Likewise.
16143169689Skan	(exception_receiver): Explicitly set $28.
16144169689Skan	(hazard_nop): New pattern.
16145169689Skan
16146169689Skan2003-07-02  Jan Hubicka  <jh@suse.cz>
16147169689Skan
16148169689Skan	* cgraphunit.c (cgraph_finalize_unit): Set current_function_decl
16149169689Skan	before calling tree_inlinable_function_p.
16150169689Skan
16151169689Skan2003-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16152169689Skan
16153169689Skan	* fixinc/inclhack.def (irix_stdio_va_list): Apply to IRIX 6.5
16154169689Skan	<internal/stdio_core.h> too.
16155169689Skan	(stdio_va_list): Apply to IRIX 6.5 <internal/stdio_core.h> and
16156169689Skan	<internal/wchar_core.h> too.
16157169689Skan	Substitute va_list uses in inline definition.
16158169689Skan	* fixinc/fixincl.x: Regenerate.
16159169689Skan
16160169689Skan2003-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16161169689Skan
16162169689Skan	* config/mips/iris5.h (SET_FILE_NUMBER): Moved here from iris3.h.
16163169689Skan	Undef before redefinition.
16164169689Skan	(LABEL_AFTER_LOC): Likewise.
16165169689Skan	(DEFAULT_SIGNED_CHAR): Likewise.
16166169689Skan	(ASM_OUTPUT_ASCII): Moved here from iris4.h.
16167169689Skan	Fix IRIX spelling.
16168169689Skan
16169169689Skan	* config/mips/iris3.h: Remove, unused.
16170169689Skan	* config/mips/iris4.h: Likewise.
16171169689Skan
16172169689Skan	* config/mips/mips.h (STACK_ARGS_ADJUST): Remove, unused.
16173169689Skan
16174169689Skan	* config/mips/iris5.h (TARGET_DEFAULT): Move ...
16175169689Skan	* config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here to
16176169689Skan	target_cpu_default.
16177169689Skan
16178169689Skan	* config/mips/iris5.h: Move explicit includes ...
16179169689Skan	* config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here.
16180169689Skan
16181169689Skan	* config/mips/iris6.h (MIPS_ISA_DEFAULT, MIPS_ABI_DEFAULT): Move ...
16182169689Skan	* config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
16183169689Skan	tm_defines.
16184169689Skan
16185169689Skan	* config/mips/iris6.h (TARGET_DEFAULT): Move ...
16186169689Skan	* config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
16187169689Skan	target_cpu_default.
16188169689Skan
16189169689Skan	* config/mips/iris6.h: Fix IRIX spelling.
16190169689Skan	(MULTILIB_DEFAULTS): Undef before redefinition.
16191169689Skan
16192169689Skan	* config/mips/iris6.h: Move explicit includes ...
16193169689Skan	* config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here.
16194169689Skan
16195169689Skan2003-07-02  Jan Hubicka  <jh@suse.cz>
16196169689Skan
16197169689Skan	* cgraph.c (cgraph_mark_needed_node, cgraph_varpool_mark_needed_node,
16198169689Skan	cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls):
16199169689Skan	Use next_needed field instead of aux to maintain the queue.
16200169689Skan	* cgraph.h (cgraph_node): Add next_needed.
16201169689Skan	(cgraph_varpool_node): Add next_needed; remove aux.
16202169689Skan	* cgraphunit.c (cgraph_finalize_compilation_unit): Use next_needed.
16203169689Skan
16204169689Skan2003-07-02  Jan Hubicka  <jh@suse.cz>
16205169689Skan
16206169689Skan	* cgraphunit.c (cgraph_finalize_function): Set finalized.
16207169689Skan	(cgraph_finalize_function): Do not examine inlinablility.
16208169689Skan	(cgraph_finalize_compilation_unit): Do it here.
16209169689Skan	* cgraph.h (cgraph_local_info): Add finalized field.
16210169689Skan
16211169689Skan2003-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16212169689Skan
16213169689Skan	* ggc-common.c (gt_pch_save): Cast MAP_FAILED to void *.
16214169689Skan	(gt_pch_restore): Likewise.
16215169689Skan
16216169689Skan2003-07-01  Kazu Hirata  <kazu@cs.umass.edu>
16217169689Skan
16218169689Skan	* config/alpha/alpha.c: Fix comment typos.
16219169689Skan	* config/alpha/elf.h: Likewise.
16220169689Skan	* config/arm/arm.c: Likewise.
16221169689Skan	* config/arm/arm.h: Likewise.
16222169689Skan	* config/arm/arm.md: Likewise.
16223169689Skan	* config/arm/t-arm-coff: Likewise.
16224169689Skan	* config/arm/t-strongarm-pe: Likewise.
16225169689Skan	* config/arm/xscale-elf.h: Likewise.
16226169689Skan	* config/avr/avr.h: Likewise.
16227169689Skan
16228169689Skan2003-07-01  Jeff Law  <law@redhat.com>
16229169689Skan
16230169689Skan	* stmt.c (any_pending_cleanups): Remove another redundant test.
16231169689Skan
16232169689Skan2003-07-01  David Edelsohn  <edelsohn@gnu.org>
16233169689Skan	    J"orn Rennecke <joern.rennecke@superh.com>
16234169689Skan
16235169689Skan	* config/rs6000/rs6000.md (ctr{s,d}i_internal?): Add earlyclobber
16236169689Skan	for MEM case.
16237169689Skan
16238169689Skan2003-07-01  Devang Patel  <dpatel@apple.com>
16239169689Skan
16240169689Skan	* dbxout.c (DBXOUT_DECR_NESTING): Emit pending bincls, if required.
16241169689Skan	(binclstatus): New.
16242169689Skan	(struct dbx_file): New members - bincl_status, pending_bincl_name and
16243169689Skan	prev.
16244169689Skan	(pending_bincls): New.
16245169689Skan	(dbxout_init): Initialize new dbx_file members.
16246169689Skan	(dbxout_start_source_file): Same.
16247169689Skan	(emit_bincl_stab): New function.
16248169689Skan	(emit_pending_bincls): Same.
16249169689Skan	(emit_pending_bincls_if_required): Same.
16250169689Skan	(dbxout_end_source_file): Emit EINCL stab only if BINCL is  already
16251169689Skan	processed.
16252169689Skan	(dbxout_begin_block): Emit pending BINCL stabs.
16253169689Skan	(dbxout_end_block): Same.
16254169689Skan	(dbxout_function_decl): Same.
16255169689Skan	(dbxout_continue): Same.
16256169689Skan	(dbxout_type): Same.
16257169689Skan	(dbxout_class_name_qualifiers): Same.
16258169689Skan	(dbxout_symbol): Same.
16259169689Skan	(dbxout_symbol_location): Same.
16260169689Skan	(dbxout_parms): Same.
16261169689Skan
16262169689Skan2003-07-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16263169689Skan
16264169689Skan	* c-semantics.c (genrtl_case_label): Fix format specifier bug.
16265169689Skan	* cfgrtl.c (rtl_verify_flow_info_1): Likewise.
16266169689Skan
16267169689Skan2003-07-01  Andreas Jaeger  <aj@suse.de>
16268169689Skan
16269169689Skan	* fold-const.c: Convert prototypes to ISO C90.
16270169689Skan	* function.c: Likewise.
16271169689Skan	* function.h: Likewise.
16272169689Skan
16273169689Skan2003-07-01  Kazu Hirata  <kazu@cs.umass.edu>
16274169689Skan
16275169689Skan	* doc/contrib.texi: Fix typos.
16276169689Skan	* doc/invoke.texi: Likewise.
16277169689Skan	* doc/passes.texi: Likewise.
16278169689Skan	* doc/sourcebuild.texi: Likewise.
16279169689Skan	* doc/tm.texi: Likewise.
16280169689Skan
16281169689Skan2003-07-01  Kazu Hirata  <kazu@cs.umass.edu>
16282169689Skan
16283169689Skan	* basic-block.h: Fix comment typos.
16284169689Skan	* bb-reorder.c: Likewise.
16285169689Skan	* c-format.c: Likewise.
16286169689Skan	* cfgcleanup.c: Likewise.
16287169689Skan	* cfghooks.h: Likewise.
16288169689Skan	* cfgloop.c: Likewise.
16289169689Skan	* cfgloopmanip.c: Likewise.
16290169689Skan	* cfgrtl.c: Likewise.
16291169689Skan	* cgraph.h: Likewise.
16292169689Skan	* cgraphunit.c: Likewise.
16293169689Skan	* combine.c: Likewise.
16294169689Skan	* convert.c: Likewise.
16295169689Skan	* dbxout.c: Likewise.
16296169689Skan	* df.c: Likewise.
16297169689Skan	* df.h: Likewise.
16298169689Skan	* diagnostic.c: Likewise.
16299169689Skan	* dwarf2out.c: Likewise.
16300169689Skan	* et-forest.h: Likewise.
16301169689Skan	* flow.c: Likewise.
16302169689Skan	* fold-const.c: Likewise.
16303169689Skan	* function.h: Likewise.
16304169689Skan	* gcov-io.h: Likewise.
16305169689Skan	* gcov.c: Likewise.
16306169689Skan	* gcse.c: Likewise.
16307169689Skan	* genautomata.c: Likewise.
16308169689Skan	* ggc-common.c: Likewise.
16309169689Skan	* ggc-page.c: Likewise.
16310169689Skan	* loop-unroll.c: Likewise.
16311169689Skan	* loop-unswitch.c: Likewise.
16312169689Skan	* loop.c: Likewise.
16313169689Skan	* mips-tfile.c: Likewise.
16314169689Skan	* optabs.c: Likewise.
16315169689Skan	* ra-build.c: Likewise.
16316169689Skan	* ra-colorize.c: Likewise.
16317169689Skan	* ra-rewrite.c: Likewise.
16318169689Skan	* ra.h: Likewise.
16319169689Skan	* regmove.c: Likewise.
16320169689Skan	* reload.c: Likewise.
16321169689Skan	* rtlanal.c: Likewise.
16322169689Skan	* sched-ebb.c: Likewise.
16323169689Skan	* sched-int.h: Likewise.
16324169689Skan	* sched-vis.c: Likewise.
16325169689Skan	* sreal.c: Likewise.
16326169689Skan	* ssa-ccp.c: Likewise.
16327169689Skan	* ssa.c: Likewise.
16328169689Skan	* toplev.c: Likewise.
16329169689Skan	* tree-inline.c: Likewise.
16330169689Skan	* value-prof.c: Likewise.
16331169689Skan	* value-prof.h: Likewise.
16332169689Skan
16333169689Skan2003-07-01  Nathan Sidwell  <nathan@codesourcery.com>
16334169689Skan
16335169689Skan	* rtl.h (emit_line_note_after): Remove.
16336169689Skan	(emit_note_copy_after, emit_note_copy): New.
16337169689Skan	* emit-rtl.c (reorder_insns_with_line_notes): Replace
16338169689Skan	emit_line_note_after with emit_note_copy_after.
16339169689Skan	(emit_insn_after_with_line_notes): Likewise.
16340169689Skan	(emit_line_note_after): Kill.
16341169689Skan	(emit_note_copy_after): New.
16342169689Skan	(emit_note_copy): New.
16343169689Skan	* function.c (emit_return_into_block): Use emit_note_copy_after.
16344169689Skan	(thread_prologue_and_epilogue_insns): Likewise.
16345169689Skan	* integrate.c (expand_inline_function): Use emit_note_copy.
16346169689Skan	(copy_insn_list): Likewise.
16347169689Skan	* unroll.c (copy_loop_body): Likewise.
16348169689Skan	* cfglayout.c (duplicate_insn_chain): Likewise.
16349169689Skan
16350169689Skan2003-07-01  Nathan Sidwell  <nathan@codesourcery.com>
16351169689Skan
16352169689Skan	* c-tree.h (define_label): Replace filename and lineno arguments
16353169689Skan	with a location_t.
16354169689Skan	* c-decl.c (poplevel): Adjust define_label call.
16355169689Skan	(pop_label_level): Likewise.
16356169689Skan	(define_label): Replace filename and lineno arguments with a
16357169689Skan	location_t.
16358169689Skan	(store_parm_decls): Use DECL_SOURCE_LOCATION.
16359169689Skan	* c-parse.in (label): Adjust define_label call.
16360169689Skan
16361169689Skan2003-07-01  Neil Booth  <neil@daikokuya.co.uk>
16362169689Skan
16363169689Skan	* config/sol2.h, config/alpha/alpha.h, config/alpha/linux.h,
16364169689Skan	config/i386/i386-interix.h, config/ia64/hpux.h, config/mips/iris6.h,
16365169689Skan	config/mips/linux.h, config/mips/mips.h, config/pa/pa-hpux.h,
16366169689Skan	config/pa/pa-hpux10.h, config/pa/pa-hpux11.h, config/pa/pa-pro-end.h,
16367169689Skan	config/pa/pa.h, config/pa/rtems.h: Use c_dialect_ macros.
16368169689Skan
16369169689Skan2003-07-01  Andreas Jaeger  <aj@suse.de>
16370169689Skan
16371169689Skan	* final.c: Convert prototypes to ISO C90.
16372169689Skan	* flow.c: Likewise.
16373169689Skan	* flags.h: Likewise.
16374169689Skan	* gcov-io.c: Likewise.
16375169689Skan	* gcov-io.h: Likewise.
16376169689Skan
16377169689Skan2003-06-30  Bruno Haible  <bruno@clisp.org>
16378169689Skan
16379169689Skan	PR middle-end/6578
16380169689Skan	* libgcc2.c (__subvsi3): Remove simplification that would not work
16381169689Skan	when subtracting -0x80000000.
16382169689Skan	(__subvdi3): Remove simplification that would return a wrong result.
16383169689Skan	(__mulvsi3): Fix overflow check.
16384169689Skan	(__absvdi2): Fix simplification that would return a wrong result.
16385169689Skan	(__mulvdi3): Fix overflow check.
16386169689Skan
16387169689Skan2003-06-30  Jeff Law  <law@redhat.com>
16388169689Skan
16389169689Skan	* stmt.c (any_pending_cleanups): Lose argument THIS_CONTOUR, it
16390169689Skan	was always passed in the value '1'.  Simplify body appropriately.
16391169689Skan	* tree.h (any_pending_cleanups): Corresponding changes.
16392169689Skan	* calls.c: (expand_call): Corresponding changes.
16393169689Skan
16394169689Skan2003-06-30  Kazu Hirata  <kazu@cs.umass.edu>
16395169689Skan
16396169689Skan	* combine.c (distribute_notes): Don't bother REG_WAS_0.
16397169689Skan	* cse.c (cse_insn): Likewise.
16398169689Skan	* final.c (final_scan_insn): Likewise.
16399169689Skan	* jump.c (duplicate_loop_exit_test): Likewise.
16400169689Skan	* rtl.c (reg_note_name): Remove REG_WAS_0.
16401169689Skan	* rtl.h (REG_WAS_0): Remove.
16402169689Skan	* unroll.c (final_reg_note_copy): Don't bother REG_WAS_0.
16403169689Skan	* config/avr/avr.c (output_movqi): Don't use reg_was_0.
16404169689Skan	(output_movhi): Likewise.
16405169689Skan	(output_movsisf): Likewise.
16406169689Skan	(reg_was_0): Remove.
16407169689Skan	* config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Don't use
16408169689Skan	REG_WAS_0.
16409169689Skan	(m68hc11_gen_movqi): Likewise.
16410169689Skan	* config/vax/vax-protos.h: Remove the prototype for
16411169689Skan	reg_was_0_p.
16412169689Skan	* config/vax/vax.c (follows_p): Remove.
16413169689Skan	(reg_was_0_p): Likewise.
16414169689Skan	* config/vax/vax.md (movsi): Don't use reg_was_0_p.
16415169689Skan	(movhi): Likewise.
16416169689Skan	(movqi): Likewise.
16417169689Skan	* doc/rtl.texi (REG_WAS_0): Remove.
16418169689Skan
16419169689Skan2003-06-30  Mark Mitchell  <mark@codesourcery.com>
16420169689Skan
16421169689Skan	* config/rs6000/spe.h (__ev_set_spefscr_frmc): Set the flag.
16422169689Skan
16423169689Skan2003-06-30  Bob Wilson  <bob.wilson@acm.org>
16424169689Skan
16425169689Skan	* config/xtensa/lib1funcs.asm: Use "xtensa-config.h" from
16426169689Skan	top-level include directory.
16427169689Skan	* config/xtensa/lib2funcs.S: Likewise.
16428169689Skan	* config/xtensa/xtensa.h: Likewise.
16429169689Skan	* config/xtensa/xtensa-config.h: Remove.
16430169689Skan	* doc/install.texi: Update location of "xtensa-config.h" header.
16431169689Skan
16432169689Skan2003-06-30  Ulrich Weigand  <uweigand@de.ibm.com>
16433169689Skan
16434169689Skan	* config/s390/s390.c (s390_extra_constraint): New function.
16435169689Skan	* config/s390/s390-protos.h (s390_extra_constraint): Declare it.
16436169689Skan	* config/s390/s390.h (EXTRA_CONSTRAINT): Use it.
16437169689Skan	* config/s390/s390.c (q_constraint): Remove.
16438169689Skan	* config/s390/s390-protos.h (q_constraint): Likewise.
16439169689Skan	* config/s390/s390.h (EXTRA_MEMORY_CONSTRAINT): Add 'R', 'S', 'T'.
16440169689Skan	(EXTRA_ADDRESS_CONSTRAINT): Define.
16441169689Skan
16442169689Skan	* config/s390/s390.c (larl_operand): Refuse out-of-range operands.
16443169689Skan	(DISP_IN_RANGE, s390_short_displacement): New.
16444169689Skan	(legitimate_reload_operand_p): Support long displacements.
16445169689Skan	(s390_decompose_address): Likewise.
16446169689Skan	(legitimize_pic_address): Likewise.
16447169689Skan	(legitimize_address): Likewise.
16448169689Skan	(s390_fixup_clobbered_return_reg): Likewise.
16449169689Skan	(s390_emit_prologue, s390_emit_epilogue): Likewise.
16450169689Skan	(s390_output_mi_thunk): Likewise.
16451169689Skan
16452169689Skan	* config/s390/s390.md (attr "op_type"): Add "RXY", "RSY", "SIY".
16453169689Skan	(attr "atype", attr "length"): Add defaults for new op_types.
16454169689Skan	(all insns): Change op_type attribute where appropriate.
16455169689Skan
16456169689Skan	("*movdi_lay", "*movsi_lay", "*extendqidi2", "*extendqisi2"): New insns.
16457169689Skan	("*tmqi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", *tmqi_mem",
16458169689Skan	"*tstsi", "*tstsi_cconly", "*tsthiCCT", "*tsthiCCT_cconly",
16459169689Skan	"*tsthi", "*tsthi_cconly", "*tstqiCCT", "*tstqiCCT_cconly",
16460169689Skan	"*tstqi", "*tstqi_cconly", "*cmpsi_ccs_sign", "*cmpsi_ccs",
16461169689Skan	"*cmpsi_ccu", "*cmphi_ccu", "*cmpqi_ccu", "*cli",
16462169689Skan	"movti", "*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64",
16463169689Skan	"movqi", "*movstrictqi", "*movstricthi", "movstrictsi",
16464169689Skan	"*movdf_64", "*movdf_31", "*movsf",
16465169689Skan	"*load_multiple_si", "*store_multiple_di",
16466169689Skan	"*sethighqisi", "*sethighhisi", "*sethighqidi_31", "*extendhisi2",
16467169689Skan	"*la_64", "*la_31", "*la_31_and", "force_la_31",
16468169689Skan	"*addsi3_carry1_cc", *addsi3_carry1_cconly",
16469169689Skan	"*addsi3_carry2_cc", *addsi3_carry2_cconly",
16470169689Skan	"*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2",
16471169689Skan	"*addsi3_sign", "*addsi3_sub", "addsi3",
16472169689Skan	"*subsi3_borrow_cc", "*subsi3_borrow_cconly", "*subsi3_cc",
16473169689Skan	"*subsi3_cconly", "*subsi3_sign", "*subsi3_sub", "subsi3",
16474169689Skan	"mulsi3"
16475169689Skan	"*andsi3_cc", "*andsi3_cconly", "andsi3",
16476169689Skan	"*andqi3_ss", "*andqi3_ss_inv",
16477169689Skan	"*iorsi3_cc", "*iorsi3_cconly", "iorsi3",
16478169689Skan	"*iorqi3_ss", "*iorqi3_ss_inv",
16479169689Skan	"*xorsi3_cc", "*xorsi3_cconly", "xorsi3",
16480169689Skan	"*xorqi3_ss", "*xorqi3_ss_inv",
16481169689Skan	"*tls_load_31"): Add alternatives for long-displacement instructions.
16482169689Skan
16483169689Skan	("*cmpdf_ccs", "*cmpdf_ccs_ibm", "*cmpsf_ccs", "*cmpsf_ccs_ibm",
16484169689Skan	"*load_multiple_di", "*store_multiple_di",
16485169689Skan	"*sethighqidi_64", "*zero_extendhisi2_31",
16486169689Skan	"truncdfsf2_ibm", "extendsfdf2_ieee", "extendsfdf2_ibm",
16487169689Skan	"adddf3", "*adddf3", "*adddf3_ibm",
16488169689Skan	"addsf3", "*addsf3", "*addsf3_ibm",
16489169689Skan	"subdf3", "*subdf3", "*subdf3_ibm",
16490169689Skan	"subsf3", "*subsf3", "*subsf3_ibm",
16491169689Skan	"mulsi_6432", "divmoddisi3",
16492169689Skan	"muldf3", "*muldf3", "*muldf3_ibm",
16493169689Skan	"mulsf3", "*mulsf3", "*mulsf3_ibm",
16494169689Skan	"divdf3", "*divdf3", "*divdf3_ibm",
16495169689Skan	"divsf3", "div*sf3", "*divsf3_ibm",
16496169689Skan	"sqrtdf2", "sqrtsf2",
16497169689Skan	"*cjump_long", "*icjump_long", "indirect_jump", "casesi_jump",
16498169689Skan	"*doloop_si_long", "*doloop_di_long", "bas_64", "bas_31",
16499169689Skan	"bas_r_64", "bas_r_31", "bas_tls_31", "bas_tls_64"): Adapt memory
16500169689Skan	and address constraints for instructions that do not accept long
16501169689Skan	displacements.
16502169689Skan
16503169689Skan2003-06-30  Hartmut Penner  <hpenner@de.ibm.com>
16504169689Skan	    Ulrich Weigand  <uweigand@de.ibm.com>
16505169689Skan
16506169689Skan	* config/s390/2084.md: New file.
16507169689Skan	* config/s390/s390.md: Include it.
16508169689Skan	* config/s390/s390.c (s390_adjust_priority): New function.
16509169689Skan	(TARGET_SCHED_ADJUST_PRIORITY): Define.
16510169689Skan	(s390_first_cycle_multipass_dfa_lookahead): New function.
16511169689Skan	(TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
16512169689Skan	(s390_sched_reorder2): New function.
16513169689Skan	(TARGET_SCHED_REORDER2): Define.
16514169689Skan	(s390_adjust_cost): Support PROCESSOR_2084_Z990 cpu type.
16515169689Skan	(s390_issue_rate): Likewise.
16516169689Skan
16517169689SkanMon Jun 30 23:47:33 CEST 2003  Jan Hubicka  <jh@suse.cz>
16518169689Skan
16519169689Skan	* Makefile.in (GTFILES): Add cgraph.h.
16520169689Skan	* cgraph.c (known_decls): Remove.
16521169689Skan	(cgraph_hash, cgraph_nodes, cgraph_nodes_queue,
16522169689Skan	cgraph_varpool_hash, cgraph_varpool_nodes_queue): GTYize.
16523169689Skan	(cgraph_node): Do not allocate known_decls; use polutate hashtable.
16524169689Skan	(cgraph_varpool_node): Likewise; add next pointer.
16525169689Skan	(cgraph_varpool_nodes): New static variable.
16526169689Skan	* cgraph.h (cgraph_local_info, cgraph_global_info, cgraph_rtl_info,
16527169689Skan	cgraph_node, cgraph_edge, cgraph_varpool_node, cgraph_nodes, cgraph_n_nodes,
16528169689Skan	cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): GTYize.
16529169689Skan	* gengtype.c (open_base_files): Include cgraph.h
16530169689Skan
16531169689Skan2003-06-30  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
16532169689Skan
16533169689Skan	* Changelog: Remove ">>>>>>>" from previous change.
16534169689Skan
16535169689Skan2003-06-30  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
16536169689Skan
16537169689Skan	* config/cris/cris.c: Fix spelling for "testcase".
16538169689Skan	* config/cris/cris.h: Likewise.
16539169689Skan	* config/cris/cris.md: Likewise.
16540169689Skan	* config/mmix/crti.asm: Likewise.
16541169689Skan	* config/mmix/mmix.h: Likewise.
16542169689Skan	* config/mmix/mmix.md: Likewise.
16543169689Skan
16544169689Skan2003-06-30  Kazu Hirata  <kazu@cs.umass.edu>
16545169689Skan
16546169689Skan	* config/h8300/h8300.h (LEGITIMATE_CONSTANT_P): Make it always
16547169689Skan	1.
16548169689Skan
16549169689Skan2003-06-30  Ulrich Weigand  <uweigand@de.ibm.com>
16550169689Skan
16551169689Skan	* config.gcc [s390*-*-*]: Support --with-arch, --with-tune, and
16552169689Skan	--with-mode configure options.
16553169689Skan	* config/s390/s390.h (OPTION_DEFAULT_SPECS): Define.
16554169689Skan	(DRIVER_SELF_SPECS): Define.
16555169689Skan	* config/s390/linux.h (ASM_SPEC): Pass architecture mode and cpu
16556169689Skan	architecture to assembler.
16557169689Skan	(LINK_SPEC): Merge 31-bit and 64-bit variants.
16558169689Skan	(LINK_ARCH31_SPEC, LINK_ARCH64_SPEC, EXTRA_SPECS): Remove.
16559169689Skan	* config/s390/s390.c (override_options): New default rules for
16560169689Skan	architecture mode and cpu architecture selection.
16561169689Skan	* doc/invoke.texi (-mesa, -mzarch, -march, -mtune): Document
16562169689Skan	new default rules.
16563169689Skan
16564169689Skan	* config/s390/s390.h (enum processor_type): Add PROCESSOR_2084_Z990.
16565169689Skan	* config/s390/s390.md (attr "cpu"): Add "z990" processor type.
16566169689Skan	* config/s390/s390.c (override_options): Add "z990" to
16567169689Skan	processor_alias_table.
16568169689Skan	* doc/invoke.texi (-march): Document "z990" processor type.
16569169689Skan
16570169689Skan	* config/s390/s390.c (s390_tune_flags, s390_arch_flags): New variables.
16571169689Skan	* config/s390/s390.h (s390_tune_flags, s390_arch_flags): Declare.
16572169689Skan	(enum processor_flags, TARGET_CPU_IEEE_FLOAT, TARGET_CPU_ZARCH,
16573169689Skan	TARGET_CPU_LONG_DISPLACEMENT, TARGET_LONG_DISPLACEMENT): New.
16574169689Skan	* config/s390/s390.c (override_options): Replace enum pta_flags by
16575169689Skan	enum processor_flags.  Fill in s390_tune_flags and s390_arch_flags.
16576169689Skan
16577169689Skan	* config/s390/s390.c (s390_cpu): Rename to ...
16578169689Skan	(s390_tune): ... this.
16579169689Skan	* config/s390/s390.h (s390_cpu, s390_tune): Likewise.
16580169689Skan	* config/s390/s390.c (s390_issue_rate, override_options): Likewise.
16581169689Skan	* config/s390/s390.md (attr "cpu"): Likewise.
16582169689Skan
16583169689Skan2003-06-30  Neil Booth  <neil@daikokuya.co.uk>
16584169689Skan
16585169689Skan	* c-common.c (enum c_language_kind, flag_objc): Remove.
16586169689Skan	(fix_string_type, check_case_value, c_common_nodes_and_builtins,
16587169689Skan	c_add_case_label, finish_label_addr_expr, boolean_increment):
16588169689Skan	Use c_dialect_ macros.
16589169689Skan	* c-common.h (enum c_language_kind): Extend.
16590169689Skan	(c_dialect_cxx, c_dialect_objc): New.
16591169689Skan	(flag_objc): Remove.
16592169689Skan	(c_common_init_options): Update prototype.
16593169689Skan	* c-cppbuiltin.c (define__GNUC__, c_cpp_builtins): Use c_dialect_
16594169689Skan	macros.
16595169689Skan	* c-decl.c (finsih_decl, grokfield, finish_struct): Use c_dialect_
16596169689Skan	macros.
16597169689Skan	* c-format.c (C_STD_VER, C_STD_NAME): Similarly.
16598169689Skan	* c-lang.c (c_init_options): Remove.
16599169689Skan	(c_language): Define.
16600169689Skan	(LANG_HOOKS_INIT_OPTIONS): Use common hook.
16601169689Skan	* c-lex.c (lex_charconst): Use c_dialect_ macros.
16602169689Skan	* c-opts.c (lang_flags): Make function-local.
16603169689Skan	(c_common_init_options): Use c_dialect_ macros.  Handle
16604169689Skan	C++ diagnostic requirements.
16605169689Skan	(c_common_handle_option, c_common_post_options): Use flag_cxx.
16606169689Skan	* c-parse.in (init_reswords): Use c_dialect_objc ().
16607169689Skan	* c-pch.c (get_ident): Use c_language.
16608169689Skan	* c-pretty-print.c (pp_c_bool_literal): Use c_dialect_ macros.
16609169689Skan	* c-typeck.c (comptypes, build_c_cast): Similarly.
16610169689Skan	* objc/objc-lang.c (c_language): Define.
16611169689Skan	(LANG_HOOKS_INIT_OPTIONS): Use common hook.
16612169689Skan	(objc_init_options): Remove.
16613169689Skan
16614169689Skan2003-06-30  Kazu Hirata  <kazu@cs.umass.edu>
16615169689Skan
16616169689Skan	* config/alpha/alpha.h (FUNCTION_ARG_PADDING): Remove.
16617169689Skan	* config/alpha/unicosmk.h: Don't #undef FUNCTION_ARG_PADDING.
16618169689Skan
16619169689Skan2003-06-30  Wolfgang Bangerth  <bangerth@dealii.org>
16620169689Skan
16621169689Skan	* doc/sourcebuild.texi: Don't reference gnats.html any more.
16622169689Skan
16623169689Skan2003-06-30  Kazu Hirata  <kazu@cs.umass.edu>
16624169689Skan
16625169689Skan	* config/h8300/h8300.c (compute_mov_length): Fix length of
16626169689Skan	mov:SF on H8/300.
16627169689Skan
16628169689Skan2003-06-30  Nick Clifton  <nickc@redhat.com>
16629169689Skan
16630169689Skan	* config/arm/arm.h (BIGGEST_FIELD_ALIGNMENT): Make defintion
16631169689Skan	constant.
16632169689Skan
16633169689SkanMon Jun 30 15:36:29 CEST 2003  Jan Hubicka  <jh@suse.cz>
16634169689Skan
16635169689Skan	(fyl2x_sfxf3, fyl2x_dfxf3, fscale_sfxf3, fscale_dfxf3): Fix condition.
16636169689Skan
16637169689Skan2003-06-30 Hartmut Penner  <hpenner@de.ibm.com>
16638169689Skan
16639169689Skan	* config/rs6000/rs6000.c (rs6000_split_altivec_in_gprs): New function.
16640169689Skan	(altivec_in_gprs_p): New function.
16641169689Skan
16642169689Skan	* config/rs6000/rs6000-protos (rs6000_split_altivec_in_gprs): New
16643169689Skan	prototype.
16644169689Skan	(altivec_in_gprs_p): New prototype.
16645169689Skan
16646169689Skan	* config/rs6000/altivec.md (*movv4si_internal): Change
16647169689Skan	multi-assembler alternative to '#'. Add postreload splitter to
16648169689Skan	handle this cases.
16649169689Skan	(*movv4hi_internal): Likewise.
16650169689Skan	(*movv4qi_internal): Likewise.
16651169689Skan	(*movv4sf_internal): Likewise.
16652169689Skan
16653169689Skan2003-06-30  Jason Merrill  <jason@redhat.com>
16654169689Skan
16655169689Skan	* defaults.h (PUSH_ARGS_REVERSED): Define default here.
16656169689Skan	* calls.c: Not here.
16657169689Skan
16658169689Skan2003-06-30  Ben Elliston  <bje@wasabisystems.com>
16659169689Skan
16660169689Skan	* config/arm/arm.c (arm_rtx_costs): Remove #if 0 block.
16661169689Skan	(bad_signed_byte_operand): Likewise.
16662169689Skan	(arm_output_epilogue): Likewise.
16663169689Skan	(arm_final_prescan_insn): Likewise.
16664169689Skan
16665169689Skan2003-06-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16666169689Skan
16667169689Skan	* cfgrtl.c (mark_killed_regs): Cast HARD_REGNO_NREGS to int.
16668169689Skan
16669169689Skan2003-06-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
16670169689Skan
16671169689Skan	* c-pch.c (c_common_write_pch): Flush asm_out_file to allow for
16672169689Skan	subsequent writes.
16673169689Skan
16674169689SkanMon Jun 30 10:03:02 CEST 2003  Jan Hubicka  <jh@suse.cz>
16675169689Skan
16676169689Skan	* cfgrtl.c (verify_flow_info): Accept degenerated condjumps
16677169689Skan	in cfglayout mode.
16678169689Skan
16679169689SkanMon Jun 30 09:52:39 CEST 2003  Jan Hubicka  <jh@suse.cz>
16680169689Skan
16681169689Skan	* i386.c (standard_80387_constant_p): Accept TFmode constants too.
16682169689Skan	(init_ext_80387_constants): Likewise.
16683169689Skan	(standard_80387_constant_rtx): Likewise.
16684169689Skan	* i386.md (atanxf): Disable for TARGET_128BIT_LONG_LONG
16685169689Skan	(atantf): Disable for !TARGET_128BIT_LONG_LONG
16686169689Skan	(fyl2x_sfxf3, fyl2x_dfxf3): Accept TFmode operands.
16687169689Skan	(fyl2x_xfxf3, fyl2x_tfxf3): Enable/disable as needed.
16688169689Skan	(fscale_sfxf3, fscale_dfxf3): Accept TFmode operands.
16689169689Skan	(fscale_xfxf3, fscale_tfxf3): Enable/disable as needed.
16690169689Skan	(frndinttf2): New.
16691169689Skan	(f2xm1tf2): New.
16692169689Skan	(exp?f2): Use expsf2_tf when needed.
16693169689Skan	(exp?f2_tf): New.
16694169689Skan	(exptf): New.
16695169689Skan
16696169689Skan2003-06-29 Uwe Stieber <uwe@kaos-group.de>
16697169689Skan
16698169689Skan	* config.gcc (sh*-*-kaos*): Put tm_file setting in separate case
16699169689Skan	statement from tmake_file set.
16700169689Skan
16701169689Skan2003-06-29  James E Wilson  <wilson@tuliptree.org>
16702169689Skan
16703169689Skan	* reload.c (find_reloads): Change push_reloads to push_reload in
16704169689Skan	comment.
16705169689Skan	* reload1.c (eliminate_regs): Likewise.
16706169689Skan	(dump_needs): Delete prototype for deleted function.
16707169689Skan
16708169689Skan2003-06-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
16709169689Skan
16710169689Skan	* builtin-attrs.def (gcc_diag, gcc_cdiag, gcc_cxxdiag): New
16711169689Skan	format attributes.
16712169689Skan	* c-format.c (enum format_type): Add gcc_diag_format_type,
16713169689Skan	gcc_cdiag_format_type, and gcc_cxxdiag_format_type.
16714169689Skan	(gcc_diag_length_specs, gcc_cdiag_length_specs,
16715169689Skan	gcc_cxxdiag_length_specs, gcc_diag_flag_pairs,
16716169689Skan	gcc_cdiag_flag_pairs, gcc_cxxdiag_flag_pairs, gcc_diag_flag_specs,
16717169689Skan	gcc_cdiag_flag_specs, gcc_cxxdiag_flag_specs, gcc_diag_char_table,
16718169689Skan	gcc_cdiag_char_table, gcc_cxxdiag_char_table): New.
16719169689Skan	(format_types_orig): Add new data.
16720169689Skan	(find_char_info_specifier_index, init_dynamic_diag_info): New
16721169689Skan	functions.
16722169689Skan	(handle_format_attribute): Update to handle new format attributes.
16723169689Skan
16724169689Skan2003-06-29  Dara Hazeghi  <dhazeghi@yahoo.com>
16725169689Skan
16726169689Skan	* doc/install.texi: Remove install documentation for obsoleted targets
16727169689Skan	i?86-*-sco, i?86-*-sco3.2v4, powerpcle-*-pe, powerpcle-*-winnt,
16728169689Skan	arm-*-aof.
16729169689Skan	Update information about IA64 toolchain, AIX make requirements,
16730169689Skan	and binutils for m68k-*-hpux and *-*-linuxaout targets.
16731169689Skan
16732169689SkanMon Jun 30 00:50:43 CEST 2003  Jan Hubicka  <jh@suse.cz>
16733169689Skan
16734169689Skan	* regmove.c (regmove_optimize): Don't try to make src and dst match
16735169689Skan	when they are in different modes.
16736169689Skan
16737169689SkanSun Jun 29 23:06:32 CEST 2003  Jan Hubicka  <jh@suse.cz>
16738169689Skan
16739169689Skan	* builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2): Avoid
16740169689Skan	busy work when builtin is not supported by the backend.
16741169689Skan
16742169689Skan2003-06-29  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
16743169689Skan
16744169689Skan	* loop.c (count_one_set): Fix detection of registers set in more
16745169689Skan	than one basic block.
16746169689Skan
16747169689Skan2003-06-29  Andreas Jaeger  <aj@suse.de>
16748169689Skan
16749169689Skan	* target-def.h: Remove usage of OBJECT_FORMAT_ROSE.
16750169689Skan	* system.h: Poison OBJ_FORMAT_ROSE.
16751169689Skan	* doc/tm.texi (Macros for Initialization): Remove documentatin of
16752169689Skan	OBJECT_FORMAT_ROSE.
16753169689Skan	* config/rs6000/lynx.h: Remove undef of OBJECT_FORMAT_ROSE.
16754169689Skan	* collect2.c: Remove usage of OBJECT_FORMAT_ROSE.
16755169689Skan
16756169689Skan2003-06-29  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
16757169689Skan
16758169689Skan	* pa.c (update_total_code_bytes): New function.
16759169689Skan	(last_address): Number of bytes output for a function and its
16760169689Skan	associated thunks.
16761169689Skan	(compute_frame_size): Use BITS_PER_UNIT.
16762169689Skan	(pa_output_function_epilogue): Compute last_address.  Use
16763169689Skan	update_total_code_bytes.
16764169689Skan	(output_lbranch): Handle long branch on portable runtime.
16765169689Skan	(attr_length_millicode_call, attr_length_call,
16766169689Skan	attr_length_indirect_call): Only use total_code_bytes for calls in
16767169689Skan	the text section.
16768169689Skan	(output_call): Only use an indirect call sequence when the target is
16769169689Skan	not local.
16770169689Skan	(pa_asm_output_mi_thunk): Handle updating of total_code_bytes.  Improve
16771169689Skan	test to determine when an IA-relative branch can be used.  Add various
16772169689Skan	long branch sequences.  Avoid using an indirect branch on all ports
16773169689Skan	except SOM.
16774169689Skan
16775169689Skan2003-06-29  Ulrich Weigand  <uweigand@de.ibm.com>
16776169689Skan
16777169689Skan	* expr.c (clear_by_pieces): Fix prototype.
16778169689Skan
16779169689Skan2003-06-29  Andreas Jaeger  <aj@suse.de>
16780169689Skan
16781169689Skan	* cse.c: Convert prototypes to ISO C90.
16782169689Skan	* cselib.c: Likewise.
16783169689Skan	* cselib.h: Likewise.
16784169689Skan	* dbxout.c: Likewise.
16785169689Skan	* debug.c: Likewise.
16786169689Skan	* df.c: Likewise.
16787169689Skan	* df.h: Likewise.
16788169689Skan	* dojump.c: Likewise.
16789169689Skan	* doloop.c: Likewise.
16790169689Skan	* dominance.c: Likewise.
16791169689Skan	* dwarf2asm.c: Likewise.
16792169689Skan	* dwarf2out.c: Likewise.
16793169689Skan	* dwarf2out.h: Likewise.
16794169689Skan	* dwarfout.c: Likewise.
16795169689Skan	* except.c: Likewise.
16796169689Skan	* except.h: Likewise.
16797169689Skan	* emit-rtl.c: Likewise.
16798169689Skan	* et-forest.c: Likewise.
16799169689Skan	* et-forest.h: Likewise.
16800169689Skan	* except.c: Likewise.
16801169689Skan	* explow.c: Likewise.
16802169689Skan	* expmed.c: Likewise.
16803169689Skan	* expr.c: Likewise.
16804169689Skan	* expr.h: Likewise.
16805169689Skan
16806169689Skan2003-06-29  Kazu Hirata  <kazu@cs.umass.edu>
16807169689Skan
16808169689Skan	* alloc-pool.c: Fix comment formatting.
16809169689Skan	* bitmap.c: Likewise.
16810169689Skan	* bitmap.h: Likewise.
16811169689Skan	* bt-load.c: Likewise.
16812169689Skan	* builtins.c: Likewise.
16813169689Skan	* caller-save.c: Likewise.
16814169689Skan	* cfganal.c: Likewise.
16815169689Skan	* cfgrtl.c: Likewise.
16816169689Skan	* collect2.c: Likewise.
16817169689Skan	* cse.c: Likewise.
16818169689Skan	* df.c: Likewise.
16819169689Skan	* diagnostic.c: Likewise.
16820169689Skan	* dwarf2out.c: Likewise.
16821169689Skan	* dwarfout.c: Likewise.
16822169689Skan	* expmed.c: Likewise.
16823169689Skan	* final.c: Likewise.
16824169689Skan	* flags.h: Likewise.
16825169689Skan	* fold-const.c: Likewise.
16826169689Skan	* gcc.c: Likewise.
16827169689Skan	* gcov-io.h: Likewise.
16828169689Skan	* gcov.c: Likewise.
16829169689Skan	* genattrtab.c: Likewise.
16830169689Skan	* genautomata.c: Likewise.
16831169689Skan	* libgcov.c: Likewise.
16832169689Skan	* mips-tfile.c: Likewise.
16833169689Skan	* optabs.c: Likewise.
16834169689Skan	* prefix.c: Likewise.
16835169689Skan	* rtlanal.c: Likewise.
16836169689Skan	* stmt.c: Likewise.
16837169689Skan	* stor-layout.c: Likewise.
16838169689Skan	* toplev.c: Likewise.
16839169689Skan	* varasm.c: Likewise.
16840169689Skan	* vmsdbgout.c: Likewise.
16841169689Skan
16842169689Skan2003-06-29  Kazu Hirata  <kazu@cs.umass.edu>
16843169689Skan
16844169689Skan	* expr.c (emit_single_push_insn): If padding is needed
16845169689Skan	downward, adjust the stack pointer first, and then store the
16846169689Skan	data into the stack location using an offset.
16847169689Skan
16848169689Skan2003-06-29  Andreas Jaeger  <aj@suse.de>
16849169689Skan
16850169689Skan	* collect2.h: Convert prototypes to ISO C90.
16851169689Skan	* collect2.c: Likewise.
16852169689Skan	* conflict.c: Likewise.
16853169689Skan	* coverage.c: Likewise.
16854169689Skan	* convert.h: Likewise.
16855169689Skan	* convert.c: Likewise.
16856169689Skan
16857169689Skan2003-06-29  Nathan Sidwell  <nathan@codesourcery.com>
16858169689Skan
16859169689Skan	* c-decl.c (c_init_decl_processing): Use a location_t. Set input
16860169689Skan	filename to <internal>.
16861169689Skan	* tree.c (make_node): Just copy the current location.
16862169689Skan
16863169689Skan2003-06-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
16864169689Skan
16865169689Skan	PR optimization/11210
16866169689Skan	* fold-const (decode_field_reference): Revert 2003-06-26 patch.
16867169689Skan
16868169689Skan2003-06-29  Neil Booth  <neil@daikokuya.co.uk>
16869169689Skan
16870169689Skan	* toplev.c (flag_dummy): Remove.
16871169689Skan	(f_options): Restore flag pointers.
16872169689Skan
16873169689Skan2003-06-29  David Edelsohn  <edelsohn@gnu.org>
16874169689Skan
16875169689Skan	* config/rs6000/rs6000.c (processor_target_table): Add 970.
16876169689Skan	* config.gcc: Add 970.
16877169689Skan
16878169689Skan2003-06-29  Kazu Hirata  <kazu@cs.umass.edu>
16879169689Skan
16880169689Skan	* dwarf2out.c (add_AT_string): Replace ggc_alloc_string (X,
16881169689Skan	-1) with ggc_strdup.
16882169689Skan	* stmt.c (expand_asm_operands): Likewise.
16883169689Skan	* config/rs6000/rs6000.md (builtin_setjmp_receiver): Likewise.
16884169689Skan
16885169689Skan2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
16886169689Skan
16887169689Skan	* config/ip2k/ip2k.c (ip2k_reorg): Use INSN_P instead of its
16888169689Skan	definition.
16889169689Skan
16890169689Skan2003-06-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
16891169689Skan
16892169689Skan	* opts.c: Include insn-attr.h.
16893169689Skan	* Makefile.in (opts.o): Depend on INSN_ATTR_H.
16894169689Skan
16895169689Skan2003-06-27  J"orn Rennecke <joern.rennecke@superh.com>
16896169689Skan
16897169689Skan	* flow.c (propagate_one_insn): Use proper test for a register
16898169689Skan	being part of the return value.
16899169689Skan
16900169689Skan2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
16901169689Skan
16902169689Skan	* config/avr/avr.c: Fix a comment typo.
16903169689Skan
16904169689Skan2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
16905169689Skan
16906169689Skan	* config/avr/avr-protos.h: Replace avr_simplify_comparision_p
16907169689Skan	with avr_simplify_comparison_p.
16908169689Skan	* config/avr/avr.c: Likewise.
16909169689Skan
16910169689Skan2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
16911169689Skan
16912169689Skan	* builtins.c: Follow spelling conventions.
16913169689Skan	* cgraph.c: Likewise.
16914169689Skan	* cpplex.c: Likewise.
16915169689Skan	* config/arm/arm.c: Likewise.
16916169689Skan	* config/arm/iwmmxt.md: Likewise.
16917169689Skan	* config/c4x/c4x-modes.def: Likewise.
16918169689Skan	* config/c4x/c4x.c: Likewise.
16919169689Skan	* config/c4x/c4x.h: Likewise.
16920169689Skan	* config/c4x/c4x.md: Likewise.
16921169689Skan	* config/i386/i386-interix.h: Likewise.
16922169689Skan	* config/mips/mips.h: Likewise.
16923169689Skan
16924169689Skan2003-06-28  Neil Booth  <neil@daikokuya.co.uk>
16925169689Skan
16926169689Skan	* config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Predicate
16927169689Skan	__mc68020__ on TARGET_68020.
16928169689Skan
16929169689Skan2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
16930169689Skan
16931169689Skan	* config/h8300/h8300.c: Fix a comment typo.
16932169689Skan
16933169689Skan2003-06-28  Nathan Sidwell  <nathan@codesourcery.com>
16934169689Skan
16935169689Skan	* c-parse.in (yylexstring): Use a location_t.
16936169689Skan
16937169689Skan	* diagnostic.h (diagnostic_set_info): Replace file and lineno
16938169689Skan	parameters with a location_t.
16939169689Skan	* diagnostic.c (diagnostic_set_info): Replace file and lineno
16940169689Skan	parameters with a location_t.
16941169689Skan	(inform, warning, pedwarn, error, sorry, fatal_error,
16942169689Skan	internal_error, warning_with_decl, pedwarn_with_decl,
16943169689Skan	error_with_decl): Adjust.
16944169689Skan	* c-error.c (pedwarn_c99): Adjust.
16945169689Skan	* c-format.c (status_warning): Adjust.
16946169689Skan	* rtl-error.c (file_and_line_for_asm): Rename to ...
16947169689Skan	(location_for_asm): Return a location_t.
16948169689Skan	(diagnostic_for_asm): Adjust.
16949169689Skan
16950169689Skan2003-06-28  Neil Booth  <neil@daikokuya.co.uk>
16951169689Skan
16952169689Skan	* cpptrad.c (skip_macro_block_comment): New.
16953169689Skan	(copy_comment): Use it if appropriate.
16954169689Skan
16955169689Skan2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
16956169689Skan
16957169689Skan	* gcse.c (compute_ld_motion_mems): Use INSN_P instead of its
16958169689Skan	definition.
16959169689Skan	(store_killed_in_insn): Likewise.
16960169689Skan	* print-rtl.c (print_rtx): Likewise.
16961169689Skan	* config/frv/frv.c (frv_final_prescan_insn): Likewise.
16962169689Skan	* config/m68hc11/m68hc11.c (dead_register_here): Likewise.
16963169689Skan	(m68hc11_reassign_regs): Likewise.
16964169689Skan	(m68hc11_reorg): Likewise.
16965169689Skan
16966169689Skan2003-06-28  Gabriel Dos Reis <gdr@integrable-solutions.net>
16967169689Skan
16968169689Skan	* diagnostic.c (output_integer_with_precision): New macro.
16969169689Skan	(output_format): Use it.  Handle more format specifiers.
16970169689Skan	(output_long_decimal): Remove.
16971169689Skan	(output_unsigned_decimal): Likewise.
16972169689Skan	(output_long_unsigned_decimal): Likewise.
16973169689Skan	(output_octal): Likewise.
16974169689Skan	(output_long_octal): Likewise.
16975169689Skan	(output_hexadecimal): Likewise.
16976169689Skan	(output_long_hexadecimal): Likewise.
16977169689Skan	(output_long_long_decimal): Likewise.
16978169689Skan
16979169689Skan2003-06-28  Andreas Schwab  <schwab@suse.de>
16980169689Skan
16981169689Skan	* config/ia64/ia64.md: Follow recent emit_note API change.
16982169689Skan
16983169689Skan2003-06-28  Nathan Sidwell  <nathan@codesourcery.com>
16984169689Skan
16985169689Skan	* c-parse.in (%union): Replace filename & lineno with location.
16986169689Skan	(save_filename, save_lineno): Remove.
16987169689Skan	(save_location): New.
16988169689Skan	(fndef, old_style_parm_decls_1, lineno_datadecl, lineno_decl,
16989169689Skan	nested_function, notype_nested_function, if_prefix, lineno_stmt,
16990169689Skan	lineno_label, label): Adjust.
16991169689Skan
16992169689Skan2003-06-28  Jakub Jelinek  <jakub@redhat.com>
16993169689Skan
16994169689Skan	* builtins.c (c_strlen): Add only_value argument.
16995169689Skan	Handle COND_EXPR and COMPOUND_EXPR.
16996169689Skan	(expand_builtin_strlen): Optimize also strlen (i++ ? "foo" : "bar").
16997169689Skan	Adjust c_strlen callers.
16998169689Skan	(expand_builtin_strcpy, expand_builtin_strncpy,
16999169689Skan	expand_builtin_strcmp, expand_builtin_strncmp,
17000169689Skan	expand_builtin_fputs, expand_builtin_sprintf,
17001169689Skan	fold_builtin): Adjust c_strlen callers.
17002169689Skan
17003169689Skan2003-06-28  Josef Zlomek  <zlomekj@suse.cz>
17004169689Skan
17005169689Skan	* bb-reorder.c (find_traces_1_round): Do not send basic block
17006169689Skan	to next round when we are in the last round.
17007169689Skan
17008169689Skan2003-06-28  Neil Booth  <neil@daikokuya.co.uk>
17009169689Skan
17010169689Skan	* Makefile.in: Update.
17011169689Skan	* opts.c: Include tm_p.h.
17012169689Skan	(handle_options): Make static.
17013169689Skan	(decode_options): Copied from toplev.c.
17014169689Skan	* opts.h (decode_options): New.
17015169689Skan	* toplev.c (parse_options_and_default_flags): Move most to opts.c,
17016169689Skan	some to...
17017169689Skan	(general_init): ...here.
17018169689Skan	(toplev_main): Use decode_options instead.
17019169689Skan	* toplev.h (save_argc, save_argv): New.
17020169689Skan
17021169689Skan2003-06-28  Kazu Hirata  <kazu@cs.umass.edu>
17022169689Skan
17023169689Skan	* explow.c (find_next_ref): Remove.
17024169689Skan	* rtl.h: Remove the prototype for find_next_ref.
17025169689Skan
17026169689Skan2003-06-27  Roger Sayle  <roger@eyesopen.com>
17027169689Skan
17028169689Skan	* config/alpha/alpha.md (anonymous define_split): Adjust emit_note
17029169689Skan	call to match recent API change.
17030169689Skan
17031169689Skan2003-06-27  Zack Weinberg  <zack@codesourcery.com>
17032169689Skan
17033169689Skan	* dbxout.c (flag_debug_only_used_symbols): Delete redundant
17034169689Skan	declaration.
17035169689Skan
17036169689Skan	* c-format.c (check_format_string, get_constant)
17037169689Skan	* cfgrtl.c (rtl_split_edge):
17038169689Skan	Mark the definition static, matching the forward declaration.
17039169689Skan
17040169689Skan2003-06-27  Gunther Nikl <gni@gecko.de>
17041169689Skan
17042169689Skan	* unwind-c.c (PERSONALITY_FUNCTION): Delete duplicate define.
17043169689Skan
17044169689Skan	PR target/11014
17045169689Skan	* config/m68k/m68k.c (m68k_output_mi_thunk): Use correct assembly
17046169689Skan	syntax for MIT / MOTOROLA.
17047169689Skan
17048169689Skan	PR other/10240
17049169689Skan	* configure.in: Removed $(XCFLAGS) from BUILD_CFLAGS for build != host.
17050169689Skan	* configure: Rebuilt.
17051169689Skan
17052169689Skan2003-06-27  Chris Demetriou  <cgd@broadcom.com>
17053169689Skan
17054169689Skan	* config/mips/mips.c (mips_build_va_list): Make padding in
17055169689Skan	va_list structure explicit to avoid -Wpadded warnings.
17056169689Skan
17057169689Skan2003-06-27  Ulrich Weigand  <uweigand@de.ibm.com>
17058169689Skan
17059169689Skan	* config/s390/s390.h (SECONDARY_OUTPUT_RELOAD_CLASS): Define.
17060169689Skan	* config/s390/s390.c (s390_secondary_output_reload_class): New function.
17061169689Skan	* config/s390/s390-protos.h (s390_secondary_output_reload_class):
17062169689Skan	Declare it.
17063169689Skan	* config/s390/s390.md ("reload_outti", "reload_outdi",
17064169689Skan	"reload_outdf"): New expanders.
17065169689Skan
17066169689Skan	* config/s390/s390.md ("movti" + splitters): Handle non-offsettable
17067169689Skan	memory operands as source.
17068169689Skan	("movdi" + splitters): Likewise.
17069169689Skan	("movdf" + splitters): Likewise.
17070169689Skan	* config/s390/s390.c (s390_split_ok_p): New function.
17071169689Skan	* config/s390/s390-protos.h (s390_split_ok_p): Declare it.
17072169689Skan
17073169689Skan2003-06-27  Kazu Hirata  <kazu@cs.umass.edu>
17074169689Skan
17075169689Skan	* combine.c (force_to_mode): Replace the equality comparison
17076169689Skan	of INTVALs with a pointer equality comparison.
17077169689Skan	(simplify_comparison): Likewise.
17078169689Skan
17079169689Skan2003-06-27  Kazu Hirata  <kazu@cs.umass.edu>
17080169689Skan
17081169689Skan	* jump.c (rtx_renumbered_equal_p): Replace an expression that
17082169689Skan	is known to be 0 with 0.
17083169689Skan
17084169689Skan2003-06-27  Kazu Hirata  <kazu@cs.umass.edu>
17085169689Skan
17086169689Skan	* gcse.c (expr_equiv_p): Replace expressions that are known to
17087169689Skan	be 0 with 0.
17088169689Skan
17089169689Skan2003-06-27  Kazu Hirata  <kazu@cs.umass.edu>
17090169689Skan
17091169689Skan	* cse.c (fold_rtx): Replace the equality comparison of INTVALs
17092169689Skan	with a pointer equality comparison.
17093169689Skan
17094169689Skan2003-06-27  Kazu Hirata  <kazu@cs.umass.edu>
17095169689Skan
17096169689Skan	* rtlanal.c (reg_mentioned_p): Return 0 earlier if REG and IN
17097169689Skan	are known to be not equivalent.
17098169689Skan
17099169689Skan2003-06-27  Richard Henderson  <rth@redhat.com>
17100169689Skan
17101169689Skan	* config/alpha/alpha.c (function_arg): Don't pass small aggregates
17102169689Skan	in floating point registers.  Validate that we don't receive complex
17103169689Skan	values here.  Use #elif.
17104169689Skan	(return_in_memory, function_value): New.
17105169689Skan	(alpha_va_arg): Handle complex values as two arguments.
17106169689Skan	* config/alpha/alpha.h (RETURN_IN_MEMORY): Use return_in_memory.
17107169689Skan	(FUNCTION_VALUE, LIBCALL_VALUE): Use function_value.
17108169689Skan	(SPLIT_COMPLEX_ARGS): New.
17109169689Skan	* config/alpha/alpha-protos.h: Update.
17110169689Skan
17111169689Skan2003-06-27  Ulrich Weigand  <uweigand@de.ibm.com>
17112169689Skan
17113169689Skan	* ggc-page.c (inverse_table): Change type of mult to size_t.
17114169689Skan	(compute_inverse): Compute inverse using size_t, not unsigned int.
17115169689Skan	Compute inverse also for sizes larger than half a machine page.
17116169689Skan
17117169689SkanFri Jun 27 18:36:12 CEST 2003  Jan Hubicka  <jh@suse.cz>
17118169689Skan
17119169689Skan	* toplev.c (rest_of_decl_compilation):  Only varpoolize argument
17120169689Skan	when called before cgraph_optimize.
17121169689Skan
17122169689Skan2003-06-27  Zack Weinberg  <zack@codesourcery.com>
17123169689Skan
17124169689Skan	* config/darwin.h, config/elfos.h, config/i960/i960-coff.h
17125169689Skan	* config/m68k/coff.h: ASM_FILE_START_FILE_DIRECTIVE should
17126169689Skan	be TARGET_ASM_FILE_START_FILE_DIRECTIVE.
17127169689Skan
17128169689SkanFri Jun 27 17:41:16 CEST 2003  Jan Hubicka  <jh@suse.cz>
17129169689Skan
17130169689Skan	* cgraph.c (cgraph_node, cgraph_varpool_node): Avoid re-initializing
17131169689Skan	of known_decls.
17132169689Skan
17133169689Skan2003-06-27  Hans-Peter Nilsson  <hp@axis.com>
17134169689Skan
17135169689Skan	* defaults.h (REGISTER_MOVE_COST): Define default here.
17136169689Skan	* regclass.c: Don't define default REGISTER_MOVE_COST here.
17137169689Skan	* reload.c, reload1.c: Ditto.
17138169689Skan
17139169689Skan2003-06-27  Richard Earnshaw <rearnsha@arm.com>
17140169689Skan
17141169689Skan	* flags.h: Really install previous change.
17142169689Skan
17143169689Skan2003-06-27  Nathan Sidwell  <nathan@codesourcery.com>
17144169689Skan
17145169689Skan	* rtl.h (emit_note): Remove FILE parameter.
17146169689Skan	* emit-rtl.c (emit_line_note): Adjust emit_note call.
17147169689Skan	(emit_note): Remove FILE parameter. Adjust.
17148169689Skan	* builtins.c (expand_builtin_expect): Adjust emit_note call.
17149169689Skan	* c-semantics.c (genrtl_scope_stmt): Likewise.
17150169689Skan	(expand_stmt): Likewise.
17151169689Skan	* cfglayout.c (reemit_insn_block_notes): Likewise.
17152169689Skan	(duplicate_insn_chain): Likewise.
17153169689Skan	* except.c (expand_eh_region_start, expand_eh_region_end,
17154169689Skan	sjlj_emit_function_enter): Likewise.
17155169689Skan	* explow.c (probe_stack_range): Likewise.
17156169689Skan	* expr.c (emit_block_move_via_loop): Likewise.
17157169689Skan	* function.c (init_function_start, expand_function_start,
17158169689Skan	expand_function_end, thread_prologue_and_epilogue_insns): Likewise.
17159169689Skan	* integrate.c (expand_inline_function, copy_insn_list): Likewise.
17160169689Skan	* reg-stack.c (compensate_edge): Likewise.
17161169689Skan	* reload1.c (reload): Likewise.
17162169689Skan	* rtlanal.c (hoist_insn_to_edge): Likewise.
17163169689Skan	* stmt.c (expand_fixup, expand_start_loop, expand_start_null_loop,
17164169689Skan	expand_loop_continue_here, expand_end_loop, expand_continue_loop,
17165169689Skan	expand_exit_loop_top_cond, expand_value_return,
17166169689Skan	expand_start_bindings_and_block, expand_end_bindings,
17167169689Skan	expand_decl_cleanup, expand_start_case): Likewise.
17168169689Skan	* unroll.c (copy_loop_body
17169169689Skan	* config/alpha/alpha.c (alpha_output_mi_thunk_osf): Likewise.
17170169689Skan	* config/ia64/ia64.c (ia64_output_mi_thunk): Likewise.
17171169689Skan	* config/rs6000/rs6000.c (rs6000_emit_eh_toc_restore,
17172169689Skan	rs6000_emit_allocate_stack, rs6000_output_function_prologue,
17173169689Skan	rs6000_output_function_epilogue, rs6000_output_mi_thunk): Likewise.
17174169689Skan	* config/sh/sh.c (sh_output_mi_thunk): Likewise.
17175169689Skan	* config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.
17176169689Skan
17177169689Skan2003-06-27  Nathan Sidwell  <nathan@codesourcery.com>
17178169689Skan
17179169689Skan	* c-tree.h (grokfield): Remove unused filename and line parameters.
17180169689Skan	* c-decl.c (grokfield): Remove unused filename and line	parameters.
17181169689Skan	* c-parse.in (component_decl): Adjust field grokking rules, adjust
17182169689Skan	grokfield calls.
17183169689Skan	(component_declarator): Likewise.
17184169689Skan	(component_notype_declarator): Likewise.
17185169689Skan	* objc/objc-act.c (build_module_descriptor): Adjust grokfield
17186169689Skan	calls.
17187169689Skan	(build_protocol_template, build_method_prototype_list_template,
17188169689Skan	build_method_prototype_template, build_category_template,
17189169689Skan	build_selector_template, build_class_template,
17190169689Skan	build_super_template, build_ivar_template,
17191169689Skan	build_ivar_list_template, build_method_list_template,
17192169689Skan	build_method_template, add_instance_variable): Likewise.
17193169689Skan
17194169689Skan2003-06-27  Kazu Hirata  <kazu@cs.umass.edu>
17195169689Skan
17196169689Skan	* stmt.c (do_jump_if_equal): Return 0 earlier if OP1 and
17197169689Skan	OP2 are known to be not equivalent.
17198169689Skan
17199169689Skan2003-06-26  Devang Patel <dpatel@apple.com>
17200169689Skan
17201169689Skan	* final.c (debug_flush_symbol_queue): New function.
17202169689Skan	(debug_queue_symbol): New function.
17203169689Skan	(debug_free_queue): New function.
17204169689Skan	(debug_nesting): New variable.
17205169689Skan	(symbol_queue): New variable.
17206169689Skan	(symbol_queue_index): Same.
17207169689Skan	(symbol_queue_size): Same.
17208169689Skan	* debug.h (debug_flush_symbol_queue): New.
17209169689Skan	(debug_queue_symbol): New.
17210169689Skan	(debug_free_queue): New.
17211169689Skan	(debug_nesting): New.
17212169689Skan	(symbol_queue_index): New.
17213169689Skan	* dbxout.c (DBXOUT_DECR_NESTING): New macro.
17214169689Skan	(DBXOUT_DECR_NESTING_AND_RETURN): New macro.
17215169689Skan	(dbxout_init): Delay symbol output.
17216169689Skan	(dbxout_global_decl): Save, set and reset TREE_USED bit around
17217169689Skan	dbxout_symbol() call.
17218169689Skan	(dbxout_begin_function): Same.
17219169689Skan	(dbxout_finish): Free symbol queue.
17220169689Skan	(dbxout_type): Put appropriate symbols in queue.
17221169689Skan	(dbxout_symbol): Put info for symbol's type in queue.
17222169689Skan	Decrement/Increment nesting counts flush symbol queue appropriately.
17223169689Skan	(dbxout_parms): Increment dbxout nesting.
17224169689Skan	(dbxout_reg_parms): Same.
17225169689Skan	* flags.h (flag_debug_only_used_symbols): New.
17226169689Skan	* toplev.c (flag_debug_only_used_symbols): New variable.
17227169689Skan	(lang_independent_options): Add entries for new option
17228169689Skan	-feliminate-unused-debug-symbols.
17229169689Skan	* common.opt: Add entry for -feliminate-unused-debug-symbols.
17230169689Skan	* opts.c (common_handle_options): Same.
17231169689Skan	* config/rs6000/darwin.h (CC1_SPEC): Interpret -gused as
17232169689Skan	-feliminate-unused-debug-symbols.
17233169689Skan	* doc/invoke.texi (Debugging Options): Document
17234169689Skan	-feliminate-unused-debug-symbols.
17235169689Skan
17236169689Skan2003-06-26  Roger Sayle  <roger@eyesopen.com>
17237169689Skan	    Jakub Jelinek  <jakub@redhat.com>
17238169689Skan
17239169689Skan	* builtins.c (expand_builtin_sprintf): Use c_getstr and strlen to
17240169689Skan	obtain the format string instead of using TREE_STRING_POINTER and
17241169689Skan	TREE_STRING_LENGTH.  Only optimize sprintf(dst,"%s",src) when the
17242169689Skan	return value is unused or the length of src is a known constant.
17243169689Skan
17244169689Skan2003-06-26  Richard Henderson  <rth@redhat.com>
17245169689Skan
17246169689Skan	* config/ia64/ia64.h (REGISTER_NAMES): R0 is really AP.
17247169689Skan
17248169689Skan2003-06-26  Richard Henderson  <rth@redhat.com>
17249169689Skan
17250169689Skan	* config/ia64/ia64.c (ia64_expand_call): Don't add ar.pfs for sibcalls.
17251169689Skan	(ia64_split_call): Only load descriptor for GP register inputs.
17252169689Skan	(ia64_expand_epilogue): Check current_frame_info.mask not
17253169689Skan	current_function_is_leaf to restore ar.pfs.
17254169689Skan
17255169689Skan2003-06-26  Richard Henderson  <rth@redhat.com>
17256169689Skan
17257169689Skan	* emit-rtl.c (try_split): Append to new CALL_INSN_FUNCTION_USAGE
17258169689Skan	instead of replacing it.
17259169689Skan
17260169689Skan2003-06-26  Richard Henderson  <rth@redhat.com>
17261169689Skan
17262169689Skan	* flow.c (propagate_one_insn): Kill function return value
17263169689Skan	registers across tail calls.
17264169689Skan
17265169689Skan	* flow.c (propagate_one_insn): Preserve live-at-end registers
17266169689Skan	across tail calls.
17267169689Skan
17268169689Skan2003-06-26  J"orn Rennecke <joern.rennecke@superh.com>
17269169689Skan
17270169689Skan	* reload.c (can_reload_into): New function.
17271169689Skan	(push_reload): Use it.
17272169689Skan
17273169689Skan2003-06-26  Kazu Hirata  <kazu@cs.umass.edu>
17274169689Skan
17275169689Skan	* config/h8300/h8300.c (compute_a_rotate_length): Fix the
17276169689Skan	references to the amount of a rotation.
17277169689Skan
17278169689Skan2003-06-26  Nathanael Nerode  <neroden@gcc.gnu.org>
17279169689Skan
17280169689Skan	* config/sh/coff.h: Don't include dbxcoff.h.
17281169689Skan	* config.gcc: List it here.
17282169689Skan
17283169689Skan2003-06-26  Kazu Hirata  <kazu@cs.umass.edu>
17284169689Skan
17285169689Skan	* postreload.c (reload_cse_simplify_set): Call cselib_lookup
17286169689Skan	earlier.  Don't check if SRC is a constant.
17287169689Skan
17288169689Skan2003-06-26  Kazu Hirata  <kazu@cs.umass.edu>
17289169689Skan
17290169689Skan	* Makefile.in (OBJS): Add postreload.o.
17291169689Skan	Remove cselib.h from the dependency list for reload1.o.
17292169689Skan	Add a dependency list for postreload.o.
17293169689Skan	* reload.h: Change the comment for the prototype of
17294169689Skan	reload_cse_regs.
17295169689Skan	* reload1.c: Don't include cselib.h.
17296169689Skan	(reload_cse_regs): Move to postreload.c
17297169689Skan	(reload_cse_regs_1): Likewise.
17298169689Skan	(reload_cse_noop_set_p): Likewise.
17299169689Skan	(reload_cse_simplify_set): Likewise.
17300169689Skan	(reload_cse_simplify_operands): Likewise.
17301169689Skan	(RELOAD_COMBINE_MAX_USES): Likewise.
17302169689Skan	(reload_combine_ruid): Likewise.
17303169689Skan	(LABEL_LIVE): Likewise.
17304169689Skan	(reload_combine): Likewise.
17305169689Skan	(reload_combine_note_use): Likewise.
17306169689Skan	(reload_combine_note_store): Likewise.
17307169689Skan	(reg_set_luid): Likewise.
17308169689Skan	(reg_offset): Likewise.
17309169689Skan	(reg_base_reg): Likewise.
17310169689Skan	(reg_mode): Likewise.
17311169689Skan	(move2add_luid): Likewise.
17312169689Skan	(move2add_last_label_luid): Likewise.
17313169689Skan	(MODES_OK_FOR_MOVE2ADD): Likewise.
17314169689Skan	(reload_cse_move2add): Likewise.
17315169689Skan	(move2add_note_store): Likewise.
17316169689Skan	(reload_cse_simplify): Likewise.
17317169689Skan	* postreload.c: New.
17318169689Skan
17319169689Skan2003-06-26  Kazu Hirata  <kazu@cs.umass.edu>
17320169689Skan
17321169689Skan	* config/avr/avr.c (final_prescan_insn): Remove support for
17322169689Skan	-mrtl.
17323169689Skan	* config/avr/avr.h (MASK_RTL_DUMP): Remove.
17324169689Skan	(TARGET_RTL_DUMP): Likewise.
17325169689Skan	(TARGET_SWITCHES): Remove -mrtl.
17326169689Skan
17327169689Skan2003-06-26  Kazu Hirata  <kazu@cs.umass.edu>
17328169689Skan
17329169689Skan	* config/h8300/h8300-protos.h: Change emit_a_rotate to
17330169689Skan	output_a_rotate.  Add a prototype for compute_a_rotate_length.
17331169689Skan	* config/h8300/h8300.c (emit_a_rotate): Change to
17332169689Skan	output_a_rotate.
17333169689Skan	(compute_a_rotate_length): New.
17334169689Skan	(h8300_adjust_insn_length): Remove.
17335169689Skan	* config/h8300/h8300.h (ADJUST_INSN_LENGTH): Remove.
17336169689Skan	* config/h8300/h8300.md (adjust_length): Remove.
17337169689Skan	(*rotlqi3_1): Use output_a_rotate and compute_a_rotate_length.
17338169689Skan	(*rotlhi3_1): Likewise.
17339169689Skan	(*rotlsi3_1): Likewise.
17340169689Skan
17341169689Skan2003-06-26  Roger Sayle  <roger@eyesopen.com>
17342169689Skan	    Richard Henderson  <rth@redhat.com>
17343169689Skan
17344169689Skan	* builtins.c (expand_builtin_mathfn): Always stabilize the argument
17345169689Skan	list against re-evaluation.  If expand_unop fails, call expand_call
17346169689Skan	with the stabilized argument list rather than return NULL_RTX.
17347169689Skan	(expand_builtin_mathfn2): Likewise, always stabilize the argument
17348169689Skan	list, and call expand_call ourselves if expand_binop fails.
17349169689Skan
17350169689Skan2003-06-26  Eric Botcazou  <ebotcazou@libertysurf.fr>
17351169689Skan
17352169689Skan	PR optimization/11210
17353169689Skan	* fold-const (decode_field_reference): Strip only NOPs that
17354169689Skan	don't affect the sign.
17355169689Skan
17356169689Skan2003-06-26  Dhananjay Deshpande  <dhananjayd@kpitcummins.com>
17357169689Skan
17358169689Skan	* gcc/config/sh/sh.md (push_fpscr): Enable for TARGET_SH2E.
17359169689Skan	(pop_fpscr, fpu_switch): Likewise.
17360169689Skan
17361169689Skan2003-06-26  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
17362169689Skan
17363169689Skan	* value-prof.c: New.
17364169689Skan	* value-prof.h: New.
17365169689Skan	* Makefile.in (value-prof.o): New.
17366169689Skan	(LIBGCOV): Add _gcov_merge_single and _gcov_merge_delta
17367169689Skan	(profile.o): Add value-prof.h and tree.h dependency.
17368169689Skan	* flags.h (flag_profile_values): Declare.
17369169689Skan	* gcov-io.h (GCOV_COUNTERS, GCOV_COUNTER_NAMES, GCOV_MERGE_FUNCTIONS):
17370169689Skan	Add new counters.
17371169689Skan	(GCOV_COUNTER_V_INTERVAL, GCOV_COUNTER_V_POW2, GCOV_COUNTER_V_SINGLE,
17372169689Skan	GCOV_COUNTER_V_DELTA): New counter sections.
17373169689Skan	(__gcov_merge_single, __gcov_merge_delta): Declare.
17374169689Skan	* flow.c (mark_used_regs): Set subregs_of_mode only when the
17375169689Skan	structure is initialized.
17376169689Skan	* libgcov.c (__gcov_merge_single, __gcov_merge_delta): New functions.
17377169689Skan	* profile.c: Include value-prof.h and tree.h.
17378169689Skan	(gen_interval_profiler, gen_pow2_profiler, gen_one_value_profiler,
17379169689Skan	gen_const_delta_profiler, instrument_values): New static functions.
17380169689Skan	(get_exec_counts): Fix comment.
17381169689Skan	(branch_prob): Invoke instrument_values.
17382169689Skan	* toplev.c (flag_profile_values): New flag.
17383169689Skan	* doc/invoke.texi (-fprofile-values): Document.
17384169689Skan
17385169689Skan2003-06-26  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
17386169689Skan
17387169689Skan	* Makefile.in (cfgrtl.o): Add expr.h dependency.
17388169689Skan	* cfgrtl.c: Include expr.h.
17389169689Skan	(mark_killed_regs, safe_insert_insn_on_edge): New
17390169689Skan	functions.
17391169689Skan	* config/i386/i386.h (AVOID_CCMODE_COPIES): Define.
17392169689Skan	* basic-block.h (safe_insert_insn_on_edge): Declare.
17393169689Skan
17394169689Skan2003-06-26  Neil Booth  <neil@daikokuya.co.uk>
17395169689Skan
17396169689Skan	* c-opts.c (missing_arg): Make non-static.
17397169689Skan	(c_common_handle_option): Don't check for missing arguments.
17398169689Skan	* opts.c (handle_option): Check for missing arguments.
17399169689Skan
17400169689Skan2003-06-26  David Edelsohn  <edelsohn@gnu.org>
17401169689Skan
17402169689Skan	* config/rs6000/power4.md (power4-veccomplex): Correct latency.
17403169689Skan
17404169689Skan2003-06-25  Loren James Rittle  <ljrittle@acm.org>
17405169689Skan
17406169689Skan	* configure.in (ld_vers): Portability [sed].
17407169689Skan	* configure: Regenerate with autoconf213.
17408169689Skan
17409169689Skan2003-06-25  H.J. Lu <hongjiu.lu@intel.com>
17410169689Skan
17411169689Skan	* doc/extend.texi: Document new builtin functions for Intel
17412169689Skan	Prescott New Intrunctions.
17413169689Skan
17414169689Skan	* doc/invoke.texi: Document new command-line options, -mpni and
17415169689Skan	-mno-pni, for Intel Prescott New Intrunctions.
17416169689Skan
17417169689Skan	* config.gcc (extra_headers): Add pmmintrin.h for i[34567]86-*-*.
17418169689Skan
17419169689Skan	* config/i386/i386.c (override_options): Turn on MASK_SSE2
17420169689Skan	for -mpni. Turn on MASK_SSE for -msse2.
17421169689Skan	(bdesc_2arg): Add PNI builtins with 2 args.
17422169689Skan	(bdesc_1arg): Add PNI builtins with 1 arg.
17423169689Skan	(ix86_init_mmx_sse_builtins): Handle PNI builtins.
17424169689Skan	(ix86_expand_builtin): Likewise.
17425169689Skan
17426169689Skan	* config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A,
17427169689Skan	MASK_128BIT_LONG_DOUBLE, MASK_64BIT, MASK_MS_BITFIELD_LAYOUT,
17428169689Skan	MASK_TLS_DIRECT_SEG_REFS): Renumbered.
17429169689Skan	(TARGET_PNI): New.
17430169689Skan	(TARGET_SWITCHES): Don't enable MASK_SSE for -msse2 here. Add
17431169689Skan	-mpni and -mno-pni.
17432169689Skan	(TARGET_CPU_CPP_BUILTINS): Defined __PNI__ for PNI.
17433169689Skan	(ix86_builtins): Add PNI builtins.
17434169689Skan	(config/i386/i386.md): Add PNI patterns.
17435169689Skan
17436169689Skan	* config/i386/pmmintrin.h: New file.
17437169689Skan
17438169689Skan2003-06-25  Kazu Hirata  <kazu@cs.umass.edu>
17439169689Skan
17440169689Skan	* config/h8300/h8300.md (call): Fix the insn lengths.
17441169689Skan	(call_value): Likewise.
17442169689Skan
17443169689SkanThu Jun 26 00:13:35 CEST 2003  Jan Hubicka  <jh@suse.cz>
17444169689Skan
17445169689Skan	* c-common.c (handle_used_attribute): Use mark_referenced.
17446169689Skan	* varasm.c (mark_referenced): Break out from ...
17447169689Skan	(assemble_name): ... here.
17448169689Skan	* tree.h (mark_referenced): Declare.
17449169689Skan
17450169689Skan2003-06-25  Wolfgang Bangerth  <bangerth@dealii.org>
17451169689Skan
17452169689Skan	* gccbug.in: Add PCH to list of categories.
17453169689Skan
17454169689Skan2003-06-25 Martin Schaffner <schaffner@gmx.li>
17455169689Skan
17456169689Skan	* cppfiles.c: Clarify comments.
17457169689Skan	* cpphash.h: Likewise.
17458169689Skan	* cpplib.h: Likewise.
17459169689Skan	* cppmacro.c: Likewise.
17460169689Skan	* mkdeps.h: Likewise.
17461169689Skan
17462169689Skan2003-06-25  Neil Booth  <neil@daikokuya.co.uk>
17463169689Skan
17464169689Skan	* c-opts.c (complain_wrong_lang, write_langs): Remove.
17465169689Skan	(c_common_handle_option): Complaints about wrong language are
17466169689Skan	handled in opts.c now.
17467169689Skan	* opts.c (complain_wrong_lang, write_langs, handle_options): New.
17468169689Skan	(find_opt): Fix thinko.
17469169689Skan	(handle_option): Update prototype.  Complain about switches for
17470169689Skan	a different front end.
17471169689Skan	* opts.h (lang_names, handle_options): New.
17472169689Skan	(handle_option): Remove.
17473169689Skan	* opts.sh: Write out language names array.
17474169689Skan	* toplev.c (parse_options_and_default_flags): Use handle_options.
17475169689Skan
17476169689Skan2003-06-25  H.J. Lu <hongjiu.lu@intel.com>
17477169689Skan
17478169689Skan	* config/i386/i386.c (MASK_SSE1): Removed.
17479169689Skan	(MASK_SSE164): Removed.
17480169689Skan	(MASK_SSE264): Removed.
17481169689Skan	(bdesc_2arg): Replace MASK_SSE1 with MASK_SSE. Replace
17482169689Skan	MASK_SSE164 with MASK_SSE | MASK_64BIT. Replace MASK_SSE264
17483169689Skan	with MASK_SSE2 | MASK_64BIT.
17484169689Skan	(bdesc_1arg): Likewise.
17485169689Skan	(ix86_init_mmx_sse_builtins): Likewise.
17486169689Skan
17487169689Skan	* config/i386/i386.h (TARGET_SSE): Remove MASK_SSE2.
17488169689Skan	(TARGET_SWITCHES): Enable both MASK_SSE and MASK_SSE2 for
17489169689Skan	-msse2.
17490169689Skan
17491169689Skan2003-06-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17492169689Skan
17493169689Skan	* hwint.h (HOST_WIDE_INT_PRINT, HOST_WIDE_INT_PRINT_C): New macros.
17494169689Skan	(HOST_WIDE_INT_PRINT_DEC_SPACE,
17495169689Skan	HOST_WIDE_INT_PRINT_UNSIGNED_SPACE,
17496169689Skan	HOST_WIDEST_INT_PRINT_DEC_SPACE,
17497169689Skan	HOST_WIDEST_INT_PRINT_UNSIGNED_SPACE): Delete.
17498169689Skan	(HOST_WIDE_INT_PRINT_DEC, HOST_WIDE_INT_PRINT_DEC_C,
17499169689Skan	HOST_WIDE_INT_PRINT_UNSIGNED, HOST_WIDE_INT_PRINT_HEX): Define in
17500169689Skan	terms of HOST_WIDE_INT_PRINT and possibly HOST_WIDE_INT_PRINT_C.
17501169689Skan
17502169689Skan	* final.c (asm_fprintf): Use HOST_WIDE_INT_PRINT.
17503169689Skan	* ra-debug.c (dump_static_insn_cost): Likewise.
17504169689Skan
17505169689Skan2003-06-26  Nick Clifton  <nickc@redhat.com>
17506169689Skan
17507169689Skan	* config/arm/arm.h (BIGGEST_FIELD_ALIGNMENT): Define instead
17508169689Skan	of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.
17509169689Skan	Replace occurances of '???' with 'XXX' incase they are
17510169689Skan	mistaken for trigraphs.
17511169689Skan	(THUMB_PRINT_OPERAND_ADDRESS): abort if a compound address
17512169689Skan	does not have a register for the first operand.
17513169689Skan
17514169689Skan2003-06-25	Dhananjay Deshpande <dhananjayd@kpitcummins.com>
17515169689Skan
17516169689Skan	* config/sh/sh.c (sh_register_move_cost):
17517169689Skan	Add case for moving between MAC_REGS.
17518169689Skan
17519169689Skan2003-06-25  Zack Weinberg  <zack@codesourcery.com>
17520169689Skan
17521169689Skan	PR 10178
17522169689Skan	* langhooks.h (struct lang_hooks): Add no_body_blocks bool.
17523169689Skan	* langhooks-def.h (LANG_HOOKS_NO_BODY_BLOCKS): New; default false.
17524169689Skan	* c-lang.c, objc/objc-lang.c: Override LANG_HOOKS_NO_BODY_BLOCKS
17525169689Skan	to true.
17526169689Skan	* stmt.c (is_body_block): If lang_hooks.no_body_blocks, always
17527169689Skan	return 0.
17528169689Skan
17529169689Skan2003-06-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
17530169689Skan
17531169689Skan	* Makefile.in (bt-load.o): Depend on $(TM_P_H).
17532169689Skan	* bt-load.c: Include "tm_p.h".
17533169689Skan
17534169689Skan2003-06-25  Kazu Hirata  <kazu@cs.umass.edu>
17535169689Skan
17536169689Skan	* config/h8300/h8300.c (compute_mov_length): Adjust for the
17537169689Skan	new optimization.
17538169689Skan	* config/h8300/h8300.md (*movsi_h8300): Optimize the load of
17539169689Skan	an SImode constant whose upper and lower are the same.
17540169689Skan
17541169689SkanWed Jun 25 11:31:59 CEST 2003  Jan Hubicka  <jh@suse.cz>
17542169689Skan
17543169689Skan	* varasm.c (assemble_name): Mark needed variables even when
17544169689Skan	global info is ready.
17545169689Skan
17546169689Skan2003-06-24  Jerry Quinn  <jlquinn@optonline.net>
17547169689Skan
17548169689Skan	PR other/11280
17549169689Skan	* gcc/doc/invoke.texi (Optimization Options): Remove -Os from
17550169689Skan	-freorder-functions description.
17551169689Skan
17552169689Skan2003-06-25  Josef Zlomek  <zlomekj@suse.cz>
17553169689Skan
17554169689Skan	* dwarf2out.c (gen_field_die): Return if type of decl is error mark.
17555169689Skan
17556169689Skan2003-06-25  Neil Booth  <neil@daikokuya.co.uk>
17557169689Skan
17558169689Skan	* opts.c (common_handle_option): Add missing break;s.
17559169689Skan
17560169689Skan2003-06-24  Kazu Hirata  <kazu@cs.umass.edu>
17561169689Skan
17562169689Skan	* config/h8300/h8300-protos.h: Add a prototype for
17563169689Skan	compute_mov_length.
17564169689Skan	* config/h8300/h8300.c (compute_mov_length): New.
17565169689Skan	* config/h8300/h8300.md (*movqi_h8300): Use it.
17566169689Skan	(*movqi_h8300hs): Likewise.
17567169689Skan	(movstrictqi): Likewise.
17568169689Skan	(*movhi_h8300): Likewise.
17569169689Skan	(*movhi_h8300hs): Likewise.
17570169689Skan	(movstricthi): Likewise.
17571169689Skan	(*movsi_h8300): Likewise.
17572169689Skan	(*movsf_h8300): Likewise.
17573169689Skan	(*movsi_h8300hs): Likewise.
17574169689Skan	(*movsf_h8300hs): Likewise.
17575169689Skan
17576169689Skan2003-06-24  Kazu Hirata  <kazu@cs.umass.edu>
17577169689Skan
17578169689Skan	* jump.c (next_nondeleted_insn): Remove.
17579169689Skan	* rtl.h: Remove the prototype for next_nondeleted_insn.
17580169689Skan
17581169689Skan2003-06-24  Roger Sayle  <roger@eyesopen.com>
17582169689Skan
17583169689Skan	PR optimization/11311
17584169689Skan	* builtins.c (powi_cost): Fix typo.  The number of multiplications
17585169689Skan	required is the number to reduce the argument, result, plus the
17586169689Skan	cost of calculating the residual, val [not n, the original value].
17587169689Skan
17588169689Skan2003-06-24  Roger Sayle  <roger@eyesopen.com>
17589169689Skan
17590169689Skan	* config/alpha/osf5.h (TARGET_C99_FUNCTIONS): Define.
17591169689Skan
17592169689Skan2003-06-24  Richard Henderson  <rth@redhat.com>
17593169689Skan	    (blame to: Loren James Rittle  <ljrittle@acm.org>)
17594169689Skan
17595169689Skan	* real.h (ieee_extended_intel_96_round_53_format): New.
17596169689Skan	* real.c (ieee_extended_intel_96_round_53_format): New.
17597169689Skan	* config/i386/freebsd.h (SUBTARGET_OVERRIDE_OPTIONS): Use it
17598169689Skan	for XFmode and TFmode.
17599169689Skan
17600169689Skan2003-06-24  Kazu Hirata  <kazu@cs.umass.edu>
17601169689Skan
17602169689Skan	* config/h8300/h8300.md (4 anonymous patterns): Give internal
17603169689Skan	names.
17604169689Skan	(movsi_h8300): Change the name to *movsi_h8300.
17605169689Skan	(movsi_h8300hs): Change the name to *movsi_h8300hs.
17606169689Skan	(movsf_h8300): Change the name to *movsf_h8300.
17607169689Skan	(movsf_h8300hs): Change the name to *movsf_h8300hs.
17608169689Skan
17609169689Skan2003-06-24  Jakub Jelinek  <jakub@redhat.com>
17610169689Skan
17611169689Skan	* builtins.c (expand_builtin_strcpy): Don't evaluate side-effects in
17612169689Skan	src twice.
17613169689Skan
17614169689Skan2003-06-24  J"orn Rennecke <joern.rennecke@superh.com>
17615169689Skan
17616169689Skan	Back out these patches:
17617169689Skan	 2003-06-02  J"orn Rennecke <joern.rennecke@superh.com>
17618169689Skan	  * sh.h (OLD_ARG_MODE): New macro.
17619169689Skan	  (FUNCTION_ARG_ADVANCE, FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
17620169689Skan	  (FUNCTION_ARG_1): Break out of:
17621169689Skan	  (FUNCTION_ARG).  Use OLD_ARG_MODE.
17622169689Skan	 2003-06-06  J"orn Rennecke <joern.rennecke@superh.com>
17623169689Skan	  * sh.h (FUNCTION_ARG_1): Consistently use NEW_MODE for the mode
17624169689Skan	  of the generated register.
17625169689Skan
17626169689Skan	* sh.h (FUNCTION_ARG_SCmode_WART): Define.
17627169689Skan	(FUNCTION_ARG): Unless FUNCTION_ARG_SCmode_WART is defined and
17628169689Skan	an even number of floating point regs are in use, use the same
17629169689Skan	sequence of argument passing registers for SCmode as would be
17630169689Skan	used for two SFmode values.
17631169689Skan	* sh.c (sh_va_arg): If FUNCTION_ARG_SCmode_WART is defined,
17632169689Skan	swap real / imaginary parts in incoming SCmode values passed
17633169689Skan	in registers.
17634169689Skan
17635169689Skan2003-06-24  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
17636169689Skan
17637169689Skan	PR target/11260
17638169689Skan	* config/alpha/alpha.md (sqrtdf2): Fix operand substitution.
17639169689Skan
17640169689SkanTue Jun 24 18:49:33 CEST 2003  Jan Hubicka  <jh@suse.cz>
17641169689Skan
17642169689Skan	* Makefile.in (cgraph.o): Depend on output.h, not depend on
17643169689Skan	tree-inline.h
17644169689Skan	* cgraph.c: Do not include tree-inline.h; include output.h
17645169689Skan	(known_fns): Rename to ...
17646169689Skan	(known_decls): ... this one; update all uses.
17647169689Skan	(cgraph_varpool_hash): New static variable.
17648169689Skan	(cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): New global
17649169689Skan	variables.
17650169689Skan	(cgraph_varpool_hash_node, eq_cgraph_varpool_node, cgraph_varpool_node,
17651169689Skan	cgraph_varpool_node_for_identifier, cgraph_varpool_mark_needed_node,
17652169689Skan	cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls):
17653169689Skan	New functions.
17654169689Skan	* cgraph.h (cgraph_varpool_node): New structure.
17655169689Skan	(cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): Declare.
17656169689Skan	(cgraph_varpool_node, cgraph_varpool_node_for_identifier,
17657169689Skan	cgraph_varpool_finalize_decl, cgraph_varpool_mark_needed_node,
17658169689Skan	cgraph_varpool_asemble_pending_decls): Declare.
17659169689Skan	* cgraphunit.c (record_call_1): Notice variable references.
17660169689Skan	(cgraph_finalize_compilation_unit): Assemble pending variables.
17661169689Skan	* toplev.c (wrapup_global_declarations): Use varpool.
17662169689Skan	(compile_file): Assemble pending declarations.
17663169689Skan	(rest_of_decl_compilation): Use varpool in unit-at-a-time mode.
17664169689Skan	* varasm.c (assemble_name): Notice varpool references.
17665169689Skan
17666169689SkanTue Jun 24 13:52:11 CEST 2003  Jan Hubicka  <jh@suse.cz>
17667169689Skan
17668169689Skan	* langhooks-def.h (LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE): New macro.
17669169689Skan	* langhooks.h (lang_hooks_for_decls): Add prepare_assemble_variable.
17670169689Skan	* varasm.c (assemble_variable): Call prepare_assemble_variable.
17671169689Skan
17672169689Skan2003-06-23  Roger Sayle  <roger@eyesopen.com>
17673169689Skan
17674169689Skan	* builtins.c (expand_builtin): Use expand_builtin_pow to expand
17675169689Skan	calls for pow, powf, powl and their __builtin_ variants.
17676169689Skan	(expand_builtin_pow): If the second argument is a constant
17677169689Skan	integer and compiling with -ffast-math, use expand_powi to
17678169689Skan	generate RTL if powi_cost is less than POWI_MAX_MULTS.
17679169689Skan	(powi_cost): New function to return the number of multiplications
17680169689Skan	necessary to evaluate an Nth power, for integer constant N.
17681169689Skan	(expand_powi): New function to expand the RTL for evaluating
17682169689Skan	the Nth power of a floating point value, for integer constant N.
17683169689Skan
17684169689Skan	* doc/tm.texi (POWI_MAX_MULTS): Document new target macro.
17685169689Skan
17686169689SkanMon Jun 23 23:07:35 CEST 2003  Jan Hubicka  <jh@suse.cz>
17687169689Skan
17688169689Skan	* cgraph.c (cgraph_nodes_queue): Declare.
17689169689Skan	(eq_node): Take identifier as p2.
17690169689Skan	(cgraph_node): Update htab_find_slot_with_hash call.
17691169689Skan	(cgraph_node_for_identifier): New.
17692169689Skan	(cgraph_mark_needed_node): Move here from cgraphunit.c.
17693169689Skan	* cgraph.h (cgraph_nodes_queue): Declare.
17694169689Skan	(cgraph_node_for_identifier): Declare.
17695169689Skan	* cgraphunit.c (cgraph_finalize_function): Collect entry points here
17696169689Skan	instead of in cgraph_finalize_compilation_unit; constructors and
17697169689Skan	destructors are entry points.
17698169689Skan	(cgraph_finalize_compilation_unit): Reorganize debug outout;
17699169689Skan	examine nested functions after lowerng; call collect_functions hook.
17700169689Skan	(cgraph_mark_local_functions): DECL_COMDAT functions are not local.
17701169689Skan	(cgraph_finalize_compilation_unit): Do not collect entry points.
17702169689Skan	* varasm.c: Include cgraph.h
17703169689Skan	(assemble_name): Mark referenced identifier as needed.
17704169689Skan
17705169689Skan	* cgraphunit.c (record_call_1): Use get_callee_fndecl.
17706169689Skan
17707169689Skan2003-06-23  Jakub Jelinek  <jakub@redhat.com>
17708169689Skan
17709169689Skan	* config/i386/i386.c (x86_output_mi_thunk): Don't pass MEM to %P0,
17710169689Skan	just SYMBOL_REF.
17711169689Skan	* config/s390/s390.c (s390_output_mi_thunk): Avoid .plt in -m31
17712169689Skan	mode, as it requires pic register loaded.
17713169689Skan
17714169689Skan	* varasm.c (resolve_unique_section): Remove prototype.  No longer
17715169689Skan	static.
17716169689Skan	* tree.h (resolve_unique_section): New prototype.
17717169689Skan
17718169689Skan2003-06-23  Andreas Schwab  <schwab@suse.de>
17719169689Skan
17720169689Skan	PR debug/9905
17721169689Skan	* dwarf2out.c (loc_descriptor_from_tree): Handle MODIFY_EXPR by
17722169689Skan	recursing through first argument.
17723169689Skan
17724169689Skan2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
17725169689Skan
17726169689Skan	* ChangeLog.1: Fix a typo.
17727169689Skan	* cfgrtl.c: Fix comment typos.
17728169689Skan	* dwarf2out.c: Likewise.
17729169689Skan	* expmed.c: Likewise.
17730169689Skan	* genrecog.c: Likewise.
17731169689Skan	* jump.c: Likewise.
17732169689Skan	* rtlanal.c: Likewise.
17733169689Skan	* ssa-dce.c: Likewise.
17734169689Skan	* toplev.c: Likewise.
17735169689Skan
17736169689Skan2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
17737169689Skan
17738169689Skan	* doc/extend.texi: Fix typos.
17739169689Skan	* doc/md.texi: Likewise.
17740169689Skan	* doc/tm.texi: Likewise.
17741169689Skan
17742169689Skan2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
17743169689Skan
17744169689Skan	* basic-block.h: Fix comment formatting.
17745169689Skan	* bt-load.c: Likewise.
17746169689Skan	* builtins.c: Likewise.
17747169689Skan	* c-common.c: Likewise.
17748169689Skan	* c-common.h: Likewise.
17749169689Skan	* c-format.c: Likewise.
17750169689Skan	* coverage.c: Likewise.
17751169689Skan	* cpplib.h: Likewise.
17752169689Skan	* cpppch.c: Likewise.
17753169689Skan	* dbxout.c: Likewise.
17754169689Skan	* diagnostic.c: Likewise.
17755169689Skan	* dwarf2out.c: Likewise.
17756169689Skan	* expr.c: Likewise.
17757169689Skan	* fold-const.c: Likewise.
17758169689Skan	* function.c: Likewise.
17759169689Skan	* gcc.c: Likewise.
17760169689Skan	* gcov-io.c: Likewise.
17761169689Skan	* gcov-io.h: Likewise.
17762169689Skan	* gcov.c: Likewise.
17763169689Skan	* profile.c: Likewise.
17764169689Skan	* real.h: Likewise.
17765169689Skan	* sched-deps.c: Likewise.
17766169689Skan
17767169689Skan2003-06-23  Roger Sayle  <roger@eyesopen.com>
17768169689Skan	    Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
17769169689Skan
17770169689Skan	* doc/contrib.texi (Contributors): Add a note on testing and
17771169689Skan	remove duplicates from testers list.
17772169689Skan
17773169689Skan2003-06-23  Nick Clifton  <nickc@redhat.com>
17774169689Skan
17775169689Skan	* read-rtl.c (read_braced_string): Check for EOF.  If
17776169689Skan	encountered issue an error message.
17777169689Skan
17778169689Skan2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
17779169689Skan
17780169689Skan	* doc/invoke.texi: Document dump options, dT and dW.
17781169689Skan
17782169689Skan2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
17783169689Skan
17784169689Skan	* genrecog.c (pred_table): Remove the entry for
17785169689Skan	mode_independent_operand.
17786169689Skan	* recog.c (next_insns_test_no_inequality): Remove.
17787169689Skan	(mode_independent_operand): Likewise.
17788169689Skan	* recog.h: Remove the prototype for mode_independent_operand.
17789169689Skan
17790169689Skan2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
17791169689Skan
17792169689Skan	* config/h8300/h8300.c (output_simode_bld): Use rotxl.l to
17793169689Skan	store into bit 0.
17794169689Skan	* config/h8300/h8300.md (*extzv_1_r_h8300hs): Change cc of the
17795169689Skan	second alternative to set_znv.
17796169689Skan	(*extzv_1_r_inv_h8300hs): Likewise.
17797169689Skan
17798169689Skan2003-06-23  Hans-Peter Nilsson  <hp@bitrange.com>
17799169689Skan
17800169689Skan	* configure.in (in_tree_gas): Find out here whether GAS is ELF,
17801169689Skan	set in_tree_gas_is_elf accordingly.
17802169689Skan	(in_tree_ld): Find out whether LD emulation is ELF, set
17803169689Skan	in_tree_ld_is_elf accordingly.
17804169689Skan	(gcc_cv_as_subsections, gcc_cv_as_hidden, gcc_cv_as_leb128)
17805169689Skan	(gcc_cv_as_eh_frame, gcc_cv_as_shf_merge)
17806169689Skan	(gcc_cv_as_dwarf2_debug_line, gcc_cv_as_gdwarf2_flag)
17807169689Skan	(gcc_cv_as_gstabs_flag): Use $in_tree_gas_is_elf instead of
17808169689Skan	grepping gas/Makefile.
17809169689Skan	(gcc_cv_ld_ro_rw_mix, gcc_cv_ld_eh_frame_hdr, gcc_cv_ld_pie): Use
17810169689Skan	$in_tree_ld_is_elf instead of grepping ld/Makefile.
17811169689Skan	* configure: Regenerate.
17812169689Skan
17813169689Skan2003-06-22  Roger Sayle  <roger@eyesopen.com>
17814169689Skan
17815169689Skan	* builtins.c (expand_builtin_mathfn_2): Use tree_cons to build
17816169689Skan	up the stabilized argument list, not build_tree_list.
17817169689Skan	(expand_builtin_strcpy): Construct new argument list manually
17818169689Skan	instead of using chainon to modify the original argument list.
17819169689Skan	(expand_builtin_stpcpy): Construct new argument list manually
17820169689Skan	instead of using copy_list and chainon.
17821169689Skan	(expand_builtin_sprintf): New function.  Optimize calls to
17822169689Skan	sprintf when the format is "%s" or doesn't contain a '%'.
17823169689Skan	(expand_builtin): Expand BUILT_IN_SPRINTF using the new function
17824169689Skan	expand_builtin_sprintf.
17825169689Skan
17826169689Skan2003-06-22  Andreas Schwab  <schwab@suse.de>
17827169689Skan
17828169689Skan	* function.c (set_insn_locators): Mark as unused.
17829169689Skan
17830169689Skan2003-06-22  Neil Booth  <neil@daikokuya.co.uk>
17831169689Skan
17832169689Skan	* common.opt: Add -finline-limit.
17833169689Skan	* opts.c (common_handle_options): Handle it.
17834169689Skan	* opts.sh: Temporary kludge for -finline-limit.
17835169689Skan	* toplev.c (decode_f_option, independent_decode_option): Die.
17836169689Skan	(parse_options_and_default_flags): No independent_decode_option.
17837169689Skan
17838169689Skan2003-06-22  Andreas Jaeger  <aj@suse.de>
17839169689Skan
17840169689Skan	* calls.c (emit_call_1): Readd lost ATTRIBUTE_UNUSED.
17841169689Skan
17842169689Skan2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
17843169689Skan
17844169689Skan	* doc/invoke.texi: Document dumps, .btl, .cfg, and .bypass.
17845169689Skan
17846169689Skan2003-06-22  Andreas Schwab  <schwab@suse.de>
17847169689Skan
17848169689Skan	* doc/invoke.texi: Remove leading `-' from options in index.
17849169689Skan
17850169689Skan2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
17851169689Skan
17852169689Skan	* bt-load.c: Follow spelling conventions.
17853169689Skan
17854169689Skan2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
17855169689Skan
17856169689Skan	* expr.c (emit_move_insn_1): Fix a comment typo.
17857169689Skan
17858169689Skan2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
17859169689Skan
17860169689Skan	* doc/invoke.texi: Alphabetize dump options.
17861169689Skan
17862169689Skan2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
17863169689Skan
17864169689Skan	* doc/invoke.texi: Remove a duplicate -dk.
17865169689Skan
17866169689Skan2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
17867169689Skan
17868169689Skan	* doc/invoke.texi: Update dump file names.
17869169689Skan
17870169689Skan2003-06-22  Zack Weinberg  <zack@codesourcery.com>
17871169689Skan
17872169689Skan	* config/i370/i370.c, config/i370/i370.h: Use HOST_CHARSET_ASCII
17873169689Skan	and HOST_CHARSET_EBCDIC, not HC_ASCII and HC_EBCDIC.
17874169689Skan
17875169689Skan2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
17876169689Skan
17877169689Skan	* doc/rtl.texi: Fix the @findex for pre_modify.
17878169689Skan
17879169689Skan2003-06-22  Andreas Jaeger  <aj@suse.de>
17880169689Skan
17881169689Skan	* caller-save.c: Convert to ISO C90.
17882169689Skan	* calls.c: Likewise.
17883169689Skan	* cfg.c: Likewise.
17884169689Skan	* cfganal.c: Likewise.
17885169689Skan	* cfgbuild.c: Likewise.
17886169689Skan	* cfgcleanup.c: Likewise.
17887169689Skan	* cfghooks.c: Likewise.
17888169689Skan	* cfglayout.c: Likewise.
17889169689Skan	* cfglayout.h: Likewise.
17890169689Skan	* cfgloop.c: Likewise.
17891169689Skan	* cfgloop.h: Likewise.
17892169689Skan	* cfgloopanal.c: Likewise.
17893169689Skan	* cfgloopmainip.c: Likewise.
17894169689Skan	* cfgrtl.c: Likewise.
17895169689Skan
17896169689Skan2003-06-22  Richard Earnshaw  <rearnsha@arm.com>
17897169689Skan
17898169689Skan	* arm.h (BIGGEST_ALIGNMENT): Use TARGET_REALLY_IWMMXT for selecting
17899169689Skan	64-bit alignment.
17900169689Skan
17901169689Skan2003-06-22  Richard Earnshaw  <rearnsha@arm.com>
17902169689Skan
17903169689Skan	* arm.md (all call_value patterns): Remove register constraints on
17904169689Skan	value operand.
17905169689Skan
17906169689Skan2003-06-22  Neil Booth  <neil@daikokuya.co.uk>
17907169689Skan
17908169689Skan	* common.opt: More -f switches.
17909169689Skan	* opts.c (common_handle_options): Handle them.
17910169689Skan	* toplev.c (time_report): Make extern.
17911169689Skan	(f_options): USe flag_dummy.
17912169689Skan	(decode_f_option): No need to use f_options now.
17913169689Skan	* toplev.h (flag_cprop_registers, flag_ssa, flag_ssa_ccp,
17914169689Skan	flag_ssa_dce, time_report, flag_new_regalloc): Make extern.
17915169689Skan
17916169689Skan2003-06-22  Andreas Jaeger  <aj@suse.de>
17917169689Skan
17918169689Skan	* c-lex.c: Convert to ISO C90.
17919169689Skan	* c-objc-common.c: Likewise.
17920169689Skan	* c-opts.c: Likewise.
17921169689Skan	* c-pch.c: Likewise.
17922169689Skan	* c-ppoutput.c: Likewise.
17923169689Skan	* c-pragma.h: Likewise.
17924169689Skan	* c-pretty-print.c: Likewise.
17925169689Skan	* c-pretty-print.h: Likewise.
17926169689Skan	* c-semantics.c: Likewise.
17927169689Skan	* c-tree.h: Likewise.
17928169689Skan	* c-typeck.c: Likewise.
17929169689Skan
17930169689Skan	* c-lang.c: Convert to ISO C90.
17931169689Skan
17932169689Skan2003-06-22  Neil Booth  <neil@daikokuya.co.uk>
17933169689Skan
17934169689Skan	* opts.c (find_opt): Fix to always guarantee a find of a
17935169689Skan	switch with joined parameter.
17936169689Skan	* opts.h (struct cl_option): New member back_chain.
17937169689Skan	* opts.sh: Update to calculate and add back_chain member.
17938169689Skan
17939169689Skan2003-06-22  Gabriel Dos Reis <gdr@integrable-solutions.net>
17940169689Skan
17941169689Skan	* diagnostic.h (output_host_wide_integer): Declare.
17942169689Skan	* diagnostic.c (output_long_long_decicaml): New function.
17943169689Skan	(output_host_wide_integer): Likewise.
17944169689Skan	(output_format): Use them.  Handle "%ll" and "%w".
17945169689Skan
17946169689Skan2003-06-21  Jason Thorpe  <thorpej@wasabisystems.com>
17947169689Skan
17948169689Skan	* config.gcc (*-*-netbsd*): Add t-libgcc-pic to tmake_file.
17949169689Skan
17950169689Skan2003-06-21  Zack Weinberg  <zack@codesourcery.com>
17951169689Skan
17952169689Skan	* aclocal.m4 (gcc_AC_C_CHARSET): Delete.
17953169689Skan	* configure.in: Don't use gcc_AC_C_CHARSET.
17954169689Skan	* configure, config.in: Regenerate.
17955169689Skan	* config/i370/i370.c, config/i370/i370.h: Use
17956169689Skan	(HOST_CHARSET == HC_EBCDIC) or (HOST_CHARSET == HC_ASCII)
17957169689Skan	instead of HOST_EBCDIC or !HOST_EBCDIC.  Clarify comments a tad.
17958169689Skan
17959169689Skan2003-06-21  Neil Booth  <neil@daikokuya.co.uk>
17960169689Skan
17961169689Skan	* Makefile.in: Update.
17962169689Skan	* common.opt: New switches.
17963169689Skan	* opts.c: Include diagnostic.h.
17964169689Skan	(common_handle_option): Handle new switches.
17965169689Skan	* toplev.c (flag_loop_optimize, flag_crossjumping, flag_if_conversion,
17966169689Skan	flag_if_conversion2, flag_delete_null_pointer_checks,
17967169689Skan	flag_rerun_cse_after_loop): Make extern.
17968169689Skan	(flag_dummy): New.
17969169689Skan	(f_options): Update to use flag_dummy for moved options.
17970169689Skan	(decode_f_option): Some switches moved to opts.c.
17971169689Skan	* toplev.h (flag_loop_optimize, flag_crossjumping, flag_if_conversion,
17972169689Skan	flag_if_conversion2, flag_delete_null_pointer_checks,
17973169689Skan	flag_rerun_cse_after_loop, flag_keep_static_consts, flag_peel_loops,
17974169689Skan	flag_tracer, flag_thread_jumps, flag_unroll_loops,
17975169689Skan	flag_unroll_all_loops, flag_unswitch_loops): New.
17976169689Skan
17977169689SkanSat Jun 21 13:41:00 CEST 2003  Jan Hubicka  <jh@suse.cz>
17978169689Skan
17979169689Skan	* i386.c (ix86_va_arg): Fix allocation of temporary slot.
17980169689Skan
17981169689Skan2003-06-20  Kazu Hirata  <kazu@cs.umass.edu>
17982169689Skan
17983169689Skan	* config/h8300/h8300-protos.h: Add a prototype for
17984169689Skan	same_cmp_preceding_p.
17985169689Skan	* config/h8300/h8300.c (same_cmp_preceding): New.
17986169689Skan	* config/h8300/h8300.md: Extend peephole2's that transform
17987169689Skan	compare:SI into shorter sequences so that they can deal with
17988169689Skan	signed comparisons.
17989169689Skan
17990169689Skan2003-06-21  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
17991169689Skan
17992169689Skan	* doc/contrib.texi (Contributors): Use Windows instead of Win32.
17993169689Skan
17994169689Skan	Update Andreas Jaeger's entry.
17995169689Skan
17996169689Skan	Merge the two entries of Kaveh Ghazi, David Edelsohn, and
17997169689Skan	Loren J. Rittle.
17998169689Skan
17999169689Skan2003-06-21  Nathanael Nerode  <neroden@gcc.gnu.org>
18000169689Skan
18001169689Skan	* mkconfig.sh: Add multiple inclusion guards to generated headers.
18002169689Skan
18003169689Skan2003-06-20  Neil Booth  <neil@daikokuya.co.uk>
18004169689Skan
18005169689Skan	* c-decl.c (store_parm_decls): Make saved_warn_shadow boolean.
18006169689Skan	* common.opt: Add remaining -W options and -g.
18007169689Skan	* diagnostic.c (warnings_are_errors): Remove.
18008169689Skan	* flags.h: Make most warning flags boolean.
18009169689Skan	* opts.c (common_handle_option): Handle remaining -W options, and -g.
18010169689Skan	Move many warning flags from toplev.c, making them boolean.
18011169689Skan	* toplev.c: Remove many warning flags.
18012169689Skan	(decode_W_option): Remove.
18013169689Skan	(decode_g_option): Make extern.  Error on unknown switch.
18014169689Skan	(lang_independent_W_options): Use warn_dummy.
18015169689Skan	(independent_decode_option): Just handle -f switches now.
18016169689Skan	* toplev.h (decode_g_option): New.
18017169689Skan
18018169689Skan2003-06-20  Aldy Hernandez  <aldyh@redhat.com>
18019169689Skan
18020169689Skan	PR/11092
18021169689Skan	* config/rs6000/rs6000.h (LEGITIMATE_CONSTANT_P): Adjust for
18022169689Skan	vectors.
18023169689Skan
18024169689Skan2003-06-20  Kelley Cook  <kelleycook@wideopenwest.com>
18025169689Skan
18026169689Skan	* opts.sh: Tweak awk script for portability.
18027169689Skan
18028169689Skan2003-06-20  Mark Mitchell  <mark@codesourcery.com>
18029169689Skan
18030169689Skan	PR c++/10888
18031169689Skan	* tree-inline.c (expand_call_inline): Do not warn about failing to
18032169689Skan	inline functions declared in system headers.
18033169689Skan	* doc/invoke.texi (-Winline): Expand on documentation.
18034169689Skan
18035169689Skan2003-06-20  Richard Henderson  <rth@redhat.com>
18036169689Skan
18037169689Skan	* config/alpha/alpha.c (alpha_file_start): Disable
18038169689Skan	file_start_file_directive for ELF and not MDEBUG.
18039169689Skan
18040169689Skan2003-06-20  J"orn Rennecke <joern.rennecke@superh.com>
18041169689Skan
18042169689Skan	* sh.h (ROUND_TYPE_ALIGN): Remove.
18043169689Skan
18044169689Skan2003-06-20  Richard Henderson  <rth@redhat.com>
18045169689Skan
18046169689Skan	* hooks.c (hook_int_void_no_regs): Rename from
18047169689Skan	hook_reg_class_void_no_regs; change return type.
18048169689Skan	* hooks.h: Update.
18049169689Skan	* target-def.h (TARGET_BRANCH_TARGET_REGISTER_CLASS): Update.
18050169689Skan	* target.h (branch_target_register_class): Change return type to int.
18051169689Skan	Add documentation.
18052169689Skan	* config/sh/sh.c (sh_target_reg_class): Change return type.
18053169689Skan	* doc/tm.texi (TARGET_BRANCH_TARGET_REGISTER_CLASS): Likewise.
18054169689Skan
18055169689Skan2003-06-20  Andreas Tobler <toa@pop.agri.ch>
18056169689Skan
18057169689Skan	* c-format.c: Change _Bool to bool reverting part of the last
18058169689Skan	patch.
18059169689Skan
18060169689Skan2003-06-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
18061169689Skan
18062169689Skan	* som.h (ASM_OUTPUT_SOURCE_LINE): Use targetm.strip_name_encoding to
18063169689Skan	strip name encoding.
18064169689Skan
18065169689Skan2003-06-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
18066169689Skan
18067169689Skan	* configure.in (gcc_cv_as_gstabs_flag): Disable if assembler warns.
18068169689Skan	* configure: Regenerate.
18069169689Skan	Fixes PR driver/9362.
18070169689Skan
18071169689Skan2003-06-20  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
18072169689Skan
18073169689Skan	* config/alpha/alpha.c (alpha_file_start): Fix typo.
18074169689Skan
18075169689Skan2003-06-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
18076169689Skan
18077169689Skan	* config/mips/mips.h (PUT_SDB_FUNCTION_END): Pass 0 as third arg
18078169689Skan	to ASM_OUTPUT_SOURCE_LINE.
18079169689Skan
18080169689Skan2003-06-20  Daniel Egger  <degger@fhm.edu>
18081169689Skan	    Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
18082169689Skan
18083169689Skan	* doc/install.texi (Building): Correct and improve statement
18084169689Skan	about parallel builds.
18085169689Skan
18086169689Skan2003-06-20  Andreas Jaeger  <aj@suse.de>
18087169689Skan
18088169689Skan	* c-common.c: Change _Bool to bool reverting part of the last
18089169689Skan	patch.
18090169689Skan
18091169689Skan2003-06-20  Nathan Sidwell  <nathan@codesourcery.com>
18092169689Skan
18093169689Skan	* tree.h (expand_function_end): Remove all parameters.
18094169689Skan	* function.c (expand_function_end): Remove all parameters.
18095169689Skan	Use input_location. Never expand_end_bindings.
18096169689Skan	* c-decl.c (c_expand_body_1): Adjust expand_function_end call.
18097169689Skan	* coverage.c (create_coverage): Likewise.
18098169689Skan
18099169689Skan2003-06-20  Nick Clifton  <nickc@redhat.com>
18100169689Skan
18101169689Skan	* doc/extend.texi (ARM Built-in Functions): New node.  Document
18102169689Skan	ARM builtin functions for iWMMXt support.
18103169689Skan
18104169689Skan2003-06-20  Eric Botcazou  <ebotcazou@libertysurf.fr>
18105169689Skan
18106169689Skan	* doc/install.texi (--with-gnu-as): Mention SPARC/Solaris and
18107169689Skan	SPARC64/Solaris as platforms where --with-gnu-as makes a difference.
18108169689Skan	(--with-as): Add @anchor.
18109169689Skan	(--with-gnu-ld): Fix typo.
18110169689Skan	(--with-ld): Add @uref to --with-as.
18111169689Skan
18112169689Skan2003-06-19  Zack Weinberg  <zack@codesourcery.com>
18113169689Skan
18114169689Skan	* doc/tm.texi: Uniformly use @defmac for macros, rather than
18115169689Skan	@table items.  Minor formatting and editorial corrections.
18116169689Skan
18117169689Skan2003-06-20  Neil Booth  <neil@daikokuya.co.uk>
18118169689Skan
18119169689Skan	* line-map.c, line-map.h: Convert to ISO prototypes.
18120169689Skan
18121169689Skan2003-06-20  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
18122169689Skan
18123169689Skan	* gcse.c (store_killed_in_insn): Fix.
18124169689Skan
18125169689Skan2003-06-19  Zack Weinberg  <zack@codesourcery.com>
18126169689Skan
18127169689Skan	* target.h (asm_out.file_start, file_start_app_off,
18128169689Skan	file_start_file_directive): New hooks.
18129169689Skan	* target-def.h (TARGET_ASM_FILE_START_FILE_DIRECTIVE,
18130169689Skan	TARGET_ASM_FILE_START_APP_OFF, TARGET_ASM_FILE_START):
18131169689Skan	New hook-definition macros.
18132169689Skan	* doc/tm.texi: Document new hooks; remove docs of ASM_FILE_START.
18133169689Skan	* varasm.c (default_file_start): New.
18134169689Skan	* output.h: Prototype it.
18135169689Skan	* toplev.c (init_asm_output): Use targetm.asm_out.file_start.
18136169689Skan	* system.h: Poison ASM_FILE_START.
18137169689Skan
18138169689Skan	* config/alpha/alpha.c (alpha_write_verstamp): Delete.
18139169689Skan	(alpha_file_start): New, define if !TARGET_ABI_UNICOSMK.
18140169689Skan	(unicosmk_asm_file_start): Rename unicosmk_file_start,
18141169689Skan	make static, take no arguments.
18142169689Skan	(TARGET_ASM_FILE_START, TARGET_ASM_FILE_END,
18143169689Skan	TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set as appropriate.
18144169689Skan	* config/alpha/unicosmk.h: Don't define ASM_FILE_START nor
18145169689Skan	TARGET_ASM_FILE_END.  Remove reference to ASM_FILE_START in
18146169689Skan	comment.
18147169689Skan	* config/arc/arc.c (arc_asm_file_start): Rename
18148169689Skan	arc_file_start, take no arguments, make static.
18149169689Skan	(TARGET_ASM_FILE_START): Set it.
18150169689Skan	* config/arm/arm.c (aof_file_start): New static function.
18151169689Skan	(TARGET_ASM_FILE_START): Set it, when appropriate.
18152169689Skan	* config/arm/coff.h, config/arm/elf.h:
18153169689Skan	Set TARGET_ASM_FILE_START_APP_OFF to true.
18154169689Skan	* config/avr/avr.c (asm_file_start): Rename avr_file_start,
18155169689Skan	take no arguments, make static.
18156169689Skan	(TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE):
18157169689Skan	Set them.
18158169689Skan	* config/c4x/c4x.c (c4x_file_start): New static function.
18159169689Skan	(TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE):
18160169689Skan	Set them.
18161169689Skan	* config/cris/cris.c (cris_file_start): New static function.
18162169689Skan	(TARGET_ASM_FILE_START): Set it.
18163169689Skan	* config/dsp16xx/dsp16xx.c (coff_dsp16xx_file_start): Rename
18164169689Skan	dsp16xx_file_start, make static.
18165169689Skan	(luxworks_dsp16xx_file_start): Delete.
18166169689Skan	(TARGET_ASM_FILE_START): Set it.
18167169689Skan	* config/h8300/h8300.c (asm_file_start): Rename
18168169689Skan	h8300_file_start, make static, take no arguments.
18169169689Skan	(TARGET_ASM_FILE_START): Set it.
18170169689Skan	* config/i370/i370.c (i370_file_start): New static function.
18171169689Skan	(TARGET_ASM_FILE_START): Set it.
18172169689Skan	* config/i386/i386.c (x86_file_start): New static function.
18173169689Skan	(TARGET_ASM_FILE_START): Set it.
18174169689Skan	* config/i386/i386.h (X86_FILE_START_VERSION_DIRECTIVE,
18175169689Skan	X86_FILE_START_FLTUSED): New macros, default to false.
18176169689Skan	* config/i386/i386-interix.h: Override X86_FILE_START_FLTUSED to 1.
18177169689Skan	* config/i386/sysv4.h, config/i386/sco5.h: Override
18178169689Skan	X86_FILE_START_VERSION_DIRECTIVE to true.
18179169689Skan	* config/ia64/ia64.c (ia64_file_start): New static function.
18180169689Skan	(TARGET_ASM_FILE_START): Set it.
18181169689Skan	(emit_safe_across_calls): Take no arguments.
18182169689Skan	* config/ia64/ia64.md: Update to match.
18183169689Skan	* config/m32r/m32r.c (m32r_asm_file_start): Rename
18184169689Skan	m32r_file_start, make static, take no arguments.
18185169689Skan	(TARGET_ASM_FILE_START): Set it.
18186169689Skan	* config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Rename
18187169689Skan	m68hc11_file_start, make static, take no arguments.
18188169689Skan	(TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
18189169689Skan	(print_options): Delete.
18190169689Skan	* config/m68k/m68k.c (m68k_hp320_file_start): New static function.
18191169689Skan	(TARGET_ASM_FILE_START_APP_OFF): Set.
18192169689Skan	* config/m68k/hp320.h: Set TARGET_ASM_FILE_START to
18193169689Skan	m68k_hp320_file_start.
18194169689Skan	* config/mips/mips.c (iris6_asm_file_start, mips_asm_file_start):
18195169689Skan	Make static, take no arguments.
18196169689Skan	(TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
18197169689Skan	* config/mmix/mmix.c (mmix_asm_file_start): Rename
18198169689Skan	mmix_file_start, make static, take no arguments.
18199169689Skan	(TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
18200169689Skan	* config/mn10300/mn10300.c (asm_file_start): Rename
18201169689Skan	mn10300_file_start, make static, take no arguments.
18202169689Skan	(TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
18203169689Skan	* config/ns32k/ns32k.c (TARGET_ASM_FILE_START_APP_OFF): Set.
18204169689Skan	* config/pa/pa.c (pa_file_start_level, pa_file_start_space,
18205169689Skan	pa_file_start_file, pa_file_start_mcount, pa_elf_file_start,
18206169689Skan	pa_som_file_start, pa_linux_file_start, pa_hpux64_gas_file_start,
18207169689Skan	pa_hpux64_hpas_file_start): New static functions.
18208169689Skan	* config/pa/elf.h: Set TARGET_ASM_FILE_START to pa_elf_file_start.
18209169689Skan	* config/pa/pa-linux.h: Set TARGET_ASM_FILE_START to
18210169689Skan	pa_linux_file_start.
18211169689Skan	* config/pa/pa64-hpux.h: Set TARGET_ASM_FILE_START to
18212169689Skan	pa_hpux64_gas_file_start or pa_hpux64_hpas_file_start, as
18213169689Skan	appropriate.
18214169689Skan	* config/pa/som.h: Set TARGET_ASM_FILE_START to pa_som_file_start.
18215169689Skan	* config/rs6000/rs6000.c: Include xcoffout.h when TARGET_XCOFF.
18216169689Skan	(rs6000_file_start): Make static, take no arguments.  Reset
18217169689Skan	default_cpu under certain conditions.
18218169689Skan	(rs6000_xcoff_file_start): New function.
18219169689Skan	* config/rs6000/rs6000.h (TARGET_ASM_FILE_START): Set.
18220169689Skan	* config/rs6000/xcoff.h (TARGET_ASM_FILE_START,
18221169689Skan	TARGET_ASM_FILE_START_FILE_DIRECTIVE): Override.
18222169689Skan	* config/sh/sh.c (output_file_start): Rename
18223169689Skan	sh_file_start, make static, take no arguments.  Merge in old
18224169689Skan	code from sh/elf.h's ASM_FILE_START, conditioned on TARGET_ELF.
18225169689Skan	(TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
18226169689Skan	* config/sh/sh.c (TARGET_ELF): Define to 0.
18227169689Skan	* config/sh/elf.h (TARGET_ELF): Redefine to 1.
18228169689Skan	* config/v850/v850.c (asm_file_start): Delete.
18229169689Skan	(TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
18230169689Skan	* config/vax/vax.c (vax_file_start): New static function.
18231169689Skan	(TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_APP_OFF): Set.
18232169689Skan
18233169689Skan	* config/darwin.h: Override ASM_FILE_START_FILE_DIRECTIVE to false.
18234169689Skan	* config/elfos.h, config/svr3.h, config/arm/elf.h, config/arm/pe.h
18235169689Skan	* config/i386/att.h, config/i386/gas.h, config/i386/linux.h
18236169689Skan	* config/i386/sysv4.h, config/i386/sco5.h, config/i960/i960-coff.h
18237169689Skan	* config/m68k/coff.h, config/m68k/hp320.h, config/mcore/mcore-pe.h
18238169689Skan	* config/vax/vaxv.h: Set ASM_FILE_START_FILE_DIRECTIVE to true.
18239169689Skan
18240169689Skan	* config/darwin.h, config/elfos.h, config/alpha/elf.h
18241169689Skan	* config/alpha/openbsd.h, config/alpha/osf.h, config/alpha/vms.h
18242169689Skan	* config/arc/arc.h, config/arm/aof.h, config/arm/aout.h
18243169689Skan	* config/arm/coff.h, config/arm/elf.h, config/arm/pe.h
18244169689Skan	* config/avr/avr.h, config/c4x/c4x.h, config/cris/cris.h
18245169689Skan	* config/dsp16xx/dsp16xx.h, config/h8300/elf.h, config/h8300/h8300.h
18246169689Skan	* config/i370/i370.h, config/i386/att.h, config/i386/gas.h
18247169689Skan	* config/i386/i386-interix.h, config/i386/linux.h, config/i386/sysv4.h
18248169689Skan	* config/i386/sco5.h, config/i960/i960-coff.h, config/i960/i960.h
18249169689Skan	* config/ia64/ia64.h, config/ia64/sysv4.h, config/m32r/m32r.h
18250169689Skan	* config/m68hc11/m68hc11.h, config/m68k/coff.h, config/m68k/m68k.h
18251169689Skan	* config/mcore/mcore-pe.h, config/mips/iris6.h, config/mips/mips.h
18252169689Skan	* config/mmix/mmix.h, config/mn10300/mn10300.h, config/ns32k/ns32k.h
18253169689Skan	* config/pa/elf.h, config/pa/pa-linux.h, config/pa/pa64-hpux.h
18254169689Skan	* config/pa/som.h, config/pdp11/pdp11.h, config/rs6000/linux64.h
18255169689Skan	* config/rs6000/lynx.h, config/rs6000/xcoff.h, config/sh/elf.h
18256169689Skan	* config/sh/sh.h, config/sparc/sparc.h, config/v850/v850.h
18257169689Skan	* config/vax/vax.h, config/vax/vaxv.h: Don't (re)define ASM_FILE_START.
18258169689Skan
18259169689Skan	* config/alpha/alpha-protos.h, config/arc/arc-protos.h
18260169689Skan	* config/avr/avr-protos.h, config/dsp16xx/dsp16xx-protos.h
18261169689Skan	* config/h8300/h8300-protos.h, config/ia64/ia64-protos.h
18262169689Skan	* config/m32r/m32r-protos.h, config/m68hc11/m68hc11-protos.h
18263169689Skan	* config/mips/mips-protos.h, config/mmix/mmix-protos.h
18264169689Skan	* config/mn10300/mn10300-protos.h, config/rs6000/rs6000-protos.h
18265169689Skan	* config/sh/sh-protos.h, config/v850/v850-protos.h: Update.
18266169689Skan
18267169689Skan	* xcoffout.h, config/rs6000/aix.h, config/rs6000/xcoff.h:
18268169689Skan	Remove reference to ASM_FILE_START in comment.
18269169689Skan	* config/arm/aof.h, config/arm/aout.h, config/arm/freebsd.h
18270169689Skan	* config/arm/linux-gas.h, config/arm/netbsd-elf.h
18271169689Skan	* config/arm/netbsd.h: Delete definition of ARM_OS_NAME.
18272169689Skan
18273169689Skan2003-06-19  Graeme Peterson <gp@qnx.com>
18274169689Skan
18275169689Skan	* gcc.c (target_sysroot_suffix, target_sysroot_hdrs_suffix,
18276169689Skan	SYSROOT_SUFFIX_SPEC, SYSROOT_HEADERS_SUFFIX_SPEC, sysroot_suffix_spec,
18277169689Skan	sysroot_hdrs_suffix_spec): New.
18278169689Skan	(static_specs): Initialize new variables.
18279169689Skan	(add_sysroot_suffix_prefix, do_spec_1, main): Use new variables.
18280169689Skan	* doc/tm.texi (SYSROOT_SUFFIX_SPEC, SYSROOT_HEADERS_SUFFIX_SPEC):
18281169689Skan	New macros.
18282169689Skan
18283169689Skan2003-06-19  Andreas Jaeger  <aj@suse.de>
18284169689Skan
18285169689Skan	* c-aux-info.c: Convert to ISO C90.
18286169689Skan	* c-pragma.c: Likewise.
18287169689Skan	* c-common.c: Likewise.
18288169689Skan	* c-common.h: Likewise.
18289169689Skan	* c-convert.c: Likewise.
18290169689Skan	* c-cppbuiltin.c: Likewise.
18291169689Skan	* c-dump.c: Likewise.
18292169689Skan	* c-decl.c: Likewise
18293169689Skan	* c-format.c: Likewise.
18294169689Skan	* c-incpath.c: Likewise.
18295169689Skan	* c-incpath.h: Likewise.
18296169689Skan
18297169689Skan2003-06-19  Roger Sayle  <roger@eyesopen.com>
18298169689Skan
18299169689Skan	* builtins.c (expand_errno_check): Assume that flag_errno_math
18300169689Skan	and HONOR_NANS have been tested before calling here.  Only try
18301169689Skan	to set errno ourselves if the decl can't throw an exception.
18302169689Skan	(expand_builtin_mathfn): Move the code to stabilize the arg
18303169689Skan	after the main switch, so that that its only done when needed.
18304169689Skan	BUILT_IN_SQRT{,F,L} doesn't set errno if its arg is nonnegative.
18305169689Skan	Don't modify the original expr when stabilizing the argument.
18306169689Skan	(expand_builtin_mathfn_2): Likewise, move the code to stabilize
18307169689Skan	the args after the main switch, and don't modify the orginal exp.
18308169689Skan
18309169689Skan2003-06-19  Aldy Hernandez  <aldyh@redhat.com>
18310169689Skan
18311169689Skan	* expr.c (const_vector_from_tree): Initialize remaining elements
18312169689Skan	to 0.
18313169689Skan
18314169689Skan2003-06-19  Aldy Hernandez  <aldyh@redhat.com>
18315169689Skan
18316169689Skan	* config/rs6000/spe.md ("spe_evfscfsi"): Change operand types.
18317169689Skan	Change "fix" to "float".
18318169689Skan
18319169689Skan2003-06-19  Andreas Jaeger  <aj@suse.de>
18320169689Skan
18321169689Skan	* c-tree.h: Remove declaration of poplevel.
18322169689Skan
18323169689Skan	* tree.h: Remove declaration of approx_sqrt.
18324169689Skan
18325169689Skan	* c-lex.c: Remove redundant declaration of asm_out_file.
18326169689Skan
18327169689Skan	* flags.h: Remove declaration of warn_unknown_pragma and
18328169689Skan	main_input_filename.
18329169689Skan
18330169689Skan	* rtl.h: Remove functions from fold-const.c since they're already
18331169689Skan	declared in tree.h.
18332169689Skan
18333169689Skan	* regs.h: Remove redundant declaration of reg_names.
18334169689Skan
18335169689Skan	* bt-load.c (migrate_btr_defs): Correct printf arguments.
18336169689Skan
18337169689Skan	* protoize.c: Fix breakage from last patch.
18338169689Skan
18339169689Skan2003-06-19  J"orn Rennecke <joern.rennecke@superh.com>
18340169689Skan
18341169689Skan	* hooks.h (hook_reg_class_void_no_regs): Only declare if tm.h
18342169689Skan	has been included.
18343169689Skan
18344169689Skan2003-06-18  James A Morrison <ja2morri@student.math.uwaterloo.ca>
18345169689Skan
18346169689Skan	* config/sparc/sparc.c: Update copyright year.
18347169689Skan
18348169689Skan2003-06-19  David Edelsohn  <edelsohn@gnu.org>
18349169689Skan
18350169689Skan	* config/rs6000/rs6000.c (init_cumulative_args): Limit CALL_LIBCALL
18351169689Skan	to ABI_V4.
18352169689Skan
18353169689Skan2003-06-18  Joseph S. Myers  <jsm@polyomino.org.uk>
18354169689Skan
18355169689Skan	PR bootstrap/4068
18356169689Skan	* config/i386/liunx.h: Don't include sys/ucontext.h for glibc 2.0.
18357169689Skan
18358169689Skan2003-06-19  Kazu Hirata  <kazu@cs.umass.edu>
18359169689Skan
18360169689Skan	* config/h8300/h8300.c (TARGET_INITIALIZER and friends): Move
18361169689Skan	to the end of the file.  Remove unnecessary prototypes.
18362169689Skan
18363169689Skan2003-06-19  Hans-Peter Nilsson  <hp@axis.com>
18364169689Skan
18365169689Skan	* bt-load.c (migrate_btr_def) [INSN_SCHEDULING]: Conditionalize
18366169689Skan	calls to insn_default_latency and result_ready_cost.  Initialize
18367169689Skan	def_latency to 1.
18368169689Skan
18369169689Skan2003-06-18  Richard Henderson  <rth@redhat.com>
18370169689Skan
18371169689Skan	* config/ia64/unwind-ia64.c (_Unwind_GetCFA): New.
18372169689Skan	(_Unwind_FindEnclosingFunction): Implement.
18373169689Skan
18374169689Skan2003-06-18  Kazu Hirata  <kazu@cs.umass.edu>
18375169689Skan
18376169689Skan	* toplev.c (rest_of_handle_sched): Hide the entire function if
18377169689Skan	INSN_SCHEDULING is not defined.
18378169689Skan	(rest_of_compilation): Call rest_of_handle_sched() only when
18379169689Skan	INSN_SCHEDULING is defined.
18380169689Skan
18381169689Skan2003-06-18  Stephen Clarke <stephen.clarke@superh.com>
18382169689Skan	    J"orn Rennecke <joern.rennecke@superh.com>
18383169689Skan
18384169689Skan	* bt-load.c: New file.
18385169689Skan	* Makefile.in (OBJS): Include bt-load.o
18386169689Skan	(bt-load.o): Add dependencies.
18387169689Skan	* flags.h (flag_branch_target_load_optimize): Declare.
18388169689Skan	(flag_branch_target_load_optimize2): Likewise.
18389169689Skan	* hooks.c (hook_reg_class_void_no_regs): New function.
18390169689Skan	(hook_bool_bool_false): Likewise.
18391169689Skan	* hooks.h (hook_reg_class_void_no_regs, hook_bool_bool_false): Declare.
18392169689Skan	* rtl.h (branch_target_load_optimize): Declare.
18393169689Skan	* target-def.h (TARGET_BRANCH_TARGET_REGISTER_CLASS): Define.
18394169689Skan	(TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise.
18395169689Skan	(TARGET_INITIALIZER): Include these.
18396169689Skan	* target.h (struct gcc_target): Add branch_target_register_class
18397169689Skan	and branch_target_register_callee_saved members.
18398169689Skan	* toplev.c (enum dump_file_index): Add DFI_branch_target_load
18399169689Skan	(dump_file) Add "tars" entry.
18400169689Skan	(flag_branch_target_load_optimize): New variable.
18401169689Skan	(flag_branch_target_load_optimize2): Likewise.
18402169689Skan	(lang_independent_options): Add entries for new options.
18403169689Skan	(rest_of_compilation): Call branch_target_load_optimize.
18404169689Skan	* doc/tm.texi (TARGET_BRANCH_TARGET_REGISTER_CLASS): Document.
18405169689Skan	(TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise.
18406169689Skan	* doc/invoke.texi: Document -fbranch-target-load-optimize and
18407169689Skan	-fbranch-target-load-optimize2.
18408169689Skan	* rtl.h (epilogue_completed): Declare.
18409169689Skan	* recog.c (epilogue_completed): New variable.
18410169689Skan	* toplev.c (rest_of_compilation): Set it.
18411169689Skan	* flow.c (mark_regs_live_at_end): Use it.
18412169689Skan	* config/ia64/ia64.c (ia64_output_mi_thunk): Set it.
18413169689Skan	* config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise.
18414169689Skan	* config/sh/sh.c (sh_output_mi_thunk): Likewise.
18415169689Skan	* config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.
18416169689Skan
18417169689Skan	* sh.c (shmedia_space_reserved_for_target_registers): New variable.
18418169689Skan	(sh_target_reg_class): New function.
18419169689Skan	(sh_optimize_target_register_callee_saved): Likwise.
18420169689Skan	(shmedia_target_regs_stack_space): Likewise.
18421169689Skan	(shmedia_reserve_space_for_target_registers_p): Likewise.
18422169689Skan	(shmedia_target_regs_stack_adjust): Likewise.
18423169689Skan	(TARGET_BRANCH_TARGET_REGISTER_CLASS): Override.
18424169689Skan	(TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise.
18425169689Skan	(calc_live_regs): If flag_branch_target_load_optimize2 and
18426169689Skan	TARGET_SAVE_ALL_TARGET_REGS is enabled, and we have space reserved
18427169689Skan	for target registers, make sure that we save all target registers.
18428169689Skan	(sh_expand_prologue, sh_expand_epilogue): Take target register
18429169689Skan	optimizations into account.  Collapse stack adjustments if that
18430169689Skan	is beneficial.
18431169689Skan	(initial_elimination_offset): Reserve space for target registers
18432169689Skan	if necessary.
18433169689Skan	* sh.h (SAVE_ALL_TR_BIT, TARGET_SAVE_ALL_TARGET_REGS): Define.
18434169689Skan	(OPTIMIZATION_OPTIONS): Enable flag_branch_target_load_optimize.
18435169689Skan
18436169689Skan2003-06-18  Nick Clifton  <nickc@redhat.com>
18437169689Skan
18438169689Skan	* config.gcc: Add an extra_header for ARM targets.
18439169689Skan	Support configuring with --with-cpu=iwmmxt.
18440169689Skan	* doc/invoke.texi: Document new value for -mcpu= ARM switch.
18441169689Skan	* config/arm/aof.h (REGISTER_NAMES): Add iwmmxt register
18442169689Skan	names.  Fix formatting.
18443169689Skan	* config/arm/aout.h (REGISTER_NAMES): Add iwmmxt register
18444169689Skan	names.
18445169689Skan	* config/arm/arm-protos.h (arm_emit_vector_const): New
18446169689Skan	prototype.
18447169689Skan	(arm_output_load_gr): New prototype.
18448169689Skan	* config/arm/arm.c (extra_reg_names1): Delete.
18449169689Skan	(TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN, FL_IWMMXT,
18450169689Skan	* arch_is_iwmmxt): Define.
18451169689Skan	(all_cores, all_architecture): Add entry for iwmmxt.
18452169689Skan	(arm_override_options): Add support for iwmmxt.
18453169689Skan	(use_return_insn, arm_function_arg, arm_legitimate_index_p,
18454169689Skan	arm_print_value, arm_rtx_costs_1, output_move_double,
18455169689Skan	arm_compute_save_reg_mask, arm_output_epilogue,
18456169689Skan	arm_get_frame_size, arm_expand_prologue, arm_print_operand,
18457169689Skan	arm_assemble_integer, arm_hard_regno_ok, arm_regno_class):
18458169689Skan	Likewise.
18459169689Skan	(arm_init_cumulative_args): Count iwmmxt registers.
18460169689Skan	(arm_function_ok_for_sibcall): Return false of sibcall_blocked
18461169689Skan	has been set.
18462169689Skan	(struct minipool_node): Add fix_size field.
18463169689Skan	(add_minipool_forward_ref): Add support for 8-byte aligning of
18464169689Skan	the pool.
18465169689Skan	(add_minipool_backward_ref, add_minipool_offsets,
18466169689Skan	dump_minipool, push_minipool_fix): Likewise.
18467169689Skan	(struct builtin_description): New struct.
18468169689Skan	(builtin_description): New array of iwmmxt builtin functions.
18469169689Skan	(arm_init_iwmmxt_builtins): New function.
18470169689Skan	(arm_init_builtins): New function.
18471169689Skan	(safe_vector_operand): New function.
18472169689Skan	(arm_expand_binop_builtin): New function.
18473169689Skan	(arm_expand_unop_builtin): New function.
18474169689Skan	(arm_expand_builtin): New function.
18475169689Skan	(arm_emit_vector_const): New function.
18476169689Skan	(arm_output_load_gr): New function.
18477169689Skan	* config/arm/arm.h (TARGET_CPU_iwmmxt, TARGET_IWMMXT,
18478169689Skan	TARGET_REALLY_IWMMXT, arm_arch_iwmmxt, IWMMXT_ALIGNMENT,
18479169689Skan	TYPE_NEEDS_IWMMXT_ALIGNMENT, ADJUST_FIELD_ALIGN,
18480169689Skan	DATA_ALIGNMENT, LOCAL_ALIGNMENT, VECTOR_MODE_SUPPORTED_P): Define.
18481169689Skan	(BIGGEST_ALIGNMENT): Set to 64 if ATPCS support is enabled.
18482169689Skan	(CPP_CPU_ARCH_SPEC): Add entries for iwmmxt.
18483169689Skan	(FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER,
18484169689Skan	reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS,
18485169689Skan	REG_CLASS_FOR_LETTER): Add iwmmxt registers.
18486169689Skan	(SUBTARGET_CONDITIONAL_REGISTER_USAGE): Disable iwmmxt
18487169689Skan	registers unless the iwmmxt target is selected.
18488169689Skan	(FIRST_IWMMXT_GR_REGNUM, LAST_IWMMXT_GR_REGNUM,
18489169689Skan	FIRST_IWMMXT_REGNUM, LAST_IWMMXT_REGNUM, IS_IWMMXT_REGNUM,
18490169689Skan	IS_IWMMXT_GR_REGNUM): Define.
18491169689Skan	(FIRST_PSEUDO_REGISTER): Bump to 63.
18492169689Skan	(struct machine_function): Add sibcall_blocked field.
18493169689Skan	(Struct CUMULATIVE_ARGS): Add iwmmxt_nregs, named_count and
18494169689Skan	nargs fields.
18495169689Skan	(enum arm_builtins): New enum list.
18496169689Skan	* config/arm/arm.md (UNSPEC_WSHUFH, UNSPEC_WACC,
18497169689Skan	UNSPEC_TMOVMSK, UNSPEC_WSAD, UNSPEC_WSADZ, UNSPEC_WMACS,
18498169689Skan	UNSPEC_WMACU, UNSPEC_WMACSZ, UNSPEC_WMACUZ, UNSPEC_CLRDI,
18499169689Skan	UNSPEC_WMADDS, UNSPEC_WMADDU): New unspecs.
18500169689Skan	(VUNSPEC_TMRC, VUNSPEC_TMCR, VUNSPEC_ALIGN8, VUNSPEC_WCMP_EQ,
18501169689Skan	VUNSPEC_WCMP_GTU, VUNSPEC_WCMP_GT): New vunspecs.
18502169689Skan	(movv2si, movv4hi, movv8qi): New expands for vector moves.
18503169689Skan	Include iwmmxt.md.
18504169689Skan	* config/arm/t-xscale-elf (MULTILIB_OPITONS): Add iwmmxt
18505169689Skan	multilib.
18506169689Skan	(MULTILIB_DIRNAMES, MULTILIB_REDUNDANT_DIRS): Likewise.
18507169689Skan	* config/arm/mmintrin.h: New ARM specific header file.
18508169689Skan	* config/arm/iwmmx.md: New iWMMXt specific machine patterns.
18509169689Skan
18510169689Skan2003-06-18  J"orn Rennecke <joern.rennecke@superh.com>
18511169689Skan
18512169689Skan	* toplev.c (Remaining -d letters summary): Update.
18513169689Skan
18514169689Skan2003-06-18  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
18515169689Skan
18516169689Skan	* config/rs6000/rs6000.c (init_cumulative_args): Add and handle LIBCALL
18517169689Skan	argument.
18518169689Skan	(function_arg): Handle CALL_LIBCALL flag.
18519169689Skan	* config/rs6000/rs6000-protos.h (init_cumulative_args): Update
18520169689Skan	prototype.
18521169689Skan	* config/rs6000/rs6000.h (CALL_LIBCALL): New macro.
18522169689Skan	(INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
18523169689Skan	(INIT_CUMULATIVE_ARGS): Add LIBCALL argument.
18524169689Skan	(INIT_CUMULATIVE_INCOMING_ARGS): Likewise.
18525169689Skan
18526169689Skan2003-06-18  Neil Booth  <neil@daikokuya.co.uk>
18527169689Skan
18528169689Skan	* Makefile.in: Update.
18529169689Skan	* common.opt: New options.
18530169689Skan	* opts.c (maybe_warn_unused_parameter, set_Wextra, handle_param,
18531169689Skan	set_Wunused): New.
18532169689Skan	(common_handle_option): Handle new options.
18533169689Skan	* toplev.c (set_target_switch): Export.
18534169689Skan	(set_Wextra, set_Wunused, maybe_warn_unused_parameter): Move to opts.c.
18535169689Skan	(decode_W_option): -Wunused and -Wextra handled in opts.c now.
18536169689Skan	(independent_decode_option): More options handled in opts.c now.
18537169689Skan	Change prototype.
18538169689Skan	* toplev.h (set_target_switch): New.
18539169689Skan
18540169689Skan2003-06-17  Robert Abeles  <rabeles@archaelogic.com>
18541169689Skan
18542169689Skan	PR debug/4252
18543169689Skan	* c-opts.c (c_common_handle_option): Pass -fdump argument suffix
18544169689Skan	to dump_switch_p().
18545169689Skan	* tree-dump.c (dump_switch_p): Remove redundant 'dump-' prefix
18546169689Skan	from static strings in dump_files.
18547169689Skan
18548169689Skan2003-06-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18549169689Skan
18550169689Skan	* system.h (ANSI_PROTOTYPES, PTR_CONST, LONG_DOUBLE, VPARAMS,
18551169689Skan	VA_OPEN, VA_FIXEDARG, VA_CLOSE, VA_START): undef and poison these
18552169689Skan	libiberty macros.
18553169689Skan
18554169689Skan2003-06-17  Jason Merrill  <jason@redhat.com>
18555169689Skan
18556169689Skan	PR c++/10929
18557169689Skan	* tree-inline.c (expand_call_inline): Don't warn about failing to
18558169689Skan	inline a function which was made inline by -finline-functions.
18559169689Skan
18560169689Skan2003-06-17  Kazu Hirata  <kazu@cs.umass.edu>
18561169689Skan
18562169689Skan	* config/h8300/h8300-protos.h: Update to ISO C.
18563169689Skan	* config/h8300/h8300.c: Likewise.
18564169689Skan	* config/h8300/h8300.h: Likewise.
18565169689Skan	* config/h8300/h8300.md: Likewise.
18566169689Skan
18567169689Skan2003-06-16  Nathanael Nerode  <neroden@gcc.gnu.org>
18568169689Skan
18569169689Skan	* configure.in: Replace BUILD_CC references with CC_FOR_BUILD.
18570169689Skan	* configure: Regenerate.
18571169689Skan	* Makefile.in: Replace BUILD_CC references with CC_FOR_BUILD.
18572169689Skan
18573169689Skan2003-06-17  Ranjit Mathew  <rmathew@hotmail.com>
18574169689Skan
18575169689Skan	* install.texi (Testing): Add information on how to run Java
18576169689Skan	runtime tests separately.
18577169689Skan
18578169689Skan2003-06-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
18579169689Skan
18580169689Skan	* config/mips/mips.md (trap): Use break 0 when !TARGET_GAS.
18581169689Skan
18582169689Skan	* config/mips/iris6-o32.h (MIPS_ISA_DEFAULT): Remove.
18583169689Skan	(MIPS_CPU_STRING_DEFAULT): Redefine to mips2.
18584169689Skan
18585169689Skan2003-06-17  Christopher Faylor  <cgf@redhat.com>
18586169689Skan
18587169689Skan	* doc/install.texi: Add msvc rebuild caveat.
18588169689Skan
18589169689Skan2003-06-17  Kazu Hirata  <kazu@cs.umass.edu>
18590169689Skan
18591169689Skan	* config/sh/coff.h: Replace Hitachi with Renesas.
18592169689Skan	* config/sh/elf.h: Likewise.
18593169689Skan	* config/sh/embed-elf.h: Likewise.
18594169689Skan	* config/sh/lib1funcs.asm: Likewise.
18595169689Skan	* config/sh/sh-protos.h: Likewise.
18596169689Skan	* config/sh/sh.c: Likewise.
18597169689Skan	* config/sh/sh.h: Likewise.
18598169689Skan	* config/sh/sh.md: Likewise.
18599169689Skan
18600169689Skan2003-06-17  Kazu Hirata  <kazu@cs.umass.edu>
18601169689Skan
18602169689Skan	* ChangeLog.3: Fix comment typos.
18603169689Skan	* ChangeLog.6: Likewise.
18604169689Skan	* config/d30v/d30v.c: Likewise.
18605169689Skan	* config/h8300/h8300.md: Likewise.
18606169689Skan	* config/m32r/m32r.md: Likewise.
18607169689Skan	* config/mips/mips.c: Likewise.
18608169689Skan	* config/mips/mips.md: Likewise.
18609169689Skan	* config/ns32k/NOTES: Likewise.
18610169689Skan
18611169689Skan2003-06-17  Ranjit Mathew  <rmathew@hotmail.com>
18612169689Skan	    Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
18613169689Skan
18614169689Skan	* doc/sourcebuild.texi (libgcj Tests): Simplify instructions on how
18615169689Skan	to run Java runtime tests separately.
18616169689Skan
18617169689Skan2003-06-17  Kazu Hirata  <kazu@cs.umass.edu>
18618169689Skan
18619169689Skan	* config/h8300/h8300-protos.h: Update a comment.
18620169689Skan
18621169689Skan2003-06-17  J"orn Rennecke <joern.rennecke@superh.com>
18622169689Skan
18623169689Skan	* sh.h (ROUND_TYPE_ALIGN, LOCAL_ALIGNMENT): Complex modes
18624169689Skan	are aligned like integral modes.
18625169689Skan	(SH5_WOULD_BE_PARTIAL_NREGS): Also test for CDImode and DCmode.
18626169689Skan
18627169689Skan	* sh.h (EXTRA_CONSTRAINT_Csy): Allow PIC_DIRECT_ADDR_P.
18628169689Skan	(LEGITIMATE_PIC_OPERAND_P): Allow LABEL_REF.
18629169689Skan	* sh.md (*pt): Remove.
18630169689Skan
18631169689Skan	* sh.h (REG_ALLOC_ORDER): Avoid squandering call-saved registers.
18632169689Skan
18633169689Skan	* sh.md (return_media_rte): New pattern.
18634169689Skan	(return_media): Use it.
18635169689Skan
18636169689Skan2003-06-17  Kazu Hirata  <kazu@cs.umass.edu>
18637169689Skan
18638169689Skan	* doc/contrib.texi: Replace Hitachi with Renesas.
18639169689Skan	* doc/install.texi: Likewise.
18640169689Skan	* doc/invoke.texi: Likewise.
18641169689Skan
18642169689Skan2003-06-17  J"orn Rennecke <joern.rennecke@superh.com>
18643169689Skan
18644169689Skan	* sh.h (CONST_OK_FOR_J16): Fix HOST_BITS_PER_WIDE_INT >= 64
18645169689Skan	behaviour.
18646169689Skan
18647169689Skan2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
18648169689Skan
18649169689Skan	* doc/tm.texi (MD_FALLBACK_FRAME_STATE_FOR): Mention MAKE_THROW_FRAME.
18650169689Skan
18651169689Skan	* config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Partly revert
18652169689Skan	2003-01-23 patch. Corrected to handle kernels with changed ucontext.
18653169689Skan
18654169689Skan	* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Error on invalid
18655169689Skan	-msdata=eabi usages.
18656169689Skan
18657169689Skan	* gcc/config/rs6000/sysv4.h (USE_LIBC_1): Delete all uses.
18658169689Skan
18659169689Skan2003-06-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18660169689Skan
18661169689Skan	* alloc-pool.c: Don't check HAVE_LONG_DOUBLE.
18662169689Skan	* fixinc/gnu-regex.c: Don't define `volatile'.
18663169689Skan	* ggc-page.c: Don't check HAVE_LONG_DOUBLE.
18664169689Skan	* ggc-simple.c: Likewise.
18665169689Skan	* system.h: Don't define `volatile'.
18666169689Skan
18667169689Skan	* aclocal.m4 (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Delete.
18668169689Skan	* configure.in (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Don't
18669169689Skan	call these macros.
18670169689Skan	* config.in, configure: Regenerated.
18671169689Skan
18672169689Skan2003-06-17  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
18673169689Skan
18674169689Skan	* config/ia64/ia64.c (ia64_expand_builtin, case IA64_BUILTIN_BSP):
18675169689Skan	Handle POINTERS_EXTEND_UNSIGNED.
18676169689Skan
18677169689Skan2003-06-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
18678169689Skan
18679169689Skan	* config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
18680169689Skan	!TARGET_IRIX6]: Define as NULL.
18681169689Skan
18682169689Skan2003-06-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
18683169689Skan
18684169689Skan	* config/sparc/sparc.c (sparc_va_arg): Don't align 16-byte+ structures.
18685169689Skan
18686169689Skan2003-06-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
18687169689Skan
18688169689Skan	* dbxout.c (dbxout_source_line_counter): New global variable.
18689169689Skan	Mark it with GTY(()).
18690169689Skan	(dbxout_source_line): Increment dbxout_source_line_counter
18691169689Skan	and pass it to ASM_OUTPUT_SOURCE_LINE.
18692169689Skan	* sdbout.c (sdbout_source_line_counter): New global variable.
18693169689Skan	Mark it with GTY(()).
18694169689Skan	(unnamed_struct_number): Mark it with GTY(()).
18695169689Skan	(sdbout_source_line): Increment sdbout_source_line_counter
18696169689Skan	and pass it to ASM_OUTPUT_SOURCE_LINE.
18697169689Skan	* xcoffout.c (ASM_OUTPUT_SOURCE_LINE): Add third parameter
18698169689Skan	(xcoffout_source_line): Pass 0 as third argument to
18699169689Skan	ASM_OUTPUT_SOURCE_LINE.
18700169689Skan	(xcoffout_begin_prologue): Likewise.
18701169689Skan	* config/dbxout.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
18702169689Skan	Use it instead of 'sym_lineno' but without incrementing it.
18703169689Skan	* config/dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
18704169689Skan	* config/lynx.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
18705169689Skan	* config/ptx4.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
18706169689Skan	* config/alpha/alpha.c (alpha_start_function): Pass 0 as third
18707169689Skan	argument to ASM_OUTPUT_SOURCE_LINE.
18708169689Skan	* config/alpha/alpha.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
18709169689Skan	* config/arm/aout.h: Remove useless comment.
18710169689Skan	* config/avr/avr.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
18711169689Skan	* config/i960/i960.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
18712169689Skan	* config/m32r/m32r.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
18713169689Skan	Use it instead of 'sym_lineno' but without incrementing it.
18714169689Skan	* config/m68k/hp320.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
18715169689Skan	* config/mcore/mcore-pe.h (ASM_OUTPUT_SOURCE_LINE): Add third
18716169689Skan	parameter. Use it instead of 'sym_lineno' but without incrementing it.
18717169689Skan	* config/mips/mips.c (mips_output_function_prologue): Pass 0 as third
18718169689Skan	argument to ASM_OUTPUT_SOURCE_LINE.
18719169689Skan	* config/mips/mips.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
18720169689Skan	* config/mmix/mmix.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
18721169689Skan	* config/pa/som.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
18722169689Skan	Use it instead of 'sym_lineno' but without incrementing it.
18723169689Skan	* config/rs6000/linux64.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
18724169689Skan	* config/sh/elf.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
18725169689Skan	* config/sparc/aout.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
18726169689Skan	* config/sparc/pbd.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
18727169689Skan	* doc/tm.texi (ASM_OUTPUT_SOURCE_LINE): Document third parameter.
18728169689Skan
18729169689Skan2003-06-17  Richard Sandiford  <rsandifo@redhat.com>
18730169689Skan
18731169689Skan	* config/mips/mips-protos.h (mips_expand_block_move): Declare.
18732169689Skan	(expand_block_move, output_block_move): Remove.
18733169689Skan	* config/mips/mips.h (enum block_move_type): Remove.
18734169689Skan	* config/mips/mips.c (block_move_call, output_block_move): Remove.
18735169689Skan	(mips_block_move_straight, mips_adjust_block_mem): New function.
18736169689Skan	(mips_block_move_loop): Renamed and reworked from block_move_loop.
18737169689Skan	(mips_expand_block_move): Likewise expand_block_move.  Return false
18738169689Skan	to fall back on the target-independent code.
18739169689Skan	* config/mips/mips.md (movstrsi): Use mips_expand_block_move.
18740169689Skan	(movstrsi_internal*): Remove.
18741169689Skan
18742169689Skan2003-06-16  Zack Weinberg  <zack@codesourcery.com>
18743169689Skan
18744169689Skan	* cpplib.h, cpphash.h, cppcharset.c, cpperror.c, cppexp.c
18745169689Skan	* cppfiles.c, cpphash.c, cppinit.c, cpplex.c, cpplib.c
18746169689Skan	* cppmacro.c, cpppch.c, cpptrad.c, cppspec.c: Convert to
18747169689Skan	ISO C: new-style function declarations, no need for PARAMS,
18748169689Skan	no special punctuation on indirect function calls, use string
18749169689Skan	constant concatenation where convenient.
18750169689Skan
18751169689Skan2003-06-17  Andreas Jaeger  <aj@suse.de>
18752169689Skan
18753169689Skan	* rtl.h: Remove declarations from coverage.h.
18754169689Skan	* toplev.c: Include coverage.h.
18755169689Skan	* Makefile.in (toplev.o): Depend on coverage.h.
18756169689Skan
18757169689Skan	* toplev.h: Remove extra declaration of print_time.
18758169689Skan
18759169689Skan	* gengtype.c (close_output_files): Remove duplicated declaration.
18760169689Skan
18761169689Skan2003-06-16  Nathanael Nerode  <neroden@gcc.gnu.org>
18762169689Skan
18763169689Skan	* config/sparc/sysv4.h: Remove target-independent comment;
18764169689Skan	replace "GNU CC" with "GCC".
18765169689Skan	* config/vxworks.h: Replace "GNU compiler" with "GCC".
18766169689Skan	* config/sparc/aout.h, config/sparc/biarch64.h, config/sparc/elf.h,
18767169689Skan	config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
18768169689Skan	config/sparc/lite.h, config/sparc/litecoff.h, config/sparc/liteelf.h,
18769169689Skan	config/sparc/netbsd-elf.h, config/sparc/openbsd.h,
18770169689Skan	config/sparc/rtemself.h, config/sparc/sol2-64.h,
18771169689Skan	config/sparc/sol2-bi.h, config/sparc/sol2-gas-bi.h,
18772169689Skan	config/sparc/sol2-gld-bi.h, config/sparc/sol2-gld.h,
18773169689Skan	config/sparc/sol2.h, config/sparc/sp64-aout.h,
18774169689Skan	config/sparc/sp64-elf.h, config/sparc/sp86x-elf.h,
18775169689Skan	config/sparc/sparc-protos.h, config/sparc/sysv4-only.h: Replace
18776169689Skan	"GNU compiler", "GNU CC" with "GCC".
18777169689Skan	* config/sparc/cypress.md, config/sparc/hypersparc.md,
18778169689Skan	config/sparc/sparc-modes.def, config/sparc/sparc.c,
18779169689Skan	config/sparc/sparc.md, config/sparc/sparclet.md,
18780169689Skan	config/sparc/supersparc.md, config/sparc/ultra1_2.md,
18781169689Skan	config/sparc/ultra3.md: Replace "GNU CC", "GNU Compiler", and
18782169689Skan	"GNU C Compiler" with "GCC".
18783169689Skan	* config/ip2k/ip2k.h: Replace "GNU CC" and "GNU compiler" with "GCC".
18784169689Skan
18785169689Skan2003-06-16  Aldy Hernandez  <aldyh@redhat.com>
18786169689Skan
18787169689Skan	* simplify-rtx.c (simplify_subreg): Do not over-extend vector
18788169689Skan	constants.
18789169689Skan
18790169689Skan	* testsuite/gcc.c-torture/execute/simd-4.c: New.
18791169689Skan
18792169689Skan2003-06-16  Nathanael Nerode  <neroden@gcc.gnu.org>
18793169689Skan
18794169689Skan	* config/ip2k/ip2k.h: Remove target-independent comments.
18795169689Skan
18796169689Skan	* config.gcc: Explicitly mention elfos.h in ip2k entry.
18797169689Skan	* config/ip2k/ip2k.h: Don't #include it here.
18798169689Skan
18799169689Skan2003-06-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18800169689Skan
18801169689Skan	* bitmap.c, builtins.c, c-incpath.c, cgraph.c, config/frv/frv.c,
18802169689Skan	config/mips/mips.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c,
18803169689Skan	dwarf2out.c, dwarfout.c, except.c, expr.c, expr.h, fold-const.c,
18804169689Skan	function.c, gcc.c, genoutput.c, gensupport.c, global.c,
18805169689Skan	haifa-sched.c, hashtable.c, ifcvt.c, integrate.c, local-alloc.c,
18806169689Skan	loop.c, mips-tdump.c, mips-tfile.c, mkdeps.c, protoize.c,
18807169689Skan	read-rtl.c, recog.h, reload1.c, sbitmap.c, ssa-dce.c,
18808169689Skan	stringpool.c, tlink.c, tree.c, varasm.c, varray.c: Don't use
18809169689Skan	the PTR macro.
18810169689Skan
18811169689Skan	* gengtype.c: Don't use UNION_INIT_ZERO.
18812169689Skan	* system.h (UNION_INIT_ZERO): Delete.
18813169689Skan
18814169689Skan2003-06-16  Richard Henderson  <rth@redhat.com>
18815169689Skan
18816169689Skan	* simplify-rtx.c (simplify_subreg): Use GET_MODE_SIZE instead of
18817169689Skan	GET_MODE_UNIT_SIZE when simplifying constant vectors.
18818169689Skan
18819169689Skan2003-06-16  Andreas Jaeger  <aj@suse.de>
18820169689Skan
18821169689Skan	* timevar.c (get_run_time): Remove function provided also by
18822169689Skan	libiberty.
18823169689Skan	* timevar.h: Remove get_run_time declaration.
18824169689Skan
18825169689Skan2003-06-16  Kazu Hirata  <kazu@cs.umass.edu>
18826169689Skan
18827169689Skan	* config/m68hc11/m68hc11.c (m68hc11_rtx_costs): Remove
18828169689Skan	unreachable code.
18829169689Skan
18830169689Skan2003-06-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18831169689Skan
18832169689Skan	* builtin-attrs.def, builtin-attrs.def, builtins.c, cpplex.c,
18833169689Skan	cpplib.c, gencheck.c, gengenrtl.c, machmode.def, protoize.c: Don't
18834169689Skan	use macros from "symcat.h", instead rely on ISO C.
18835169689Skan
18836169689Skan	* system.h: Don't include "symcat.h".
18837169689Skan	* configure.in (AC_C_STRINGIZE): Delete.
18838169689Skan	* config.in, configure: Regenerate.
18839169689Skan
18840169689Skan2003-06-16  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
18841169689Skan
18842169689Skan	* Makefile.in (install-mkheaders): Use INSTALL_SCRIPT for scripts.
18843169689Skan
18844169689Skan	* tree.h (STMT_CHECK): New macro.
18845169689Skan	Also upper-case argument names on all checking macros and
18846169689Skan	fix some whitespace problems; assume CODE argument does not
18847169689Skan	have side-effects.
18848169689Skan
18849169689Skan2003-06-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18850169689Skan
18851169689Skan	* scan.h: Convert to ISO C.
18852169689Skan	* system.h: Likewise.
18853169689Skan
18854169689Skan	* c-format.c (dynamic_format_types): New pointer for dynamic data.
18855169689Skan	(find_length_info_modifier_index, init_dynamic_asm_fprintf_info):
18856169689Skan	New functions split out of...
18857169689Skan	(handle_format_attribute): ...here.
18858169689Skan
18859169689Skan2003-06-16  J"orn Rennecke <joern.rennecke@superh.com>
18860169689Skan
18861169689Skan	* sh.h (REG_CLASS_FROM_LETTER): Change to:
18862169689Skan	(REG_CLASS_FROM_CONSTRAINT).
18863169689Skan	(CONST_OK_FOR_I): Rename to:
18864169689Skan	(CONST_OK_FOR_I08).  Changed all users.
18865169689Skan	(CONST_OK_FOR_J): Rename to:
18866169689Skan	(CONST_OK_FOR_I16).  Changed all users.
18867169689Skan	(CONST_OK_FOR_K): Rename to:
18868169689Skan	(CONST_OK_FOR_P27).  Changed all users.
18869169689Skan	(CONST_OK_FOR_L): Rename to:
18870169689Skan	(CONST_OK_FOR_K08).  Changed all users.
18871169689Skan	(CONST_OK_FOR_O): Rename to:
18872169689Skan	(CONST_OK_FOR_I06).  Changed all users.
18873169689Skan	(CONST_OK_FOR_P): Rename to:
18874169689Skan	(CONST_OK_FOR_I10).  Changed all users.
18875169689Skan	(CONSTRAINT_LEN, CONST_OK_FOR_I, CONST_OK_FOR_J16): Define.
18876169689Skan	(CONST_OK_FOR_J, CONST_OK_FOR_K, CONST_OK_FOR_P): Likewise.
18877169689Skan	(EXTRA_CONSTRAINT_A, EXTRA_CONSTRAINT_Bsc): Likewise.
18878169689Skan	(EXTRA_CONSTRAINT_B, PIC_OFFSET_P, PIC_DIRECT_ADDR_P): Likewise.
18879169689Skan	(EXTRA_CONSTRAINT_Cpg, EXTRA_CONSTRAINT_C): Likewise.
18880169689Skan	(EXTRA_MEMORY_CONSTRAINT,(EXTRA_CONSTRAINT_Sr0): Likewise.
18881169689Skan	(CONST_OK_FOR_LETTER_P): Replace with
18882169689Skan	(CONST_OK_FOR_CONSTRAINT_P).
18883169689Skan	(EXTRA_CONSTRAINT_S): Rename to:
18884169689Skan	(EXTRA_CONSTRAINT_C16).  Changed all users.
18885169689Skan	(MOVI_SHORI_BASE_OPERAND_P): Don't allow direct addresses.
18886169689Skan	(EXTRA_CONSTRAINT_T): Rename to:
18887169689Skan	(EXTRA_CONSTRAINT_Csy).  Changed all users.
18888169689Skan	(EXTRA_CONSTRAINT_Z): Remove.
18889169689Skan	(EXTRA_CONSTRAINT): Replace with:
18890169689Skan	(EXTRA_CONSTRAINT_STR).
18891169689Skan	(EXTRA_CONSTRAINT_U): Rename to:
18892169689Skan	 (EXTRA_CONSTRAINT_Z).  Changed all users.
18893169689Skan	* sh.c (and_operand): Use CONST_OK_FOR_J16.
18894169689Skan	* sh.md (cmpeqsi_t-1, cmpeqsi_t, adddi3_media): Use new constraints.
18895169689Skan	(addsi3_media, addsi3_compact, andsi3_compact, anddi3): Likewise.
18896169689Skan	(iorsi3, iordi3, xorsi3, xordi3, ashlsi3_std, ashlhi3_k): Likewise.
18897169689Skan	(lshrsi3_k, movsi_i, movsi_ie, movsi_i_lowpart, movsi_media): Likewise.
18898169689Skan	(movsi_media_nofpu, movqi_media, movhi_i, movhi_media): Likewise.
18899169689Skan	(*movdi_i, movdi_media, movdi_media_nofpu, shori_media): Likewise.
18900169689Skan	(movdf_media, movdf_media_nofpu, movv2sf_i, movv4sf_i): Likewise.
18901169689Skan	(movsf_media, movsf_media_nofpu, movsi_y, beq_media): Likewise.
18902169689Skan	(beq_media_i, bne_media, pt, ptb, movv8qi_i, movv2hi_i): Likewise.
18903169689Skan	(movv4hi_i, movv2si_i, negcmpeqv8qi, negcmpeqv2si): Likewise.
18904169689Skan	(negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si, negcmpgtv4hi): Likewise.
18905169689Skan	(mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub, mextr_rl, mextr_lr): Likewise.
18906169689Skan	(mextr1, mextr2, mextr3, mextr4, mextr5, mextr6, mextr7): Likewise.
18907169689Skan	(mperm_w, mperm_w_little, mperm_w_big, msad_ubq_i): Likewise.
18908169689Skan	(mshards_q, mshfhi_b, mshflo_b, mshf4_b, mshf0_b, mshfhi_l): Likewise.
18909169689Skan	(mshflo_l, mshf4_l, mshf0_l, mshfhi_w, mshflo_w, mshf4_w): Likewise.
18910169689Skan	(mshf0_w, mshflo_w_x, mshfhi_l_di, mshfhi_l_di_rev): Likewise.
18911169689Skan	(mshflo_l_di_rev, mshflo_l_di_x, concat_v2sf): Likewise.
18912169689Skan	(mshflo_l_di_x_rev, subv2si3, subv4hi3, sssubv2si3): Likewise.
18913169689Skan	(sssubv4hi3): Likewise.
18914169689Skan	(movsf_i): Change I[08]/r to G/r.
18915169689Skan	(movsf_ie): Change f/{G,H}/c/X to f/{G,H}/c/Bsc.
18916169689Skan
18917169689Skan	* sh.c (sh_output_mi_thunk): Use CONST_OK_FOR_ADD.
18918169689Skan
18919169689Skan2003-06-16  Vladimir Makarov  <vmakarov@redhat.com>
18920169689Skan
18921169689Skan	* config/i386/i386.c (ix86_memory_move_cost): Fix typo.
18922169689Skan
18923169689Skan2003-06-16  Andreas Jaeger  <aj@suse.de>
18924169689Skan
18925169689Skan	* basic-block.h: Remove duplicate prototype of
18926169689Skan	note_prediction_to_br_prob.
18927169689Skan
18928169689Skan	* tree.h: Remove duplicate prototype of strip_float_extensions.
18929169689Skan
18930169689Skan2003-06-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
18931169689Skan
18932169689Skan	* config/c4x/c4x.c: Don't include "c-tree.h".
18933169689Skan	* config/pa/pa.c: Likewise.
18934169689Skan	* langhooks.c: Likewise.
18935169689Skan	* tree.h (poplevel): Declare.
18936169689Skan
18937169689Skan2003-06-16  Kazu Hirata  <kazu@cs.umass.edu>
18938169689Skan
18939169689Skan	* config/h8300/h8300.c (const_costs): Move this to ...
18940169689Skan	(h8300_rtx_costs): ... here.
18941169689Skan
18942169689Skan2003-06-16  Roger Sayle  <roger@eyesopen.com>
18943169689Skan
18944169689Skan	* optabs.h (enum optab_index): Add new OTI_tan and OTI_atan.
18945169689Skan	(tan_optab, atan_optab): Define corresponding macros.
18946169689Skan	* optabs.c (init_optabs): Initialize tan_optab and atan_optab.
18947169689Skan	* genopinit.c (optabs): Implement tan_optab and atan_optab
18948169689Skan	using tan?f2 and atan?f2 patterns.
18949169689Skan	* builtins.c (expand_builtin_mathfn): Handle BUILT_IN_TAN{,F,L}
18950169689Skan	using tan_optab, and BUILT_IN_ATAN{,F,L} using atan_optab.
18951169689Skan	Change the default value of errno_set to false.
18952169689Skan	(expand_builtin): Expand BUILT_IN_TAN{,F,L} and BUILT_IN_ATAN{,F,L}
18953169689Skan	using expand_builtin_mathfn.
18954169689Skan
18955169689Skan	* config/i386/i386.md (atansf2, atandf2, atanxf2, atantf2): New
18956169689Skan	expander patterns implemented using existing atan2?f3 patterns.
18957169689Skan
18958169689Skan2003-06-16  Roger Sayle  <roger@eyesopen.com>
18959169689Skan
18960169689Skan	* expr.c (expand_expr <PLUS_EXPR>): If operand_equal_p considers
18961169689Skan	both operands of the addition equal, reuse the expanded RTL.
18962169689Skan	(expand_expr <MULT_EXPR>): Likewise for multiplication.
18963169689Skan
18964169689Skan2003-06-16  Roger Sayle  <roger@eyesopen.com>
18965169689Skan	    Jeff Law  <law@redhat.com>
18966169689Skan
18967169689Skan	* fold-const.c (operand_equal_p): Consider two calls to "const"
18968169689Skan	functions with identical non-volatile arguments to be equal.
18969169689Skan	Consider the FUNCTION_DECL for the "__builtin_foo" form of a
18970169689Skan	built-in function to be equal to the "foo" form.
18971169689Skan
18972169689Skan2003-06-16  Nathanael Nerode  <neroden@gcc.gnu.org>
18973169689Skan
18974169689Skan	* config/rs6000/sysv4le.h: Remove target-independent comment.
18975169689Skan	Replace "GNU compiler" with "GCC" in comment.
18976169689Skan
18977169689Skan2003-06-16  Andreas Jaeger  <aj@suse.de>
18978169689Skan
18979169689Skan	* tracer.c: Remove duplicate declaration.
18980169689Skan
18981169689Skan	* toplev.c: Remove extra declaration of decode_d_option.
18982169689Skan
18983169689Skan	* ssa.c: Remove duplicate declaration.
18984169689Skan
18985169689Skan	* sreal.c: Remove extra declaration of dump_sreal.
18986169689Skan
18987169689Skan	* reload1.c: Remove duplicate declarations.
18988169689Skan
18989169689Skan	* integrate.c: Remove extra declaration of
18990169689Skan	set_decl_abstract_flags.
18991169689Skan
18992169689Skan	* flow.c: Remove extra declaration of dump_flow_info.
18993169689Skan
18994169689Skan	* alias.c: Remove extra declaration of get_addr.
18995169689Skan
18996169689Skan2003-06-16  Nathanael Nerode  <neroden@gcc.gnu.org>
18997169689Skan
18998169689Skan	* config/rtems.h, config/sol2.h, config/svr4.h, config/usegas.h,
18999169689Skan	config/vxworks.h: GNU CC -> GCC.
19000169689Skan
19001169689Skan	* convert.c, dwarf2out.c, dwarfout.c, emit-rtl.c, function.c,
19002169689Skan	lists.c, print-rtl.c, print-tree.c, read-rtl.c, rtl-error.c,
19003169689Skan	stmt.c, toplev.c, integrate.h, loop.h, machmode.h, rtl.h,
19004169689Skan	ssa.h, tree.def: Replace overly specific references to "GNU C"
19005169689Skan	and "GNU C Compiler" with references to "GCC".
19006169689Skan
19007169689Skan2003-06-16  J"orn Rennecke <joern.rennecke@superh.com>
19008169689Skan
19009169689Skan	* sh.c (prepare_move_operand): Check if operand 0 is an invalid
19010169689Skan	memory reference.  Fix test that checks if operand 1 is using r0.
19011169689Skan	* sh.md (movhi_i): Don't allow st.w r0,@(rX,rY) .
19012169689Skan
19013169689Skan	* defaults.h (REG_CLASS_FROM_CONSTRAINT): Only define if not already
19014169689Skan	defined.
19015169689Skan
19016169689Skan2003-06-15  Nathan Sidwell  <nathan@codesourcery.com>
19017169689Skan
19018169689Skan	* function.h (struct emit_status): Remove x_last_linenum,
19019169689Skan	x_last_filename. Add x_last_location.
19020169689Skan	* rtl.h: #include "input.h".
19021169689Skan	(NOTE_DATA): New.
19022169689Skan	* cfglayout.c (duplicate_insn_chain): Use emit_line_note for line
19023169689Skan	number notes.
19024169689Skan	* emit-rtl.c (last_linenum, last_filename): Remove.
19025169689Skan	(last_location): New.
19026169689Skan	(emit_line_note_after): LINE must always be >= 0.
19027169689Skan	(emit_line_note): Likewise. Check not duplicate here...
19028169689Skan	(emit_note): ... rather than here.
19029169689Skan	(emit_line_note_force, force_next_line_note, init_emit): Adjust.
19030169689Skan	* integrate.c (expand_inline_function): Use emit_line_note for
19031169689Skan	line number notes.
19032169689Skan	(copy_insn_list): Likewise.
19033169689Skan	* unroll.c (copy_loop_body): Likewise.
19034169689Skan	* Makefile.in (RTL_H): Add input.h.
19035169689Skan
19036169689Skan2003-06-16  Richard Sandiford  <rsandifo@redhat.com>
19037169689Skan
19038169689Skan	* optabs.c (emit_libcall_block): Don't hoist insns past a label.
19039169689Skan
19040169689Skan2003-06-16  Richard Henderson  <rth@redhat.com>
19041169689Skan
19042169689Skan	* config/alpha/alpha-protos.h, config/alpha/elf.h,
19043169689Skan	config/alpha/osf.h, config/alpha/unicosmk.h, config/alpha/vms.h,
19044169689Skan	config/alpha/vms-cc.c, config/alpha/vms-ld.c: Update to ISO C.
19045169689Skan	* config/alpha/alpha.c: Likewise.  Move targetm init to end of file.
19046169689Skan	Remove unneeded static function decls.
19047169689Skan
19048169689Skan2003-06-16  Neil Booth  <neil@daikokuya.co.uk>
19049169689Skan
19050169689Skan	* c-opts.c (c_common_handle_option): s/on/value/.
19051169689Skan	(OPT_fabi_version_, OPT_ftabstop_, OPT_ftemplate_depth_): Use value
19052169689Skan	directly rather than converting the argument.
19053169689Skan	* c.opt: Update docs.  Use UInteger where appropriate.
19054169689Skan	* common.opt: Use UInteger where appropriate.
19055169689Skan	* opts.c (integral_argument): New.
19056169689Skan	(handle_argument): Handle integral arguments, and optional
19057169689Skan	joined arguments.
19058169689Skan	(common_handle_option): Update.
19059169689Skan	* opts.h (CL_MISSING_OK, CL_UINTEGER): New.
19060169689Skan	* opts.sh: Handle JoinedOrMissing and UInteger flags.
19061169689Skan
19062169689Skan2003-06-16  Neil Booth  <neil@daikokuya.co.uk>
19063169689Skan
19064169689Skan	* config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Remove
19065169689Skan	unnecessary extern declaration.
19066169689Skan
19067169689Skan2003-06-15  Nathanael Nerode  <neroden@gcc.gnu.org>
19068169689Skan
19069169689Skan	* config/gofast.h, config/interix.h, config/interix3.h,
19070169689Skan	config/libgloss.h, config/linux-aout.h, config/linux.h,
19071169689Skan	config/lynx-ng.h, config/lynx.h: GNU CC -> GCC.
19072169689Skan	* config/kaos.h: "GNU compiler" -> GCC.
19073169689Skan	* config/linux-aout.h, config/lynx.h: Clarify comment describing file.
19074169689Skan
19075169689Skan	* config/ip2k/crt0.S, config/ip2k/ip2k-protos.h,
19076169689Skan	config/ip2k/ip2k.c, config/ip2k/ip2k.md, config/ip2k/libgcc.S:
19077169689Skan	GNU CC -> GCC.
19078169689Skan
19079169689Skan	* config/svr3.h: Remove #if 0 code, misleading comments.
19080169689Skan	GNU CC -> GCC.
19081169689Skan
19082169689Skan2003-06-15  Zack Weinberg  <zack@codesourcery.com>
19083169689Skan
19084169689Skan	* vmsdbgout.c (vmsdbgout_finish): Rename parameter to
19085169689Skan	main_input_filename to avoid conflict with input_filename macro.
19086169689Skan
19087169689Skan2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
19088169689Skan
19089169689Skan	* config/mips/mips.h (asm_file_name, g_switch_set,
19090169689Skan	g_switch_value): Remove.
19091169689Skan	* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Remove
19092169689Skan	unnecessary extern declarations.
19093169689Skan
19094169689Skan2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
19095169689Skan
19096169689Skan	* config/frv/frv.h: Remove declaration of g_switch_value.
19097169689Skan	* config/m32r/m32r.h: Remove declaration of g_switch_value.
19098169689Skan	* config/m68hc11/m68hc11.c: Remove declaration of asm_file_name.
19099169689Skan
19100169689Skan2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
19101169689Skan
19102169689Skan	* opts.sh: Quote '+' in regex.
19103169689Skan
19104169689Skan2003-06-15  Andrew Pinski <pinskia@physics.uc.edu>
19105169689Skan
19106169689Skan	* config/rs6000/t-rs6000: Add dependence of cfglayout.h to rs6000.o.
19107169689Skan	* config/rs6000/rs6000.c: Include cfglayout.h.
19108169689Skan	* config/alpha/alpha.c: Likewise.
19109169689Skan	* config/ia64/ia64.c: Likewise.
19110169689Skan	* config/sparc/sparc.c: Likewise.
19111169689Skan	* config/sh/sh.c: Likewise.
19112169689Skan
19113169689Skan2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
19114169689Skan
19115169689Skan	* opts.sh: Quote '+' in regex.
19116169689Skan
19117169689Skan2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
19118169689Skan
19119169689Skan	* c-opts.c (lang_flags): Update for new spelling of flags.
19120169689Skan	(write_langs): Similarly.
19121169689Skan	* c.opt: Specify languages.
19122169689Skan	* opts.h: Remove languages.
19123169689Skan	* opts.sh: Recognise front-end defined languages.
19124169689Skan	* doc/sourcebuild.texi: Update.
19125169689Skan
19126169689Skan2003-06-15  Andreas Jaeger  <aj@suse.de>
19127169689Skan
19128169689Skan	* alloc-pool.c: Convert to ISO C90 prototypes.
19129169689Skan	* alloc-pool.h: Likewise.
19130169689Skan	* alias.c: Likewise.
19131169689Skan	* attribs.c: Likewise.
19132169689Skan	* bb-reorder.c: Likewise.
19133169689Skan	* bitmap.h: Likewise.
19134169689Skan	* bitmap.c: Likewise.
19135169689Skan	* builtins.c: Likewise.
19136169689Skan
19137169689Skan	* tree.h: Convert prototypes of attribs.c to ISO C90.
19138169689Skan	* basic-block.h: Convert prototypes of bb-reorder.c to ISO C90.
19139169689Skan	* rtl.h: Convert prototypes of alias.c and builtins.c to ISO C90.
19140169689Skan	* expr.h: Convert prototypes of builtins.c to ISO C90.
19141169689Skan
19142169689Skan2003-06-15  Roger Sayle  <roger@eyesopen.com>
19143169689Skan
19144169689Skan	* config/i386/i386.md (expsf2, expdf2, expxf2): New patterns to
19145169689Skan	implement exp, expf and expl built-ins as inline x87 intrinsics.
19146169689Skan	(UNSPEC_FSCALE, UNSPEC_FRNDINT, UNSPEC_F2XM1): New unspecs to
19147169689Skan	represent x87's fscale, frndint and f2xm1 insns respectively.
19148169689Skan	(*fscale_sfxf3, *fscale_dfxf3, *fscale_xf3): New insn patterns
19149169689Skan	to encode x87's "fscale" instruction followed by a pop.
19150169689Skan	(*frndintxf2): New insn pattern for "frndint".
19151169689Skan	(*f2xm1xf2): New insn pattern for "f2xm1".
19152169689Skan
19153169689Skan	* reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FRNDINT and
19154169689Skan	UNSPEC_F2XM1 like UNSPEC_{SIN,COS} and handle UNSPEC_FSCALE like
19155169689Skan	UNSPEC_FPATAN.
19156169689Skan
19157169689Skan2003-06-15  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
19158169689Skan
19159169689Skan	* gencheck.c (main): Avoid generating duplicate macros.
19160169689Skan
19161169689Skan	* Makefile.in (stagefeedback-start): Use $(SUBDIRS) instead of
19162169689Skan	knowing names of language subdirectories.
19163169689Skan
19164169689Skan2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
19165169689Skan
19166169689Skan	* c-pch.c (asm_file_name): Remove.
19167169689Skan	* common.opt: Add more switches.
19168169689Skan	* flags.h (g_switch_set): Boolify.
19169169689Skan	* opts.c (g_switch_value, g_switch_set, exit_after_options,
19170169689Skan	version_flag): Move from toplev.c.
19171169689Skan	(common_handle_option): Handle more switches from toplev.c.
19172169689Skan	* toplev.c (display_help, display_target_options, decode_d_option,
19173169689Skan	print_version): Make non-static, remove prototypes.
19174169689Skan	(aux_base_name, asm_file_name, aux_info_file_name): Constify.
19175169689Skan	(version_flag, g_switch_value, g_switch_set, exit_after_options):
19176169689Skan	Remove.
19177169689Skan	(independent_decode_option): Move some handlers to opts.c.
19178169689Skan	* toplev.h (aux_info_file_name, aux_base_name, asm_file_name,
19179169689Skan	exit_after_options, version_flag, display_help, display_target_options,
19180169689Skan	print_version, decode_d_option): New.
19181169689Skan
19182169689Skan2003-06-15  Kazu Hirata  <kazu@cs.umass.edu>
19183169689Skan
19184169689Skan	* config/alpha/alpha.md: Follow spelling conventions.
19185169689Skan	* config/arm/arm.c: Likewise.
19186169689Skan	* config/arm/arm.h: Likewise.
19187169689Skan	* config/arm/arm.md: Likewise.
19188169689Skan	* config/arm/crtn.asm: Likewise.
19189169689Skan	* config/m32r/m32r.c: Likewise.
19190169689Skan	* config/m32r/m32r.md: Likewise.
19191169689Skan	* config/rs6000/rs6000.c: Likewise.
19192169689Skan
19193169689Skan2003-06-15  Richard Henderson  <rth@redhat.com>
19194169689Skan
19195169689Skan	* config/alpha/alpha.c (alpha_output_mi_thunk_osf): Call
19196169689Skan	insn_locators_initialize.
19197169689Skan	* config/ia64/ia64.c (ia64_output_mi_thunk): Likewise.
19198169689Skan	* config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise.
19199169689Skan	* config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.
19200169689Skan	* config/sh/sh.c (sh_output_mi_thunk): Do it later.
19201169689Skan
19202169689Skan2003-06-15  Kazu Hirata  <kazu@cs.umass.edu>
19203169689Skan
19204169689Skan	* builtins.c (expand_builtin_expect_jump): Remove redundant
19205169689Skan	tests that are also in any_condjump_p().
19206169689Skan
19207169689Skan2003-06-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19208169689Skan
19209169689Skan	* libgcc2.c: Delete sysV68 L_trampoline section.
19210169689Skan	* config/m68k/mot3300-crt0.S: Delete file.
19211169689Skan	* config/m68k/mot3300Mcrt0.S: Likewise.
19212169689Skan
19213169689Skan2003-06-15  Nathanael Nerode  <neroden@gcc.gnu.org>
19214169689Skan
19215169689Skan	* config/aoutos.h: Remove.
19216169689Skan	* config.gcc: Remove reference to aoutos.h.
19217169689Skan	* config/m68k/m68k-aout.h: Remove reference to aoutos.h.
19218169689Skan
19219169689Skan2003-06-14  Kazu Hirata  <kazu@cs.umass.edu>
19220169689Skan
19221169689Skan	* doc/install.texi: Follow spelling conventions.
19222169689Skan	* doc/tm.texi: Likewise.
19223169689Skan	* config/fp-bit.c: Likewise.
19224169689Skan	* config/arm/arm.c: Likewise.
19225169689Skan	* config/frv/frv.c: Likewise.
19226169689Skan	* config/ns32k/NOTES: Likewise.
19227169689Skan	* config/ns32k/STATUS: Likewise.
19228169689Skan
19229169689Skan2003-06-14  Roger Sayle  <roger@eyesopen.com>
19230169689Skan	    Zack Weinberg  <zack@codesourcery.com>
19231169689Skan
19232169689Skan	* rtl.h (STORE_FLAG_VALUE): Remove default definition from here.
19233169689Skan	* defaults.h (STORE_FLAG_VALUE): Move default definition to here.
19234169689Skan	* doc/tm.texi (STORE_FLAG_VALUE): Document the default value.
19235169689Skan
19236169689Skan	* config/alpha/alpha.h (STORE_FLAG_VALUE): Remove definition.
19237169689Skan	* config/arc/arc.h (STORE_FLAG_VALUE): Likewise.
19238169689Skan	* config/arm/arm.h (STORE_FLAG_VALUE): Likewise.
19239169689Skan	* config/cris/cris.h (STORE_FLAG_VALUE): Likewise.
19240169689Skan	* config/i370/i370.h (STORE_FLAG_VALUE): Likewise.
19241169689Skan	* config/i386/i386.h (STORE_FLAG_VALUE): Likewise.
19242169689Skan	* config/i960/i960.h (STORE_FLAG_VALUE): Likewise.
19243169689Skan	* config/ia64/ia64.h (STORE_FLAG_VALUE): Likewise.
19244169689Skan	* config/ip2k/ip2k.h (STORE_FLAG_VALUE): Likewise.
19245169689Skan	* config/m32r/m32r.h (STORE_FLAG_VALUE): Likewise.
19246169689Skan	* config/mcore/mcore.h (STORE_FLAG_VALUE): Likewise.
19247169689Skan	* config/mips/mips.h (STORE_FLAG_VALUE): Likewise.
19248169689Skan	* config/mmix/mmix.h (STORE_FLAG_VALUE): Likewise.
19249169689Skan	* config/ns32k/ns32k.h (STORE_FLAG_VALUE): Likewise.
19250169689Skan	* config/pa/pa.h (STORE_FLAG_VALUE): Likewise.
19251169689Skan	* config/pdp11/pdp11.h (STORE_FLAG_VALUE): Likewise.
19252169689Skan	* config/sh/sh.h (STORE_FLAG_VALUE): Likewise.
19253169689Skan	* config/sparc/sparc.h (STORE_FLAG_VALUE): Likewise.
19254169689Skan	* config/v850/v850.h (STORE_FLAG_VALUE): Likewise.
19255169689Skan	* config/xtensa/xtensa.h (STORE_FLAG_VALUE): Likewise.
19256169689Skan
19257169689Skan2003-06-14  Nathan Sidwell  <nathan@codesourcery.com>
19258169689Skan
19259169689Skan	* opts.sh (POSIXLY_CORRECT): Unset it.
19260169689Skan
19261169689Skan	* tree.h (init_function_start): Remove filename and line paramters.
19262169689Skan	* function.c (init_function_start): Remove filename and line
19263169689Skan	parameters. Use DECL_SOURCE_LOCATION.
19264169689Skan	* c-decl.c (store_parm_decls): Adjust init_function_start call.
19265169689Skan	(c_expand_body_1): Likewise.
19266169689Skan	* coverage.c (create_coverage): Likewise.
19267169689Skan	* objc/objc-act.c (build_tmp_function_decl): Set line number to
19268169689Skan	zero.
19269169689Skan	(hack_method_prototype): Adjust init_function_start call.
19270169689Skan
19271169689Skan2003-06-14  Richard Earnshaw  <rearnsha@arm.com>
19272169689Skan
19273169689Skan	PR target/3724
19274169689Skan	* arm/linux-elf.h (PROFILE_HOOK): Define.
19275169689Skan
19276169689Skan2003-06-14  Richard Earnshaw  <rearnsha@arm.com>
19277169689Skan
19278169689Skan	PR target/11183
19279169689Skan	* arm.h (CANNOT_CHANGE_MODE_CLASS): Define.
19280169689Skan
19281169689Skan2003-06-14  Roger Sayle  <roger@eyesopen.com>
19282169689Skan
19283169689Skan	* opts.sh: Work around a mysterious feature in cygwin's gawk
19284169689Skan	where specifying the input files explicitly has a different
19285169689Skan	behavior to piping them via stdin.
19286169689Skan
19287169689Skan2003-06-14  Neil Booth  <neil@daikokuya.co.uk>
19288169689Skan
19289169689Skan	* doc/sourcebuild.texi: Update.
19290169689Skan
19291169689Skan2003-06-14  Richard Earnshaw  <rearnsha@arm.com>
19292169689Skan
19293169689Skan	PR target/11183
19294169689Skan	* arm.c (output_move_double): Pass SImode to adjust_address.
19295169689Skan
19296169689Skan2003-06-14  Neil Booth  <neil@daikokuya.co.uk>
19297169689Skan
19298169689Skan	* Makefile.in: Update to use common.opt and lang_opt_files.
19299169689Skan	(c-options.c, c-options.h): Remove.
19300169689Skan	(options.c, options.h): Add.
19301169689Skan	* c-opts.c: Include options.h not c-options.h.
19302169689Skan	* common.opt: New file.
19303169689Skan	* configure, configure.in: Add lang_opt_files.
19304169689Skan	* opts.c: Include flags.h and diagnostic.h.
19305169689Skan	(common_handle_option): New.
19306169689Skan	(handle_option): Update to recognize common options and all
19307169689Skan	language-dependent options.
19308169689Skan	* opts.h (CL_F77, CL_JAVA, CL_ADA, CL_COMMON, CL_TREELANG): New.
19309169689Skan	(struct cl_option): Make flags of type int.
19310169689Skan	* opts.h: Flag option with front ends to which it applies.
19311169689Skan	Handle duplicate options.
19312169689Skan	* toplev.c (filename): Remove.
19313169689Skan	(independent_decode_option): Don't handle filenames and -quiet.
19314169689Skan	(process_options, do_compile): Update.
19315169689Skan
19316169689Skan2003-06-14  Nick Clifton  <nickc@redhat.com>
19317169689Skan
19318169689Skan	* doc/install.texi (Specific): Add description of different
19319169689Skan	ARM supported file format targets.
19320169689Skan
19321169689SkanSat Jun 14 11:12:04 CEST 2003  Jan Hubicka  <jh@suse.cz>
19322169689Skan
19323169689Skan	* reorg.c (emit_delay_sequence, dbr_schedule): Clear insn locators
19324169689Skan	inside delay slots.
19325169689Skan
19326169689Skan2003-06-13  Matt Kraai  <kraai@alumni.cmu.edu>
19327169689Skan
19328169689Skan	* unwind-c.c: Define NO_SIZE_OF_ENCODED_VALUE.
19329169689Skan	* unwind-pe.h (size_of_encoded_value): Do not define if
19330169689Skan	NO_SIZE_OF_ENCODED_VALUE is defined.
19331169689Skan
19332169689Skan2003-06-13  Roger Sayle  <roger@eyesopen.com>
19333169689Skan
19334169689Skan	* expr.c (expand_expr <COMPLEX_CST>): Handle the case of
19335169689Skan	expanding a complex constant into a CONCAT target.
19336169689Skan
19337169689Skan2003-06-13  Zack Weinberg  <zack@codesourcery.com>
19338169689Skan
19339169689Skan	* config/svr3.h (ASM_FILE_START): Don't use ASM_FILE_START_1.
19340169689Skan	(ASM_FILE_START_1): Delete.
19341169689Skan	* config/i386/att.h, config/i386/sco5.h,
19342169689Skan	config/i386/sysv3.h
19343169689Skan	(ASM_FILE_START_1): Delete.
19344169689Skan
19345169689Skan2003-06-13  Kelley Cook  <kelleycook@wideopenwest.com>
19346169689Skan
19347169689Skan	* config/i386/bsd.h: Remove ASM_FILE_START.
19348169689Skan	* config/i386/djgpp.h: Likewise.
19349169689Skan	* config/i386/gas.h (ASM_FILE_START): Output .file before .intel_syntax.
19350169689Skan
19351169689Skan	* config/i386/djgpp.h: Move included unix.h, bsd.h, gas.h to ...
19352169689Skan	* config.gcc (i[34567]86-pc-msdosdjgpp): ... here.
19353169689Skan
19354169689Skan2003-06-13  Vladimir Makarov  <vmakarov@redhat.com>
19355169689Skan
19356169689Skan	PR bootstrap/10835
19357169689Skan	* haifa-sched.c (max_lookahead_tries,
19358169689Skan	cached_first_cycle_multipass_dfa_lookahead,
19359169689Skan	cached_issue_rate): New variables.
19360169689Skan	(max_issue): Check the number of tries.
19361169689Skan	(choose_ready): Calculate max_lookahead_tries.
19362169689Skan	(sched_init): Check cached_issue_rate.
19363169689Skan
19364169689Skan2003-06-13  Richard Henderson  <rth@redhat.com>
19365169689Skan
19366169689Skan	* cfgbuild.c (make_edges): Set ABNORMAL with SIBCALL.
19367169689Skan	* cfgrtl.c (purge_dead_edges): Expect it too.
19368169689Skan
19369169689Skan2003-06-13  Jim Wilson  <wilson@tuliptree.org>
19370169689Skan	    Eric Botcazou  <ebotcazou@libertysurf.fr>
19371169689Skan
19372169689Skan	PR bootstrap/10983
19373169689Skan	* combine.c (make_extraction): Use gen_lowpart_for_combine
19374169689Skan	when extracting from a REG and not in the destination of a SET.
19375169689Skan
19376169689Skan2003-06-13  Doug Evans  <dje@sebabeach.org>
19377169689Skan
19378169689Skan	* tsystem.h (abort): Declare in inhibit_libc case to remove build
19379169689Skan	warnings for addvsi3, et.al.
19380169689Skan
19381169689Skan2003-06-13  Aldy Hernandez  <aldyh@redhat.com>
19382169689Skan
19383169689Skan	* c-common.c (handle_mode_attribute): Use VECTOR_MODE_P macro.
19384169689Skan
19385169689Skan	* simplify-rtx.c (simplify_subreg): Same.
19386169689Skan
19387169689Skan	* emit-rtl.c (gen_lowpart_common): Same.
19388169689Skan
19389169689Skan2003-06-13  Kazu Hirata  <kazu@cs.umass.edu>
19390169689Skan
19391169689Skan	* builtins.c: Fix comment typos.
19392169689Skan	* fold-const.c: Likewise.
19393169689Skan
19394169689Skan2003-06-13  Doug Evans  <dje@sebabeach.org>
19395169689Skan	    Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
19396169689Skan
19397169689Skan	* config/m32r/m32r-protos.h (m32r_pass_by_reference): Declare.
19398169689Skan	* config/m32r/m32r.c (m32r_pass_by_reference): New fn.
19399169689Skan	(m32r_va_arg): Use it.
19400169689Skan	* config/m32r/m32r.h (FUNCTION_ARG_PASS_BY_REFERENCE): Ditto.
19401169689Skan	(RETURN_IN_MEMORY): Ditto.
19402169689Skan
19403169689Skan2003-06-13  Nathanael Nerode  <neroden@gcc.gnu.org>
19404169689Skan
19405169689Skan	* c-typeck.c: Remove #if 0 clauses.
19406169689Skan
19407169689Skan	PR other/1494
19408169689Skan	* config/alpha/openbsd.h, config/i386/openbsd.h,
19409169689Skan	config/m68k/openbsd.h, config/sparc/openbsd.h: Remove
19410169689Skan	residual reference to EGCS.
19411169689Skan
19412169689Skan2003-06-13  Richard Earnshaw  <rearnsha@arm.com>
19413169689Skan
19414169689Skan	* arm.c (output_call_mem): If the address references the link-register
19415169689Skan	use an instruction sequence that avoids early-clobbering IP.
19416169689Skan	(eliminate_lr2ip): Delete.
19417169689Skan
19418169689Skan2003-06-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19419169689Skan
19420169689Skan	* c-format.c (format_types_orig): Disallow '*' width/precision in
19421169689Skan	asm_fprintf format checks.
19422169689Skan
19423169689Skan2003-06-13  Ulrich Weigand  <uweigand@de.ibm.com>
19424169689Skan
19425169689Skan	* config/s390/s390.c (s390_va_arg): Fix alignment when retrieving
19426169689Skan	non-integral types from integer register save area slots.
19427169689Skan
19428169689Skan2003-06-13  Nathanael Nerode  <neroden@gcc.gnu.org>
19429169689Skan
19430169689Skan	* config/i386/svr3dbx.h: GNU CC -> GCC; Intel 385 -> Intel 386.
19431169689Skan
19432169689Skan2003-06-13  Florian Weimer  <fw@deneb.enyo.de>
19433169689Skan
19434169689Skan	* doc/invoke.texi (SPARC Options): Document ``-mimpure-text''.
19435169689Skan
19436169689Skan2003-06-13  Kaz Kojima  <kkojima@gcc.gnu.org>
19437169689Skan
19438169689Skan	* config/sh/linux.h (TARGET_ASM_FILE_END): Set TARGET_ASM_FILE_END
19439169689Skan	to file_end_indicate_exec_stack.
19440169689Skan
19441169689Skan2003-06-12  Richard Henderson  <rth@redhat.com>
19442169689Skan
19443169689Skan	PR target/11089
19444169689Skan	* config/i386/i386.md (sse_movaps): Use an expander to force
19445169689Skan	one operand to be a register.
19446169689Skan	(sse_movups): Likewise.
19447169689Skan
19448169689Skan2003-06-13  Doug Evans  <dje@sebabeach.org>
19449169689Skan
19450169689Skan	Remove some build warnings.
19451169689Skan	* config/m32r/initfini.c (__CTOR_LIST__,__DTOR_LIST__): Attribute used.
19452169689Skan	(__do_global_ctors,__do_global_dtors): Ditto.
19453169689Skan
19454169689Skan2003-06-12  Richard Henderson  <rth@redhat.com>
19455169689Skan
19456169689Skan	PR middle-end/10557
19457169689Skan	* rtlanal.c (subreg_offset_representable_p): Relax subreg check.
19458169689Skan
19459169689Skan2003-06-13  Kazu Hirata  <kazu@cs.umass.edu>
19460169689Skan
19461169689Skan	* config/m32r/m32r.md: Fix a comment typo.
19462169689Skan
19463169689Skan2003-06-13  Eric Botcazou  <ebotcazou@libertysurf.fr>
19464169689Skan	    Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
19465169689Skan
19466169689Skan	PR target/10142
19467169689Skan	* config/sparc/sparc.c (function_arg_record_value_parms): Add
19468169689Skan	new 'stack' field.
19469169689Skan	(function_arg_record_value_1): Set 'stack' to 1 if we run out of
19470169689Skan	integer slots for an integer field.
19471169689Skan	(function_arg_record_value_3): Shift vector index.
19472169689Skan	(function_arg_record_value_2): Likewise.
19473169689Skan	(function_arg_record_value): Initialize 'stack' to 0.
19474169689Skan	Set 'stack' to 1 if we run out of integer slots for an integer field.
19475169689Skan	Generate (parallel [(expr_list (nil) ...) ...]) if 'stack' is set to 1.
19476169689Skan
19477169689Skan2003-06-13  Eric Botcazou  <ebotcazou@libertysurf.fr>
19478169689Skan
19479169689Skan	PR optimization/10955
19480169689Skan	* unroll.c (unroll_loop): Fix off-by-one bug.
19481169689Skan
19482169689Skan2003-06-12  Aldy Hernandez  <aldyh@redhat.com>
19483169689Skan
19484169689Skan	* config/rs6000/rs6000.c (function_arg): Remove typo.
19485169689Skan
19486169689Skan2003-06-12  Richard Henderson  <rth@redhat.com>
19487169689Skan
19488169689Skan	* config/i386/i386.c (legitimate_constant_p): Handle UNSPEC_NTPOFF
19489169689Skan	and UNSPEC_DTPOFF.
19490169689Skan
19491169689Skan2003-06-12  Richard Henderson  <rth@redhat.com>
19492169689Skan
19493169689Skan	PR middle-end/10475
19494169689Skan	* expmed.c (emit_store_flag): Use simplify_gen_subreg directly
19495169689Skan	for extracting sub-words.
19496169689Skan
19497169689Skan2003-06-12  Richard Henderson  <rth@redhat.com>
19498169689Skan
19499169689Skan	PR target/7594
19500169689Skan	* config/m68k/m68k.md (zero_extendhisi2): Use gen_lowpart_SUBREG.
19501169689Skan	(zero_extendqihi2, zero_extendqisi2): Likewise.
19502169689Skan
19503169689Skan2003-06-12  Aldy Hernandez  <aldyh@redhat.com>
19504169689Skan
19505169689Skan	* config/rs6000/rs6000.c (function_arg): Always split vectors for
19506169689Skan	e500 if it's a stdarg function.
19507169689Skan	(function_arg_advance): Advance 2 registers for vectors in a
19508169689Skan	stdarg function.
19509169689Skan	(init_cumulative_args): Initialize stdarg.
19510169689Skan	(rs6000_spe_function_arg): New.
19511169689Skan
19512169689Skan	* config/rs6000/rs6000.h (rs6000_args): Add stdarg.
19513169689Skan
19514169689Skan2003-06-12  Aldy Hernandez  <aldyh@redhat.com>
19515169689Skan
19516169689Skan	* config/rs6000/rs6000.h (MODES_TIEABLE_P): Add SPE vectors.
19517169689Skan
19518169689Skan2003-06-12  Roger Sayle  <roger@eyesopen.com>
19519169689Skan
19520169689Skan	PR middle-end/168
19521169689Skan	* fold-const.c (tree_expr_nonnegative_p):  Handle addition
19522169689Skan	and multiplication of zero extensions, floating point division,
19523169689Skan	and integer<->fp, fp<->fp and zero extension conversions.
19524169689Skan	The built-in ceil and floor functions preserve signedness.
19525169689Skan
19526169689Skan2003-06-12  Kazu Hirata  <kazu@cs.umass.edu>
19527169689Skan
19528169689Skan	* ChangeLog: Follow spelling conventions.
19529169689Skan	* ChangeLog.2: Likewise.
19530169689Skan	* c-decl.c: Likewise.
19531169689Skan	* cfgloop.h: Likewise.
19532169689Skan	* cgraph.c: Likewise.
19533169689Skan	* coverage.c: Likewise.
19534169689Skan	* cppcharset.c: Likewise.
19535169689Skan	* cpphash.h: Likewise.
19536169689Skan	* cpplex.c: Likewise.
19537169689Skan	* cpplib.c: Likewise.
19538169689Skan	* dbxout.c: Likewise.
19539169689Skan	* df.c: Likewise.
19540169689Skan	* dwarf2out.c: Likewise.
19541169689Skan	* dwarfout.c: Likewise.
19542169689Skan	* emit-rtl.c: Likewise.
19543169689Skan	* explow.c: Likewise.
19544169689Skan	* gcov-io.c: Likewise.
19545169689Skan	* gcov-io.h: Likewise.
19546169689Skan	* gcov.c: Likewise.
19547169689Skan	* gengtype.c: Likewise.
19548169689Skan	* ggc.h: Likewise.
19549169689Skan	* opts.c: Likewise.
19550169689Skan	* real.c: Likewise.
19551169689Skan	* reload.c: Likewise.
19552169689Skan	* stmt.c: Likewise.
19553169689Skan
19554169689Skan2003-06-12  Janis Johnson  <janis187@us.ibm.com>
19555169689Skan
19556169689Skan	* doc/install.texi (m32r-*-elf): Change company to Renesas.
19557169689Skan
19558169689SkanThu Jun 12 20:00:55 CEST 2003  Jan Hubicka  <jh@suse.cz>
19559169689Skan
19560169689Skan	* basic-block.h (flow_delete_block_noexpunge): Kill.
19561169689Skan	* cfgrtl.c (flow_delete_block_noexpunge): Merge to
19562169689Skan	rtl_delete_block.
19563169689Skan
19564169689Skan2003-06-10  Richard Henderson  <rth@redhat.com>
19565169689Skan
19566169689Skan	PR inline-asm/4823
19567169689Skan	* reg-stack.c (any_malformed_asm): New.
19568169689Skan	(check_asm_stack_operands): Set it.
19569169689Skan	(convert_regs_1): Check it before aborting.
19570169689Skan
19571169689Skan2003-06-12  Aldy Hernandez  <aldyh@redhat.com>
19572169689Skan
19573169689Skan	* config/rs6000/spe.md: Change all clobbers of the accumulator to sets.
19574169689Skan
19575169689Skan2003-06-12  Jakub Jelinek  <jakub@redhat.com>
19576169689Skan
19577169689Skan	* c-opts.c (complain_wrong_lang): Add on argument.
19578169689Skan	Print no- switch if on is false.
19579169689Skan	(c_common_decode_option): Adjust caller.
19580169689Skan
19581169689Skan2003-06-12  Ulrich Weigand  <uweigand@de.ibm.com>
19582169689Skan
19583169689Skan	* config/s390/s390.c (s390_emit_prologue): Use LA instead of AR
19584169689Skan	to initialize GOT register.
19585169689Skan
19586169689Skan2003-06-12  Roger Sayle  <roger@eyesopen.com>
19587169689Skan
19588169689Skan	* fold-const.c (tree_expr_nonnegative_p): Add support for
19589169689Skan	floating point constants, addition and multiplication.
19590169689Skan
19591169689Skan2003-06-12  J"orn Rennecke <joern.rennecke@superh.com>
19592169689Skan
19593169689Skan	* sh.md (adddi3_compact, subdi3_compact): Add earlyclobber
19594169689Skan	constraint modifier for operand 0.
19595169689Skan
19596169689Skan2003-06-12  Hans-Peter Nilsson  <hp@axis.com>
19597169689Skan
19598169689Skan	Don't warn on dollars in builtin macro definitions,
19599169689Skan	e.g. __REGISTER_PREFIX__.
19600169689Skan	* cpphash.h (struct cpp_reader): Move member warn_dollars...
19601169689Skan	* cpplib.h (struct cpp_options): ...to here.  Change type to
19602169689Skan	unsigned char.
19603169689Skan	* cppinit.c (cpp_create_reader): Set it to 1 here.
19604169689Skan	(post_options): Don't set it here.
19605169689Skan	* c-opts.c (c_common_init_options): Reset it to 0 here.
19606169689Skan	(finish_options): Set it here.
19607169689Skan	* cpplex.c (forms_identifier_p): Tweak for new location of
19608169689Skan	warn_dollars.
19609169689Skan
19610169689Skan	* configure.in (assembler dwarf2 debug_line support): Define insn
19611169689Skan	for cris-*-* and mmix-*-*.
19612169689Skan	* configure: Regenerate.
19613169689Skan
19614169689Skan2003-06-11  Uwe Stieber  <uwe@kaos-group.de>
19615169689Skan
19616169689Skan	* config.gcc (arm*-*-kaos*, i[34567]86-*-kaos*, powerpc-*-kaos*,
19617169689Skan	powerpcle-*-kaos*, strongarm-*-kaos*): New targets.
19618169689Skan	(sh-*-elf*): Add sh*-*-kaos* support.
19619169689Skan	* config/kaos.h, config/arm/kaos-strongarm.h, config/arm/kaos-arm.h,
19620169689Skan	config/i386/kaos-i386.h, config/rs6000/kaos-ppc.h,
19621169689Skan	config/sh/kaos-sh.h: New files.
19622169689Skan
19623169689Skan2003-06-12  Kazu Hirata  <kazu@cs.umass.edu>
19624169689Skan
19625169689Skan	* gcse.c (fis_get_condition): Make it a global function.
19626169689Skan	* reload1.c (reload_cse_move2add): Detect implicit sets.
19627169689Skan	* rtl.h: Add a prototype for fis_get_condition.
19628169689Skan
19629169689Skan2003-06-11  Richard Henderson  <rth@redhat.com>
19630169689Skan
19631169689Skan	* stmt.c (expand_asm_operands): Don't warn for memories with
19632169689Skan	queued addresses.
19633169689Skan
19634169689Skan2003-06-11  Kaz Kojima  <kkojima@gcc.gnu.org>
19635169689Skan
19636169689Skan	* config/sh/sh.h (SUBTARGET_ASM_RELAX_SPEC): Rewrite without
19637169689Skan	brackets.
19638169689Skan
19639169689Skan2003-06-11  Neil Booth  <neil@daikokuya.co.uk>
19640169689Skan
19641169689Skan	* hooks.c (hook_int_size_t_constcharptr_int_0): New.
19642169689Skan	* hooks.h (hook_int_size_t_constcharptr_int_0): New.
19643169689Skan	* langhooks-def.h (lhd_decode_option, LANG_HOOKS_DECODE_OPTION): Die.
19644169689Skan	(LANG_HOOKS_HANDLE_OPTION, LANG_HOOKS_INITIALIZER): Update.
19645169689Skan	* langhooks.c (lhd_decode_option): Remove.
19646169689Skan	* langhooks.h (struct lang_hooks): Remove decode_option.
19647169689Skan	* opts.c (handle_option): No longer use decode_option.
19648169689Skan
19649169689Skan2003-06-11  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
19650169689Skan
19651169689Skan	* cfgloopanal.c (variable_initial_value): Update the set of altered
19652169689Skan	registers correctly.
19653169689Skan
19654169689Skan2003-06-11  Roger Sayle  <roger@eyesopen.com>
19655169689Skan	    Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
19656169689Skan
19657169689Skan	* config/d30v/d30v.h: Delete reference to ASM_FINAL_SPEC.
19658169689Skan	* config/i386/netbsd-elf.h: Likewise.
19659169689Skan	* config/m32r/m32r.h: Likewise.
19660169689Skan	* config/mn10300/mn10300.h: Likewise.
19661169689Skan	* config/stormy16/stormy16.h: Likewise.
19662169689Skan	* config/v850/v850.h: Likewise.
19663169689Skan	* config/vax/netbsd-elf.h: Likewise.
19664169689Skan	* config/xtensa/elf.h: Likewise.
19665169689Skan	* config/xtensa/linux.h: Likewise.
19666169689Skan
19667169689Skan2003-06-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
19668169689Skan
19669169689Skan	* config/mips/iris5gas.h (MDEBUG_ASM_SPEC): Override to match
19670169689Skan	DWARF 2 default.
19671169689Skan
19672169689Skan	* config/mips/dbxmdebug.h: New file.
19673169689Skan	* config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it with
19674169689Skan	gas and --with-stabs.
19675169689Skan
19676169689Skan2003-06-11  Ulrich Weigand  <uweigand@de.ibm.com>
19677169689Skan
19678169689Skan	* expr.c (can_move_by_pieces): align argument may be unused.
19679169689Skan
19680169689Skan2003-06-11  J"orn Rennecke <joern.rennecke@superh.com>
19681169689Skan
19682169689Skan	* expr.c (convert_move): Handle moves between two CONCATs.
19683169689Skan
19684169689Skan2003-06-11  Kazu Hirata  <kazu@cs.umass.edu>
19685169689Skan
19686169689Skan	* config/h8300/h8300.h (RETURN_IN_MEMORY): Accept DImode if
19687169689Skan	!TARGET_H8300.
19688169689Skan
19689169689Skan2003-06-11  Kazu Hirata  <kazu@cs.umass.edu>
19690169689Skan
19691169689Skan	* config/h8300/h8300.c (final_prescan_insn): Don't dump rtl.
19692169689Skan	* config/h8300/h8300.h (MASK_RTL_DUMP): Remove.
19693169689Skan	(TARGET_RTL_DUMP): Likewise.
19694169689Skan	(TARGET_SWITHCES): Remove -mrtl-dump.
19695169689Skan
19696169689Skan2003-06-10  Richard Henderson  <rth@redhat.com>
19697169689Skan
19698169689Skan	* optabs.c (gen_cond_trap): Fix prepare_operand typo.
19699169689Skan
19700169689Skan2003-06-10  Richard Henderson  <rth@redhat.com>
19701169689Skan
19702169689Skan	* config/ia64/ia64.md (call_gp): Fix memory mode.
19703169689Skan
19704169689Skan2003-06-10  James E Wilson  <wilson@tuliptree.org>
19705169689Skan
19706169689Skan	PR target/8812
19707169689Skan	* reload1.c (choose_reload_regs): For equiv reg, add loop over all
19708169689Skan	hard regs for reload_reg_used_at_all and reg_class_contents checks.
19709169689Skan
19710169689Skan2003-06-10  Kazu Hirata  <kazu@cs.umass.edu>
19711169689Skan
19712169689Skan	* config/h8300/h8300.c (print_operand): Remove support for
19713169689Skan	operand character 'b'.
19714169689Skan	Add the AND case to operand character 'c'.
19715169689Skan	* config/h8300/h8300.md (two anonymous patterns): Replace
19716169689Skan	operand character 'b' with 'c'.
19717169689Skan
19718169689Skan2003-06-10  Kazu Hirata  <kazu@cs.umass.edu>
19719169689Skan
19720169689Skan	* config/h8300/h8300.c (print_operand): Remove support for
19721169689Skan	operand character 'u'.
19722169689Skan
19723169689Skan2003-06-10  Nathanael Nerode  <neroden@gcc.gnu.org>
19724169689Skan
19725169689Skan	* configure.in: Fix typo.
19726169689Skan	* configure: Regenerate.
19727169689Skan
19728169689Skan2003-06-10  Loren James Rittle  <ljrittle@acm.org>
19729169689Skan
19730169689Skan	* config/alpha/alpha.c (unicosmk_file_end): Add conditional
19731169689Skan	compilation guard.
19732169689Skan
19733169689Skan2003-06-10  J"orn Rennecke <joern.rennecke@superh.com>
19734169689Skan
19735169689Skan	* sh-protos.h (function_symbol): Declare.
19736169689Skan	* sh.c (expand_block_move, expand_ashiftrt): Use it.
19737169689Skan	(sh_expand_prologue, sh_expand_epilogue): Likewise.
19738169689Skan	(sh_initialize_trampoline): Likewise.
19739169689Skan	(function_symbol): New function.
19740169689Skan	* sh.md (udivsi3, divsi3, mulsi3, ic_invalidate_line): Use it.
19741169689Skan	(initialize_trampoline, call, call_pop, call_value, sibcall): Likewise.
19742169689Skan	(call_value_pop, shcompact_return_tramp): Likewise.
19743169689Skan
19744169689Skan	* sh.h (OVERRIDE_OPTIONS): Don't suppress --profile-arc-flag.
19745169689Skan
19746169689Skan	* sh.md (GOTaddr2picreg): Use gen_lowpart to get lowpart of
19747169689Skan	target register.
19748169689Skan
19749169689Skan2003-06-10  DJ Delorie  <dj@redhat.com>
19750169689Skan
19751169689Skan	* doc/md.texi (Machine Constraints): Document stormy's Z
19752169689Skan	constraint.
19753169689Skan
19754169689Skan2003-06-10  Geoffrey Keating  <geoffk@apple.com>
19755169689Skan
19756169689Skan	* except.c (call_site_base): Mark with GTY.
19757169689Skan
19758169689Skan2003-06-10  Richard Earnshaw  <rearnsha@arm.com>
19759169689Skan
19760169689Skan	* arm-proto.h: Convert to ISO C90 prototypes.
19761169689Skan	* arm.c: Likewise.
19762169689Skan
19763169689Skan2003-06-10  J"orn Rennecke <joern.rennecke@superh.com>
19764169689Skan
19765169689Skan	* sh.c (sh_output_mi_thunk): Call insn_locators_initialize.
19766169689Skan
19767169689Skan2003-06-10  Steve Ellcey  <sje@cup.hp.com>
19768169689Skan
19769169689Skan	* calls.c (expand_call): Convert structure_value_addr to Pmode if
19770169689Skan	necessary.
19771169689Skan
19772169689Skan2003-06-10  Andrew Haley  <aph@redhat.com>
19773169689Skan
19774169689Skan	* langhooks-def.h (LANG_HOOKS_DECL_OK_FOR_SIBCALL): New.
19775169689Skan	(LANG_HOOKS_DECLS): Add LANG_HOOKS_DECL_OK_FOR_SIBCALL.
19776169689Skan	(lhd_decl_ok_for_sibcall): New.
19777169689Skan	* langhooks.c (lhd_decl_ok_for_sibcall): New.
19778169689Skan	* langhooks.h (lang_hooks_for_decls.ok_for_sibcall): New field.
19779169689Skan	* calls.c (expand_call): Check lang_hook before generating a
19780169689Skan	sibcall.
19781169689Skan
19782169689Skan2003-06-10  DJ Delorie  <dj@redhat.com>
19783169689Skan
19784169689Skan	* config/stormy16/stormy16.c (xstormy16_extra_constraint_p): Add Z,
19785169689Skan	which matches (const_int 0) for addhi3.
19786169689Skan	* config/stormy16/stormy16.md: Document known constraints.
19787169689Skan	(addhi3): Handle adding zero.
19788169689Skan
19789169689Skan2003-06-10  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
19790169689Skan
19791169689Skan	* config/m32r/m32r.h (HARD_REGNO_RENAME_OK): New.
19792169689Skan	* config/m32r/m32r.c (m32r_hard_regno_rename_ok): New.
19793169689Skan	* config/m32r/m32r-protos.h: Prototype it.
19794169689Skan
19795169689Skan2003-06-10  Janis Johnson  <janis187@us.ibm.com>
19796169689Skan
19797169689Skan	* config/rs6000/eabi.h (TARGET_OS_CPP_BUILTINS): Define builtins
19798169689Skan	common to rs6000 sysv targets.
19799169689Skan	* config/rs6000/eabisim.h (TARGET_OS_CPP_BUILTINS): Ditto.
19800169689Skan	* config/rs6000/rtems.h (TARGET_OS_CPP_BUILTINS): Ditto.
19801169689Skan
19802169689Skan2003-06-10  Nick Clifton  <nickc@redhat.com>
19803169689Skan
19804169689Skan	* config.gcc: Add arm-wince-pe target.
19805169689Skan	* config/arm/pe.h (MULTILIB_DEFAULTS): Define.
19806169689Skan	Add comment about default apcs26 support.
19807169689Skan	* config/arm/t-pe (MULTILIB_OPTIONS): Add an -mapcs-32
19808169689Skan	multilib.
19809169689Skan	(MULTILIB_DIRNAMES): Add 'apcs32'.
19810169689Skan	* config/arm/t-wince-pe: New makefile fragment.
19811169689Skan	* config/arm/wince-pe.h: New file.  Overrides a few definitions
19812169689Skan	in arm/pe.h
19813169689Skan
19814169689Skan2003-06-10  Roger Sayle  <roger@eyesopen.com>
19815169689Skan
19816169689Skan	* builtins.c (fold_builtin): Optimize cos(-x) as cos(x).
19817169689Skan	* fold-const.c (fold <NEGATE_EXPR>): Convert -f(x) into f(-x)
19818169689Skan	when x is easily negated and f is sin, tan or atan.
19819169689Skan	(fold <MULT_EXPR>): Optimize tan(x)*cos(x) and cos(x)*tan(x) as
19820169689Skan	sin(x) with flag_unsafe_math_optimizations.
19821169689Skan	(fold <RDIV_EXPR>): With flag_unsafe_math_optimizations fold
19822169689Skan	sin(x)/cos(x) as tan(x) and cos(x)/sin(x) as 1.0/tan(x).
19823169689Skan
19824169689Skan2003-06-10  Roger Sayle  <roger@eyesopen.com>
19825169689Skan
19826169689Skan	* fold-const.c (fold <EQ_EXPR>):  Don't fold x == x only if x
19827169689Skan	is a floating point type *and* we currently honor NaNs.
19828169689Skan	(fold <NE_EXPR>): Likewise.
19829169689Skan
19830169689Skan2003-06-10  Mark Mitchell  <mark@codesourcery.com>
19831169689Skan
19832169689Skan	PR c++/11131
19833169689Skan	* tree-inline.c (inlinable_function_p): Call the language-specific
19834169689Skan	hook early.
19835169689Skan
19836169689Skan2003-06-09  David Taylor  <dtaylor@emc.com>
19837169689Skan
19838169689Skan	* config/rs6000/rs6000.c (rs6000_va_start, rs6000_va_arg):  Skip over
19839169689Skan	the f_res field.
19840169689Skan
19841169689Skan2003-06-09  Nathanael Nerode  <neroden@gcc.gnu.org>
19842169689Skan
19843169689Skan	* configure.in: Remove references to host_truncate_target.
19844169689Skan	* configure: Regenerate.
19845169689Skan	* config.gcc: Remove references to truncate_target,
19846169689Skan	host_truncate_target.
19847169689Skan
19848169689Skan	* Makefile.in, configure.in, config/m68hc11/t-m68hc11-gas:
19849169689Skan	Replace "build_canonical" with build, "host_canonical" with host.
19850169689Skan	* configure.in: Use GCC_TOPLEV_SUBDIRS.
19851169689Skan	* aclocal.m4: Include ../config/acx.m4.
19852169689Skan	* configure: Regenerate.
19853169689Skan
19854169689Skan2003-06-09  David Taylor  <dtaylor@emc.com>
19855169689Skan
19856169689Skan	* config/rs6000/rs6000.c (rs6000_build_va_list): Give the two
19857169689Skan	bytes of padding in the __va_list_tag structure a name (reserved).
19858169689Skan
19859169689Skan2003-06-09  Jason Merrill  <jason@redhat.com>
19860169689Skan
19861169689Skan	* fold-const.c (operand_equal_p): Handle ADDR_EXPR and TRUTH_NOT_EXPR.
19862169689Skan
19863169689Skan2003-06-09  Osku Salerma  <osku@iki.fi>
19864169689Skan
19865169689Skan	* c-format.c (check_format_string, get_constant): New.
19866169689Skan	(handle_format_attribute, handle_format_arg_attribute,
19867169689Skan	decode_format_attr): Change to use above functions.
19868169689Skan
19869169689Skan2003-06-09  Richard Henderson  <rth@redhat.com>
19870169689Skan
19871169689Skan	* stmt.c (expand_asm_operands): Re-word warning.
19872169689Skan
19873169689Skan2003-06-08  Andrew Pinski  <pinskia@physics.uc.edu>
19874169689Skan
19875169689Skan	PR target/8787
19876169689Skan	* config/i386/djgpp.h (ASM_FILE_START): emit `.intel_syntax'
19877169689Skan	if -masm=intel.
19878169689Skan
19879169689Skan2003-06-09  James E Wilson  <wilson@tuliptree.org>
19880169689Skan
19881169689Skan	* config/frv/cmovc.c, config/frv/cmovh.c, config/frv/cmovw.c,
19882169689Skan	config/frv/frvbegin.c, config/frv/frvend.c, config/frv/lib1funcs.asm:
19883169689Skan	Add libgcc exception.
19884169689Skan
19885169689Skan2003-06-09  David Edelsohn  <edelsohn@gnu.org>
19886169689Skan	    Ayal Zaks  <gcchaifa@us.ibm.com>
19887169689Skan
19888169689Skan	* config/rs6000/rs6000.md (define_attr "type"): Add insert_word.
19889169689Skan	(insvsi*): Add insert_word attribute.
19890169689Skan	* config/rs6000/rs6000.c (rs6000_variable_issue): Add TYPE_INSERT_WORD.
19891169689Skan	* config/rs6000/{40x.md,603.md,6xx.md,7450.md,7xx.md,mpc.md,
19892169689Skan	power4.md,rios1.md,rios2.md,rs64.md}: Add insert_word.
19893169689Skan
19894169689Skan2003-06-09  Kazu Hirata  <kazu@cs.umass.edu>
19895169689Skan
19896169689Skan	* fold-const.c (fold): Fix a comment typo.
19897169689Skan
19898169689Skan2003-06-09  Nathan Sidwell  <nathan@codesourcery.com>
19899169689Skan
19900169689Skan	* tree-inline.c (expand_call_inline): DECL_SOURCE_LINE_FIRST is
19901169689Skan	removed.
19902169689Skan
19903169689Skan2003-06-09  J"orn Rennecke <joern.rennecke@superh.com>
19904169689Skan
19905169689Skan	* sh.c (gen_block_redirect): Use locators.
19906169689Skan
19907169689Skan2003-06-09  Richard Earnshaw  <rearnsha@arm.com>
19908169689Skan
19909169689Skan	* arm.h (THUMB_PRINT_OPERAND_ADDRESS): Use %wd in format and remove
19910169689Skan	cast to int.
19911169689Skan
19912169689Skan2003-06-09  Richard Sandiford  <rsandifo@redhat.com>
19913169689Skan
19914169689Skan	* configure.in: Assume gas 2.14 and above can handle MIPS relocation
19915169689Skan	operators.
19916169689Skan	* configure: Regenerated.
19917169689Skan
19918169689Skan2003-06-09  Richard Sandiford  <rsandifo@redhat.com>
19919169689Skan	    Alexandre Oliva  <aoliva@redhat.com>
19920169689Skan
19921169689Skan	* config/mips/mips.h (GLOBAL_POINTER_REGNUM): New macro.
19922169689Skan	(PIC_OFFSET_TABLE_REGNUM): Look at pic_offset_table_rtx after reload.
19923169689Skan	(STARTING_FRAME_OFFSET): Don't allocate a cprestore slot for
19924169689Skan	n32/64 PIC.
19925169689Skan	(MUST_SAVE_REGISTERS): Delete.
19926169689Skan	* config/mips/mips.c (mips_frame_info): Remove extra_size field.
19927169689Skan	(machine_function): Add global_pointer field.
19928169689Skan	(mips_classify_constant): Check for (const $gp) using pointer equality
19929169689Skan	with pic_offset_table_rtx.
19930169689Skan	(mips_classify_constant): Handle RELOC_LOADGP_HI and RELOC_LOADGP_LO.
19931169689Skan	(mips_restore_gp): Use current_function_outgoing_args_size.
19932169689Skan	(print_operand): Use PIC_OFFSET_TABLE_REGNUM instead of
19933169689Skan	GP_REG_FIRST + 28.  Handle relocation strings that have
19934169689Skan	more than one '('.
19935169689Skan	(mips_reloc_string): Handle RELOC_LOADGP_HI and RELOC_LOADGP_LO.
19936169689Skan	(mips_global_pointer): New function.
19937169689Skan	(mips_save_reg_p): New function, mostly split out from...
19938169689Skan	(compute_frame_size): ...here.  Remove handling of extra_size.
19939169689Skan	Reclaim args_size if no variables depend on it.  Don't treat gp
19940169689Skan	as a special case: handle it in the main GPR loop.
19941169689Skan	(mips_initial_elimination_offset): Fix comment.
19942169689Skan	(save_restore_insns): Save every register in the GPR mask,
19943169689Skan	removing distinction between mask and real_mask.
19944169689Skan	(mips_output_function_prologue): Update .frame psuedo-op after
19945169689Skan	the removal of extra_size.  Move the SVR4 PIC stack allocation
19946169689Skan	and cprestore instructions to mips_expand_prologue.
19947169689Skan	(mips_gp_insn): New function.
19948169689Skan	(mips_expand_prologue): Set REGNO (pic_offset_table_rtx) to
19949169689Skan	the chosen global pointer.  Handle SVR4 PIC stack allocation
19950169689Skan	in the same way as other ABIs.  Adjust varargs code accordingly.
19951169689Skan	Emit a cprestore insn after allocating the stack.  Use mips_gp_insn
19952169689Skan	to emit the loadgp sequence.  Follow it with a loadgp_blockage
19953169689Skan	if not using explicit relocs.
19954169689Skan	(mips_output_function_epilogue): Reinstate the default gp register.
19955169689Skan	(mips16_gp_pseudo_reg): Use pic_offset_table_rtx.
19956169689Skan	(mips16_optimize_gp): Likewise.
19957169689Skan	* config/mips/mips.md (UNSPEC_LOADGP): Remove.
19958169689Skan	(UNSPEC_SETJMP, UNSPEC_LONGJMP): Remove.
19959169689Skan	(UNSPEC_CPRESTORE, RELOC_LOADGP_HI, RELOC_LOADGP_LO): New.
19960169689Skan	(loadgp): Remove.
19961169689Skan	(loadgp_blockage, cprestore): New instructions.
19962169689Skan	(builtin_setjmp_setup): Implement using emit_move_insn.  Use
19963169689Skan	pic_offset_table_rtx.
19964169689Skan	(builtin_setjmp_setup_32, builtin_setjmp_setup_64): Remove.
19965169689Skan	(builtin_longjmp): Use gen_raw_REG to force use of $28.
19966169689Skan
19967169689Skan2003-06-09  Richard Sandiford  <rsandifo@redhat.com>
19968169689Skan
19969169689Skan	* config/mips/mips-protos.h (mips_output_division): Declare.
19970169689Skan	* config/mips/mips.h (MASK_CHECK_RANGE_DIV): Remove.
19971169689Skan	(MASK_BRANCHLIKELY): Use MASK_CHECK_RANGE_DIV's old number.
19972169689Skan	(TARGET_NO_CHECK_ZERO_DIV, TARGET_CHECK_RANGE_DIV): Remove.
19973169689Skan	(TARGET_CHECK_ZERO_DIV): New macro.
19974169689Skan	(TARGET_SWITCHES): Remove -mcheck-range-div & -mno-check-range-div.
19975169689Skan	* config/mips/mips.c (mips_output_division): New function.
19976169689Skan	* config/mips/mips.md (length): Take TARGET_CHECK_ZERO_DIV into
19977169689Skan	account when calculating the default length of a division.
19978169689Skan	(divmodsi4, divmoddi4, udivmodsi4, udivmoddi4): Turn into define_insns.
19979169689Skan	Enable regardless of optimization level.  Use mips_output_division.
19980169689Skan	(divmodsi4_internal, divmoddi4_internal, udivmodsi4_internal,
19981169689Skan	udivmoddi4_internal, div_trap, div_trap_normal, div_trap_mips16,
19982169689Skan	divsi3, divsi3_internal, divdi3, divdi3_internal, modsi3,
19983169689Skan	modsi3_internal, moddi3, moddi3_internal, udivsi3, udivsi3_internal,
19984169689Skan	udivdi3, udivdi3_internal, umodsi3, umodsi3_internal, umoddi3,
19985169689Skan	umoddi3_internal): Remove.
19986169689Skan
19987169689Skan2003-06-09  Richard Sandiford  <rsandifo@redhat.com>
19988169689Skan
19989169689Skan	* config/mips/mips.c (mips_reg_names): Change hilo entry to "".
19990169689Skan	(mips_sw_reg_names): Likewise.
19991169689Skan	(mips_regno_to_class): Change hilo entry to NO_REGS.
19992169689Skan	(hilo_operand): Use MD_REG_P.
19993169689Skan	(extend_operator): New predicate.
19994169689Skan	(override_options): Remove 'a' constraint.
19995169689Skan	(mips_secondary_reload_class): Remove hilo handling.  Also remove
19996169689Skan	handling of (plus sp reg) reloads for mips16.
19997169689Skan	(mips_register_move_cost): Remove hilo handling.
19998169689Skan	* config/mips/mips.h (FIXED_REGISTERS): Make hilo entry fixed.
19999169689Skan	(MD_REG_LAST): Remove hilo from range.
20000169689Skan	(HILO_REGNUM): Delete.
20001169689Skan	(reg_class): Remove HILO_REG and HILO_AND_GR_REGS.
20002169689Skan	(REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update accordingly.
20003169689Skan	(PREDICATE_CODES): Add entry for extend_operator.
20004169689Skan	(DEBUG_REGISTER_NAMES): Change hilo entry to "".
20005169689Skan	* config/mips/mips.md: Remove hilo clobbers wherever they occur.
20006169689Skan	Remove constraints from multiplication define_expands.  Remove
20007169689Skan	clobbers from "decorative" define_expand patterns.
20008169689Skan	(UNSPEC_HILO_DELAY): Delete.
20009169689Skan	(*mul_acc_si, *mul_sub_si): Add early-clobber to operand 6.
20010169689Skan	(mulsidi3, umulsidi3): Change pattern to match the TARGET_64BIT case.
20011169689Skan	Adjust C code to just emit insns for !TARGET_64BIT.
20012169689Skan	(mulsidi3_internal): Rename to mulsidi3_32bit.
20013169689Skan	(mulsidi3_64bit): Use a "d" constraint for the destination.
20014169689Skan	Use extend_operator so that the pattern can handle umulsidi3 as well.
20015169689Skan	Split the instruction after reload.
20016169689Skan	(*mulsidi3_64bit_parts): New pattern, generated by mulsidi3_64bit.
20017169689Skan	(umulsidi3_internal): Rename to umulsidi3_32bit.
20018169689Skan	(umulsidi3_64bit): Remove.
20019169689Skan	(*smsac_di, *umsac_di): Line-wrap fixes.
20020169689Skan	(udivsi3_internal): Don't allow operand 2 to be constant.
20021169689Skan	(udivdi3_internal, umodsi3_internal, umoddi3_internal): Likewise.
20022169689Skan	(movdi_internal2, movsi_internal): Remove hilo alternatives.
20023169689Skan	(reload_in[sd]i, reload_out[sd]i, hilo_delay): Remove.
20024169689Skan
20025169689Skan2003-06-09  Richard Sandiford  <rsandifo@redhat.com>
20026169689Skan
20027169689Skan	PR target/10913
20028169689Skan	* config/mips/mips.h (TARGET_FILE_SWITCHING, NO_DBX_FUNCTION_END,
20029169689Skan	PUT_SDB_SCL, PUT_SDB_INT_VAL, PUT_SDB_VAL, PUT_SDB_ENDEF,
20030169689Skan	PUT_SDB_TYPE, PUT_SDB_SIZE, PUT_SDB_DIM, PUT_SDB_START_DIM,
20031169689Skan	PUT_SDB_NEXT_DIM, PUT_SDB_LAST_DIM, PUT_SDB_TAG, PUT_SDB_SRC_FILE,
20032169689Skan	SDB_GENERATE_FAKE, TEXT_SECTION): Delete.
20033169689Skan	(PUT_SDB_DEF, PUT_SDB_PLAIN_DEF, PUT_SDB_BLOCK_START,
20034169689Skan	PUT_SDB_BLOCK_END, PUT_SDB_FUNCTION_END): Replace use of
20035169689Skan	asm_out_text_file with asm_out_file.
20036169689Skan	* config/mips/iris5gas.h (PUT_SDB_SIZE, PUT_SDB_TYPE): Likewise.
20037169689Skan	* config/mips/elf.h (TEXT_SECTION): Undefine.
20038169689Skan	* config/mips/elf64.h (TEXT_SECION): Undefine.
20039169689Skan	* config/mips/openbsd.h (TEXT_SECION): Undefine.
20040169689Skan	* config/mips/mips.c (asm_out_text_file, asm_out_data_file): Delete.
20041169689Skan	(override_options): Disable small-data optimizations unless using
20042169689Skan	gas or explicit relocations.
20043169689Skan	(mips_asm_file_start, mips_asm_file_end, mips_output_function_epilogue,
20044169689Skan	iris6_asm_named_section, iris6_asm_file_start): Remove code for
20045169689Skan	handling TARGET_FILE_SWITCHING.
20046169689Skan	(copy_file_data): Move into TARGET_IRIX6 block.
20047169689Skan
20048169689Skan2003-06-08  Richard Henderson  <rth@redhat.com>
20049169689Skan
20050169689Skan	* expr.h (EXPAND_MEMORY): New.
20051169689Skan	* expr.c (expand_expr): Check it.
20052169689Skan	* stmt.c (expand_asm_operands): Provide it when the constraint
20053169689Skan	requires a memory.  Warn for memory input constraints without
20054169689Skan	a memory operand.
20055169689Skan
20056169689Skan2003-06-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20057169689Skan
20058169689Skan	* varasm.c: Don't include c-tree.h.
20059169689Skan
20060169689Skan2003-06-08  Andreas Jaeger  <aj@suse.de>
20061169689Skan
20062169689Skan	* predict.h: Convert to ISO C90 prototypes.
20063169689Skan	* predict.c: Likewise.
20064169689Skan	* tree-dump.h: Likewise.
20065169689Skan	* tree-dump.c: Likewise.
20066169689Skan	* diagnostic.h: Likewise.
20067169689Skan	* diagnostic.c: Likewise.
20068169689Skan	* combine.c: Likewise.
20069169689Skan
20070169689Skan	* rtl.h: Convert prototypes of combine.c to ISO C90.
20071169689Skan
20072169689SkanSun Jun  8 21:27:41 CEST 2003  Jan Hubicka  <jh@suse.cz>
20073169689Skan
20074169689Skan	* cfglayout.c (insn_scope): New static function
20075169689Skan	(block_locators_*, line_locators*, file_locators*): New static varrays.
20076169689Skan	(scope_to_insns_initialize): Use them.
20077169689Skan	(insn_line, insn_file): New functions.
20078169689Skan	(scope_to_insns_finalize): Use insn_scope.
20079169689Skan	(prologue_locator, epilogue_locator): New global variables.
20080169689Skan	* emit-rt.c (try_split, make_insn_raw, make_jump_insn_raw,
20081169689Skan	make_call_insn_raw, emit_copy_of_insn_after): Use locators.
20082169689Skan	(emit_insn_after_scope, emit_insn_before_scope
20083169689Skan	emit_jump_insn_after_scope, emit_jump_insn_before_scope
20084169689Skan	emit_call_insn_after_scope, emit_call_insn_before_scope): Rename to...
20085169689Skan	(emit_insn_after_setloc, emit_insn_before_setloc
20086169689Skan	emit_jump_insn_after_setloc, emit_jump_insn_before_setloc
20087169689Skan	emit_call_insn_after_setloc, emit_call_insn_before_setloc): ... these;
20088169689Skan	use locators.
20089169689Skan	* final.c (notice_source_line): Use locators.
20090169689Skan	(final_start_function): Set initial source file and line.
20091169689Skan	(final_scan_insn): Use locators.
20092169689Skan	* ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
20093169689Skan	noce_try_addcc, noce_try_store_flag_mask, noce_try_cmove,
20094169689Skan	noce_try_cmove_arith, noce_try_minmax, noce_try_abs,
20095169689Skan	noce_process_if_block, find_cond_trap): Likewise.
20096169689Skan	* integrate.c (copy_insn_list): Likewise.
20097169689Skan	* jump.c (duplicate_loop_exit_test): LIkewise.
20098169689Skan	* print-rtl.c (print_rtx): Print locators.
20099169689Skan	* recog.c (peephole2_optimize): Likewise.
20100169689Skan	* rtl.h (INSN_SCOPE): Remove.
20101169689Skan	(emit_insn_after_scope, emit_insn_before_scope
20102169689Skan	emit_jump_insn_after_scope, emit_jump_insn_before_scope
20103169689Skan	emit_call_insn_after_scope, emit_call_insn_before_scope): Rename to...
20104169689Skan	(emit_insn_after_setloc, emit_insn_before_setloc
20105169689Skan	emit_jump_insn_after_setloc, emit_jump_insn_before_setloc
20106169689Skan	emit_call_insn_after_setloc, emit_call_insn_before_setloc): ... these;
20107169689Skan	(insn_file, insn_line, prologue_locator, epilogue_locator): Declare.
20108169689Skan	* unroll.c (copy_loop_body): Use locators.
20109169689Skan	* function.c (set_insn_locators): New function.
20110169689Skan	(thread_prologue_and_epilogue_insns): Set the locators accordingly.
20111169689Skan
20112169689Skan2003-06-08  Kazu Hirata  <kazu@cs.umass.edu>
20113169689Skan
20114169689Skan	* config/h8300/h8300.h (LONG_LONG_TYPE_SIZE): Set to 64.
20115169689Skan	* config/h8300/t-h8300 (LIB1ASMFUNCS): Remove _floatdisf
20116169689Skan	_fixsfdi _fixunssfdi.
20117169689Skan	(LIB2FUNCS_EXTRA): Add entries for clzhi2, ctzhi2, parityhi2,
20118169689Skan	popcounthi2.
20119169689Skan	(TARGET_LIBGCC2_CFLAGS): Remove -DDI=SI.
20120169689Skan	* config/h8300/clzhi2.c: New.
20121169689Skan	* config/h8300/ctzhi2.c: Likewise.
20122169689Skan	* config/h8300/parityhi2.c: Likewise.
20123169689Skan	* config/h8300/popcounthi2.c: Likewise.
20124169689Skan
20125169689SkanSun Jun  8 15:52:17 CEST 2003  Jan Hubicka  <jh@suse.cz>
20126169689Skan
20127169689Skan	* i386.md (subsi_3_zext, sse2_nandv2di3): Fix predicates.
20128169689Skan	* i386.c (k8_avoid_jump_misspredicts): Fix debug output.
20129169689Skan
20130169689Skan	* cfg.c (verify_flow_info): Move IL independent checks from cfgrtl here.
20131169689Skan	(dump_bb): New based on old dump_bb in cfgrtl.c
20132169689Skan	(debug_bb, debug_bb_n): Move the functions from cfgrtl.c here.
20133169689Skan	* cfghooks.h (cfgh_verify_flow_info): Return status.
20134169689Skan	* cfglayout.c (cfg_layout_finalize): Verify CFG correctness.
20135169689Skan	* cfgrtl.c (debug_bb, debug_bb_n): Move to cfg.c
20136169689Skan	(dump_bb): Remove generic parts.
20137169689Skan	(rtl_verify_flow_info_1): Break out from rtl_verify_flow_info.
20138169689Skan	(rtl_verify_flow_info): Only check things dependeing on linearized RTL.
20139169689Skan
20140169689Skan2003-06-08  Neil Booth  <neil@daikokuya.co.uk>
20141169689Skan
20142169689Skan	* Makefile.in: Rename options.c and options.h to c-options.c and
20143169689Skan	c-options.h.
20144169689Skan	(OBJS): Remove options.o.
20145169689Skan	* c-opts.c: Don'tInclude c-options.h instead of options.h.
20146169689Skan	* opts.c: Don't include options.h.
20147169689Skan	(find_opt): Can't use enum opt_code or N_OPTS.
20148169689Skan	* opts.h (struct cl_option, cl_options, cl_options_count): Move from...
20149169689Skan	* opts.sh: ... here.
20150169689Skan
20151169689Skan2003-06-07  Eric Botcazou  <ebotcazou@libertysurf.fr>
20152169689Skan	    Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20153169689Skan
20154169689Skan	PR pch/9830
20155169689Skan	* ggc-common.c (HAVE_MMAP_FILE): Include sys/types.h
20156169689Skan	if HAVE_MINCORE is defined.
20157169689Skan	(MAP_FAILED): Define if not defined.
20158169689Skan	(gt_pch_save): Test against MAP_FAILED.
20159169689Skan	(gt_pch_restore): If HAVE_MINCORE, use MAP_FIXED to force
20160169689Skan	the mapping address to the preferred base after checking it
20161169689Skan	is possible to do so. Test against MAP_FAILED.
20162169689Skan	* configure.in: Test for the presence of mincore in libc.
20163169689Skan	* config.in: Regenerate.
20164169689Skan	* configure: Regenerate.
20165169689Skan
20166169689Skan2003-06-07  Richard Henderson  <rth@redhat.com>
20167169689Skan
20168169689Skan	* config/alpha/alpha.c (alpha_setup_incoming_varargs): Fix
20169169689Skan	conditional compilation guard.
20170169689Skan
20171169689Skan2003-06-08  Kazu Hirata  <kazu@cs.umass.edu>
20172169689Skan
20173169689Skan	* optabs.c (expand_abs): Set result_unsignedp to 1 if
20174169689Skan	flag_trav is zero.
20175169689Skan
20176169689Skan2003-06-07  Richard Henderson  <rth@redhat.com>
20177169689Skan
20178169689Skan	* c-cppbuiltin.c (c_cpp_builtins): Define __EXCEPTIONS for C also.
20179169689Skan
20180169689Skan2003-06-07  Richard Henderson  <rth@redhat.com>
20181169689Skan
20182169689Skan	* basic-block.h (EDGE_SIBCALL): New.
20183169689Skan	(EDGE_ALL_FLAGS): Update.
20184169689Skan	* cfg.c (dump_edge_info): Add sibcall name.
20185169689Skan	* cfgbuild.c (make_edges): Use EDGE_SIBCALL.
20186169689Skan	* cfgrtl.c (purge_dead_edges): Handle sibcalls.
20187169689Skan
20188169689Skan2003-06-07  Andreas Jaeger  <aj@suse.de>
20189169689Skan
20190169689Skan	* mklibgcc.in (lib2funcs): Remove _exit.
20191169689Skan	* libgcc2.c: Remove L_exit.
20192169689Skan	* gbl-ctors.h: Remove declarations dependend on NEED_ATEXIT.
20193169689Skan
20194169689Skan	* system.h: Poison NEED_ATEXIT, ON_EXIT, EXIT_BODY.
20195169689Skan
20196169689Skan	* doc/tm.texi (Misc): Remove NEED_ATEXIT, ON_EXIT, EXIT_BODY.
20197169689Skan
20198169689Skan	* ggc.h: Convert to ISO C90 prototypes.
20199169689Skan	* ggc-none.c: Likewise.
20200169689Skan	* ggc-common.c: Likewise.
20201169689Skan	* ggc-page.c: Likewise.
20202169689Skan	* ggc-simple.c: Likewise.
20203169689Skan
20204169689Skan	* crtstuff.c: Remove undefined usage of INIT_SECTION_PREAMBLE.
20205169689Skan
20206169689Skan	* system.h: Poison INIT_SECTION_PREAMBLE.
20207169689Skan
20208169689Skan2003-06-07  Zack Weinberg  <zack@codesourcery.com>
20209169689Skan
20210169689Skan	* config.gcc (with_cpu handling): Translate sparc64 in
20211169689Skan	$machine to --with-cpu=v9.
20212169689Skan	* config/alpha/alpha.c
20213169689Skan	(TARGET_ASM_GLOBALIZE_LABEL [TARGET_ABI_UNICOSMK]): Correct definition.
20214169689Skan	(alpha_setup_incoming_varargs): #ifdef out when TARGET_ABI_UNICOSMK.
20215169689Skan
20216169689Skan	* target.h: New hook asm_out.file_end.
20217169689Skan	* target.h: Update to match.  New hook macro TARGET_ASM_FILE_END.
20218169689Skan	* toplev.c (compile_file): Use targetm.asm_out.file_end.
20219169689Skan	* system.h: Poison ASM_FILE_END.
20220169689Skan	* varasm.c (file_end_indicate_exec_stack): New.
20221169689Skan	* output.h: Prototype it.
20222169689Skan	* doc/tm.texi: Document TARGET_ASM_FILE_END and
20223169689Skan	file_end_indicate_exec_stack.  Delete references to attasm.h.
20224169689Skan
20225169689Skan	* config/darwin.h (TARGET_ASM_FILE_END): Reset to darwin_file_end.
20226169689Skan	(ASM_FILE_END): Delete; move code...
20227169689Skan	* config/darwin.c (darwin_file_end): Here; new function.
20228169689Skan	* config/darwin-protos.h: Prototype it.
20229169689Skan	* config/alpha/alpha.c (unicosmk_asm_file_end): Make static,
20230169689Skan	rename unicosmk_file_end.
20231169689Skan	* config/arm/aof.h (ASM_FILE_END): Delete; move code...
20232169689Skan	* config/arm/arm.c (aof_file_end): ... here; new static function.
20233169689Skan	Set TARGET_ASM_FILE_END to aof_file_end if AOF_ASSEMBLER.
20234169689Skan	Make aof_dump_imports and aof_dump_pic_table static.
20235169689Skan	* config/avr/avr.c (asm_file_end): Rename avr_file_end, make static.
20236169689Skan	Set TARGET_ASM_FILE_END to avr_file_end.
20237169689Skan	* config/c4x/c4x.c (c4x_file_end): Make static.  Take no arguments.
20238169689Skan	Set TARGET_ASM_FILE_END to c4x_file_end.
20239169689Skan	* config/h8300/h8300.c (asm_file_end): Rename h8300_file_end,
20240169689Skan	make static. Take no arguments.  Set TARGET_ASM_FILE_END to
20241169689Skan	h8300_file_end.
20242169689Skan	* config/i370/i370.h (ASM_FILE_END): Delete; move code...
20243169689Skan	* config/i370/i370.c (i370_file_end): ... here; new static function.
20244169689Skan	Set TARGET_ASM_FILE_END to i370_file_end.
20245169689Skan	 * config/i386/i386.c (ix86_asm_file_end): Rename ix86_file_end.
20246169689Skan	 Take no arguments.  Call file_end_indicate_exec_stack if
20247169689Skan	 NEED_INDICATE_EXEC_STACK; don't use SUBTARGET_FILE_END.
20248169689Skan	* config/i386/i386.h: Set TARGET_ASM_FILE_END, not ASM_FILE_END.
20249169689Skan	Define NEED_INDICATE_EXEC_STACK to 0.
20250169689Skan	* config/i386/linux.h, config/i386/linux64.h: Redefine
20251169689Skan	NEED_INDICATE_EXEC_STACK to 1 instead of setting SUBTARGET_FILE_END.
20252169689Skan	* config/i386/winnt.c (i386_pe_asm_file_end): Rename to
20253169689Skan	i386_pe_file_end.  Take no arguments.  Use ix86_file_end.
20254169689Skan	* config/ia64/ia64.c (ia64_hpux_asm_file_end): Rename to
20255169689Skan	ia64_hpux_file_end, make static.  Take no arguments.
20256169689Skan	* config/ip2k/ip2k.c (asm_file_start, asm_file_end,
20257169689Skan	commands_in_prologues, commands_in_epilogues): Delete.
20258169689Skan	(function_epilogue): Update to match.
20259169689Skan	* config/mips/mips.c (mips_asm_file_end): Rename mips_file_end,
20260169689Skan	make static.  Take no arguments.
20261169689Skan	(iris6_asm_file_end): Rename iris6_file_end, make static, use
20262169689Skan	mips_file_end, take no arguments.
20263169689Skan	Set TARGET_ASM_FILE_END to iris6_file_end or mips_file_end as
20264169689Skan	appropriate.
20265169689Skan	* config/mmix/mmix.c (mmix_asm_file_end): Rename mmix_file_end,
20266169689Skan	make static, take no arguments. Set TARGET_ASM_FILE_END to
20267169689Skan	mmix_file_end.
20268169689Skan	* config/pa/pa.c (output_deferred_plabels): Make static, take
20269169689Skan	no arguments.  Set TARGET_ASM_FILE_END to output_deferred_plabels.
20270169689Skan	* config/rs6000/xcoff.h (TARGET_ASM_FILE_END): Set it.
20271169689Skan	(ASM_FILE_END): Delete; move code...
20272169689Skan	* config/rs6000/rs6000.c (rs6000_xcoff_file_end): ... here;
20273169689Skan	new static function.
20274169689Skan
20275169689Skan	* config/avr/avr.h, config/cris/cris.h, config/h8300/h8300.h
20276169689Skan	* config/mmix/mmix.h, config/mips/iris6.h, config/mips/mips.h:
20277169689Skan	Don't set ASM_FILE_END.
20278169689Skan	* config/alpha/linux-elf.h, config/m68k/linux.h, config/rs6000/linux.h
20279169689Skan	* config/rs6000/linux64.h, config/s390/linux.h, config/sparc/linux.h
20280169689Skan	* config/sparc/linux64.h: Set TARGET_ASM_FILE_END to
20281169689Skan	file_end_indicate_exec_stack; don't set ASM_FILE_END.
20282169689Skan	* config/alpha/unicosmk.h, config/i386/cygming.h
20283169689Skan	* config/ia64/hpux.h: Set TARGET_ASM_FILE_END, not ASM_FILE_END.
20284169689Skan	* config/arm/arm-protos.h, config/alpha/alpha-protos.h
20285169689Skan	* config/avr/avr-protos.h, config/c4x/c4x-protos.h
20286169689Skan	* config/h8300/h8300-protos.h, config/ia64/ia64-protos.h
20287169689Skan	* config/ip2k/ip2k-protos.h, config/mips/mips-protos.h
20288169689Skan	* config/mmix/mmix-protos.h, config/pa/pa-protos.h: Update.
20289169689Skan
20290169689SkanSat Jun  7 18:32:13 CEST 2003  Jan Hubicka  <jh@suse.cz>
20291169689Skan
20292169689Skan	* i386.h (OPTION_DEFAULT_SPECS): Avoid -mcpu default when -march is
20293169689Skan	specified.
20294169689Skan
20295169689SkanSat Jun  7 15:20:01 CEST 2003  Jan Hubicka  <jh@suse.cz>
20296169689Skan
20297169689Skan	* Makefile.in (stageprofile_build): Kill redundant target.
20298169689Skan	* i386.c (mdep_reorg): Don't pad jumps for Athlon.
20299169689Skan
20300169689Skan2003-06-07  Andreas Jaeger  <aj@suse.de>
20301169689Skan
20302169689Skan	* doc/tm.texi (Costs): Remove DONT_REDUCE_ADDR documentation.
20303169689Skan
20304169689Skan	* config/avr/avr.h: Remove comment regarding DONT_REDUCE_ADDR.
20305169689Skan	* config/dsp16xx/dsp16xx.h: Likewise.
20306169689Skan	* config/i386/i386.h: Likewise.
20307169689Skan	* config/ip2k/ip2k.h: Likewise.
20308169689Skan
20309169689Skan2003-06-07  Neil Booth  <neil@daikokuya.co.uk>
20310169689Skan
20311169689Skan	* Makefile.in (OJBS, c-opts.o): Update.
20312169689Skan	(c-options.c, c-options.h): Rename options.h and options.c.
20313169689Skan	(options.h): Rename options_.h.
20314169689Skan	(opts.o): New.
20315169689Skan	* c-common.h (c_common_handle_option): Replace c_common_decode_option.
20316169689Skan	(c_common_init_options): Update prototype.
20317169689Skan	* c-lang.c (c_init_options): Update prototype.
20318169689Skan	(LANG_HOOKS_HANDLE_OPTION): Override.
20319169689Skan	(LANG_HOOKS_DECODE_OPTION): Drop.
20320169689Skan	* c-opts.c: Include opts.h and options.h instead of c-options.h
20321169689Skan	and c-options.c.
20322169689Skan	(lang_flags): Move to file scope.
20323169689Skan	(find_opt, c_common_decode_option): Remove.
20324169689Skan	(CL_C, CL_OBJC, CL_CXX, CL_OBJCXX, CL_JOINED, CL_SEPARATE,
20325169689Skan	CL_REJECT_NEGATIVE): Move to opts.h.
20326169689Skan	(missing_arg): Update prototype.
20327169689Skan	(c_common_init_options): Update for new prototype.
20328169689Skan	(c_common_handle_options): Filenames are passed as N_OPTS.
20329169689Skan	* hooks.c (hook_int_void_0): New.
20330169689Skan	* hooks.h (hook_int_void_0): New.
20331169689Skan	* langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): New default.
20332169689Skan	(LANG_HOOKS_HANDLE_OPTION): Default to NULL for now.
20333169689Skan	(LANG_HOOKS_INITIALIZER): Update.
20334169689Skan	* langhooks.h (init_options): Update.
20335169689Skan	(handle_option): New.
20336169689Skan	* opts.c, opts.h: New files.
20337169689Skan	* opts.sh: Update c file to include opts.h and options.h.
20338169689Skan	* toplev.c: Include opts.h; change options.h to options_.h.
20339169689Skan	(parse_options_and_default_flags): Get lang_mask, use
20340169689Skan	handle_option for language-specific handling.
20341169689Skan	* objc/objc-lang.c (LANG_HOOKS_DECODE_OPTON): Drop.
20342169689Skan	(LANG_HOOKS_HANDLE_OPTION): Override.
20343169689Skan	(objc_init_options): Update.
20344169689Skan
20345169689Skan2003-06-07  Magnus Kreth <magnus.kreth@gmx.de>
20346169689Skan	    Thibaud Gaillard <thibaud.gaillard@nto.atmel.com>
20347169689Skan
20348169689Skan	PR other/7031
20349169689Skan	* Makefile.in (install-common): Remove GCOV_INSTALL_NAME instead of
20350169689Skan	gcov.
20351169689Skan
20352169689Skan2003-06-07  Kelley Cook  <kelleycook@wideopenwest.com>
20353169689Skan
20354169689Skan	* configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Remove quotes in
20355169689Skan	section names.
20356169689Skan	* configure: Regenerate.
20357169689Skan
20358169689Skan2003-06-07  Alan Modra  <amodra@bigpond.net.au>
20359169689Skan
20360169689Skan	* config/rs6000/linux64.h (CRT_CALL_STATIC_FUNCTION): Define.
20361169689Skan
20362169689Skan2003-06-06  James E Wilson  <wilson@tuliptree.org>
20363169689Skan
20364169689Skan	PR inline-asm/10890
20365169689Skan	* reload1.c (merge_assigned_reloads): Abort only if two reloads have
20366169689Skan	different in fields.
20367169689Skan
20368169689Skan2003-06-06  Nathanael Nerode  <neroden@gcc.gnu.org>
20369169689Skan
20370169689Skan	* configure.in: Make $(target_subdir) correspond with top level usage.
20371169689Skan	* Makefile.in: Likewise.
20372169689Skan	* configure: Regenerate.
20373169689Skan
20374169689Skan2003-06-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
20375169689Skan
20376169689Skan	* pa.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_COMMON,
20377169689Skan	ASM_OUTPUT_ALIGNED_LOCAL): Cast `SIZE' and `ALIGNED' parameters to
20378169689Skan	unsigned HOST_WIDE_INT.
20379169689Skan	* pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMOM, ASM_OUTPUT_ALIGNED_LOCAL):
20380169689Skan	Likewise.
20381169689Skan	* pa64-hpux.h (ASM_OUTPUT_ALIGNED_COMMON, ASM_OUTPUT_ALIGNED_LOCAL):
20382169689Skan	Likewise.
20383169689Skan
20384169689Skan2003-06-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20385169689Skan
20386169689Skan	* doc/install.texi (Prerequisites): New section documenting
20387169689Skan	tools and packages necessary prior to building and/or
20388169689Skan	modifying GCC.
20389169689Skan	* doc/install.texi2html: Also generate prerequisites.html.
20390169689Skan
20391169689Skan2003-06-06  Richard Earnshaw  <rearnsha@arm.com>
20392169689Skan
20393169689Skan	PR target/11052
20394169689Skan	* ifcvt.c (noce_process_if_block): Fail if the destination has
20395169689Skan	side-effects.
20396169689Skan
20397169689Skan2003-06-06  Jason Merrill  <jason@redhat.com>
20398169689Skan
20399169689Skan	* stmt.c (resolve_asm_operand_names): Rename from
20400169689Skan	resolve_operand_names.  No longer static.  Avoid needless copying.
20401169689Skan	Don't build array of constraints.
20402169689Skan	(expand_asm_operands): Build it here.
20403169689Skan	* tree.h: Declare resolve_asm_operand_names.
20404169689Skan
20405169689Skan	* stmt.c (expand_decl): Put artificial vars into registers even
20406169689Skan	when not optimizing, and don't mark the regs as user vars.
20407169689Skan
20408169689Skan2003-06-06  J"orn Rennecke <joern.rennecke@superh.com>
20409169689Skan
20410169689Skan	* sh.h (FUNCTION_ARG_1): Consistently use NEW_MODE for the mode
20411169689Skan	of the generated register.
20412169689Skan
20413169689Skan2003-06-06  Daniel Jacobowitz  <drow@mvista.com>
20414169689Skan
20415169689Skan	* config.gcc: Add a missing sparc64 case.
20416169689Skan
20417169689Skan2003-06-06  Jakub Jelinek  <jakub@redhat.com>
20418169689Skan
20419169689Skan	* mklibgcc.in: Propagate .note.GNU-stack section if needed into
20420169689Skan	the .hidden assembly stubs.
20421169689Skan
20422169689Skan2003-06-06  H.J. Lu <hongjiu.lu@intel.com>
20423169689Skan
20424169689Skan	* config.gcc (extra_headers): Add emmintrin.h for i[34567]86-*-*
20425169689Skan	and x86_64-*-*.
20426169689Skan
20427169689Skan	* config/i386/mmintrin.h: Update version and add alternate
20428169689Skan	intrinsic names.
20429169689Skan	* config/i386/xmmintrin.h: Likewise.
20430169689Skan
20431169689Skan	* config/i386/xmmintrin.h: Include <emmintrin.h>. Move SSE2
20432169689Skan	intrinsics to ...
20433169689Skan	* config/i386/emmintrin.h: Here. New file.
20434169689Skan
20435169689Skan2003-06-06  Roger Sayle  <roger@eyesopen.com>
20436169689Skan
20437169689Skan	* fold-const.c (fold <ABS_EXPR>):  Re-fold the result of folding
20438169689Skan	fabs(-x) into fabs(x).  Use tree_expr_nonnegative_p to determine
20439169689Skan	when the ABS_EXPR (fabs or abs) is not required.
20440169689Skan	(tree_expr_nonnegative_p): Move the logic that sqrt and exp are
20441169689Skan	always nonnegative from fold to here.  Additionally, cabs and fabs
20442169689Skan	are always non-negative, and pow and atan are non-negative if
20443169689Skan	their first argument is non-negative.
20444169689Skan
20445169689Skan	* builtins.c (fold_builtin_cabs): New function to fold cabs{,f,l}.
20446169689Skan	Evaluate cabs of a constant at compile-time.  Convert cabs of a
20447169689Skan	non-complex argument into fabs.  Convert cabs(z) into
20448169689Skan	sqrt(z.r*z.r + z.i*z.i) at the tree-level with -ffast-math or
20449169689Skan	-funsafe-math-optimizations or -ffast-math.
20450169689Skan	(fold_builtin): Convert BUILT_IN_FABS{,F,L} into an ABS_EXPR.
20451169689Skan	Fold BUILT_IN_CABS{,F,L} using fold_builtin_cabs.
20452169689Skan
20453169689SkanThu Jun  5 20:51:09 CEST 2003  Jan Hubicka  <jh@suse.cz>
20454169689Skan
20455169689Skan	* sourcebuild.texi (Front End Directory): Document new hooks.
20456169689Skan
20457169689SkanFri Jun  6 11:02:35 CEST 2003  Jan Hubicka  <jh@suse.cz>
20458169689Skan
20459169689Skan	* function.c (FLOOR_ROUND, CEIL_ROUND): Fix.
20460169689Skan	* i386.md (gen_pro_epilogue_adjust_stack): Deal with gigantic
20461169689Skan	stack frames.
20462169689Skan	(pro_epilogue_adjust_stack_rex64_2): New pattern
20463169689Skan
20464169689SkanFri Jun  6 11:03:14 CEST 2003  Jan Hubicka  <jh@suse.cz>
20465169689Skan			       Pop Sebastian
20466169689Skan			       Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
20467169689Skan
20468169689Skan	* cfghooks.h, cfghooks.c: New files.
20469169689Skan	* Makefile.in (BASIC_BLOCK_H): Depends on cfghooks.h.
20470169689Skan	(OBJS): Add cfghooks.o.
20471169689Skan	(cfghooks.o): New rule.
20472169689Skan	* basic-block.h (split_edge): Rename to rtl_split_edge.
20473169689Skan	(verify_flow_info): Rename to rtl_verify_flow_info.
20474169689Skan	(cfghooks.h): Included here.
20475169689Skan	* cfgrtl.c (split_edge): Renamed rtl_split_edge.
20476169689Skan	(verify_flow_info): Renamed rtl_verify_flow_info.
20477169689Skan	* toplev.c (rest_of_compilation): Call rtl_register_cfg_hooks.
20478169689Skan
20479169689Skan	* basic-block.h (split_block, split_edge, flow_delete_block,
20480169689Skan	redirect_edge_and_branch, redirect_edge_and_branch_force): Delete.
20481169689Skan	(flow_delete_block_noexpunge):  Return void.
20482169689Skan	* cfg.c (verify_flow_info): New function.
20483169689Skan	* cfgcleanup.c (try_simplify_condjump, outgoing_edges_match,
20484169689Skan	try_crossjump_to_edge, try_optimize_cfg, delete_unreachable_blocks):
20485169689Skan	Use delete_block.
20486169689Skan	* cfglayout.c (function_footer): Rename to...
20487169689Skan	(cfg_layout_function_footer): ... this variable
20488169689Skan	(unlink_insn_chain): Make global.
20489169689Skan	(fixup_reorder_chain, record_effective_endpoints): Update.
20490169689Skan	(cleanup_unconditional_jumps): Use delete_block.
20491169689Skan	(cfg_layout_redirect_edge, cfg_layout_split_block): Move to cfgrtl.c
20492169689Skan	(cfg_layout_duplicate_bb): Use redirect_edge_and_branch_force.
20493169689Skan	(cfg_layout_initialize, cfg_layout_finalize): Update hooks.
20494169689Skan	* cfglayout.h (cfg_layout_redirect_edge, cfg_layout_split_block):  Delete.
20495169689Skan	(cfg_layout_function_footer): Declare.
20496169689Skan	* cfgloopmanip (split_loop_bb): Do not update RBI.
20497169689Skan	(remove_bbs): Use delete_block.
20498169689Skan	(loop_reidrect_edge, loop_delete_branch_edge): Use
20499169689Skan	redirect_edge_and_branch.
20500169689Skan	(create_preheader): Use split_block and redirect_edge_and_branch_force.
20501169689Skan	(split_edge_with): Likewise.
20502169689Skan	* cfgrtl.c: Include cfglayout.h
20503169689Skan	(split_edge): Rename to ...
20504169689Skan	(rtl_split_edge) ... this one; make local.
20505169689Skan	(redirect_edge_and_branch): Rename to ...
20506169689Skan	(rtl_redirect_edge_and_branch) ... this one; make local.
20507169689Skan	(redirect_edge_and_branch_force): Rename to ...
20508169689Skan	(rtl_redirect_edge_and_branch_force) ... this one; make local.
20509169689Skan	(cfg_layout_delete_block, cfg_layout_delete_edge_and_branch_force): New.
20510169689Skan	(cfg_layout_redirect_edge_and_branch, cfg_layout_split_block): Move here from
20511169689Skan	cfglayout.c; update to directly call RTL counterparts.
20512169689Skan	(rtl_cfg_hooks, cfg_layout_rtl_cfg_hooks): New functions.
20513169689Skan	* ifcvt.c (find_cond_trap): Use delete_block.
20514169689Skan	(find_if_case_1): Use delete_block.
20515169689Skan	(find_if_case_2): Use delete_block.
20516169689Skan	* rtl.h (unlink_insn_chain): Declare.
20517169689Skan	* toplev.c (rtl_reigster_cfg_hooks): New.
20518169689Skan
20519169689Skan2003-06-05  Richard Henderson  <rth@redhat.com>
20520169689Skan
20521169689Skan	* recog.c (peephole2_optimize): Revert last change.
20522169689Skan
20523169689Skan2003-06-05  Richard Henderson  <rth@redhat.com>
20524169689Skan
20525169689Skan	* recog.c (peephole2_optimize): Don't split block unless
20526169689Skan	can_throw_internal.
20527169689Skan
20528169689Skan2003-06-06  Kazu Hirata  <kazu@cs.umass.edu>
20529169689Skan
20530169689Skan	* config/h8300/h8300.c (get_shift_alg): Correct the syntax of rotxl.
20531169689Skan	* config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): Likewise.
20532169689Skan
20533169689Skan2003-06-05  Kelley Cook  <kelleycook@wideopenwest.com>
20534169689Skan
20535169689Skan	PR optimization/4490
20536169689Skan	* config/i386/i386.md: Don't use XFMode if TARGET_128BIT_LONG_DOUBLE.
20537169689Skan	* doc/invoke.texi (m96bit-long-double, m128bit-long-double):  Reword
20538169689Skan	documentation to accurately reflect what these options do.
20539169689Skan
20540169689Skan2003-06-06  Kaz Kojima  <kkojima@gcc.gnu.org>
20541169689Skan
20542169689Skan	* config/sh/linux.h (STARTFILE_SPEC): Handle -pie.  Simplify.
20543169689Skan	(ENDFILE_SPEC): Redefine to handle -pie.
20544169689Skan
20545169689Skan2003-06-05  Phil Edwards <phil@jaj.com>
20546169689Skan
20547169689Skan	* Makefile.in (qmtest-g++): Use target_alias, not target.
20548169689Skan
20549169689Skan2003-06-05  Per Bothner  <pbothner@apple.com>
20550169689Skan
20551169689Skan	* toplev.c (push_srcloc):  Simplify behavior to save current location
20552169689Skan	and set current location to parameters.
20553169689Skan	(pop_srcloc):  Simplify semantics.
20554169689Skan	(lang_dependent_init):  Remove now-useless initial push_srcloc.
20555169689Skan
20556169689Skan2003-05-06  Richard Henderson  <rth@redhat.com>
20557169689Skan
20558169689Skan	* dwarf2out.c (loc_descriptor_from_tree): Return 0 for
20559169689Skan	language-specific tree codes.
20560169689Skan
20561169689Skan2003-06-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
20562169689Skan
20563169689Skan	PR middle-end/9986
20564169689Skan	* pa.c (pa_init_builtins): Also set implicit_built_in_decls for
20565169689Skan	BUILT_IN_FPUTC_UNLOCKED to NULL_TREE.
20566169689Skan
20567169689SkanThu Jun  5 18:32:46 CEST 2003  Jan Hubicka  <jh@suse.cz>
20568169689Skan
20569169689Skan	* install.tex: Document profiledbootstrap.
20570169689Skan
20571169689Skan	* configure.in:  Add support for lang.stageprofile and
20572169689Skan	lang.stagefeedback
20573169689Skan	* Makefile.in (clean, distclean): Kill new stages
20574169689Skan	(POSTSTAGE1_FLAGS_TO_PASS): Break from ...
20575169689Skan	(STAGE2_FLAGS_TO_PASS): ... this one.
20576169689Skan	(STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS): New.
20577169689Skan	(stage[2-4]_build): Add POSTSTAGE1_FLAGS_TO_PASS.
20578169689Skan	(stageprofile_build, stageprofile_copy, stagefeedback_build,
20579169689Skan	stagefeedback_copy): New.
20580169689Skan	(restageprofile, restagefeedback, stageprofile-start,
20581169689Skan	stageprofile, stagefeedback-start): Likewise.
20582169689Skan
20583169689Skan2003-06-05  David Miller  <davem@redhat.com>
20584169689Skan	    Richard Henderson  <rth@redhat.com>
20585169689Skan
20586169689Skan	* optabs.c (HAVE_conditional_trap): Provide default.
20587169689Skan	(gen_conditional_trap): Likewise.
20588169689Skan	(init_optabs): Merge init_traps.
20589169689Skan	(gen_cond_trap): Use prepare_operand.  Restructure and avoid ifdef.
20590169689Skan
20591169689SkanThu Jun  5 14:59:44 CEST 2003  Jan Hubicka  <jh@suse.cz>
20592169689Skan
20593169689Skan	* combine.c (simplify_if_then_else): (IF_THEN_ELSE (NE REG 0) (0) (8))
20594169689Skan	is REG for nonzero_bits (REG) == 8.
20595169689Skan
20596169689SkanThu Jun  5 13:23:51 CEST 2003  Jan Hubicka  <jh@suse.cz>
20597169689Skan
20598169689Skan	* i386.md (align): Fix warning; clarify what to do when no p2align
20599169689Skan	is available.
20600169689Skan
20601169689Skan2003-06-05  Nick Clifton  <nickc@redhat.com>
20602169689Skan
20603169689Skan	* config.gcc (m32r-elf): Revert previous delta.
20604169689Skan	* config/m32r/t-m32r (crtinit.o): Fix rule to work with
20605169689Skan	multilibs.  Remove m32rx specific version.
20606169689Skan	(crtfini.o): Likewise.
20607169689Skan	(EXTRA_MULTILIB_PARTS): Define.
20608169689Skan
20609169689Skan2003-06-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
20610169689Skan
20611169689Skan	* doc/md.texi (Machine Constraints): Correct the meaning of
20612169689Skan	constraints related to floating-point registers on SPARC.
20613169689Skan
20614169689Skan2003-06-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
20615169689Skan	    Paolo Bonzini  <bonzini@gnu.org>
20616169689Skan
20617169689Skan	PR target/10663
20618169689Skan	* configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Redirect
20619169689Skan	assembler and linker output to /dev/null.
20620169689Skan	Use a 'sed' construct instead of 'grep -A1'.
20621169689Skan	* configure: Regenerate.
20622169689Skan
20623169689Skan2003-06-04  Richard Henderson  <rth@redhat.com>
20624169689Skan
20625169689Skan	* config/i386/i386.c (struct ix86_address): Add seg.
20626169689Skan	(no_seg_address_operand): New.
20627169689Skan	(ix86_decompose_address): Restructure PLUS loop.  Accept one
20628169689Skan	UNSPEC_TP if TARGET_TLS_DIRECT_SEG_REFS.  Adjust ESP swap test
20629169689Skan	to test for a regnum, not stack_pointer_rtx.
20630169689Skan	(ix86_address_cost): Reduce cost if non-default segment.
20631169689Skan	(legitimate_address_p): Remove UNSPEC_TP check.
20632169689Skan	(get_thread_pointer): Add to_reg argument.  Don't represent
20633169689Skan	the thread pointer as a memory load.
20634169689Skan	(legitimize_tls_address): Split out of ...
20635169689Skan	(legitimize_address): ... here.
20636169689Skan	(print_operand_address): Handle parts.seg.
20637169689Skan	(ix86_expand_move): Use legitimize_tls_address.
20638169689Skan	(ix86_rtx_costs): Handle UNSPEC_TP.
20639169689Skan	* config/i386/i386.h (MASK_TLS_DIRECT_SEG_REFS): New.
20640169689Skan	(TARGET_TLS_DIRECT_SEG_REFS): New.
20641169689Skan	(TARGET_SWITCHES): Add tls-direct-seg-refs.
20642169689Skan	(TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): Default.
20643169689Skan	(PREDICATE_CODES): Add no_seg_address_operand.
20644169689Skan	* config/i386/i386.md (lea_1): Use it.
20645169689Skan	(lea_1_rex64, lea_1_zext, lea_2_rex64): Likewise.
20646169689Skan	(load_tp_si, add_tp_si, load_tp_di, add_tp_di): New.
20647169689Skan	* config/i386/linux.h (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): New.
20648169689Skan	* config/i386/linux64.h (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): New.
20649169689Skan	* doc/invoke.texi: Add -mtls-direct-seg-refs.
20650169689Skan
20651169689Skan2003-06-04  Mark Mitchell  <mark@codesourcery.com>
20652169689Skan
20653169689Skan	* Makefile.in (QMTESTRUNFLAGS): Set for DejaGNU emulation.
20654169689Skan	(QMTEST_GPP_TESTS): Use "g++" by default.
20655169689Skan	(stamp-qmtest): Tweak database creation.
20656169689Skan	(QMTEST_DIR/context): Update context file format.
20657169689Skan	(qmtest-g++): Tweak command-line.
20658169689Skan
20659169689Skan2003-06-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20660169689Skan
20661169689Skan	* Makefile.in (varasm.o): Don't set -Wno-error.
20662169689Skan	* rs6000/t-rs6000 (varasm.o, out_object_file): Don't clear.
20663169689Skan
20664169689Skan2003-06-04  Zack Weinberg  <zack@codesourcery.com>
20665169689Skan
20666169689Skan	PR bootstrap/3163
20667169689Skan	* aclocal.m4 (AC_FUNC_MMAP_ANYWHERE, AC_FUNC_MMAP_FILE): Delete.
20668169689Skan	(gcc_AC_FUNC_MMAP_BLACKLIST): New.
20669169689Skan	* configure.in: Check for sys/mman.h and mmap in AC_CHECK_HEADERS
20670169689Skan	and AC_CHECK_FUNCS lists, respectively.  Use
20671169689Skan	gcc_AC_FUNC_MMAP_BLACKLIST, not AC_FUNC_MMAP_ANYWHERE nor
20672169689Skan	AC_FUNC_MMAP_FILE.
20673169689Skan	* configure, config.in: Regenerate.
20674169689Skan
20675169689Skan2003-06-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20676169689Skan
20677169689Skan	* arm/aout.h (ASM_OUTPUT_SKIP): Fix cast for format specifier warning.
20678169689Skan	* arm.c (arm_output_function_prologue): Fix format specifiers.
20679169689Skan	* arm.h (ARM_PRINT_OPERAND_ADDRESS): Likewise.
20680169689Skan	* m68k.c (m68k_output_mi_thunk): Use more readable %wd instead of
20681169689Skan	HOST_WIDE_INT_PRINT_DEC.
20682169689Skan	* vax.c (vax_output_function_prologue): Fix format specifiers.
20683169689Skan
20684169689Skan2003-06-04  Richard Henderson  <rth@redhat.com>
20685169689Skan
20686169689Skan	* cse.c (find_best_addr): Consider binary operators even if second
20687169689Skan	argument is not CONST_INT.
20688169689Skan
20689169689Skan2003-06-04  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
20690169689Skan
20691169689Skan	* doc/invoke.texi (max-cse-path-length): Document.
20692169689Skan
20693169689Skan2003-06-04  Richard Henderson  <rth@redhat.com>
20694169689Skan
20695169689Skan	* config/i386/i386.md (align): Use ASM_OUTPUT_*ALIGN macros.
20696169689Skan
20697169689Skan2003-06-04  Andrew Pinski <pinskia@physics.uc.edu>
20698169689Skan
20699169689Skan	* config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME):
20700169689Skan	Remove semi-colon at the end of the expression.
20701169689Skan
20702169689Skan2003-06-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20703169689Skan
20704169689Skan	* i370.c (mvs_function_name_length): Fix signed/unsigned warnings.
20705169689Skan	* i370.h (mvs_function_name_length): Likewise.
20706169689Skan	* i960.h (CONSTANT_ALIGNMENT): Likewise.
20707169689Skan	* mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
20708169689Skan	* pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
20709169689Skan	* pa.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
20710169689Skan	* rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Delete unused
20711169689Skan	variable.
20712169689Skan
20713169689Skan2003-06-04  Daniel Jacobowitz  <drow@mvista.com>
20714169689Skan
20715169689Skan	* config.gcc: Reorganize --with-cpu logic.  Set
20716169689Skan	configure_default_options according to the default CPU, --with-cpu,
20717169689Skan	--with-arch, --with-tune, --with-schedule, --with-abi, and
20718169689Skan	--with-float.  Check for legal values of various options.
20719169689Skan	* configure.in: Define configure_default_options in configargs.h.
20720169689Skan	* configure: Regenerated.
20721169689Skan	* config/mips/mips.h (TARGET_DEFAULT_ARCH_P)
20722169689Skan	(TARGET_DEFAULT_FLOAT_P): New macros.
20723169689Skan	* gcc.c (do_option_spec): New function.
20724169689Skan	(struct default_spec, option_default_specs): New.
20725169689Skan	(main): Call do_option_spec.
20726169689Skan	* config/alpha/alpha.h, config/arm/arm.h, config/i386/i386.h,
20727169689Skan	config/mips/mips.h, config/pa/pa.h, config/rs6000/rs6000.h,
20728169689Skan	config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Define.
20729169689Skan
20730169689Skan	* doc/install.texi: Update --with-cpu documentation.  Mention
20731169689Skan	--with-arch, --with-schedule, --with-tune, --with-abi, and
20732169689Skan	--with-float.
20733169689Skan	* doc/tm.texi (Driver): Document OPTION_DEFAULT_SPECS.
20734169689Skan
20735169689Skan2003-06-04  Daniel Jacobowitz  <drow@mvista.com>
20736169689Skan
20737169689Skan	* config.gcc: Only process --with-cpu logic in the third pass.
20738169689Skan
20739169689Skan2003-06-04  Daniel Jacobowitz  <drow@mvista.com>
20740169689Skan
20741169689Skan	* config.gcc: Reorganize --with-cpu section.  Remove an
20742169689Skan	obsolete comment about the default CPU for x86-64.  Fix
20743169689Skan	a typo for the ep9312.  Update the list of supported PowerPC
20744169689Skan	CPUs.  Support a limited set of new --with-cpu options
20745169689Skan	for i386.
20746169689Skan
20747169689Skan2003-06-04  Aldy Hernandez  <aldyh@redhat.com>
20748169689Skan
20749169689Skan	* config/rs6000/rs6000.c (rs6000_complex_function_value): Unpack
20750169689Skan	complex numbers <= 32 bits into two registers.
20751169689Skan
20752169689Skan2003-06-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20753169689Skan
20754169689Skan	* alpha.c (print_operand_address): Fix format specifier warnings.
20755169689Skan	* alpha/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
20756169689Skan	* alpha/vms.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
20757169689Skan	* arm/aof.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
20758169689Skan	* arm/pe.h (ASM_OUTPUT_COMMON): Likewise.
20759169689Skan	* avr.h (ASM_OUTPUT_COMMON, ASM_GENERATE_INTERNAL_LABEL,
20760169689Skan	ASM_OUTPUT_SKIP): Likewise.
20761169689Skan	* c4x.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
20762169689Skan	* dsp16xx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
20763169689Skan	* h8300.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_COMMON):
20764169689Skan	Likewise.
20765169689Skan	* i370.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
20766169689Skan	* i386/cygming.h (ASM_OUTPUT_COMMON): Likewise.
20767169689Skan	* i386/darwin.h (ASM_OUTPUT_COMMON): Likewise.
20768169689Skan	* i960.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
20769169689Skan	* m68k/hp320.h (PRINT_OPERAND_ADDRESS): Likewise.
20770169689Skan	* mcore.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
20771169689Skan	* pdp11.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
20772169689Skan	* ptx4.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
20773169689Skan	* sparc/freebsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
20774169689Skan	* svr3.h (ASM_OUTPUT_COMMON): Likewise.
20775169689Skan
20776169689Skan2003-06-04  J"orn Rennecke <joern.rennecke@superh.com>
20777169689Skan
20778169689Skan	* c-decl.c (c_init_decl_processing): Clear input_file_name
20779169689Skan	while building common nodes.
20780169689Skan	* dwarf2out.c (gen_compile_unit_die, dwarf2out_finish):
20781169689Skan	Don't add working directory for strings like <built-in> .
20782169689Skan
20783169689Skan2003-06-04  David Edelsohn  <edelsohn@gnu.org>
20784169689Skan
20785169689Skan	* doc/install.texi (*-ibm-aix*): Native as and ld required
20786169689Skan	to bootstrap on AIX 5L.
20787169689Skan
20788169689Skan2003-06-04  Richard Henderson  <rth@redhat.com>
20789169689Skan
20790169689Skan	* c-common.c (handle_cleanup_attribute): New.
20791169689Skan	(c_common_attributes): Add it.
20792169689Skan	* c-decl.c (finish_decl): Honor the cleanup attribute.
20793169689Skan	* doc/extend.texi (Variable Attributes): Document it.
20794169689Skan
20795169689Skan	* unwind-c.c: New file.
20796169689Skan	* Makefile.in (LIB2ADDEH): Add it.
20797169689Skan	* config/t-darwin, config/t-linux, config/t-linux-gnulibc1,
20798169689Skan	config/ia64/t-ia64: Likewise.
20799169689Skan
20800169689Skan2003-06-04  Jakub Jelinek  <jakub@redhat.com>
20801169689Skan
20802169689Skan	* function.c (trampolines_created): New variable.
20803169689Skan	(expand_function_end): Set it when doing INITIALIZE_TRAMPOLINE.
20804169689Skan	* function.h (trampolines_created): Add.
20805169689Skan	* config/s390/linux.h (ASM_FILE_END): Define.
20806169689Skan	* config/alpha/linux-elf.h (ASM_FILE_END): Define.
20807169689Skan	* config/m68k/linux.h (ASM_FILE_END): Define.
20808169689Skan	* config/rs6000/linux.h (ASM_FILE_END): Define.
20809169689Skan	* config/rs6000/linux64.h (ASM_FILE_END): Define.
20810169689Skan	* config/rs6000/ppc-asm.h: Add .note.GNU-stack on powerpc-linux.
20811169689Skan	* config/sparc/linux.h (ASM_FILE_END): Define.
20812169689Skan	* config/sparc/linux64.h (ASM_FILE_END): Define.
20813169689Skan	* config/i386/i386.c (ix86_asm_file_end): Use SUBTARGET_FILE_END.
20814169689Skan	* config/i386/linux.h (SUBTARGET_FILE_END): Define.
20815169689Skan	* config/i386/linux64.h (SUBTARGET_FILE_END): Define.
20816169689Skan
20817169689SkanWed Jun  4 18:39:33 CEST 2003  Jan Hubicka  <jh@suse.cz>
20818169689Skan
20819169689Skan	* i386.c (min_insn_size, k8_avoid_jump_misspredicts): New functions
20820169689Skan	(ix86_reorg): Use it.
20821169689Skan	* i386.md (align): New insn pattern.
20822169689Skan
20823169689Skan2003-06-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20824169689Skan
20825169689Skan	* toplev.c (rest_of_type_compilation): Fix typo.
20826169689Skan
20827169689Skan2003-06-04  Jakub Jelinek  <jakub@redhat.com>
20828169689Skan	    Alan Modra  <amodra@bigpond.net.au>
20829169689Skan
20830169689Skan	* config/i386/linux.h (NO_PROFILE_COUNTERS): Define to 1.
20831169689Skan	* config/i386/freebsd.h (NO_PROFILE_COUNTERS): Likewise.
20832169689Skan	* config/i386/netbsd-elf.h (NO_PROFILE_COUNTERS): Likewise.
20833169689Skan	* config/xtensa/xtensa.h (NO_PROFILE_COUTNERS): Likewise.
20834169689Skan	* config/darwin.h (NO_PROFILE_COUNTERS): Likewise.
20835169689Skan	* final.c (NO_PROFILE_COUNTERS): Define to 0 if not defined.
20836169689Skan	(profile_function): Allow NO_PROFILE_COUNTERS to be non-constant.
20837169689Skan	* config/rs6000/rs6000.c (output_profile_hook): Likewise.
20838169689Skan
20839169689Skan	* configure.in (powerpc*-*, s390*-*): Set tls_as_opt.
20840169689Skan	Pass it to $gcc_cv_as.
20841169689Skan	* configure: Rebuilt.
20842169689Skan
20843169689Skan	* config/rs6000/rs6000.c (rs6000_abi_name): Remove initializer.
20844169689Skan	(print_operand): Allow TARGET_AIX to be non-constant.
20845169689Skan	(rs6000_aix_emit_builtin_unwind_init, rs6000_emit_eh_toc_restore):
20846169689Skan	Define unconditionally.
20847169689Skan	(rs6000_elf_declare_function_name): New function.
20848169689Skan	* config/rs6000/rs6000.md (eh_return): Allow TARGET_AIX to be
20849169689Skan	non-constant.
20850169689Skan	* config/rs6000/linux64.h [!RS6000_BI_ARCH] (TARGET_64BIT): Define
20851169689Skan	to 1.
20852169689Skan	(DEFAULT_ARCH64_P, RS6000_BI_ARCH_P): Define.
20853169689Skan	[IN_LIBGCC2] (TARGET_64BIT): Define based on whether __powerpc64__
20854169689Skan	is defined.
20855169689Skan	(TARGET_AIX): Define to 1 if TARGET_64BIT.
20856169689Skan	(PROCESSOR_DEFAULT): Remove.
20857169689Skan	(TARGET_RELOCATABLE, RS6000_ABI_NAME, INVALID_64BIT,
20858169689Skan	INVALID_32BIT, SUBSUBTARGET_OVERRIDE_OPTIONS): Define.
20859169689Skan	[RS6000_BI_ARCH] (OVERRIDE_OPTIONS, ASM_FILE_START): Define.
20860169689Skan	(ASM_DEFAULT_SPEC, ASM_SPEC, LINK_OS_LINUX_SPEC): Define for both
20861169689Skan	-m32 and -m64.
20862169689Skan	(MULTILIB_DEFAULTS): Define.
20863169689Skan	(SUBSUBTARGET_EXTRA_SPECS): Define.
20864169689Skan	(ASM_SPEC32, ASM_SPEC64, ASM_SPEC_COMMON): Define.
20865169689Skan	(TARGET_TOC): Define only if !RS6000_BI_ARCH.
20866169689Skan	(TARGET_NO_TOC): Remove.
20867169689Skan	[!RS6000_BI_ARCH] (TARGET_RELOCATABLE, TARGET_EABI,
20868169689Skan	TARGET_PROTOTYPE): Define to 0.
20869169689Skan	(NO_PROFILE_COUNTERS): Define to TARGET_64BIT.
20870169689Skan	(PROFILE_HOOK): Only call output_profile_hook if TARGET_64BIT.
20871169689Skan	(ADJUST_FIELD_ALIGN, ROUND_TYPE_ALIGN): Adjust to work properly
20872169689Skan	if !TARGET_64BIT.
20873169689Skan	(USER_LABEL_PREFIX): Remove.
20874169689Skan	(JUMP_TABLES_IN_TEXT_SECTION): Define to TARGET_64BIT.
20875169689Skan	(SETUP_FRAME_ADDRESSES): Only call rs6000_aix_emit_builtin_unwind_init
20876169689Skan	if TARGET_64BIT.
20877169689Skan	(TARGET_OS_CPP_BUILTINS): Handle both -m32 and -m64.
20878169689Skan	(LINK_OS_LINUX_SPEC32, LINK_OS_LINUX_SPEC64): Define.
20879169689Skan	(STARTFILE_LINUX_SPEC, ENDFILE_LINUX_SPEC): Remove.
20880169689Skan	(TOC_SECTION_ASM_OP): Define depending on TARGET_64BIT.
20881169689Skan	(MINIMAL_TOC_SECTION_ASM_OP): Likewise.
20882169689Skan	(SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE): Define depending on
20883169689Skan	TARGET_64BIT.
20884169689Skan	(RS6000_CALL_GLUE): Likewise.
20885169689Skan	(SAVE_FP_PREFIX, SAVE_FP_SUFFIX, RESTORE_FP_PREFIX,
20886169689Skan	RESTORE_FP_SUFFIX): Likewise.
20887169689Skan	(ASM_DECLARE_FUNCTION_NAME): Remove.
20888169689Skan	(ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_SOURCE_LINE,
20889169689Skan	DBX_OUTPUT_BRAC, DBX_OUTPUT_NFUN): Only output dot before function
20890169689Skan	name if TARGET_64BIT.
20891169689Skan	(ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Handle both TARGET_64BIT and
20892169689Skan	!TARGET_64BIT.
20893169689Skan	(ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Remove undefs.
20894169689Skan	(ASM_PREFERRED_EH_DATA_FORMAT): Take TARGET_64BIT into account.
20895169689Skan	(DRAFT_V4_STRUCT_RET): Define.
20896169689Skan	(SIGNAL_FRAMESIZE): New enum value.
20897169689Skan	(MD_FALLBACK_FRAME_STATE_FOR): Define.
20898169689Skan	* config/rs6000/default64.h: New file.
20899169689Skan	* config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -m32 and -m64
20900169689Skan	options.
20901169689Skan	(SUBTARGET_OVERRIDE_OPTIONS): If rs6000_abi_name is NULL, set it
20902169689Skan	to RS6000_ABI_NAME.  Only disallow mixing of -fPIC with -mcall-aixdesc
20903169689Skan	if !TARGET_64BIT.
20904169689Skan	[!RS6000_BI_ARCH] (SUBSUBTARGET_OVERRIDE_OPTIONS): Define.
20905169689Skan	(ASM_DECLARE_FUNCTION_NAME): Use rs6000_elf_declare_function_name
20906169689Skan	function.
20907169689Skan	(TARGET_OS_SYSV_CPP_BUILTINS): Define.
20908169689Skan	(TARGET_OS_CPP_BUILTINS): Use it.
20909169689Skan	(CPP_SYSV_SPEC): Remove.
20910169689Skan	(CPP_SPEC): Remove cpp_sysv.
20911169689Skan	(SUBTARGET_EXTRA_SPECS): Remove cpp_sysv.
20912169689Skan	Add SUBSUBTARGET_EXTRA_SPECS.
20913169689Skan	(SUBSUBTARGET_EXTRA_SPECS): Define.
20914169689Skan	* config/rs6000/biarch64.h: New file.
20915169689Skan	* config/rs6000/rs6000-protos.h (rs6000_elf_declare_function_name):
20916169689Skan	New prototype.
20917169689Skan	* config/rs6000/x-linux64: New file.
20918169689Skan	* config/rs6000/t-linux64: Build -m64, -m32 and -m32 -msoft-float
20919169689Skan	multilibs.
20920169689Skan	* config/rs6000/eabi-ci.asm: Protect with #ifndef __powerpc64__.
20921169689Skan	* config/rs6000/eabi-cn.asm: Likewise.
20922169689Skan	* config/rs6000/tramp.asm: Likewise.
20923169689Skan	* config/rs6000/sol-ci.asm: Likewise.
20924169689Skan	* config/rs6000/sol-cn.asm: Likewise.
20925169689Skan	* config/rs6000/linux.h (TARGET_64BIT): Define to 0.
20926169689Skan	(TARGET_OS_CPP_BUILTINS): Use TARGET_OS_SYSV_CPP_BUILTINS.
20927169689Skan	* config/rs6000/ppc-asm.h: Move __powerpc64__ section before
20928169689Skan	_CALL_AIXDESC section.
20929169689Skan	* config.gcc (powerpc64-*-linux*): Configure a bi-arch compiler,
20930169689Skan	defaulting to -m64 unless --with-cpu= is one of the 32-bit CPUs
20931169689Skan	or default32.
20932169689Skan
20933169689Skan2003-06-04  Daniel Jacobowitz  <drow@mvista.com>
20934169689Skan
20935169689Skan	* config.gcc: Revert accidentally committed ARM changes.
20936169689Skan
20937169689Skan2003-06-04  Roger Sayle  <roger@eyesopen.com>
20938169689Skan
20939169689Skan	* builtins.c (dconstpi, dconste): New mathematical constants.
20940169689Skan	(init_builtin_dconsts): New function to initialize dconstpi
20941169689Skan	and dconste.
20942169689Skan	(fold_builtin): Optimize exp(1.0) = e.  Evaluate exp(x) at
20943169689Skan	compile time with -ffast-math when x is an integer constant.
20944169689Skan	Optimize tan(0.0) = 0.0.  Optimize atan(0.0) = 0.0,
20945169689Skan	atan(1.0) = pi/4 and tan(atan(x)) = x with -ffast-math.
20946169689Skan
20947169689Skan2003-06-04  Roger Sayle  <roger@eyesopen.com>
20948169689Skan
20949169689Skan	* calls.c (expand_call): Avoid calling pure or const functions
20950169689Skan	when the result is ignored (or void) and none of the arguments
20951169689Skan	are volatile.  Move warning diagnostic earlier in function.
20952169689Skan
20953169689Skan2003-06-04  Andreas Jaeger  <aj@suse.de>
20954169689Skan
20955169689Skan	* system.h: Do not poison TDESC_SECTION_ASM_OP,
20956169689Skan	RDATA_SECTION_ASM_OP and SUBTARGET_PROLOGUE.
20957169689Skan
20958169689Skan2003-06-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
20959169689Skan
20960169689Skan	* final.c (asm_fprintf): Update comments, accept "-+ #0" flags,
20961169689Skan	optimize '%' case, handle %c, don't accept %p, %e, %f or %g,
20962169689Skan	handle %ll, optimize regular character case.
20963169689Skan
20964169689Skan2003-06-04  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
20965169689Skan
20966169689Skan	* Makefile.in (cse.o): Add params.h dependency.
20967169689Skan	* cse.c: Include params.h.
20968169689Skan	(PATHLENGTH): Removed.
20969169689Skan	(struct cse_basic_block_data): Make path array dynamic.
20970169689Skan	(cse_end_of_basic_block): Use PARAM_MAX_CSE_PATH_LENGTH instead
20971169689Skan	of PATHLENGTH.
20972169689Skan	(cse_main, cse_basic_block): Allocate path array.
20973169689Skan	* params.def (PARAM_MAX_CSE_PATH_LENGTH): New.
20974169689Skan
20975169689SkanWed Jun  4 09:49:21 CEST 2003  Jan Hubicka  <jh@suse.cz>
20976169689Skan
20977169689Skan	* i386.c (ix86_reorg): Replace the jump instead of adding nop.
20978169689Skan	* i386.md (UNSPEC_REP): New constant.
20979169689Skan	(return_internal_long): New pattern.
20980169689Skan
20981169689Skan2003-06-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
20982169689Skan
20983169689Skan	PR optimization/11018
20984169689Skan	* config/sparc/sparc.c (sparc_v8plus_shift): Use which_alternative
20985169689Skan	consistently to decide whether the scratch register is really
20986169689Skan	required.
20987169689Skan
20988169689Skan2003-06-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
20989169689Skan
20990169689Skan	PR optimization/10876
20991169689Skan	* config/sparc/sparc.h (CONST_OK_FOR_LETTER): Add
20992169689Skan	new 'O' constraint for constant 4096.
20993169689Skan	(CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
20994169689Skan	* config/sparc/sparc.md (adddi3 expander): Canonicalize pattern.
20995169689Skan	Do not transform into MINUS insn for constant 4096.
20996169689Skan	(*adddi3_sp64 insn): Canonicalize pattern. Add new alternative
20997169689Skan	for constant 4096 as third operand.
20998169689Skan	(addsi3 expander): Remove.
20999169689Skan	(*addsi3 insn): Rename into 'addsi3'. Canonicalize pattern. Add
21000169689Skan	new alternative for constant 4096 as third operand.
21001169689Skan	(subdi3 expander): Do not transform into PLUS insn for constant 4096.
21002169689Skan	(*subdi3_sp64 insn): Add new alternative for constant 4096 as third
21003169689Skan	operand.
21004169689Skan	(subsi3 expander): Remove.
21005169689Skan	(*subsi3 insn): Rename into 'subsi3'. Add new alternative for
21006169689Skan	constant 4096 as third operand.
21007169689Skan	* doc/md.texi (Machine Constraints): Document new 'O' constraint for
21008169689Skan	the SPARC port.
21009169689Skan
21010169689Skan2003-06-03  Chris Demetriou  <cgd@broadcom.com>
21011169689Skan
21012169689Skan	* config/mips/t-linux64 (CRTSTUFF_T_CFLAGS_S): Define.
21013169689Skan
21014169689Skan2003-06-04  Andreas Jaeger  <aj@suse.de>
21015169689Skan
21016169689Skan	* config/i386/uwin.h: Remove SUBTARGET_PROLOGUE.
21017169689Skan
21018169689Skan	* config/i386/i386.c (ix86_expand_prologue): Do not use
21019169689Skan	SUBTARGET_PROLOGUE.
21020169689Skan
21021169689Skan	* system.h: Poision SUBTARGET_PROLOGUE.
21022169689Skan
21023169689Skan	* config/arm/arm-protos.h: Remove unused rdate_section prototype.
21024169689Skan
21025169689Skan	* output.h: Remove TDESC_SECTION_ASM_OP and RDATA_SECTION_ASM_OP
21026169689Skan	dependend code.
21027169689Skan
21028169689Skan	* system.h: Poison TDESC_SECTION_ASM_OP and RDATA_SECTION_ASM_OP.
21029169689Skan
21030169689Skan	* system.h: Poison INSN_CACHE_DEPTH, INSN_CACHE_SIZE and
21031169689Skan	INSN_CACHE_LINE_WIDTH.
21032169689Skan
21033169689Skan	* libgcc2.c (INSN_CACHE_PLANE_SIZE): Removed.
21034169689Skan	(__clear_cache): Remove code dependend on INSN_CACHE_DEPTH,
21035169689Skan	INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH.
21036169689Skan
21037169689Skan	* doc/tm.texi (Trampolines): Remove INSN_CACHE_DEPTH,
21038169689Skan	INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH.
21039169689Skan
21040169689Skan	* dbxout.c (dbxout_type): Remove usage of DBX_OUTPUT_ENUM.
21041169689Skan	(dbxout_symbol): Remove usage of DBX_OUTPUT_CONSTANT_SYMBOL.
21042169689Skan	(dbxout_block): Remove usage of DBX_OUTPUT_CATCH.
21043169689Skan	(dbxout_block): Remove usage of DBX_LBRAC_FIRST.
21044169689Skan	(dbxout_source_file): Remove usage of DBX_OUTPUT_SOURCE_FILENAME.
21045169689Skan	(dbxout_init): Remove test for DBX_WORKING_DIRECTORY.
21046169689Skan
21047169689Skan	* doc/tm.texi (DBX Options): Do not document DBX_LBRAC_FIRST,
21048169689Skan	DBX_OUTPUT_SOURCE_FILENAME and DBX_OUTPUT_ENUM and
21049169689Skan	DBX_WORKING_DIRECTORY.
21050169689Skan
21051169689Skan	* system.h: Poison DBX_LBRAC_FIRST, DBX_OUTPUT_ENUM,
21052169689Skan	DBX_OUTPUT_SOURCE_FILENAME and DBX_WORKING_DIRECTORY.
21053169689Skan
21054169689Skan	* config/frv/frv-protos.h: Remove unused const_section
21055169689Skan	declaration.
21056169689Skan	* config/vax/vax-protos.h: Likewise.
21057169689Skan
21058169689Skan	* output.h: Remove CONST_SECTION_ASM_OP usage.
21059169689Skan
21060169689Skan	* system.h: Poison CONST_SECTION_ASM_OP.
21061169689Skan
21062169689Skan	* crtstuff.c (__do_global_dtors_aux): Remove usage of
21063169689Skan	CRT_GET_RFIB_TEXT.
21064169689Skan	(frame_dummy): Likewise.
21065169689Skan	* unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Likewise.
21066169689Skan	* system.h: Poison CRT_GET_RFIB_TEXT.
21067169689Skan
21068169689Skan	* collect2.c (is_ctor_dtor): Remove CFRONT_LOSSAGE dependend code.
21069169689Skan
21070169689Skan	* fix-header.c: Remove ADD_MISSING_EXTERN_C dependend variables.
21071169689Skan	(write_lbrac): Remove ADD_MISSING_EXTERN_C dependend code.
21072169689Skan	(recognized_function): Likewise.
21073169689Skan	(read_scan_file): Likewise.
21074169689Skan
21075169689Skan2003-06-03  Roger Sayle  <roger@eyesopen.com>
21076169689Skan
21077169689Skan	* optabs.c (expand_binop): Optimize complex multiplication for
21078169689Skan	the case of squaring a complex argument.
21079169689Skan
21080169689Skan2003-06-03  Roger Sayle  <roger@eyesopen.com>
21081169689Skan
21082169689Skan	* optabs.c (expand_binop): Attempt to reuse pseudos for duplicate
21083169689Skan	non-volatile operands of binary operations.
21084169689Skan	(prepare_cmp_insn): Likewise.
21085169689Skan
21086169689Skan2003-06-03  Roger Sayle  <roger@eyesopen.com>
21087169689Skan
21088169689Skan	* varasm.c (force_const_mem): Handle alignment of constants not
21089169689Skan	representable as a type in the front-end language.
21090169689Skan
21091169689Skan2003-06-03  Kazu Hirata  <kazu@cs.umass.edu>
21092169689Skan
21093169689Skan	* flow.c (initialize_uninitialized_subregs): Use
21094169689Skan	emit_move_insn instead of emitting a hardcoded move.
21095169689Skan
21096169689Skan2003-06-03  Richard Henderson  <rth@redhat.com>
21097169689Skan
21098169689Skan	* optabs.c (expand_abs_nojump): Split out from ...
21099169689Skan	(expand_abs): ... here.
21100169689Skan	* optabs.h (expand_abs_nojump): Declare.
21101169689Skan	* ifcvt.c: (noce_try_abs): Use expand_abs_nojump.
21102169689Skan	* Makefile.in (ifcvt.o): Depend on optabs.h.
21103169689Skan
21104169689Skan2003-06-03  Alan Modra  <amodra@bigpond.net.au>
21105169689Skan
21106169689Skan	* dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Heed flag_merge_constants.
21107169689Skan
21108169689Skan2003-06-03  Jason Thorpe  <thorpej@wasabisystems.com>
21109169689Skan
21110169689Skan	* config.gcc (default_use_cxa_atexit): New variable, defaults to no.
21111169689Skan	(*-*-netbsd[2-9]* | *-*-netbsdelf[2-9]*): Set default_use_cxa_atexit
21112169689Skan	to yes.
21113169689Skan	* configure.in: Allow default_use_cxa_atexit to determine the
21114169689Skan	value of DEFAULT_USE_CXA_ATEXIT if not explicitly enabled or
21115169689Skan	disabled.
21116169689Skan	* configure: Regenerate.
21117169689Skan
21118169689Skan2003-06-03  Douglas B Rupp  <rupp@gnat.com>
21119169689Skan
21120169689Skan	* Makefile.in (TEXI_GCC_FILES): Remove vms.texi entry.
21121169689Skan	* doc/gcc.texi: Remove vms.texi section.
21122169689Skan	* doc/vms.texi: Remove obsolete file.
21123169689Skan
21124169689Skan2003-05-23  J"orn Rennecke <joern.rennecke@superh.com>
21125169689Skan
21126169689Skan	* configure.in (inhibit_libc): Don't define when configuring
21127169689Skan	with --with-newlib --with-headers.
21128169689Skan	* configure: Regenerate.
21129169689Skan
21130169689Skan	* t-sh: Remove LIB2FUNCS_EXTRA and embed-bb.c rules.
21131169689Skan
21132169689Skan2003-06-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
21133169689Skan
21134169689Skan	* configure.in (gcc_cv_as_hidden): Disable .hidden completely on
21135169689Skan	IRIX 6 without GNU ld.
21136169689Skan	* configure: Regenerate.
21137169689Skan
21138169689Skan2003-06-03  Roger Sayle  <roger@eyesopen.com>
21139169689Skan
21140169689Skan	* expr.c (emit_move_insn_1): Use emit_move_insn to move the parts
21141169689Skan	of a complex number rather than invoke mov_optab directly.
21142169689Skan
21143169689Skan2003-06-03  Kazu Hirata  <kazu@cs.umass.edu>
21144169689Skan
21145169689Skan	* combine.c (simplify_set): Don't move a subreg in SET_SRC to
21146169689Skan	SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
21147169689Skan
21148169689Skan2003-06-03  Nathanael Nerode  <neroden@gcc.gnu.org>
21149169689Skan
21150169689Skan	* config/i386/x86-64.h: Remove two target-independent comments;
21151169689Skan	 replace "GNU CC" with "GCC".
21152169689Skan
21153169689Skan2003-06-03  Anthony Green  <green@redhat.com>
21154169689Skan
21155169689Skan	* config/frv/t-frv (EXTRA_HEADERS): Remove media.h
21156169689Skan
21157169689Skan2003-06-03  Roger Sayle  <roger@eyesopen.com>
21158169689Skan
21159169689Skan	* builtins.def (BUILT_IN_CABS, BUILT_IN_CABSF, BUILT_IN_CABSL):
21160169689Skan	New builtins representing ISO C99's cabs, cabsf and cabsl.
21161169689Skan	* builtins.c (expand_builtin_fabs): New function.
21162169689Skan	(expand_builtin_cabs): New function.
21163169689Skan	(expand_builtin): Expand BUILT_IN_FABS{,F,L} and BUILT_IN_CABS{,F,L}
21164169689Skan	using expand_builtin_fabs and expand_builtin_cabs respectively.
21165169689Skan
21166169689Skan	* doc/extend.texi: Document new cabs, cabsf and cabsl builtins.
21167169689Skan
21168169689Skan2003-06-03  Aldy Hernandez  <aldyh@redhat.com>
21169169689Skan
21170169689Skan	* function.c (assign_parms): Split complex arguments.
21171169689Skan
21172169689Skan	* doc/tm.texi (SPLIT_COMPLEX_ARGS): Document.
21173169689Skan
21174169689Skan	* expr.h (SPLIT_COMPLEX_ARGS): Define.
21175169689Skan	(split_complex_types): Protoize.
21176169689Skan	(split_complex_values): Protoize.
21177169689Skan
21178169689Skan	* calls.c (expand_call): Split complex arguments on architectures
21179169689Skan	that require it.
21180169689Skan	(split_complex_values): New.
21181169689Skan	(split_complex_types): New.
21182169689Skan
21183169689Skan	* config/rs6000/rs6000.c (rs6000_libcall_value): New.
21184169689Skan	(rs6000_function_value): Handle complex values on AIX.
21185169689Skan	(rs6000_complex_function_value): New.
21186169689Skan
21187169689Skan	* config/rs6000/rs6000-protos.h (rs6000_libcall_value): Protoize.
21188169689Skan
21189169689Skan	* config/rs6000/rs6000.h (LIBCALL_VALUE): Call function.
21190169689Skan	(SPLIT_COMPLEX_ARGS): New.
21191169689Skan
21192169689Skan2003-06-03  Jakub Jelinek  <jakub@redhat.com>
21193169689Skan
21194169689Skan	* configure.in (HAVE_LD_PIE): Check for ld -pie.
21195169689Skan	* config.in: Rebuilt.
21196169689Skan	* configure: Rebuilt.
21197169689Skan	* toplev.c (flag_pie, flag_shlib): New variables.
21198169689Skan	(f_options): Add -fpie and -fPIE.
21199169689Skan	(parse_options_and_default_flags): Set flag_pic if -fpie/-fPIE.
21200169689Skan	Set flag_shlib if flag_pic and not -fpie/-fPIE.
21201169689Skan	* flags.h (flag_pic, flag_shlib): Add.
21202169689Skan	* varasm.c (default_binds_local_p): Use flag_shlib instead of
21203169689Skan	flag_pic.
21204169689Skan	* gcc.c (LINK_PIE_SPEC): Define.
21205169689Skan	(LINK_COMMAND_SPEC): Use LINK_PIE_SPEC.
21206169689Skan	(option_map): Add --pie -> -pie mapping.
21207169689Skan	* config/sol2.h (ASM_SPEC): Handle -fpie the same way as -fpic
21208169689Skan	and -fPIE the same way as -fPIC.
21209169689Skan	* config/openbsd.h (ASM_SPEC): Likewise.
21210169689Skan	* config/frv/frv.h (ASM_SPEC): Likewise.
21211169689Skan	* config/arm/linux-gas.h (SUBTARGET_CPP_SPEC): Likewise.
21212169689Skan	* config/arm/semi.h (ASM_SPEC): Likewise.
21213169689Skan	* config/arm/netbsd-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise.
21214169689Skan	* config/freebsd-spec.h (FBSD_CPP_SPEC): Likewise.
21215169689Skan	* config/i386/beos-elf.h (CC1_SPEC): Likewise.
21216169689Skan	* config/i386/freebsd-aout.h (ASM_SPEC): Likewise.
21217169689Skan	* config/m68k/linux.h (CPP_SPEC): Likewise.
21218169689Skan	* config/m68k/netbsd.h (ASM_SPEC): Likewise.
21219169689Skan	* config/m68k/openbsd.h (ASM_SPEC): Likewise.
21220169689Skan	* config/m68k/netbsd-elf.h (ASM_SPEC): Likewise.
21221169689Skan	* config/mips/linux.h (SUBTARGET_CPP_SPEC): Likewise.
21222169689Skan	* config/mips/openbsd.h (SUBTARGET_ASM_SPEC): Likewise.
21223169689Skan	* config/pa/pa-linux.h (CPP_SPEC): Likewise.
21224169689Skan	* config/netbsd-aout.h (ASM_SPEC): Likewise.
21225169689Skan	* config/rs6000/sysv4.h (ASM_SPEC, CPP_SYSV_SPEC): Likewise.
21226169689Skan	* config/rs6000/vxworks.h (CPP_SPEC): Likewise.
21227169689Skan	* config/sparc/linux.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise.
21228169689Skan	* config/sparc/linux64.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise.
21229169689Skan	* config/sparc/sparc.h (ASM_SPEC): Likewise.
21230169689Skan	* config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
21231169689Skan	* config/sparc/sysv4.h (ASM_SPEC): Likewise.
21232169689Skan	* config/sparc/netbsd-elf.h (ASM_SPEC): Likewise.
21233169689Skan	* config/sparc/openbsd64.h (ASM_SPEC): Likewise.
21234169689Skan	* config/cris/linux.h (CRIS_ASM_SUBTARGET_SPEC): Likewise.
21235169689Skan	* config/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Handle -pie.
21236169689Skan	Simplify.
21237169689Skan	* config/alpha/elf.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
21238169689Skan	* config/i386/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
21239169689Skan	* config/ia64/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
21240169689Skan	* config/rs6000/sysv4.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
21241169689Skan	* config/rs6000/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
21242169689Skan	* config/sparc/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
21243169689Skan	* config/sparc/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
21244169689Skan	* doc/invoke.texi: Document -pie, -fpie and -fPIE options.
21245169689Skan
21246169689Skan2003-06-03  Jakub Jelinek  <jakub@redhat.com>
21247169689Skan
21248169689Skan	* builtins.c (expand_builtin_memcpy): Remove endp argument and endp
21249169689Skan	!= 0 handling.  Pass 0 to store_by_pieces.
21250169689Skan	(expand_builtin_mempcpy): Add endp argument.  Don't call
21251169689Skan	expand_builtin_memcpy, call store_by_pieces resp. move_by_pieces
21252169689Skan	directly.  If ignoring result, only do expand_call.
21253169689Skan	(expand_builtin_stpcpy): Likewise.  Call expand_builtin_mempcpy
21254169689Skan	otherwise.
21255169689Skan	(expand_builtin_strncpy, expand_builtin_memset): Adjust
21256169689Skan	store_by_pices callers.
21257169689Skan	(expand_builtin): Adjust expand_builtin_memcpy and
21258169689Skan	expand_builtin_mempcpy callers.
21259169689Skan	* expr.c (can_move_by_pieces): New function.
21260169689Skan	(move_by_pieces): Add endp argument, return to resp. memory at end
21261169689Skan	or one byte earlier depending on endp.
21262169689Skan	(store_by_pieces): Likewise.
21263169689Skan	(emit_block_move): Adjust call to move_by_pieces.
21264169689Skan	(emit_push_insn): Adjust move_by_pieces caller.
21265169689Skan	* expr.h (can_move_by_pieces): New prototype.
21266169689Skan	(store_by_pieces): Adjust prototypes.
21267169689Skan	* rtl.h (move_by_pieces): Adjust prototype.
21268169689Skan	* config/mips/mips.c (expand_block_move): Adjust move_by_pieces
21269169689Skan	caller.
21270169689Skan
21271169689Skan2003-06-03  Ben Elliston  <bje@wasabisystems.com>
21272169689Skan
21273169689Skan	* doc/md.texi (Processor pipeline description): Improve wording.
21274169689Skan
21275169689Skan2003-06-03  Neil Booth  <neil@daikokuya.co.uk>
21276169689Skan
21277169689Skan	* c-opts.c (c_common_handle_option): New, pulled out of
21278169689Skan	c_common_decode_option.  Substitute uses of argv.
21279169689Skan	(c_common_decode_option): Broken into two.
21280169689Skan
21281169689Skan2003-06-02  Roger Sayle  <roger@eyesopen.com>
21282169689Skan	    Zack Weinberg  <zack@codesourcery.com>
21283169689Skan
21284169689Skan	* emit-rtl.c (gen_complex_constant_part):  Remove unnecessary
21285169689Skan	test of TREE_CONSTANT_POOL_ADDRESS_P.
21286169689Skan
21287169689Skan2003-06-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21288169689Skan
21289169689Skan	* mips.c: Don't include output.h twice.
21290169689Skan	* stormy16.c: Likewise.
21291169689Skan	* xtensa.c: Likewise.
21292169689Skan	* output.h: Protect against multiple inclusion.
21293169689Skan
21294169689Skan2003-06-02  J"orn Rennecke <joern.rennecke@superh.com>
21295169689Skan
21296169689Skan	* sh.h (OLD_ARG_MODE): New macro.
21297169689Skan	(FUNCTION_ARG_ADVANCE, FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
21298169689Skan	(FUNCTION_ARG_1): Break out of:
21299169689Skan	(FUNCTION_ARG).  Use OLD_ARG_MODE.
21300169689Skan
21301169689Skan2003-06-02  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
21302169689Skan
21303169689Skan	* gcc/config.gcc Add support multilib parts for m32rx processor.
21304169689Skan
21305169689Skan2003-06-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21306169689Skan
21307169689Skan	* Makefile.in (c-options.c): Pass in $(AWK) to opts.sh.
21308169689Skan	(mostlyclean): Delete c-options.c and c-options.h.
21309169689Skan
21310169689Skan2003-06-02  Neil Booth  <neil@daikokuya.co.uk>
21311169689Skan
21312169689Skan	* c-opts.c (CL_REJECT_NEGATIVE): New.
21313169689Skan	(c_common_decode_option): Update to use it.
21314169689Skan	* c.opt: Update documentation; use RejectNegative.
21315169689Skan	* opts.sh: Handle RejectNegative.
21316169689Skan
21317169689Skan2003-06-01  Zack Weinberg  <zack@codesourcery.com>
21318169689Skan
21319169689Skan	* ggc-page.c (init_ggc): Give better diagnostics on failure to
21320169689Skan	open /dev/zero.
21321169689Skan	* toplev.c (crash_signal): Reset handling for received signal
21322169689Skan	to SIG_DFL.
21323169689Skan
21324169689Skan2003-06-02  Ben Elliston  <bje@wasabisystems.com>
21325169689Skan
21326169689Skan	* config/arm/arm.c (arm_use_dfa_pipeline_interface): Declare.
21327169689Skan	(TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define if not already.
21328169689Skan	(arm_use_dfa_pipeline_interface): Implement.
21329169689Skan	* config/arm/arm.md (arm): New automaton.
21330169689Skan	(write_buf): Remove function units; new cpu unit.
21331169689Skan	(write_blockage): Remove function units; new cpu unit.
21332169689Skan	(core): Remove function units; new cpu unit.
21333169689Skan	(r_mem_f_wbuf): New instruction reservation.
21334169689Skan	(store1_wbuf, store2_wbuf, store3_wbuf, store4_wbuf): Likewise.
21335169689Skan	(store1_ldsched, store2, store3, store4): Likewise.
21336169689Skan	(load_ldsched, load_ldsched_xscale, load_or_store): Likewise.
21337169689Skan	(mult, mult_ldsched, mult_ldsched_strongarm): Likewise.
21338169689Skan	(multi_cycle, single_cycle): Likewise.
21339169689Skan	* config/arm/fpa.md (armfp): New automaton.
21340169689Skan	(fpa): Remove function units; new cpu unit.
21341169689Skan	(fpa_mem): Remove function unit; new cpu unit.
21342169689Skan	(fdivx, fdivd, fdivs, fmul, ffmul, farith, ffarith): New reservations.
21343169689Skan	(r_2_f, f_2_r, f_load, f_store, r_mem_f, f_mem_r): Likewise.
21344169689Skan
21345169689Skan2003-06-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21346169689Skan
21347169689Skan	* builtin-attrs.def (ATTR_ASM_FPRINTF): New.
21348169689Skan	* c-format.c (enum format_type): Add asm_fprintf_format_type.
21349169689Skan	(NOARGUMENTS, asm_fprintf_length_specs, asm_fprintf_flag_specs,
21350169689Skan	asm_fprintf_flag_pairs, asm_fprintf_char_table): New.
21351169689Skan	(format_types_orig): Renamed from format_types.  Add new data.
21352169689Skan	(format_types): Declare as pointer.
21353169689Skan	(handle_format_attribute): Move later in file so we have all
21354169689Skan	necessary declarations.  Add section to capture HOST_WIDE_INT.
21355169689Skan	* output.h (ATTRIBUTE_ASM_FPRINTF, __gcc_host_wide_int__): New.
21356169689Skan	(asm_fprintf): Mark with ATTRIBUTE_ASM_FPRINTF.
21357169689Skan
21358169689Skan2003-06-01  Andreas Jaeger  <aj@suse.de>
21359169689Skan
21360169689Skan	* doc/tm.texi (Storage Layout): Remove ROUND_TYPE_SIZE and
21361169689Skan	ROUND_TYPE_SIZE_UNIT.
21362169689Skan
21363169689Skan	* stor-layout.c (finalize_record_size): Remove usages of
21364169689Skan	ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT.
21365169689Skan	(finalize_type_size): Likewise.
21366169689Skan	(layout_type): Likewise.
21367169689Skan
21368169689Skan	* system.h: Poison ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT.
21369169689Skan
21370169689Skan	* loop.c (check_insn_for_givs): Remove DONT_REDUCE_ADDR macro.
21371169689Skan
21372169689Skan	* config/d30v/d30v.h: Remove text copied from the manual.
21373169689Skan
21374169689Skan2003-06-01  Roger Sayle  <roger@eyesopen.com>
21375169689Skan	    John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
21376169689Skan	    Geoffrey Keating  <geoffk@apple.com>
21377169689Skan
21378169689Skan	* emit-rtl.c (gen_lowpart_common): Handle interpreting integer
21379169689Skan	constants as condition code values.
21380169689Skan
21381169689Skan2003-06-01  DJ Delorie  <dj@redhat.com>
21382169689Skan
21383169689Skan	* cppmacro.c (warn_of_redefinition): Handle cases where the two
21384169689Skan	definitions have different numbers of tokens.
21385169689Skan
21386169689Skan2003-06-01  Andreas Jaeger  <aj@suse.de>
21387169689Skan
21388169689Skan	* gen-protos.c (main): Readd unused attribute for argc.
21389169689Skan
21390169689Skan2003-06-01  Neil Booth  <neil@daikokuya.co.uk>
21391169689Skan
21392169689Skan	* Makefile.in (c-options.c, c-options.h): Parallel make safe.
21393169689Skan	* c.opt: End in blank line.
21394169689Skan	* opts.sh: Take AWK from environment if available; use C locale.
21395169689Skan
21396169689Skan2003-06-01  Andreas Schwab  <schwab@suse.de>
21397169689Skan
21398169689Skan	* config/m68k/linux.h: Remove code protected by USE_GNULIBC_1.
21399169689Skan
21400169689Skan2003-06-01  Andreas Jaeger  <aj@suse.de>
21401169689Skan
21402169689Skan	* gen-protos.c (main): Revert patch to check for argument.
21403169689Skan
21404169689Skan2003-06-01  Eric Botcazou  <ebotcazou@libertysurf.fr>
21405169689Skan
21406169689Skan	PR target/11044
21407169689Skan	* config/i386/i386.md (length attribute): Set length to 4
21408169689Skan	for instructions of type "fcmp".
21409169689Skan
21410169689Skan2003-06-01  Andreas Jaeger  <aj@suse.de>
21411169689Skan
21412169689Skan	* toplev.c: Use ISO C90 prototypes.
21413169689Skan
21414169689Skan	* toplev.h: Use ISO C90 prototypes.
21415169689Skan
21416169689Skan	* genrecog.c: Use ISO C90 prototypes.
21417169689Skan	(nodes_identical): Correct declaration to match prototype.
21418169689Skan	(maybe_both_true): Likewise.
21419169689Skan	(merge_trees): Likewise.
21420169689Skan
21421169689Skan	* genpeep.c (gen_peephole): Remove #if 0 code.
21422169689Skan	Use ISO C90 prototypes.
21423169689Skan
21424169689Skan	* genattrtab.c (copy_rtx_unchanging): Remove #if 0'ed code.
21425169689Skan	Remove #if 0'ed function simplify_by_alternatives.
21426169689Skan	(optimize_attrs): Remove #if 0'ed code.
21427169689Skan	Remove ^L.
21428169689Skan	Use ISO C90 prototypes.
21429169689Skan	(make_canonical): Remove #if 0'ed code.
21430169689Skan	(convert_const_symbol_ref): Remove #if 0'ed function.
21431169689Skan
21432169689Skan	* gen-protos.c (main): Check for argument.
21433169689Skan
21434169689Skan	* rtl.h: Use ISO C90 prototypes for functions from lists.c.
21435169689Skan
21436169689Skan	* params.h: Use ISO C90 prototypes.
21437169689Skan	* params.c: Likewise.
21438169689Skan	* intl.c: Likewise.
21439169689Skan	* intl.h: Likewise.
21440169689Skan	* lists.c: Likewise.
21441169689Skan	* errors.c: Likewise.
21442169689Skan	* errors.h: Likewise.
21443169689Skan	* gencodes.c: Likewise.
21444169689Skan	* genpreds.c: Likewise.
21445169689Skan	* genattr.c: Likewise.
21446169689Skan	* gen-protos.c: Likewise.
21447169689Skan	* genflags.c: Likewise
21448169689Skan	* genconditions.c: Likewise.
21449169689Skan	* genautomata.c: Likewise.
21450169689Skan	* gencheck.c: Likewise.
21451169689Skan	* genconfig.c: Likewise.
21452169689Skan	* genconstants.c: Likewise.
21453169689Skan	* genemit.c: Likewise.
21454169689Skan	* genextract.c: Likewise.
21455169689Skan	* gengenrtl.c: Likewise.
21456169689Skan	* gengtype.c: Likewise.
21457169689Skan	* gengtype.h: Likewise.
21458169689Skan	* genopinit.c: Likewise.
21459169689Skan	* genoutput.c: Likewise.
21460169689Skan	* gensupport.c: Likewise.
21461169689Skan	* gensupport.h: Likewise.
21462169689Skan
21463169689Skan	* sdbout.h: Use ISO C90 prototypes.
21464169689Skan
21465169689Skan	* sdbout.c (CONTIN): Removed empty macro.
21466169689Skan	(sdbout_one_type): Remove CONTIN usages.
21467169689Skan	Remove ^Ls.
21468169689Skan	(tag_of_ru_type): Remove #if 0'ed function.
21469169689Skan	(sdbout_symbol): Remove #if 0'ed code.
21470169689Skan	(sdbout_one_type): Remove a #if 1.
21471169689Skan	(sdbout_one_type): Remove #if 0'ed code.
21472169689Skan	(sdbout_init): Remove RMS_QUICK_HACK_1 code.
21473169689Skan	Remove PARAMS, use ISO C90 prototypes for all functions.
21474169689Skan
21475169689Skan2003-06-01  Josef Zlomek  <zlomekj@suse.cz>
21476169689Skan
21477169689Skan	* rtl.def (CONST_DOUBLE): Update comment.
21478169689Skan
21479169689Skan2003-06-01  Neil Booth  <neil@daikokuya.co.uk>
21480169689Skan
21481169689Skan	* opts.sh: Remove path from sort.
21482169689Skan
21483169689Skan2003-06-01  Aldy Hernandez  <aldyh@redhat.com>
21484169689Skan
21485169689Skan	PR/9680
21486169689Skan	* config/rs6000/rs6000.h (CANNOT_CHANGE_MODE_CLASS): Require
21487169689Skan	TARGET_SPE for SPE_VECTOR_MODE.
21488169689Skan
21489169689Skan2003-05-31  Aldy Hernandez  <aldyh@redhat.com>
21490169689Skan
21491169689Skan	* toplev.c (botch): Remove.
21492169689Skan	(do_abort): Remove.
21493169689Skan	(set_Wunused): Comment.
21494169689Skan	(set_Wextra): Comment.
21495169689Skan	Remove ^L's.
21496169689Skan	(rest_of_compilation): Factor out common code into functions.
21497169689Skan	(rest_of_handle_inlining): New.
21498169689Skan	(rest_of_handle_ssa): New.
21499169689Skan	(rest_of_handle_cse): New.
21500169689Skan	(rest_of_handle_gcse): New.
21501169689Skan	(rest_of_handle_loop_optimize): New.
21502169689Skan	(rest_of_handle_jump_bypass): New.
21503169689Skan	(rest_of_handle_sibling_calls): New.
21504169689Skan	(rest_of_handle_null_pointer): New.
21505169689Skan	(rest_of_handle_addresof): New.
21506169689Skan	(rest_of_handle_flow): New.
21507169689Skan	(rest_of_handle_branch_prob): New.
21508169689Skan	(rest_of_handle_if_conversion): New.
21509169689Skan	(rest_of_handle_tracer): New.
21510169689Skan	(rest_of_handle_loop2): New.
21511169689Skan	(rest_of_handle_cse2): New.
21512169689Skan	(rest_of_handle_life): New.
21513169689Skan	(rest_of_handle_combine): New.
21514169689Skan	(rest_of_handle_if_after_combine): New.
21515169689Skan	(rest_of_handle_regmove): New.
21516169689Skan	(rest_of_handle_sched): New.
21517169689Skan	(rest_of_handle_old_regalloc): New.
21518169689Skan	(rest_of_handle_new_regalloc): New.
21519169689Skan	(rest_of_handle_regrename): New.
21520169689Skan	(rest_of_handle_reorder_blocks): New.
21521169689Skan	(rest_of_handle_sched2): New.
21522169689Skan	(rest_of_handle_new_regalloc): New.
21523169689Skan	(rest_of_handle_old_regalloc): New.
21524169689Skan	(rest_of_handle_regrename): New.
21525169689Skan	(rest_of_handle_reorder_blocks): New.
21526169689Skan	(rest_of_handle_stack_regs): New.
21527169689Skan	(rest_of_handle_machine_reorg): New.
21528169689Skan	(rest_of_handle_delay_slots): New.
21529169689Skan	(rest_of_handle_final): New.
21530169689Skan
21531169689Skan	* toplev.h (botch): Remove prototype.
21532169689Skan	(do_abort): Same.
21533169689Skan
21534169689Skan2003-05-31  Neil Booth  <neil@daikokuya.co.uk>
21535169689Skan
21536169689Skan	* Makefile.in (c-opts.o, c-options.h): Update dependencies.
21537169689Skan	* c-opts.c: Include c-options.h and c-options.c.
21538169689Skan	(CL_C_ONLY, CL_OBJC_ONLY, CL_CXX_ONLY, CL_OBJCXX_ONLY):
21539169689Skan	Rename CL_C, CL_OBJC, CL_CXX, CL_OBJCXX.
21540169689Skan	(CL_ARG, CL_ALL, COMMAND_LINE_OPTIONS, struct cl_option,
21541169689Skan	OPT, opt_comp): Remove.
21542169689Skan	(missing_arg, c_common_init_options, c_common_decode_option,
21543169689Skan	write_langs): Update for macro redefinitions and enumeration
21544169689Skan	name changes.
21545169689Skan	* c.opt, opts.sh: New files.
21546169689Skan	* doc/passes.texi: Update.
21547169689Skan
21548169689Skan2003-05-31  Andreas Jaeger  <aj@suse.de>
21549169689Skan
21550169689Skan	* function.c (trampoline_address): Remove ALLOCATE_TRAMPOLINE
21551169689Skan	usage.
21552169689Skan
21553169689Skan	* doc/tm.texi (Trampolines): Remove ALLOCATE_TRAMPOLINE.
21554169689Skan
21555169689Skan	* config/d30v/d30v.h: Remove traces of ALLOCATE_TRAMPOLINE.
21556169689Skan
21557169689Skan	* system.h: Poison ALLOCATE_TRAMPOLINE.
21558169689Skan
21559169689Skan	* doc/tm.texi (Misc): Remove HANDLE_PRAGMA.
21560169689Skan	* system.h: Poison HANDLE_PRAGMA.
21561169689Skan
21562169689Skan2003-05-31  Kazu Hirata  <kazu@cs.umass.edu>
21563169689Skan
21564169689Skan	* doc/invoke.texi: Update dump file names.
21565169689Skan
21566169689Skan2003-05-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21567169689Skan
21568169689Skan	* c-format.c (format_length_info, format_char_info,
21569169689Skan	format_flag_spec, format_flag_pair, format_kind_info):
21570169689Skan	De-const-ify structure members.
21571169689Skan
21572169689Skan2003-05-31  Roger Sayle  <roger@eyesopen.com>
21573169689Skan
21574169689Skan	* flags.h (flag_wrapv): New flag controlling overflow semantics.
21575169689Skan	* toplev.c (flag_wrapv): Declare the variable with default false.
21576169689Skan	(lang_independent_options): New option "-fwrapv" to set the above.
21577169689Skan
21578169689Skan	* fold-const.c (extract_muldiv_1): Disable optimization of (2*x)/2
21579169689Skan	as x, when signed arithmetic overflow wraps around.
21580169689Skan	(fold): Optimize "-A - B" as "-B - A" if overflow wraps around.
21581169689Skan	* loop.c (basic_induction_var): Ignore BIVs that rely on undefined
21582169689Skan	overflow when flag_wrapv is true.
21583169689Skan
21584169689Skan	* doc/invoke.texi: Document new -fwrapv command line option.
21585169689Skan	* doc/c-tree.texi: Mention that the overflow semantics of
21586169689Skan	NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR and MULT_EXPR is dependent
21587169689Skan	upon both flag_wrapv and flag_trapv.
21588169689Skan
21589169689Skan2003-05-31  Eric Botcazou  <ebotcazou@libertysurf.fr>
21590169689Skan
21591169689Skan	* doc/install.texi (mips-sgi-irix5): Add missing
21592169689Skan	HTML <hr> marker.
21593169689Skan
21594169689Skan2003-05-31  Eric Botcazou  <ebotcazou@libertysurf.fr>
21595169689Skan
21596169689Skan	* doc/md.texi (Machine Constraints): Document
21597169689Skan	missing SPARC constraints.
21598169689Skan
21599169689Skan2003-05-31  Eric Botcazou  <ebotcazou@libertysurf.fr>
21600169689Skan
21601169689Skan	* doc/md.texi (Automaton pipeline description): Use
21602169689Skan	"type" instead of "cpu" as the attribute in the examples.
21603169689Skan
21604169689Skan2003-05-30  Stan Shebs  <shebs@apple.com>
21605169689Skan
21606169689Skan	* system.h: Poison OBJC_PROLOGUE.
21607169689Skan
21608169689Skan2003-05-30  Roger Sayle  <roger@eyesopen.com>
21609169689Skan
21610169689Skan	* emit-rtl.c (gen_complex_constant_part): New function for getting
21611169689Skan	the constant real or imaginary part of a complex constant.
21612169689Skan	(gen_realpart): Use it.
21613169689Skan	(gen_imagpart): Likewise.
21614169689Skan
21615169689Skan2003-05-30  Kazu Hirata  <kazu@cs.umass.edu>
21616169689Skan
21617169689Skan	* doc/invoke.texi: Fix typos.
21618169689Skan	* doc/rtl.texi: Likewise.
21619169689Skan
21620169689Skan2003-05-30  Dhananjay Deshpande  <dhananjayd@kpitcummins.com>
21621169689Skan
21622169689Skan	* config/h8300/crti.asm: Use .h8300hn and .h8300sn for normal
21623169689Skan	mode.
21624169689Skan	* config/h8300/crtn.asm: Likewise.
21625169689Skan	* config/h8300/lib1funcs.asm: Likewise.
21626169689Skan	* config/h8300/h8300.c (asm_file_start): Likewise.
21627169689Skan	* config/h8300/elf.h (LINK_SPEC): Use h8300hnelf and
21628169689Skan	h8300snelf emulations for normal mode.
21629169689Skan	* config/h8300/h8300.h (LINK_SPEC): Use h8300hn and h8300sn
21630169689Skan	emulations for normal mode.
21631169689Skan
21632169689Skan2003-05-30  Dhananjay Deshpande  <dhananjayd@kpitcummins.com>
21633169689Skan
21634169689Skan	* config/h8300/h8300.c (h8300_tiny_constant_address_p): Return
21635169689Skan	true if TARGET_NORMAL_MODE.
21636169689Skan
21637169689Skan2003-05-30  Roger Sayle  <roger@eyesopen.com>
21638169689Skan
21639169689Skan	* cse.c (cse_insn): Simplify REG_EQUAL note on libcalls when
21640169689Skan	making a substitution.
21641169689Skan	(dead_libcall_p): If directly replacing a libcall with a
21642169689Skan	constant value produces an invalid instruction, also try forcing
21643169689Skan	the constant into the constant pool.
21644169689Skan	* expr.c (emit_move_insn): Add a REG_EQUAL note when it is not
21645169689Skan	obvious that the source is a constant.
21646169689Skan	(compress_float_constant): Use set_unique_reg_note to place
21647169689Skan	REG_EQUAL notes on instructions.
21648169689Skan
21649169689Skan2003-05-30  Eric Christopher  <echristo@redhat.com>
21650169689Skan
21651169689Skan	* config/mips/mips.c (extern_list): Add GTY marker.
21652169689Skan	(extern_head): Separate out definition. Add marker.
21653169689Skan	(mips_output_external): Use ggc_alloc for extern_list
21654169689Skan	allocation.
21655169689Skan	(mips_output_external_libcall): Ditto.
21656169689Skan
21657169689Skan2003-05-30  Florian Weimer  <fw@deneb.enyo.de>
21658169689Skan
21659169689Skan	* doc/install.texi: Ada-enabled bootstrap requires GNAT 3.14 or
21660169689Skan	later.
21661169689Skan
21662169689Skan2003-05-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21663169689Skan
21664169689Skan	* vax.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
21665169689Skan	warnings.
21666169689Skan	(PRINT_OPERAND): Likewise.
21667169689Skan
21668169689Skan2003-05-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
21669169689Skan
21670169689Skan	* config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Move
21671169689Skan	-mdebug/-no-mdebug switches ...
21672169689Skan	(MDEBUG_ASM_SPEC): ... here.
21673169689Skan	Use only with gas.
21674169689Skan	(EXTRA_SPECS): Initialize mdebug_asm_spec.
21675169689Skan
21676169689Skan2003-05-29  Matt Kraai  <kraai@alumni.cmu.edu>
21677169689Skan
21678169689Skan	* gthr-gnat.c: Remove #undef UNUSED.
21679169689Skan	(__gnat_default_lock, __gnat_default_unlock): Prototype.
21680169689Skan	(__gnat_task_lock, __gnat_task_unlock): Make declarations
21681169689Skan	prototypes.
21682169689Skan	(__gnat_install_locks): Convert declaration to ISO C90, make
21683169689Skan	parameter declarations prototypes, and remove blank line.
21684169689Skan	* gthr-gnat.h (__gnat_install_locks): Make parameter
21685169689Skan	declarations prototypes.
21686169689Skan
21687169689Skan2003-05-29  Jason Merrill  <jason@redhat.com>
21688169689Skan
21689169689Skan	* Makefile.in (unstrap): Remove stage_last after make unstage1.
21690169689Skan
21691169689Skan2003-05-29  Roger Sayle  <roger@eyesopen.com>
21692169689Skan
21693169689Skan	* mips-tfile.c (PAGE_SIZE): Increase page size to 32K.
21694169689Skan
21695169689Skan2003-05-29  Roger Sayle  <roger@eyesopen.com>
21696169689Skan	    Kaveh Ghazi  <ghazi@caip.rutgers.edu>
21697169689Skan
21698169689Skan	PR bootstrap/10169
21699169689Skan	* mips-tfile.c (main): Use getopt_long instead of getopt.
21700169689Skan	Add new command line option --version to display version.
21701169689Skan	Treat --verbose like -v to report a single line version.
21702169689Skan	(options): New global variable for getopt_long.
21703169689Skan	* mips-tdump.c (main): Use getopt_long instead of getopt.
21704169689Skan	New command line options -v, --version and -verbose to display
21705169689Skan	the program version number (to match mips-tfile's behavior).
21706169689Skan	(options): New global variable for getopt_long.
21707169689Skan
21708169689Skan	* gcov.c (options): Zero-terminate getopt_long array.
21709169689Skan	* gcov-dump.c (options): Likewise.
21710169689Skan
21711169689Skan	* Makefile.in (mips-tdump.o): Add dependency on version.h.
21712169689Skan
21713169689Skan2003-05-29  Stan Shebs  <shebs@apple.com>
21714169689Skan
21715169689Skan	Remove OBJC_PROLOGUE everywhere.
21716169689Skan	* objc/objc-act.c (finish_objc): Remove use of OBJC_PROLOGUE.
21717169689Skan	* config/avr/avr.h: Remove no-op ref to OBJC_PROLOGUE.
21718169689Skan	* config/d30v/d30v.h: Similarly.
21719169689Skan	* config/ip2k/ip2k.h: Similarly.
21720169689Skan	* doc/tm.texi: Remove doc of OBJC_PROLOGUE.
21721169689Skan
21722169689Skan2003-05-29  Roger Sayle  <roger@eyesopen.com>
21723169689Skan
21724169689Skan	* c-semantics.c (genrtl_do_stmt_1): New function split out from...
21725169689Skan	(gen_rtl_do_stmt): ... here.  Call genrtl_do_stmt_1.
21726169689Skan	(expand_unreachable_stmt): Expand unreachable while statements
21727169689Skan	using genrtl_do_stmt_1.
21728169689Skan
21729169689Skan2003-05-29  Richard Sandiford  <rsandifo@redhat.com>
21730169689Skan
21731169689Skan	* config/mips/mips-protos.h (mips_output_load_label): Declare.
21732169689Skan	* config/mips/mips.c (mips_output_load_label): New function.
21733169689Skan	(mips_output_conditional_branch): Use it.
21734169689Skan	* config/mips/mips.md (jump): And here.
21735169689Skan
21736169689Skan2003-05-28  Bob Wilson  <bob.wilson@acm.org>
21737169689Skan
21738169689Skan	* config/xtensa/xtensa-protos.h (smalloffset_double_mem_p): Delete.
21739169689Skan	(xtensa_split_operand_pair): New proto.
21740169689Skan	* config/xtensa/xtensa.c (move_operand): Handle DFmode and DImode.
21741169689Skan	(smalloffset_double_mem_p): Delete.
21742169689Skan	(gen_float_relational, printx, print_operand, xtensa_va_arg):
21743169689Skan	Fix whitespace.
21744169689Skan	(xtensa_split_operand_pair): New.
21745169689Skan	(xtensa_dbx_register_number): Fix formatting.
21746169689Skan	* config/xtensa/xtensa.h (EXTRA_CONSTRAINT): Remove 'S' constraint.
21747169689Skan	* config/xtensa/xtensa.md (movdi, movdf): Force constants to memory
21748169689Skan	instead of splitting them into single-word moves.  Remove unnecessary
21749169689Skan	checks for reload_in_progress and reload_completed.
21750169689Skan	(movdi_internal, movdf_internal): Change to post-reload split patterns.
21751169689Skan	Add constraints to allow constant operands.
21752169689Skan	(movsf_internal): Allow CONST_INT operands.
21753169689Skan
21754169689Skan2003-05-27  Danny Smith   <dannysmith@users.sourceforge.net>
21755169689Skan
21756169689Skan	* config.gcc (i[34567]86-*-mingw32*): Add host makefile
21757169689Skan	fragment i386/x-mingw32.
21758169689Skan	* config/i386/x-mingw32: New file. Make local_includedir
21759169689Skan	relative to EXEC_PREFIX.
21760169689Skan
21761169689Skan2003-05-27  Aaron W. LaFramboise  <awlaframboise@aol.com>
21762169689Skan
21763169689Skan	* config/i386/mingw32.h (STANDARD_INCLUDE_DIR): Update.
21764169689Skan	(MD_STARTFILE_PREFIX): Define.
21765169689Skan
21766169689Skan2003-05-27  Denis Chertykov  <denisc@overta.ru>
21767169689Skan
21768169689Skan	* cselib.c (cselib_invalidate_regno): Abort if hardreg have a
21769169689Skan	VOIDmode.
21770169689Skan	* cselib.c (cselib_process_insn): Pass reg_raw_mode for hardreg in
21771169689Skan	call of cselib_invalidate_regno.
21772169689Skan
21773169689Skan2003-05-28  Daniel Jacobowitz  <drow@mvista.com>
21774169689Skan
21775169689Skan	* config/mips/linux.h (LIB_SPEC): Add missing -lc and correct
21776169689Skan	-lthread to -lpthread.
21777169689Skan
21778169689Skan2003-05-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
21779169689Skan	    Bruce Korb  <bkorb@gnu.org>
21780169689Skan	    Arno Klaassen  <arno@heho.snv.jussieu.fr>
21781169689Skan
21782169689Skan	* fixinc/inclhack.def: Add missing declaration of getpagesize()
21783169689Skan	to unistd.h on Solaris 2.5.1.
21784169689Skan	Fix prototype of recv() and send() in sys/socket.h on
21785169689Skan	Solaris 2.5.1 and 2.6.
21786169689Skan	* fixinc/tests/base/unistd.h: Add solaris_unistd fix test.
21787169689Skan	* fixinc/tests/base/sys/socket.h: Add solaris_socket test.
21788169689Skan	* fixinc/check.tpl: Use 'diff -c', not 'diff -u'.
21789169689Skan	* fixinc/fixincl.x: Regenerate.
21790169689Skan
21791169689Skan2003-05-27  Jason Merrill  <jason@redhat.com>
21792169689Skan
21793169689Skan	* tree.c (expr_first, expr_length): New fns.
21794169689Skan	* tree.h: Declare them.
21795169689Skan
21796169689Skan	* tree.c (iterative_hash_expr): Hash commutative expressions
21797169689Skan	consistently.
21798169689Skan
21799169689Skan2003-05-27  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
21800169689Skan
21801169689Skan	* tree.h (contains_placeholder_p): Now returns bool.
21802169689Skan	(CONTAINS_PLACEHOLDER_P): New macro.
21803169689Skan	(type_contains_placeholder_p): New function.
21804169689Skan	* tree.c (save_expr): Remove code avoiding folding COMPONENT_REF.
21805169689Skan	(contains_placeholder_p): Now returns bool.
21806169689Skan	Rework to use CONTAINS_PLACEHOLDER_P macro.
21807169689Skan	(type_contains_placeholder_p): New function.
21808169689Skan	* fold-const.c (fold, case COMPONENT_REF): Don't fold if
21809169689Skan	type_contains_placeholder_p.
21810169689Skan	(fold_range_test, fold_mathfn_compare, fold_inf_compare, fold):
21811169689Skan	Use CONTAINS_PLACEHOLDER_P macro.
21812169689Skan	* builtins.c (fold_builtin): Likewise.
21813169689Skan	* calls.c (initialize_argument_information): Likewise.
21814169689Skan	* emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise.
21815169689Skan	* explow.c (expr_size): Likewise.
21816169689Skan	* expr.c (store_constructor, get_inner_reference): Likewise.
21817169689Skan	* function.c (assign_parms): Likewise.
21818169689Skan	* stor-layout.c (variable_size): Likewise.
21819169689Skan
21820169689Skan2003-05-25  Gabriel Dos Reis <gdr@integrable-solutions.net>
21821169689Skan
21822169689Skan	* diagnostic.h (output_verbatim, verbatim):  Remove  printf
21823169689Skan	attribute.
21824169689Skan
21825169689Skan2003-05-25  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
21826169689Skan
21827169689Skan	* doc/contrib.texi (Contributors): Update Kean Johnston.
21828169689Skan
21829169689Skan2003-05-24  David Edelsohn  <edelsohn@gnu.org>
21830169689Skan
21831169689Skan	* config/rs6000/rs6000.md (save_fpregs_{si,di}): Add length attribute.
21832169689Skan
21833169689Skan2003-05-24  Nathanael Nerode  <neroden@gcc.gnu.org>
21834169689Skan
21835169689Skan	* config/rs6000/440.md, config/stormy16/stormy16protos.h,
21836169689Skan	config/stormy16/stormy16.c, config/stormy16/stormy16.md:
21837169689Skan	Replace "GNU CC" with "GCC".
21838169689Skan
21839169689Skan2003-05-24  Matt Kraai  <kraai@alumni.cmu.edu>
21840169689Skan
21841169689Skan	* builtins.c (expand_builtin_memcpy): Use mode of dest_addr for
21842169689Skan	intermediate computation.
21843169689Skan
21844169689Skan2003-05-23  Eric Christopher  <echristo@redhat.com>
21845169689Skan
21846169689Skan	* config/mips/mips.md (clzsi, clzdi): New patterns.
21847169689Skan
21848169689Skan2003-05-23  Geoffrey Keating  <geoffk@apple.com>
21849169689Skan
21850169689Skan	* gcc.c (default_compilers): Use -o to specify preprocessor's output
21851169689Skan	file.  Make -no-integrated-cpp work when building PCH files.
21852169689Skan	* objc/lang-specs.h: Likewise.
21853169689Skan
21854169689Skan2003-05-23  Nathanael Nerode  <neroden@gcc.gnu.org>
21855169689Skan
21856169689Skan	* fixinc/Makefile.in: Correct description.
21857169689Skan	* fixinc/Makefile.in, fixinc/fixfixes.c, fixinc/fixincl.c,
21858169689Skan	fixinc/fixlib.c, fixinc/fixlib.h, fixinc/fixtests.c,
21859169689Skan	fixinc/genfixes: Replace "GNU CC" with "GCC".
21860169689Skan
21861169689Skan2003-05-23  Roger Sayle  <roger@eyesopen.com>
21862169689Skan
21863169689Skan	* builtins.def: Define atan, atanf, atanl, tan, tanf and tanl
21864169689Skan	builtin functions (and their __builtin_* variants).
21865169689Skan	* builtins.c (mathfn_built_in): Handle tan{,f,l} and atan{,f,l}.
21866169689Skan	(expand_builtin): Don't expand tan{,f,l} or atan{,f,l} when not
21867169689Skan	optimizing.
21868169689Skan
21869169689Skan	* doc/extend.texi: Document new tan and atan builtins, and
21870169689Skan	their float and long double variants.
21871169689Skan
21872169689Skan2003-05-23  Jason Thorpe  <thorpej@wasabisystems.com>
21873169689Skan
21874169689Skan	* config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define
21875169689Skan	__sparcv9 in the TARGET_ARCH64 case.
21876169689Skan
21877169689SkanFri May 23 22:17:32 CEST 2003  Jan Hubicka  <jh@suse.cz>
21878169689Skan
21879169689Skan	* i386.c (ix86_reorg): Calls are also jumps.
21880169689Skan
21881169689Skan2003-05-23  J"orn Rennecke <joern.rennecke@superh.com>
21882169689Skan
21883169689Skan	* cse.c (count_reg_usage): When processing an INSNs REG_EQUAL
21884169689Skan	note containing an EXPR_LIST, process all the arguments.
21885169689Skan
21886169689SkanFri May 23 21:19:31 CEST 2003  Jan Hubicka  <jh@suse.cz>
21887169689Skan			       Andreas Jaeger  <aj@suse.de>
21888169689Skan
21889169689Skan	* i386.h (TARGET_CPU_CPP_BUILTINS): Define __amd64 and __amd64__;
21890169689Skan	do not use assertion.
21891169689Skan
21892169689Skan2003-05-23  Mike Stump  <mrs@apple.com>
21893169689Skan
21894169689Skan	* tlink.c (scan_linker_output): Add support for darwin linker, as it
21895169689Skan	emits unresolved symbols one per line, consuming the entire line.
21896169689Skan
21897169689Skan2003-05-23  Larin Hennessy <larin@science.oregonstate.edu>
21898169689Skan	    Zack Weinberg <zack@codesourcery.com>
21899169689Skan
21900169689Skan	* explow.c (allocate_dynamic_stack_space): Remove call to gen_probe.
21901169689Skan	* config/m68k/m68k.c (m68k_output_function_prologue):
21902169689Skan	Remove code under #if NEED_PROBE.
21903169689Skan	* config/m68k/m68k.h: Don't define NEED_PROBE.
21904169689Skan	* config/m68k/m68k.md: Remove "probe" insn.
21905169689Skan	* doc/md.texi: Remove documentation of "probe" pattern.
21906169689Skan
21907169689Skan2003-05-23  Dorit Naishlos  <gcchaifa@il.ibm.com>
21908169689Skan
21909169689Skan	* config/rs6000/rs6000.md (save_fpregs_{si,di}): Add branch attribute.
21910169689Skan
21911169689Skan2003-05-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
21912169689Skan
21913169689Skan	* doc/install.texi: Remove sparc64-*-*. Add sparc64-*-solaris2*.
21914169689Skan	Document sparcv9-*-solaris2* as a synonym for sparc64-*-solaris2*.
21915169689Skan
21916169689Skan2003-05-22  Roger Sayle  <roger@eyesopen.com>
21917169689Skan
21918169689Skan	* real.c (real_maxval): New function to return the largest finite
21919169689Skan	value representable in a given mode (i.e. FLT_MAX and DBL_MAX).
21920169689Skan	* real.h (real_maxval): Prototype here.
21921169689Skan	* fold-const.c (fold_inf_compare): Transform comparisons against
21922169689Skan	+-Infinity into comparisons against DBL_MAX (or equivalent).
21923169689Skan
21924169689Skan2003-05-22  Mike Stump  <mrs@apple.com>
21925169689Skan
21926169689Skan	* config.gcc (*-*-darwin*): Remove use_collect2=no, as it is the
21927169689Skan	default.
21928169689Skan
21929169689Skan2003-05-22  DJ Delorie  <dj@redhat.com>
21930169689Skan
21931169689Skan	* calls.c (expand_call): If the arg block is going to grow
21932169689Skan	downward, we need argblock to point to the top of the block,
21933169689Skan	not the bottom.
21934169689Skan
21935169689Skan2003-05-22  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
21936169689Skan
21937169689Skan	* c-decl.c (duplicate_decls): Test DECL for ERROR_MARK.
21938169689Skan
21939169689Skan	* expr.c (expand_expr, case CONSTRUCTOR): Put into memory if
21940169689Skan	constant and EXPAND_CONST_ADDRESS, not just EXPAND_INITIALIZER.
21941169689Skan
21942169689Skan2003-05-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
21943169689Skan
21944169689Skan	* m68hc11.c: Don't use the `0' flag for asm_fprintf specifiers.
21945169689Skan	* m68k.c: Likewise.
21946169689Skan	* m68k.h: Likewise.
21947169689Skan
21948169689Skan2003-05-22  Zack Weinberg  <zack@codesourcery.com>
21949169689Skan
21950169689Skan	PR other/2873
21951169689Skan	* fixinc/inclhack.def (avoid_wchar_t_type): Add bypass
21952169689Skan	expressions to prevent triggering on recent curses.h,
21953169689Skan	linux/nls.h, or X11/Xlib.h.
21954169689Skan	(stdio_va_list): Add _G_va_list to bypass pattern.
21955169689Skan	(strict_ansi_not): Add bypass pattern for __SCO_VERSION__.
21956169689Skan	* fixinc/fixincl.x: Regenerate.
21957169689Skan
21958169689Skan2003-05-22 Rekha Bhintade <rekhad@kpitcummins.com>
21959169689Skan
21960169689Skan	* gcc/config/sh/sh.h (TARGET_SWITCHES): Display all the target
21961169689Skan	switches when --target-help option is specified.
21962169689Skan
21963169689Skan2003-05-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
21964169689Skan
21965169689Skan	PR bootstrap/10805
21966169689Skan	* doc/install.texi (sparc-sun-solaris2.7): Document bootstrap
21967169689Skan	failure with Sun assembler 5.0 Alpha 03/27/98.
21968169689Skan
21969169689Skan2003-05-21  Loren James Rittle  <ljrittle@acm.org>
21970169689Skan
21971169689Skan	* config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Add -D__sparcv9
21972169689Skan	to match system compiler convention.
21973169689Skan
21974169689Skan2003-05-21  Danny Smith  <dannysmith@users.sourceforge.net>
21975169689Skan
21976169689Skan	* gthr-win32.h (__GTHREAD_HIDE_WIN32API): Test for nonzero
21977169689Skan	value, not just if defined.
21978169689Skan	Update copyright year.
21979169689Skan
21980169689Skan2003-05-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
21981169689Skan
21982169689Skan	PR target/6428
21983169689Skan	* pa-hpux10.h (LINK_SPEC, LIB_SPEC): Move -L options for profiling
21984169689Skan	directories from LIB_SPEC to LINK_SPEC.  Emit warning if `-p' or `-pg'
21985169689Skan	option is used without `-static'.
21986169689Skan	* pa-hpux11.h (LINK_SPEC, LIB_SPEC): Likewise.
21987169689Skan	* pa64-hpux.h (LINK_SPEC, LIB_SPEC): Likewise.
21988169689Skan
21989169689Skan2003-05-21  Bob Wilson  <bob.wilson@acm.org>
21990169689Skan
21991169689Skan	* config/xtensa/xtensa.h (MASK_SERIALIZE_VOLATILE,
21992169689Skan	TARGET_SERIALIZE_VOLATILE): Delete.
21993169689Skan	(MASK_CONST16, MASK_ABS, MASK_ADDX): Renumber flag bits.
21994169689Skan	(TARGET_DEFAULT): Remove MASK_SERIALIZE_VOLATILE.
21995169689Skan	(TARGET_SWITCHES): Remove "-mserialize-volatile" and
21996169689Skan	"-mno-serialize-volatile".
21997169689Skan	* config/xtensa/xtensa.c (print_operand): Remove checks of
21998169689Skan	TARGET_SERIALIZE_VOLATILE.
21999169689Skan	* config/xtensa/xtensa.md (*lsiu, *ssiu): Likewise.
22000169689Skan	* doc/invoke.texi (Option Summary, Xtensa Options): Remove
22001169689Skan	"-mserialize-volatile" and "-mno-serialize-volatile" options.
22002169689Skan
22003169689Skan2003-05-21  Nathan Sidwell  <nathan@codesourcery.com>
22004169689Skan
22005169689Skan	* c-parse.in (fndef): Set DECL_SOURCE_LINE and FILE earlier.
22006169689Skan	(nested_function): Likewise.
22007169689Skan	(notype_nested_function): Likewise.
22008169689Skan
22009169689Skan2003-05-21  Nick Clifton  <nickc@redhat.com>
22010169689Skan
22011169689Skan	* config/stormy16/stormy-abi: Update overflow type for
22012169689Skan	R_XSTORMY16_16 reloc.
22013169689Skan
22014169689Skan2003-05-21  Nathan Sidwell  <nathan@codesourcery.com>
22015169689Skan
22016169689Skan	* c-common.h (enum rid): Remove RID_BOUNDED, RID_UNBOUNDED.
22017169689Skan	* c-parse.in (reswords): Remove __bounded__ and __unbounded__.
22018169689Skan	(rid_to_yy): Remove RID_BOUNDED, RID_UNBOUNDED slots.
22019169689Skan	* print-tree.c (print_node): Remove ambient-boundedness.
22020169689Skan	* tree.h (tree_common): Remove bounded_flag.
22021169689Skan	(BOUNDED_INDIRECT_YPE_P, BOUNDED_POINTER_TYPE_P,
22022169689Skan	BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
22023169689Skan	MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
22024169689Skan	TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
22025169689Skan	TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED, TYPE_QUAL_BOUNDED):
22026169689Skan	Remove.
22027169689Skan	(TYPE_QUALS): Remove BOUNDED.
22028169689Skan	(TREE_EXPR_QUALS, TREE_FUNC_QUALS): Remove.
22029169689Skan	(TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
22030169689Skan	TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
22031169689Skan	TYPE_AMBIENT_BOUNDEDNESS, MAX_POINTER_DEPT,
22032169689Skan	VA_LIST_POINTER_DEPTH): Remove.
22033169689Skan	(struct tree_type): Remove pointer_depth.
22034169689Skan
22035169689Skan2003-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22036169689Skan
22037169689Skan	* c-pretty-print.c (pp_c_integer_literal): Use
22038169689Skan	HOST_WIDE_INT_PRINT_DOUBLE_HEX.
22039169689Skan
22040169689Skan2003-05-20  Roger Sayle  <roger@eyesopen.com>
22041169689Skan	    Kazu Hirata  <kazu@cs.umass.edu>
22042169689Skan	    Joern Rennecke  <joern.rennecke@superh.com>
22043169689Skan
22044169689Skan	* gcse.c (cprop_jump):  Make use of REG_EQUAL notes on both
22045169689Skan	setcc and jump, if they exist.  If substituted instruction
22046169689Skan	fails to validate, store current effort in a REG_EQUAL note.
22047169689Skan	(cprop_insn): Don't attempt further substitutions if the
22048169689Skan	current instruction has been deleted.
22049169689Skan	(local_cprop_pass): Likewise.
22050169689Skan
22051169689Skan	* jump.c (redirect_jump):  Also update REG_EQUAL note, if
22052169689Skan	one is attached to the jump instruction.
22053169689Skan	(invert_jump): Delete REG_EQUAL note on jump, if one exists.
22054169689Skan
22055169689Skan2003-05-21  Danny Smith  <dannysmith@users.sourceforge.net>
22056169689Skan
22057169689Skan	PR c++/9738
22058169689Skan	* config/i386/winnt.c (i386_pe_encode_section_info): Enable
22059169689Skan	even if not first.
22060169689Skan
22061169689Skan2003-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22062169689Skan
22063169689Skan	* genautomata.c (output_description, output_automaton_units,
22064169689Skan	output_state_arcs): Add missing specifiers.
22065169689Skan
22066169689Skan2003-05-20  Bob Wilson  <bob.wilson@acm.org>
22067169689Skan
22068169689Skan	* config/xtensa/lib1funcs.asm: Avoid use of .Lfe* in .size directives.
22069169689Skan	(do_abs, do_addx2, do_addx4, do_addx8): New assembler macros.
22070169689Skan	(__mulsi3): Use do_addx* instead of ADDX* instructions.  Formatting.
22071169689Skan	(nsau): Rename to do_nsau.  Provide alternate version for use when
22072169689Skan	the NSAU instruction is available.
22073169689Skan	(__udivsi3, __divsi3, __umodsi3, __modsi3): Use do_nsau macro.
22074169689Skan	(__divsi3, __modsi3): Use do_abs macro instead of ABS instruction.
22075169689Skan	* config/xtensa/xtensa-config.h: Update comments to match binutils.
22076169689Skan	(XCHAL_HAVE_ABS, XCHAL_HAVE_ADDX): Define.
22077169689Skan	* config/xtensa/xtensa.h (MASK_ABS, MASK_ADDX): Define.
22078169689Skan	(TARGET_ABS, TARGET_ADDX): Define.
22079169689Skan	(TARGET_DEFAULT): Conditionally add MASK_ABS and MASK_ADDX.
22080169689Skan	(TARGET_SWITCHES): Add "abs", "no-abs", "addx", and "no-addx".
22081169689Skan	* config/xtensa/xtensa.md (*addx2, *addx4, *addx8, *subx2, *subx4,
22082169689Skan	*subx8): Set predicate condition to TARGET_ADDX.
22083169689Skan	(abssi2): Set predicate condition to TARGET_ABS.
22084169689Skan	* doc/invoke.texi (Option Summary): Document new "-mabs", "-mno-abs",
22085169689Skan	"-maddx", and "-mno-addx" options.
22086169689Skan	(Xtensa Options): Likewise.  Also tag some opcode names with @code.
22087169689Skan
22088169689Skan2003-05-20  Kevin Ryde <user42@zip.com.au>
22089169689Skan	    Wolfgang Bangerth <bangerth@dealii.org>
22090169689Skan
22091169689Skan	PR/10355
22092169689Skan	* doc/extend.texi: Put a warning into the documentation
22093169689Skan	of attribute regparm.
22094169689Skan
22095169689Skan2003-05-20  Jason Merrill  <jason@redhat.com>
22096169689Skan
22097169689Skan	* tree.c (expr_last): New fn.
22098169689Skan	* tree.h: Declare it.
22099169689Skan	* objc/objc-act (expr_last): Rename to objc_expr_last.
22100169689Skan
22101169689Skan2003-05-20  J"orn Rennecke <joern.rennecke@superh.com>
22102169689Skan
22103169689Skan	* sh.c (sh_register_move_cost): Add clase for moving between
22104169689Skan	FP registers and MAC registers.
22105169689Skan
22106169689Skan2003-05-19  John David Anglin  <dave.anglin@nrc-gnrc.gc.ca>
22107169689Skan
22108169689Skan	* pa/milli64.S ($$mulI): Fix typo.
22109169689Skan
22110169689Skan2003-05-19  Matt Kraai  <kraai@alumni.cmu.edu>
22111169689Skan
22112169689Skan	* alias.c (nonlocal_mentioned_p, nonlocal_referenced_p)
22113169689Skan	(nonlocal_set_p): Remove initial blank line.
22114169689Skan	* dwarf2out.c (simple_type_size_in_bits): Likewise.
22115169689Skan	* et-forest.c (et_forest_create): Likewise.
22116169689Skan	* explow.c (stabilize): Likewise.
22117169689Skan	* fix-header.c (write_lbrac): Likewise.
22118169689Skan	* graph.c (start_fct, node_data): Likewise.
22119169689Skan	* jump.c (only_sets_cc0_p, sets_cc0_p): Likewise.
22120169689Skan	* rtlanal.c (global_reg_mentioned_p): Likewise.
22121169689Skan	* tree.c (bit_position): Likewise.
22122169689Skan
22123169689Skan2003-05-19  Alexandre Oliva  <aoliva@redhat.com>
22124169689Skan
22125169689Skan	* config/mips/linux64.h (LIB_SPEC): Add missing -lc and correct
22126169689Skan	-lthread to -lpthread.
22127169689Skan
22128169689Skan2003-05-19  Neil Booth  <neil@daikokuya.co.uk>
22129169689Skan
22130169689Skan	* c-opts.c (c_common_decode_option): Don't accept dollars
22131169689Skan	as identifier characters in assembly.
22132169689Skan	* doc/cpp.texi: Document this.
22133169689Skan
22134169689Skan2003-05-19  Seth Arnold  <sarnold@wirex.com>
22135169689Skan	    Aldy Hernandez  <aldyh@redhat.com>
22136169689Skan
22137169689Skan	* config/rs6000/rs6000.c (rs6000_stack_info): Do not add
22138169689Skan	vrsave_size twice.
22139169689Skan
22140169689Skan2003-05-19  Aldy Hernandez  <aldyh@redhat.com>
22141169689Skan
22142169689Skan	* doc/tm.texi (function_arg): Fix typo.
22143169689Skan
22144169689Skan2003-05-19  Matt Austern  <austern@apple.com>
22145169689Skan
22146169689Skan	* c-opts.c (COMMAND_LINE_OPTIONS): Add -Winvalid-offsetof option.
22147169689Skan	* c-common.h (warn_invalid_offsetof): Declare.
22148169689Skan	* c-common.c (warn_invalid_offsetof): Define.
22149169689Skan	* doc/invoke.texi: Document -Winvalid-offsetof.
22150169689Skan	* testsuite/g++.dg/other/offsetof3.C: New.
22151169689Skan	* testsuite/g++.dg/other/offsetof4.C: New.
22152169689Skan
22153169689Skan2003-05-19  Kevin B. Hendricks  <kevin.hendricks@sympatico.ca>
22154169689Skan	    David Edelsohn  <edelsohn@gnu.org>
22155169689Skan
22156169689Skan	* config/rs6000/rs6000.c (rs6000_alignment_string,
22157169689Skan	rs6000_alignment_flags): New variables.
22158169689Skan	(rs6000_parse_alignment_option): New function.
22159169689Skan	(rs6000_override_options): Call it.
22160169689Skan	* config/rs6000/rs6000.h (TARGET_OPTIONS): Add -malign-XXX option.
22161169689Skan	(MASK_ALIGN_POWER, MASK_ALIGN_NATURAL, TARGET_ALIGN_NATURAL): New
22162169689Skan	macros.
22163169689Skan	* config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Always use COMPUTED
22164169689Skan	natural alignment if TARGET_NATURAL_ALIGNMENT
22165169689Skan	(ROUND_TYPE_ALIGN): Always use default record alignment if
22166169689Skan	TAGET_NATURAL_ALIGNMENT.
22167169689Skan	* config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Same
22168169689Skan	(ROUND_TYPE_ALIGN): Same.
22169169689Skan	* config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Same
22170169689Skan	(ROUND_TYPE_ALIGN): Same.
22171169689Skan	* doc/invoke.texi (Option Summary, PowerPC Options): Document
22172169689Skan	new options.
22173169689Skan
22174169689Skan2003-05-19  J"orn Rennecke <joern.rennecke@superh.com>
22175169689Skan
22176169689Skan	* c-decl.c (finish_decl): When setting the DECL_ASSEMBLER_NAME
22177169689Skan	of a function using ASMSPEC, prepend a star.
22178169689Skan
22179169689Skan2003-05-19  Jason Merrill  <jason@redhat.com>
22180169689Skan
22181169689Skan	* tree-inline.c (copy_body_r): Avoid generating &* during inline
22182169689Skan	substitution.
22183169689Skan
22184169689Skan2003-05-19  Andrew Macleod  <amacleod@redhat.com>
22185169689Skan
22186169689Skan	* config/stormy16/stormy16.c (xstormy16_expand_prologue): Do
22187169689Skan	not mark assignments to the hard frame pointer as being stack
22188169689Skan	frame related.
22189169689Skan	(xstormy16_expand_epilogue): Mark adjustments to the stack
22190169689Skan	pointer as being stack frame related.
22191169689Skan
22192169689Skan2003-05-19  Richard Sandiford  <rsandifo@redhat.com>
22193169689Skan
22194169689Skan	* config/mips/mips.h (ISA_HAS_LOAD_DELAY, ISA_HAS_XFER_DELAY,
22195169689Skan	ISA_HAS_FCMP_DELAY, ISA_HAS_HILO_INTERLOCKS): New macros.
22196169689Skan	(PREDICATE_CODES): Add hilo_operand.
22197169689Skan	* config/mips/mips.c (hilo_operand): New predicate.
22198169689Skan	(mips_adjust_insn_length): Account for the number nops that might
22199169689Skan	be needed to avoid hardware hazards.
22200169689Skan	* config/mips/mips.md (dslot): Remove attribute.
22201169689Skan	(hazard): New attribute.
22202169689Skan	(can_delay): Use it.  Check for calls, branches & jumps.
22203169689Skan	(muldi3): Use the standard dmult pattern for mips16 code.
22204169689Skan	(muldi3_internal, muldi3_internal2): Adjust conditions accordingly.
22205169689Skan
22206169689Skan2003-05-19  Richard Sandiford  <rsandifo@redhat.com>
22207169689Skan
22208169689Skan	* config/mips/mips-protos.h (final_prescan_insn,
22209169689Skan	mips_count_memory_refs, mips_fill_delay_slot): Remove.
22210169689Skan	* config/mips/mips.h (delay_type, dslots_load_total,
22211169689Skan	dslots_load_filled, dslots_jump_total, dslots_jump_filled,
22212169689Skan	dslots_number_nops, num_refs, mips_load_reg, mips_load_reg2,
22213169689Skan	mips_load_reg3, mips_load_reg4): Remove.
22214169689Skan	(MASK_STATS): Remove.
22215169689Skan	(MASK_EXPLICIT_RELOCS): Reuse its value.
22216169689Skan	(TARGET_STATS): Remove.
22217169689Skan	(TARGET_SWITCHES): Turn -mstats and -mno-stats into no-ops.
22218169689Skan	Warn that -mstats is now ignored.
22219169689Skan	(FINAL_PRESCAN_INSN): Undefine.
22220169689Skan	(DBR_OUTPUT_SEQEND): Remove handling of dslot statistics.
22221169689Skan	(ASM_OUTPUT_REG_POP): Likewise.
22222169689Skan	* config/mips/mips.c (dslots_load_total, dslots_load_filled,
22223169689Skan	dslots_jump_total, dslots_jump_filled, dslots_number_nops, num_refs,
22224169689Skan	mips_load_reg, mips_load_reg2, mips_load_reg3, mips_load_reg4,
22225169689Skan	mips_fill_delay_slot, mips_count_memory_refs,
22226169689Skan	final_prescan_insn): Remove.
22227169689Skan	(output_block_move): Remove calls to mips_count_memory_refs.
22228169689Skan	(print_operand): Remove printing of #nop for TARGET_STATS.
22229169689Skan	(mips_output_function_epilogue): Remove TARGET_STATS code.
22230169689Skan	Reorganize setting of fnnmae.
22231169689Skan	* config/mips/mips.md: Remove handling of dslot statistics
22232169689Skan	throughout file.  Change all fcmp patterns into normal asm
22233169689Skan	templates, removing calls to mips_fill_delay_slot.
22234169689Skan	* doc/invoke.texi: Remove documentation of -mstats.
22235169689Skan
22236169689Skan2003-05-19  Richard Sandiford  <rsandifo@redhat.com>
22237169689Skan
22238169689Skan	* config/mips/mips.c (mips_class_max_nregs): Return the number of
22239169689Skan	words in the mode.
22240169689Skan
22241169689Skan2003-05-19  Richard Sandiford  <rsandifo@redhat.com>
22242169689Skan
22243169689Skan	* config/mips/mips.c (override_options): Disable explicit
22244169689Skan	relocs for old ABIs unless using gas.
22245169689Skan
22246169689Skan2003-05-18  Eric Christopher  <echristo@redhat.com>
22247169689Skan
22248169689Skan	* config/mips/mips.h: Remove definition of g_switch_value.
22249169689Skan
22250169689Skan2003-05-18  Matt Kraai  <kraai@alumni.cmu.edu>
22251169689Skan
22252169689Skan	* flags.h (g_switch_value): Change to an unsigned
22253169689Skan	HOST_WIDE_INT.
22254169689Skan	* toplev.c (g_switch_value): Likewise.
22255169689Skan
22256169689Skan	* config/alpha/alpha.c (small_symbolic_operand): Remove
22257169689Skan	g_switch_value cast.
22258169689Skan	(alpha_in_small_data_p): Cast size to an unsigned
22259169689Skan	HOST_WIDE_INT.
22260169689Skan
22261169689Skan	* config/frv/frv.c (frv_in_small_data_p): Cast size to an
22262169689Skan	unsigned HOST_WIDE_INT.
22263169689Skan	* config/frv/frv.h (g_switch_value, g_switch_set): Remove.
22264169689Skan	(ASM_OUTPUT_ALIGNED_DECL_LOCAL): Declare g_switch_set.
22265169689Skan
22266169689Skan	* config/m32r/m32r.c (m32r_in_small_data_p): Cast size to an
22267169689Skan	unsigned HOST_WIDE_INT.
22268169689Skan	(m32r_asm_file_start): Use HOST_WIDE_INT_PRINT_UNSIGNED.
22269169689Skan	* config/m32r/m32r.h (g_switch_value, g_switch_set): Remove.
22270169689Skan	(ASM_OUTPUT_ALIGNED_COMMON): Declare g_switch_value.
22271169689Skan
22272169689Skan	* config/rs6000/rs6000.c (rs6000_file_start): Use
22273169689Skan	HOST_WIDE_INT_PRINT_UNSIGNED.
22274169689Skan	(small_data_operand): Cast summand to unsigned HOST_WIDE_INT.
22275169689Skan	(rs6000_elf_in_small_data_p): Cast size to unsigned
22276169689Skan	HOST_WIDE_INT.
22277169689Skan	* config/rs6000/sysv4.h (g_switch_value, g_switch_set):
22278169689Skan	Remove.
22279169689Skan	(SUBTARGET_OVERRIDE_OPTIONS): Declare g_switch_value and
22280169689Skan	g_switch_set.
22281169689Skan	(ASM_OUTPUT_ALIGNED_LOCAL): Declare g_switch_value and remove
22282169689Skan	g_switch_value cast.
22283169689Skan
22284169689Skan2003-05-18  Roger Sayle  <roger@eyesopen.com>
22285169689Skan	    Zack Weinberg  <zack@codesourcery.com>
22286169689Skan
22287169689Skan	PR middle-end/10472
22288169689Skan	* builtins.c (expand_builtin_memcpy):  Call force_operand on
22289169689Skan	expressions and use simplify_gen_binary to create the addition.
22290169689Skan
22291169689Skan2003-05-18  Andreas Schwab  <schwab@suse.de>
22292169689Skan
22293169689Skan	* config/m68k/m68k.md: Use define_constants for unspec numbers.
22294169689Skan
22295169689Skan2003-05-18  Neil Booth  <neil@daikokuya.co.uk>
22296169689Skan
22297169689Skan	* config/sparc/sparc.h: Define sparc for now.
22298169689Skan
22299169689Skan2003-05-18  Nathanael Nerode  <neroden@gcc.gnu.org>
22300169689Skan
22301169689Skan	* config.gcc: Clear xm_file, md_file at the beginning of each pass.
22302169689Skan
22303169689Skan	* config/stormy16/stormy16.h: Remove about 3000 lines of
22304169689Skan	target-independent comments.  Update copyright notice.
22305169689Skan
22306169689Skan	* doc/collect2.texi: GNU CC -> GCC.
22307169689Skan	* doc/headerdirs.texi: GNU CC -> GCC.
22308169689Skan
22309169689Skan2003-05-18  Gabriel Dos Reis <gdr@integrable-solutions.net>
22310169689Skan
22311169689Skan	* hashtable.h (struct ht_identifier): Add data member "hash_value".
22312169689Skan	* hashtable.c (ht_lookup): Use it when searching, remember.
22313169689Skan	(ht_expand): Do not recompute.
22314169689Skan	* tree.h (IDENTIFIER_HASH_VALUE): New macro.
22315169689Skan
22316169689Skan2003-05-18  Nathan Sidwell  <nathan@codesourcery.com>
22317169689Skan
22318169689Skan	* gcov-io.c (gcov_read_bytes): Fix fread thinko.
22319169689Skan
22320169689Skan2003-05-18  Neil Booth  <neil@daikokuya.co.uk>
22321169689Skan
22322169689Skan	* c-cppbuiltin.c (TARGET_OS_CPP_BUILTINS, TARGET_OBJFMT_CPP_BUILTINS):
22323169689Skan	Default here.
22324169689Skan	(c_cpp_builtins): Invoke TARGET_OBJFMT_CPP_BUILTINS().
22325169689Skan	* defaults.h: Don't default TARGET_OS_CPP_BUILTINS here.
22326169689Skan	* config/elfos.h (TARGET_OBJFMT_CPP_BUILTINS): Define __ELF__.
22327169689Skan	* config/freebsd-spec.h, config/netbsd-elf.h, config/alpha/gnu.h,
22328169689Skan	config/arm/linux-elf.h, config/arm/rtems-elf.h,
22329169689Skan	config/arm/unknown-elf.h, config/cris/cris.h, config/cris/linux.h,
22330169689Skan	config/h8300/elf.h, config/i370/linux.h, config/i386/beos-elf.h,
22331169689Skan	config/i386/gnu.h, config/i386/linux.h, config/i386/linux64.h,
22332169689Skan	config/i386/moss.h, config/i386/rtemself.h, config/ia64/ia64.h,
22333169689Skan	config/m68k/rtemself.h, config/mcore/mcore-elf.h, config/mips/linux.h,
22334169689Skan	config/pa/pa-linux.h, config/rs6000/linux.h, config/rs6000/linux64.h,
22335169689Skan	config/rs6000/sysv4.h, config/rs6000/vxworks.h, config/s390/linux.h,
22336169689Skan	config/sh/coff.h, config/sh/elf.h, config/sh/rtemself.h,
22337169689Skan	config/sh/sh.h, config/sparc/linux.h, config/sparc/linux64.h,
22338169689Skan	config/sparc/openbsd64.h, config/sparc/sp64-elf.h,
22339169689Skan	config/sparc/sp86x-elf.h, config/xtensa/elf.h, config/xtensa/linux.h:
22340169689Skan	Don't define __ELF__.
22341169689Skan	* config/alpha.h, config/m68k/linux.h (TARGET_OBJFMT_CPP_BUILTINS):
22342169689Skan	Define __ELF__.
22343169689Skan	* doc/cpp.texi: Document __ELF__.
22344169689Skan	* doc/tm.texi: Document TARGET_OBJFMT_CPP_BUILTINS.	*
22345169689Skan
22346169689Skan2003-05-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22347169689Skan
22348169689Skan	* builtins.c (validate_arglist): Eliminate libiberty VA_ macros,
22349169689Skan	always use stdarg.
22350169689Skan	* c-errors.c (pedwarn_c99): Likewise.
22351169689Skan	* c-format.c (status_warning): Likewise.
22352169689Skan	* c-semantics.c (build_stmt): Likewise.
22353169689Skan	* calls.c (emit_library_call, emit_library_call_value): Likewise.
22354169689Skan	* collect2.c (notice, fatal_perror, fatal, error): Likewise.
22355169689Skan	* cpperror.c (cpp_error, cpp_error_with_line): Likewise.
22356169689Skan	* diagnostic.c (build_message_string, output_printf,
22357169689Skan	output_verbatim, verbatim, inform, warning, pedwarn, error, sorry,
22358169689Skan	fatal_error, internal_error, warning_with_decl, pedwarn_with_decl,
22359169689Skan	error_with_decl, fnotice): Likewise.
22360169689Skan	* dwarf2asm.c (dw2_asm_output_data, dw2_asm_output_delta,
22361169689Skan	dw2_asm_output_offset, dw2_asm_output_pcrel, dw2_asm_output_addr,
22362169689Skan	dw2_asm_output_addr_rtx, dw2_asm_output_nstring,
22363169689Skan	dw2_asm_output_data_uleb128, dw2_asm_output_data_sleb128,
22364169689Skan	dw2_asm_output_delta_uleb128, dw2_asm_output_delta_sleb128,
22365169689Skan	dw2_asm_output_encoded_addr_rtx): Likewise.
22366169689Skan	* emit-rtl.c (gen_rtx, gen_rtvec): Likewise.
22367169689Skan	* errors.c (warning, error, fatal, internal_error): Likewise.
22368169689Skan	* final.c (output_operand_lossage, asm_fprintf): Likewise.
22369169689Skan	* fix-header.c (fatal): Likewise.
22370169689Skan	* gcc.c (fatal, error, notice): Likewise.
22371169689Skan	* gcov.c (fnotice): Likewise.
22372169689Skan	* genattrtab.c (attr_rtx, attr_printf): Likewise.
22373169689Skan	* gengtype.c (error_at_line, xasprintf, oprintf): Likewise.
22374169689Skan	* gensupport.c (message_with_line): Likewise.
22375169689Skan	* mips-tfile.c (fatal, error): Likewise.
22376169689Skan	* protoize.c (notice): Likewise.
22377169689Skan	* ra-debug.c (ra_debug_msg): Likewise.
22378169689Skan	* read-rtl.c (fatal_with_file_and_line): Likewise.
22379169689Skan	* rtl-error.c (error_for_asm, warning_for_asm): Likewise.
22380169689Skan	* tree.c (build, build_nt, build_function_type_list): Likewise.
22381169689Skan
22382169689Skan2003-05-17  Neil Booth  <neil@daikokuya.co.uk>
22383169689Skan
22384169689Skan	* defaults.h (TARGET_CPU_CPP_BUILTINS, CPP_PREDEFINES): Remove.
22385169689Skan	* gcc.c (cpp_predefines): Remove.
22386169689Skan	(cpp_unique_options, do_spec_1): Remove handling of CPP_PREDEFINES.
22387169689Skan	(static_specs): Remove predefines.
22388169689Skan	* system.h: Poison CPP_PREDEFINES.
22389169689Skan	* config/freebsd.h, config/openbsd.h, config/ptx4.h, config/svr3.h,
22390169689Skan	config/svr4.h, doc/tm.texi: Remove references to CPP_PREDEFINES.
22391169689Skan
22392169689Skan2003-05-17  Neil Booth  <neil@daikokuya.co.uk>
22393169689Skan
22394169689Skan	* config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68k-none.h,
22395169689Skan	config/m68k/m68k.h, config/m68k/m68kemb.h, config/m68k/m68kv4.h,
22396169689Skan	config/m68k/openbsd.h, config/m68k/rtemself.h: Remove CPP_PREDEFINES,
22397169689Skan	use TARGET_OS_CPP_BUILTINS and TARGET_CPU_CPP_BUILTINS instead.
22398169689Skan
22399169689Skan2003-05-17  Neil Booth  <neil@daikokuya.co.uk>
22400169689Skan
22401169689Skan	PR c/9209
22402169689Skan	* c-common.c, c-common.h (dollars_in_ident): Remove.
22403169689Skan	* c-opts.c (DOLLARS_IN_IDENTIFIERS): Default to true.
22404169689Skan	(c_common_init_options, c_common_decode_option): Set dollars_in_ident.
22405169689Skan	* cpphash.h (warned_dollar): Rename warn_dollars.
22406169689Skan	* cppinit.c (struct lang_flags, lang_defaults, cpp_set_lang)
22407169689Skan	Permit dollars regardless of -std=.
22408169689Skan	(post_options): Set warn_dollars.
22409169689Skan	* cpplex.c (forms_identifier_p): Use warn_dollars.
22410169689Skan	* config/darwin.h, config/alpha/vms.h, config/m68hc11/m68hc11.h:
22411169689Skan	Remove redundant definitions of DOLLARS_IN_IDENTIFIERS.
22412169689Skan	* doc/cpp.texi, doc/cppopts.texi, doc/invoke.texi, doc/tm.texi:
22413169689Skan	Update documentation.
22414169689Skan
22415169689Skan2003-05-17  Andreas Schwab  <schwab@suse.de>
22416169689Skan
22417169689Skan	* config/m68k/m68k.c (m68k_output_function_prologue): Use
22418169689Skan	HOST_WIDE_INT_PRINT_DEC for fprintf and %wd for asm_fprintf when
22419169689Skan	formatting a HOST_WIDE_INT.
22420169689Skan	(m68k_output_function_epilogue): Likewise.
22421169689Skan
22422169689Skan2003-05-17  Zack Weinberg  <zack@codesourcery.com>
22423169689Skan
22424169689Skan	* doc/install.texi: Remove information about desupported targets.
22425169689Skan
22426169689Skan2003-05-17  Andreas Schwab  <schwab@suse.de>
22427169689Skan
22428169689Skan	* config/m68k/coff.h: Remove support for Sun FPA and Sun SKY board.
22429169689Skan	* config/m68k/linux.h: Likewise.
22430169689Skan	* config/m68k/m68k-none.h: Likewise.
22431169689Skan	* config/m68k/netbsd-elf.h: Likewise.
22432169689Skan	* config/m68k/sgs.h: Likewise.
22433169689Skan	* config/m68k/m68k.h: Likewise.
22434169689Skan	* config/m68k/m68k.md: Likewise.
22435169689Skan	* config/m68k/m68k.c: Likewise.
22436169689Skan	* doc/md.texi (Machine Constraints): Remove Sun FPA specific
22437169689Skan	constraints.
22438169689Skan	* doc/invoke.texi (Option Summary): Remove -mfpa.
22439169689Skan	(M680x0 Options): Likewise.
22440169689Skan
22441169689Skan2003-05-17  David Edelsohn  <edelsohn@gnu.org>
22442169689Skan
22443169689Skan	* rs6000.c (rs6000_function_value): Simplify REAL_TYPE logic.
22444169689Skan
22445169689Skan2003-05-17  Neil Booth  <neil@daikokuya.co.uk>
22446169689Skan
22447169689Skan	* config/sol2.h: Add TARGET_SUB_OS_CPP_BUILTINS.
22448169689Skan	* config/sparc/liteelf.h, config/sparc/openbsd64.h,
22449169689Skan	config/sparc/rtemself.h, config/sparc/sol2-64.h,
22450169689Skan	config/sparc/sp64-elf.h, config/sparc/sp86x-elf.h:
22451169689Skan	Update for use of TARGET_SUB_OS_CPP_BUILTINS.
22452169689Skan
22453169689Skan2003-05-17  Neil Booth  <neil@daikokuya.co.uk>
22454169689Skan
22455169689Skan	* i960/i960.h, i960/rtems.h: Use TARGET_OS_CPP_BUILTINS and
22456169689Skan	TARGET_CPU_CPP_BUILTINS in preference to CPP_PREDEFINES.
22457169689Skan
22458169689Skan2003-05-17  Neil Booth  <neil@daikokuya.co.uk>
22459169689Skan
22460169689Skan	* config.gcc (sparc-*-sysv4*): Add sparc/sysv4-only.h.
22461169689Skan	* sparc/aout.h, sparc/elf.h, sparc/freebsd.h, sparc/linux.h,
22462169689Skan	sparc/linux64.h, sparc/lite.h, sparc/litecoff.h, sparc/liteelf.h,
22463169689Skan	sparc/netbsd-elf.h, sparc/openbsd.h, sparc/openbsd64.h,
22464169689Skan	sparc/pbd.h, sparc/rtemself.h, sparc/sol2-64.h, sparc/sol2-bi.h,
22465169689Skan	sparc/sol2.h, sparc/sp64-elf.h, sparc/sp86-elf.h, sparc/sparc.h,
22466169689Skan	sparc/sysv4.h,
22467169689Skan	* sparc/sysv4-only.h: New.
22468169689Skan
22469169689Skan2003-05-17  Alan Modra  <amodra@bigpond.net.au>
22470169689Skan
22471169689Skan	* function.c (assign_parms): Check for zero size args.
22472169689Skan
22473169689Skan2003-05-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22474169689Skan
22475169689Skan	* cfgloopanal.c (test_for_iteration): Use string concatentation on
22476169689Skan	HOST_WIDE_INT_PRINT_* format specifier to collapse multiple
22477169689Skan	function calls into one.
22478169689Skan	* dbxout.c (dbxout_symbol): Likewise.
22479169689Skan	* defaults.h (ASM_OUTPUT_SIZE_DIRECTIVE): Likewise.
22480169689Skan	* dwarf2asm.c (dw2_asm_output_data_uleb128,
22481169689Skan	dw2_asm_output_data_sleb128): Likewise.
22482169689Skan	* genrecog.c (debug_decision_2): Likewise.
22483169689Skan	* loop.c (emit_prefetch_instructions): Likewise.
22484169689Skan	* print-rtl.c (print_rtx): Likewise.
22485169689Skan	* print-tree.c (print_node_brief, print_node): Likewise.
22486169689Skan	* ra-debug.c (dump_igraph, dump_graph_cost,
22487169689Skan	dump_static_insn_cost): Likewise.
22488169689Skan	* ra-rewrite.c (dump_cost): Likewise.
22489169689Skan	* sdbout.c (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
22490169689Skan	* sreal.c (dump_sreal): Likewise.
22491169689Skan	* unroll.c (unroll_loop, precondition_loop_p): Likewise.
22492169689Skan	* varasm.c (assemble_vtable_entry): Likewise.
22493169689Skan
22494169689Skan	* avr.c (avr_output_function_prologue,
22495169689Skan	avr_output_function_epilogue, print_operand): Fix format specifier
22496169689Skan	warnings.
22497169689Skan	(init_cumulative_args): Mark parameter with ATTRIBUTE_UNUSED.
22498169689Skan	* avr.h (FUNCTION_VALUE_REGNO_P): Fix signed/unsigned warnings.
22499169689Skan
22500169689Skan2003-05-16  Geoffrey Keating  <geoffk@apple.com>
22501169689Skan
22502169689Skan	* config/rs6000/rs6000.c (expand_block_move): Unify the TARGET_STRING
22503169689Skan	and ! TARGET_STRING cases.
22504169689Skan
22505169689Skan	* doc/cppopts.texi (-undef): Fix texinfo warning.
22506169689Skan
22507169689Skan	* doc/cppopts.texi (-H): Document that -H works for PCH files too.
22508169689Skan	* cppfiles.c (validate_pch): When -H is used, print some information
22509169689Skan	about PCH files found.
22510169689Skan
22511169689Skan2003-05-16  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
22512169689Skan
22513169689Skan	* config/mips/t-elf: Remove obsolete rules adding dependencies on tm.h.
22514169689Skan	* config/mips/t-isa3264, config/mips/t-r3900: Likewise.
22515169689Skan	* config/mips/t-sr71k: Likewise.
22516169689Skan
22517169689Skan2003-05-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
22518169689Skan
22519169689Skan	* arc.c (arc_output_function_prologue,
22520169689Skan	arc_output_function_epilogue): Fix format specifier warnings.
22521169689Skan	* arc.h (LARGE_INT): Fix signed/unsigned warnings.
22522169689Skan
22523169689Skan	* v850.c (print_operand): Fix format specifier warnings.
22524169689Skan
22525169689Skan	* ns32k.c (ADJSP, ns32k_output_function_prologue): Fix format
22526169689Skan	specifier warnings.
22527169689Skan
22528169689Skan	* mcore.c (mcore_print_operand_address, mcore_print_operand): Fix
22529169689Skan	format specifier warnings.
22530169689Skan
22531169689Skan	* ip2k.c (function_prologue, function_epilogue, print_operand):
22532169689Skan	Fix format specifier warnings.
22533169689Skan	* ip2k.md: Likewise.
22534169689Skan
22535169689Skan	* i960.c (i960_output_function_prologue, i960_print_operand,
22536169689Skan	i960_print_operand_addr): Fix format specifier warnings.
22537169689Skan
22538169689Skan	* i370.c (ascebc, ebcasc): Wrap in macros controlling usage.
22539169689Skan	(i370_output_function_prologue): Fix format specifier warnings.
22540169689Skan	* i370.h (PRINT_OPERAND): Likewise.
22541169689Skan
22542169689Skan	* fr30.c (fr30_print_operand): Fix format specifier warnings.
22543169689Skan
22544169689Skan	* dsp16xx.c (print_operand_address): Fix format specifier warning.
22545169689Skan	* dsp16xx.h (INCLUDE_DEFAULTS): Add missing initializers.
22546169689Skan
22547169689Skan	* c4x.c (c4x_print_operand, c4x_print_operand_address): Fix format
22548169689Skan	specifier warnings.
22549169689Skan
22550169689Skan	* alpha.c (print_operand_address, alpha_start_function,
22551169689Skan	unicosmk_output_ssib): Use string concatentation on
22552169689Skan	HOST_WIDE_INT_PRINT_* format specifier to collapse multiple
22553169689Skan	function calls into one.
22554169689Skan	* arm.c (arm_print_operand): Likewise.
22555169689Skan	* cris.c (cris_asm_output_mi_thunk): Likewise.
22556169689Skan	* frv.c (frv_asm_output_mi_thunk): Likewise.
22557169689Skan	* ia64.c (ia64_print_operand, process_set): Likewise.
22558169689Skan	* m68k.c (m68k_output_function_epilogue, m68k_output_mi_thunk):
22559169689Skan	Likewise.
22560169689Skan	* mips/iris5gas.h (PUT_SDB_SIZE): Likewise.
22561169689Skan	* mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
22562169689Skan	* pa.c (output_div_insn, pa_asm_output_mi_thunk): Likewise.
22563169689Skan	* pa.h (PRINT_OPERAND_ADDRESS): Likewise.
22564169689Skan	* rs6000.c (rs6000_va_start, print_operand_address): Likewise.
22565169689Skan	* s390.c (s390_assemble_integer): Likewise.
22566169689Skan	* sparc.c (sparc_flat_function_prologue,
22567169689Skan	sparc_flat_function_epilogue): Likewise.
22568169689Skan	* stormy16.c (xstormy16_print_operand_address, xstormy16_print_operand): Likewise.
22569169689Skan	* vax.c (vax_output_mi_thunk): Likewise.
22570169689Skan
22571169689Skan	* frv.c (frv_print_operand_memory_reference): Fix format specifier
22572169689Skan	warning.
22573169689Skan	(frv_rtx_costs): Mark parameter with ATTRIBUTE_UNUSED.
22574169689Skan
22575169689Skan	* m68k.c (m68k_output_function_epilogue): Fix format specifier
22576169689Skan	warnings.
22577169689Skan
22578169689Skan	* stormy16-protos.h (xs_hi_general_operand,
22579169689Skan	xs_hi_nonmemory_operand): Prototype.
22580169689Skan	* stormy16.c (xstormy16_output_shift): Fix format specifier
22581169689Skan	warnings.
22582169689Skan
22583169689Skan	* cris.c: Fix format specifier warnings.
22584169689Skan
22585169689Skan2003-05-16  Nick Clifton  <nickc@redhat.com>
22586169689Skan
22587169689Skan	* config/arm/lib1funcs.asm: Fix typo: LSM instead of LSYM.
22588169689Skan
22589169689Skan2003-05-16  Wolfgang Bangerth <bangerth@dealii.org>
22590169689Skan
22591169689Skan	* doc/bugreport.texi: Remove most of the of the preface of the
22592169689Skan	bugs section.
22593169689Skan
22594169689Skan2003-05-16  Jakub Jelinek  <jakub@redhat.com>
22595169689Skan
22596169689Skan	* config/ia64/unwind-ia64.c (uw_update_reg_address): Handle
22597169689Skan	.save XX, r0.
22598169689Skan
22599169689Skan2003-05-15  Roger Sayle  <roger@eyesopen.com>
22600169689Skan
22601169689Skan	* config/alpha/alpha.h (ASM_OUTPUT_SKIP): Fix typo.
22602169689Skan
22603169689Skan2003-05-15  Eric Christopher  <echristo@redhat.com>
22604169689Skan
22605169689Skan	* cfgcleanup.c (merge_blocks): Fix return value.
22606169689Skan
22607169689Skan2003-05-15 Eric Christopher <echristo@redhat.com>
22608169689Skan
22609169689Skan	* combine.c (expand_compound_operation): Make sure
22610169689Skan	that zero_extend operation is profitable.
22611169689Skan
22612169689Skan2003-05-15  Richard Henderson  <rth@redhat.com>
22613169689Skan
22614169689Skan	* config/alpha/linux.h, config/alpha/linux-elf.h: Remove
22615169689Skan	code protected by USE_GNULIBC_1.
22616169689Skan
22617169689Skan2003-05-15  Zack Weinberg  <zack@codesourcery.com>
22618169689Skan
22619169689Skan	* config.gcc: Purge all targets obsoleted in GCC 3.3.  Also
22620169689Skan	remove hppa*-*-mpeix* which could not be built, and prune
22621169689Skan	files from tmake_file= or tm_file= lists that don't exist.
22622169689Skan
22623169689Skan	* config/alpha/alpha-interix.h, config/alpha/alpha32.h
22624169689Skan	* config/alpha/t-interix, config/arm/conix-elf.h
22625169689Skan	* config/arm/t-arm-aout, config/arm/t-strongarm-coff
22626169689Skan	* config/arm/unknown-elf-oabi.h, config/i386/win32.h
22627169689Skan	* config/m68k/3b1.h, config/m68k/3b1g.h, config/m68k/amix.h
22628169689Skan	* config/m68k/atari.h, config/m68k/ccur-GAS.h, config/m68k/crds.h
22629169689Skan	* config/m68k/hp2bsd.h, config/m68k/hp3bsd.h
22630169689Skan	* config/m68k/hp3bsd44.h, config/m68k/linux-aout.h
22631169689Skan	* config/m68k/m68k-psos.h, config/m68k/mot3300.h
22632169689Skan	* config/m68k/pbb.h, config/m68k/plexus.h, config/m68k/sun2.h
22633169689Skan	* config/m68k/sun2o4.h, config/m68k/sun3.h, config/m68k/sun3mach.h
22634169689Skan	* config/m68k/sun3n.h, config/m68k/sun3n3.h, config/m68k/sun3o3.h
22635169689Skan	* config/m68k/t-mot3300, config/m68k/t-mot3300-gald
22636169689Skan	* config/m68k/t-mot3300-gas, config/m68k/t-mot3300-gld
22637169689Skan	* config/m68k/tower-as.h, config/m68k/tower.h
22638169689Skan	* config/m88k/aout-dbx.h, config/m88k/m88k-aout.h
22639169689Skan	* config/m88k/m88k-modes.def, config/m88k/m88k-move.sh
22640169689Skan	* config/m88k/m88k-protos.h, config/m88k/m88k.c
22641169689Skan	* config/m88k/m88k.h, config/m88k/m88k.md, config/m88k/openbsd.h
22642169689Skan	* config/m88k/sysv4.h, config/m88k/t-luna, config/m88k/t-luna-gas
22643169689Skan	* config/m88k/t-m88k, config/m88k/t-sysv4, config/mcore/gfloat.h
22644169689Skan	* config/mips/rtems64.h, config/mips/sni-gas.h
22645169689Skan	* config/mips/sni-svr4.h, config/mips/t-ecoff
22646169689Skan	* config/mn10200/lib1funcs.asm, config/mn10200/mn10200-protos.h
22647169689Skan	* config/mn10200/mn10200.c, config/mn10200/mn10200.h
22648169689Skan	* config/mn10200/mn10200.md, config/mn10200/t-mn10200
22649169689Skan	* config/pa/pa-hiux.h, config/pa/pa-hpux7.h, config/pa/pa-hpux9.h
22650169689Skan	* config/pa/pa-oldas.h, config/pa/t-mpeix, config/psos.h
22651169689Skan	* config/romp/romp-protos.h, config/romp/romp.c
22652169689Skan	* config/romp/romp.h, config/romp/romp.md, config/rs6000/aix31.h
22653169689Skan	* config/rs6000/aix3newas.h, config/rs6000/mach.h
22654169689Skan	* config/sparc/bsd.h, config/sparc/hal.h
22655169689Skan	* config/sparc/linux-aout.h, config/sparc/lynx-ng.h
22656169689Skan	* config/sparc/lynx.h, config/sparc/netbsd.h
22657169689Skan	* config/sparc/sp86x-aout.h, config/sparc/splet.h
22658169689Skan	* config/sparc/sun4gas.h, config/sparc/sun4o3.h
22659169689Skan	* config/sparc/sunos4.h, config/sparc/t-chorus-elf
22660169689Skan	* config/sparc/t-halos, config/sparc/t-sparcbare
22661169689Skan	* config/sparc/t-splet, config/sparc/t-sunos41
22662169689Skan	* config/v850/rtems.h: Delete file.
22663169689Skan
22664169689Skan2003-05-15  Aldy Hernandez  <aldyh@redhat.com>
22665169689Skan
22666169689Skan	* config/rs6000/rs6000-protos.h (function_value): Protoize.
22667169689Skan
22668169689Skan	* config/rs6000/rs6000.h (FUNCTION_VALUE): Call function.
22669169689Skan
22670169689Skan	* config/rs6000/rs6000.c (rs6000_function_value): New.
22671169689Skan
22672169689Skan2003-05-15  Philip Blundell  <philb@gnu.org>
22673169689Skan
22674169689Skan	* config/arm/arm.c (arm_is_xscale): Rename to arm_arch_xscale.
22675169689Skan	All uses updated.
22676169689Skan	(arm_tune_xscale): New variable.
22677169689Skan	(arm_override_options): Set it.
22678169689Skan	(arm_adjust_cost): Use it in place of arm_arch_xscale.
22679169689Skan	(arm_gen_load_multiple): Likewise.
22680169689Skan	(arm_gen_store_multiple): Likewise.
22681169689Skan	* config/arm/arm.md (is_xscale): Likewise.
22682169689Skan	* config/arm/arm.h (arm_tune_xscale): Declare.
22683169689Skan
22684169689Skan2003-05-15  Philip Blundell  <philb@gnu.org>
22685169689Skan
22686169689Skan	PR target/10730
22687169689Skan	* config/arm/arm.c (adjacent_mem_locations): Reject offsets
22688169689Skan	involving invalid constants.
22689169689Skan
22690169689Skan2003-05-15  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
22691169689Skan
22692169689Skan	* pa.c (hppa_expand_prologue): Remove blockage.
22693169689Skan
22694169689Skan2003-05-15  Wolfgang Bangerth <bangerth@dealii.org>
22695169689Skan
22696169689Skan	* doc/bugreport.texi: Remove most of the bug reporting
22697169689Skan	instructions and merge them into bugs.html.
22698169689Skan
22699169689Skan2003-05-14  Matt Kraai  <kraai@alumni.cmu.edu>
22700169689Skan
22701169689Skan	* config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Cast
22702169689Skan	g_switch_value to unsigned HOST_WIDE_INT.
22703169689Skan
22704169689Skan2003-05-14  Eric Christopher  <echristo@redhat.com>
22705169689Skan
22706169689Skan	* combine.c: Fix header comments.
22707169689Skan	(distribute_notes): Remove usage of elim_i1, elim_i2. Propagate
22708169689Skan	to all calls and prototype.
22709169689Skan
22710169689Skan2003-05-14  Roger Sayle  <roger@eyesopen.com>
22711169689Skan
22712169689Skan	PR optimization/10764
22713169689Skan	* config/i386/i386.md (atan2df3, atan2sf3, atan2xf3, atan2tf3):
22714169689Skan	Add an explicit clobber to show that UNSPEC_FPATAN clobbers st(1).
22715169689Skan	(*fyl2x_sfxf3, *fyl2x_dfxf3, *fyl2x_xf3, *fyl2x_tfxf3):  Likewise,
22716169689Skan	add an explicit clobber to show that UNSPEC_FYL2X clobbers st(1).
22717169689Skan	(logsf2, logdf2, logxf2, logtf2): Update expander patterns to match
22718169689Skan	the corresponding *fyl2x_?fxf3 instructions.
22719169689Skan
22720169689Skan2003-05-14  Bob Wilson  <bob.wilson@acm.org>
22721169689Skan
22722169689Skan	* config/xtensa/lib2funcs.S (TRAMPOLINE_SIZE): Change from 49 to 59.
22723169689Skan	* config/xtensa/xtensa-config.h (XCHAL_HAVE_CONST16,
22724169689Skan	XCHAL_HAVE_L32R): New.
22725169689Skan	* config/xtensa/xtensa-protos.h (non_const_move_operand,
22726169689Skan	xtensa_load_constant, xtensa_function_prologue,
22727169689Skan	xtensa_function_epilogue): Delete prototypes.
22728169689Skan	(xtensa_expand_prologue): New.
22729169689Skan	* config/xtensa/xtensa.c (frame_size_const,
22730169689Skan	TARGET_ASM_FUNCTION_PROLOGUE, TARGET_MACHINE_DEPENDENT_REORG,
22731169689Skan	non_const_move_operand, xtensa_load_constant, xtensa_reorg,
22732169689Skan	xtensa_function_prologue): Delete.
22733169689Skan	(add_operand, xtensa_mem_offset): Formatting.
22734169689Skan	(move_operand): If the const16 option is available, allow any SFmode
22735169689Skan	and SImode constants.
22736169689Skan	(xtensa_emit_move_sequence): Inline the former contents of
22737169689Skan	xtensa_load_constant with modifications to handle the const16 option.
22738169689Skan	(override_options): Add xtensa_char_to_class['W'] and set it to
22739169689Skan	the general register class only if the const16 option is enabled.
22740169689Skan	Fix formatting.  Disallow PIC when using the const16 option.
22741169689Skan	(print_operand): Reorganize to switch on "letter" instead of the
22742169689Skan	RTL code.  Add output_operand_lossage calls for invalid cases.
22743169689Skan	Add support for 't' and 'b' letters.
22744169689Skan	(xtensa_expand_prologue): New function to replace
22745169689Skan	xtensa_function_prologue and xtensa_reorg.
22746169689Skan	(xtensa_function_epilogue): Declare this as static.  Delete code
22747169689Skan	to print the retw.n or retw instruction.
22748169689Skan	(xtensa_return_addr): Use A0_REG instead of 0.
22749169689Skan	(xtensa_rtx_costs): Add costs for using the const16 option.
22750169689Skan	* config/xtensa/xtensa.h (MASK_CONST16, TARGET_CONST16): New.
22751169689Skan	(TARGET_DEFAULT): Add CONST16 if L32R instructions not available.
22752169689Skan	(TARGET_SWITCHES): Add "const16" and "no-const16".
22753169689Skan	(REG_CLASS_FROM_LETTER): Add comment about new 'W' letter.
22754169689Skan	(EXTRA_CONSTRAINT): Change 'T' constraint to only apply when not
22755169689Skan	using the const16 option.
22756169689Skan	(TRAMPOLINE_TEMPLATE): Rewrite to avoid hardwired use of l32r insn.
22757169689Skan	(TRAMPOLINE_SIZE): Change from 49 to 59.
22758169689Skan	(INITIALIZE_TRAMPOLINE): Adjust offsets to match new trampoline.
22759169689Skan	(GO_IF_LEGITIMATE_ADDRESS): Do not allow constant pool addresses
22760169689Skan	when using the const16 option.
22761169689Skan	(PREDICATE_CODES): Delete non_const_move_operand.
22762169689Skan	* config/xtensa/xtensa.md (define_constants): Add A1_REG, A8_REG, and
22763169689Skan	UNSPECV_ENTRY.
22764169689Skan	(movdi, movdf): If the source is a constant, always expand to a
22765169689Skan	sequence of movsi insns.
22766169689Skan	(movdi_internal, movdf_internal): Remove alternative using l32r insns.
22767169689Skan	(movsi_internal, movsf_internal): Add alternative using const16 insns.
22768169689Skan	(movsf): Add const16 support.
22769169689Skan	(entry, prologue, epilogue): New.
22770169689Skan	(set_frame_ptr): Add missing mode for unspec_volatile operation.
22771169689Skan	Likewise for subsequent split pattern.
22772169689Skan	* doc/invoke.texi (Option Summary, Xtensa Options): Document new
22773169689Skan	"-mconst16" and "-mno-const16" options.
22774169689Skan
22775169689Skan2003-05-14  Richard Henderson  <rth@redhat.com>
22776169689Skan
22777169689Skan	* config/ia64/ia64.c (ia64_expand_load_address): Force destination
22778169689Skan	to be DImode register.  Merge load_symptr.
22779169689Skan	* config/ia64/ia64.md (load_symptr): Remove.
22780169689Skan
22781169689Skan2003-05-14  Richard Henderson  <rth@redhat.com>
22782169689Skan
22783169689Skan	* rtl.h (TREE_CONSTANT_POOL_ADDRESS_P): Rename from
22784169689Skan	DEFERRED_CONSTANT_P.
22785169689Skan	* integrate.c (copy_rtx_and_substitute): Update use.
22786169689Skan	* varasm.c (build_constant_desc): Set SYMBOL_REF_DECL
22787169689Skan	to the copy generated.
22788169689Skan	(maybe_output_constant_def_contents): Examine TREE_ASM_WRITTEN
22789169689Skan	of the constant to see if we should emit.
22790169689Skan	(mark_constant): Similarly.
22791169689Skan	(output_constant_def_contents): Set TREE_ASM_WRITTEN.
22792169689Skan
22793169689Skan2003-05-14  David Edelsohn  <edelsohn@gnu.org>
22794169689Skan
22795169689Skan	* config/rs6000/rs6000.md (movsi_internal2): Use compare for self
22796169689Skan	move record condition.
22797169689Skan	(movdi_internal2): Same.
22798169689Skan
22799169689Skan2003-05-14  Nathan Sidwell  <nathan@codesourcery.com>
22800169689Skan
22801169689Skan	* gcov-io.h (gcov_write_bytes, gcov_read_bytes): Remove here.
22802169689Skan	(GCOV_TAG_*) Force type to gcov_unsigned_t.
22803169689Skan	(GCOV_CHECK, GCOV_CHECK_READING, GCOV_CHECK_WRITING): New.
22804169689Skan	(struct gcov_var): Remove modified. Add start, length, offset,
22805169689Skan	overread. Have buffer array for libgcov.
22806169689Skan	(gcov_sync, gcov_seek): Definitions moved to gcov-io.c.
22807169689Skan	(gcov_position, gcov_rewrite, gcov_is_eof): Adjust.
22808169689Skan	* gcov-io.c (gcov_open): Set mode, do not read anything.
22809169689Skan	(gcov_close): Write final block.
22810169689Skan	 (gcov_write_block, gcov_allocate): New.
22811169689Skan	(gcov_write_bytes): Make static. Write or allocate buffer.
22812169689Skan	(gcov_write_unsigned, gcov_write_counter): Buffer can never be
22813169689Skan	null.
22814169689Skan	(gcov_write_string): Adjust.
22815169689Skan	(gcov_write_tag)
22816169689Skan	(gcov_write_length): Adjust. Flush the block.
22817169689Skan	(gcov_write_tag_length): Buffer can never be null.
22818169689Skan	(gcov_read_bytes): Make static. Read in block.
22819169689Skan	(gcov_sync): Moved here. Adjust.
22820169689Skan	(gcov_seek): Moved here. Adjust.
22821169689Skan	* coverage.c (read_counts_file): Adjust.
22822169689Skan	* gcov-dump.c (print_prefix): Add position parameter.
22823169689Skan	(flag_dump_positions): New flag.
22824169689Skan	(options, main, print_usage): Add it.
22825169689Skan	(dump_file, tag_blocks, tag_arcs, tag_lines, tag_counters,
22826169689Skan	tag_summary): Adjust.
22827169689Skan	* gcov.c (read_graph_file, read_count_file): Adjust.
22828169689Skan	* libgcov.c (gcov_exit): Adjust.
22829169689Skan
22830169689Skan	* Makefile.in (LIBGCC_DEPS): Use $(srcdir) on gcov files
22831169689Skan	(libgcov.a): Depend on libgcc.a.
22832169689Skan	(gcov.o, gcov-dump.o): Add gcov-io.c.
22833169689Skan	* mklibgcc.in (libgcov_c_dep): Use $(srcdir).
22834169689Skan
22835169689Skan	* loop.c (check_dbra_loop): Factor common test.
22836169689Skan
22837169689Skan2003-05-14  Ben Elliston  <bje@wasabisystems.com>
22838169689Skan
22839169689Skan	* doc/md.texi (Automaton pipeline description): Grammar fixes.
22840169689Skan
22841169689Skan2003-05-14  Richard Sandiford  <rsandifo@redhat.com>
22842169689Skan
22843169689Skan	* target-def.h (TARGET_MACHINE_DEPENDENT_REORG): Define.
22844169689Skan	(TARGET_INITIALIZER): Include it.
22845169689Skan	* target.h (struct gcc_target): Add machine_dependent_reorg field.
22846169689Skan	* toplev.c (rest_of_compilation): Use targetm.machine_dependent_reorg.
22847169689Skan	* system.h: Poison MACHINE_DEPENDENT_REORG.
22848169689Skan
22849169689Skan	* config/alpha/alpha-protos.h (alpha_reorg): Remove declaration.
22850169689Skan	* config/alpha/alpha.h (MACHINE_DEPENDENT_REORG): Remove.
22851169689Skan	* config/alpha/alpha.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
22852169689Skan	(alpha_handle_trap_shadows): Remove "first insn" parameter.
22853169689Skan	(alpha_align_insns): Likewise.
22854169689Skan	(alpha_reorg): Likewise.  Make static.  Update calls to above
22855169689Skan	functions.
22856169689Skan
22857169689Skan	* config/arm/arm-protos.h (arm_reorg): Remove declaration.
22858169689Skan	* config/arm/arm.h (MACHINE_DEPENDENT_REORG): Remove.
22859169689Skan	* config/arm/arm.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
22860169689Skan	(arm_reorg): Remove parameter.  Make static.
22861169689Skan
22862169689Skan	* config/avr/avr-protos.h (machine_dependent_reorg): Remove.
22863169689Skan	* config/avr/avr.h (MACHINE_DEPENDENT_REORG): Remove.
22864169689Skan	* config/avr/avr.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
22865169689Skan	(avr_reorg): Renamed from machine_dependent_reorg.  Make static.
22866169689Skan	Remove parameter.
22867169689Skan
22868169689Skan	* config/c4x/c4x-protos.h (c4x_process_after_reload): Remove.
22869169689Skan	* config/c4x/c4x.h (MACHINE_DEPENDENT_REORG): Remove.
22870169689Skan	* config/c4x/c4x.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
22871169689Skan	(c4x_reorg): Renamed from c4x_process_after_reload.  Make static.
22872169689Skan	Remove parameter.
22873169689Skan
22874169689Skan	* config/d30v/d30v-protos.h (d30v_machine_dependent_reorg): Remove.
22875169689Skan	* config/d30v/d30v.h (MACHINE_DEPENDENT_REORG): Remove.
22876169689Skan	* config/d30v/d30v.c (d30v_machine_dependent_reorg): Remove.
22877169689Skan
22878169689Skan	* config/frv/frv-protos.h (frv_machine_dependent_reorg): Remove.
22879169689Skan	* config/frv/frv.c: Remove orphaned comment.
22880169689Skan
22881169689Skan	* config/i386/i386-protos.h (x86_machine_dependent_reorg): Remove.
22882169689Skan	* config/i386/i386.h (MACHINE_DEPENDENT_REORG): Remove.
22883169689Skan	* config/i386/i386.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
22884169689Skan	(ix86_reorg): Renamed from x86_machine_dependent_reorg.  Make static.
22885169689Skan	Remove parameter.
22886169689Skan
22887169689Skan	* config/ia64/ia64-protos.h (ia64_reorg): Remove declaration.
22888169689Skan	* config/ia64/ia64.h (MACHINE_DEPENDENT_REORG): Remove.
22889169689Skan	* config/ia64/ia64.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
22890169689Skan	(emit_insn_group_barriers): Remove "first insn" parameter.
22891169689Skan	(emit_all_insn_group_barriers): Likewise.
22892169689Skan	(ia64_reorg): Likewise.  Make static.  Update calls to above functions.
22893169689Skan	(ia64_output_mi_thunk): Update call to emit_all_insn_group_barriers.
22894169689Skan
22895169689Skan	* config/ip2k/ip2k-protos.h (machine_dependent_reorg): Remove.
22896169689Skan	* config/ip2k/ip2k.h (MACHINE_DEPENDENT_REORG): Remove.
22897169689Skan	* config/ip2k/ip2k.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
22898169689Skan	(ip2k_reorg): Renamed from machine_dependent_reorg.  Make static.
22899169689Skan	Remove parameter.
22900169689Skan
22901169689Skan	* config/m68hc11/m68hc11-protos.h (m68hc11_reorg): Remove declaration.
22902169689Skan	* config/m68hc11/m68hc11.h (MACHINE_DEPENDENT_REORG): Remove.
22903169689Skan	* config/m68hc11/m68hc11.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
22904169689Skan	(m68hc11_reorg): Make static.  Remove parameter.
22905169689Skan
22906169689Skan	* config/mcore/mcore-protos.h (mcore_dependent_reorg): Remove.
22907169689Skan	* config/mcore/mcore.h (MACHINE_DEPENDENT_REORG): Remove.
22908169689Skan	* config/mcore/mcore.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
22909169689Skan	(conditionalize_optimization): Remove parameter.
22910169689Skan	(mcore_reorg): Renamed from mcore_dependent_reorg.  Remove parameter.
22911169689Skan	Make static.  Update call to conditionalize_optimization.
22912169689Skan
22913169689Skan	* config/mips/mips-protos.h (machine_dependent_reorg): Remove.
22914169689Skan	* config/mips/mips.h (MACHINE_DEPENDENT_REORG): Remove.
22915169689Skan	* config/mips/mips.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
22916169689Skan	(mips_reorg): Renamed from machine_dependent_reorg.  Remove parameter.
22917169689Skan	Make static.
22918169689Skan
22919169689Skan	* config/mmix/mmix-protos.h (mmix_machine_dependent_reorg): Remove.
22920169689Skan	* config/mmix/mmix.h (MACHINE_DEPENDENT_REORG): Remove.
22921169689Skan	* config/mmix/mmix.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
22922169689Skan	(mmix_reorg): Renamed from mmix_machine_dependent_reorg.  Make static.
22923169689Skan	Remove parameter.
22924169689Skan
22925169689Skan	* config/pa/pa-protos.h (pa_reorg): Remove declaration.
22926169689Skan	* config/pa/pa.h (MACHINE_DEPENDENT_REORG): Remove.
22927169689Skan	* config/pa/pa.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
22928169689Skan	(pa_combine_instructions): Remove "first insn" parameter.
22929169689Skan	(remove_useless_addtr_insns): Likewise.
22930169689Skan	(pa_reorg): Likewise.  Make static.  Update calls to above functions.
22931169689Skan
22932169689Skan	* config/rs6000/rs6000.h (MACHINE_DEPENDENT_REORG): Remove
22933169689Skan	commented-out definition.
22934169689Skan
22935169689Skan	* config/s390/s390-protos.h (s390_machine_dependent_reorg): Remove.
22936169689Skan	* config/s390/s390.h (MACHINE_DEPENDENT_REORG): Remove.
22937169689Skan	* config/s390/s390.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
22938169689Skan	(s390_reorg): Renamed from s390_machine_dependent_reorg.  Make static.
22939169689Skan	Remove parameter.
22940169689Skan
22941169689Skan	* config/sh/sh-protos.h (machine_dependent_reorg): Remove.
22942169689Skan	* config/sh/sh.h (MACHINE_DEPENDENT_REORG): Remove.
22943169689Skan	* config/sh/sh.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
22944169689Skan	(sh_reorg): Renamed from machine_dependent_reorg.  Make static.
22945169689Skan	Remove parameter.
22946169689Skan	(sh_output_mi_thunk): Call sh_reorg directly.
22947169689Skan	* config/sh/sh.md: Update comment.
22948169689Skan
22949169689Skan	* config/stormy16/stormy16.h (MACHINE_DEPENDENT_REORG): Remove
22950169689Skan	commented-out definition.
22951169689Skan
22952169689Skan	* config/v850/v850-protos.h (v850_reorg): Remove declaration.
22953169689Skan	* config/v850/v850.h (MACHINE_DEPENDENT_REORG): Remove.
22954169689Skan	* config/v850/v850.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
22955169689Skan	(v850_reorg): Make static.  Remove parameter.
22956169689Skan
22957169689Skan	* config/xtensa/xtensa-protos.h (xtensa_reorg): Remove declaration.
22958169689Skan	* config/xtensa/xtensa.h (MACHINE_DEPENDENT_REORG): Remove.
22959169689Skan	* config/xtensa/xtensa.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
22960169689Skan	(xtensa_reorg): Make static.  Remove parameter.
22961169689Skan
22962169689Skan	* doc/tm.texi (MACHINE_DEPENDENT_REORG): Remove.
22963169689Skan	(TARGET_MACHINE_DEPENDENT_REORG): Document.
22964169689Skan
22965169689Skan2003-05-13  Richard Henderson  <rth@redhat.com>
22966169689Skan
22967169689Skan	* c-decl.c (duplicate_decls): Re-invoke make_decl_rtl if
22968169689Skan	the old decl had instantiated DECL_RTL.
22969169689Skan
22970169689Skan2003-05-13  Mike Stump  <mrs@apple.com>
22971169689Skan
22972169689Skan	* doc/invoke.texi (Option Summary): Kill off documentation for -$.
22973169689Skan
22974169689Skan2003-05-13  Janis Johnson  <janis187@us.ibm.com>
22975169689Skan
22976169689Skan	* config/rs6000/sysv4.h (OUTPUT_ASM_ALIGNED_LOCAL): Expect
22977169689Skan	HOST_WIDE_INT argument.
22978169689Skan
22979169689Skan2003-05-13  Jason Merrill  <jason@redhat.com>
22980169689Skan
22981169689Skan	* tree.h (STRIP_MAIN_TYPE_NOPS): New macro.
22982169689Skan
22983169689Skan	* tree.c (iterative_hash_expr): New fn.
22984169689Skan
22985169689Skan	* c-semantics.c (emit_local_var): Don't mess with temp slots if
22986169689Skan	there's no initializer.
22987169689Skan
22988169689Skan2003-05-13  Richard Sandiford  <rsandifo@redhat.com>
22989169689Skan
22990169689Skan	* final.c (final_scan_insn): Apply the effects of frame-related
22991169689Skan	delay slot insns before emitting a delayed branch.
22992169689Skan
22993169689Skan2003-05-13  Nick Clifton  <nickc@redhat.com>
22994169689Skan
22995169689Skan	* config/mcore/mcore.md (jump): Use emit_jump_insn.
22996169689Skan
22997169689Skan2003-05-13  Ulrich Weigand  <uweigand@de.ibm.com>
22998169689Skan
22999169689Skan	* config/s390/s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Second
23000169689Skan	parameter of ASM_OUTPUT_SKIP must have type unsigned HOST_WIDE_INT.
23001169689Skan
23002169689Skan2003-05-12  DJ Delorie  <dj@redhat.com>
23003169689Skan
23004169689Skan	* expr.c (move_by_pieces): Honor the alignment of TO and FROM.
23005169689Skan	(emit_push_insn): Don't use push when the source alignment is less
23006169689Skan	than the stack's push rounding.
23007169689Skan
23008169689Skan2003-05-13  Zack Weinberg  <zack@codesourcery.com>
23009169689Skan
23010169689Skan	* diagnostic.c (output_format): Add support for %m.
23011169689Skan	(output_printf, output_verbatim, diagnostic_set_info,
23012169689Skan	verbatim): Set err_no field of the text_info structure being
23013169689Skan	initialized.
23014169689Skan	(fatal_io_error): Delete function.
23015169689Skan	* diagnostic.h (text_info): Add err_no field.
23016169689Skan	* toplev.h (fatal_io_error): Delete prototype.
23017169689Skan
23018169689Skan	* c-opts.c, c-pch.c, dwarfout.c, ggc-common.c, ggc-page.c, graph.c
23019169689Skan	* toplev.c, config/mips/mips.c, config/rs6000/host-darwin.c
23020169689Skan	* objc/objc-act.c: Replace all calls to fatal_io_error with
23021169689Skan	calls to fatal_error; add ": %m" to the end of all the affected
23022169689Skan	error messages.
23023169689Skan
23024169689Skan2003-05-13  Zack Weinberg  <zack@codesourcery.com>
23025169689Skan
23026169689Skan	* varasm.c (notice_rtl_inlining_of_deferred_constant): New function.
23027169689Skan	* rtl.h: Prototype it.
23028169689Skan	* integrate.c (copy_rtx_and_substitute <SYMBOL_REF>): Call it
23029169689Skan	when appropriate.
23030169689Skan
23031169689Skan2003-05-13  Ulrich Weigand  <uweigand@de.ibm.com>
23032169689Skan
23033169689Skan	* config/s390/s390.md ("*iordi3_oi"): Do not mark commutative.
23034169689Skan	("*iorsi3_oi"): Likewise.
23035169689Skan
23036169689Skan2003-05-13  Richard Earnshaw  <rearnsha@arm.com>
23037169689Skan
23038169689Skan	* arm.md (compare_scc): Use shorter sequence for EQ case.
23039169689Skan	(ior_scc_scc_cmp, and_scc_scc_cmp): New insn-and-split patterns.
23040169689Skan	(and_scc_scc): Ensure split only applies when there is a dominance
23041169689Skan	of the comparisons.
23042169689Skan	(and_scc_scc_nodom): New insn-and-split pattern.
23043169689Skan
23044169689Skan2003-05-13  Richard Sandiford  <rsandifo@redhat.com>
23045169689Skan
23046169689Skan	* unwind-dw2.c (uw_init_context_1): Don't pass &outer_cfa directly
23047169689Skan	to _Unwind_SetGRPtr().
23048169689Skan
23049169689Skan2003-05-13  Michael Eager <eager@mvista.com>
23050169689Skan
23051169689Skan	* Makefile.in: Initialize program_transform_cross_name from
23052169689Skan	@program_transform_name@ instead of target_alias.
23053169689Skan
23054169689Skan2003-05-12  Janis Johnson  <janis187@us.ibm.com>
23055169689Skan	    Alan Modra  <amodra@bigpond.net.au>
23056169689Skan	    Jakub Jelinek  <jakub@redhat.com>
23057169689Skan
23058169689Skan	* configure.in (HAVE_AS_TLS): Add powerpc and powerpc64 tests.
23059169689Skan	* configure: Rebuild.
23060169689Skan	* config/rs6000/rs6000-protos.h: Update.
23061169689Skan	* config/rs6000/rs6000.c (rs6000_tls_size): New.
23062169689Skan	(rs6000_tls_size_string): New.
23063169689Skan	(rs6000_parse_tls_size_option): New.
23064169689Skan	(rs6000_legitimize_tls_address): New.
23065169689Skan	(rs6000_tls_get_addr): New.
23066169689Skan	(rs6000_got_sym): New.
23067169689Skan	(rs6000_tls_symbol_ref): New.
23068169689Skan	(rs6000_tls_symbol_ref_1): New.
23069169689Skan	(rs6000_get_some_local_dynamic_name): New.
23070169689Skan	(rs6000_get_some_local_dynamic_name_1): New.
23071169689Skan	(TARGET_HAVE_TLS): New.
23072169689Skan	(TARGET_CANNOT_FORCE_CONST_MEM): New.
23073169689Skan	(rs6000_override_options): Handle -mtls-size option.
23074169689Skan	(constant_pool_expr_1): Handle TLS symbols.
23075169689Skan	(rs6000_legitimize_address): Handle TLS symbols.
23076169689Skan	(rs6000_tls_referenced_p): New.
23077169689Skan	(rs6000_legitimate_address): Handle TLS symbols.
23078169689Skan	(rs6000_emit_move): Handle TLS symbols.
23079169689Skan	(print_operand): Handle TLS symbols.
23080169689Skan	(uses_TOC): Handle TLS symbols.
23081169689Skan	(rs6000_emit_prologue): Use symbol for unspec constant.
23082169689Skan	* config/rs6000/rs6000.h (HAVE_AS_TLS): New.
23083169689Skan	(some_ld_name): New.
23084169689Skan	(LEGITIMATE_CONSTANT_P): Handle TLS symbols.
23085169689Skan	(PRINT_OPERAND_PUNCT_VALID_P): Handle TLS symbols.
23086169689Skan	(PREDICATE_CODES): Add rs6000_tls_symbol_ref.
23087169689Skan	* config/rs6000/rs6000.md (load_toc_v4_PIC_1, load_toc_v4_PIC_1b):
23088169689Skan	Support TLS.
23089169689Skan	(tls_gd_32, tls_gd_64, tls_ld_32, tls_ld_64, tls_dtprel_32,
23090169689Skan	tls_dtprel_64, tls_dtprel_ha_32, tls_dtprel_ha_64, tls_dtprel_lo_32,
23091169689Skan	tls_dtprel_lo_64, tls_got_dtprel_32, tls_got_dtprel_64, tls_tprel_32,
23092169689Skan	tls_tprel_64, tls_tprel_ha_32, tls_tprel_ha_64, tls_tprel_lo_32,
23093169689Skan	tls_tprel_lo_64, tls_got_tprel_32, tls_got_tprel_64, tls_tls_32,
23094169689Skan	tls_tls_64): New.
23095169689Skan	* config/rs6000/sysv4.h (SUBTARGET_OPTIONS): Add tls_size.
23096169689Skan
23097169689Skan2003-05-12  Neil Booth  <neil@cat.daikokuya.co.uk>
23098169689Skan
23099169689Skan	* Makefile.in (stage2_build, stage3_build, stage4_build):
23100169689Skan	Set BUILD_CC to the same as CC.
23101169689Skan
23102169689Skan2003-05-12  Neil Booth  <neil@daikokuya.co.uk>
23103169689Skan
23104169689Skan	* alloc-pool.c (last_id): Put in ENABLE_CHECKING guards.
23105169689Skan
23106169689Skan2003-05-12  Andreas Schwab  <schwab@suse.de>
23107169689Skan
23108169689Skan	* config/ia64/ia64.c (ia64_function_ok_for_sibcall): Mark 'exp'
23109169689Skan	as unused.
23110169689Skan	(bundling): Initialize 'pos'.
23111169689Skan	(ia64_expand_builtin): Initialize 'rmode'.
23112169689Skan
23113169689Skan2003-05-12  David Edelsohn  <edelsohn@gnu.org>
23114169689Skan
23115169689Skan	* config/rs6000/xcoff.h (ASM_OUTPUT_SKIP): Accept HOST_WIDE_INT.
23116169689Skan	(ASM_OUTPUT_ALIGNED_COMMON): Same.
23117169689Skan	(ASM_OUTPUT_LOCAL): Same.
23118169689Skan
23119169689SkanMon May 12 21:53:29 CEST 2003  Jan Hubicka  <jh@suse.cz>
23120169689Skan
23121169689Skan	* varasm.c (output_constant):  Fix underflow.
23122169689Skan
23123169689Skan2003-05-12  Mark Mitchell  <mark@codesourcery.com>
23124169689Skan
23125169689Skan	PR other/10745
23126169689Skan	* configure.in: Correct detection of GNU ld version number.
23127169689Skan	* configure: Regenerated.
23128169689Skan
23129169689Skan2003-05-12  Zack Weinberg  <zack@codesourcery.com>
23130169689Skan
23131169689Skan	* diagnostic.c (diagnostic_for_decl): Take a
23132169689Skan	diagnostic_context argument.  Restructure to be consistent
23133169689Skan	with diagnostic_report_diagnostic.
23134169689Skan	(diagnostic_count_diagnostic): Now static.  Take a
23135169689Skan	diagnostic_info argument, not just a diagnostic_t.  Some code
23136169689Skan	moved here from internal_error.  Move a case label for
23137169689Skan	clarity.
23138169689Skan	(diagnostic_action_after_output): New function.  Code moved
23139169689Skan	here from internal_error and fatal_error.
23140169689Skan	(bug_report_request): New #define so that this text appears in
23141169689Skan	only one place.
23142169689Skan	(diagnostic_report_diagnostic): Update to match changes to
23143169689Skan	diagnostic_count_diagnostic.  Call diagnostic_action_after_output.
23144169689Skan	(diagnostic_set_info): Call gettext here.
23145169689Skan
23146169689Skan	(pedwarn): Update comment.  Don't call gettext here.
23147169689Skan	(sorry): Use report_diagnostic.  Don't call gettext here.
23148169689Skan	(fatal_error): Remove final fnotice and exit, but call
23149169689Skan	real_abort to prevent warnings about noreturn function returning.
23150169689Skan	(internal_error): Likewise.  Don't do ICE suppression here nor
23151169689Skan	call context->internal_error.
23152169689Skan	(warning_with_decl): Suppress for decls in system headers.
23153169689Skan	Adjust call to diagnostic_for_decl.
23154169689Skan	(pedwarn_with_decl): Likewise.
23155169689Skan	(error_with_decl): Adjust call to diagnostic_for_decl.
23156169689Skan	(error_recursion): Use bug_report_request.
23157169689Skan
23158169689Skan	* diagnostic.h: Remove prototype of diagnostic_count_diagnostic.
23159169689Skan	* objc/objc-act.c (error_with_ivar, warn_with_method): Don't call
23160169689Skan	diagnostic_count_diagnostic.
23161169689Skan
23162169689Skan2003-05-12  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
23163169689Skan
23164169689Skan	* pa64-hpux.h (ASM_OUTPUT_ALIGNED_COMMON): Correct last patch.
23165169689Skan
23166169689SkanMon May 12 15:57:54 CEST 2003  Jan Hubicka  <jh@suse.cz>
23167169689Skan
23168169689Skan	* rs6000/darwin.h (ASM_OUTPUT_COMMON): Accept HOST_WIDE_INT
23169169689Skan	* mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Fix warning.
23170169689Skan	* mips/mips.h (ASM_OUTPUT_SKIP):  Fix typo in the previous patch.
23171169689Skan
23172169689Skan2003-05-12  Roger Sayle  <roger@eyesopen.com>
23173169689Skan
23174169689Skan	* doc/rtl.texi: Document zero_extract as a valid destination
23175169689Skan	of a set insn.
23176169689Skan
23177169689Skan2003-05-12  Richard Earnshaw  <rearnsha@arm.com>
23178169689Skan
23179169689Skan	* arm/lib1funcs.asm (LSYM): Define -- on ELF prefix a local symbol with
23180169689Skan	'.'.  Change all local symbol definitions and references to use LSYM.
23181169689Skan
23182169689SkanMon May 12 11:32:53 CEST 2003  Jan Hubicka  <jh@suse.cz>
23183169689Skan
23184169689Skan	* expr.h (assemble_static_space): Update prototype.
23185169689Skan	* output.h (assemble_zeros, output_constant): Likewise.
23186169689Skan	* elfos.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON): Make it 64bit clean
23187169689Skan	* alpha.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASK_OUTPUT_LOCAL): Make
23188169689Skan	it 64bit clean.
23189169689Skan	* elf.h (ASM_OTUPUT_SKIP): Likewise.
23190169689Skan	* unicosmk.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMM): Likewise.
23191169689Skan	* arm.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
23192169689Skan	Expect HOST_WIDE_INT operand.
23193169689Skan	* aout.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
23194169689Skan	Expect HOST_WIDE_INT operand.
23195169689Skan	* unknown-elf.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
23196169689Skan	Expect HOST_WIDE_INT operand.
23197169689Skan	* avr.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_SKIP): Expect
23198169689Skan	HOST_WIDE_INT operand.
23199169689Skan	* c4x.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP,
23200169689Skan	ASM_OUTPUT_BSS): Expect HOST_WIDE_INT operand.
23201169689Skan	* aout.h (ASM_OTUPUT_SKIP): Likewise.
23202169689Skan	* cris.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
23203169689Skan	* darwin.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_COMMON): Likewise.
23204169689Skan	* dsp16xx.h (ASM_OTUPUT_SKIP): Likewise.
23205169689Skan	* frv.h (ASM_OTUPUT_SKIP): Likewise.
23206169689Skan	* h8300.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_LOCAL): Likewise.
23207169689Skan	* 370.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL):
23208169689Skan	Make it 64bit
23209169689Skan	clean.
23210169689Skan	* att.h (ASM_OUTPUT_SKIP): Expect HOST_WIDE_INT operand.
23211169689Skan	* bsd.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL):
23212169689Skan	Make it 64bit clean.
23213169689Skan	* darwin.h (ASM_OUTPUT_SKIP): Make it 64bit clean..
23214169689Skan	* sco5.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Expect
23215169689Skan	HOST_WIDE_INT operand
23216169689Skan	* svr3gas.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL):
23217169689Skan	Expect HOST_WIDE_INT operand
23218169689Skan	* sysv3.h (ASM_OUTPUT_SKIP): Expect HOST_WIDE_INT operand
23219169689Skan	* i960.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON,
23220169689Skan	ASM_OUTPUT_ALIGNED_LOCAL): Expect HOST_WIDE_INT operand
23221169689Skan	* ip2k.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
23222169689Skan	Likewise.
23223169689Skan	* m32r.h (ASM_OUTPUT_COMMON): Likewise.
23224169689Skan	* 3b1.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
23225169689Skan	Likewise.
23226169689Skan	* amix.h (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
23227169689Skan	* crds.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
23228169689Skan	* hp320.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL,
23229169689Skan	ASM_OUTPUT_SKIP): Likewise.
23230169689Skan	* m68k.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
23231169689Skan	Likewise.
23232169689Skan	* m68kelf.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL,
23233169689Skan	ASM_OUTPUT_SKIP): Likewise.
23234169689Skan	* m68kv4.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL,
23235169689Skan	ASM_OUTPUT_SKIP): Likewise.
23236169689Skan	* mot3300.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP): Likewise.
23237169689Skan	* netbsd-elf.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON,
23238169689Skan	ASM_OUTPUT_SKIP): Likewise.
23239169689Skan	* sgs.h (ASM_OUTPUT_SKIP): Likewise.
23240169689Skan	* tower-as.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON,
23241169689Skan	ASM_OUTPUT_SKIP): Likewise.
23242169689Skan	* m88k.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON, ASM_OUTPUT_SKIP):
23243169689Skan	Likewise.
23244169689Skan	* mcore.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_BSS, ASM_OUTPUT_SKIP): Likewise.
23245169689Skan	* iris.h (ASM_OUTPUT_LOCAL): Likewise.
23246169689Skan	* mips.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP): Likewise.
23247169689Skan	* ns32k.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL,
23248169689Skan	ASM_OUTPUT_SKIP): Make it 64bit clean.
23249169689Skan	* pa-pro-end.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_ALIGNED_LOCAL):
23250169689Skan	Make it 64bit clean.
23251169689Skan	* pa.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_ALIGNED_LOCAL,
23252169689Skan	ASM_OUTPUT_SKIP): Make it 64bit clean.
23253169689Skan	* hpux.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_ALIGNED_LOCAL): Make it
23254169689Skan	64bit clean.
23255169689Skan	* romp.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON): Expect
23256169689Skan	HOST_WIDE_INT argument
23257169689Skan	* s390.h (ASM_OUTPUT_SKIP): Expect HOST_WIDE_INT argument.
23258169689Skan	* sh.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON): Expect
23259169689Skan	HOST_WIDE_INT argument
23260169689Skan	* sol2.h (ASM_OUTPUT_SKIP): HOST_WIDE_INT argument
23261169689Skan	* sparc.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON): HOST_WIDE_INT argument
23262169689Skan	* svr3.h (ASM_OUTPUT_SKIP): HOST_WIDE_INT argument
23263169689Skan	* vax.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL):
23264169689Skan	HOST_WIDE_INT argument
23265169689Skan	* vaxv.h (ASM_OUTPUT_LOCAL): HOST_WIDE_INT argument
23266169689Skan	* xtensa.h (ASM_OUTPUT_LOCAL): HOST_WIDE_INT argument
23267169689Skan	* varasm.c (asm_output_bss, asm_output_aligned_bss,
23268169689Skan	asm_emit_uninitialized, assemble_zeros, assemble_static_space):
23269169689Skan	HOST_WIDE_INT argument
23270169689Skan
23271169689Skan2003-05-10  Steven Bosscher  <steven@gcc.gnu.org>
23272169689Skan
23273169689Skan	* cgraphunit.c (cgraph_create_edges): Drop walk_tree in
23274169689Skan	favor of walk_tree_without_duplicates.  Add comments.
23275169689Skan
23276169689Skan2003-05-12  Josef Zlomek  <zlomekj@suse.cz>
23277169689Skan
23278169689Skan	* alloc-pool.h (ALLOC_POOL_ID_TYPE): New type.
23279169689Skan	(struct alloc_pool_def): New element 'id'.
23280169689Skan	* alloc-pool.c (fancy_abort): Extern function prototype.
23281169689Skan	(abort): Macro which uses fancy_abort.
23282169689Skan	(struct allocation_object_def): New structure.
23283169689Skan	(ALLOCATION_OBJECT_PTR_FROM_USER_PTR): New macro.
23284169689Skan	(USER_PTR_FROM_ALLOCATION_OBJECT_PTR): New macro.
23285169689Skan	(last_id): New variable.
23286169689Skan	(create_alloc_pool): Add the offset of u.data to size of element,
23287169689Skan	increase and use last_id.
23288169689Skan	(free_alloc_pool): Do the checking only when ENABLE_CHECKING.
23289169689Skan	(pool_alloc): Likewise. Set ID for elements.
23290169689Skan	(pool_free): Check whether the PTR was allocated from POOL.
23291169689Skan
23292169689Skan2003-05-11  Richard Henderson  <rth@redhat.com>
23293169689Skan
23294169689Skan	PR c/10675
23295169689Skan	* c-decl.c: Include hashtab.h.
23296169689Skan	(detect_field_duplicates): New.
23297169689Skan	(finish_struct): Use it.
23298169689Skan	* Makefile.in (c-decl.o): Update.
23299169689Skan	* c-parse.in (structsp_attr): Nreverse component_decl_list results.
23300169689Skan	(component_decl_list, component_decl_list2,
23301169689Skan	components, components_notype): Build list in reverse order.
23302169689Skan	(enumlist): Clarify docs.  Use TREE_CHAIN not chainon.
23303169689Skan
23304169689Skan	* tree.c (chainon): Special case op2 null as well.
23305169689Skan	Reorg for clarity.
23306169689Skan
23307169689Skan2003-05-11  Roger Sayle  <roger@eyesopen.com>
23308169689Skan
23309169689Skan	* config/i386/i386.md (logsf2, logdf2, logxf2, logdf2): New patterns
23310169689Skan	to implement log, logf and logl built-ins as inline x87 intrinsics.
23311169689Skan	(UNSPEC_FYL2X): New unspec to represent x87's "fyl2x" instruction.
23312169689Skan	(*fyl2x_sfxf3, *fyl2x_dfxf3, *fyl2x_xf3, *fyl2x_tfxf3): New insn
23313169689Skan	patterns for x87's "fyl2x" instruction, used by log?f2 patterns.
23314169689Skan
23315169689Skan	* reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FYL2X like
23316169689Skan	UNSPEC_FPATAN, i.e. replaces two stack operands with single result.
23317169689Skan
23318169689Skan2003-05-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23319169689Skan
23320169689Skan	* Makefile.in (out_object_file): Don't set -Wno-error for ${cpu}.o.
23321169689Skan
23322169689Skan	* sparc.c (print_operand): Fix uninitialized warning.
23323169689Skan
23324169689Skan2003-05-12  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
23325169689Skan
23326169689Skan	* cfgloopanal.c (num_loop_insns, average_num_loop_insns): Count only
23327169689Skan	real insns.
23328169689Skan	* loop-unroll.c (unroll_loop_runtime_iterations): Remove superfluous
23329169689Skan	condition.
23330169689Skan
23331169689Skan2003-05-11  Neil Booth  <neil@cat.daikokuya.co.uk>
23332169689Skan
23333169689Skan	* doc/cpp.texi: Fix typos.
23334169689Skan
23335169689Skan2003-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
23336169689Skan
23337169689Skan	* config/s390/s390.c (s390_function_arg_float): New function.
23338169689Skan	(s390_function_arg_pass_by_reference): Use it.
23339169689Skan	(s390_function_arg_advance): Likewise.
23340169689Skan	(s390_function_arg): Likewise.
23341169689Skan	(s390_va_arg): Likewise
23342169689Skan
23343169689Skan2003-05-11  Nathan Sidwell  <nathan@codesourcery.com>
23344169689Skan
23345169689Skan	* coverage.h (coverage_counter_alloc): New function.
23346169689Skan	* function.h (struct function): Remove arc_profile flag.
23347169689Skan	* coverage.c (fn_ident): Remove.
23348169689Skan	(fn_b_ctrs, no_coverage): New.
23349169689Skan	(get_coverage_counts): Use current_function_funcdef_no.
23350169689Skan	(coverage_counter_alloc): New.
23351169689Skan	(coverage_counter_ref): Adjust.
23352169689Skan	(coverage_begin_output): Check no_coverage. Use
23353169689Skan	current_function_funcdef_no.
23354169689Skan	(coverage_end_function): Likewise.
23355169689Skan	(create_coverage): Set no_coverage. Set DECL_UNINLINEABLE rather
23356169689Skan	than clearing flag_inline_functions. Do not clear arc_profile
23357169689Skan	flag.
23358169689Skan	* function.c (prepare_function_start): Do not set arc_profile
23359169689Skan	flag.
23360169689Skan	* profile.c (instrument_edges): Return number of instrumented
23361169689Skan	edges. Use a for loop.
23362169689Skan	(branch_prob): Call coverage_counter_alloc. Make BB_TO_GCOV_INDEX
23363169689Skan	local to here and simplify. Use profile_arc_flag not arc_profile
23364169689Skan	flag.
23365169689Skan	(find_spanning_tree): Reformat.
23366169689Skan	* toplev.c (rest_of_compilation): Use profile_arc_flags and
23367169689Skan	flag_test_coverage rather than arc_profile flag.
23368169689Skan
23369169689Skan2003-05-11  Gabriel Dos Reis <gdr@integrable-solutions.net>
23370169689Skan
23371169689Skan	* doc/invoke.texi (Wctor-dtor-privacy): Update documentation.
23372169689Skan
23373169689Skan2003-05-11  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
23374169689Skan
23375169689Skan	* varasm.c (copy_constant, case VIEW_CONVERT_EXPR): New case.
23376169689Skan
23377169689Skan2003-05-11  Bruno Haible  <bruno@clisp.org>
23378169689Skan
23379169689Skan	* cppfiles.c (find_or_create_entry): Preserve errno.
23380169689Skan
23381169689Skan2003-05-11  Neil Booth  <neil@cat.daikokuya.co.uk>
23382169689Skan
23383169689Skan	* c-cppbuiltin.c (c_cpp_builtins): Move __STDC_HOSTED__ into
23384169689Skan	cpplib as it's a Standard Predefined Macro.
23385169689Skan	* c-opts.c (finish_options): Pass flag_hosted to cpp_init_builtins.
23386169689Skan	* cppinit.c (_cpp_init_builtins): Take HOSTED.  Define
23387169689Skan	__STDC_HOSTED__ appropriately.
23388169689Skan	* cpplib.h (_cpp_init_builtins): Update.
23389169689Skan	* fix-header.c (read_scan_file): Update.
23390169689Skan	* doc/cpp.texi, doc/cppopts.texi: Update documentation.
23391169689Skan
23392169689Skan2003-05-11  Gabriel Dos Reis  <gdr@integrable-solutions.net>
23393169689Skan
23394169689Skan	PR C++/689
23395169689Skan	PR C++/9257
23396169689Skan	* c-opts.c (c_common_decode_option): Don't set
23397169689Skan	warn_ctor_dtor_privacy wen -Wall.
23398169689Skan	* c-common.c (warn_ctor_dtor_privacy): Don't turn on by default.
23399169689Skan
23400169689Skan2003-05-10  Alexandre Oliva  <aoliva@redhat.com>
23401169689Skan
23402169689Skan	* reload1.c (reload_cse_move2add): Revert part of my 2003-05-09's
23403169689Skan	patch.
23404169689Skan
23405169689Skan2003-05-10  Zack Weinberg  <zack@codesourcery.com>
23406169689Skan
23407169689Skan	* diagnostic.c: Reorder functions for clarity, putting all the
23408169689Skan	functions in the "error" family next to each other, and
23409169689Skan	likewise all the functions in the "error_with_decl" family.
23410169689Skan	Some other routines were moved too.  Add comments.
23411169689Skan	(vbuild_message_string): Fold into sole caller.
23412169689Skan
23413169689Skan
23414169689Skan2003-05-11  Ulrich Weigand  <uweigand@de.ibm.com>
23415169689Skan
23416169689Skan	* except.c (EH_RETURN_STACKADJ_RTX): Do not define.
23417169689Skan	(EH_RETURN_HANDLER_RTX): Likewise.
23418169689Skan	(expand_builtin_eh_return): Do not copy stack adjustment
23419169689Skan	if EH_RETURN_STACKADJ_RTX is not defined.
23420169689Skan	(expand_eh_return): Likewise.  Also, do not pass stack
23421169689Skan	adjustment as argument to the eh_return pattern.
23422169689Skan	* except.h (MUST_USE_SJLJ_EXCEPTIONS): Do not define just
23423169689Skan	because EH_RETURN_STACKADJ_RTX is not defined.
23424169689Skan	* unwind-dw.c (uw_update_context_1): If EH_RETURN_STACKADJ_RTX
23425169689Skan	is not defined, treat stack pointer like a regular register.
23426169689Skan	(uw_init_context_1): Set up fake initial stack pointer register.
23427169689Skan	(uw_install_context_1): Do not compute stack adjustment if
23428169689Skan	EH_RETURN_STACKADJ_RTX is not defined.
23429169689Skan
23430169689Skan	* config/i386/i386.md ("eh_return"): Remove first argument.
23431169689Skan	* config/mips/mips.md ("eh_return"): Likewise.
23432169689Skan	* config/rs6000/rs6000.md ("eh_return"): Likewise.
23433169689Skan	* config/sh/sh.md ("eh_return"): Likewise.
23434169689Skan
23435169689Skan	* config/s390/s390.h (EH_RETURN_STACKADJ_RTX): Remove.
23436169689Skan
23437169689Skan2003-05-10  Alexander Aganichev  <aaganichev@yandex.ru>
23438169689Skan
23439169689Skan	* config/i386/i386.h (MODES_TIEABLE_P): Fix typo.
23440169689Skan
23441169689Skan2003-05-10  Nathan Sidwell  <nathan@codesourcery.com>
23442169689Skan
23443169689Skan	* defaults.h (GCOV_TYPE_SIZE): Remove.
23444169689Skan	* gcov-io.h (gcov_type): Set to specific mode int on target.
23445169689Skan	(gcov_unsigned_t, gcov_position_t): New.
23446169689Skan	(GCOV_TYPE_NODE): New.
23447169689Skan	(GCOV_TAG_SUMMARY_LENGTH): Adjust.
23448169689Skan	(GCOV_COUNTERS_SUMMABLE): New.
23449169689Skan	(gcov_ctr_summary, gcov_sumary, gcov_fn_info, gcov_merge_fn,
23450169689Skan	gcov_ctr_info, gcov_info): Adjust types.
23451169689Skan	(gcov_var): Adjust types.
23452169689Skan	(gcov_write_unsigned, gcov_write_tag,
23453169689Skan	gcov_write_length, gcov_write_tag_length, gcov_write_summary,
23454169689Skan	gcov_read_unsigned, gcov_read_summary): Adjust gcov types.
23455169689Skan	(gcov_position, gcov_sync, gcov_seek): Adjust gcov types.
23456169689Skan	* gcov-io.c (gcov_write_unsigned, gcov_write_tag,
23457169689Skan	gcov_write_length, gcov_write_tag_length, gcov_write_summary,
23458169689Skan	gcov_read_unsigned, gcov_read_summary): Adjust gcov types.
23459169689Skan	* libgcov.c (gcov_crc32, gcov_version_mismatch, gcov_exit,
23460169689Skan	__gcov_init, __gcov_merge_add): Adjust gcov types.
23461169689Skan	* coverage.c (ctr_merge_functions): Constify.
23462169689Skan	(ctr_names): New.
23463169689Skan	(read_counts_file): Adjust gcov types. Only summarize & merge
23464169689Skan	summable counters.
23465169689Skan	(coverage_counter_ref): Use GCOV_TYPE_NODE.
23466169689Skan	(build_fn_info_type, build_fn_info_value, build_ctr_info_type,
23467169689Skan	build_ctr_info_value, build_gcov_info): Adjust types.
23468169689Skan	* profile.c (branch_prob): Adjust gcov types.
23469169689Skan	* gcov_dump (dump_file): Adjust gcov types.
23470169689Skan
23471169689Skan2003-05-10  Richard Earnshaw  <rearnsha@arm.com>
23472169689Skan
23473169689Skan	* arm.md (DOM_CC_X_AND_Y, DOM_CC_NX_OR_Y, DOM_CC_X_OR_Y): New
23474169689Skan	constants.
23475169689Skan	(ior_scc_scc, and_scc_scc): New insn_and_split patterns.
23476169689Skan	* arm.c (arm_select_dominance_cc_mode): Renamed from
23477169689Skan	select_dominance_cc_mode, no-longer static.  Use DOM_CC... constants.
23478169689Skan	Callers updated.
23479169689Skan	* arm-protos.h (arm_select_dominance_cc_mode): Add prototype.
23480169689Skan
23481169689Skan2003-05-09  Roger Sayle  <roger@eyesopen.com>
23482169689Skan
23483169689Skan	* config/alpha/alpha.c (alpha_start_function): Declare frame_size
23484169689Skan	as unsigned to avoid signed/unsigned comparison warnings.
23485169689Skan
23486169689Skan2003-05-09  Bob Wilson  <bob.wilson@acm.org>
23487169689Skan
23488169689Skan	* config/xtensa/xtensa.c (xtensa_emit_loop_end): Only use "nop.n"
23489169689Skan	instruction if the Xtensa density option is enabled.
23490169689Skan
23491169689Skan2003-05-09  Matt Kraai <kraai@alumni.cmu.edu>
23492169689Skan
23493169689Skan       * mklibgcc.in: Remove extra quotes.
23494169689Skan
23495169689Skan2003-05-09  Mark Mitchell  <mark@codesourcery.com>
23496169689Skan
23497169689Skan	* config/rs6000/rs6000.c (spe_init_builtins): Fix typo in creation
23498169689Skan	of int_ftype_void.
23499169689Skan
23500169689Skan2003-05-09  Alexandre Oliva  <aoliva@redhat.com>
23501169689Skan
23502169689Skan	* reload1.c (reload_cse_move2add): Don't turn an implicit
23503169689Skan	truncation into a self-set in the narrow mode.
23504169689Skan
23505169689Skan2003-05-09  Richard Earnshaw  <rearnsha@arm.com>
23506169689Skan
23507169689Skan	* arm.md (clzsi2): The CLZ instruction is predicable.
23508169689Skan
23509169689Skan2003-05-09  Bob Wilson  <bob.wilson@acm.org>
23510169689Skan
23511169689Skan	* config/xtensa/xtensa.c: Formatting.
23512169689Skan
23513169689Skan2003-05-09  Diego Novillo  <dnovillo@redhat.com>
23514169689Skan
23515169689Skan	* tree-dump.c (dequeue_and_dump): Use CONSTRUCTOR_ELTS,
23516169689Skan	instead of TREE_OPERAND to access the operand of a
23517169689Skan	CONSTRUCTOR node.
23518169689Skan
23519169689Skan2003-05-09  Diego Novillo  <dnovillo@redhat.com>
23520169689Skan
23521169689Skan	* tree-dump.c (dequeue_and_dump): CONSTRUCTOR nodes contain only
23522169689Skan	one operand.
23523169689Skan
23524169689Skan2003-05-09  Gabriel Dos Reis <gdr@integrable-solutions.net>
23525169689Skan
23526169689Skan	* toplev.h (warning_with_file_and_line): Don't declare.
23527169689Skan	(error_with_file_and_line): Likewise.
23528169689Skan	* diagnostic.c (error_with_file_and_line): Remove.
23529169689Skan	(warning_with_file_and_line): Likewise.
23530169689Skan
23531169689Skan2003-05-09  Gabriel Dos Reis <gdr@integrable-solutions.net>
23532169689Skan
23533169689Skan	* c-parse.in (if_stmt_locus): New object.
23534169689Skan	(if_prefix rule): Use it.  Don't use warning_with_file_and_line.
23535169689Skan	(select_or_iter_stmt rule): Likewise.
23536169689Skan	(if_stmt_file): Remove.
23537169689Skan	(if_stmt_line): Likewise.
23538169689Skan	* jump.c: include "diagnostic.h"
23539169689Skan	(never_reached_warning): Don't use warning_with_file_and_line.
23540169689Skan	* Makefile.in (jump.o): Add dependce on diagnostic.h
23541169689Skan
23542169689Skan2003-05-09  Alan Modra  <amodra@bigpond.net.au>
23543169689Skan
23544169689Skan	* expr.c (move_block_from_reg): Remove "size" parm.  Localize vars.
23545169689Skan	Move code handling pieces not larger than a word to..
23546169689Skan	* function.c (assign_parms): ..here, but use change_address instead
23547169689Skan	of adjust_address and operand_subword, and expand_binop instead of
23548169689Skan	expand_shift.  Adjust calls to move_block_from_reg.
23549169689Skan	* expr.h (move_block_from_reg): Update declaration.
23550169689Skan	(copy_blkmode_from_reg): Formatting.
23551169689Skan	* Makefile.in (function.o): Add $(OPTABS_H) to deps.
23552169689Skan	* config/alpha/alpha.c (alpha_setup_incoming_varargs): Adjust
23553169689Skan	move_block_from_reg calls.
23554169689Skan	* config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
23555169689Skan	* config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
23556169689Skan	* config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
23557169689Skan	* config/m88k/m88k.c (m88k_builtin_saveregsk): Likewise.
23558169689Skan	* config/mips/mips.c (mips_setup_incoming_varargs): Likewise.
23559169689Skan	* config/pa/pa.c (hppa_builtin_saveregs): Likewise.
23560169689Skan	* config/romp/romp.h (SETUP_INCOMING_VARARGS): Likewise.
23561169689Skan	* config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
23562169689Skan	* config/sh/sh.c (sh_builtin_saveregs): Likewise.
23563169689Skan
23564169689Skan2003-05-08  DJ Delorie  <dj@redhat.com>
23565169689Skan
23566169689Skan	* config/stormy16/stormy16.c (xstormy16_expand_builtin_va_arg): Fix
23567169689Skan	to handle arguments for which MUST_PASS_IN_STACK is true (e.g.,
23568169689Skan	variable-sized types).
23569169689Skan	(xstormy16_function_arg): New.  Pass them that way too.
23570169689Skan	* config/stormy16/stormy16-protos.h (xstormy16_function_arg): New.
23571169689Skan	* config/stormy16/stormy16.h (FUNCTION_ARG): Call it.
23572169689Skan
23573169689Skan2003-05-08  Aldy Hernandez  <aldyh@redhat.com>
23574169689Skan
23575169689Skan	* mklibgcc.in: Use mkinstalldirs when installing multilib
23576169689Skan	directories.
23577169689Skan
23578169689Skan2003-05-08  J"orn Rennecke <joern.rennecke@superh.com>
23579169689Skan
23580169689Skan	* sh.c (gen_block_redirect, split_branches): Use CODE_FOR_jump_compact
23581169689Skan	instead of CODE_FOR_jump
23582169689Skan
23583169689Skan2003-05-08  Gabriel Dos Reis <gdr@integrable-solutions.net>
23584169689Skan
23585169689Skan	* objc/objc-act.c (error_with_ivar): Don't use
23586169689Skan	error_with_file_and_line.
23587169689Skan	(warn_with_method): Don't use warning_with_file_and_line.
23588169689Skan
23589169689Skan2003-05-08  Gabriel Dos Reis  <gdr@integrable-solutions.net>
23590169689Skan
23591169689Skan	* stmt.c (emit_locus): New macro.
23592169689Skan	(emit_filename): Remove.
23593169689Skan	(emit_lineno): Likewise.
23594169689Skan	(struct stmt_status): Replace members x_emit_filename and
23595169689Skan	x_emit_lineno with x_emit_locus.
23596169689Skan	(set_file_and_line_for_stmt): Adjust.
23597169689Skan	(expand_expr_stmt_value): Don't use warning_with_file_and_line.
23598169689Skan	(warn_if_unused_value): Likewise.
23599169689Skan	(check_seenlabel): Likewise.
23600169689Skan
23601169689Skan2003-05-08  Gabriel Dos Reis  <gdr@integrable-solutions.net>
23602169689Skan
23603169689Skan	* c-decl.c (define_label): Tidy.  Don't use any of
23604169689Skan	error_with_file_and_line or warning_with_file_and_file.
23605169689Skan	(pending_xref_error): Likewise.
23606169689Skan	(store_parm_decls): Likewise.
23607169689Skan	(current_function_prototype_locus): New object.  Package from
23608169689Skan	current_function_prototype_file and current_function_prototype_line.
23609169689Skan	(start_function): Use it.
23610169689Skan	(current_function_prototype_file): Remove.
23611169689Skan	(current_function_prototype_line): Remove;
23612169689Skan
23613169689Skan2003-05-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23614169689Skan
23615169689Skan	* builtins.c (readonly_data_expr): New function.
23616169689Skan	(expand_builtin_memmove): Optimize any rodata source, not just
23617169689Skan	strings.
23618169689Skan
23619169689Skan2003-05-07  David Mosberger <davidm@hpl.hp.com>
23620169689Skan
23621169689Skan	* unwind-libunwind.c (_Unwind_FindEnclosingFunction): New.
23622169689Skan
23623169689Skan2003-05-07  Richard Henderson  <rth@redhat.com>
23624169689Skan
23625169689Skan	* config/i386/i386.c (ix86_split_long_move): Fix base register
23626169689Skan	mode for XFmode splits for TARGET_64BIT.
23627169689Skan
23628169689Skan2003-05-07  Richard Henderson  <rth@redhat.com>
23629169689Skan
23630169689Skan	* sched-ebb.c (schedule_ebb): Supply the correct starting
23631169689Skan	block number to save_line_notes.
23632169689Skan
23633169689Skan2003-05-07  Richard Henderson  <rth@redhat.com>
23634169689Skan
23635169689Skan	* toplev.c (enum dump_file_index): Swap DFI_ce3, DFI_bbro.
23636169689Skan	(dump_file): Likewise.
23637169689Skan
23638169689Skan2003-05-07  David Mosberger <davidm@hpl.hp.com>
23639169689Skan
23640169689Skan	* config/ia64/crtbegin.asm (__do_jv_register_classes): Don't
23641169689Skan	forget to preserve gp.
23642169689Skan	* config/ia64/crtend.asm (__do_global_ctors_au): Ditto.
23643169689Skan
23644169689Skan	* config/ia64/crtbegin.asm (__do_jv_register_classes): Add missing
23645169689Skan	.prologue directive.
23646169689Skan	Use .skip instead of data8 for .bss section to make Intel
23647169689Skan	Assembler (ias) happy.  Minor whitespace fixups.  Make "nop 0"
23648169689Skan	explicit in the .mib bundles and remove the unnecessary stop
23649169689Skan	bits.  Replace local labels with normal labels, to make ias
23650169689Skan	happy.  Don't register __do_global_ctors_aux here, do it in
23651169689Skan	crtend.asm instead.
23652169689Skan
23653169689Skan	* config/ia64/crtend.asm [HAVE_INIT_FINI_ARRAY]: Register
23654169689Skan	__do_global_ctors_aux in .init_array section instead of
23655169689Skan	declaring it as a hidden global.  Replace local labels with
23656169689Skan	ordinary labels to make ias happy.
23657169689Skan
23658169689Skan2003-05-07  Richard Henderson  <rth@redhat.com>
23659169689Skan
23660169689Skan	PR c++/10570
23661169689Skan	* except.c: Revert 04-01 and 04-02 forced-unwind changes.
23662169689Skan	* flags.h, toplev.c, doc/invoke.texi: Likewise.
23663169689Skan
23664169689Skan	* unwind-dw2.c (_Unwind_GetCFA): Fix ptr->int conversion warning.
23665169689Skan	* unwind.inc (_Unwind_DeleteException): Check for null
23666169689Skan	exception_cleanup.
23667169689Skan
23668169689Skan	* unwind-sjlj.c (_Unwind_SjLj_Resume_or_Rethrow): New.
23669169689Skan	* unwind.inc (_Unwind_Resume_or_Rethrow): New.
23670169689Skan	* unwind.h: Declare them.
23671169689Skan	* libgcc-std.ver (GCC_3.3): Export them.
23672169689Skan
23673169689Skan2003-05-07  Richard Henderson  <rth@redhat.com>
23674169689Skan
23675169689Skan	* unwind-dw2.c (_Unwind_GetCFA): Cast pointer to _Unwind_Ptr,
23676169689Skan	not _Unwind_Word.
23677169689Skan
23678169689Skan2003-05-07  Zack Weinberg  <zack@codesourcery.com>
23679169689Skan
23680169689Skan	* stmt.c (force_label_rtx): New function, based on logic
23681169689Skan	formerly found in expand_expr.
23682169689Skan	* expr.h: Prototype it.
23683169689Skan	* expr.c (expand_expr <LABEL_DECL>): Use force_label_rtx if
23684169689Skan	appropriate.
23685169689Skan	* varasm.c (decode_addr_const <LABEL_DECL>): Use force_label_rtx.
23686169689Skan
23687169689Skan	* print-tree.c (debug_tree): Free the table after we're done
23688169689Skan	with it.  Use putc.
23689169689Skan
23690169689Skan2003-05-07  Aldy Hernandez  <aldyh@redhat.com>
23691169689Skan
23692169689Skan	* config/rs6000/spe.h: Reverse arguments for __ev_subfw.
23693169689Skan	Unreverse arguments for __ev_subw.
23694169689Skan
23695169689Skan	* config/rs6000/spe.md (evsubfw): Reverse arguments of assembly.
23696169689Skan
23697169689Skan2003-05-07  Nick Clifton  <nickc@redhat.com>
23698169689Skan
23699169689Skan	* config/stormy16/stormy-abi: Update to include
23700169689Skan	R_XSTORMY16_FPTR16, R_XSTORMY16_LO16, R_XSTORMY16_HI16 and
23701169689Skan	R_XSTORMY16_12 relocs.
23702169689Skan
23703169689Skan2003-05-07  Alan Modra  <amodra@bigpond.net.au>
23704169689Skan
23705169689Skan	* function.c (assign_parms): Correct reversed reg_parm_stack_space
23706169689Skan	test.  Add partial in-regs size to stack_args_size.
23707169689Skan
23708169689Skan2003-05-07  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
23709169689Skan
23710169689Skan	* doc/invoke.texi (Warning Options): Mark -Wmissing-declarations
23711169689Skan	as a C only option.
23712169689Skan
23713169689Skan2003-05-07  Nathan Sidwell  <nathan@codesourcery.com>
23714169689Skan
23715169689Skan	* gcov-io.h (GCOV_LOCKED): New #define.
23716169689Skan	(GCOV_LINKAGE): Make sure it is #defined.
23717169689Skan	(gcov_write_string, gcov_write_tag, gcov_write_length,
23718169689Skan	gcov_read_string, gcov_time): Poison in libgcov.
23719169689Skan	(gcov_seek_end): Remove.
23720169689Skan	(gcov_write_tag_length, gcov_sync, gcov_rewrite): New.
23721169689Skan	(GCOV_TAG_FUNCTION_LENGTH, GCOV_TAG_BLOCKS_LENGTH,
23722169689Skan	GCOV_TAG_ARCS_LENGTH, GCOV_TAG_COUNTER_LENGTH,
23723169689Skan	GCOV_TAG_SUMMARY_LENGTH): New #defines.
23724169689Skan	(gcov_write_tag, gcov_write_length): Not in libgcov.
23725169689Skan	* gcov-io.c (gcov_open): Use GCOV_LOCKED.
23726169689Skan	(gcov_write_tag, gcov_write_length): Not in libgcov.
23727169689Skan	(gcov_write_tag_length): New.
23728169689Skan	(gcov_write_summary): Use gcov_write_tag_length.
23729169689Skan	* libgcov.c: Always #include gcov-io.h.
23730169689Skan	(IN_LIBGCOV): -1 for inhibit_libc, +1 otherwise.
23731169689Skan	(GCOV_LINKAGE): Define to nothing for L_gcov.
23732169689Skan	(gcov_exit): Replace gcov_write_tag, gcov_write_length with
23733169689Skan	gcov_write_tag_length. Use gcov_rewrite & gcov_seek.
23734169689Skan	* gcov.c (read_graph_file): Replace gcov_seek by gcov_sync.
23735169689Skan	(read_count_file): Likewise.
23736169689Skan	* gcov-dump.c (dump_file): Likewise.
23737169689Skan	* coverag.c (read_counts_file): Likewise.
23738169689Skan
23739169689Skan2003-05-06  Mark Mitchell  <mark@codesourcery.com>
23740169689Skan
23741169689Skan	PR other/10658
23742169689Skan	* gcc.c (process_command): Update copyright date.
23743169689Skan
23744169689Skan2003-05-06  Phil Edwards  <pme@gcc.gnu.org>
23745169689Skan
23746169689Skan	* doc/install.texi (mips-*-*):  Add note about libstdc++.
23747169689Skan
23748169689Skan2003-05-06  DJ Delorie  <dj@redhat.com>
23749169689Skan
23750169689Skan	* config/stormy16/stormy16.c (xstormy16_function_profiler): New.
23751169689Skan	* config/stormy16/stormy16.h (FUNCTION_PROFILER): Call it.
23752169689Skan	* config/stormy16/stormy16-protos.h (xstormy16_function_profiler): New.
23753169689Skan
23754169689Skan2003-05-06    <neil@cat.daikokuya.co.uk>
23755169689Skan
23756169689Skan	* c-opts.c (COMMAND_LINE_OPTIONS): Reject -Wmissing-prototypes
23757169689Skan	and -Wstrict-prototypes if C++.
23758169689Skan
23759169689Skan2003-05-06  Aldy Hernandez  <aldyh@redhat.com>
23760169689Skan
23761169689Skan	* config/rs6000/linuxspe.h: New file.
23762169689Skan
23763169689Skan	* config.gcc: Add powerpc-*-linux-gnuspe* target.
23764169689Skan
23765169689Skan2003-05-06  Richard Henderson  <rth@redhat.com>
23766169689Skan
23767169689Skan	* unwind-dw2.c (uw_update_context_1): Only set cfa as sp if
23768169689Skan	previous frame didn't save sp.  Clear sp for next frame.
23769169689Skan	(uw_install_context_1): Honor saved sp from frame.
23770169689Skan
23771169689Skan2003-05-06  Richard Sandiford  <rsandifo@redhat.com>
23772169689Skan
23773169689Skan	* config/mips/mips-protos.h (mips_subword, mips_output_move): Declare.
23774169689Skan	(mips_move_1word, mips_move_2words): Remove declaration.
23775169689Skan	(mips_split_64bit_move_p, mips_split_64bit_move): Declare.
23776169689Skan	(mips_restore_gp): Remove insn argument.
23777169689Skan	* config/mips/mips.h (FP_REG_RTX_P): New macro.
23778169689Skan	* config/mips/mips.c (volatile_buffer): Remove.
23779169689Skan	(mips_subword, mips_split_64bit_move_p, mips_split_64bit_move): New.
23780169689Skan	(mips_move_1word, mips_move_2words): Remove, replacing with...
23781169689Skan	(mips_output_move): ...this new function.
23782169689Skan	(mips_restore_gp): Remove insn argument.  Adjust for above changes.
23783169689Skan	(print_operand): Make '%h' print %hi(op) for HIGH operands.  Remove
23784169689Skan	handling of floating-point constants.  Handle zero CONST_DOUBLE
23785169689Skan	arguments.
23786169689Skan	(mips_annotate_frame_insn): Replace with...
23787169689Skan	(mips_set_frame_expr): ...this, which just takes one argument.
23788169689Skan	(mips_frame_set): Change the register argument to an rtx.
23789169689Skan	(mips_emit_frame_related_store): Use mips_split_64bit_move_p to
23790169689Skan	check whether moves should be split.  Use mips_split_64bit_move
23791169689Skan	to split them.  Use mips_subword to generate the high and low
23792169689Skan	parts of a paired FPR.  Adjust calls to frame_set and
23793169689Skan	mips_set_frame_expr.
23794169689Skan	(mips_expand_prologue): Simplify due to above changes.
23795169689Skan	* config/mips/mips.md:	Add splitters for 64-bit moves on 32-bit
23796169689Skan	targets, replacing xisting register-only versions.
23797169689Skan	(UNSPEC_STORE_DF_HIGH): New unspec.
23798169689Skan	(UNSPEC_LOAD_DF_LOW, UNSPEC_LOAD_DF_HIGH): New unspecs.
23799169689Skan	(mulsi3_r4000, muldi3_internal2): Avoid use of mips_move_1word.
23800169689Skan	(*paradoxical_extendhidi2): Remove.
23801169689Skan	(movdi_internal, movdi_internal2): Use mips_output_move.
23802169689Skan	(*movdi_internal2_mips16, movsi_internal, movcc): Likewise.
23803169689Skan	(movsf_internal1, movsf_internal2): Likewise.
23804169689Skan	(movdf_internal1a): Likewise.  Fix length and type of f <- G case.
23805169689Skan	(movdf_internal1b): Use mips_output_move.  Fix type of f <- G case.
23806169689Skan	(movdf_internal2): Use mips_output_move.  Fix lengths of FPR moves.
23807169689Skan	Add m <- G alternative.
23808169689Skan	(load_df_low, load_df_high, store_df_low): New patterns.
23809169689Skan	(movhi_internal): Use @ template instead of calling a function.
23810169689Skan	Remove unnecessary 'z' alternatives.
23811169689Skan	(movqi_internal): Likewise.
23812169689Skan	(exception_receiver): Update call to mips_restore_gp.
23813169689Skan
23814169689Skan2003-05-06  Richard Sandiford  <rsandifo@redhat.com>
23815169689Skan
23816169689Skan	* config/mips/mips-protos.h (mips_simplify_dwarf_addr): Remove.
23817169689Skan	(mips_delegitimize_address): Declare.
23818169689Skan	* config/mips/mips.h (ASM_SIMPLIFY_DWARF_ADDR): Undefine.
23819169689Skan	(FIND_BASE_TERM): Define.
23820169689Skan	* config/mips/mips.c (TARGET_DELEGITIMIZE_ADDRESS): Defi~e.
23821169689Skan	(mips_delegitimize_address): Renamed from mips_simplify_dwarf_addr.
23822169689Skan	Handle small-data addresses.
23823169689Skan
23824169689Skan2003-05-05  Roger Sayle  <roger@eyesopen.com>
23825169689Skan
23826169689Skan	* real.c (real_powi): New function to calculate the value of
23827169689Skan	a real raised to an integer power, i.e. pow(x,n) for int n.
23828169689Skan	(real_sqrt): Convert to using the faster do_add, do_multiply
23829169689Skan	and do_divide API for consistency with the rest of real.c.
23830169689Skan	* real.h (real_powi): Prototype here.
23831169689Skan	* builtins.c (fold_builtin):  Avoid local variable mode when
23832169689Skan	evaluating sqrt at compile time.  Attempt to evaluate pow at
23833169689Skan	compile-time, by checking for an integral exponent.
23834169689Skan
23835169689Skan2003-05-05  Richard Henderson  <rth@redhat.com>
23836169689Skan
23837169689Skan	* doc/extend.texi (Variable Attributes): Re-sort table and tidy.
23838169689Skan
23839169689Skan2003-05-05  David O'Brien  <obrien@FreeBSD.org>
23840169689Skan
23841169689Skan	* config/rs6000/sysv4.h (CPP_OS_FREEBSD_SPEC): Add __ELF__ to mirror
23842169689Skan	other FreeBSD ports.
23843169689Skan	(LINK_OS_FREEBSD_SPEC): Mirror conventions on other FreeBSD ports.
23844169689Skan	(_LITTLE_ENDIAN): Use __LITTLE_ENDIAN__ instead.
23845169689Skan
23846169689Skan2003-05-05  Janis Johnson  <janis187@us.ibm.com>
23847169689Skan
23848169689Skan	* Makefile.in: (site.exp): Add ALT_CC_UNDER_TEST, add quotes around
23849169689Skan	expanded variables.
23850169689Skan	* doc/sourcebuild.texi (C tests): Describe gcc.dg/compat tests.
23851169689Skan
23852169689Skan2003-05-05  Zack Weinberg  <zack@codesourcery.com>
23853169689Skan
23854169689Skan	* rtl.h (STRING_POOL_ADDRESS_P): Rename to DEFERRED_CONSTANT_P.
23855169689Skan	* varasm.c (struct varasm_status): Add deferred_constants field.
23856169689Skan	(n_deferred_strings): Delete variable.
23857169689Skan	(n_deferred_constants): New #define.
23858169689Skan	(struct constant_descriptor_tree): Kill next and label fields.
23859169689Skan	(const_hash_table, MAX_HASH_TABLE): Delete.
23860169689Skan	(const_desc_htab): New static variable.
23861169689Skan	(const_hash): Rename const_desc_hash, and make it fit the
23862169689Skan	hashtab.h interface.
23863169689Skan	(const_desc_eq): New.
23864169689Skan	(const_hash_1, compare_constant): Const-ify arguments.
23865169689Skan	(build_constant_desc): Set DEFERRED_CONSTANT_P on all new
23866169689Skan	SYMBOL_REFs.  Clarify comments.  Don't set desc->label.
23867169689Skan	(output_constant_def): Do the lookup/insert using the
23868169689Skan	hashtab.h interface.  Don't muck with n_deferred_constants or
23869169689Skan	DEFERRED_CONSTANT_P here.
23870169689Skan	Always call maybe_output_constant_def_contents.
23871169689Skan	(maybe_output_constant_def_contents): Take a pointer to the
23872169689Skan	descriptor, not the EXP and RTL separately.  Return
23873169689Skan	immediately if this constant is not deferred.  Defer output of
23874169689Skan	everything, except writable string constants.  Update
23875169689Skan	n_deferred_constants here.
23876169689Skan	(output_constant_def_contents): Now takes just one argument,
23877169689Skan	an rtx.  Clear DEFERRED_CONSTANT_P here.
23878169689Skan	(mark_constant_pool): Update for rename of n_deferred_strings.
23879169689Skan	(mark_constant): Don't clear DEFERRED_CONSTANT_P here.
23880169689Skan
23881169689Skan	(init_varasm_status): Clear p->deferred_constants.
23882169689Skan	(init_varasm_once): Call htab_create_ggc for const_desc_htab.
23883169689Skan
23884169689Skan2003-05-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23885169689Skan
23886169689Skan	* builtins.c (expand_builtin_stpcpy): Only expand when the length
23887169689Skan	of the source string can be evaluated at compile-time.
23888169689Skan
23889169689Skan2003-05-05  Aldy Hernandez  <aldyh@redhat.com>
23890169689Skan
23891169689Skan	* testsuite/gcc.c-torture/compile/simd-6.c: New.
23892169689Skan
23893169689Skan	* c-typeck.c (digest_init): Handle arrays of vector constants.
23894169689Skan
23895169689Skan2003-05-05  Jakub Jelinek  <jakub@redhat.com>
23896169689Skan
23897169689Skan	* builtins.c (expand_builtin_mempcpy): New function.
23898169689Skan	(expand_builtin_stpcpy): Optimize stpcpy whose return value is
23899169689Skan	ignored into strcpy no matter what arguments it has.
23900169689Skan	(expand_builtin) <case BUILT_IN_MEMPCPY>: Call
23901169689Skan	expand_builtin_mempcpy.
23902169689Skan
23903169689Skan2003-05-05  Aldy Hernandez  <aldyh@redhat.com>
23904169689Skan
23905169689Skan	* testsuite/gcc.dg/20030505.c: New.
23906169689Skan
23907169689Skan	* c-typeck.c (convert_for_assignment): Opaque pointers can
23908169689Skan	interconvert.
23909169689Skan
23910169689Skan	* config/rs6000/rs6000.c: New global opaque_p_V2SI_type_node.
23911169689Skan	(rs6000_init_builtins): Initialize opaque_p_V2SI_type_node.
23912169689Skan	(spe_init_builtins): Rename all pv2si_type_node to
23913169689Skan	opaque_p_V2SI_type_node.
23914169689Skan	Remove declaration of pv2si_type_node.
23915169689Skan	(is_ev64_opaque_type): Accept opaque pointers.
23916169689Skan
23917169689Skan2003-05-05  Geoffrey Keating  <geoffk@apple.com>
23918169689Skan
23919169689Skan	* config/rs6000/rs6000.c (validate_condition_mode): Use
23920169689Skan	flag_finite_math_only.
23921169689Skan	(rs6000_reverse_condition): Never return UNKNOWN; use
23922169689Skan	flag_finite_math_only.
23923169689Skan	(rs6000_generate_compare): Use flag_finite_math_only.
23924169689Skan	(rs6000_emit_cmove): Handle UNLE.  Support UNEQ under -ffast-math.
23925169689Skan	Use HONOR_* rather than flag_unsafe_math_optimizations.  Correct
23926169689Skan	UNGE and GT cases.  Handle UNEQ and LTGT when ! HONOR_NANS.
23927169689Skan
23928169689Skan	* toplev.c (check_global_declarations): Suppress not-used warning
23929169689Skan	for volatile variables.
23930169689Skan
23931169689Skan2003-05-05  Olivier Hainque  <hainque@act-europe.fr>
23932169689Skan
23933169689Skan	* expr.c (expand_expr, case BIT_FIELD_REF): Refine the test forcing
23934169689Skan	usage of bitfield instructions for mode1 != BLKmode, only ignoring
23935169689Skan	SLOW_UNALIGNED_ACCESS if the field is not byte aligned.
23936169689Skan	(store_field): Likewise.
23937169689Skan
23938169689Skan2003-05-05  Aldy Hernandez  <aldyh@redhat.com>
23939169689Skan
23940169689Skan	* config/rs6000/rs6000.c (rs6000_expand_binop_builtin): Add
23941169689Skan	evsubifw to builtins accepting 5-bit unsigned constants.
23942169689Skan	(easy_vector_constant): Return if V1DImode.  Fix typo.
23943169689Skan
23944169689Skan2003-05-05  Aldy Hernandez  <aldyh@redhat.com>
23945169689Skan
23946169689Skan	* config/rs6000/spe.h: Revert licensing change from last patch.
23947169689Skan
23948169689Skan2003-05-05  DJ Delorie  <dj@redhat.com>
23949169689Skan
23950169689Skan	* config/stormy16/stormy16.md (negsi2): Allocate the pseudos
23951169689Skan	before reload, but defer the split until after.
23952169689Skan	* config/stormy16/stormy16.c (xstormy16_expand_arith): Modify
23953169689Skan	to match.
23954169689Skan
23955169689Skan2003-05-05  David Edelsohn  <edelsohn@gnu.org>
23956169689Skan
23957169689Skan	* config/rs6000/rs6000.h (ASM_CPU_SPEC): Add 440 support.
23958169689Skan	* config/rs6000/vxworks.h (CC1_SPEC): Use -mcpu=440 for t440.
23959169689Skan
23960169689Skan2003-05-05  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
23961169689Skan
23962169689Skan	* libgcov.c (__gcov_merge_add): Do not use gcov_type when inhibit_libc
23963169689Skan	is defined.
23964169689Skan
23965169689Skan2003-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
23966169689Skan
23967169689Skan	* builtin-attrs.def (ATTR_NOTHROW_NONNULL_1,
23968169689Skan	ATTR_NOTHROW_NONNULL_2, ATTR_NOTHROW_NONNULL_3): Renamed from
23969169689Skan	ATTR_NONNULL_1, ATTR_NONNULL_2 and ATTR_NONNULL_3.
23970169689Skan
23971169689Skan	(ATTR_NOTHROW_NONNULL_1_2, ATTR_NOTHROW_NONNULL_1_4,
23972169689Skan	ATTR_CONST_NOTHROW_NONNULL_1, ATTR_PURE_NOTHROW_NONNULL_1,
23973169689Skan	ATTR_PURE_NOTHROW_NONNULL_1_2, ATTR_MALLOC_NOTHROW_NONNULL_1):
23974169689Skan	New.
23975169689Skan
23976169689Skan	* builtins.def (DEF_EXT_FALLBACK_BUILTIN): Accept ATTRS argument.
23977169689Skan	(BUILT_IN_BZERO, BUILT_IN_BCOPY, BUILT_IN_BCMP): Update comment
23978169689Skan
23979169689Skan	(BUILT_IN_INDEX, BUILT_IN_RINDEX, BUILT_IN_MEMCPY,
23980169689Skan	BUILT_IN_MEMMOVE, BUILT_IN_MEMCMP, BUILT_IN_MEMSET,
23981169689Skan	BUILT_IN_MEMPCPY, BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
23982169689Skan	BUILT_IN_STPCPY, BUILT_IN_STRCPY, BUILT_IN_STRNCPY,
23983169689Skan	BUILT_IN_STRCMP, BUILT_IN_STRNCMP, BUILT_IN_STRLEN,
23984169689Skan	BUILT_IN_STRSTR, BUILT_IN_STRPBRK, BUILT_IN_STRSPN,
23985169689Skan	BUILT_IN_STRCSPN, BUILT_IN_STRCHR, BUILT_IN_STRRCHR, BUILT_IN_NAN,
23986169689Skan	BUILT_IN_NANF, BUILT_IN_NANL, BUILT_IN_NANS, BUILT_IN_NANSF,
23987169689Skan	BUILT_IN_NANSL, BUILT_IN_PUTS, BUILT_IN_FPUTC, BUILT_IN_FPUTS,
23988169689Skan	BUILT_IN_FWRITE, BUILT_IN_PUTS_UNLOCKED, BUILT_IN_FPUTC_UNLOCKED,
23989169689Skan	BUILT_IN_FPUTS_UNLOCKED, BUILT_IN_FWRITE_UNLOCKED,
23990169689Skan	BUILT_IN_STRDUP): Add "nonnull" attribute.
23991169689Skan
23992169689Skan2003-05-04  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
23993169689Skan
23994169689Skan	* expr.c (store_field): Don't clobber TEMP in shift: it might be
23995169689Skan	a variable.
23996169689Skan	(get_inner_reference): Don't go through a VIEW_CONVERT_EXPR
23997169689Skan	whose purpose is to step up the alignment.
23998169689Skan	(expand_expr, case ADDR_EXPR): Force LO_SUM into memory, just like REG.
23999169689Skan
24000169689Skan	* stor-layout.c (compute_record_mode): Relax restriction
24001169689Skan	on fields crossing word boundaries forcing BLKmode.
24002169689Skan
24003169689Skan2003-05-04  Neil Booth  <neil@daikokuya.co.uk>
24004169689Skan
24005169689Skan	* cppinit.c (cpp_create_reader, post_options): Warn about
24006169689Skan	trigraphs unless explicity set or -trigraphs.
24007169689Skan	* cpplex.c (warn_in_comment): New.
24008169689Skan	(_cpp_process_line_notes): Better handling of -Wtrigraphs.
24009169689Skan	(_cpp_skip_block_comment): Add call to _cpp_process_line_notes.
24010169689Skan	* doc/cppopts.texi, doc/cpp.texi: Update.
24011169689Skan
24012169689Skan2003-05-04  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
24013169689Skan
24014169689Skan	* Makefile.in (LIBGCOV): Add _gcov_merge_add.
24015169689Skan	* gcov-io.h: Make GCOV_LINKAGE extern in libgcov and prevent resulting
24016169689Skan	namespace clash.
24017169689Skan	(GCOV_MERGE_FUNCTIONS): New.
24018169689Skan	(gcov_merge_fn): Declare.
24019169689Skan	(struct gcov_ctr_info): New field "merge".
24020169689Skan	(__gcov_merge_add): Declare.
24021169689Skan	* coverage.c (ctr_merge_functions): New.
24022169689Skan	(build_ctr_info_type, build_ctr_info_value): Initialize merge field
24023169689Skan	of gcov_ctr_info type.
24024169689Skan	* libgcov.c (__gcov_merge_add): New.
24025169689Skan	(gcov_exit): Call a hook to merge values of counters.
24026169689Skan
24027169689Skan2003-05-04  Gabriel Dos Reis <gdr@integrable-solutions.net>
24028169689Skan
24029169689Skan	* toplev.h (pedwarn_with_file_and_line): Don't declare.
24030169689Skan	* diagnostic.c (pedwarn_with_file_and_line): Remove.
24031169689Skan
24032169689Skan2003-05-04  Gabriel Dos Reis  <gdr@integrable-solutions.net>
24033169689Skan
24034169689Skan	* varasm.c (assemble_variable): Don't use error_with_file_and_line.
24035169689Skan
24036169689Skan2003-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24037169689Skan
24038169689Skan	* builtins.c (expand_builtin_constant_p, expand_builtin_strlen,
24039169689Skan	expand_builtin_frame_address): Update prototypes.
24040169689Skan	(expand_builtin_constant_p, expand_builtin_strlen,
24041169689Skan	expand_builtin_strcpy, expand_builtin_memset,
24042169689Skan	expand_builtin_bzero, expand_builtin_args_info,
24043169689Skan	expand_builtin_frame_address): Pass in just the argument(s)
24044169689Skan	needed, not the entire expression `exp'.
24045169689Skan	(expand_builtin): Update all calls to these functions.
24046169689Skan
24047169689Skan2003-05-03  Richard Henderson  <rth@redhat.com>
24048169689Skan
24049169689Skan	* builtins.c (expand_builtin) <BUILT_IN_DWARF_FP_REGNUM>: Remove.
24050169689Skan	<BUILT_IN_DWARF_SP_COLUMN>: New.
24051169689Skan	* builtins.def (BUILT_IN_DWARF_FP_REGNUM): Remove.
24052169689Skan	(BUILT_IN_DWARF_SP_COLUMN): New.
24053169689Skan	* dwarf2out.c (expand_builtin_dwarf_fp_regnum): Remove.
24054169689Skan	(expand_builtin_dwarf_sp_column): New.
24055169689Skan	* except.h: Update to match.
24056169689Skan	* unwind-dw2.c (execute_stack_op): Correct stack push typo.
24057169689Skan	(execute_cfa_program): Record location expression address
24058169689Skan	before extracting length.
24059169689Skan	(uw_update_context_1): Install old CFA into stack pointer column.
24060169689Skan	(uw_init_context_1): Set cfa_reg to stack pointer column.
24061169689Skan
24062169689Skan2003-05-03  Richard Henderson  <rth@redhat.com>
24063169689Skan
24064169689Skan	* config/rs6000/rs6000.c (constant_pool_expr_p): Make static and
24065169689Skan	return bool.
24066169689Skan	(toc_relative_expr_p): Likewise.
24067169689Skan	(SPE_CONST_OFFSET_OK): Move from rs6000.h.
24068169689Skan	(legitimate_constant_pool_address_p): Move from rs6000.h, change
24069169689Skan	into a function, downcase all users.
24070169689Skan	(legitimate_small_data_p): Likewise.
24071169689Skan	(legitimate_offset_address_p): Likewise.
24072169689Skan	(legitimate_indexed_address_p): Likewise.
24073169689Skan	(legitimate_indirect_address_p): Likewise.
24074169689Skan	(legitimate_lo_sum_address_p): Likewise.
24075169689Skan	(rs6000_mode_dependent_address): Likewise.
24076169689Skan	* rs6000.h (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): Remove.
24077169689Skan	(SPE_CONST_OFFSET_OK, LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
24078169689Skan	LEGITIMATE_SMALL_DATA_P, LEGITIMATE_OFFSET_ADDRESS_P,
24079169689Skan	LEGITIMATE_INDEXED_ADDRESS_P, LEGITIMATE_INDIRECT_ADDRESS_P,
24080169689Skan	LEGITIMATE_LO_SUM_ADDRESS_P): Move into rs6000.c.
24081169689Skan	(LEGITIMATE_ADDRESS_INTEGER_P): Remove.
24082169689Skan	(GO_IF_MODE_DEPENDENT_ADDRESS): Use rs6000_mode_dependent_address.
24083169689Skan	* config/rs6000/rs6000-protos.h: Update.
24084169689Skan
24085169689Skan2003-05-03  Geoffrey Keating  <geoffk@apple.com>
24086169689Skan
24087169689Skan	* config/rs6000/rs6000.h (REVERSIBLE_CC_MODE): Define.
24088169689Skan	(REVERSE_CONDITION): Define.
24089169689Skan
24090169689Skan	* config/rs6000/rs6000.c (scc_comparison_operator): Make equivalent
24091169689Skan	to branch_positive_comparison_operator.
24092169689Skan	(ccr_bit): Check that sCOND conditions are actually a positive bit.
24093169689Skan	(print_operand): Remove %D substitution.
24094169689Skan	(rs6000_emit_sCOND): Generate complement operation to ensure that
24095169689Skan	sCOND input is a positive bit.
24096169689Skan	* config/rs6000/rs6000.md: Rearrange sCOND templates to be in the
24097169689Skan	same order as bCOND, and add the missing ones.  Remove the %D
24098169689Skan	substitutions from the scc patterns.
24099169689Skan
24100169689Skan	* simplify-rtx.c (simplify_relational_operation): Add case for
24101169689Skan	! (fabs(x) < 0.0).
24102169689Skan
24103169689Skan2003-05-03  Bruce Korb  <bkorb@gnu.org>
24104169689Skan
24105169689Skan	* gcc/fixinc/fixincl.tpl(dne): restore this to force merge conflicts
24106169689Skan	in fixincl.x
24107169689Skan	* gcc/fixinc/inclhack.def(bsd_stdio_attrs_conflict): fix placement
24108169689Skan
24109169689Skan2003-05-03  Aldy Hernandez  <aldyh@redhat.com>
24110169689Skan
24111169689Skan	* config/rs6000/spe.h: Remove unecessary casts.  Misc cleanups.
24112169689Skan
24113169689Skan2003-05-03  Zack Weinberg  <zack@codesourcery.com>
24114169689Skan
24115169689Skan	PR c/10604
24116169689Skan	* c-common.c (warn_sign_compare): Initialize to -1.
24117169689Skan	* c-opts.c (c_common_init_options): Don't set warn_sign_compare here.
24118169689Skan	(c_common_decode_option <OPT_Wall>): Set warn_sign_compare
24119169689Skan	for C++ only.
24120169689Skan	(c_common_post_options): Set warn_sign_compare from extra_warnings
24121169689Skan	if it's still -1 at this point.
24122169689Skan
24123169689Skan	* toplev.c (maybe_warn_unused_parameter): New static variable.
24124169689Skan	(set_Wextra): New static function.
24125169689Skan	(W_options): Remove "extra".
24126169689Skan	(decode_W_option): Call set_Wextra.
24127169689Skan	(independent_decode_option): Likewise.
24128169689Skan	(set_Wunused): Cooperate with set_Wextra in setting
24129169689Skan	warn_unused_parameter.
24130169689Skan	(rest_of_compilation): No need to check extra_warnings as
24131169689Skan	well as warn_uninitialized.
24132169689Skan
24133169689Skan	* c-typeck.c (build_binary_op, build_conditional_expr):
24134169689Skan	No need to check extra_warnings as well as warn_sign_compare.
24135169689Skan	(internal_build_compound_expr): No need to check extra_warnings
24136169689Skan	as well as warn_unused_value.
24137169689Skan	* function.c (expand_function_end): No need to check extra_warnings
24138169689Skan	as well as warn_unused_parameter.
24139169689Skan	* stmt.c (expand_expr_stmt_value): No need to check extra_warnings
24140169689Skan	as well as warn_unused_value.
24141169689Skan
24142169689Skan	* doc/invoke.texi: Clarify documentation of -Wsign-compare.
24143169689Skan
24144169689Skan	* Makefile.in: Disable -Werror for gengtype-lex.o.
24145169689Skan
24146169689Skan2003-05-03  Olivier Hainque  <hainque@act-europe.fr>
24147169689Skan
24148169689Skan	* emit-rtl.c (last_call_insn, add_function_usage_to): New functions.
24149169689Skan	* rtl.h (last_call_insn, add_function_usage_to): New prototypes.
24150169689Skan	* builtins.c (expand_builtin_apply): Use the new emit-rtl functions.
24151169689Skan	* calls.c (emit_call_1): Likewise.
24152169689Skan	(expand_call): For calls initializing constant memory, replace
24153169689Skan	emission of standalone mem /u clobber with function usage entry.
24154169689Skan	* expr.c (emit_block_move_via_libcall): Likewise.
24155169689Skan	* cse.c (count_reg_usage, case EXPR_LIST): New case.
24156169689Skan	* flow.c (propagate_one_insn): Pass entire operand of
24157169689Skan	CALL_INSN_FUNCTION_USAGE to mark_used_regs.
24158169689Skan	* integrate.c (try_constants): For CALL_INSNs, substitute constants
24159169689Skan	within the FUNCTION_USAGE also.
24160169689Skan	* loop.c (prescan_loop): Note clobbers of const mem mentioned in
24161169689Skan	FUNCTION_USAGE lists.
24162169689Skan	* reload1.c (replace_pseudos_in): Renamed.
24163169689Skan	(reload): Use it for clobbers surviving until the end of the reload.
24164169689Skan
24165169689Skan2003-05-03  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
24166169689Skan
24167169689Skan	* expr.c (expand_expr, case VIEW_CONVERT_EXPR): Don't use
24168169689Skan	gen_lowpart on non-integer modes.
24169169689Skan
24170169689Skan	* stor-layout.c (place_field): When adjusting offset_align, use
24171169689Skan	desired_align, not DECL_ALIGN.
24172169689Skan
24173169689Skan2003-05-03  Nathan Sidwell  <nathan@codesourcery.com>
24174169689Skan
24175169689Skan	* c-decl.c (pending_invalid_xref_file): Remove.
24176169689Skan	(pending_invalid_xref_line): Remove.
24177169689Skan	(pending_invalid_xref_location): New.
24178169689Skan	(lookup_label): Use location_t and input_location directly.
24179169689Skan	(lookup_tag): Likewise.
24180169689Skan	(pending_xref_error): Likewise.
24181169689Skan	(c_expand_body_1): Likewise.
24182169689Skan	* c-common.c (x_expand_start_cond): Likewise.
24183169689Skan	* c-semantics.c (genrtl_for_stmt): Likewise.
24184169689Skan	(find_reachable_label): Likewise.
24185169689Skan	* expr.c (expand_expr): Likewise.
24186169689Skan	* integrate.c (output_inline_function): Likewise.
24187169689Skan	* tree-inline.c (find_alloca_call): Likewise.
24188169689Skan	(find_builtin_longjmp_call): Likewise.
24189169689Skan	* gcc.c (input_filename): Make static.
24190169689Skan
24191169689Skan2003-05-03  Richard Sandiford  <rsandifo@redhat.com>
24192169689Skan
24193169689Skan	* config/mips/mips.md: Fix comment typo.
24194169689Skan
24195169689Skan	* config/mips/mips.c (mips_integer_op): New structure.
24196169689Skan	(MIPS_MAX_INTEGER_OPS): Define.
24197169689Skan	(mips_const_insns): Use mips_build_integer to determine the number
24198169689Skan	of instructions needed to load a CONST_INT.
24199169689Skan	(move_operand): Reject compound CONST_INTs.
24200169689Skan	(mips_build_shift, mips_build_lower, mips_build_integer): New fns.
24201169689Skan	(mips_move_integer): New fn.
24202169689Skan	(mips_legitimize_const_move): Pass CONST_INTs to mips_move_integer.
24203169689Skan	(mips_legitimize_move): Only legitimize constants when moving
24204169689Skan	word or subword values.
24205169689Skan
24206169689Skan2003-05-02  Matt Kraai  <kraai@alumni.cmu.edu>
24207169689Skan
24208169689Skan	* Makefile.in (gcov-iov.h): Use move-if-change and a stamp.
24209169689Skan
24210169689Skan2003-05-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24211169689Skan
24212169689Skan	* builtins.c (expand_builtin_stpcpy): Copy `arglist' before
24213169689Skan	modifying it.
24214169689Skan
24215169689Skan2003-05-03  Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
24216169689Skan	    Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
24217169689Skan
24218169689Skan	* doc/contrib.texi (Contributors): Add Zdenek Dvorak, Aldy
24219169689Skan	Hernandez, and Kazu Hirata.  Update Richard Henderson.
24220169689Skan
24221169689Skan2003-05-02  Geoffrey Keating  <geoffk@apple.com>
24222169689Skan
24223169689Skan	* config/rs6000/rs6000.c (rs6000_attribute_table): Add 'extern'
24224169689Skan	to tentative declaration.
24225169689Skan
24226169689Skan	* config/rs6000/sysv4.h (SYMBOL_FLAG_SMALL_V4): Delete.
24227169689Skan	(SYMBOL_FLAG_SMALL_V4): Delete.
24228169689Skan	* config/rs6000/rs6000.c (small_data_operand): Use SYMBOL_REF_SMALL_P.
24229169689Skan	(rs6000_elf_encode_section_info): Don't set SYMBOL_FLAG_SMALL_V4.
24230169689Skan	(rs6000_elf_in_small_data_p): Add extra section names.  Add
24231169689Skan	comment about TREE_PUBLIC test.
24232169689Skan
24233169689Skan	* c-semantics.c (genrtl_switch_stmt, genrtl_if_stmt): Call
24234169689Skan	expand_stmt on result of expand_unreachable_stmt.
24235169689Skan
24236169689Skan2003-05-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
24237169689Skan
24238169689Skan	* doc/contrib.texi (Contributors): Add Daniel Berlin.
24239169689Skan
24240169689Skan2003-05-02  David Edelsohn  <edelsohn@gnu.org>
24241169689Skan
24242169689Skan	* config/rs6000/{603.md,6xx.md,7450.md,7xx.md,rs64.md}: Decrease
24243169689Skan	number of automata.
24244169689Skan
24245169689Skan	* config/rs6000/rs6000.c (symbol_ref_operand): Check
24246169689Skan	SYMBOL_REF_FUNCTION_P on AIX.
24247169689Skan	(current_file_function_operand): Same.
24248169689Skan	* config/rs6000/rs6000.md (call,call_value): Force non-function
24249169689Skan	symbol_ref into register on AIX.
24250169689Skan
24251169689Skan2003-05-02  Alan Modra  <amodra@bigpond.net.au>
24252169689Skan
24253169689Skan	* calls.c (struct arg_data): Move offset, slot_offset, size and
24254169689Skan	alignment_pad to struct locate_and_pad_arg_data.  Update all refs.
24255169689Skan	(initialize_argument_information): Adjust call to locate_and_pad_parm.
24256169689Skan	Delete alignment_pad var.  Don't calculate slot_offset here.
24257169689Skan	(emit_library_call_value_1): Delete alignment_pad, offset and size
24258169689Skan	vars.  Use struct locate_and_pad_arg_data instead.  Adjust refs.
24259169689Skan	Adjust call to locate_and_pad_parm.  Don't tweak arg size for
24260169689Skan	partial in-regs here.  Formatting fixes.
24261169689Skan	* expr.h (struct locate_and_pad_arg_data): New struct.
24262169689Skan	(locate_and_pad_parm): Adjust declaration.
24263169689Skan	* function.c (assign_parms): Localize vars.  Use "locate" instead of
24264169689Skan	other arg location vars.  Don't invoke FUNCTION_ARG or
24265169689Skan	FUNCTION_INCOMING_ARG unless pretend_named is different from
24266169689Skan	named_arg.  Heed MUST_PASS_IN_STACK and set up "partial" before
24267169689Skan	calling locate_and_pad_parm.  Adjust locate_and_pad_parm call.
24268169689Skan	Use slot_offset for stack home of reg parms.  Correct test for
24269169689Skan	parm passed in memory.  Formatting fixes.
24270169689Skan	(locate_and_pad_parm): Add "partial" to params.  Replace offset_ptr
24271169689Skan	arg_size_ptr and alignment pad with "locate".  Set slot_offset here.
24272169689Skan	Correct initial_offset_ptr handling.  Localize vars.  Always pad
24273169689Skan	locate->offset even when in_regs.
24274169689Skan
24275169689Skan2003-05-02  Nathan Sidwell  <nathan@codesourcery.com>
24276169689Skan
24277169689Skan	* Makefile.in (TREE_H): Replace location.h with input.h.
24278169689Skan	(GTFILES) Remove location.h
24279169689Skan	(gt-lists.h): Replace gt-location.h with gt-input.h
24280169689Skan	* input.h (input_filename, input_line): Remove variables.
24281169689Skan	(location_s, location_t): Move from location.h.
24282169689Skan	(input_location): New.
24283169689Skan	(input_filename, input_line): New #defines.
24284169689Skan	* location.h: Remove.
24285169689Skan	* tree.h: Replace location.h with input.h.
24286169689Skan	(input_filename, input_line): Remove.
24287169689Skan	* diagnostic.h: Replace location.h with input.h.
24288169689Skan	* gcc.h (input_filename, input_filename_length): Remove declarations.
24289169689Skan	* toplev.c (input_filename, input_line): Remove.
24290169689Skan	(input_location): Define.
24291169689Skan	(push_srcloc, pop_srcloc): Adjust.
24292169689Skan	* diagnostic.c (diagnostic_report_current_module): Adjust.
24293169689Skan
24294169689Skan2003-05-02  Nick Clifton  <nickc@redhat.com>
24295169689Skan
24296169689Skan	* configure.in: Add xstormy16 to list of targets that has a nop
24297169689Skan	instruction and hence which can be tested to see if the
24298169689Skan	assembler supports the --gdwarf2 switch.
24299169689Skan	* configure: Regenerate.
24300169689Skan
24301169689Skan2003-05-01  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
24302169689Skan
24303169689Skan	PR target/8257
24304169689Skan	* config/alpha/alpha.c (alpha_sa_mask, alpha_expand_prologue,
24305169689Skan	alpha_start_function, alpha_expand_epilogue, unicosmk_gen_dsib):
24306169689Skan	Avoid undefined shifts by making the shift operand unsigned.
24307169689Skan
24308169689Skan2003-05-01  DJ Delorie  <dj@redhat.com>
24309169689Skan
24310169689Skan	* reload.c (find_reloads): Also check that all of a multi-reg
24311169689Skan	value is in the class.
24312169689Skan
24313169689Skan2003-05-01  Nathan Sidwell  <nathan@codesourcery.com>
24314169689Skan
24315169689Skan	* scan.h (lineno): Revert the rename here.
24316169689Skan
24317169689Skan2003-05-01  Stan Shebs  <shebs@apple.com>
24318169689Skan
24319169689Skan	* config/darwin.c (darwin_encode_section_info): Call
24320169689Skan	default_encode_section_info.
24321169689Skan
24322169689Skan2003-05-01  David Edelsohn  <edelsohn@gnu.org>
24323169689Skan
24324169689Skan	* config/rs6000/rs6000.md (define_attr "type"): Add mfjmpr.
24325169689Skan	(movsi_internal1): Use new mfjmpr attribute.
24326169689Skan	(movhi_internal): Same.
24327169689Skan	(movqi_internal): Same.
24328169689Skan	(movcc_internal1): Same.
24329169689Skan	(movdi_internal64): Same.
24330169689Skan	* config/rs6000/{40x.md,603.md,6xx.md,7450.md,7xx.md,mpc.md,
24331169689Skan	power4.md,rios1.md,rios2.md,rs64.md}: Add mfjmpr.
24332169689Skan	* config/rs6000/40x.md: Add fpu_405.
24333169689Skan	* config/rs6000/power4.md: Merge power4lsu and power4disp automata
24334169689Skan	into power4misc automata.  Remove extraneous parentheses.
24335169689Skan	* config/rs6000/440.md: New file.
24336169689Skan	* config/rs6000/rs6000.c (processor_target_table): Add 440,
24337169689Skan	440fp.  Rename 405f to 405fp.
24338169689Skan	(function_arg_padding): Correct formatting.
24339169689Skan	(rs6000_rtx_costs): Add PROCESSOR_PPC440 cases.
24340169689Skan
24341169689Skan2003-05-01  Nathan Sidwell  <nathan@codesourcery.com>
24342169689Skan
24343169689Skan	* input.h (lineno): Rename to ...
24344169689Skan	(input_line): ... here.
24345169689Skan	* tree.h (lineno): Rename to ...
24346169689Skan	(input_line): ... here.
24347169689Skan	* scan.h (lineno): Rename to ...
24348169689Skan	(input_line): ... here.
24349169689Skan	* toplev.c (lineno): Rename to ...
24350169689Skan	(input_line): ... here.
24351169689Skan	(push_srcloc, pop_srcloc):  Rename lineno to input_line.
24352169689Skan	* c-common.c (c_expand_start_cond, fname_decl): Likewise.
24353169689Skan	* c-decl.c (poplevel, pop_label_level, lookup_label, lookup_tag,
24354169689Skan	store_parm_decls, c_expand_body_1): Likewise.
24355169689Skan	* c-errors.c (pedwarn_c99): Likewise.
24356169689Skan	* c-format.c (status_warning): Likewise.
24357169689Skan	* c-lex.c (fe_file_change, cb_def_pragma, c_lex): Likewise.
24358169689Skan	* c-opts.c (c_common_post_options, c_common_parse_file): Likewise.
24359169689Skan	* c-parse.in (save_filename, maybe_type_qual, ifc): Likwise.
24360169689Skan	* c-semantics.c (finish_stmt_tree, build_stmt, emit_local_var,
24361169689Skan	gentrtl_goto_stmt, genrtl_expr_stmt_value, genrtl_decl_stmt,
24362169689Skan	genrtl_if_stmt, genrtl_while_stmt, genrtl_do_stmt,
24363169689Skan	genrtl_return_stmt, genrtl_for_stmt, build_break_stmt,
24364169689Skan	build_continue_stmt, genrtl_switch_stmt, genrtl_asm_stmt,
24365169689Skan	prep_stmt, find_reachable_label, expand_unreachable_stmt): Likewise.
24366169689Skan	* coverage.c (create_coverage): Likewise.
24367169689Skan	* diagnostic.c (pedwarn, sorry, error, fatal_error,
24368169689Skan	internal_error, warning, diagnostic_report_current_module,
24369169689Skan	inform): Likewise.
24370169689Skan	* expr.c (expand_expr): Likewise.
24371169689Skan	* integrate.c (expand_inline_function,
24372169689Skan	output_inline_function): Likewise.
24373169689Skan	* rtl-error.c (file_and_line_for_asm): Likewise.
24374169689Skan	* tree-inline.c (find_alloca_call, find_builtin_longjmp_call,
24375169689Skan	walk_tree): Likewise.
24376169689Skan	* tree.c (make_node): Likewise.
24377169689Skan	* ada, cp, f, java, objc, treelang: Likewise.
24378169689Skan	* objc/objc-act.c (objc_init): Rename lineno to input_line.
24379169689Skan	(build_module_descriptor, build_selector_translation_table,
24380169689Skan	build_protocol_template, build_method_prototype_list_template,
24381169689Skan	build_category_template, build_selector_table,
24382169689Skan	build_class_template, build_super_template, build_ivar_template,
24383169689Skan	build_ivar_list_template, build_method_list_template,
24384169689Skan	build_method_template, add_instance_variable): Likewise.
24385169689Skan
24386169689Skan	* dwarf2out.c (dwarf2out_init, dwarf2out_finish): Change parameter
24387169689Skan	name from input_filename.
24388169689Skan
24389169689Skan2003-04-30  Eric Christopher  <echristo@redhat.com>
24390169689Skan	    Richard Sandiford <rsandifo@redhat.com>
24391169689Skan
24392169689Skan	* configure: Regenerate from patches below.
24393169689Skan	* combine.c (gen_lowpart_for_combine): Fix comment and add tests
24394169689Skan	for all symbolic operands.
24395169689Skan	* config/mips/mips.c: Migrate RTX_COSTS and CONST_COSTS
24396169689Skan	to function.
24397169689Skan	* config/mips/linux.h: Fix typo.
24398169689Skan	* Merge from mips-3_4-rewrite branch:
24399169689Skan
24400169689Skan	2003-04-07  Richard Sandiford  <rsandifo@redhat.com>
24401169689Skan
24402169689Skan		* config/mips/mips.c (mips_classify_symbol): Add catch-all case for
24403169689Skan		handling local labels when TARGET_ABICALLS.
24404169689Skan
24405169689Skan	2003-04-04  Richard Sandiford  <rsandifo@redhat.com>
24406169689Skan
24407169689Skan		* config/mips/mips-protos.h (mips_expand_epilogue): Add an
24408169689Skan		integer argument.
24409169689Skan		(mips_expand_call): Likewise.
24410169689Skan		* config/mips/mips.h (TARGET_SIBCALLS): New macro.
24411169689Skan		(FIXED_REGISTERS): Clear $31 entry.
24412169689Skan		(CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTER): Likewise.
24413169689Skan		(EPILOGUE_USES): Define.
24414169689Skan		* config/mips/mips.c (mips_function_ok_for_sibcall): New function.
24415169689Skan		(TARGET_FUNCTION_OK_FOR_SIBCALL): Use it.
24416169689Skan		(override_options): Add a 'j' register class.
24417169689Skan		(mips_expand_call): Handle sibcalls
24418169689Skan		(mips_expand_epilogue): Handle epilogues for sibcalls.
24419169689Skan		* config/mips/mips.md (epilogue): Adjust call to mips_expand_epilogue.
24420169689Skan		(sibcall_epilogue): New pattern.
24421169689Skan		(call, call_value): Adjust calls to mips_expand_call.
24422169689Skan		(sibcall, sibcall_value): New expanders.
24423169689Skan		(sibcall_internal, sibcall_value_internal): New patterns.
24424169689Skan		(sibcall_value_multiple_internal): New pattern.
24425169689Skan
24426169689Skan	2003-03-25  Richard Sandiford  <rsandifo@redhat.com>
24427169689Skan
24428169689Skan		* config/mips/mips.md (extended_mips16): New attribute.
24429169689Skan		(define_attr length): Default to 8 if extended_mips16 == yes.
24430169689Skan		(truncdisi2): Set extended_mips16 to yes for the sll alternative.
24431169689Skan		(truncdihi2, truncdiqi2, *extendsidi2): Likewise.
24432169689Skan		(call_internal): Set extended_mips16 to yes for direct jumps.
24433169689Skan		Remove redundant mode attribute.
24434169689Skan		(call_value_internal, call_value_multiple_internal): Likewise.
24435169689Skan		(call_split): Remove redundant mode attribute.
24436169689Skan		(call_value_split, call_value_multiple_split): Likewise.
24437169689Skan
24438169689Skan		* config/mips/mips.c (mips_symbol_insns): Rework.  Fix handling
24439169689Skan		of unaligned offsets.
24440169689Skan
24441169689Skan		* config/mips/mips.c (mips_splittable_symbol_p): Fix handling
24442169689Skan		of SYMBOL_GENERAL.
24443169689Skan
24444169689Skan	2003-03-22  Richard Sandiford  <rsandifo@redhat.com>
24445169689Skan
24446169689Skan		* config/mips/mips.h (TARGET_EXPLICIT_RELOCS): Add commentary.
24447169689Skan		* config/mips/mips.c (override_options): Disable -mexplicit-relocs
24448169689Skan		for mips16 code.
24449169689Skan
24450169689Skan	2003-03-22  Richard Sandiford  <rsandifo@redhat.com>
24451169689Skan
24452169689Skan		* config/mips/mips.h (ADDRESS_COST): Define.
24453169689Skan
24454169689Skan	2003-03-20  Richard Sandiford  <rsandifo@redhat.com>
24455169689Skan
24456169689Skan		* config/mips/mips.h (EXTRA_CONSTRAINT): Give existing meaning of
24457169689Skan		'R' to 'U'.  Make 'R' mean a single-instruction memory reference.
24458169689Skan		* config/mips/mips.md: Replace 'R' constraints with 'U'.
24459169689Skan
24460169689Skan	2003-03-18  Richard Sandiford  <rsandifo@redhat.com>
24461169689Skan
24462169689Skan		* config/mips/mips.md (truncdisi2): Add commentary.  Use sll instead
24463169689Skan		of a two-instruction sequence.  Add register->memory alternative.
24464169689Skan		(truncdihi2, truncdiqi2): Likewise.
24465169689Skan		Rework shift/truncate instructions so that they only handle right
24466169689Skan		shifts of 32 (or more, in the case of arithmetic shifts).
24467169689Skan		Add patterns for truncate/sign-extend.
24468169689Skan
24469169689Skan	2003-03-13  Richard Sandiford  <rsandifo@redhat.com>
24470169689Skan
24471169689Skan		* configure.in (mips*-*-*): Check for explicit relocation support.
24472169689Skan		* configure: Regenerate.
24473169689Skan
24474169689Skan	2003-03-13  Richard Sandiford  <rsandifo@redhat.com>
24475169689Skan
24476169689Skan		* config/mips/mips.h (TARGET_SWITCHES): Add -mexplicit-relocs
24477169689Skan		and -mno-explicit-relocs.
24478169689Skan		(MASK_EXPLICIT_RELOCS): Define.
24479169689Skan		(TARGET_EXPLICIT_RELOCS): Use it.
24480169689Skan		(mips_split_addresses): Remove declaration.
24481169689Skan		* config/mips/mips.c (override_options): Update comment for
24482169689Skan		mips_split_addresses.  Clear MASK_EXPLICIT_RELOCS for non-PIC n64.
24483169689Skan
24484169689Skan	2003-03-13  Richard Sandiford  <rsandifo@redhat.com>
24485169689Skan
24486169689Skan		* combine.c (gen_lowpart_for_combine): Treat the lowpart Pmode of
24487169689Skan		a CONST as identity.  Check the return value of gen_lowpart_common.
24488169689Skan
24489169689Skan	2003-03-13  Richard Sandiford  <rsandifo@redhat.com>
24490169689Skan
24491169689Skan		* config/mips/mips.c (mips_legitimize_symbol): Handle small data
24492169689Skan		references for TARGET_EXPLICIT_RELOCS.
24493169689Skan		(mips_reloc_string): Return "%gp_rel(" for RELOC_GPREL16 if
24494169689Skan		!TARGET_MIPS16.
24495169689Skan
24496169689Skan	2003-03-13  Richard Sandiford  <rsandifo@redhat.com>
24497169689Skan
24498169689Skan		* config/mips/mips.md: Replace 'IQ' mips16 constraints with just 'Q'.
24499169689Skan		(addsi3): Remove redundant constraints.
24500169689Skan		(addsi3_internal): Use separate register & constant alternatives.
24501169689Skan		Use a 'Q' constraint and "addiu" insn for the latter.
24502169689Skan		(adddi3_internal_3, addsi3_internal_2): Likewise.
24503169689Skan
24504169689Skan	2003-03-13  Richard Sandiford  <rsandifo@redhat.com>
24505169689Skan
24506169689Skan		* config/mips/mips-protos.h (mips_expand_unaligned_load): Declare.
24507169689Skan		(mips_expand_unaligned_store): Declare.
24508169689Skan		* config/mips/mips.c (mips_get_unaligned_mem): New fn.
24509169689Skan		(mips_expand_unaligned_load, mips_expand_unaligned_store): New fns.
24510169689Skan		* config/mips/mips.md (UNSPEC_ULW, UNSPEC_USW): Remove.
24511169689Skan		(UNSPEC_ULD, UNSPEC_USD): Remove.
24512169689Skan		(UNSPEC_LWL, UNSPEC_LWR, UNSPEC_SWL, UNSPEC_SWR): New.
24513169689Skan		(UNSPEC_LDL, UNSPEC_LDR, UNSPEC_SDL, UNSPEC_SDR): New.
24514169689Skan		(extv, extzv): Use mips_expand_unaligned_load.
24515169689Skan		(insv): Use mips_expand_unaligned_store.  Use a reg_or_0_operand
24516169689Skan		predicate for operand 3.
24517169689Skan		(movsi_ulw, movsi_usw): Replace with...
24518169689Skan		(mov_lwl, mov_lwr, mov_swl, move_swr): ...these new insns.
24519169689Skan		(movdi_uld, movdi_usd): Likewise replace with...
24520169689Skan		(mov_ldl, mov_ldr, mov_sdl, move_sdr): ...these insns.
24521169689Skan
24522169689Skan	2003-02-26  Richard Sandiford  <rsandifo@redhat.com>
24523169689Skan
24524169689Skan		* config/mips/mips-protos.h (mips_global_pic_constant_p): Declare.
24525169689Skan		* config/mips/mips.h (LEA_REGS): New register class.
24526169689Skan		(REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add entries for it.
24527169689Skan		(GR_REG_CLASS_P): Include LEA_REGS.
24528169689Skan		(DANGEROUS_FOR_LA25_P): New macro.
24529169689Skan		(EXTRA_CONSTRAINT): Add !DANGEROUS_FOR_LA25_P to R's condition.
24530169689Skan		Add a T constraint for the DANGEROUS_FOR_LA25_P case.
24531169689Skan		* config/mips/mips.c (mips_regno_to_class): Change GR_REGS
24532169689Skan		entries to LEA_REGS.
24533169689Skan		(mips_global_pic_constant_p): New function.
24534169689Skan		(override_options): Add 'e' register constraint.
24535169689Skan		(mips_secondary_reload_class): Return LEA_REGS when reloading
24536169689Skan		a dangerous constant into a class containing $25.
24537169689Skan		* config/mips/mips.md (movdi_internal2): Add an e <- T alternative.
24538169689Skan		(movsi_internal): Likewise.
24539169689Skan
24540169689Skan	2003-02-23  Richard Sandiford  <rsandifo@redhat.com>
24541169689Skan
24542169689Skan		* config/mips/mips.h (TARGET_SPLIT_CALLS): New macro.
24543169689Skan		* config/mips/mips.md (call_split): New insn.
24544169689Skan		(call_value_split, call_value_multiple_split): New insns.
24545169689Skan		(call_internal): Turn into a define_insn_and_split.  Split the
24546169689Skan		instruction into a call and $gp load if TARGET_SPLIT_CALLS.
24547169689Skan		(call_value_internal, call_value_multiple_internal): Likewise.
24548169689Skan
24549169689Skan	2003-02-23  Richard Sandiford  <rsandifo@redhat.com>
24550169689Skan
24551169689Skan		* config/mips/mips.c (mips_reloc_string): Return "%got(" for
24552169689Skan		RELOC_GOT_PAGE and RELOC_GOT_DISP if !TARGET_NEWABI.
24553169689Skan		(mips_encode_section_info): Don't take symbol visibility into
24554169689Skan		account if TARGET_ABICALLS.  Add more commentary.
24555169689Skan		* config/mips/mips.md: Add commentary above reloc constants.
24556169689Skan
24557169689Skan	2003-02-12  Richard Sandiford  <rsandifo@redhat.com>
24558169689Skan
24559169689Skan		* config/mips/mips.c (mips_legitimize_const_move): New, extracted
24560169689Skan		from mips_legitimize_move.  Legitimize constant pool references.
24561169689Skan		(mips_legitimize_move): Call mips_legitimize_const_move.  Attach
24562169689Skan		a REG_EQUAL note to the last instruction.
24563169689Skan
24564169689Skan	2003-02-11  Richard Sandiford  <rsandifo@redhat.com>
24565169689Skan
24566169689Skan		* config/mips/mips-protos.h (mips_simplify_dwarf_addr): Declare.
24567169689Skan		* config/mips/mips.h (TARGET_EXPLICIT_RELOCS, TARGET_NEWABI): New.
24568169689Skan		(ASM_SIMPLIFY_DWARF_ADDR): Define to mips_simplify_dwarf_addr.
24569169689Skan		(EXTRA_CONSTRAINT): Allow symbolic call addresses for TARGET_ABICALLS.
24570169689Skan		* config/mips/mips.md (UNSPEC_HIGH): New constant.
24571169689Skan		(UNSPEC_RELOC_GPREL16): Rename to...
24572169689Skan		(RELOC_GPREL16): ...this.
24573169689Skan		(RELOC_GOT_HI, RELOC_GOT_LO, RELOC_GOT_PAGE, RELOC_GOT_DISP): New.
24574169689Skan		(RELOC_CALL16, RELOC_CALL_HI, RELOC_CALL_LO): New.
24575169689Skan		(macro_calls): New attribute.
24576169689Skan		(length): Use it to set the default length of calls.  Don't allow
24577169689Skan		calls to have delay slots if macro_calls is "yes".
24578169689Skan		(luisi, luidi): New patterns.
24579169689Skan		(lowsi, lowdi): Use '%R' to print the relocation.
24580169689Skan		(lowdi_extend): Remove.
24581169689Skan		(loadgp): Remove mode from operand 0.  Use '%0' instead of '%a0'.
24582169689Skan		(call_internal): Merge alternatives.  Always use "jal".
24583169689Skan		(call_value_internal, call_value_multiple_internal): Likewise.
24584169689Skan		(reloc_gprel16): Remove.
24585169689Skan		* config/mips/mips.c (mips_got_alias_set): New variable.
24586169689Skan		(mips_classify_constant): Handle the new relocation constants.
24587169689Skan		(mips_classify_symbol): Reverse the sense of SYMBOL_REF_FLAG for PIC.
24588169689Skan		(mips_symbolic_address_p): Return false if generating explicit relocs.
24589169689Skan		Otherwise allow local PIC symbols to have an offset.
24590169689Skan		(mips_splittable_symbol_p): New function.
24591169689Skan		(mips_classify_address): Use it to check whether a LO_SUM is valid.
24592169689Skan		(mips_const_insns): Always accept HIGH.
24593169689Skan		(call_insn_operand): Don't accept global symbols if using explicit
24594169689Skan		relocs.
24595169689Skan		(move_operand): Don't accept HIGH when generating PIC.
24596169689Skan		(mips_reloc, mips_lui_reloc): New functions.
24597169689Skan		(mips_force_temporary): Remove MODE argument.  Expect VALUE to
24598169689Skan		be a valid right-hand-side for a SET pattern.
24599169689Skan		(mips_load_got, mips_load_got16, mips_load_got32): New functions.
24600169689Skan		(mips_emit_high): New function.
24601169689Skan		(mips_legitimize_symbol): Use mips_reloc for the mips16 gp-relative
24602169689Skan		case.  Use mips_splittable_symbol_p to check whether a LO_SUM
24603169689Skan		address should be used.  Use mips_emit_high to generate the
24604169689Skan		high part of such an address.  Adjust the global symbol + offset
24605169689Skan		case to match the change to mips_force_temprorary.
24606169689Skan		(mips_legitimize_move): Shuffle call to mips_legitimize_symbol.
24607169689Skan		If generating explicit-reloc PIC, load the address of global
24608169689Skan		symbols from the GOT.  Use mips_emit_high to emit the high part
24609169689Skan		of an address.
24610169689Skan		(mips_simplify_dwarf_addr): New function.
24611169689Skan		(mips_move_1word): Use lwc1 instead of l.s and swc1 instead of s.s.
24612169689Skan		(mips_move_2words): Likewise ldc1/l.d and sdc1/s.d if TARGET_64BIT.
24613169689Skan		(mips_expand_call): Load the addresses of global functions using
24614169689Skan		%call* relocs if generating explicit-reloc PIC.  Don't generate
24615169689Skan		an exception_receiver pattern.
24616169689Skan		(override_options): Initialize mips_got_alias_set.
24617169689Skan		(print_relocation): Remove in favor of...
24618169689Skan		(mips_reloc_string): ...this new function.
24619169689Skan		(print_operand): Handle '%R'.  Use mips_reloc_string.
24620169689Skan		(print_operand_address): Use print_operand to print the symbolic
24621169689Skan		part of a LO_SUM address.
24622169689Skan		(mips_output_function_prologue): Use .cprestore, reverting last patch.
24623169689Skan		(mips_encode_section_info): Factor out DECL_RTL accesses.  Reverse
24624169689Skan		sense of SYMBOL_REF_FLAG for PIC, using binds_local_p to check
24625169689Skan		for local symbols.
24626169689Skan
24627169689Skan	2003-02-02  Eric Christopher  <echristo@redhat.com>
24628169689Skan
24629169689Skan		* config/mips/mips.c (mips_sign_extend): Remove.
24630169689Skan		* config/mips/mips-protos.h: Ditto.
24631169689Skan		* config/mips/mips.md (movdi_internal2_extend): Remove.
24632169689Skan		(extendsidi2): Fix mode of convert_memory_address.
24633169689Skan
24634169689Skan	2003-01-24  Eric Christopher  <echristo@redhat.com>
24635169689Skan
24636169689Skan		* config/mips/mips.md: Rewrite zero_extend* and extend*
24637169689Skan		patterns. Use explicit instructions and split after reload
24638169689Skan		for register extensions.
24639169689Skan		(ashlsi3_internal1_extend): New combiner pattern for
24640169689Skan		shift and extend combinations.
24641169689Skan		* config/mips/mips.h: Change Pmode back to ptr_mode
24642169689Skan		for performance enhancement.
24643169689Skan		* combine.c (expand_compound_operation): Make sure
24644169689Skan		that zero_extend operation is profitable.
24645169689Skan
24646169689Skan	2003-01-14  Richard Sandiford  <rsandifo@redhat.com>
24647169689Skan
24648169689Skan		* config/mips/mips.h (TRAMPOLINE_TEMPLATE): Make size of stored
24649169689Skan		addresses depend on ptr_mode rather than Pmode.
24650169689Skan		(TRAMPOLINE_SIZE, TRAMPOLINE_ALIGNMENT): Update acoordingly.
24651169689Skan		(INITIALIZE_TRAMPOLINE): Rework to handle Pmode != ptr_mode.
24652169689Skan		(CASE_VECTOR_MODE): Use ptr_mode for !TARGET_MIPS16.
24653169689Skan		(ASM_OUTPUT_ADDR_VEC_ELT): Update accordingly.
24654169689Skan		* config/mips/mips.md (tablejump): Likewise.  Remove Pmode
24655169689Skan		condition for selecting cpaddsi or cpadddi: use cpadd instead.
24656169689Skan		(tablejump_internal1): Remove condition.
24657169689Skan		(tablejump_internal2): Change condition to TARGET_64BIT.
24658169689Skan		(cpaddsi): Rename to...
24659169689Skan		(cpadd): ...this.
24660169689Skan		(cpadddi): Remove.
24661169689Skan
24662169689Skan	2003-01-09  Richard Sandiford  <rsandifo@redhat.com>
24663169689Skan
24664169689Skan		* config/mips/mips-protos.h (mips16_constant_after_function_p,
24665169689Skan		mips_address_cost, mips_check_split, double_memory_operand,
24666169689Skan		mips16_gp_offset, mips16_gp_offset_p, mips16_constant,
24667169689Skan		pic_address_needs_scratch, symbolic_operand): Remove declarations.
24668169689Skan		(mips_legitimate_address_p): Return bool.
24669169689Skan		(mips_address_insns, mips_fetch_insns, mips_const_insns,
24670169689Skan		mips_legitimize_address, mips_legitimize_move,
24671169689Skan		mips_expand_call): Declare.
24672169689Skan		(mips_return_addr): Move outside #ifdef RTX_CODE.
24673169689Skan
24674169689Skan		* config/mips/mips.h (ABI_HAS_64BIT_SYMBOLS): New macro.
24675169689Skan		(PIC_FN_ADDR_REG): New reg_class.
24676169689Skan		(REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add corresponding entries.
24677169689Skan		(GR_REG_CLASS_P): True for PIC_FN_ADDR_REG.
24678169689Skan		(SMALL_OPERAND, SMALL_OPERAND_UNSIGNED, LUI_OPERAND,
24679169689Skan		CONST_HIGH_PART, CONST_LOW_PART, LUI_INT): New macros.
24680169689Skan		(SMALL_INT, SMALL_INT_UNSIGNED, CONST_OK_FOR_LETTER_P): Use new macros.
24681169689Skan		(EXTRA_CONSTRAINTS): Give new meanings to Q, R and S.
24682169689Skan		(CONSTANT_ADDRESS_P): Use mips_legitimate_address_p.
24683169689Skan		(LEGITIMATE_PIC_OPERAND): Undefine.
24684169689Skan		(LEGITIMATE_CONSTANT_P): Use mips_const_insns.
24685169689Skan		(LEGITIMIZE_ADDRESS): Use mips_legitimize_address.
24686169689Skan		(CONSTANT_AFTER_FUNCTION_P): Remove definition in #if 0 block.
24687169689Skan		(FUNCTION_MODE): Change to SImode.
24688169689Skan		(CONST_COSTS): Use mips_const_insns to calculate the cost of
24689169689Skan		most constants.  Treat const_artih_operands specially if they
24690169689Skan		occur in a PLUS or MINUS.
24691169689Skan		(CONSTANT_POOL_COST): New macro.
24692169689Skan		(RTX_COSTS): Use mips_address_insns for MEMs, with a base cost of 2.
24693169689Skan		Add LO_SUM handling.
24694169689Skan		(ADDRESS_COST): Undefine.
24695169689Skan		(PREDICATE_CODES): Add symbolic_operand and const_arith_operand.
24696169689Skan		Add CONST to the list of codes for arith_operand.  Add LABEL_REF
24697169689Skan		to call_insn_operand and remove CONST_INT.
24698169689Skan
24699169689Skan		* config/mips/mips.c: Include integrate.h.
24700169689Skan		(SINGLE_WORD_MODE_P): New macro.
24701169689Skan		(mips_constant_type, mips_symbol_type, mips_address_type): New enums.
24702169689Skan		(mips_constant_info, mips_address_info): New structs.
24703169689Skan		(mips_regno_to_class): Map $25 to PIC_FN_ADDR_REG.
24704169689Skan		(mips_classify_constant, mips_classify_symbol,
24705169689Skan		mips_valid_base_register_p, mips_symbolic_address_p,
24706169689Skan		mips_classify_address, mips_symbol_insns,
24707169689Skan		mips16_unextended_reference_p, mips_address_insns, mips_const_insns,
24708169689Skan		mips_fetch_insns, mips_force_temporary, mips_add_offset,
24709169689Skan		mips_legitimize_symbol, mips_legitimize_address, mips_legitimize_move,
24710169689Skan		mips_print_relocation): New functions.
24711169689Skan		(const_arith_operand): New operand predicate.
24712169689Skan		(arith_operand): Use it.
24713169689Skan		(mips_const_double_ok, mips16_simple_memory_operand,
24714169689Skan		simple_memory_operand, double_memory_operand, mips_check_split,
24715169689Skan		mips_address_cost, pic_address_needs_scratch, mips16_gp_offset,
24716169689Skan		mips16_gp_offset_p, mips16_output_gp_offset,
24717169689Skan		mips16_constant_after_function_p, mips16_constant): Remove.
24718169689Skan		(call_insn_operand): Be more fussy about symbolic constants.
24719169689Skan		Use register_operand.
24720169689Skan		(move_operand): Use mips_symbolic_address_p to check symbolic
24721169689Skan		operands and general_operand to check the rest.
24722169689Skan		(symbolic_operand): Use mips_classify_constant.
24723169689Skan		(mips_legitimate_address_p): Use mips_classify_address.
24724169689Skan		(mips_move_1word): Combine handling of symbolic addresses.
24725169689Skan		Remove special treatment of gp-relative loads for TARGET_MIPS16.
24726169689Skan		(move_move_2words): Likewise.  Assume addresses are offsettable
24727169689Skan		if they need to refer to more than one word.  Add HIGH handling.
24728169689Skan		(mips_restore_gp): Use ptr_mode for the GP save slot.
24729169689Skan		(mips_expand_call): New function, combining the old mips.md
24730169689Skan		call and call_internal define_expands.  If the address isn't
24731169689Skan		a call_insn_operand, force it into a register.  For SVR4 PIC,
24732169689Skan		emit an exception_receiver instruction after the call.
24733169689Skan		(override_options): Only override flag_pic for TARGET_ABICALLS
24734169689Skan		if it is currently zero.  Allow mips_split_addresses when
24735169689Skan		Pmode == DImode too, except when ABI_HAS_64BIT_SYMBOLS.
24736169689Skan		Add new register class letter, 'c'.
24737169689Skan		(print_operand): Use mips_classify_constant for constant operands.
24738169689Skan		(print_operand_address): Use mips_classify_address.
24739169689Skan		(mips_output_function_prologue): Don't use .cprestore.
24740169689Skan		(mips_expand_epilogue): For TARGET_MIPS16, only adjust the stack
24741169689Skan		via the frame pointer if current_function_calls_eh_return.
24742169689Skan		(mips_encode_section_info): For TARGET_ABICALLS, use SYMBOL_REF_FLAG
24743169689Skan		to mark whether a symbol is local or global.
24744169689Skan		(build_mips16_call_stub): Expect the address of the function rather
24745169689Skan		than a MEM reference to it.  Update call generation sequences.
24746169689Skan		(mips16_optimize_gp): Remove Pmode checks.  Temporarily disable
24747169689Skan		small-data adjustments.
24748169689Skan
24749169689Skan		* config/mips/mips.md: Remove 'R'/'m' memory distinction.  Use default
24750169689Skan		length for loads and stores.
24751169689Skan		(UNSPEC_CPADD, UNSPEC_RELOC_GPREL16): New constants.
24752169689Skan		(define_attr type): Add const and prefetch.
24753169689Skan		(define_attr length): Use mips_const_insns for const instructions.
24754169689Skan		Use mips_fetch_insns for load and store instructions.
24755169689Skan		(define_attr single_insn): New.
24756169689Skan		(define_attr can_delay): Use it.
24757169689Skan		(define_attr abicalls): Remove.
24758169689Skan		(define_delay): Use can_delay.  Always allow calls to have delay slots.
24759169689Skan		(addsi3_internal_2): Add 'Q' constraint.
24760169689Skan		(movsi_ulw, movsi_usw, movdi_uld, movdi_usd): Set length to 8.
24761169689Skan		(high): Remove.
24762169689Skan		(lowsi): Renamed from low.
24763169689Skan		(lowdi): New pattern.
24764169689Skan		(movdi, movsi): Use mips_legitimize_move.  Remove define_split.
24765169689Skan		(lwxc1, ldxc1, swxc1, sdxc1): Set length to 4.
24766169689Skan		(loadgp): Change operand 0 to an immediate_operand.
24767169689Skan		(tablejump): Use the same patterns for SVR4 PIC but emit a cpadd
24768169689Skan		beforehand.
24769169689Skan		(cpaddsi, cpadddi): New patterns.
24770169689Skan		(tablejump_internal3, tablejump_internal4): Remove define_expands
24771169689Skan		and associated define_splits.
24772169689Skan		(call, call_value): Use mips_expand_call.
24773169689Skan		(call_internal): New, replacing all existing call_internal* insns.
24774169689Skan		(call_value_internal): Likewise call_value_internal*.
24775169689Skan		(call_value_multiple_internal): Likewise call_value_multiple_internal*.
24776169689Skan		(untyped_call): Remove if (operands[0]) magic.
24777169689Skan		(prefetch_si_address, prefetch_si): Change type to "prefetch".
24778169689Skan		(prefetch_di_address, prefetch_di): Likewise.
24779169689Skan		(leasi, leadi): Remove.
24780169689Skan		(reloc_gprel16): New.
24781169689Skan
24782169689Skan		* config/mips/5400.md (ir_vr54_hilo): Include const type.
24783169689Skan		* config/mips/5500.md (ir_vr55_hilo): Likewise.
24784169689Skan		* config/mips/sr71k.md (ir_sr70_hilo): Likewise.
24785169689Skan
24786169689Skan	2003-01-08  Eric Christopher  <echristo@redhat.com>
24787169689Skan
24788169689Skan		* config.gcc (mipsisa32*): Change ABI_MEABI to ABI_EABI.
24789169689Skan		* config/mips/elf.h (STARTFILE_SPEC): Remove ABI_MEABI references and
24790169689Skan		configure check for libgloss.
24791169689Skan		* config/mips/elf64.h: Ditto.
24792169689Skan		* config/mips/mips.c: Remove ABI_MEABI.
24793169689Skan		* config/mips/mips.h: Ditto.
24794169689Skan
24795169689Skan	2002-11-05  Richard Sandiford  <rsandifo@redhat.com>
24796169689Skan
24797169689Skan		Fix merge fallout.
24798169689Skan		* config/mips/mips.md (mul_acc_si): Reapply 2002-10-16 change.
24799169689Skan		(muldi3_internal): Remove outdated comment.
24800169689Skan		(*muls_di, *umuls_di): Fix comment and 64-bitness.
24801169689Skan		(*smsac_di, *umsac_di): Likewise.  Reformat.
24802169689Skan		(umulsi3_highpart): Minor formatting tweaks.
24803169689Skan		(umulsi3_highpart_internal): Use only if !ISA_HAS_MULHI.  Remove
24804169689Skan		redundant scratch operand.  Minor formatting tweak.
24805169689Skan		(umulsi3_highpart_mulhi_internal): Use for !TARGET_64BIT as well.
24806169689Skan		(umulsi3_highpart_neg_mulhi_internal): Likewise.  Fix asm template.
24807169689Skan		(smulsi3_highpart): As for the unsigned version.
24808169689Skan		(smulsi3_highpart_internal): Likewise.
24809169689Skan		(smulsi3_highpart_mulhi_internal): Likewise.
24810169689Skan		(smulsi3_highpart_neg_mulhi_internal): Likewise.
24811169689Skan		(smuldi3_highpart, umuldi3_highpart): Minor formatting tweaks.
24812169689Skan		(*smul_acc_di): Remove duplicated pattern.
24813169689Skan		(*umul_acc_di, *smul_acc_di): Reapply 2002-10-16 change.
24814169689Skan		(anddi3) [unnamed mips16 pattern]: Remove reintroduced length.
24815169689Skan		(zero_extendsidi2_internal2): Remove new, but commented-out pattern.
24816169689Skan
24817169689Skan	2002-10-22  Eric Christopher  <echristo@redhat.com>
24818169689Skan
24819169689Skan		* config/mips/mips-protos.h (mips_return_addr): New.
24820169689Skan		* config/mips/mips.c (mips_return_addr): New.
24821169689Skan		(movdi_operand): Remove.
24822169689Skan		(se_register_operand): Ditto.
24823169689Skan		(se_reg_or_0_operand): Ditto.
24824169689Skan		(se_uns_arith_operand): Ditto.
24825169689Skan		(se_arith_operand): Ditto.
24826169689Skan		(se_nonmemory_operand): Ditto.
24827169689Skan		(extend_operator): Ditto.
24828169689Skan		(highpart_shift_operator): Ditto.
24829169689Skan		(mips_initial_elimination_offset): Remove return address pointer
24830169689Skan		elimination.
24831169689Skan		(mips_reg_names): Remove $ra.
24832169689Skan		(mips_regno_to_class): Ditto.
24833169689Skan		* config/mips/mips.h (POINTER_SIZE): Define based on TARGET_LONG64
24834169689Skan		and TARGET_64BIT.
24835169689Skan		(POINTER_BOUNDARY): Remove.
24836169689Skan		(POINTERS_EXTEND_UNSIGNED): Define to 0.
24837169689Skan		(PROMOTE_MODE): Promote to Pmode.
24838169689Skan		(SHORT_IMMEDIATES_SIGN_EXTEND): Define.
24839169689Skan		(Pmode): Define to TARGET_64BIT.
24840169689Skan		(FUNCTION_MODE): Define as Pmode.
24841169689Skan		(mips_args): Remove deleted functions.
24842169689Skan		(SIZE_TYPE): Depend on POINTER_SIZE.
24843169689Skan		(PTRDIFF_TYPE): Ditto.
24844169689Skan		(FIXED_REGISTERS): Fix extra registers.
24845169689Skan		(CALL_USED_REGISTERS): Ditto.
24846169689Skan		(CALL_REALLY_USED_REGISTERS): Ditto.
24847169689Skan		(RAP_REG_NUM): Remove.
24848169689Skan		(RETURN_ADDRESS_POINTER_REGNUM): Ditto.
24849169689Skan		(RETURN_ADDR_RTX): Define to mips_return_addr.
24850169689Skan		(ELIMINABLE_REGS): Remove RETURN_ADDRESS_POINTER_REGNUM.
24851169689Skan		(CAN_ELIMINATE): Ditto.
24852169689Skan		* config/mips/mips.md: For DImode patterns, take into account
24853169689Skan		deletions above. Split mulsidi patterns into sign_extend and
24854169689Skan		zero_extend.
24855169689Skan
24856169689Skan	2002-10-16  Richard Sandiford  <rsandifo@redhat.com>
24857169689Skan		    Michael Meissner  <meissner@redhat.com>
24858169689Skan
24859169689Skan		* config/mips/mips.h (ISA_HAS_MACC): True for normal-mode vr4120 code.
24860169689Skan		* config/mips/mips.md (mulsi3_mult3): Add a define_peephole2 to
24861169689Skan		mop up unnecessarly moves through LO.
24862169689Skan		(*mul_acc_si): Remove vr5400 and vr5500 handling from here.
24863169689Skan		(*macc): New pattern for ISA_HAS_MACC.  Add define_peephole2s to
24864169689Skan		change mtlo/macc sequences into mul/add sequences when a three-
24865169689Skan		address mul is available.
24866169689Skan		(*macc2): New pattern.  Add a define_peephole2 to generate it.
24867169689Skan		(*mul_sub_si): Fix contraint for operand 5.
24868169689Skan		(*muls): Use in 32-bit code as well.
24869169689Skan		(*msac): Likewise.  Use msub instead of msac in vr5500 code
24870169689Skan		if the destination is LO.  Remove duplicate define_split.
24871169689Skan		(*muls_di): Use only in 32-bit code.  Adjust rtl accordingly.
24872169689Skan		(*msac_di): Likewise.  Fix formatting.
24873169689Skan		(smulsi3_highpart, umulsi3_highpart): Use mulhi in 32-bit code too.
24874169689Skan		(*xmulsi3_highpart_internal): Use only if !ISA_HAS_MULHI.
24875169689Skan		(*xmulsi3_highpart_mulhi): Use even if !TARGET_64BIT.
24876169689Skan		(*xmulsi3_neg_highpart_mulhi): Likewise.
24877169689Skan		(*mul_acc_64bit_di): Remove.
24878169689Skan		(*mul_acc_di): Use only in 32-bit code.  Handle ISA_HAS_MACC as well.
24879169689Skan
24880169689Skan	2002-10-14  Richard Sandiford  <rsandifo@redhat.com>
24881169689Skan
24882169689Skan		* config/mips/vr.h (DRIVER_SELF_SPECS): Define.
24883169689Skan		* config/mips/t-vr (MULTILIB_OPTIONS): Remove mlong32.
24884169689Skan		(MULTILIB_DIRNAMES): Remove long32.
24885169689Skan		(MULTILIB_EXCEPTIONS): Don't build -mabi=32 -mgp32 multilibs.
24886169689Skan		(MULTILIB_REDUNDANT_DIRS): Remove.
24887169689Skan
24888169689Skan	2002-10-14  Richard Sandiford  <rsandifo@redhat.com>
24889169689Skan
24890169689Skan		* doc/tm.texi (DRIVER_SELF_SPECS): Document.
24891169689Skan		* gcc.c (driver_self_specs): New variable.
24892169689Skan		(do_self_spec): New function.
24893169689Skan		(main): Use it to process driver_self_specs.
24894169689Skan
24895169689Skan	2002-10-09  Richard Sandiford  <rsandifo@redhat.com>
24896169689Skan
24897169689Skan		* config/mips/mips.md (one_cmpldi2): Use only if TARGET_64BIT.
24898169689Skan		Remove DImode define_split for !TARGET_64BIT.
24899169689Skan		(anddi3): Remove !TARGET_64BIT support from here as well.
24900169689Skan		Change operand 2's predicate to se_uns_arith_operand.
24901169689Skan		Add constant alternatives to define_insn.
24902169689Skan		(iordi3, xordi3, *nordi3): Likewise.
24903169689Skan		(anddi3_internal1, xordi3_immed): Remove.
24904169689Skan
24905169689Skan	2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
24906169689Skan
24907169689Skan		* config/mips/mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120.
24908169689Skan		(TARGET_MIPS4121): Rename to TARGET_MIPS4120.
24909169689Skan		* config/mips/mips.c (mips_cpu_info): Rename vr4121 to vr4120.
24910169689Skan		* config/mips/mips.md: Apply same renaming here.
24911169689Skan
24912169689Skan	2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
24913169689Skan
24914169689Skan		* config/mips/mips.c (PROCESSOR_R4320, TARGET_MIPS4320): Remove.
24915169689Skan		(GENERATE_MULT3_SI): Remove use of TARGET_MIPS4320.
24916169689Skan		* config/mips/mips.c (mips_cpu_info): Remove vr4320 entry.
24917169689Skan		* config/mips/mips.md (define_attr cpu): Remove r4320.
24918169689Skan		Remove vr4320 scheduler and uses of TARGET_MIPS4320.
24919169689Skan
24920169689Skan	2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
24921169689Skan
24922169689Skan		* config/mips/mips.c (mips16_strings): New variable.
24923169689Skan		(mips_output_function_epilogue): Clear the SYMBOL_REF_FLAG of every
24924169689Skan		symbol in mips16_strings.  Free the list.
24925169689Skan		(mips_encode_section_info): Keep track of local strings.
24926169689Skan
24927169689Skan	2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
24928169689Skan
24929169689Skan		* config/mips/mips.md (bunge, bltgt, bungt): New define_expands.
24930169689Skan		(sordered_df, sordered_sf): Remove.
24931169689Skan		* config/mips/mips.c (get_float_compare_codes): New fn.
24932169689Skan		(gen_int_relational, gen_conditional_move): Use it.
24933169689Skan
24934169689Skan	2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
24935169689Skan
24936169689Skan		* config/mips/mips-protos.h (mips_emit_fcc_reload): Declare.
24937169689Skan		* config/mips/mips.h (PREDICATE_CODES): Add fcc_register_operand.
24938169689Skan		* config/mips/mips.c (fcc_register_operand): New function.
24939169689Skan		(mips_emit_fcc_reload): New function, extracted from reload_incc.
24940169689Skan		(override_options): Allow TFmode values in float registers
24941169689Skan		if ISA_HAS_8CC.
24942169689Skan		* cnfig/mips/mips.md (reload_incc): Change destination prediate
24943169689Skan		to fcc_register_operand.  Remove misleading source constraint.
24944169689Skan		Use mips_emit_fcc_reload.
24945169689Skan		(reload_outcc): Duplicate reload_incc.
24946169689Skan
24947169689Skan
24948169689Skan2003-04-30  Diego Novillo  <dnovillo@redhat.com>
24949169689Skan
24950169689Skan	* builtins.def (BUILTIN_CONSTANT_P): Mark as constant.
24951169689Skan
24952169689Skan2003-04-30  Geoffrey Keating  <geoffk@apple.com>
24953169689Skan
24954169689Skan	* tree-inline.c (inlinable_function_p): Back out last change, it's
24955169689Skan	unnecessary.
24956169689Skan
24957169689Skan2003-04-30  Steven Bosscher  <steven@gcc.gnu.org>
24958169689Skan
24959169689Skan	* ggc-page.c (TREE_EXP_SIZE): Define.
24960169689Skan	(extra_order_size_table): New entry for expr trees with
24961169689Skan	two operands.
24962169689Skan
24963169689Skan2003-04-30  Gabriel Dos Reis <gdr@integrable-solutions.net>
24964169689Skan
24965169689Skan	* c-common.c (if_elt): Use location_t in lieu of "file, line" pair.
24966169689Skan	(c_expand_start_cond): Adjust.
24967169689Skan	(c_expand_end_cond): Don't use warning_with_file_and_file.
24968169689Skan	(shadow_warning): Likewise.
24969169689Skan
24970169689Skan2003-04-30  Nathan Sidwell  <nathan@codesourcery.com>
24971169689Skan
24972169689Skan	* tree.h (DECL_POINTER_DEPTH): Remove.
24973169689Skan	(struct tree_decl): Remove pointer_depth.
24974169689Skan
24975169689Skan2003-04-30  Janis Johnson  <janis187@us.ibm.com>
24976169689Skan
24977169689Skan	* config/rs6000/linux64.h (ASM_OUTPUT_LABELREF): Remove.
24978169689Skan	* config/rs6000/rs6000.c (rs6000_elf_strip_name_encoding): Remove.
24979169689Skan	(rs6000_xcoff_encode_section_info): Remove.
24980169689Skan	(current_file_function_operand): Use SYMBOL_REF_FLAGS; fix latent bug.
24981169689Skan	(rs6000_output_mi_thunk): Remove dead code; use SYMBOL_REF_FLAGS.
24982169689Skan	(small_data_operand, rs6000_emit_move, rs6000_elf_in_small_data_p,):
24983169689Skan	Use SYMBOL_REF_FLAGS.
24984169689Skan	(rs6000_elf_encode_section_info): Call default_encode_section_info for
24985169689Skan	generic flags, use SYMBOL_REF_FLAGS; code cleanups.
24986169689Skan	* sysv4.h (TARGET_STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Remove.
24987169689Skan	(SYMBOL_FLAG_SMALL_V4, SYMBOL_REF_SMALL_V4_P): New.
24988169689Skan	* xcoff.h (TARGET_ENCODE_SECTION_INFO): Remove.
24989169689Skan	(ASM_DECLARE_FUNCTION_NAME): Remove setting of SYMBOL_REF_FLAG.
24990169689Skan
24991169689Skan2003-04-30  Gabriel Dos Reis <gdr@integrable-solutions.net>
24992169689Skan
24993169689Skan	* diagnostic.c (output_pointer): Use HOST_PTR_PRINTF.
24994169689Skan
24995169689Skan2003-04-30  Andreas Schwab  <schwab@suse.de>
24996169689Skan
24997169689Skan	* doc/extend.texi (Other Builtins): Enclose multiple word data
24998169689Skan	type in braces for @deftypefn.
24999169689Skan
25000169689Skan2003-04-30  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
25001169689Skan
25002169689Skan	* stor-layout.c (mode_for_size_tree): Use BLKmode if SIZE overflows.
25003169689Skan
25004169689Skan	* doc/install.texi (--enable-threads): Document "gnat" option.
25005169689Skan
25006169689Skan2003-04-30  Gabriel Dos Reis <gdr@integrable-solutions.net>
25007169689Skan
25008169689Skan	* diagnostic.h (output_formatted_scalar): Tweak.
25009169689Skan	* diagnostic.c (output_long_decimal): Likewise.
25010169689Skan	(output_unsigned_decimal): Likewise.
25011169689Skan	(output_long_unsigned_decimal): Likewise.
25012169689Skan	(output_octal): Likewise.
25013169689Skan	(output_long_octal): Likewise.
25014169689Skan	(output_hexadecimal): Likewise.
25015169689Skan	(output_long_hexadecimal): Likewise.
25016169689Skan	(output_pointer): New function.
25017169689Skan	(output_format): Use it.  Recognize "%p" format specifier.
25018169689Skan
25019169689Skan2003-04-30  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
25020169689Skan
25021169689Skan	* function.c (purge_addressof_1): Postpone insn in fewer cases.
25022169689Skan
25023169689Skan2003-04-29  Geoffrey Keating  <geoffk@apple.com>
25024169689Skan
25025169689Skan	* config/rs6000/host-darwin.c (segv_handler): When -dH is used,
25026169689Skan	call abort() after running out of stack space.
25027169689Skan
25028169689Skan	* c-typeck.c (function_types_compatible_p): Ignore incompatible
25029169689Skan	'volatile' qualifiers on a function's return type in GNU mode.
25030169689Skan
25031169689Skan2003-04-29  Aldy Hernandez  <aldyh@redhat.com>
25032169689Skan
25033169689Skan	* expr.c (emit_group_load): Dump parallels of simd types to
25034169689Skan	memory.
25035169689Skan
25036169689Skan2003-04-29  Vladimir Makarov  <vmakarov@redhat.com>
25037169689Skan
25038169689Skan	* genautomata.c (add_vect): Check undefined value for range type
25039169689Skan	too.
25040169689Skan
25041169689Skan2003-04-29  Phil Edwards  <pme@gcc.gnu.org>
25042169689Skan
25043169689Skan	* configure.in:  More general test for cmp --ignore-initial.
25044169689Skan	* configure:  Regenerate.
25045169689Skan
25046169689Skan2003-04-29  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
25047169689Skan
25048169689Skan	* stor-layout.c (mode_for_size_tree): Use tree_low_cst.
25049169689Skan	(layout_decl, place_field): Likewise.
25050169689Skan	Also make minor type and whitespace changes.
25051169689Skan
25052169689Skan	* tree.c (save_expr): Don't fold a COMPONENT_REF.
25053169689Skan
25054169689Skan2003-04-29  Olivier Hainque <hainque@act-europe.fr>
25055169689Skan
25056169689Skan	* calls.c (expand_call): When modes of target and valreg match,	force
25057169689Skan	sibcall failure when target is a MEM.
25058169689Skan
25059169689Skan2003-04-29  Geoffrey Keating  <geoffk@apple.com>
25060169689Skan
25061169689Skan	* tree-inline.c (inlinable_function_p): Don't support inlining
25062169689Skan	functions using varargs.
25063169689Skan
25064169689Skan	* doc/invoke.texi (Overall Options): Mention -x objective-c-header.
25065169689Skan
25066169689Skan	* dwarf2out.c (output_call_frame_info): No need to output EH
25067169689Skan	unwind information if all_throwers_are_sibcalls.
25068169689Skan
25069169689Skan	* c-semantics.c (expand_unreachable_stmt): Return a tree.
25070169689Skan	(expand_stmt): Update for change to expand_unreachable_stmt.
25071169689Skan	(expand_unreachable_if_stmt): Likewise.
25072169689Skan
25073169689Skan	* Makefile.in (quickstrap): Pass BOOT_CFLAGS to submake.
25074169689Skan
25075169689Skan2003-04-29  Jason Merrill  <jason@redhat.com>
25076169689Skan
25077169689Skan	PR middle-end/10336
25078169689Skan	* jump.c (never_reached_warning): Really stop looking if we reach
25079169689Skan	the beginning of the function.
25080169689Skan
25081169689Skan2003-04-29  Bob Wilson  <bob.wilson@acm.org>
25082169689Skan
25083169689Skan	* config/xtensa/elf.h (SIZE_TYPE, PTRDIFF_TYPE, USER_LABEL_PREFIX):
25084169689Skan	Remove redundant macros.
25085169689Skan	(WCHAR_TYPE, WCHAR_TYPE_SIZE): Change to "short unsigned int".
25086169689Skan	(LOCAL_LABEL_PREFIX): Define unconditionally.
25087169689Skan	(NO_DOT_IN_LABEL): Clarify comment.
25088169689Skan	* config/xtensa/linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Add explicit
25089169689Skan	definition to "long int".
25090169689Skan
25091169689Skan2003-04-29  Alexander Kabaev  <kan@FreeBSD.ORG>
25092169689Skan
25093169689Skan	bootstrap/10452
25094169689Skan	* gengtype-yacc.y: Improve portability.
25095169689Skan
25096169689Skan2003-04-29  Zack Weinberg  <zack@codesourcery.com>
25097169689Skan
25098169689Skan	* config.gcc: Install obsolete target list for GCC 3.3.
25099169689Skan	* doc/install.texi: Mention in specific-target instructions
25100169689Skan	that certain configurations are deprecated.
25101169689Skan
25102169689Skan2003-04-29  Zack Weinberg  <zack@codesourcery.com>
25103169689Skan
25104169689Skan	* tree.h: Delete no-checking definition of CST_OR_CONSTRUCTOR_CHECK.
25105169689Skan
25106169689Skan2003-04-29  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
25107169689Skan
25108169689Skan	* c-pragma.c (maybe_apply_renaming_pragma): Fix typo.
25109169689Skan	* gcc.c (display_help): Likewise.
25110169689Skan	* toplev.c (f_options): Likewise.
25111169689Skan	* params.def (PARAM_MAX_INLINE_SCOPE): Likewise.
25112169689Skan	* config/c4x/c4x.h (TARGET_SWITCHES): Likewise.
25113169689Skan	* config/mcore/mcore.h (TARGET_SWITCHES): Likewise.
25114169689Skan	* config/s390/s390.h (TARGET_SWITCHES): Likewise.
25115169689Skan	* config/v850/v850.h (TARGET_SWITCHES): Likewise.
25116169689Skan
25117169689Skan2003-04-29  J"orn Rennecke <joern.rennecke@superh.com>
25118169689Skan
25119169689Skan	* varasm.c (default_assemble_visibility): Use assemble_name.
25120169689Skan
25121169689Skan2003-04-29  David O'Brien  <obrien@FreeBSD.org>
25122169689Skan
25123169689Skan	* config/i386/freebsd64.h (LINK_SPEC): Mirror FreeBSD linker.
25124169689Skan	* config/rs6000/freebsd.h (LINK_SHLIB_SPEC): New macro.
25125169689Skan	(SIZE_TYPE): New macro.
25126169689Skan	* config/i386/freebsd-aout.h (NO_PROFILE_COUNTERS): New macro.
25127169689Skan	(SET_ASM_OP): New macro.
25128169689Skan	(HANDLE_SYSV_PRAGMA): New macro.
25129169689Skan	(ASM_WEAKEN_LABEL): New macro.
25130169689Skan
25131169689Skan2003-04-28  Mark Mitchell  <mark@codesourcery.com>
25132169689Skan
25133169689Skan	PR c++/10180
25134169689Skan	* tree-inline.c (expand_call_inline): Call push_srcloc when
25135169689Skan	encountering EXPR_WITH_FILE_LOCATION.  Honor warn_inline.
25136169689Skan
25137169689Skan2003-04-28  Mike Stump  <mrs@apple.com>
25138169689Skan
25139169689Skan	* gdbinit.in: Update to reflect new identifier structure.
25140169689Skan
25141169689Skan2003-04-28  Zack Weinberg  <zack@codesourcery.com>
25142169689Skan
25143169689Skan	* tree.h (TREE_CST_RTL, CST_OR_CONSTRUCTOR_CHECK): Delete.
25144169689Skan	(struct tree_int_cst, struct tree_real_cst, struct tree_string,
25145169689Skan	struct tree_complex, struct tree_vector): Remove RTL field.
25146169689Skan	(CONSTRUCTOR_ELTS): Use elt 0.
25147169689Skan	* tree.def (CONSTRUCTOR): Delete first of its two operands.
25148169689Skan	* varasm.c (output_constant_def): Remove early exit if
25149169689Skan	TREE_CST_RTL is set.  Don't set TREE_CST_RTL.
25150169689Skan	(decode_addr_const): Don't mention TREE_CST_RTL in comment.
25151169689Skan	* target.h (select_section): Don't mention TREE_CST_RTL in comment.
25152169689Skan	* doc/tm.texi (encode_section_info): Don't talk about TREE_CST_RTL.
25153169689Skan
25154169689Skan2003-04-28  Jakub Jelinek  <jakub@redhat.com>
25155169689Skan
25156169689Skan	* c-decl.c (finish_decl): When prototype with asmspec is found
25157169689Skan	for built-in, adjust built_in_decls as well as expr.c decls.
25158169689Skan	* expr.c (init_block_move_fn, init_block_clear_fn): New functions.
25159169689Skan	(emit_block_move_libcall_fn, clear_storage_libcall_fn): Use it.
25160169689Skan	* expr.c (init_block_move_fn, init_block_clear_fn): New prototypes.
25161169689Skan
25162169689Skan2003-04-28  Richard Henderson  <rth@redhat.com>
25163169689Skan
25164169689Skan	* config/sparc/sparc.c (print_operand): Add 's' to sign-extend.
25165169689Skan	* config/sparc/sparc.md (const_mulsidi3_v8plus): Fix mode of
25166169689Skan	integral constant mult operand.
25167169689Skan	(const_mulsidi3_sp32, const_mulsidi3_sp64): Likewise.
25168169689Skan	(const_smulsi3_highpart_v8plus): Likewise.
25169169689Skan	(const_smulsi3_highpart): Likewise.
25170169689Skan	(const_umulsidi3_sp32): Likewise; sign-extend it in the output.
25171169689Skan	(const_umulsidi3_sp64, const_umulsidi3_v8plus): Likewise.
25172169689Skan	(const_umulsi3_highpart_v8plus): Likewise.
25173169689Skan	(const_umulsi3_highpart): Likewise.
25174169689Skan
25175169689Skan2003-04-28  David O'Brien  <obrien@FreeBSD.org>
25176169689Skan
25177169689Skan	* config/i386/x86-64.h (NO_PROFILE_COUNTERS, HAVE_AS_DWARF2_DEBUG_LINE):
25178169689Skan	Define as 1.
25179169689Skan
25180169689Skan2003-04-28  David O'Brien  <obrien@FreeBSD.org>
25181169689Skan
25182169689Skan	* config/i386/i386.h (builtin_define): Add __amd64 and __amd64__.
25183169689Skan
25184169689Skan2003-04-28  Jakub Jelinek  <jakub@redhat.com>
25185169689Skan
25186169689Skan	* builtins.def (BUILT_IN_BCOPY, BUILT_IN_MEMMOVE): New.
25187169689Skan	* builtin-types.def (BT_FN_VOID_CONST_PTR_PTR_SIZE): New.
25188169689Skan	* builtins.c (expand_builtin_memmove, expand_builtin_bcopy): New
25189169689Skan	functions.
25190169689Skan	(expand_builtin): Handle BUILT_IN_BCOPY and BUILT_IN_MEMMOVE.
25191169689Skan
25192169689Skan2003-04-28  Nick Clifton  <nickc@redhat.com>
25193169689Skan
25194169689Skan	* config/arm/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Remove definition.
25195169689Skan
25196169689Skan2003-04-27  Zack Weinberg  <zack@codesourcery.com>
25197169689Skan
25198169689Skan	* expr.c (expand_expr <COMPLEX_CST, STRING_CST>): Always call
25199169689Skan	output_constant_def, use its result instead of TREE_CST_RTL (exp).
25200169689Skan	Can assume it has the form (mem (symbol_ref ".LCxxx")).
25201169689Skan	(expand_expr <COMPONENT_REF>): Can always just extract the
25202169689Skan	relevant field of a CONSTRUCTOR.
25203169689Skan	(expand_expr <ARRAY_REF, COMPONENT_REF, BIT_FIELD_REF,
25204169689Skan	ARRAY_RANGE_REF>): Make control flow explicit.
25205169689Skan	* varasm.c (output_constant_def): Can look at TREE_CST_RTL of
25206169689Skan	an INTEGER_CST.
25207169689Skan
25208169689Skan2003-04-27  Kazu Hirata  <kazu@cs.umass.edu>
25209169689Skan
25210169689Skan	* reload1.c (reg_set_luid): Fix a comment typo.
25211169689Skan
25212169689Skan2003-04-27  Zack Weinberg  <zack@codesourcery.com>
25213169689Skan
25214169689Skan	* varasm.c (const_str_htab_hash, const_str_htab_eq, STRHASH,
25215169689Skan	struct deferred_string, const_str_htab): Kill.
25216169689Skan	(n_deferred_strings): New static variable.
25217169689Skan	(build_constant_desc): Set SYMBOL_REF_DECL of the new
25218169689Skan	symbol_ref to point to the constant.
25219169689Skan	(output_constant_def): When a deferred string is forced out,
25220169689Skan	just clear STRING_POOL_ADDRESS_P and decrement n_deferred_strings.
25221169689Skan	(mark_constant): Likewise.
25222169689Skan	(maybe_output_constant_def_contents): When deferring a string
25223169689Skan	constant, just set STRING_POOL_ADDRESS_P and increment
25224169689Skan	n_deferred_strings.
25225169689Skan	(mark_constant_pool): Check n_deferred_strings, not the size
25226169689Skan	of const_str_htab.
25227169689Skan	(init_varasm_once): No need to create const_str_htab.
25228169689Skan
25229169689Skan	* rtl.def, rtl.h, doc/rtl.texi: Document possibility that
25230169689Skan	SYMBOL_REF_DECL points to a constant.
25231169689Skan
25232169689Skan2003-04-26  Zack Weinberg  <zack@codesourcery.com>
25233169689Skan
25234169689Skan	* varasm.c (output_constant_def): Split out two new static
25235169689Skan	functions, build_constant_desc and maybe_output_constant_def_contents.
25236169689Skan	Restructure for comprehensibility.  Don't call
25237169689Skan	output_addressed_constants.  Treat defstr being non-NULL for
25238169689Skan	STRING_POOL_ADDRESS_P constants as an invariant.
25239169689Skan	(struct deferred_string): Remove labelno field.
25240169689Skan	(output_constant_def_contents): Kill labelno argument. Call
25241169689Skan	output_addressed_constants here.  Use ASM_OUTPUT_LABEL,	not
25242169689Skan	asm_out.internal_label.
25243169689Skan	(mark_constant): Update call to	output_constant_def_contents.
25244169689Skan	Treat defstr being non-NULL for STRING_POOL_ADDRESS_P
25245169689Skan	constants as an invariant.
25246169689Skan
25247169689Skan2003-04-26  Richard Henderson  <rth@redhat.com>
25248169689Skan
25249169689Skan	* config/i386/i386.c (output_pic_addr_const): Use SYMBOL_REF_LOCAL_P.
25250169689Skan	(ix86_expand_call, ix86_rtx_consts): Likewise.
25251169689Skan
25252169689Skan2003-04-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25253169689Skan
25254169689Skan	* doc/md.texi (cmpstr): Document additional restrictions.
25255169689Skan
25256169689Skan2003-04-26  Neil Booth  <neil@daikokuya.co.uk>
25257169689Skan
25258169689Skan	* flags.h (time_report): Remove.
25259169689Skan	* timevar.c (timevar_enable): New.
25260169689Skan	(TIMEVAR_ENABLE): Remove, use timevar_enable.
25261169689Skan	(timevar_init): Rename from init_timevar.
25262169689Skan	* timevar.h (timevar_init): Rename from init_timevar.
25263169689Skan	* toplev.c (time_report): Make static.
25264169689Skan	(do_compile): Conditionally call init_timevar first.
25265169689Skan	(preprocess_options): Move some code to do_compile.
25266169689Skan
25267169689Skan2003-04-26  Stephane Carrez  <stcarrez@nerim.fr>
25268169689Skan
25269169689Skan	* doc/install.texi (Binaries): Mention binaries for HC11/HC12.
25270169689Skan
25271169689Skan2003-04-26  Neil Booth  <neil@daikokuya.co.uk>
25272169689Skan
25273169689Skan	* _cpp_lex_direct: Remove pointless code.
25274169689Skan
25275169689Skan2003-04-26 Stephane Carrez <stcarrez@nerim.fr>
25276169689Skan
25277169689Skan	* doc/extend.texi (Function Attributes): Document "near" and "far"
25278169689Skan	for 68HC11 and 68HC12.
25279169689Skan
25280169689Skan2003-04-25  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
25281169689Skan
25282169689Skan	* expr.c (store_field): When making temporary for store, don't
25283169689Skan	make it TYPE_QUAL_CONST.
25284169689Skan
25285169689Skan2003-04-25  Phil Edwards  <pme@gcc.gnu.org>
25286169689Skan
25287169689Skan	* toplev.c (read_integral_parameter):  Use "argument" in error
25288169689Skan	message to distinguish it from actual invalid options.
25289169689Skan
25290169689Skan2003-04-25  Bob Wilson  <bob.wilson@acm.org>
25291169689Skan
25292169689Skan	* config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Back out previous
25293169689Skan	addition of __PIC__ and __pic__ macros.
25294169689Skan	* config/xtensa/xtensa.h: Clean up indentation.
25295169689Skan
25296169689Skan2003-04-25  Bob Wilson  <bob.wilson@acm.org>
25297169689Skan
25298169689Skan	* config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Remove definition of
25299169689Skan	_GNU_SOURCE.  Add definitions of __PIC__ and __pic__.
25300169689Skan	(SUBTARGET_CPP_SPEC): Define.
25301169689Skan	(LIB_SPEC): Delete.
25302169689Skan	* config/xtensa/xtensa-protos.h (xtensa_declare_object): Delete.
25303169689Skan	* config/xtensa/xtensa.c (xtensa_declare_object): Delete.
25304169689Skan	* config/xtensa/xtensa.h (CPP_SPEC, SUBTARGET_CPP_SPEC, EXTRA_SPECS):
25305169689Skan	Define.
25306169689Skan	(ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Delete.
25307169689Skan	(ASM_OUTPUT_ALIGNED_BSS, BSS_SECTION_ASM_OP): Define.
25308169689Skan
25309169689Skan2003-04-25  H.J. Lu <hjl@gnu.org>
25310169689Skan
25311169689Skan	* config/ia64/ia64.c (ia64_expand_compare_and_swap): Add rmode
25312169689Skan	for return mode.
25313169689Skan	(ia64_expand_builtin): Set rmode to SImode for
25314169689Skan	IA64_BUILTIN_BOOL_COMPARE_AND_SWAP_SI,
25315169689Skan	IA64_BUILTIN_VAL_COMPARE_AND_SWAP_SI and
25316169689Skan	IA64_BUILTIN_BOOL_COMPARE_AND_SWAP_DI. Set remode to DImode
25317169689Skan	for IA64_BUILTIN_VAL_COMPARE_AND_SWAP_DI.
25318169689Skan
25319169689Skan2003-04-25  Phil Edwards  <pme@gcc.gnu.org>
25320169689Skan
25321169689Skan	* configure.in (make_compare_target):  Test for GNU cmp and set this
25322169689Skan	variable appropriately.
25323169689Skan	* Makefile.in (compare, compare3, compare4, compare-lean, compare3-lean,
25324169689Skan	compare4-lean): Rename actual targets to slowcompare*.  New compare*
25325169689Skan	targets depend on names based on make_compare_target.
25326169689Skan	* configure:  Regenerated.
25327169689Skan
25328169689Skan2003-04-25  Richard Henderson  <rth@redhat.com>
25329169689Skan
25330169689Skan	* config/ia64/ia64.c (ia64_compute_frame_size): Allow inline asm
25331169689Skan	to clobber ar.pfs and ar.unat.
25332169689Skan	(ia64_expand_prologue): Force alloc instruction if ar.pfs saved;
25333169689Skan	fix test for spilling ar.pfs to the stack.
25334169689Skan
25335169689Skan2003-04-25  Richard Henderson  <rth@redhat.com>
25336169689Skan
25337169689Skan	PR opt/10315
25338169689Skan	* config/rs6000/rs6000.c (rs6000_emit_move): Only elide proper
25339169689Skan	checks during reload; use validize_mem instead of adjust_address.
25340169689Skan
25341169689Skan2003-04-26  Ben Elliston  <bje@wasabisystems.com>
25342169689Skan
25343169689Skan	* config/arm/arm.c (arm_adjust_cost): Correct logic that tests the
25344169689Skan	return values from recog_memoized().
25345169689Skan
25346169689Skan2003-04-24  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
25347169689Skan
25348169689Skan	PR opt/8705
25349169689Skan	* gcse.c (try_replace_reg): On a successful substitution of a constant
25350169689Skan	into a single set, try to simplify the source of the set.
25351169689Skan	* loop.c (scan_loop): Don't try to optimize a MODE_CC set with a
25352169689Skan	constant source.
25353169689Skan
25354169689Skan2003-04-24  Neil Booth  <neil@daikokuya.co.uk>
25355169689Skan
25356169689Skan	* cpplex.c (cpp_token_len): Tighten up.
25357169689Skan	(cpp_token_as_text): Need extra byte now.
25358169689Skan	* cpplib.c (glue_header_name): Need extra 2 bytes.
25359169689Skan	* cppmacro.c (cpp_macro_definition): Need extra byte.
25360169689Skan
25361169689Skan2003-04-24  Alexander Kabaev <kan@FreeBSD.ORG>
25362169689Skan
25363169689Skan	* config/sparc/sparc.md (umulsidi3, mulsidi3): Avoid using
25364169689Skan	const_umulsidi3_sp32 and const_mulsidi3_sp32 on 64bit targets
25365169689Skan	where they might be not present. Use their _sp64 equivalent
25366169689Skan	instead.
25367169689Skan
25368169689SkanThu Apr 24 20:42:12 CEST 2003  Jan Hubicka  <jh@suse.cz>
25369169689Skan
25370169689Skan	* i386.md (cvtsi2sdq): Fix typo in previous patch.
25371169689Skan
25372169689Skan2003-04-24  Krister Walfridsson  <cato@df.lth.se>
25373169689Skan
25374169689Skan	* configure.in: Check whether mbstowcs works.
25375169689Skan	* configure, config.in: Regenerate.
25376169689Skan	* intl.c: Use HAVE_WORKING_MBSTOWCS.
25377169689Skan
25378169689Skan2003-04-24  H.J. Lu <hjl@gnu.org>
25379169689Skan
25380169689Skan	* config/ia64/ia64.c (ia64_init_builtins): Add si_ftype_pdi_di_di
25381169689Skan	for __sync_bool_compare_and_swap_di for int return type.
25382169689Skan
25383169689Skan	* config/ia64/ia64intrin.h (__sync_bool_compare_and_swap_di):
25384169689Skan	Change return type to int.
25385169689Skan	(__sync_bool_compare_and_swap): Likewise.
25386169689Skan
25387169689SkanThu Apr 24 16:55:26 CEST 2003  Jan Hubicka  <jh@suse.cz>
25388169689Skan
25389169689Skan	* cfgbuild.c (make_edges):  Do not use next_nonnote_insn when
25390169689Skan	looking for fallthru edge.
25391169689Skan
25392169689Skan	* athlon.md (athlon-agu, athlon-store, athlon-fany, athlon-faddmul):
25393169689Skan	Fix.
25394169689Skan	(athlon-load2, athlon-store2, athlon-fpsched, athlon-fpload,
25395169689Skan	athlon-fvector): New.
25396169689Skan	(athlon_*): Revisit to match new optimization guide.
25397169689Skan	* i386.c (ix86_adjust_cost):  Fix memory operand costs on Athlon/k8
25398169689Skan	* i386.md (cvt??2?? patterns): Fix modes.
25399169689Skan	(fistp patterns): Set modes.
25400169689Skan
25401169689Skan	Accidentaly commited with my earlier reload patch:
25402169689Skan	PR c/10308
25403169689Skan	* reload.c (find_reloads_address_1): Reload plus at the place of
25404169689Skan	index register.
25405169689Skan
25406169689Skan2003-04-24  Nathan Sidwell  <nathan@codesourcery.com>
25407169689Skan
25408169689Skan	New GCOV_TAG_FUNCTION layout
25409169689Skan	* coverage.c (struct function_list): Replace name with ident.
25410169689Skan	(struct counts_entry): Likewise.
25411169689Skan	(fn_ident): New.
25412169689Skan	(htab_counts_entry_hash, htab_counts_entry_eq,
25413169689Skan	htab_counts_entry_del): Adjust.
25414169689Skan	(reads_count_file, get_coverage_counts,
25415169689Skan	coverage_begin_output, coverage_end_function): Adjust.
25416169689Skan	(build_fn_info_type, build_fn_info_value): Likewise.
25417169689Skan	* gcov-dump.c (tag_function): Adjust.
25418169689Skan	* gcov-io.c (gcov_write_string, gcov_read_string): Not in LIBGCOV.
25419169689Skan	* gcov-io.h (gcov_write_string, gcov_read_string): Not in LIBGCOV.
25420169689Skan	* gcov.c (struct function_info): Add ident.
25421169689Skan	(read_graph_file, read_count_file): Adjust.
25422169689Skan	* libgcov.c (gcov_exit): Adjust.
25423169689Skan
25424169689Skan2003-04-23  Richard Henderson  <rth@redhat.com>
25425169689Skan
25426169689Skan	PR opt/8300
25427169689Skan	* toplev.c (rest_of_compilation): Delay no_new_pseudos until
25428169689Skan	after initialize_uninitialized_subregs; update reg info assuming
25429169689Skan	new pseudos were created.
25430169689Skan
25431169689Skan2003-04-23  Neil Booth  <neil@daikokuya.co.uk>
25432169689Skan
25433169689Skan	* Makefile.in (c-lex.o, LIBCPP_OBJS, cpplex.o): Update.
25434169689Skan	* c-lex.c (MULTIBYTE_CHARS): Remove conditionals.
25435169689Skan	(lex_string): Take cpp_string with full spelling.
25436169689Skan	(cb_ident): Update.
25437169689Skan	(c_lex): Update diagnostics.
25438169689Skan	* cpplex.c (SPELL_NUMBER, SPELL_STRING): Combine into SPELL_LITERAL.
25439169689Skan	(create_literal): New.
25440169689Skan	(lex_string): Unterminated literals have type CPP_OTHER.
25441169689Skan	(_cpp_lex_direct): Update calls to lex_string.  Use create_literal
25442169689Skan	for CPP_OTHER.
25443169689Skan	(cpp_token_len, cpp_spell_token, cpp_output_token): Simplify.
25444169689Skan	(_cpp_equiv_tokens, cpp_interpret_charconst): Update.
25445169689Skan	* cpplib.c (parse_include, do_line, do_linemarker,
25446169689Skan	destringize_and_run): Update for token storing full spelling.
25447169689Skan	* cpplib.h: Update token spelling types.
25448169689Skan	* cppmacro.c (stringify_arg, check_trad_stringification):
25449169689Skan	Update for token storing full spelling.
25450169689Skan
25451169689Skan2003-04-23  Ulrich Weigand  <uweigand@de.ibm.com>
25452169689Skan
25453169689Skan	* config/s390/s390.c (s390_expand_cmpstr): Disable CLC loop.
25454169689Skan
25455169689Skan2003-04-23  Richard Earnshaw  <rearnsha@arm.com>
25456169689Skan
25457169689Skan	* arm.h (TARGET_OPTIONS): Add value field.
25458169689Skan
25459169689Skan2003-04-23  Mark Mitchell  <mark@codesourcery.com>
25460169689Skan
25461169689Skan	* doc/extend.texi: Remove duplicate 2003 copyright date.
25462169689Skan
25463169689Skan2003-04-23  Nathan Sidwell  <nathan@codesourcery.com>
25464169689Skan
25465169689Skan	* Makefile.in (LIBGCC_DEPS): Add gcov headers.
25466169689Skan	(libgcov.a): Depends on LIBGCC_DEPS.
25467169689Skan	* basic-block.h (profile_info): Moved here from coverage.h. Made
25468169689Skan	a pointer.
25469169689Skan	* coverage.c (struct function_list): Fixed array of counter types.
25470169689Skan	(struct counts_entry): Keyed by counter type, contains summary.
25471169689Skan	(profile_info): Moved to profile.c.
25472169689Skan	(prg_ctr_mask, prg_n_ctrs, fn_ctr_mask, fn_n_ctrs): New global
25473169689Skan	vars.
25474169689Skan	(profiler_label): Remove.
25475169689Skan	(ctr_labels): New.
25476169689Skan	(set_purpose, label_for_tag, build_counter_section_fields,
25477169689Skan	build_counter_section_value, build_counter_section_data_fields,
25478169689Skan	build_counter_section_data_values, build_function_info_fields,
25479169689Skan	build_function_info_value, gcov_info_fields, gcov_info_value): Remove.
25480169689Skan	(build_fn_info_type, build_fn_info_value, build_ctr_info_type,
25481169689Skan	build_ctr_info_value, build_gcov_info): New.
25482169689Skan	(htab_counts_entry_hash, htab_counts_entry_eq): Adjust.
25483169689Skan	(reads_counts_file): Adjust.
25484169689Skan	(get_coverage_counts): Takes counter number. Add summary
25485169689Skan	parameter. Adjust.
25486169689Skan	(coverage_counter_ref): Tkaes counter number. Adjust. Lazily
25487169689Skan	create counter array labels.
25488169689Skan	(coverage_end_function): Adjust.
25489169689Skan	(create_coverage): Adjust.
25490169689Skan	(find_counters_section): Remove.
25491169689Skan	* coverage.h (MAX_COUNTER_SECTIONS): Remove.
25492169689Skan	(struct section_info, struct profile_info): Remove.
25493169689Skan	(profile_info): Moved to basic-block.h.
25494169689Skan	(coverage_counter_ref): Takes a counter number.
25495169689Skan	(get_coverage_counts): Takes a counter number. Added summary
25496169689Skan	parameter.
25497169689Skan	(find_counters_section): Remove.
25498169689Skan	* gcov-dump.c (tag_arc_counts): Rename to ...
25499169689Skan	(tag_counters): ... here. Adjust.
25500169689Skan	(tag_table): Move tag_counters to 3rd entry. Remove
25501169689Skan	PROGRAM_PLACEHOLDER and PROGRAM_INCORRECT entries.
25502169689Skan	(dump_file): Check for counter tag values here.
25503169689Skan	(tag_summary): Adjust.
25504169689Skan	* gcov-io.c (gcov_write_summary, gcov_read_summary): Adjust.
25505169689Skan	* gcov-io.h (GCOV_LOCKED): New.
25506169689Skan	(GCOV_TAG_ARC_COUNTS): Rename to ...
25507169689Skan	(GCOV_TAG_COUNTS_BASE): ... here.
25508169689Skan	(GCOV_TAG_PLACEHOLDER_SUMMARY, GCOV_TAG_INCORRECT_SUMMARY):
25509169689Skan	Remove.
25510169689Skan	(GCOV_COUNTER_ARCS, GCOV_COUNTERS, GCOV_NAMES): New.
25511169689Skan	(GCOV_TAG_FOR_COUNTER, GCOV_COUNTER_FOR_TAG,
25512169689Skan	GCOV_TAG_IS_COUNTER): New.
25513169689Skan	(struct gcov_ctr_summary): New.
25514169689Skan	(struct gcov_summary): Adjust.
25515169689Skan	(struct gcov_counter_section): Remove.
25516169689Skan	struct gcov_counter_section_data): Remove.
25517169689Skan	(struct gcov_function_info): Rename to ...
25518169689Skan	(struct gcov_fn_info): ... here. Adjust.
25519169689Skan	(struct gcov_ctr_info): New.
25520169689Skan	(struct gcov_info): Adjust.
25521169689Skan	* gcov.c (read_count_file): Adjust.
25522169689Skan	(output_lines): Adjust.
25523169689Skan	* libgcov.c (gcov_exit): Adjust.
25524169689Skan	(__gcov_flush): Adjust.
25525169689Skan	* mklibgcc.in (libgcc2_c_dep): Add gcov headers.
25526169689Skan	* predict.c (maybe_hot_bb_p, probably_cold_bb_p,
25527169689Skan	probably_never_executed_bb_p, compute_frequency_function): Adjust
25528169689Skan	profile_info use.
25529169689Skan	* profile.c (struct counts_entry): Remove.
25530169689Skan	(profile_info): Define here.
25531169689Skan	(get_exec_counts): Adjust get_coverage_counts call.
25532169689Skan	(compute_branch_probablilities): Remove find_counters_section
25533169689Skan	call.
25534169689Skan	(gen_edge_profiler): Adjust coverage_counter_ref call.
25535169689Skan	* tracer.c (tail_duplicate): Adjust profile_info use.
25536169689Skan
25537169689Skan2003-04-23  Roger Sayle  <roger@eyesopen.com>
25538169689Skan
25539169689Skan	PR optimization/10339
25540169689Skan	* builtins.c (expand_builtin_strcmp): Try to emit cmpstrsi insn
25541169689Skan	directly instead of unsafely transforming call into a memcmp.
25542169689Skan	(expand_builtin_strncmp): Likewise.
25543169689Skan
25544169689Skan2003-04-22  Roger Sayle  <roger@eyesopen.com>
25545169689Skan
25546169689Skan	* alias.c (mark_constant_function):  Check for constancy and
25547169689Skan	purity even of void functions.  Update both the function decl
25548169689Skan	and the cgraph RTL info with the results.
25549169689Skan
25550169689Skan2003-04-22  Roger Sayle  <roger@eyesopen.com>
25551169689Skan
25552169689Skan	* real.c (do_add): Change to return a bool indicating that the
25553169689Skan	result of the operation may be inexact due to loss of precision.
25554169689Skan	(do_multiply): Likewise.
25555169689Skan	(do_divide): Likewise.
25556169689Skan
25557169689Skan2003-04-22  Geoffrey Keating  <geoffk@apple.com>
25558169689Skan	    Loren James Rittle  <ljrittle@acm.org>
25559169689Skan
25560169689Skan	* dwarf2out.c (fde_table_allocated): Mark with GTY.
25561169689Skan	(decl_die_table_allocated): Likewise.
25562169689Skan	(abbrev_die_table_allocated): Likewise.
25563169689Skan	(line_info_table_allocated): Likewise.
25564169689Skan	(separate_line_info_table_allocated): Likewise.
25565169689Skan	(pubname_table_allocated): Likewise.
25566169689Skan	(arange_table_allocated): Likewise.
25567169689Skan	(ranges_table_allocated): Likewise.
25568169689Skan	(decl_die_table_in_use): Unconditionalize; mark with GTY.
25569169689Skan	(abbrev_die_table_in_use): Likewise.
25570169689Skan	(line_info_table_in_use): Likewise.
25571169689Skan	(separate_line_info_table_in_use): Likewise.
25572169689Skan	(pubname_table_in_use): Likewise.
25573169689Skan	(arange_table_in_use): Likewise.
25574169689Skan	(ranges_table_in_use): Likewise.
25575169689Skan	(have_location_lists): Likewise.
25576169689Skan	(emitcount): New GTY-marked static, moved...
25577169689Skan	(maybe_emit_file): ...from here.
25578169689Skan	(label_num): New GTY-marked static, moved...
25579169689Skan	(gen_internal_sym): ...from here.
25580169689Skan
25581169689Skan2003-04-22  Richard Henderson  <rth@redhat.com>
25582169689Skan
25583169689Skan	PR 8866
25584169689Skan	* rtl.h (MEM_NOTRAP_P): New.
25585169689Skan	(MEM_COPY_ATTRIBUTES): Copy it.
25586169689Skan	* rtlanal.c (may_trap_p): Check it.
25587169689Skan	* expr.c (do_tablejump): Set it.
25588169689Skan	* doc/rtl.texi (Flags): Document it.
25589169689Skan
25590169689Skan	* cfgrtl.c (try_redirect_by_replacing_jump): Revert last three changes.
25591169689Skan
25592169689Skan2003-04-22  Olivier Hainque  <hainque@act-europe.fr>
25593169689Skan
25594169689Skan	* config/alpha/alpha.c (alpha_expand_prologue [OPEN_VMS_ABI]): Don't
25595169689Skan	set FRP on stack adjustment for outgoing args if frame_pointer_needed.
25596169689Skan
25597169689Skan2003-04-22  Vincent Celier <celier@gnat.com>
25598169689Skan
25599169689Skan	* gthr-gnat.h, gthr-gnat.c: new sources for implementation of
25600169689Skan	--enable-threads=gnat.
25601169689Skan	* Makefile.in: Add gthr-gnat.c to LIB2ADDEH.
25602169689Skan	* configure.in: Add gnat to the list of thread packages
25603169689Skan	* configure: Rebuild.
25604169689Skan	* config/t-linux: Add gthr-gnat.c to LIB2ADDEH and LIB2ADDEHDEP
25605169689Skan
25606169689Skan2003-04-22  Neil Booth  <neil@daikokuya.co.uk>
25607169689Skan
25608169689Skan	* cpplex.c (_cpp_get_fresh_line): Pop the buffer if return_at_eof.
25609169689Skan
25610169689Skan2003-04-22  Devang Patel  <dpatel@apple.com>
25611169689Skan
25612169689Skan	* cpptrad.c (_cpp_replacement_text_len): Add check for macro
25613169689Skan	parameter count.
25614169689Skan	(_cpp_copy_replacement_text): Same.
25615169689Skan
25616169689Skan2003-04-22  Neil Booth  <neil@daikokuya.co.uk>
25617169689Skan
25618169689Skan	* c-lex.c (c_lex): Handle CPP_OTHER differently.
25619169689Skan	* cppexp.c (_cpp_parse_expr): Similarly.
25620169689Skan	* cpplex.c (SPELL_CHAR): Remove.
25621169689Skan	(_cpp_lex_direct): Stray chars are saved as byte strings.
25622169689Skan	(cpp_spell_token, cpp_output_token, _cpp_equiv_token): Don't
25623169689Skan	handle SPELL_CHAR.
25624169689Skan	(cpp_avoid_paste): Update handling of CPP_OTHER.
25625169689Skan	* cpplib.h: Spell CPP_OTHER like a number.
25626169689Skan	(struct cpp_token): Remove member c.
25627169689Skan	* cppmacro.c (stringify_arg): Update handling of CPP_OTHER.
25628169689Skan
25629169689Skan2003-04-22  David Turner <novalis@gnu.org>
25630169689Skan
25631169689Skan	* gbl-ctors.h: Add special license exception.
25632169689Skan	* libgcc2.h: Likewise.
25633169689Skan	* tsystem.h: Likewise.
25634169689Skan	* gcov-io.h: Likewise.
25635169689Skan
25636169689Skan2003-04-22  David Edelsohn  <edelsohn@gnu.org>
25637169689Skan
25638169689Skan	* fold-const.c (fold_range_test): Use RANGE_TEST_NON_SHORT_CIRCUIT
25639169689Skan	macro defaulting to original BRANCH_COST heuristic.
25640169689Skan	* doc/tm.texi (RANGE_TEST_NON_SHORT_CIRCUIT): Document.
25641169689Skan
25642169689Skan	* config/rs6000/rs6000.h (RANGE_TEST_NON_SHORT_CIRCUIT): Define.
25643169689Skan
25644169689Skan2003-04-22  Aldy Hernandez  <aldyh@redhat.com>
25645169689Skan
25646169689Skan	* config/rs6000/t-spe: Merge in t-fprules into file.
25647169689Skan
25648169689Skan	* config.gcc: Add t-spe to powerpc-eabispe.
25649169689Skan
25650169689Skan2003-04-22  Kean Johnston  <jkj@sco.com>
25651169689Skan
25652169689Skan	* tlink.c (recompile_files): Add missing '=' to putenv calls
25653169689Skan
25654169689Skan2003-04-22  Nathan Sidwell  <nathan@codesourcery.com>
25655169689Skan
25656169689Skan	* ginclude/stddef.h: Provide C++ safe offsetof.
25657169689Skan
25658169689Skan2003-04-22  J"orn Rennecke <joern.rennecke@superh.com>
25659169689Skan
25660169689Skan	* function.c (purge_addressof_1): In (mem (addressof (reg))) case
25661169689Skan	for reg notes, if there are no substitutions, just use a SUBREG.
25662169689Skan
25663169689Skan2003-04-21  Mark Mitchell  <mark@codesourcery.com>
25664169689Skan
25665169689Skan	* Makefile.in (calls.o): Depend on except.h.
25666169689Skan	* calls.c: Include except.h.
25667169689Skan	(emit_call_1): Call note_eh_region_may_contain_throw if
25668169689Skan	appropriate.
25669169689Skan	* except.c (eh_region): Add may_contain_throw.
25670169689Skan	(expand_eh_region_end_cleanup): Do not include handler code when
25671169689Skan	it cannot be reached.
25672169689Skan	(note_eh_region_may_contain_throw): New function.
25673169689Skan	* except.h (note_eh_region_may_contain_throw): New function.
25674169689Skan
25675169689Skan2003-04-21  Mark Mitchell  <mark@codesourcery.com>
25676169689Skan
25677169689Skan	* config/i386/winnt.c (i386_pe_mark_dllimport): Revert previous
25678169689Skan	changes.
25679169689Skan
25680169689Skan2003-04-21  Aldy Hernandez  <aldyh@redhat.com>
25681169689Skan
25682169689Skan	* config/rs6000/rs6000.c (rs6000_override_options): No SPE means
25683169689Skan	64-bit long doubles.
25684169689Skan
25685169689Skan2003-04-21  Olivier Hainque  <hainque@act-europe.fr>
25686169689Skan
25687169689Skan	* fold-const.c (fold, case PLUS_EXPR and case MULT_EXPR): Restore
25688169689Skan	a number of conversions required for type consistency and previously
25689169689Skan	stripped off by STRIP_NOPS.
25690169689Skan
25691169689Skan	* calls.c (expand_call): Prevent sibcall optimization for calls to
25692169689Skan	nested subprograms.
25693169689Skan
25694169689Skan	* expmed.c (extract_bit_field): Reverse operands of && condition to
25695169689Skan	prevent a potential division by zero in the previously first branch.
25696169689Skan	* config/pa/pa.md (extv, extzv): FAIL if the bitfield length is zero.
25697169689Skan
25698169689Skan2003-04-21  Joel Brobecker  <brobecker@gnat.com>
25699169689Skan
25700169689Skan	* dwarf2out.c (is_ada, is_ada_subrange_type): New functions.
25701169689Skan	(subrange_type_die): Likewise.
25702169689Skan	(modified_type_die): Emit a subrange_type DIE for Ada subrange types.
25703169689Skan	(is_c_family, is_cxx, is_java, is_fortran): Return bool and clean up.
25704169689Skan
25705169689Skan2003-04-21  Nathan Sidwell  <nathan@codesourcery.com>
25706169689Skan
25707169689Skan	Break out coverage routines to new file.
25708169689Skan	* Makefile.in (COVERAGE_H): New variable
25709169689Skan	(C_OBJS): Add coverage.o
25710169689Skan	(coverage.o): New target.
25711169689Skan	(profile.o, loop-init.o, sched-ebb.o, predict.o, tracer.o): Adjust
25712169689Skan	dependencies.
25713169689Skan	(GTFILES): Adjust.
25714169689Skan	(gt-coverage.h): New target.
25715169689Skan	(gt-profile.h): Remove.
25716169689Skan	* profile.h: Remove. Move to ...
25717169689Skan	* coverage.h: ... here. New. #include gcov-io.h.
25718169689Skan	* gcov-io.h: Move function definitions to ...
25719169689Skan	* gcov-io.c: ... here. New.
25720169689Skan	* profile.c: Move coverage routines to coverage.c.
25721169689Skan	(instrument_edges, get_exec_counts, branch_prob, init_branch_prob,
25722169689Skan	end_branch_prob): Adjust.
25723169689Skan	* coverage.c: New. Coverage routines from profile.c
25724169689Skan	(coverage_counter_ref, coverage_init, coverage_finish,
25725169689Skan	coverage_end_function, coverage_begin_output,
25726169689Skan	coverage_counter_ref, get_coverage_counts): Define.
25727169689Skan	* gcov-dump.c, gcov.c: #include gcov-io.c.
25728169689Skan	* libgcov.c: Likewise. Adjust.
25729169689Skan	* loop-init.c: Don't #include profile.h
25730169689Skan	* tracer.c, predict.c, sched-ebb.c: Adjust #includes.
25731169689Skan	* rtl.h: Add coverage prototypes.
25732169689Skan	* toplev.c (compile_file): Init coverage, not branch_prob.
25733169689Skan	Always call coverage_finish.
25734169689Skan	(rest_of_compilation): Call coverage_end_function.
25735169689Skan
25736169689Skan2003-04-21  Matt Kraai  <kraai@alumni.cmu.edu>
25737169689Skan
25738169689Skan	* config/rs6000/rs6000.md (*movsf_softfloat): Add "h" <- "0" case.
25739169689Skan
25740169689Skan2003-04-21  Neil Booth  <neil@daikokuya.co.uk>
25741169689Skan
25742169689Skan	* c-ppoutput.c (cb_include): Don't take a cpp_token.
25743169689Skan	* cppfiles.c: Don't undef strcmp.
25744169689Skan	(find_include_file): Don't take a cpp_token.  Check for empty
25745169689Skan	file names.
25746169689Skan	(_cpp_execute_include, _cpp_compare_file_date): Don't take a cpp_token.
25747169689Skan	(cpp_push_include): Simplify.
25748169689Skan	* cpphash.h (_cpp_execute_include, _cpp_compare_file_date): Update.
25749169689Skan	* cpplib.c (glue_header_name): Return the file name, not a cpp_token.
25750169689Skan	(parse_include): Similary.  Don't check for zero-length filenames.
25751169689Skan	(do_include_common, do_pragma_dependency): Update accordingly.
25752169689Skan	* cpplib.h (struct cpp_callbacks): Change prototype of include.
25753169689Skan
25754169689Skan2003-04-21  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
25755169689Skan
25756169689Skan	* doc/rtl.texi (RTX_UNCHANGING_P): Point to true_dependence for
25757169689Skan	details of conflict handling.
25758169689Skan
25759169689Skan	* fold-const.c (extract_muldiv, case CONVERT_EXPR): Detect case
25760169689Skan	when conversion overflows.
25761169689Skan
25762169689Skan	* stor-layout.c (layout_decl): Don't set DECL_SIZE_UNIT if already set.
25763169689Skan
25764169689Skan	* expr.c (store_constructor): Set RTX_UNCHANGING_P if readonly_field_p
25765169689Skan	before clearing.
25766169689Skan
25767169689Skan2003-04-21  Mark Mitchell  <mark@codesourcery.com>
25768169689Skan
25769169689Skan	* config/i386/winnt.c (i386_pe_mark_dllimport): Make the new RTL
25770169689Skan	have the same form as the old RTL.
25771169689Skan
25772169689Skan2003-04-21  Andreas Jaeger  <aj@suse.de>
25773169689Skan
25774169689Skan	* cppcharset.c (_cpp_valid_ucn): Cast field precision to int.
25775169689Skan
25776169689Skan2003-04-20  Chris Lattner  <sabre@nondot.org>
25777169689Skan	    Zack Weinberg  <zack@codesourcery.com>
25778169689Skan
25779169689Skan	* c-common.h, c-semantics.c: Rename genrtl_decl_cleanup to
25780169689Skan	genrtl_cleanup_stmt.  Correct comment at head of
25781169689Skan	genrtl_cleanup_stmt (no such thing as a DECL_CLEANUP).
25782169689Skan
25783169689Skan	* stmt.c (struct nesting): Kill n_function_calls.
25784169689Skan	(expand_start_bindings): Don't set
25785169689Skan	thisblock->data.block.n_function_calls.
25786169689Skan	(expand_end_bindings): Compare function_call_count against 0.
25787169689Skan	(expand_cleanups): Kill DONT_DO argument; all callers passed
25788169689Skan	NULL_TREE. All callers updated to match.
25789169689Skan
25790169689Skan2003-04-20  Zack Weinberg  <zack@codesourcery.com>
25791169689Skan
25792169689Skan	* varasm.c (struct deferred_constant, defer_addressed_constants_flag)
25793169689Skan	(defer_addressed_constants, output_deferred_addressed_constants): Kill.
25794169689Skan	(output_constant_def): Remove code predicated on
25795169689Skan	defer_addressed_constants_flag.
25796169689Skan
25797169689Skan	* output.h: Remove prototypes of deleted functions.
25798169689Skan	* c-typeck.c (constructor_subconstants_deferred): Kill.
25799169689Skan	(struct initializer_stack): Remove 'deferred' field.
25800169689Skan	(start_init): Remove all references to the above.
25801169689Skan	(finish_init): Likewise. Also remove never-executed call to
25802169689Skan	output_deferred_addressed_constants.  Pull assignment to
25803169689Skan	defstr out of if expression.
25804169689Skan
25805169689Skan2003-04-20  Neil Booth  <neil@daikokuya.co.uk>
25806169689Skan
25807169689Skan	* cpphash.h (NOTE_ESC_NL, NOTE_ESC_SPACE_NL, NOTE_TRIGRAPH,
25808169689Skan	NOTE_NEWLINE): Remove.
25809169689Skan	* cpplex.c (_cpp_clean_line, _cpp_process_line_notes): Update
25810169689Skan	to handle new form of line note type.
25811169689Skan
25812169689Skan2003-04-20  Zack Weinberg  <zack@codesourcery.com>
25813169689Skan
25814169689Skan	* target.h (encode_section_info): Add new argument carrying
25815169689Skan	the RTL to be modified by the hook.
25816169689Skan
25817169689Skan	* varasm.c (make_decl_rtl, output_constant_def): Update calls
25818169689Skan	to encode_section_info.
25819169689Skan	(default_encode_section_info): Take and use RTL argument,
25820169689Skan	don't use TREE_CST_RTL or DECL_RTL.
25821169689Skan	* output.h: Update prototype of default_encode_section_info.
25822169689Skan	* config/darwin.h (ASM_DECLARE_OBJECT_NAME)
25823169689Skan	(ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_ALIGNED_DECL_LOCAL):
25824169689Skan	Update calls to encode_section_info.
25825169689Skan
25826169689Skan	* config/darwin.c, config/arm/arm.c, config/arm/pe.c
25827169689Skan	* config/h8300/h8300.c, config/i386/winnt.c, config/m32r/m32r.c
25828169689Skan	* config/m68hc11/m68hc11.c, config/m88k/m88k.c, config/mcore/mcore.c
25829169689Skan	* config/mips/mips.c, config/mmix/mmix.c, config/pa/pa.c
25830169689Skan	* config/romp/romp.c, config/rs6000/rs6000.c, config/s390/s390.c
25831169689Skan	* config/v850/v850.c (TARGET_ENCODE_SECTION_INFO definitions):
25832169689Skan	Take and use RTL argument, don't use TREE_CST_RTL or DECL_RTL,
25833169689Skan	except for PE dllimport/dllexport.  Update calls to
25834169689Skan	default_encode_section_info.
25835169689Skan
25836169689Skan	* config/darwin-protos.h, config/arm/arm-protos.h, config/i386-protos.h:
25837169689Skan	Update prototypes.
25838169689Skan
25839169689Skan	* doc/tm.texi (TARGET_ENCODE_SECTION_INFO): Update.
25840169689Skan
25841169689Skan2003-04-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
25842169689Skan
25843169689Skan	PR/8705
25844169689Skan	* pa.md (movccfp): New expander.
25845169689Skan	(setccfp0, setccfp1): Rename to movccfp0 and movccfp1, respectively.
25846169689Skan	Reverse fcmp conditions.
25847169689Skan
25848169689Skan2003-04-20  Marek Michalkiewicz  <marekm@amelek.gda.pl>
25849169689Skan
25850169689Skan	* config/avr/avr.md (*cmpqi_sign_extend): Handle negative values
25851169689Skan	of operand 1 correctly.
25852169689Skan
25853169689Skan2003-04-20  Nathan Sidwell  <nathan@codesourcery.com>
25854169689Skan
25855169689Skan	* cpplex.c (_cpp_lex_direct): Set BOL for CPP_EOF tokens.
25856169689Skan	* gcov.c (output_lines): Don't be so fussy about going past EOF.
25857169689Skan
25858169689Skan2003-04-20  Neil Booth  <neil@daikokuya.co.uk>
25859169689Skan
25860169689Skan	* Makefile.in (LIBCPP_OBJS): Add cppcharset.o.
25861169689Skan	(cppcharset.o): New target.
25862169689Skan	* c-lex.c (is_extended_char): Move to cppcharset.c.
25863169689Skan	(utf8_extend_token): Delete.
25864169689Skan	* cppcharset.c: New file.
25865169689Skan	* cpphash.h (_cpp_valid_ucn): New.
25866169689Skan	* cpplex.c (lex_identifier): Update prototype.
25867169689Skan	(continues_identifier_p): Rename forms_identifier_p.  Handle UCN
25868169689Skan	escapes.
25869169689Skan	(maybe_read_ucs): Rename maybe_read_ucn.  Update to use code
25870169689Skan	in cppcharset.c.
25871169689Skan	(lex_number, lex_identifier, cpp_parse_escape): Update.
25872169689Skan	(_cpp_lex_direct): Update to handle UCNs.
25873169689Skan	(cpp_avoid_paste): Don't paste to form a UCN.
25874169689Skan
25875169689Skan2003-04-19  Roger Sayle  <roger@eyesopen.com>
25876169689Skan
25877169689Skan	* builtins.c (expand_builtin):  Don't expand a pure or const
25878169689Skan	built-in function if the result will be ignored and none of
25879169689Skan	its arguments are volatile.
25880169689Skan
25881169689Skan2003-04-19  Kean Johnston  <jkj@sco.com>
25882169689Skan
25883169689Skan	* unwind-dw2.c (_Unwind_GetCFA): cast return to avoid warning
25884169689Skan	* config.gcc: make SCO use dbxelf.h and elfos.h; only use one
25885169689Skan	target fragment now: t-sco5; dont compile crti.o.
25886169689Skan	* config/i386/sco5.h: major overhaul to remove all COFF remnants
25887169689Skan	and to use elfos.h for most definitions.
25888169689Skan	(BSS_SECTION_ASM_OP): set correct segment attributes.
25889169689Skan	(PREFERED_DEBUGGING_TYPE): set to DWARF-2.
25890169689Skan	(DWARF2_UNWIND_INFO): Always set to 1.
25891169689Skan	(MD_STARTFILE_PREFIX): Make /usr/gnu/lib the default.
25892169689Skan	(MD_STARTFILE_PREFIX_1): Define.
25893169689Skan	(MD_EXEC_PREFIX): Adjust to /usr/gnu/bin if using GAS.
25894169689Skan	(DEFAULT_LINKER): Define if not specified to configure.
25895169689Skan	(CTORS_SECTION_ASM_OP): Remove COFF crud.
25896169689Skan	(DTORS_SECTION_ASM_OP): Remove COFF crud.
25897169689Skan	(WINT_TYPE): Define.
25898169689Skan	(SDB_DEBUGGING_INFO): Remove.
25899169689Skan	(EXTRA_SECTIONS): Likewise.
25900169689Skan	(EXTRA_SECTION_FUNCTIONS): Likewise.
25901169689Skan	(CTOR_LIST_BEGIN): Likewise.
25902169689Skan	(CTOR_LIST_END): Likewise.
25903169689Skan	(INIT_SECTION_FUNCTION): Likewise.
25904169689Skan	(FINI_SECTION_FUNCTION): Likewise.
25905169689Skan	(SUBTARGET_FRAME_POINTER_REQUIRED): Likewise.
25906169689Skan	(LOCAL_LABEL_PREFIX): Likewise.
25907169689Skan	(NON_SAVING_SETJMP): Likewise.
25908169689Skan	(RETURN_POPS_ARGS): Likewise.
25909169689Skan	(ASM_OUTPUT_SKIP): Likewise.
25910169689Skan	(TARGET_ASM_NAMED_SECTION): Likewise.
25911169689Skan	(ASM_OUTPUT_INTERNAL_LABEL): Likewise.
25912169689Skan	(ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
25913169689Skan	(ASM_OUTPUT_IDENT): Likewise.
25914169689Skan	(ASM_OUTPUT_CASE_LABEL): Likewise.
25915169689Skan	(ASM_OUTPUT_ASCII): Likewise.
25916169689Skan	(ASM_OUTPUT_LIMITED_STRING): Likewise.
25917169689Skan	(ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
25918169689Skan	(ASM_OUTPUT_ALIGNED_COMMON): Likewise.
25919169689Skan	(ASM_GENERATE_INTERNAL_LABEL): Likewise.
25920169689Skan	(ASM_FINISH_DECLARE_OBJECT): Likewise.
25921169689Skan	(ASM_DECLARE_OBJECT_NAME): Likewise.
25922169689Skan	(ASM_DECLARE_FUNCTION_SIZE): Likewise.
25923169689Skan	(ASM_DECLARE_FUNCTION_NAME): Likewise.
25924169689Skan	(ASM_DECLARE_RESULT): Likewise.
25925169689Skan	(ASM_WEAKEN_LABEL): Likewise.
25926169689Skan	(SUPPORTS_WEAK): Likewise.
25927169689Skan	(APPLY_RESULT_SIZE): Likewise.
25928169689Skan	(LPREFIX): Likewise.
25929169689Skan	(ALIGN_ASM_OP): Likewise.
25930169689Skan	(ASCII_DATA_ASM_OP): Likewise.
25931169689Skan	(IDENT_ASM_OP): Likewise.
25932169689Skan	(ASM_SHORT): Likewise.
25933169689Skan	(ASM_LONG): Likewise.
25934169689Skan	(TYPE_ASM_OP): Likewise.
25935169689Skan	(SIZE_ASM_OP): Likewise.
25936169689Skan	(STRING_ASM_OP): Likewise.
25937169689Skan	(SKIP_ASM_OP): Likewise.
25938169689Skan	(EH_FRAME_SECTION_ASM_OP): Likewise.
25939169689Skan	(READONLY_DATA_SECTION_ASM_OP): Likewise.
25940169689Skan	(INIT_SECTION_ASM_OP): Likewise.
25941169689Skan	(FINI_SECTION_ASM_OP): Likewise.
25942169689Skan	(TEXT_SECTION_ASM_OP): Likewise.
25943169689Skan	(DATA_SECTION_ASM_OP): Likewise.
25944169689Skan	(TYPE_OPERANT_FORMAT): Likewise.
25945169689Skan	(ASM_SPEC): Remove COFF code.
25946169689Skan	(STARTFILE_SPEC): Likewise. Always use crti.o; add -p and -pp support;
25947169689Skan	cause -pg to emit an error; use pcrt1elf.o with -pp
25948169689Skan	(ENDFILE_SPEC): Likewise.
25949169689Skan	(TARGET_OS_CPP_BUILTINS): Add _SCO_DS_LL.
25950169689Skan	(CPP_SPEC): Remove COFF crud; always look in /usr/gnu/include first.
25951169689Skan	(LINK_SPEC): Remove COFF crud; use -E for environment switch not -R;
25952169689Skan	add -z alt_resolve to support weak symbols the way GCC wants them.
25953169689Skan	(LIB_SPEC): Use the profiler libraries in -p or -pp mode.
25954169689Skan	(LIBGCC_SPEC): Dont use -lgcc in -G mode.
25955169689Skan	(ASM_PREFERED_EH_DATA_FORMAT): Remove.
25956169689Skan	* config/i386/t-sco5 (TARGET_LIBGCC2_CFLAGS): Remove.
25957169689Skan	(CRTSTUFF_T_CFLAGS_S): Define.
25958169689Skan	(MULTILIB_OPTIONS): Likewise.
25959169689Skan	(MULTILIB_DIRNAMES): Likewise.
25960169689Skan	(MULTILIB_MATCHES): Likewise.
25961169689Skan	(MULTILIB_EXTRA_OPTS): Likewise.
25962169689Skan	(LIBGCC): Likewise.
25963169689Skan	(INSTALL_LIBGCC): Likewise.
25964169689Skan	(crti.o): Remove.
25965169689Skan	* config/i386/t-sco5gas: Remove.
25966169689Skan	* doc/install.texi: Updated for new OpenServer instructions.
25967169689Skan	* testsuite/gcc.dg/nest.c: Allow failure on SCO (-pg not supported)
25968169689Skan
25969169689Skan2003-04-19  Kean Johnston  <jkj@sco.com>
25970169689Skan
25971169689Skan	* fixinc/check.tpl: Allow user to over-ride diff program.
25972169689Skan	* fixinc/inclhack.def: Removed extraneous #ifndef SVR5.
25973169689Skan	(sco_math): Added test for SCO math header files.
25974169689Skan	(sco_regset): Added check for conflicts with ieeefp.h.
25975169689Skan	(svr4_disable_opt): Removed extraneous #ifdef SVR4.
25976169689Skan	* fixinc/fixincl.x: Regenerated
25977169689Skan	* fixinc/tests/base/math.h: Added sco_math tests.
25978169689Skan	* fixinc/tests/base/string.h: New file.
25979169689Skan	* fixinc/tests/base/sys/regset.h: New file.
25980169689Skan
25981169689Skan2003-04-19  Neil Booth  <neil@daikokuya.co.uk>
25982169689Skan
25983169689Skan	* cpphash.h (struct cpp_buffer): Remove backup_to.
25984169689Skan	* cpplex.c (BACKUP, get_effective_char): Die.
25985169689Skan	(_cpp_skip_block_comment): Assume '*' is location on entry.
25986169689Skan	(continues_identifier_p): Respect -fno-dollars-in-identifiers.
25987169689Skan	(IF_NEXT_IS): Update.
25988169689Skan	(_cpp_lex_direct): Don't use backup_to; look ahead directly.
25989169689Skan
25990169689Skan2003-04-19  Matt Kraai  <kraai@alumni.cmu.edu>
25991169689Skan
25992169689Skan	* README.Portability: Move to a new section and obsolete K+R
25993169689Skan	portability issues.
25994169689Skan
25995169689SkanSat Apr 19 14:56:17 CEST 2003  Jan Hubicka  <jh@suse.cz>
25996169689Skan
25997169689Skan	* rtlanal.c (subreg_offset_representable_p):  Fix call of
25998169689Skan	subreg_lowpart.
25999169689Skan
26000169689Skan2003-04-19  Neil Booth  <neil@daikokuya.co.uk>
26001169689Skan
26002169689Skan	* cpphash.h (struct cpp_reader): New member warned_dollar.
26003169689Skan	* cpplex.c (continues_identifier_p): New function.
26004169689Skan	(parse_identifier, parse_number, parse_string): Rename lex_identifer,
26005169689Skan	lex_number and lex_string, and simplify.
26006169689Skan	(parse_slow, unescaped_terminator_p): Die.
26007169689Skan	(_cpp_lex_direct): Update.
26008169689Skan
26009169689Skan2003-04-19  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
26010169689Skan
26011169689Skan	* calls.c (expand_call): Provide init for old_stack_pointer_delta.
26012169689Skan
26013169689Skan2003-04-19  Nathan Sidwell  <nathan@codesourcery.com>
26014169689Skan
26015169689Skan	* doc/invoke.texi (-fprofile-arcs): Mention -lgcov, locking and
26016169689Skan	fork behavior.
26017169689Skan
26018169689Skan2003-04-19  Neil Booth  <neil@daikokuya.co.uk>
26019169689Skan
26020169689Skan	* cppexp.c (eval_token): Permit true and false even if pedantic.
26021169689Skan
26022169689Skan2003-04-19  Neil Booth  <neil@daikokuya.co.uk>
26023169689Skan
26024169689Skan	* cpplex.c (skip_whitespace): Rearrange to avoid stage1 ICE.
26025169689Skan
26026169689Skan2003-04-19  Neil Booth  <neil@daikokuya.co.uk>
26027169689Skan
26028169689Skan	* cppfiles.c (ENABLE_VALGRIND_CHECKING, VALGRIND_DISCARD,
26029169689Skan	MMAP_THRESHOLD, TEST_THRESHOLD, SHOULD_MMAP): Remove.
26030169689Skan	(struct include_file): Remove fefcnt, mapped members.
26031169689Skan	(open_file, stack_include_file, _cpp_pop_file_buffer): Disable caching.
26032169689Skan	(read_include_file): Don't use mmap, terminate buffers in '\r'.
26033169689Skan	(purge_cache): Don't use munmap.
26034169689Skan	* cpphash.h (CPP_BUF_COLUMN): Update.
26035169689Skan	(lexer_state): Remove lexing_comment.
26036169689Skan	(struct _cpp_line_note): New.
26037169689Skan	(struct cpp_buffer): New members cur_note, notes_used, notes_cap,
26038169689Skan	next_line and need_line.  Remove col_adjust and saved_flags.
26039169689Skan	(_cpp_process_line_notes, _cpp_clean_line, _cpp_get_fresh_line,
26040169689Skan	_cpp_skip_block_comment, scan_out_logical_line): New.
26041169689Skan	(_cpp_init_mbchar): Remove.
26042169689Skan	* cppinit.c (init_library): Remove call to _cpp_init_mbchar.
26043169689Skan	(cpp_read_main_file): Set line to 1 earlier.
26044169689Skan	(post_options): -traditional-cpp doesn't want trigraphs.
26045169689Skan	* cpplex.c (MULTIBYTE_CHARS): Remove code predicated on this.
26046169689Skan	(add_line_note, _cpp_clean_line, _cpp_process_line_notes,
26047169689Skan	_cpp_get_fresh_line): New.
26048169689Skan	(handle_newline, skip_escaped_newlines, trigraph_p,
26049169689Skan	continue_after_nul, _cpp_init_mbchar): Remove.
26050169689Skan	(get_effective_char): Update.
26051169689Skan	(_cpp_skip_block_comment): Rename from skip_block_comment, simplify.
26052169689Skan	(skip_line_comment): Simplify.
26053169689Skan	(skip_whitespace, parse_identifier, parse_slow, parse_number,
26054169689Skan	parse_string): Update.
26055169689Skan	(cpp_lex_direct): Use clean lines and process line notes.  Update.
26056169689Skan	(cpp_interpret_charconst): No MULTIBYTE_CHARS.
26057169689Skan	* cpplib.c (prepare_directive_trad): Call scan_out_logical_line
26058169689Skan	directly.
26059169689Skan	(_cpp_handle_directive): Don't set saved_flags.
26060169689Skan	(run_directive, destringize_and_run, cpp_define, cpp_define_builtin,
26061169689Skan	cpp_undef, handle_assertion, cpp_push_buffer): Update.
26062169689Skan	(_cpp_pop_buffer): Free notes.
26063169689Skan	* cppmacro.c (builtin_macro, paste_tokens): \n terminate buffer.
26064169689Skan	* cpppch.c (cpp_read_state): \n terminate buffer.
26065169689Skan	* cpptrad.c (skip_escaped_newlines, handle_newline): Remove.
26066169689Skan	(copy_comment): Use _cpp_skip_block_comment.
26067169689Skan	(skip_whitespace, lex_identifier, _cpp_read_logical_line_trad):
26068169689Skan	Simplify.
26069169689Skan	(_cpp_overlay_buffer, _cpp_remove_overlay, push_replacement_text,
26070169689Skan	save_replacement_text): Update.
26071169689Skan	(scan_out_logical_line): Update to use clean lines and process
26072169689Skan	line notes.
26073169689Skan	* fix-header.c (read_scan_file): Update.
26074169689Skan
26075169689Skan2003-04-18  Douglas B Rupp  <rupp@gnat.com>
26076169689Skan
26077169689Skan	* unwind-dw2-fde.c (__register_frame_info_bases): Check for
26078169689Skan	null begin parameter (as well as pointer to null).
26079169689Skan	(__deregister_frame_info_bases): Likewise.
26080169689Skan
26081169689Skan2003-04-18  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
26082169689Skan
26083169689Skan	* function.c (purge_addressof_1): For ADDRESSOF, see if SUB is a
26084169689Skan	hard or virtual register and copy into pseudo if replacement fails.
26085169689Skan
26086169689Skan	* cfgcleanup.c (flow_find_cross_jump): Use INSN_P, not active_insn_p.
26087169689Skan
26088169689Skan	* expmed.c (mask_rtx): Avoid undefined shifts for BITSIZE of 0.
26089169689Skan
26090169689Skan2003-04-18  Olivier Hainque <hainque@act-europe.fr>
26091169689Skan
26092169689Skan	* calls.c (expand_call): Move special case for constructor calls
26093169689Skan	to right place. Ensures constructor calls used to initialize
26094169689Skan	arguments get a clean outgoing argument block for themselves.
26095169689Skan	Move check for stack deallocation completeness until after last
26096169689Skan	deallocation.  Add stack_pointer_delta to set of state
26097169689Skan	variables saved and restored along with current stack_level.
26098169689Skan
26099169689Skan	* integrate.c (expand_inline_function): Ensure non-const actuals
26100169689Skan	don't end up const in the caller's flow after conversion to possibly
26101169689Skan	const formal type.
26102169689Skan
26103169689Skan2003-04-18  Vincent Celier  <celier@gnat.com>
26104169689Skan
26105169689Skan	* dwarf2out.c (loc_descriptor_from_tree): Treat all *_MOD_EXPR
26106169689Skan	and *_DIV_EXPR as TRUNC_*_EXPR.
26107169689Skan
26108169689Skan2003-04-18  Mark Mitchell  <mark@codesourcery.com>
26109169689Skan
26110169689Skan	* cfgrtl.c (try_redirect_by_replacing_jump): Create a basic block
26111169689Skan	for orphaned jump tables.
26112169689Skan
26113169689Skan2003-04-18  Kazu Hirata  <kazu@cs.umass.edu>
26114169689Skan
26115169689Skan	* reload1.c: Revert my previous patch on 2002-04-17.
26116169689Skan
26117169689Skan2003-04-18  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
26118169689Skan
26119169689Skan	* doc/contrib.texi (Contributors): Prefer "bug fix" over "bugfix".
26120169689Skan	Add Segher Boessenkool.
26121169689Skan
26122169689Skan2003-04-18  Alexander Sotirov  <sluncho@mirizma.org>
26123169689Skan
26124169689Skan	PR c/9177
26125169689Skan	* c-decl.c (c_expand_body): Don't garbage collect the function
26126169689Skan	body if we are going to dump it later.
26127169689Skan
26128169689Skan2003-04-18  Richard Henderson  <rth@redhat.com>
26129169689Skan
26130169689Skan	* config/alpha/alpha.c (SYMBOL_FLAG_NEAR, SYMBOL_FLAG_SAMEGP): Remove.
26131169689Skan	(alpha_end_function): Don't set them.
26132169689Skan	(decl_in_text_section): Remove.
26133169689Skan	(alpha_encode_section_info): Remove.
26134169689Skan	(samegp_function_operand): Use SYMBOL_REF LOCAL_P and EXTERNAL_P.
26135169689Skan	(direct_call_operand): Use SYMBOL_REF_DECL and compare actual
26136169689Skan	sections, rather than decl_in_text_section results.
26137169689Skan
26138169689Skan2003-04-18  Roger Sayle  <roger@eyesopen.com>
26139169689Skan
26140169689Skan	* rtlanal.c (reg_overlap_mentioned_p): Handle ZERO_EXTRACT
26141169689Skan	and SIGN_EXTRACT.
26142169689Skan
26143169689Skan2003-04-18  Eric Botcazou  <ebotcazou@libertysurf.fr>
26144169689Skan
26145169689Skan	PR optimization/7675
26146169689Skan	* c-typeck.c (build_external_ref): Set the DECL_NONLOCAL flag
26147169689Skan	on VAR_DECL, PARM_DECL and FUNCTION_DECL from within
26148169689Skan	nested functions if they refer to declarations from parent functions.
26149169689Skan	* stmt.c (expand_decl): Don't put automatic variables in registers
26150169689Skan	if the DECL_NONLOCAL flag is set.
26151169689Skan
26152169689Skan2003-04-18  Hans-Peter Nilsson  <hp@bitrange.com>
26153169689Skan
26154169689Skan	* gcse.c (compute_ld_motion_mems): For MEM destinations, only
26155169689Skan	consider those to be movable where the source matches
26156169689Skan	want_to_gcse_p.
26157169689Skan	(update_ld_motion_stores): In comment, refer to
26158169689Skan	compute_ld_motion_mems for validity of replacement.
26159169689Skan
26160169689SkanFri Apr 18 01:28:51 CEST 2003  Jan Hubicka  <jh@suse.cz>
26161169689Skan
26162169689Skan	* gcov-dump.c (tag_summary): Remove max_sum
26163169689Skan	* gcov-io.h (gcov_summary, gcov_write_summary,
26164169689Skan	gcov_read_summary): Kill max_sum.
26165169689Skan	* libgcov.c (gcov_exit): Do one pass over the data.  Make error
26166169689Skan	message more verbose.
26167169689Skan
26168169689Skan	* emit-rtl.c (subreg_hard_regno):  Check that register is
26169169689Skan	representable.
26170169689Skan
26171169689Skan	* reload.c (reload_inner_reg_of_subreg):  When register is not
26172169689Skan	representable, reload the whole thing.
26173169689Skan	(find_reloads): Likewsie.
26174169689Skan	* rtlanal.c (subreg_representable_p):  New function.
26175169689Skan
26176169689Skan	* profile.c (compute_branch_probabilities):  Cleanup sanity checking;
26177169689Skan	allow negative probabilities for edges from the call to exit.
26178169689Skan	(branch_prob): Do not add fake edges for functions that may return
26179169689Skan	twice.
26180169689Skan
26181169689Skan2003-04-17  DJ Delorie  <dj@redhat.com>
26182169689Skan
26183169689Skan	* toplev.c (target_options): Add value field.
26184169689Skan	(set_target_switch): Handle target options with	values.
26185169689Skan	* doc/tm.texi: Document how fixed vs variable target
26186169689Skan	options work.
26187169689Skan	* config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
26188169689Skan	config/c4x/c4x.h, config/cris/aout.h, config/cris/cris.h,
26189169689Skan	config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
26190169689Skan	config/frv/frv.h, config/i386/i386.h, config/ia64/ia64.h,
26191169689Skan	config/m32r/m32r.h, config/m68hc11/m68hc11.h,
26192169689Skan	config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
26193169689Skan	config/mips/mips.h, config/mmix/mmix.h, config/pa/pa.h,
26194169689Skan	config/rs6000/rs6000.h, config/rs6000/sysv4.h,
26195169689Skan	config/s390/s390.h, config/sparc/sparc.h, config/v850/v850.h:
26196169689Skan	Add value initializer to target options.
26197169689Skan
26198169689Skan2003-04-07  Loren James Rittle  <ljrittle@acm.org>
26199169689Skan
26200169689Skan	* cpppch.c (cpp_valid_state): Unconditionally initialize nl.
26201169689Skan
26202169689Skan2003-04-17  Kazu Hirata  <kazu@cs.umass.edu>
26203169689Skan
26204169689Skan	* reload1.c (move2add_last_cc0): New.
26205169689Skan	(reload_cse_move2add): Detect implicit sets.
26206169689Skan	(move2add_note_store): Notice a store into cc0.
26207169689Skan
26208169689Skan2003-04-17  Roger Sayle  <roger@eyesopen.com>
26209169689Skan
26210169689Skan	PR c/10375
26211169689Skan	* c-decl.c (duplicate_decls): Preserve "const" and "noreturn"
26212169689Skan	function attributes.
26213169689Skan
26214169689Skan2003-04-17  Janis Johnson  <janis187@us.ibm.com>
26215169689Skan
26216169689Skan	* doc/sourcebuild.texi (Test Suites): Document support for testing
26217169689Skan	binary compatibility (moved from testsuite/README.compat).
26218169689Skan
26219169689Skan2003-04-17  Richard Henderson  <rth@redhat.com>
26220169689Skan
26221169689Skan	* config/ia64/ia64.c (ia64_in_small_data_p): Disallow strings.
26222169689Skan
26223169689Skan2003-04-17  Simon Law  <sfllaw@engmail.uwaterloo.ca>
26224169689Skan
26225169689Skan	* doc/include/gpl.texi: Fix double-spacing after "MA" to match
26226169689Skan	the one provided by the FSF.
26227169689Skan
26228169689Skan2003-04-17  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
26229169689Skan
26230169689Skan	* doc/install.texi (Binaries): Update URL and list of platforms
26231169689Skan	provided by ftp.thewrittenword.com.
26232169689Skan
26233169689Skan2003-04-17  Richard Henderson  <rth@redhat.com>
26234169689Skan
26235169689Skan	* config/xtensa/xtensa.c (xtensa_encode_section_info): Remove.
26236169689Skan	(call_insn_operand): Use SYMBOL_REF_LOCAL_P.
26237169689Skan	* config/xtensa/xtensa.md (call, call_value): Likewise.
26238169689Skan
26239169689Skan2003-04-17  Richard Henderson  <rth@redhat.com>
26240169689Skan
26241169689Skan	* config/v850/v850.c (print_operand): Use SYMBOL_REF_[ZST]DA.
26242169689Skan	(print_operand_address): Likewise.
26243169689Skan	(ep_memory_operand): Likewise.
26244169689Skan	(special_symbolref_operand): Likewise.
26245169689Skan	(v850_encode_data_area): Use SYMBOL_REF_FLAGS.
26246169689Skan	(v850_encode_section_info): Call default_encode_section_info.
26247169689Skan	(v850_strip_name_encoding): Remove.
26248169689Skan	* config/v850/v850.h (EXTRA_CONSTRAINT): Use SYMBOL_REF_[ZST]DA.
26249169689Skan	(ASM_OUTPUT_LABELREF): Remove.
26250169689Skan	(ZDA_NAME_FLAG_CHAR, ZDA_NAME_P): Remove.
26251169689Skan	(SDA_NAME_FLAG_CHAR, SDA_NAME_P): Remove.
26252169689Skan	(TDA_NAME_FLAG_CHAR, TDA_NAME_P): Remove.
26253169689Skan	(ENCODED_NAME_P): Remove.
26254169689Skan	(SYMBOL_FLAG_ZDA, SYMBOL_REF_ZDA_P): New.
26255169689Skan	(SYMBOL_FLAG_SDA, SYMBOL_REF_SDA_P): New.
26256169689Skan	(SYMBOL_FLAG_TDA, SYMBOL_REF_TDA_P): New.
26257169689Skan
26258169689Skan2003-04-17  Richard Henderson  <rth@redhat.com>
26259169689Skan
26260169689Skan	* config/stormy16/stormy16.c (xstormy16_encode_section_info): Kill.
26261169689Skan	* config/stormy16/stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use
26262169689Skan	SYMBOL_REF_FUNCTION_P.
26263169689Skan
26264169689Skan2003-04-17  Richard Henderson  <rth@redhat.com>
26265169689Skan
26266169689Skan	* config/sparc/sparc.c (sparc_encode_section_info): Remove.
26267169689Skan	(data_segment_operand): Use SYMBOL_REF_FUNCTION_P.
26268169689Skan	(text_segment_operand): Likewise.
26269169689Skan
26270169689Skan2003-04-17  Richard Henderson  <rth@redhat.com>
26271169689Skan
26272169689Skan	* config/sh/sh.c (gen_datalabel_ref): Don't add SH_DATALABEL_ENCODING.
26273169689Skan	(tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL.
26274169689Skan	(legitimize_pic_address): Use SYMBOL_REF_LOCAL_P.
26275169689Skan	(sh_encode_section_info): Remove.
26276169689Skan	(sh_strip_name_encoding): Remove.
26277169689Skan	* config/sh/sh.h (SH_DATALABEL_ENCODING): Remove.
26278169689Skan	(DATALABEL_SYMNAME_P, STRIP_DATALABEL_ENCODING): Remove.
26279169689Skan	(SH_TLS_ENCODING, TLS_SYMNAME_P, STRIP_TLS_ENCODING): Remove.
26280169689Skan	(ASM_OUTPUT_LABELREF): Remove.
26281169689Skan	(ASM_OUTPUT_SYMBOL_REF): Use SYMBOL_REF_FUNCTION_P.
26282169689Skan	* config/sh/sh.md (*): Use SYMBOL_REF_LOCAL_P.
26283169689Skan
26284169689Skan2003-04-17  Richard Henderson  <rth@redhat.com>
26285169689Skan
26286169689Skan	* config/s390/s390.c (SYMBOL_FLAG_ALIGN1): New.
26287169689Skan	(tls_model_chars): Remove.
26288169689Skan	(larl_operand): Use SYMBOL_REF_FLAGS.
26289169689Skan	(tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL.
26290169689Skan	(legitimize_pic_address): Use SYMBOL_REF_LOCAL_P.
26291169689Skan	(s390_output_mi_thunk): Likewise.
26292169689Skan	(s390_emit_prologue): Set SYMBOL_FLAG_LOCAL as needed.
26293169689Skan	(s390_function_profiler): Likewise.
26294169689Skan	(s390_encode_section_info): Use default_encode_section_info
26295169689Skan	and SYMBOL_FLAG_ALIGN1.
26296169689Skan	(s390_strip_name_encoding): Remove.
26297169689Skan	* config/s390/s390.h (ASM_OUTPUT_LABELREF): Remove.
26298169689Skan	* config/s390/s390.md (call, call_value): Use SYMBOL_REF_LOCAL_P.
26299169689Skan	(builtin_setjmp_receiver): Set SYMBOL_FLAG_LOCAL as needed.
26300169689Skan
26301169689Skan2003-04-17  Richard Henderson  <rth@redhat.com>
26302169689Skan
26303169689Skan	* config/ns32k/ns32k.c (ns32k_encode_section_info): Remove.
26304169689Skan	(global_symbolic_reference_mentioned_p): Use SYMBOL_REF_LOCAL_P.
26305169689Skan	(print_operand_address): Likewise.
26306169689Skan
26307169689Skan	* config/ns32k/ns32k.h (CANNOT_CHANGE_MODE_CLASS): Add CLASS argument.
26308169689Skan	* config/ns32k/ns32k.c (expand_block_move): Don't check
26309169689Skan	flag_unroll_loops.
26310169689Skan
26311169689Skan2003-04-17  Richard Henderson  <rth@redhat.com>
26312169689Skan
26313169689Skan	* config/mcore/mcore.c (mcore_encode_section_info): Don't set
26314169689Skan	SYMBOL_REF_FLAG.
26315169689Skan
26316169689Skan2003-04-17  Richard Henderson  <rth@redhat.com>
26317169689Skan
26318169689Skan	* rtl.h (SYMBOL_FLAG_MACH_DEP_SHIFT): New.
26319169689Skan
26320169689Skan	* config/m32r/m32r.c (SYMBOL_FLAG_MODEL_SHIFT): New.
26321169689Skan	(SYMBOL_REF_MODEL): New.
26322169689Skan	(LIT_NAME_P): Move from m32r.h.
26323169689Skan	(m32r_select_section): Remove.
26324169689Skan	(m32r_encode_section_info): Use SYMBOL_REF_FLAGS.
26325169689Skan	(m32r_strip_name_encoding): Remove.
26326169689Skan	(m32r_in_small_data_p): New.
26327169689Skan	(small_data_operand): Use SYMBOL_REF_SMALL_P.
26328169689Skan	(addr24_operand): Use SYMBOL_REF_MODEL.
26329169689Skan	(call26_operand): Likewise.
26330169689Skan	(addr32_operand): Tidy.
26331169689Skan	(m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
26332169689Skan	* config/m32r/m32r.h (RODATA_SECTION_ASM_OP): Remove.
26333169689Skan	(SDATA_SECTION_ASM_OP, SBSS_SECTION_ASM_OP): Remove.
26334169689Skan	(READONLY_DATA_SECTION_ASM_OP): Remove.
26335169689Skan	(EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
26336169689Skan	(SDATA_SECTION_FUNCTION, SBSS_SECTION_FUNCTION): Remove.
26337169689Skan	(TARGET_ASM_SELECT_SECTION): Remove.
26338169689Skan	(SDATA_FLAG_CHAR, MEDIUM_FLAG_CHAR, LARGE_FLAG_CHAR): Remove.
26339169689Skan	(SDATA_NAME_P, SMALL_NAME_P, MEDIUM_NAME_P): Remove.
26340169689Skan	(LARGE_NAME_P, ENCODED_NAME_P): Remove.
26341169689Skan	(ASM_OUTPUT_LABELREF): Remove.
26342169689Skan
26343169689Skan2003-04-17  Richard Henderson  <rth@redhat.com>
26344169689Skan
26345169689Skan	* config/ip2k/ip2k.c (is_regfile_address): Use SYMBOL_REF_FUNCTION_P.
26346169689Skan	(encode_section_info): Remove.
26347169689Skan	* config/ip2k/ip2k-protos.h: Update.
26348169689Skan
26349169689Skan2003-04-17  Richard Henderson  <rth@redhat.com>
26350169689Skan
26351169689Skan	* varasm.c (default_encode_section_info): Don't set
26352169689Skan	SYMBOL_FLAG_EXTERNAL if not TREE_PUBLIC.
26353169689Skan	* config/i370/i370.c (i370_encode_section_info): Remove.
26354169689Skan	* config/i370/i370.h (CONSTANT_ADDRESS_P): Use SYMBOL_REF_EXTERNAL_P.
26355169689Skan	(PRINT_OPERAND, PRINT_OPERAND_ADDRESS): Likewise.
26356169689Skan	* config/i370/i370.md (movsi): Likewise.
26357169689Skan
26358169689Skan	* config/i370/t-i370: Add missing backslash.
26359169689Skan
26360169689Skan2003-04-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
26361169689Skan
26362169689Skan	* doc/invoke.texi (inline-limit): Fix pasto.
26363169689Skan
26364169689Skan2003-04-17  Richard Henderson  <rth@redhat.com>
26365169689Skan
26366169689Skan	* config/h8300/h8300.c (SYMBOL_FLAG_FUNCVEC_FUNCTION): New.
26367169689Skan	(small_call_insn_operand): Use it.
26368169689Skan	(SYMBOL_FLAG_EIGHTBIT_DATA): New.
26369169689Skan	(h8300_eightbit_constant_address_p): Use it.
26370169689Skan	(SYMBOL_FLAG_TINY_DATA): New.
26371169689Skan	(h8300_tiny_constant_address_p): Use it.
26372169689Skan	(h8300_encode_label, h8300_strip_name_encoding): Remove.
26373169689Skan	(h8300_encode_section_info): Set SYMBOL_REF_FLAGS.
26374169689Skan	* config/h8300/h8300.h (TINY_DATA_NAME_P): Remove.
26375169689Skan	(ASM_OUTPUT_LABELREF): Remove.
26376169689Skan
26377169689Skan2003-04-16  Richard Henderson  <rth@redhat.com>
26378169689Skan
26379169689Skan	* config/frv/frv.c (symbol_ref_small_data_p): Remove.  Replace
26380169689Skan	all users with SYMBOL_REF_SMALL_P.
26381169689Skan	(const_small_data_p): Use SYMBOL_REF_SMALL_P.
26382169689Skan	(frv_encode_section_info): Remove.
26383169689Skan	(frv_strip_name_encoding): Remove.
26384169689Skan	(frv_in_small_data_p): Merge tests from encode_section_info.
26385169689Skan	(frv_print_operand): Use '@' not SDATA_FLAG_CHAR.
26386169689Skan	* config/frv/frv.h (SDATA_FLAG_CHAR): Remove.
26387169689Skan	(SDATA_NAME_P): Remove.
26388169689Skan	(ASM_OUTPUT_ALIGNED_DECL_LOCAL): Use SIZE not SDATA_NAME_P.
26389169689Skan	(ASM_OUTPUT_LABELREF): Remove.
26390169689Skan	(PRINT_OPERAND_PUNCT_VALID_P): Use '@' not SDATA_FLAG_CHAR.
26391169689Skan
26392169689Skan	* config/frv/frv.c (frv_asm_out_constructor): New.
26393169689Skan	(frv_asm_out_destructor): New.
26394169689Skan	* config/frv/frv.h (CTORS_SECTION_ASM_OP): New.
26395169689Skan	(DTORS_SECTION_ASM_OP): New.
26396169689Skan	(ASM_OUTPUT_CONSTRUCTOR): Remove.
26397169689Skan	(ASM_OUTPUT_DESTRUCTOR): Remove.
26398169689Skan
26399169689Skan2003-04-16  Richard Henderson  <rth@redhat.com>
26400169689Skan
26401169689Skan	* config/cris/cris.c (cris_gotless_symbol, cris_got_symbol): Use
26402169689Skan	SYMBOL_REF_LOCAL_P; abort if not pic.
26403169689Skan	(cris_encode_section_info): Remove.
26404169689Skan
26405169689Skan2003-04-16  Richard Henderson  <rth@redhat.com>
26406169689Skan
26407169689Skan	* config/c4x/c4x.c (c4x_encode_section_info): Remove.
26408169689Skan	(c4x_T_constraint): Use SYMBOL_REF_FUNCTION_P.
26409169689Skan
26410169689Skan	* config/c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): Declare
26411169689Skan	flag_inline_trees.
26412169689Skan
26413169689Skan2003-04-16  Richard Henderson  <rth@redhat.com>
26414169689Skan
26415169689Skan	* config/avr/avr.c (avr_encode_section_info): Remove.
26416169689Skan	(avr_insert_attributes): New.
26417169689Skan	(print_operand_address): Use SYMBOL_REF_FUNCTION_P.
26418169689Skan	(avr_assemble_integer): Likewise.
26419169689Skan
26420169689Skan2003-04-16  Richard Henderson  <rth@redhat.com>
26421169689Skan
26422169689Skan	* arc.c (arc_encode_section_info): Remove.
26423169689Skan	(arc_assemble_integer): Use SYMBOL_REF_FUNCTION_P.
26424169689Skan	(arc_print_operand, arc_print_operand_address): Likewise.
26425169689Skan	* arc.h (EXTRA_CONSTRAINT): Likewise.
26426169689Skan
26427169689Skan2003-04-16  Roger Sayle  <roger@eyesopen.com>
26428169689Skan
26429169689Skan	* c-semantics.c (find_reachable_label): New function to find a
26430169689Skan	potentially reachable label in an expression.
26431169689Skan	(expand_unreachable_if_stmt): Similar to expand_if_stmt but
26432169689Skan	assumes the start of the IF_STMT is unreachable (dead) code.
26433169689Skan	(expand_unreachable_stmt): Similar to expand_stmt but assumes
26434169689Skan	the start of the statement list is unreachable (dead) code.
26435169689Skan	(genrtl_if_stmt):  If the controlling expression of the IF
26436169689Skan	is constant, use expand_unreachable_stmt for the THEN or ELSE
26437169689Skan	clause as appropriate.
26438169689Skan	(genrtl_switch_stmt):  Use expand_unreachable_stmt to expand
26439169689Skan	the body of a SWITCH statement.
26440169689Skan	(expand_stmt): The code immediately following a "return",
26441169689Skan	"break", "continue" or "goto" is unreachable.
26442169689Skan	* Makefile.in (c-semantics.o): Depend upon tree-inline.h.
26443169689Skan
26444169689Skan2003-04-16  Richard Henderson  <rth@redhat.com>
26445169689Skan
26446169689Skan	* rtl.h (MEM_ALIAS_SET): Update documentation.
26447169689Skan	* doc/rtl.texi (Special Accessors): New node.
26448169689Skan	(SYMBOL_REF_FLAG): Note relationship with SYMBOL_REF_FLAGS.
26449169689Skan
26450169689Skan2003-04-16  Alexandre Oliva  <aoliva@redhat.com>
26451169689Skan
26452169689Skan	* reload1.c (reload_cse_noop_set_p): Return false if mode of
26453169689Skan	SET_DEST is not the same as that returned by...
26454169689Skan	* cselib.h (cselib_reg_set_mode): ... new function.
26455169689Skan	* cselib.c (cselib_reg_set_mode): Define it.
26456169689Skan	(REG_VALUES): Document semantics of first element as set mode.
26457169689Skan	(cselib_subst_to_values): Skip first element if ELT is NULL.
26458169689Skan	(cselib_lookup): Likewise.  Insert past the first element.
26459169689Skan	(cselib_invalidate_regno): NULLify first element.
26460169689Skan	(cselib_record_set): Set first element.
26461169689Skan
26462169689Skan2003-04-16  Olivier Hainque <hainque@act-europe.fr>
26463169689Skan
26464169689Skan	* tree.c (skip_simple_arithmetics_at, saved_expr_p): New functions.
26465169689Skan	(save_expr): Replace loop by call to skip_simple_arithmetics_at.
26466169689Skan	* tree.h: Add prototypes for the two new functions.
26467169689Skan	* fold-const.c (fold_binary_op_with_conditional_arg): Replace test
26468169689Skan	updates introduced in the previous revision by call to saved_expr_p.
26469169689Skan	* stor-layout.c (put_pending_size): Use skip_simple_arithmetics_at.
26470169689Skan
26471169689Skan	* expr.c (store_field): Force usage of bitfield instructions when
26472169689Skan	the field position requires it, whatever SLOW_UNALIGNED_ACCESS.
26473169689Skan	(expand_expr, case BIT_FIELD_REF): likewise.
26474169689Skan
26475169689Skan2003-04-16  Mark Mitchell  <mark@codesourcery.com>
26476169689Skan
26477169689Skan	PR middle-end/8866
26478169689Skan	* cfgtrl.c (try_redirect_by_replacing_jump): Do not delete
26479169689Skan	jumptables.
26480169689Skan
26481169689Skan2003-04-16  Richard Henderson  <rth@redhat.com>
26482169689Skan
26483169689Skan	* config/ia64/ia64.c (sdata_symbolic_operand): Use
26484169689Skan	SYMBOL_REF_SMALL_P and SYMBOL_REF_LOCAL_P.
26485169689Skan	(tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL.
26486169689Skan	(function_operand): Use SYMBOL_REF_FUNCTION_P.
26487169689Skan	(ia64_expand_load_address): Likewise.
26488169689Skan	(ia64_assemble_integer): Likewise.
26489169689Skan	(ia64_encode_section_info): Remove.
26490169689Skan	(ia64_strip_name_encoding): Remove.
26491169689Skan	* config/ia64/ia64.h (ENCODE_SECTION_INFO_CHAR): Remove.
26492169689Skan	* config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't strip it.
26493169689Skan
26494169689Skan2003-04-16  Richard Henderson  <rth@redhat.com>
26495169689Skan
26496169689Skan	* config/alpha/alpha.c (SYMBOL_FLAG_NEAR, SYMBOL_FLAG_SAMEGP): New.
26497169689Skan	(samegp_function_operand): Use SYMBOL_FLAG_SAMEGP.
26498169689Skan	(direct_call_operand): Use SYMBOL_FLAG_NEAR.
26499169689Skan	(local_symbolic_operand): Use SYMBOL_REF_LOCAL_P.
26500169689Skan	(small_symbolic_operand): Use SYMBOL_REF_SMALL_P.
26501169689Skan	(global_symbolic_operand): Similarly.
26502169689Skan	(tls_symbolic_operand_1): Use SYMBOL_REF_TLS_MODEL.
26503169689Skan	(tls_symbolic_operand_type): Likewise.
26504169689Skan	(alpha_encode_section_info): Use default_encode_section_info.
26505169689Skan	(alpha_strip_name_encoding): Remove.
26506169689Skan	(get_tls_get_addr): Split out from ...
26507169689Skan	(alpha_legitimize_address): ... here.
26508169689Skan	(alpha_emit_xfloating_libcall): Use init_one_libfunc.
26509169689Skan	(get_some_local_dynamic_name_1): Use SYMBOL_REF_TLS_MODEL.
26510169689Skan	(alpha_initialize_trampoline): Use init_one_libfunc.
26511169689Skan	(alpha_setup_incoming_varargs): Mark unused parameters.
26512169689Skan	(alpha_initial_elimination_offset): Likewise.
26513169689Skan	(alpha_end_function): Use SYMBOL_FLAG_NEAR, SYMBOL_FLAG_SAMEGP.
26514169689Skan	(unicosmk_unique_section): Use default_strip_name_encoding.
26515169689Skan	(unicosmk_ssib_name, unicosmk_output_externs): Likewise.
26516169689Skan
26517169689Skan2003-04-16  Aldy Hernandez  <aldyh@redhat.com>
26518169689Skan
26519169689Skan	* config.gcc: Add t-spe for eabispe.
26520169689Skan
26521169689Skan	* config/rs6000/t-spe: New.
26522169689Skan
26523169689Skan2003-04-16  J"orn Rennecke <joern.rennecke@superh.com>
26524169689Skan
26525169689Skan	Re-apply this patch:
26526169689Skan
26527169689Skan	2002-05-16  Dale Johannesen  <dalej@apple.com>
26528169689Skan	  * combine.c (cant_combine_insn_p):  Reenable combinations
26529169689Skan	  involving hard regs unless CLASS_LIKELY_SPILLED_P.
26530169689Skan
26531169689Skan2003-04-16  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
26532169689Skan
26533169689Skan	PR/10271
26534169689Skan	* pa-protos.h (function_arg): Remove last argument.
26535169689Skan	* pa.c (function_arg): Likewise.  Use CUMULATIVE_ARGS struct instead.
26536169689Skan	* pa.h (struct hppa_args): Add member incoming.
26537169689Skan	(INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Initialize
26538169689Skan	member incoming.
26539169689Skan	(FUNCTION_ARG): Revise call to function_arg.
26540169689Skan	(FUNCTION_INCOMING_ARG): Delete.
26541169689Skan
26542169689Skan2003-04-15  Zack Weinberg  <zack@codesourcery.com>
26543169689Skan
26544169689Skan	* configure.in: Unify the code which creates symlinks to a
26545169689Skan	just-built as, ld, objdump, and nm with the code that detects
26546169689Skan	their presence for purposes of feature tests.
26547169689Skan	* configure: Regenerate.
26548169689Skan
26549169689Skan2003-04-15  Zack Weinberg  <zack@codesourcery.com>
26550169689Skan
26551169689Skan	* varasm.c (output_constant_def): Do not consult
26552169689Skan	CONSTANT_AFTER_FUNCTION_P.  Remove all code predicated on it.
26553169689Skan	(after_function_constants, output_after_function_constants): Delete.
26554169689Skan	* doc/tm.texi: Delete documentation of CONSTANT_AFTER_FUNCTION_P.
26555169689Skan	* config/mips/mips-protos.h, config/mips/mips.c
26556169689Skan	(mips16_constant_after_function_p): Delete.
26557169689Skan	* config/mips/mips.h: Delete #if-0-ed definition of
26558169689Skan	CONSTANT_AFTER_FUNCTION_P.
26559169689Skan	* config/d30v/d30v.h, config/stormy16/stormy16.h: Remove
26560169689Skan	mention of CONSTANT_AFTER_FUNCTION_P in comment.
26561169689Skan
26562169689Skan2003-04-15  Geoffrey Keating  <geoffk@apple.com>
26563169689Skan
26564169689Skan	* tree.c (next_decl_uid): Mark with GTY.
26565169689Skan	(next_type_uid): Likewise.
26566169689Skan
26567169689Skan2003-04-15  J"orn Rennecke <joern.rennecke@superh.com>
26568169689Skan
26569169689Skan	PR target/9594:
26570169689Skan	* sh.c (barrier_align): Also recognize stuff_delay_slot as
26571169689Skan	an indicator that a barrier was created by branch splitting.
26572169689Skan
26573169689Skan2003-04-15  Mark Mitchell  <mark@codesourcery.com>
26574169689Skan
26575169689Skan	* c-decl.c (implicitly_declare): Copy declarations that are going
26576169689Skan	to be placed in a local scope.
26577169689Skan
26578169689Skan2003-04-15  James A. Morrison  <ja2morri@uwaterloo.ca>
26579169689Skan
26580169689Skan	* invoke.texi (Spec Files): Wrap if-exists-else example.
26581169689Skan	(MCore): Remove duplicate @itemx entries and @opindex entries.
26582169689Skan
26583169689Skan2003-04-15  Ulrich Weigand  <uweigand@de.ibm.com>
26584169689Skan
26585169689Skan	* unwind.inc (_Unwind_Backtrace): New function.
26586169689Skan	* unwind.h (_Unwind_Backtrace): Declare it.
26587169689Skan	* libgcc-std.ver (_Unwind_Backtrace): Export it.
26588169689Skan
26589169689Skan2003-04-14  Jason Merrill  <jason@redhat.com>
26590169689Skan
26591169689Skan	PR middle-end/10336, c++/10401
26592169689Skan	* jump.c (never_reached_warning): Also stop looking if we reach the
26593169689Skan	beginning of the function.
26594169689Skan
26595169689Skan2003-04-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
26596169689Skan
26597169689Skan	PR target/10338
26598169689Skan	PR bootstrap/10198
26599169689Skan	PR bootstrap/10140
26600169689Skan	* fixinc/gnu-regex.c (regerror): Use mempcpy not __mempcpy.
26601169689Skan
26602169689Skan2003-04-15  J"orn Rennecke <joern.rennecke@superh.com>
26603169689Skan
26604169689Skan	* i386.md (abssf2_if+1): Make condition agree with abssf2_1 .
26605169689Skan
26606169689Skan2003-04-15  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
26607169689Skan
26608169689Skan	* optabs.c (expand_binop): In multi-word add cases, ensure
26609169689Skan	XTARGET is copied to TARGET if they are different.
26610169689Skan
26611169689Skan2003-04-15  Olivier Hainque <hainque@act-europe.fr>
26612169689Skan
26613169689Skan	* except.c (resolve_fixup_regions): Avoid dereferencing null pointer
26614169689Skan	to region, possible after integration of function with unreachable
26615169689Skan	regions that were optimized away.
26616169689Skan
26617169689Skan2003-04-15  Jakub Jelinek  <jakub@redhat.com>
26618169689Skan
26619169689Skan	* config/rs6000/rs6000.h (EPILOGUE_USES): Use register 2,
26620169689Skan	instead of TOC_REGISTER in epilogue in
26621169689Skan	current_function_calls_eh_return functions.
26622169689Skan
26623169689Skan2003-04-14  Mark Mitchell  <mark@codesourcery.com>
26624169689Skan
26625169689Skan	* doc/extend.texi (Empty Structures): Correct description of G++'s
26626169689Skan	handling of these structures.
26627169689Skan
26628169689Skan	* c-decl.c (grokdeclarator): Reject extern redeclarations of
26629169689Skan	static variables.
26630169689Skan
26631169689Skan2003-04-14  Janis Johnson  <janis287@us.ibm.com>
26632169689Skan
26633169689Skan	* config/rs6000/rs6000.md (define_constants): Define constants for
26634169689Skan	all UNSPEC usage, including new values for TLS support.
26635169689Skan	(aux_truncdfsf2, fctiwz, movsi_got, movsi_got_internal,
26636169689Skan	load_toc_aix_si, load_toc_aix_di, load_toc_v4_pic_si,
26637169689Skan	load_toc_v4_PIC_1, load_toc_v4_PIC_1b, load_macho_picbase,
26638169689Skan	macho_correct_pic, blockage, move_from_CR_ov_bit, movesi_from_cr,
26639169689Skan	stack_tie, movsi_to_cr_one, movsi_to_cr, mtcrfsi, eh_set_lr_si,
26640169689Skan	eh_set_lr_di): Use them.
26641169689Skan	* rs6000.c: (mtcrf_operation, uses_TOC, rs6000_emit_prologue,
26642169689Skan	rs6000_emit_epilogue) Use them.
26643169689Skan
26644169689Skan	* rtl.h (SYMBOL_REF_TLS_MODEL): Fix mask value.
26645169689Skan
26646169689Skan2003-04-14  Neil Booth  <neil@daikokuya.co.uk>
26647169689Skan
26648169689Skan	* Makefile.in (c-opts.o): Use custom action.
26649169689Skan
26650169689Skan2003-04-14  Douglas B Rupp  <rupp@gnat.com>
26651169689Skan
26652169689Skan	* ifcvt.c (noce_process_if_block): Fail on BLKmode move.
26653169689Skan
26654169689Skan2003-04-14  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
26655169689Skan
26656169689Skan	* stor-layout.c (layout_type, case ARRAY_TYPE): Add missing code to
26657169689Skan	handle "superflat arrays" in Ada.
26658169689Skan
26659169689Skan	* integrate.c (expand_inline_function): Don't inline if would
26660169689Skan	lose /u on a BLKmode TARGET.
26661169689Skan
26662169689Skan2003-04-14  Joel Brobecker  <brobecker@gnat.com>
26663169689Skan
26664169689Skan	* dbxout.c (print_int_cst_bounds_in_octal_p): New function,
26665169689Skan	extracted from dbxout_type.
26666169689Skan	(dbxout_range_type): print large bounds in octal format.
26667169689Skan	(dbxout_type): Replace extracted code by call to
26668169689Skan	print_int_cst_bounds_in_octal_p.
26669169689Skan
26670169689Skan	* dwarf2out.c (gen_compile_unit_die): Emit DW_LANG_Ada95 instead
26671169689Skan	of DW_LANG_Ada83 for Ada units.
26672169689Skan
26673169689Skan2003-04-14  Olivier Hainque <hainque@act-europe.fr>
26674169689Skan
26675169689Skan	* explow.c (round_push): Use HOST_WIDE_INT instead of int for the
26676169689Skan	temporary used to round CONST_INT sizes.
26677169689Skan
26678169689Skan	* tree.c (int_fits_type_p): Extract generic checks from the case
26679169689Skan	of constant type bounds. Refine the checks against constant type
26680169689Skan	bounds to allow for possible decisions against each of these bounds
26681169689Skan	without requiring both bounds to be constant.
26682169689Skan	(tree_int_cst_msb): Put back.
26683169689Skan	* tree.h (tree_int_cst_msb): Likewise.
26684169689Skan
26685169689Skan	* global.c (global_conflicts): Prevent allocation of call clobbered
26686169689Skan	hard regs to pseudos live across abnormal edges, as later passes are
26687169689Skan	not ready to handle them.
26688169689Skan
26689169689Skan	* fold-const.c (fold): Reorder tests for conditional expressions.
26690169689Skan
26691169689Skan	* expr.c (highest_pow2_factor): Return unsigned.
26692169689Skan	* expr.h (offset_address): Likewise.
26693169689Skan	* emit-rtl.c (offset_address): POW2 argument now unsigned.
26694169689Skan
26695169689Skan2003-04-14  Roger Sayle  <roger@eyesopen.com>
26696169689Skan
26697169689Skan	* builtins.c (expand_builtin_strlen):  Evaluate the lengths of
26698169689Skan	string literals at compile-time.
26699169689Skan
26700169689Skan2003-04-14  Roger Sayle  <roger@eyesopen.com>
26701169689Skan
26702169689Skan	* fold-const.c (fold):  Transform (c1 - x) cmp c2, where cmp is a
26703169689Skan	comparison operation and c1/c2 are floating point constants into
26704169689Skan	x swap(cmp) (c1 - c2).
26705169689Skan
26706169689Skan2003-04-14  Vladimir Makarov  <vmakarov@redhat.com>
26707169689Skan
26708169689Skan	* genautomata.c (output_translate_vect): Fix a typo in loop
26709169689Skan	condition.
26710169689Skan
26711169689Skan2003-04-14  Hans-Peter Nilsson  <hp@axis.com>
26712169689Skan
26713169689Skan	PR target/10377
26714169689Skan	* config/cris/cris.md ("*mov_sideqi", "*mov_sidehi")
26715169689Skan	("*mov_sidesi", "*mov_sideqi_mem", "*mov_sidehi_mem")
26716169689Skan	("*mov_sidesi_mem", "*clear_sidesi", "*clear_sidehi")
26717169689Skan	("*clear_sideqi", "*ext_sideqihi", "*ext_sideqisi")
26718169689Skan	("*ext_sidehisi", "*op_sideqi", "*op_sidehi", "*op_sidesi")
26719169689Skan	("*op_swap_sideqi", "*op_swap_sidehi", "*op_swap_sidesi")
26720169689Skan	("*extopqihi_side", "*extopqisi_side", "*extophisi_side")
26721169689Skan	("*extopqihi_swap_side", "*extopqisi_swap_side")
26722169689Skan	("*extophisi_swap_side", 8th, 9th, 10th, 11th, 14th peepholes):
26723169689Skan	When next to constraint R, replace constraint i with n.
26724169689Skan
26725169689SkanMon Apr 14 16:18:37 CEST 2003  Jan Hubicka  <jh@suse.cz>
26726169689Skan
26727169689Skan	PR opt/10024
26728169689Skan	* cfgrtl.c (force_nonfallthru_and_redirect): Use unchecked_make_edge.
26729169689Skan
26730169689Skan2003-04-14  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
26731169689Skan
26732169689Skan	* doc/contrib.texi (Contributors): Correct my entry.
26733169689Skan
26734169689Skan2003-04-13  Roger Sayle  <roger@eyesopen.com>
26735169689Skan
26736169689Skan	* tree.h (DECL_BUILT_IN_NONANSI): Remove.
26737169689Skan	* c-common.c (builtin_function_2): Don't set DECL_BUILT_IN_NONANSI.
26738169689Skan	* c-decl.c (duplicate_decls): Use invariant DECL_BUILT_IN_NONANSI
26739169689Skan	implies DECL_BUILT_IN to simplify logic.
26740169689Skan	* print-tree.c (print_node): Don't dump DECL_BUILT_IN_NONANSI.
26741169689Skan
26742169689Skan2003-04-13  Roger Sayle  <roger@eyesopen.com>
26743169689Skan
26744169689Skan	* builtin-types.def (BT_FN_STRING_CONST_STRING): New builtin type.
26745169689Skan	(BT_FN_PTR_SIZE_SIZE): Likewise.
26746169689Skan	* builtins.def (BUILT_IN_MALLOC, BUILT_IN_CALLOC, BUILT_IN_STRDUP):
26747169689Skan	New built-in functions for malloc, calloc and strdup respectively.
26748169689Skan	* calls.c (special_function_p): No need to handle malloc-like
26749169689Skan	functions any longer.  ECF_MALLOC is set via built-in attributes.
26750169689Skan
26751169689Skan	* c-decl.c (duplicate_decls): Preserve pure and malloc attributes.
26752169689Skan
26753169689Skan	* doc/extend.texi: Document these new built-in functions.
26754169689Skan
26755169689Skan2003-04-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
26756169689Skan
26757169689Skan	* builtins.c (expand_builtin_memcpy): Add `endp' argument, use it.
26758169689Skan	(expand_builtin_stpcpy): New.
26759169689Skan	(expand_builtin): Add BUILT_IN_MEMPCPY & BUILT_IN_STPCPY.
26760169689Skan	* builtins.def: Add mempcpy & stpcpy support.
26761169689Skan	* doc/extend.texi (mempcpy, stpcpy): Document new builtins.
26762169689Skan
26763169689Skan2003-04-13  Nick Clifton  <nickc@redhat.com>
26764169689Skan
26765169689Skan	* config/rs6000/rs6000.c: Replace occurrences of "GNU CC" with
26766169689Skan	"GCC".
26767169689Skan	* config/rs6000/40x.md, config/rs6000/603.md,
26768169689Skan	config/rs6000/6xx.md, config/rs6000/7450.md, config/rs6000/7xx.md,
26769169689Skan	config/rs6000/8540.md, config/rs6000/aix.h, config/rs6000/aix31.h,
26770169689Skan	config/rs6000/aix3newas.h, config/rs6000/aix41.h,
26771169689Skan	config/rs6000/aix43.h, config/rs6000/aix51.h,
26772169689Skan	config/rs6000/aix52.h, config/rs6000/altivec-defs.h,
26773169689Skan	config/rs6000/altivec.h, config/rs6000/altivec.md,
26774169689Skan	config/rs6000/beos.h, config/rs6000/darwin.h,
26775169689Skan	config/rs6000/eabi.h, config/rs6000/eabialtivec.h,
26776169689Skan	config/rs6000/eabisim.h, config/rs6000/eabispe.h,
26777169689Skan	config/rs6000/freebsd.h, config/rs6000/gnu.h,
26778169689Skan	config/rs6000/host-darwin.c, config/rs6000/linux.h,
26779169689Skan	config/rs6000/linux64.h, config/rs6000/linuxaltivec.h,
26780169689Skan	config/rs6000/lynx.h, config/rs6000/mach.h, config/rs6000/mpc.md,
26781169689Skan	config/rs6000/netbsd.h, config/rs6000/power4.md,
26782169689Skan	config/rs6000/rios1.md, config/rs6000/rios2.md,
26783169689Skan	config/rs6000/rs6000-c.c, config/rs6000/rs6000-modes.def,
26784169689Skan	config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
26785169689Skan	config/rs6000/rs6000.h, config/rs6000/rs6000.md,
26786169689Skan	config/rs6000/rs64.md, config/rs6000/rtems.h, config/rs6000/spe.h,
26787169689Skan	config/rs6000/spe.md, config/rs6000/sysv4.h,
26788169689Skan	config/rs6000/sysv4le.h, config/rs6000/vxworks.h,
26789169689Skan	config/rs6000/windiss.h, config/rs6000/xcoff.h: Likewise.
26790169689Skan
26791169689Skan2003-04-13  Nick Clifton  <nickc@redhat.com>
26792169689Skan
26793169689Skan	* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Delete
26794169689Skan	support for -mcall-aix switch.
26795169689Skan	* config/rs6000/eabiaix.h: Delete.
26796169689Skan	* config/rs6000/rs6000.h (rs6000_abi): Remove ABI_AIX_NODESC.
26797169689Skan	(RS6000_REG_SAVE, RS6000_SAVE_AREA, FP_ARGS_MAX_REG,
26798169689Skan	RETURN_ADDRESS_OFFSET): Remove use of ABI_AIX_NODESC.
26799169689Skan	* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Likewise.
26800169689Skan	* config/rs6000/rs6000.c (print_operand, rs6000_stack_info,
26801169689Skan	debug_stack_info, output_function_profiler,
26802169689Skan	rs6000_trampoline_size, rs6000_initialise_trampoline): Likewise.
26803169689Skan	* config/rs6000/rs6000.md (call, call_value, call_nonlocal_sysv,
26804169689Skan	call_indirect_nonlocal_sysv, call_value_indirect_nonlocal_sysv,
26805169689Skan	call_value_nonlocal_sysv, sibcall_value_nonlocal_sysv,
26806169689Skan	sibcall_nonlocal_sysv, sibcall_value_local64): Likewise.
26807169689Skan	* config/rs6000/t-ppcgas (MULTILIB_OPTIONS): Remove mcall-aix
26808169689Skan	multilibs.
26809169689Skan	(MULTILIB_DIRNAMES): Remove mcall-aix directories.
26810169689Skan	(MULTILIB_EXCEPTIONS): Delete.
26811169689Skan	(MULTILIB_MATCHES): Remove mcall-aix matches.
26812169689Skan
26813169689Skan	* doc/fragments.texi: Replace -mcall-aix example with an ARM
26814169689Skan	one.
26815169689Skan	* doc/install.texi: Delete powerpc-*-eabiaix target.
26816169689Skan	* doc/invoke.texi: Remove documentation of mcall-aix switch.
26817169689Skan	* doc/tm.texi: Remove mcall-aix from example CPP_SPEC.
26818169689Skan	* config.gcc: Delete powerpc-*-eabiaix target.
26819169689Skan
26820169689Skan2003-04-13  Kazu Hirata  <kazu@cs.umass.edu>
26821169689Skan
26822169689Skan	* doc/invoke.texi: Fix typos.
26823169689Skan	* doc/tm.texi: Likewise.
26824169689Skan
26825169689Skan2003-04-12  Zack Weinberg  <zack@codesourcery.com>
26826169689Skan
26827169689Skan	* c-typeck.c (digest_init, push_init_level): Use CONSTRUCTOR_ELTS.
26828169689Skan
26829169689Skan2003-04-12  Zack Weinberg  <zack@codesourcery.com>
26830169689Skan
26831169689Skan	* tree.c (build_constructor): New function.
26832169689Skan	* tree.h: Prototype it.
26833169689Skan
26834169689Skan	* c-typeck.c (build_c_cast, pop_init_level)
26835169689Skan	* profile.c (build_function_info_value, build_gcov_info_value)
26836169689Skan	(create_profiler):
26837169689Skan	Use build_constructor.
26838169689Skan
26839169689Skan	* builtins.c (expand_builtin_args_info): Remove #if 0 blocks.
26840169689Skan
26841169689Skan	* objc/objc-act.c (build_constructor):
26842169689Skan	Rename objc_build_constructor. Use build_constructor.
26843169689Skan	(build_objc_string_object, objc_add_static_instance)
26844169689Skan	(init_def_list, init_objc_symtab, init_module_descriptor)
26845169689Skan	(generate_static_references, build_selector_translation_table)
26846169689Skan	(build_descriptor_table_initializer, generate_descriptor_table)
26847169689Skan	(build_protocol_initializer, build_ivar_list_initializer)
26848169689Skan	(generate_ivars_list, build_dispatch_table_initializer)
26849169689Skan	(generate_dispatch_table, generate_protocol_list)
26850169689Skan	(build_category_initializer, build_shared_structure_initializer):
26851169689Skan	Update to match.
26852169689Skan
26853169689Skan2003-04-12  Zack Weinberg  <zack@codesourcery.com>
26854169689Skan
26855169689Skan	* intl.h: #define gcc_gettext_width to strlen when !ENABLE_NLS.
26856169689Skan
26857169689Skan2003-04-12  Stephane Carrez  <stcarrez@nerim.fr>
26858169689Skan
26859169689Skan	* config/m68hc11/m68hc11-protos.h
26860169689Skan	(m68hc11_eq_compare_operator): Declare
26861169689Skan	* config/m68hc11/m68hc11.h (PREDICATE_CODES): Register new predicate.
26862169689Skan	* config/m68hc11/m68hc11.c (m68hc11_eq_compare_operator): New predicate
26863169689Skan	(d_register_operand): Check the operand mode.
26864169689Skan	(hard_addr_reg_operand): Likewise.
26865169689Skan
26866169689Skan2003-04-12  Stephane Carrez  <stcarrez@nerim.fr>
26867169689Skan
26868169689Skan	* config/m68hc11/m68hc11.md ("decrement_and_branch_until_zero"): New
26869169689Skan	pattern for dbcc/ibcc generation for 68HC12.
26870169689Skan	("doloop_end"): New pattern.
26871169689Skan	("m68hc12_dbcc_dec_hi"): New pattern for dbeq/dbne.
26872169689Skan	("m68hc12_dbcc_inc_hi"): New pattern for ibeq/ibne.
26873169689Skan	("m68hc12_dbcc_dec_qi"): New pattern.
26874169689Skan	("m68hc12_dbcc_inc_qi"): New pattern.
26875169689Skan	(split): Add split for the above when we can't use dbcc/ibcc due to
26876169689Skan	reloading.
26877169689Skan	(peephole2): Add peephole2 to generate the above when possible.
26878169689Skan
26879169689Skan2003-04-12  Stephane Carrez  <stcarrez@nerim.fr>
26880169689Skan
26881169689Skan	* config/m68hc11/m68hc11.md ("bitcmpqi" split): No need to test the
26882169689Skan	mode of operand 0.
26883169689Skan	(peephole2 optimize const load): Likewise for operand 2.
26884169689Skan	("*rotlhi3_with_carry"): Change pattern to a const 1 rotate which
26885169689Skan	clobbers CC_REGNUM.
26886169689Skan	("*rotrhi3_with_carry"): Likewise.
26887169689Skan	(ashift:DI 1 split): Update pattern to create the above rotate.
26888169689Skan	(lshiftrt:DI 1 split): Likewise.
26889169689Skan
26890169689Skan2003-04-12  Stephane Carrez  <stcarrez@nerim.fr>
26891169689Skan
26892169689Skan	* config/m68hc11/m68hc11.md (SOFT_Z_REGNUM): New constant.
26893169689Skan	("tstqi_z_used" split): Use it.
26894169689Skan	("cmphi_z_used"): Likewise.
26895169689Skan	("bitcmpqi_z_used"): Likewise; also use SP_REGNUM constant.
26896169689Skan	("cmpqi_z_used"): Likewise.
26897169689Skan
26898169689Skan2003-04-12  Mark Mitchell  <mark@codesourcery.com>
26899169689Skan
26900169689Skan	PR c++/7910
26901169689Skan	* config/i386/winnt.c (i386_pe_mark_dllimport): Fix thinko.
26902169689Skan
26903169689Skan2003-04-12  Zack Weinberg  <zack@codesourcery.com>
26904169689Skan
26905169689Skan	* configure.in: Check for wchar.h, mbstowcs, and wcswidth.
26906169689Skan	* configure, config.in: Regenerate.
26907169689Skan	* intl.c (gcc_gettext_width): New function.
26908169689Skan	* intl.h: Prototype it.
26909169689Skan
26910169689Skan2003-04-12  Stephane Carrez  <stcarrez@nerim.fr>
26911169689Skan
26912169689Skan	* config/m68hc11/m68hc11.h (TARGET_SWITCHES): Fix -mnominmax option;
26913169689Skan	recognize -mnorelax.
26914169689Skan	(reg_class): Add Z_OR_S_REGS to represent soft registers with Z
26915169689Skan	(REG_CLASS_NAMES): Add its name.
26916169689Skan	(REG_CLASS_CONTENTS): Define its content.
26917169689Skan
26918169689Skan2003-04-12  Stephane Carrez  <stcarrez@nerim.fr>
26919169689Skan
26920169689Skan	* config/m68hc11/larith.asm (memcpy): Use ARG macro to access stack
26921169689Skan	parameters so that offsets are valid for far definition.
26922169689Skan	(__mulsi3): Likewise and use ret to return.
26923169689Skan	(___adddi3, ___subdi3, ___notdi2, ): Don't use it to save the result.
26924169689Skan
26925169689Skan2003-04-12  David Edelsohn  <edelsohn@gnu.org>
26926169689Skan
26927169689Skan	* config/rs6000/rs6000.c (rs6000_hash_constant): Skip '0' fields.
26928169689Skan
26929169689Skan2003-04-12  Alexandre Oliva  <aoliva@redhat.com>
26930169689Skan
26931169689Skan	* mklibgcc.in (libgcc-stage-start): For every multilib  directory
26932169689Skan	containing a libgcc.a, move lib* to the corresponding stage dir.
26933169689Skan
26934169689Skan	* Makefile.in (stage1-start, stage2-start, stage3-start,
26935169689Skan	stage4-start): Move $(SPECS) to specs in stage dir.
26936169689Skan	(unstage1 unstage2 unstage3 unstage4): Move specs in stage dir
26937169689Skan	back as $(SPECS).
26938169689Skan
26939169689Skan	* mklibgcc.in (libgcc-stage-start): Move into the stage directory
26940169689Skan	object files from the non-libgcc/ multilib directories as well.
26941169689Skan
26942169689Skan2003-04-11  Geoffrey Keating  <geoffk@apple.com>
26943169689Skan
26944169689Skan	* profile.c (read_counts_file): Initialise 'checksum'.
26945169689Skan
26946169689Skan	* emit-rtl.c (gen_rtx): Really correct typo.
26947169689Skan
26948169689Skan	PR c++/9393
26949169689Skan	* doc/invoke.texi (Debugging Options): Document -frandom-seed.
26950169689Skan	* configure.in: Check for gettimeofday.
26951169689Skan	* tree.c (flag_random_seed): Define.
26952169689Skan	(default_flag_random_seed): New.
26953169689Skan	(append_random_chars): Use flag_random_seed rather than trying
26954169689Skan	to acquire randomness here.
26955169689Skan	* tree.h (default_flag_random_seed): Declare.
26956169689Skan	* toplev.c (display_help): Add -frandom-seed and -fstack-limit-*
26957169689Skan	descriptions.
26958169689Skan	(decode_f_option): Handle -frandom-seed.
26959169689Skan	(print_switch_values): Call default_flag_random_seed.
26960169689Skan	* flags.h (flag_random_seed): Declare.
26961169689Skan	* configure: Regenerate.
26962169689Skan	* config.in: Regenerate.
26963169689Skan	* config/alpha/t-crtfm: Use -frandom-seed.
26964169689Skan
26965169689Skan	* doc/extend.texi (Empty Structures): New.
26966169689Skan
26967169689Skan	* c-pch.c: Include flags.h.  Add comments to routines.
26968169689Skan	(struct c_pch_validity): New.
26969169689Skan	(get_ident): Update PCH file version number.
26970169689Skan	(pch_init): Output current debugging type.
26971169689Skan	(c_common_valid_pch): Check debugging type.
26972169689Skan	* Makefile.in (c-pch.o): Update dependencies.
26973169689Skan	* flags.h (debug_type_names): Declare.
26974169689Skan	* toplev.c (debug_type_names): Move out of decode_g_option.
26975169689Skan
26976169689Skan2003-04-11  Eric Christopher  <echristo@redhat.com>
26977169689Skan
26978169689Skan	* emit-rtl.c (gen_rtx): Fix typos.
26979169689Skan
26980169689Skan2003-04-11  Richard Henderson  <rth@redhat.com>
26981169689Skan
26982169689Skan	* emit-rtl.c (gen_rtx): Zero '0' fields.
26983169689Skan
26984169689Skan2003-04-11  Richard Henderson  <rth@redhat.com>
26985169689Skan
26986169689Skan	PR c++/10202
26987169689Skan	* expr.c (expand_expr): Use COMPLETE_OR_UNBOUND_ARRAY_TYPE_P
26988169689Skan	not COMPLETE_TYPE_P for re-invoking layout_decl.
26989169689Skan
26990169689Skan2003-04-11  Simon Law  <sfllaw@engmail.uwaterloo.ca>
26991169689Skan
26992169689Skan	* doc/bugreport.texi: Fix paragraph breaking between sections
26993169689Skan	in preparation for TeXinfo's paragraph indentation fixes.
26994169689Skan	* doc/extend.texi: Ditto.
26995169689Skan	* doc/invoke.texi: Ditto.
26996169689Skan	* doc/objc.texi: Ditto.
26997169689Skan	* doc/gcov.texi: Wrap 'gcov' in @command{}.
26998169689Skan	* doc/invoke.texi (Darwin Options): Add a preamble.
26999169689Skan
27000169689Skan2003-04-11  Richard Henderson  <rth@redhat.com>
27001169689Skan
27002169689Skan	* config/i386/i386.c (tls_model_chars): Remove.
27003169689Skan	(ix86_encode_section_info, ix86_strip_name_encoding): Remove.
27004169689Skan	(local_symbolic_operand): Use SYMBOL_REF_LOCAL_P.
27005169689Skan	(tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL.
27006169689Skan	(tls_symbolic_operand_1): Likewise.
27007169689Skan	(legitimate_pic_address_disp_p): Use SYMBOL_REF_LOCAL_P.
27008169689Skan	* config/i386/i386.h (TARGET_ENCODE_SECTION_INFO): Remove.
27009169689Skan	(TARGET_STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Remove.
27010169689Skan	* config/i386/winnt.c (i386_pe_encode_section_info): Replace
27011169689Skan	bits "copied from i386.h" with default_encode_section_info.
27012169689Skan
27013169689Skan2003-04-11  Richard Henderson  <rth@redhat.com>
27014169689Skan
27015169689Skan	* rtl.def (SYMBOL_REF): Add two 0 fields.
27016169689Skan	* gengtype.c (adjust_field_rtx_def): Handle them.
27017169689Skan	* print-rtl.c (print_rtx): Print them.
27018169689Skan	* rtl.h (SYMBOL_REF_DECL, SYMBOL_REF_FLAGS): New.
27019169689Skan	(SYMBOL_FLAG_FUNCTION, SYMBOL_REF_FUNCTION_P): New.
27020169689Skan	(SYMBOL_FLAG_LOCAL, SYMBOL_REF_LOCAL_P): New.
27021169689Skan	(SYMBOL_FLAG_SMALL, SYMBOL_REF_SMALL_P): New.
27022169689Skan	(SYMBOL_FLAG_TLS_SHIFT, SYMBOL_REF_TLS_MODEL): New.
27023169689Skan	(SYMBOL_FLAG_EXTERNAL, SYMBOL_REF_EXTERNAL_P): New.
27024169689Skan	(SYMBOL_FLAG_MACH_DEP): New.
27025169689Skan	* optabs.c (init_one_libfunc): Zap fake SYMBOL_REF_DECL.
27026169689Skan	* varasm.c (make_decl_rtl): Set SYMBOL_REF_DECL.
27027169689Skan	(assemble_static_space): Set SYMBOL_REF_FLAGS.
27028169689Skan	(assemble_trampoline_template): Likewise.
27029169689Skan	(output_constant_def, force_const_mem): Likewise.
27030169689Skan	(default_encode_section_info): New.
27031169689Skan	* output.h: Declare it.
27032169689Skan	* target-def.h (TARGET_ENCODE_SECTION_INFO): Use it.
27033169689Skan
27034169689Skan2003-04-11  Richard Henderson  <rth@redhat.com>
27035169689Skan
27036169689Skan	* libfuncs.h (LTI_setbits, LTI_gcov_flush, LTI_gcov_init): New.
27037169689Skan	(setbits_libfunc, gcov_flush_libfunc, gcov_init_libfunc): New.
27038169689Skan	* optabs.c (init_optabs): Initialize them.
27039169689Skan	(init_libfuncs): Use init_one_libfunc.
27040169689Skan	* calls.c (expand_call): Use gcov_flush_libfunc.
27041169689Skan	* expr.c (store_constructor): Use setbits_libfunc.
27042169689Skan	* function.c (expand_main_function): Use init_one_libfunc.
27043169689Skan	* profile.c (create_profiler): Use gcov_init_libfunc and DECL_RTL.
27044169689Skan
27045169689Skan2003-04-11  Mark Mitchell  <mark@codesourcery.com>
27046169689Skan
27047169689Skan	* doc/c-tree.texi (Functions): Remove DECL_REAL_CONTEXT
27048169689Skan	documentation; add DECL_FRIEND_CONTEXT.
27049169689Skan
27050169689Skan2003-04-11  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
27051169689Skan
27052169689Skan	* doc/install.texi (hppa): Update links for HP-UX patches.  Revise
27053169689Skan	notes on linker selection and configuration for 64-bit HP-UX port.
27054169689Skan	* doc/invoke.texi (hppa): Remove hppa text from description for
27055169689Skan	-ffunction-sections and -fdata-sections.  Document -static, -nolibdld
27056169689Skan	and -threads options.
27057169689Skan
27058169689Skan	* pa-hpux10.h (LIB_SPEC): Add link options to resolve dependency of
27059169689Skan	libc.a on libdld.sl when -static is specified and -nolibdld is not
27060169689Skan	specified.
27061169689Skan	* pa64-hpux.h (LIB_SPEC): Likewise.
27062169689Skan	* pa-hpux11.h (LIB_SPEC): Likewise.
27063169689Skan	(LINK_SPEC): Add __gcc_plt_call as an undefined symbol when -shared
27064169689Skan	is not specified.
27065169689Skan
27066169689Skan2003-04-11  Zack Weinberg  <zack@codesourcery.com>
27067169689Skan
27068169689Skan	* config/darwin-c.c (darwin_pragma_unused): Use lookup_name,
27069169689Skan	not IDENTIFIER_LOCAL_VALUE.
27070169689Skan
27071169689Skan2003-04-11  Richard Henderson  <rth@redhat.com>
27072169689Skan
27073169689Skan	PR c/10201
27074169689Skan	* expr.c (expand_expr): Move DECL_RTL frobbing ...
27075169689Skan	* stor-layout.c (layout_decl): ... here.
27076169689Skan
27077169689Skan2003-04-11  James A. Morrison <ja2morri@uwaterloo.ca>
27078169689Skan
27079169689Skan	* doc/invoke.texi: Eliminate extra white-space caused by
27080169689Skan	@gccoptlist{ on its own line.
27081169689Skan	* doc/invoke.texi: Ensured there are two spaces between each option.
27082169689Skan	* doc/invoke.texi: Re-wrapped option lines that were too wide.
27083169689Skan	Added @gol to options that didn't have them.
27084169689Skan
27085169689Skan2003-04-11  Nathan Sidwell  <nathan@codesourcery.com>
27086169689Skan
27087169689Skan	* Makefile.in (loop-init.o): Do not depend on gcov-io.h,
27088169689Skan	gcov-iov.h.
27089169689Skan
27090169689Skan	Simplify interface to gcov reading and writing.
27091169689Skan	* gcov-io.h (gcov_file, gcov_position, gcov_length, gcov_buffer,
27092169689Skan	gcov_alloc, gcov_modified, gcov_errored): Move into ...
27093169689Skan	(struct gcov_var gcov_var): ... this static structure.
27094169689Skan	(gcov_write_unsigned, gcov_write_counter, gcov_write_string):
27095169689Skan	Return void.
27096169689Skan	(gcov_read_unsigned, gcov_read_couter, gcov_read_string): Return
27097169689Skan	read object.
27098169689Skan	(gcov_read_bytes, gcov_write_bytes): Set error flag on error.
27099169689Skan	(gcov_reserve_length): Remove.
27100169689Skan	(gcov_write_tag): New.
27101169689Skan	(gcov_write_length): Adjust.
27102169689Skan	(gcov_read_summary, gcov_write_summary): Adjust.
27103169689Skan	(gcov_eof, gcov_ok): Rename to ...
27104169689Skan	(gcov_is_eof, gcov_is_error): ... here. Return error code.
27105169689Skan	(gcov_save_position, gcov_resync): Rename to ...
27106169689Skan	(gcov_position, gcov_seek): ... here.
27107169689Skan	(gcov_skip, gcov_skip_string): Remove.
27108169689Skan	(gcov_error): Remove.
27109169689Skan	(gcov_open, gcov_close): Adjust.
27110169689Skan	* gcov.c (find_source): Take const char *, copy it on allocation.
27111169689Skan	(read_graph_file): Adjust.
27112169689Skan	(read_count_file): Adjust.
27113169689Skan	* libgcov.c (gcov_exit): Adjust.
27114169689Skan	* gcov-dump.c (tag_function, tag_blocks, tag_arcs, tag_lines,
27115169689Skan	tag_arc_counts, tag_summary): Return void. Adjust.
27116169689Skan	(struct tag_format): Adjust proc member.
27117169689Skan	(dump_file): Adjust gcov calls.
27118169689Skan
27119169689Skan2003-04-11  Alexandre Oliva  <aoliva@redhat.com>
27120169689Skan
27121169689Skan	* Makefile.in (fixinc.sh): Pass BUILD_LIBERTY as LIBERTY to
27122169689Skan	mkfixinc.sh.
27123169689Skan	* fixinc/mkfixinc.sh (defs): Add LIBERTY.
27124169689Skan	* configure.in (STMP_FIXINC, STMP_FIXPROTO): Don't disable on
27125169689Skan	build != host sysrooted builds.
27126169689Skan	* configure.in (SYSTEM_HEADER_DIR): Make sure it contains
27127169689Skan	TARGET_SYSTEM_ROOT even on sysrooted natives.
27128169689Skan	* configure: Rebuilt.
27129169689Skan
27130169689Skan2003-04-10  Zack Weinberg  <zack@codesourcery.com>
27131169689Skan
27132169689Skan	* c-decl.c (struct binding_level): Add shadowed_tags and
27133169689Skan	function_body; remove this_block, tag_transparent, and
27134169689Skan	subblocks_tag_transparent; update comments.
27135169689Skan	(clear_binding_level, lookup_tag_reverse): Kill.
27136169689Skan	(make_binding_level): Use ggc_alloc_cleared or memset.
27137169689Skan	(lookup_tag): Remove struct binding_level* parameter.  All
27138169689Skan	callers changed. Just look at IDENTIFIER_TAG_VALUE, and
27139169689Skan	current_binding_level->tags if asked for thislevel_only or if
27140169689Skan	we might have to diagnose "struct foo; union foo;"
27141169689Skan	(pushlevel): Ignore argument.  Do not push another binding
27142169689Skan	level on the transition from the parameters to the top level
27143169689Skan	of the function body; just tweak the flags and proceed.
27144169689Skan	(poplevel): Overhaul.  Clear IDENTIFIER_TAG_VALUEs; on exiting
27145169689Skan	a function body, separate the parameter list from the
27146169689Skan	top-level local variables.
27147169689Skan	(set_block): Do nothing.
27148169689Skan	(pushtag): Set IDENTIFIER_TAG_VALUE and add an entry to
27149169689Skan	shadowed_tags if necessary.
27150169689Skan	(warn_if_shadowing): Nuke the special case for local shadowing
27151169689Skan	parameter.
27152169689Skan	(pushdecl): Do not create a shadow entry if we are replacing
27153169689Skan	an older decl in the same binding level.
27154169689Skan	(pushdecl_function_level): Tweak for new way of indicating
27155169689Skan	function scope.
27156169689Skan	(shadow_tag_warned): Use TYPE_NAME, not	lookup_tag_reverse.
27157169689Skan	(start_function): Don't set subblocks_tag_transparent.
27158169689Skan	(finish_function): Fix up the binding_level stack for totally
27159169689Skan	empty functions.  Otherwise, don't call poplevel.
27160169689Skan
27161169689Skan	* c-common.c (shadow_warning): MANDATORY argument is no longer
27162169689Skan	necessary.  Always use plain warning.
27163169689Skan	* c-common.h: Update to match.
27164169689Skan
27165169689Skan	* cfglayout.c (scope_to_insns_initialize): Clear block when we
27166169689Skan	hit the FUNCTION_DECL.
27167169689Skan	* function.c: Do not create cyclic tree structure.
27168169689Skan
27169169689Skan2003-04-10  Zack Weinberg  <zack@codesourcery.com>
27170169689Skan
27171169689Skan	* c-tree.h (struct lang_identifier): Replace global_value,
27172169689Skan	local_value members with symbol_value, tag_value.  Kill
27173169689Skan	implicit_decl and limbo_value.
27174169689Skan	(IDENTIFIER_GLOBAL_VALUE, IDENTIFIER_LOCAL_VALUE,
27175169689Skan	IDENTIFIER_LIMBO_VALUE, IDENTIFIER_IMPLICIT_DECL,
27176169689Skan	C_MISSING_PROTOTYPE_WARNED): Kill.
27177169689Skan	(IDENTIFIER_SYMBOL_VALUE, IDENTIFIER_TAG_VALUE,
27178169689Skan	C_DECL_IMPLICIT, C_DECL_ISNT_PROTOTYPE): New.
27179169689Skan	(C_DECL_ANTICIPATED): Rename to C_DECL_INVISIBLE.
27180169689Skan	(implicit_decl_warning, lookup_name_current_level,
27181169689Skan	record_function_scope_shadow): Don't prototype.
27182169689Skan	(pushdecl_function_level): Prototype.
27183169689Skan
27184169689Skan	* c-decl.c (truly_local_externals): New variable.
27185169689Skan	(struct binding_level): Adjust commentary.
27186169689Skan	(get_function_binding_level, clear_limbo_values,
27187169689Skan	record_function_scope_shadow): Kill.
27188169689Skan	(lookup_name_current_level, implicit_decl_warning): Are	now static.
27189169689Skan	(any_external_decl, record_external_decl): New static functions.
27190169689Skan	(clone_underlying type): Split out of pushdecl.
27191169689Skan	(c_print_identifier): Update to match changes to struct
27192169689Skan	lang_identifier.
27193169689Skan	(poplevel): Delete #if 0 block.  Make externals invisible
27194169689Skan	instead of clearing their IDENTIFIER_SYMBOL_VALUEs.  Don't
27195169689Skan	call clear_limbo_values.  Refer to IDENTIFIER_SYMBOL_VALUE not
27196169689Skan	IDENTIFIER_GLOBAL_VALUE or IDENTIFIER_LOCAL_VALUE.
27197169689Skan	(duplicate-decls): For real parm decl after a forward decl,
27198169689Skan	set TREE_ASM_WRITTEN here.  Allow void foo(...) followed by
27199169689Skan	foo(...) { } with only a warning.  Say whether a previous
27200169689Skan	declaration was implicit.
27201169689Skan	(warn_if_shadowing): Now handles all shadowing, not just
27202169689Skan	local-over-local.  Clarify comments.
27203169689Skan	(pushdecl): Rewritten.  There is no longer a distinction
27204169689Skan	between global and local symbol values; they're all
27205169689Skan	IDENTIFIER_SYMBOL_VALUE.  Call record_external_decl on all
27206169689Skan	DECL_EXTERNAL decls, and use any_external_decl to check
27207169689Skan	against previous externals.  Kill #if 0 blocks.  Don't
27208169689Skan	tolerate error_mark_node being NULL.
27209169689Skan	(pushdecl_top_level): Handle only those cases which
27210169689Skan	Objective C (the only user) needs.
27211169689Skan	(pushdecl_function_level): New function.
27212169689Skan	(implicitly_declare): Create ordinary decls with
27213169689Skan	C_DECL_IMPLICIT set.  Recycle old decls, however they got
27214169689Skan	created.
27215169689Skan	(lookup_name): It's always IDENTIFIER_SYMBOL_VALUE. Return 0
27216169689Skan	for C_DECL_INVISIBLE symbols.
27217169689Skan	(lookup_name_current_level): Likewise.  Use chain_member.
27218169689Skan	(c_make_fname_decl): Don't muck with DECL_CONTEXT.
27219169689Skan	Use pushdecl_function_level.
27220169689Skan	(builtin_function): Use C_DECL_INVISIBLE.
27221169689Skan	(start_function): Don't muck with IDENTIFIER_IMPLICIT_DECL.
27222169689Skan	Use C_DECL_ISNT_PROTOTYPE and C_DECL_IMPLICIT.
27223169689Skan	(store_parm_decls): It's IDENTIFIER_SYMBOL_VALUE now.
27224169689Skan	(identifier_global_value): Same.  Must scan
27225169689Skan	global_binding_level in extremis.
27226169689Skan
27227169689Skan	* c-typeck.c (undeclared_variable): New static function, split
27228169689Skan	from build_external_ref.
27229169689Skan	(build_external_ref): Use DECL_CONTEXT, not
27230169689Skan	IDENTIFIER_LOCAL_VALUE, to decide whether a local hides
27231169689Skan	an instance variable.  Restructure for clarity.
27232169689Skan	* objc/objc-act.c: Use identifier_global_value, not
27233169689Skan	IDENTIFIER_GLOBAL_VALUE.
27234169689Skan
27235169689Skan2003-04-08  Jonathan Wakely  <redi@gcc.gnu.org>
27236169689Skan
27237169689Skan	* doc/extend.texi (Template Instantiation): Refer to ISO standard,
27238169689Skan	not Working Paper.
27239169689Skan	* doc/invoke.texi (C++ Dialect Options): Same.
27240169689Skan
27241169689Skan2003-04-10  Zack Weinberg  <zack@codesourcery.com>
27242169689Skan
27243169689Skan	* tree.c (tree_operand_check_failed): New function.
27244169689Skan	* tree.h (TREE_OPERAND_CHECK, TREE_OPERAND_CHECK_CODE,
27245169689Skan	TREE_RTL_OPERAND_CHECK): New checking macros.
27246169689Skan	(TREE_OPERAND, SAVE_EXPR_CONTEXT, SAVE_EXPR_RTL,
27247169689Skan	RTL_EXPR_SEQUENCE, RTL_EXPR_RTL, WITH_CLEANUP_EXPR_RTL,
27248169689Skan	CONSTRUCTOR_ELTS, LABELED_BLOCK_LABEL, LABELED_BLOCK_BODY,
27249169689Skan	EXIT_BLOCK_RETURN, LOOP_EXPR_BODY, EXPR_WFL_NODE,
27250169689Skan	EXPR_WFL_FILENAME_NODE, EXPR_WFL_FILENAME, TARGET_EXPR_SLOT,
27251169689Skan	TARGET_EXPR_INITIAL, TARGET_EXPR_CLEANUP): Use the new
27252169689Skan	checking macros.
27253169689Skan
27254169689SkanThu Apr 10 23:52:30 CEST 2003  Jan Hubicka  <jh@suse.cz>
27255169689Skan
27256169689Skan	PR inline-asm/8803
27257169689Skan	* function.c (instantate_virtual_regs):  Verify that all ASM statements
27258169689Skan	match after the virutal regs instantiation.
27259169689Skan
27260169689Skan2003-04-10  Steve Ellcey  <sje@cup.hp.com>
27261169689Skan
27262169689Skan	* ia64-protos.h (addp4_optimize_ok): New.
27263169689Skan	* ia64.c (addp4_optimize_ok): New.
27264169689Skan	* ia64.md (*ptr_extend_plus_1): Use addp4_optimize_ok.
27265169689Skan	(*ptr_extend_plus_2): Ditto.
27266169689Skan
27267169689Skan2003-04-10  Steve Ellcey  <sje@cup.hp.com>
27268169689Skan
27269169689Skan	* expr.c (expand_assignment): Extend offset_rtx with convert_to_mode
27270169689Skan	not with convert_memory_address.
27271169689Skan	(store_constructor): Ditto, and same for copy_size_rtx.
27272169689Skan	(expand_expr): Ditto.
27273169689Skan
27274169689Skan2003-04-10  Douglas B Rupp  <rupp@gnat.com>
27275169689Skan
27276169689Skan	* config/i386/i386.c (ix86_ms_bitfield_layout_p): Fix formatting.
27277169689Skan
27278169689Skan2003-04-10  Bob Wilson  <bob.wilson@acm.org>
27279169689Skan
27280169689Skan	* config/xtensa/lib2funcs.S (__xtensa_sync_caches): Flush data cache
27281169689Skan	even if it is configured to be write-through.
27282169689Skan
27283169689Skan2003-04-10  Ulrich Weigand  <uweigand@de.ibm.com>
27284169689Skan
27285169689Skan	* config/s390/s390.c (larl_operand): Do not allow symbols
27286169689Skan	marked with '@'.
27287169689Skan	(s390_encode_section_info): Mark symbols with forced 1-byte
27288169689Skan	alignment with '@'.
27289169689Skan	(s390_strip_name_encoding): Strip '@'.
27290169689Skan	(legitimize_pic_address): Handle symbols that are not valid
27291169689Skan	LARL operands in 64-bit mode.
27292169689Skan
27293169689Skan2003-04-10  Andrew Haley  <aph@redhat.com>
27294169689Skan
27295169689Skan	* tree-inline.c (inlinable_function_p): Disable inlining for
27296169689Skan	synchronized methods.
27297169689Skan
27298169689Skan2003-04-09  Steven Bosscher  <steven@gcc.gnu.org>
27299169689Skan
27300169689Skan	* c-common.h (lang_statement_code_p): Remove declaration.
27301169689Skan	(statement_code_p): Ditto.
27302169689Skan	(c_common_stmt_codes): Define; list of c-common statement codes.
27303169689Skan	(statement_code_p): New extern declaration.
27304169689Skan	(STATEMENT_CODE_P): Define.
27305169689Skan	(INIT_STATEMENT_CODES): Define.
27306169689Skan	* c-common.c (statement_code_p): Kill the function, declare
27307169689Skan	as an array of bools instead.
27308169689Skan	(lang_statement_code_p): Remove.
27309169689Skan	(walk_stmt_tree): Use STATEMENT_CODE_P not statement_code_p.
27310169689Skan	(c_safe_from_p): Ditto.
27311169689Skan	* c-objc-common.c (c_objc_common_init): Use INIT_STATEMENT_CODES
27312169689Skan	to initialize the statement_code_p array.
27313169689Skan	* tree-inline.c (walk_tree): Use STATEMENT_CODE_P instead of
27314169689Skan	statement_code_p.
27315169689Skan	(copy_tree_r): Ditto.
27316169689Skan	* cp/cp-tree.h (cp_stmt_codes): Define; list of C++ specific
27317169689Skan	statement tree codes.
27318169689Skan	* cp/lex.c (cxx_init): Add missing print line break.  Use
27319169689Skan	INIT_STATEMENT_CODES to initialize the statement_code_p array.
27320169689Skan	* cp/parser.c (cp_parser_statement): Use STATEMENT_CODE_P
27321169689Skan	instead of statement_code_p.
27322169689Skan	* cp/pt.c (tsubst_expr): Ditto.
27323169689Skan	* cp/tree.c (verify_stmt_tree_r): Ditto.
27324169689Skan	(cp_statement_code_p): Remove.
27325169689Skan	(init_tree): Don't set lang_statement_code_p, it's gone.
27326169689Skan
27327169689Skan2003-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
27328169689Skan	    Zack Weinberg  <zack@codesourcery.com>
27329169689Skan
27330169689Skan	* regrename.c (struct du_chain): Use a bitfield for reg_class.
27331169689Skan	* cse.c (struct qty_table_elem, struct table_elt, struct set):
27332169689Skan	Use bitfields for fields holding enum rtx_code or
27333169689Skan	enum machine_mode values.  Add comments explaining size choices.
27334169689Skan
27335169689Skan2003-04-09  Alexandre Oliva  <aoliva@redhat.com>
27336169689Skan
27337169689Skan	* config/fp-bit.c (unpack_d): Handle pair of doubles with
27338169689Skan	different signs correctly.
27339169689Skan
27340169689Skan2003-04-09  Vladimir Makarov  <vmakarov@redhat.com>
27341169689Skan
27342169689Skan	* sched-deps.c (reg_pending_barrier_mode): New enumeration.
27343169689Skan	(reg_pending_barrier): Make it of the enumeration type.
27344169689Skan	(sched_analyze_2): Define the barrier as MOVE_BARRIER or
27345169689Skan	TRUE_BARRIER.
27346169689Skan	(sched_analyze): Ditto.
27347169689Skan	(sched_analyze_insn): Ditto.  Use anti-dependencies for
27348169689Skan	MOVE_BARRIER and true-dependencies as TRUE_BARRIER.
27349169689Skan	(init_deps_global): Initialize the barrier as NO_BARRIER.
27350169689Skan
27351169689Skan2003-04-09  Vladimir Makarov  <vmakarov@redhat.com>
27352169689Skan
27353169689Skan	* config/ia64/ia64.c (issue_nops_and_insn): Add new parameter.
27354169689Skan	Check that asm insn starts on a new cycle.  Add nops after asm
27355169689Skan	insn to end bundle.
27356169689Skan	(bundling): Move insn type evaluation from the loop.  Call
27357169689Skan	issue_nops_and_insn with the new parameter.  Ignore changing
27358169689Skan	position for nops after asm insn.
27359169689Skan
27360169689Skan2003-04-09  Alexandre Oliva  <aoliva@redhat.com>
27361169689Skan
27362169689Skan	* optabs.c: Comment that gen_add2_insn and others may actually
27363169689Skan	return emitted insns, if the gen functions turn out to return
27364169689Skan	emitted insns.
27365169689Skan	* reload1.c (reload_cse_move2add): Cope with emitted insns from
27366169689Skan	gen_add2_insn.
27367169689Skan
27368169689Skan2003-04-09  Richard Henderson  <rth@redhat.com>
27369169689Skan
27370169689Skan	* config/ia64/ia64.c (move_operand): Allow symbolic_operand,
27371169689Skan	but not tls_symbolic_operand.
27372169689Skan	(ia64_expand_load_address): Remove scratch operand.
27373169689Skan	(ia64_expand_tls_address): Split out from ia64_expand_move.
27374169689Skan	(ia64_expand_move): Split symbolics only after reload.
27375169689Skan	(ia64_emit_cond_move): New.
27376169689Skan	* config/ia64/ia64-protos.h: Update.
27377169689Skan	* config/ia64/ia64.md (movsi_symbolic, movdi_symbolic): Remove.
27378169689Skan	(symbolic splitter): Accept SImode operands too.
27379169689Skan	(cmove splitter): Use ia64_emit_cond_move.
27380169689Skan
27381169689Skan2003-04-09  Nick Clifton  <nickc@redhat.com>
27382169689Skan
27383169689Skan	* doc/install.texi: Note that ARM toolchains need binutils 2.13 or
27384169689Skan	newer.
27385169689Skan	* config/arm/elf.h (SUBTARGET_ASM_FLOAT_SPEC): Pass -mfpu=softfpa
27386169689Skan	instead of -mno-fpu.
27387169689Skan	* config/arm/semi.h (ASM_SPEC): Likewise.
27388169689Skan	* config/arm/xscale-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise,
27389169689Skan	but only if -msoft-float is specified pass.  Otherwise pass
27390169689Skan	-mfpu=softvfp.
27391169689Skan
27392169689Skan2003-04-09  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
27393169689Skan
27394169689Skan	* function.c (purge_addressof): Use free_INSN_LIST_node instead of
27395169689Skan	free_EXPR_LIST_node.
27396169689Skan
27397169689Skan2003-04-08  Roger Sayle  <roger@eyesopen.com>
27398169689Skan
27399169689Skan	* fold-const.c (fold):  Use "fold" following build in more places.
27400169689Skan	Optimize sqrt(x)*sqrt(x) as x, pow(x,y)*pow(z,y) as pow(x*z,y),
27401169689Skan	pow(x,y)*pow(x,z) as pow(x,y+z) and x/pow(y,z) as x*pow(y,-z).
27402169689Skan
27403169689Skan2003-04-08  Roger Sayle  <roger@eyesopen.com>
27404169689Skan
27405169689Skan	* builtins.c (fold_builtin):  Constant fold expressions as x*0.5
27406169689Skan	instead of x/2.0.  Optimize sqrt(pow(x,y)) as pow(x,y*0.5),
27407169689Skan	log(pow(x,y)) as y*log(x), pow(exp(x),y) as exp(x*y),
27408169689Skan	pow(sqrt(x),y) as pow(x,y*0.5) and pow(pow(x,y),z) as pow(x,y*z).
27409169689Skan	Delete function scope "fcode" variable to avoid shadowing.
27410169689Skan
27411169689Skan2003-04-08  Kevin Buettner  <kevinb@redhat.com>
27412169689Skan
27413169689Skan	* dwarf2out.c (DWARF_ARANGES_HEADER_SIZE, DWARF_ARANGES_PAD_SIZE):
27414169689Skan	Take into account DWARF_INITIAL_LENGTH_SIZE.
27415169689Skan
27416169689Skan2003-04-08  Hans-Peter Nilsson  <hp@axis.com>
27417169689Skan
27418169689Skan	* reorg.c (fill_slots_from_thread): When considering changing the
27419169689Skan	insn following a reg-to-reg copy insn to use the source reg of the
27420169689Skan	copy, bail out if there's overlap between the registers.
27421169689Skan
27422169689Skan2003-04-08  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
27423169689Skan
27424169689Skan	* function.c (postponed_insns): New.
27425169689Skan	(purge_addressof_1): Postpone processing of insns if addressofs
27426169689Skan	are not put into stack.
27427169689Skan	(purge_addressof): Process postponed insns.
27428169689Skan
27429169689Skan2003-04-08  J"orn Rennecke <joern.rennecke@superh.com>
27430169689Skan
27431169689Skan	* sh.h (NORMAL_MODE): If interrupt handler and TARGET_FMOVD,
27432169689Skan	this is FP_MODE_DOUBLE .
27433169689Skan	* sh.c (ra.h): #include.
27434169689Skan	(push_regs): Add second parameter.  Changed all callers.
27435169689Skan	If necessary, set fpscr before saving floating point registers.
27436169689Skan	(calc_live_regs): If interrupt handler and TARGET_FMOVD, always
27437169689Skan	do saves / restores with SZ == 1.
27438169689Skan	(sh_expand_prologue): If interrupt handler, don't use gen_toggle_sz.
27439169689Skan	(sh_expand_epilogue): Likewise.  For TARGET_FMOVD, if floating point
27440169689Skan	registers are being restored, restore FPSCR only after restoring them.
27441169689Skan
27442169689Skan2003-04-08  Aldy Hernandez  <aldyh@redhat.com>
27443169689Skan
27444169689Skan	* config/rs6000/rs6000.c (rs6000_init_builtins): Set opaque types
27445169689Skan	regardless of architecture.
27446169689Skan	(spe_init_builtins): Change V2SI and V2SF types to opaque types.
27447169689Skan
27448169689Skan2003-04-08  J"orn Rennecke <joern.rennecke@superh.com>
27449169689Skan
27450169689Skan	* sh.c (push_regs, calc_live_regs): Return int.  Take single
27451169689Skan	HARD_REG_SET * parameter.  Changed all callers.
27452169689Skan
27453169689SkanTue Apr  8 11:12:07 CEST 2003  Jan Hubicka  <jh@suse.cz>
27454169689Skan
27455169689Skan	* i386.c (legitimate_pic_address_disp_p): Do not accept PLUS in the
27456169689Skan	GOTOFF operand.
27457169689Skan	(legitimize_pic_address): Move plus outside the unspec.
27458169689Skan	* i386.c (legitimate_constant_p):  Check (CONST (PLUS (UNSPEC ...
27459169689Skan	for validity.
27460169689Skan
27461169689Skan2003-04-08  Nathan Sidwell  <nathan@codesourcery.com>
27462169689Skan
27463169689Skan	* gcov-io.h (gcov_save_position): Remove __inline__ from
27464169689Skan	declaration.
27465169689Skan
27466169689Skan2003-04-07  Matt Kraai  <kraai@alumni.cmu.edu>
27467169689Skan
27468169689Skan	* doc/install.texi: Use @command and @samp for single- and
27469169689Skan	multi-word commands respectively.
27470169689Skan	* doc/makefile.texi: Likewise.
27471169689Skan	* doc/sourcebuild.texi: Likewise.
27472169689Skan
27473169689Skan2003-04-07  Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>
27474169689Skan	    Richard Henderson  <rth@redhat.com>
27475169689Skan
27476169689Skan	PR c/9516
27477169689Skan	* expr.c (safe_from_p): Rearrange to avoid deep recursion in
27478169689Skan	favor of looping and tail recursion for TREE_LIST and binops.
27479169689Skan
27480169689Skan2003-04-08  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
27481169689Skan
27482169689Skan	* loop.h (REGNO_FIRST_LUID, REGNO_LAST_LUID): Provide defaults
27483169689Skan	for insns without luid.
27484169689Skan
27485169689Skan2003-04-07  Glen Nakamura  <glen@imodulo.com>
27486169689Skan
27487169689Skan	PR opt/8634
27488169689Skan	* explow.c (maybe_set_unchanging): Don't flag non-static const
27489169689Skan	aggregate type initializers with RTX_UNCHANGING_P.
27490169689Skan
27491169689Skan2003-04-07  Richard Henderson  <rth@redhat.com>
27492169689Skan
27493169689Skan	PR opt/8634
27494169689Skan	* function.c (purge_addressof_1): Don't try arithmetics for
27495169689Skan	unchanging memories.
27496169689Skan
27497169689Skan2003-04-07  Janis Johnson  <janis187@us.ibm.com>
27498169689Skan
27499169689Skan	* doc/sourcebuild.texi (Test Suites): Document testing support for
27500169689Skan	gcov and profile-directed optimizations; describe gcc.misc-tests.
27501169689Skan
27502169689SkanMon Apr  7 22:19:59 CEST 2003  Jan Hubicka  <jh@suse.cz>
27503169689Skan
27504169689Skan	PR target/10077
27505169689Skan	* i386.md (movsi_1, movsi_nointerunit_1):  Fix SSEMOV alternative.
27506169689Skan
27507169689Skan2003-04-07  Eric Botcazou  <ebotcazou@libertysurf.fr>
27508169689Skan
27509169689Skan	* doc/rtl.texi (Comparison operations): Update to
27510169689Skan	record the allowed comparison modes.
27511169689Skan
27512169689Skan2003-04-07  Aldy Hernandez  <aldyh@redhat.com>
27513169689Skan
27514169689Skan	* config/rs6000/rs6000.c (rs6000_common_init_builtins): Rename all
27515169689Skan	V2SI_type_node to opaque_V2SI_type_node.  Rename all
27516169689Skan	V2SF_type_node to opaque_V2SF_type_node.
27517169689Skan	(rs6000_init_builtins): Define opaque_V2SI_type_node and
27518169689Skan	opaque_V2SF_type_node.
27519169689Skan	(is_ev64_opaque_type): The types opaque_V2SI_type_node and
27520169689Skan	opaque_V2SF_type_node are opaque types.
27521169689Skan
27522169689Skan2003-04-07  J"orn Rennecke <joern.rennecke@superh.com>
27523169689Skan
27524169689Skan	* gcse.c (replace_store_insn): Use single_set.
27525169689Skan
27526169689Skan2003-04-07  Nathan Sidwell  <nathan@codesourcery.com>
27527169689Skan
27528169689Skan	Change gcov file interface to single file at a time.
27529169689Skan	* gcov-io.h: Replace IN_LIBGCC1 with IN_LIBGCOV. Use IN_GCOV.
27530169689Skan	Convert to C89 prototypes.
27531169689Skan	(gcov_file, gcov_length, gcov_position, gcov_buffer, gcov_alloc,
27532169689Skan	gcov_error, gcov_modified): New static variables.
27533169689Skan	(gcov_open, gcov_close, gcov_read_bytes, gcov_write_bytes): New
27534169689Skan	functions.
27535169689Skan	(gcov_write_unsigned, gcov_write_counter, gcov_write_string,
27536169689Skan	gcov_read_unsigned, gcov_read_counter, gcov_read_string): Adjust.
27537169689Skan	(gcov_read_summary, gcov_write_summary): Adjust.
27538169689Skan	(gcov_save_position, gcov_reserve_length, gcov_write_length):
27539169689Skan	Adjust.
27540169689Skan	(gcov_resync, gcov_skip, gcov_skip_string): Adjust.
27541169689Skan	(da_file_open, da_file_close, da_file_eof, da_file_error): Remove.
27542169689Skan	(da_file_position, da_file_seek, da_file_write, da_file_read):
27543169689Skan	Remove.
27544169689Skan	(gcov_error, gcov_eof, gcov_ok, gcov_time): New functions.
27545169689Skan	* gcov.c (gcov_type): Don't typedef here.
27546169689Skan	(IN_GCOV): #define
27547169689Skan	(read_graph_file, read_count_file): Adjust.
27548169689Skan	* gcov-dump.c (gcov_type): Don't typedef here.
27549169689Skan	(IN_GCOV): #define.
27550169689Skan	(tag_function, tag_blocks, tag_arcs, tag_lines, tag_arc_counts):
27551169689Skan	Remove FILE parameter, adjust.
27552169689Skan	(struct tag_format): Adjust proc member.
27553169689Skan	(dump_file): Adjust.
27554169689Skan	* libgcov.c (IN_LIBGCOV): #define.
27555169689Skan	(gcov_exit): Adjust.
27556169689Skan	* loop-init.c: Don't #include gcov-io.h
27557169689Skan	* profile.c (struct counts_entry): New structure to hold counter
27558169689Skan	values.
27559169689Skan	(struct section_reference, struct da_index_entry): Remove.
27560169689Skan	(bbg_file, da_file): Remove.
27561169689Skan	(htab_counts_index_hash, htab_counts_index_eq,
27562169689Skan	htab_counts_index_del): Replace with ...
27563169689Skan	(htab_counts_entry_hash, htab_counts_entry_eq,
27564169689Skan	htab_counts_entry_del): ... these.
27565169689Skan	(cleanup_counts_index, index_counts_file): Remove.
27566169689Skan	(read_counts_file): New function.
27567169689Skan	(get_exec_counts): Adjust.
27568169689Skan	(compute_branch_probabilities): Don't free the exec counts here.
27569169689Skan	(branch_prob): Adjust.
27570169689Skan	(init_branch_prob): Adjust.
27571169689Skan	(end_branch_prob): Adjust.
27572169689Skan
27573169689Skan2003-04-07  Aldy Hernandez  <aldyh@redhat.com>
27574169689Skan
27575169689Skan	* doc/invoke.texi (RS/6000 and PowerPC Options): Document
27576169689Skan	-mfloat-gprs.
27577169689Skan
27578169689Skan	* config/rs6000/rs6000.c: Delete rs6000_fprs.
27579169689Skan	Declare rs6000_float_gprs.
27580169689Skan	Declare rs6000_float_gprs_string.
27581169689Skan	(rs6000_parse_float_gprs_option): New.
27582169689Skan	(rs6000_override_options): Genericize rs6000_parse_* calls to use
27583169689Skan	rs6000_parse_yes_no_option.
27584169689Skan	Change check for cpu=8540, to use TARGET_E500.
27585169689Skan	(rs6000_parse_isel_option): Delete.
27586169689Skan	(rs6000_parse_spe_option): Delete.
27587169689Skan	(rs6000_parse_vrsave_option): Delete.
27588169689Skan
27589169689Skan	* config/rs6000/rs6000.h: Rename rs6000_fprs to rs6000_float_gprs.
27590169689Skan	Define rs6000_float_gprs_string.
27591169689Skan	(TARGET_OPTIONS): Add rs6000_float_gprs option.
27592169689Skan
27593169689Skan	* config/rs6000/eabi.h (TARGET_FPRS): Change to use rs6000_float_gprs.
27594169689Skan
27595169689Skan	* config/rs6000/eabispe.h: Set rs6000_float_gprs.
27596169689Skan
27597169689SkanMon Apr  7 14:36:24 CEST 2003  Jan Hubicka  <jh@suse.cz>
27598169689Skan
27599169689Skan	PR opt/10024
27600169689Skan	* cfglayout.c (cfg_layout_redirect_edge):
27601169689Skan	Redirect any branch edges unified with the fallthru one.
27602169689Skan	* cfgrtl.c (force_nonfallthru_and_redirect):  Do not special
27603169689Skan	case fallthru edges when called via cfglayout.c
27604169689Skan
27605169689Skan2003-04-07  J"orn Rennecke <joern.rennecke@superh.com>
27606169689Skan
27607169689Skan	* c-typeck.c (output_init_element): Check for type == error_mark_node.
27608169689Skan
27609169689Skan2003-04-07  Kazu Hirata  <kazu@cs.umass.edu>
27610169689Skan
27611169689Skan	* config/h8300/h8300.md (*zero_extendqisi2_h8300hs): Always
27612169689Skan	split.
27613169689Skan	(a splitter): Do zero-extension via HImode.
27614169689Skan
27615169689Skan2003-04-07  James A. Morrison <ja2morri@uwaterloo.ca>
27616169689Skan
27617169689Skan	* doc/invoke.texi: Eliminate extra white-space caused by
27618169689Skan	@gccoptlist{ on its own line.
27619169689Skan	* doc/invoke.texi: Ensured there are two spaces between each option.
27620169689Skan	* doc/invoke.texi: Re-wrapped option lines that were too wide.
27621169689Skan	Added @gol to options that didn't have them.
27622169689Skan
27623169689Skan2003-04-07  James A Morrison <ja2morri@student.math.uwaterloo.ca>
27624169689Skan
27625169689Skan	* doc/extend.texi (Darwin Pragmas): Fix spelling of Mac OS.
27626169689Skan
27627169689Skan2003-04-06  Zack Weinberg  <zack@codesourcery.com>
27628169689Skan
27629169689Skan	* tree.c (tree_size): For all 'c' and 'x' nodes, look directly
27630169689Skan	at the sizes of the relevant structures, rather than relying
27631169689Skan	on TREE_CODE_LENGTH.  Call lang_hooks.tree_size to get the
27632169689Skan	sizes of any such we don't know about.  Use
27633169689Skan	lang_hooks.identifier_size for IDENTIFIER_NODE.
27634169689Skan
27635169689Skan	(initializer_zerop): Use CONSTRUCTOR_ELTS.
27636169689Skan	* tree.def: Update commentary.  Make fourth element of
27637169689Skan	the definition for all 'c' and 'x' nodes zero.
27638169689Skan
27639169689Skan	* langhooks.h: New hook, tree_size / LANG_HOOKS_TREE_SIZE.
27640169689Skan	* langhooks-def.h: Update to match.
27641169689Skan	* langhooks.c: New default, lhd_tree_size.
27642169689Skan
27643169689Skan	* c-common.def (SRCLOC): Kill.
27644169689Skan	* c-pretty-print.c (pp_c_postfix_expression [case SRCLOC]):
27645169689Skan	Remove entirely - was already #if-ed out.
27646169689Skan
27647169689Skan
27648169689Skan2003-04-06  Zack Weinberg  <zack@codesourcery.com>
27649169689Skan
27650169689Skan	* mklibgcc.in: Use a here document to avoid running afoul of
27651169689Skan	shells that generate control-A from "echo \1".
27652169689Skan
27653169689Skan2003-04-06  Aldy Hernandez  <aldyh@redhat.com>
27654169689Skan
27655169689Skan	* doc/invoke.texi (RS/6000 and PowerPC Options): Document -mspe
27656169689Skan	option.
27657169689Skan
27658169689Skan	* config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Set
27659169689Skan	rs6000_spe.
27660169689Skan
27661169689Skan	* config/rs6000/eabi.h (TARGET_E500): Define.
27662169689Skan
27663169689Skan	* config/rs6000/rs6000.h (TARGET_E500): Define.
27664169689Skan	(TARGET_OPTIONS): Add spe= option.
27665169689Skan	Declare rs6000_spe and rs6000_spe_string extern.
27666169689Skan
27667169689Skan	* config/rs6000/rs6000.c (branch_positive_comparison_operator):
27668169689Skan	Change TARGET_SPE to TARGET_E500.
27669169689Skan	(ccr_bit): Change TARGET_SPE to TARGET_E500.  Check for
27670169689Skan	!TARGET_FPRS.
27671169689Skan	(print_operand): Same.
27672169689Skan	(rs6000_generate_compare): Same.
27673169689Skan	(output_cbranch): Same.
27674169689Skan	(rs6000_spe): Declare.
27675169689Skan	(rs6000_spe_string): Declare.
27676169689Skan	(rs6000_override_options): Call rs6000_parse_spe_option.
27677169689Skan	(rs6000_parse_spe_option): New.
27678169689Skan
27679169689Skan2003-04-06  Steven Bosscher  <steven@gcc.gnu.org>
27680169689Skan
27681169689Skan	* hashtable.c (gcc_obstack_init): Delete this function
27682169689Skan	and everything related to it.
27683169689Skan	* hashtable.h: Remove prototype.
27684169689Skan	* bitmap.c (bitmap_element_allocate): Cleanup redundant
27685169689Skan	defines.  Cleanup some unnecessary whitespace.
27686169689Skan	* defaults.h (obstack_chunk_alloc): Redefine with
27687169689Skan	appropriate casts for libiberty obstacks.
27688169689Skan	(obstack_chunk_free): Ditto.
27689169689Skan	(OBSTACK_CHUNK_SIZE): Define, default to 0.
27690169689Skan	(gcc_obstack_init): Define as a call to _obstack_begin.
27691169689Skan	* tree.c (print_obstack_statistics): Delete this unused
27692169689Skan	function.
27693169689Skan	* tree.h (obstack): Don't forward-declare.
27694169689Skan	(print_obstack_statistics): Delete prototype.
27695169689Skan	(print_obstack_name): Ditto.
27696169689Skan	(gcc_obstack_init): Ditto.
27697169689Skan	* rtl.h (gcc_obstack_init): Ditto.
27698169689Skan	* java/jv-scan.c (gcc_obstack_init): Delete this
27699169689Skan	function, its prototype and related defines.
27700169689Skan	* java/jvgenmain.c (gcc_obstack_init): Delete this
27701169689Skan	function, and related defines.
27702169689Skan	* java/parse-scan.y (obstack_chunk_alloc): Don't define.
27703169689Skan	(obstack_chunk_free): Ditto
27704169689Skan
27705169689Skan2003-04-06  Geoffrey Keating  <geoffk@apple.com>
27706169689Skan
27707169689Skan	* dbxout.c (dbxout_handle_pch): Move prototype out from
27708169689Skan	#if defined DBX_DEBUGGING_INFO.
27709169689Skan
27710169689Skan2003-04-05  Nathan Sidwell  <nathan@codesourcery.com>
27711169689Skan
27712169689Skan	* gcov.c (struct arc_info): Replace local_span with cycle.
27713169689Skan	(struct block_info): Replace u.span with u.cycle. Add is_call_return.
27714169689Skan	(solve_flow_graph): Set is_call_return.
27715169689Skan	(add_line_counts): Adjust. In block mode, blocks attach to last line.
27716169689Skan	(accumulate_line_counts): Find graph cycles, not spanning tree.
27717169689Skan	(output_branch_count): Adjust.
27718169689Skan	(output_lines): Adjust.
27719169689Skan	* doc/gcov.texi: Update.
27720169689Skan
27721169689Skan2003-04-06  Kazu Hirata  <kazu@cs.umass.edu>
27722169689Skan
27723169689Skan	* config/h8300/h8300.md (*zero_extendqisi2_h8300hs): Change
27724169689Skan	the second alternative to "#".
27725169689Skan
27726169689Skan2003-04-05  Kazu Hirata  <kazu@cs.umass.edu>
27727169689Skan
27728169689Skan	* config/h8300/h8300.c (single_one_operand): Use GET_MODE_MASK.
27729169689Skan	(single_zero_operand): Likewise.
27730169689Skan
27731169689Skan2003-04-05  Daniel Berlin  <dberlin@dberlin.org>
27732169689Skan
27733169689Skan	* Makefile.in (df.o):  Depend on alloc-pool.h, not obstack.h.
27734169689Skan	* df.c: Include alloc-pool.h, not obstack.h.
27735169689Skan	(df_ref_obstack): Remove.
27736169689Skan	(df_ref_pool, df_link_pool): Add pools.
27737169689Skan	(df_alloc): Init the new pools.
27738169689Skan	(df_free): And free them.
27739169689Skan	(df_link_create): Use the pools.
27740169689Skan	(df_ref_create): Ditto.
27741169689Skan
27742169689Skan2003-04-05  Kazu Hirata  <kazu@cs.umass.edu>
27743169689Skan
27744169689Skan	* simplify-rtx.c: Fix formatting.
27745169689Skan
27746169689Skan2003-04-05  Andrew Pinski  <apinski@apple.com>
27747169689Skan
27748169689Skan	* config/rs6000/rs6000.c (addrs_ok_for_quad_peep): Allow addr2
27749169689Skan	reg with reg1 == reg2 and offset1 = -8.
27750169689Skan
27751169689Skan2003-04-05  David Edelsohn  <edelsohn@gnu.org>
27752169689Skan
27753169689Skan	* config/rs6000/rs6000.c (rs6000_rtx_costs): Halve Power4
27754169689Skan	multiply costs.  Correct Power4 divide costs.
27755169689Skan	* config/rs6000/power4.md: Restore multiply and FP latency.
27756169689Skan
27757169689Skan2003-04-05  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
27758169689Skan
27759169689Skan	* alias.c (find_base_term): Export.
27760169689Skan	* rtl.h (find_base_term): Declare.
27761169689Skan	* gcse.c (find_moveable_store): Test for flag_non_call_exceptions
27762169689Skan	instead of flag_exceptions.  Move test for parameter passing ...
27763169689Skan	(store_killed_in_insn): ... here.
27764169689Skan
27765169689Skan2003-04-05  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
27766169689Skan
27767169689Skan	PR bootstrap/10267
27768169689Skan	* doc/install.texi (*-*-solaris2): /bin/ksh is not just recommended
27769169689Skan	for configuring.
27770169689Skan
27771169689Skan2003-04-04  Geoffrey Keating  <geoffk@apple.com>
27772169689Skan
27773169689Skan	* dbxout.c (scope_labelno): Add GTY.
27774169689Skan	(have_used_extensions): Add GTY.
27775169689Skan	(source_label_number): Add GTY.
27776169689Skan	(lastfile): Add GTY.
27777169689Skan	(lastfile_is_base): New.
27778169689Skan	(base_input_file): New.
27779169689Skan	(dbxout_handle_pch): New.
27780169689Skan	(dbx_debug_hooks): Add handle_pch.
27781169689Skan	(xcoff_debug_hooks): Likewise.
27782169689Skan	(dbxout_function_end): Remove scope_labelno.
27783169689Skan	(dbxout_init): Set base_input_file.
27784169689Skan	(dbxout_handle_pch): New.
27785169689Skan	(dbxout_source_file): Honour lastfile_is_base.
27786169689Skan	* dwarfout.c (dwarf_debug_hooks): Add dummy handle_pch.
27787169689Skan	* sdbout.c (sdb_debug_hooks): Add dummy handle_pch.
27788169689Skan	* vmsdbgout.c (vmsdbg_debug_hooks): Add dummy handle_pch.
27789169689Skan	* dwarf2out.c (dwarf2_debug_hooks): Add dummy handle_pch.
27790169689Skan	* debug.c (do_nothing_debug_hooks): Add dummy handle_pch.
27791169689Skan	* debug.h (struct gcc_debug_hooks): Add handle_pch.
27792169689Skan	* c-pch.c (pch_init): Don't call start_source_file, but do call
27793169689Skan	handle_pch.
27794169689Skan	(c_common_write_pch): Call handle_pch.
27795169689Skan	(c_common_read_pch): Don't call start_source_file,
27796169689Skan	or end_source_file.
27797169689Skan
27798169689SkanFri Apr  4 17:43:52 2003  Olivier Hainque <hainque@act-europe.fr>
27799169689Skan
27800169689Skan	* emit-rtl.c (get_mem_attrs): Adjust alignment tests determining
27801169689Skan	use of default attributes to agree MEM_ALIGN macro.
27802169689Skan
27803169689SkanFri Apr  4 17:33:24 2003  Joel Brobecker  <brobecker@gnat.com>
27804169689Skan
27805169689Skan	* dbxout.c (dbxout_type): When printing type index of range type
27806169689Skan	whose bounds are printed in octal format, print type of parent type if
27807169689Skan	it exists so enumerated type descriptions are not transformed
27808169689Skan	into unsigned types.
27809169689Skan
27810169689Skan2003-04-04  Kazu Hirata  <kazu@cs.umass.edu>
27811169689Skan
27812169689Skan	* config/h8300/h8300-protos.h: Add a prototype for
27813169689Skan	compute_a_shift_cc.
27814169689Skan	* config/h8300/h8300.c (shift_one): Update the CC status.
27815169689Skan	(shift_two): Likewise.
27816169689Skan	(output_a_shift_cc): Set cc_inline and cc_special.
27817169689Skan	(compute_a_shift_cc): New.
27818169689Skan	* config/h8300/h8300.md (shift insns): Use compute_a_shift_cc.
27819169689Skan
27820169689Skan2003-04-04  Richard Henderson  <rth@redhat.com>
27821169689Skan
27822169689Skan	* cse.c (fold_rtx): Fix 03-30 change; do check insn non-null.
27823169689Skan
27824169689Skan2003-04-04  Loren James Rittle  <ljrittle@acm.org>
27825169689Skan
27826169689Skan	* fixinc/inclhack.def (bsd_stdio_attrs_conflict): New.
27827169689Skan	* fixinc/fixincl.x: Rebuilt.
27828169689Skan	* fixinc/tests/base/stdio.h: Regenerated.
27829169689Skan
27830169689Skan2003-04-04  Nathan Sidwell  <nathan@codesourcery.com>
27831169689Skan
27832169689Skan	* gcov.c (accumulate_line_counts): Fix span tree merge bug.
27833169689Skan
27834169689SkanFri Apr  4 15:58:52 2003  J"orn Rennecke <joern.rennecke@superh.com>
27835169689Skan
27836169689Skan	* sh.h (ACTUAL_NORMAL_MODE): New macro, broken out of
27837169689Skan	(NORMAL_MODE).
27838169689Skan	* sh.c (fpscr_set_from_mem): Use ACTUAL_NORMAL_MODE.
27839169689Skan
27840169689Skan2003-04-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
27841169689Skan
27842169689Skan	* doc/contrib.texi (Contributors): Add entries for Wolfgang
27843169689Skan	Bangerth, DJ Delorie, Christian Ehrhardt, Christopher Faylor,
27844169689Skan	Nathanael Nerode, Diego Novillo, Hartmut Penner, Volker Reichelt,
27845169689Skan	Danny Smith, and Ulrich Weigand.
27846169689Skan	Update Kriang Lerdsuwanakij and fix a typo in Janis Johnson's
27847169689Skan	entry.
27848169689Skan
27849169689Skan2003-04-04  Nick Clifton  <nickc@redhat.com>
27850169689Skan
27851169689Skan	* config/sparc/sol2-bi.h: Revert previous delta.
27852169689Skan	* config/sparc/sol2-gas-bi.h (AS_SPARC64_FLAG): Prepend -TSO
27853169689Skan
27854169689Skan2003-04-04  Nick Clifton  <nickc@redhat.com>
27855169689Skan
27856169689Skan	* config/v850/v850.c (expand_prologue): Only use register save
27857169689Skan	helper functions if long calls are not being used.
27858169689Skan	Add a clobber of r11 id using long calls.
27859169689Skan	(pattern_is_ok_for_prologue): Account for the extra clobber.
27860169689Skan	(construct_save_jarl): Likewise.
27861169689Skan	* config/v850/v850.md (prolog pattern): Do not use this pattern
27862169689Skan	for v850e's.
27863169689Skan
27864169689Skan2003-04-04  Andreas Schwab  <schwab@suse.de>
27865169689Skan
27866169689Skan	* stor-layout.c (layout_decl): Avoid syntax error in last change
27867169689Skan	when PCC_BITFIELD_TYPE_MATTERS is defined but not
27868169689Skan	EMPTY_FIELD_BOUNDARY.
27869169689Skan
27870169689Skan2003-04-03  Jason Merrill  <jason@redhat.com>
27871169689Skan
27872169689Skan	PR c/10175
27873169689Skan	* jump.c (never_reached_warning): Revert patch of 2002-11-02.
27874169689Skan	Look backwards for a line note.
27875169689Skan
27876169689Skan2003-04-03  Neil Booth  <neil@daikokuya.co.uk>
27877169689Skan
27878169689Skan	* fix-header.c (read_scan_file): Defer switch processing.
27879169689Skan
27880169689Skan2003-04-03  Matt Austern  <austern@apple.com>
27881169689Skan
27882169689Skan	* cpppch.c (reset_ht): Remove.
27883169689Skan	(cpp_read_state): Remove loop to reset hashtable identifiers.
27884169689Skan	* ggc-common.c (gt_pch_save): Add call to gt_pch_fixup_stringpool
27885169689Skan	after pch file is written.
27886169689Skan	* ggc.h (gt_pch_fixup_stringpool): Declare.
27887169689Skan	* stringpool.c (ht_copy_and_clear): Define.  Callback.  Copy
27888169689Skan	hashnode's value to another hashtable, then clear the original.
27889169689Skan	(saved_ident_hash): Define.
27890169689Skan	(gt_pch_save_stringpool): Create saved_ident_hash, use it to
27891169689Skan	store definitions in ident_hash, and clear ident_hash.
27892169689Skan	(gt_pch_fixup_stringpool): Define.  Restore definitions from
27893169689Skan	saved_ident_hash to ident_hash, then destroy saved_ident_hash.
27894169689Skan
27895169689SkanThu Apr  3 22:27:40 CEST 2003  Jan Hubicka  <jh@suse.cz>
27896169689Skan
27897169689Skan	* cfgrtl.c (update_bb_for_insn): Do not set block for barriers.
27898169689Skan
27899169689Skan2003-04-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
27900169689Skan
27901169689Skan	PR optimization/10157
27902169689Skan	* gcse.c (can_copy_p): Rename it to can_copy.
27903169689Skan	(can_copy_init_p): Remove.
27904169689Skan	(compute_can_copy): Use can_copy instead of can_copy_p.
27905169689Skan	(can_copy_p): New exported function. Call compute_can_copy.
27906169689Skan	(hash_scan_set): Use it.
27907169689Skan	(gcse_main): Don't call compute_can_copy.
27908169689Skan	(bypass_jumps): Don't call compute_can_copy.
27909169689Skan	* rtl.h (can_copy_p): Declare.
27910169689Skan	* loop.c (scan_loop): Don't move the source and add a reg-to-reg
27911169689Skan	copy if the mode doesn't support copy operations.
27912169689Skan
27913169689Skan2003-04-03  Jason Merrill  <jason@redhat.com>
27914169689Skan
27915169689Skan	* Makefile.in (unstrap): Also remove stage_last.
27916169689Skan
27917169689Skan	* dwarf2out.c (lookup_filename): Don't check for "<internal>".
27918169689Skan	(dwarf2out_source_line): Don't do anything if line==0.
27919169689Skan
27920169689Skan	* stor-layout.c (do_type_align): New fn, split out from...
27921169689Skan	(layout_decl): ...here.  Do all alignment calculations for
27922169689Skan	FIELD_DECLs here.
27923169689Skan	(update_alignment_for_field): Not here.
27924169689Skan	(start_record_layout, debug_rli): Remove unpadded_align.
27925169689Skan	* tree.h (struct record_layout_info_s): Remove unpadded_align.
27926169689Skan	* c-decl.c (finish_enum): Don't set DECL_SIZE, DECL_ALIGN
27927169689Skan	or DECL_MODE on the CONST_DECLs.
27928169689Skan	(finish_struct): Don't mess with DECL_ALIGN.
27929169689Skan
27930169689SkanThu Apr  3 18:57:19 CEST 2003  Jan Hubicka  <jh@suse.cz>
27931169689Skan
27932169689Skan	* i386.c (print_operand): Do not bypass output_addr_const at flag_pic.
27933169689Skan
27934169689SkanThu Apr  3 17:08:09 2003  J"orn Rennecke <joern.rennecke@superh.com>
27935169689Skan
27936169689Skan	* sh.c (sh_function_ok_for_sibcall): Return 0 if the current
27937169689Skan	function is an interrupt handler.
27938169689Skan
27939169689Skan	* sh.c (sh_expand_epilogue): Avoid clash of temp register for
27940169689Skan	restoring target registers with EH_RETURN_STACKADJ_RTX; use
27941169689Skan	multiple registers in round-robin fashion.
27942169689Skan
27943169689Skan2003-04-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
27944169689Skan
27945169689Skan	* gengtype-lex.l (IWORD): Add CHAR_BITFIELD.
27946169689Skan	* system.h (CHAR_BITFIELD): New.
27947169689Skan
27948169689Skan2003-04-03  Kazu Hirata  <kazu@cs.umass.edu>
27949169689Skan
27950169689Skan	* config/h8300/h8300.md (a peephole2): Generalize to accept GT
27951169689Skan	and LE.
27952169689Skan	(another peephole2): Likewise.
27953169689Skan
27954169689Skan2003-04-03  Nick Clifton  <nickc@redhat.com>
27955169689Skan
27956169689Skan	* config/sparc/sol2-bi.h (ASM_CPU64_DEFAULT_SPEC): Add -TSO.
27957169689Skan	(DEF_ARCH64_SPEC): Likewise.
27958169689Skan
27959169689SkanThu Apr  3 09:53:40 CEST 2003  Jan Hubicka  <jh@suse.cz>
27960169689Skan
27961169689Skan	* i386.c (constant_address_p): Use legitimate_constant_p.
27962169689Skan	(legitimate_address_p): Do not use CONSTANT_ADDRESS_P.
27963169689Skan
27964169689Skan2003-04-02  Kazu Hirata  <kazu@cs.umass.edu>
27965169689Skan
27966169689Skan	* config/h8300/h8300-protos.h: Add a prototype for
27967169689Skan	gtle_operator.
27968169689Skan	* config/h8300/h8300.c (gtle_operator): New.
27969169689Skan	* config/h8300/h8300.h (PREDICATE_CODES): Add an entry for
27970169689Skan	gtle_operator.
27971169689Skan	* config/h8300/h8300.md (a peephole2): Generalize to accept GT
27972169689Skan	and LE.
27973169689Skan
27974169689Skan2003-04-02  Richard Henderson  <rth@redhat.com>
27975169689Skan
27976169689Skan	* libgcc-std.ver (_Unwind_GetCFA): New.
27977169689Skan	* unwind-dw2.c (_Unwind_GetCFA): New.
27978169689Skan	* unwind-libunwind.c (_Unwind_GetCFA): New.
27979169689Skan	* unwind-sjlj.c (_Unwind_GetCFA): New.
27980169689Skan	* unwind.h: Declare it.
27981169689Skan
27982169689SkanThu Apr  3 00:31:21 CEST 2003  Jan Hubicka  <jh@suse.cz>
27983169689Skan
27984169689Skan	PR inline-asm/8088
27985169689Skan	* i386.c (ix86_hard_regno_mode_ok):  Return 0 for MMX/SSE registers
27986169689Skan	when MMX/SSE is not available.
27987169689Skan
27988169689Skan2003-04-02  Mike Stump  <mrs@apple.com>
27989169689Skan
27990169689Skan	* doc/install.texi (Specific): Update pointers to apple.com.
27991169689Skan
27992169689SkanThu Apr  3 00:18:49 CEST 2003  Jan Hubicka  <jh@suse.cz>
27993169689Skan
27994169689Skan	* i386.c (override_options):  Disable red zone by default on i386.
27995169689Skan	(compute_frame_layout, ix86_force_to_memory, ix86_free_from_memory):
27996169689Skan	Do not test TARGET_64BIT together with TARGET_RED_ZONE
27997169689Skan
27998169689Skan2003-04-02  Kazu Hirata  <kazu@cs.umass.edu>
27999169689Skan
28000169689Skan	* config/h8300/h8300.md (a peephole2): Tighten the condition.
28001169689Skan
28002169689Skan2003-04-02  Richard Henderson  <rth@redhat.com>
28003169689Skan
28004169689Skan	* longlong.h (umul_ppmm) [alpha]: Use __builtin_alpha_umulh.
28005169689Skan
28006169689Skan2003-04-02  Kazu Hirata  <kazu@cs.umass.edu>
28007169689Skan
28008169689Skan	* config/h8300/h8300.md (a peephole2): New.
28009169689Skan
28010169689Skan2003-04-02  Richard Henderson  <rth@redhat.com>
28011169689Skan
28012169689Skan	* except.c (sjlj_find_directly_reachable_regions): Recognize when
28013169689Skan	must-not-throw region has been deleted.
28014169689Skan
28015169689Skan2003-04-02  Richard Henderson  <rth@redhat.com>
28016169689Skan
28017169689Skan	* dwarf2out.c (output_call_frame_info): Ignore fde->nothrow as an
28018169689Skan	optimization when flag_exceptions not enabled.
28019169689Skan
28020169689Skan2003-04-02  Vladimir Makarov  <vmakarov@redhat.com>
28021169689Skan
28022169689Skan	* config/rs6000/rs6000.c
28023169689Skan	(TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Redefine the
28024169689Skan	macros.
28025169689Skan	(rs6000_issue_rate): Add case for 8540.
28026169689Skan	(rs6000_use_sched_lookahead): New function.
28027169689Skan
28028169689Skan	* config/rs6000/8540.md: Rename SIU units into SU ones and MIU
28029169689Skan	units into MU ones.
28030169689Skan	(ppc8540_branch, ppc8540_cr_logical): Add one cycle in the
28031169689Skan	reservation before retirement.
28032169689Skan	(ppc8540_multiply, ppc8540_load, ppc8540_store,
28033169689Skan	ppc8540_simple_float, ppc8540_vector_load, ppc8540_vector_store):
28034169689Skan	Remove additional cycle in the reservation before retirement.
28035169689Skan	(ppc8540_mfcr, ppc8540_mtcrf, ppc8540_mtjmpr): Add missed
28036169689Skan	reservation of ppc8540_issue.
28037169689Skan
28038169689Skan2003-04-02  Andreas Schwab  <schwab@suse.de>
28039169689Skan
28040169689Skan	* real.c (decode_ieee_single): Fix decoding of SNaN bit.
28041169689Skan
28042169689Skan2003-04-01  Richard Henderson  <rth@redhat.com>
28043169689Skan
28044169689Skan	* except.c (convert_from_eh_region_ranges_1): Smash REG_EH_REGION
28045169689Skan	notes for nothrow calls if flag_forced_unwind_exceptions.
28046169689Skan	(build_post_landing_pads): Mind flag_forced_unwind_exceptions.
28047169689Skan	(sjlj_find_directly_reachable_regions): Likewise.
28048169689Skan	(reachable_handlers): Likewise.
28049169689Skan	(can_throw_external): Likewise.
28050169689Skan	(collect_one_action_chain): Record cleanups after catch-all and
28051169689Skan	must-not-throw if flag_forced_unwind_exceptions.
28052169689Skan	* flags.h (flag_forced_unwind_exceptions): Declare.
28053169689Skan	* toplev.c (flag_forced_unwind_exceptions): New.
28054169689Skan	(lang_independent_options): Add it.
28055169689Skan	* doc/invoke.text: Add it.
28056169689Skan
28057169689Skan2003-04-01  David Mosberger <davidm@hpl.hp.com>
28058169689Skan
28059169689Skan	* config/ia64/crti.asm: Clean up trailing whitespace.
28060169689Skan	Remove trailing hashes (#) from identifiers.
28061169689Skan
28062169689Skan	* config/ia64/crtn.asm: Ditto.
28063169689Skan
28064169689Skan	* config/ia64/crtend.asm: Remove trailing hashes (#) from
28065169689Skan	identifiers.
28066169689Skan	(__do_global_ctors_aux): Align to 32-byte boundary.  Add unwind
28067169689Skan	directives.  Drop explicit bundling---it just makes the code
28068169689Skan	harder to read.  Don't save/restore gp needlessly.
28069169689Skan
28070169689Skan	* config/ia64/crtbegin.asm: Remove trailing hashes (#) from
28071169689Skan	identifiers (they're only needed if the identifier would clash
28072169689Skan	with a register name otherwise).
28073169689Skan	(__do_global_dtors_aux): Align to 32-byte boundary. Add unwind
28074169689Skan	directives.  Drop explicit bundling---it just makes the code
28075169689Skan	harder to read.
28076169689Skan	(__do_jv_register_classes): Ditto.
28077169689Skan	(.fini_array): Remove "progbits" (newer
28078169689Skan	assemblers don't like wrong section-types).
28079169689Skan	(.init_array): Ditto.
28080169689Skan
28081169689Skan2003-04-01  Roger Sayle  <roger@eyesopen.com>
28082169689Skan
28083169689Skan	PR fortran/9974
28084169689Skan	* gcse.c (reg_killed_on_edge): New function to test whether the
28085169689Skan	given reg is overwritten by any instruction queued on an edge.
28086169689Skan	(bypass_block): Ignore substitutions killed on incoming edges.
28087169689Skan	Don't bypass outgoing edges that have queued instructions.
28088169689Skan
28089169689Skan2003-04-01  Alexandre Oliva  <aoliva@redhat.com>
28090169689Skan
28091169689Skan	* real.h (EXP_BITS): Make room for...
28092169689Skan	(struct real_value): ... added canonical bit.
28093169689Skan	(struct real_format): Added pnan.
28094169689Skan	(mips_single_format, mips_double_format, mips_extended_format,
28095169689Skan	mips_quad_format): New.
28096169689Skan	* real.c: Copy p to pnan in all formats.
28097169689Skan	(get_canonical_qnan, get_canonical_snan): Set canonical bit.
28098169689Skan	(real_nan): Use pnan to compute significand's shift.
28099169689Skan	(real_identical): Disregard significand in canonical
28100169689Skan	NaNs.
28101169689Skan	(real_hash): Likewise.  Take signalling into account.
28102169689Skan	(encode_ieee_single, encode_ieee_double, encode_ieee_quad):
28103169689Skan	Disregard significand bits in canonical NaNs.  Set all bits of
28104169689Skan	canonical NaN if !qnan_msb_set.
28105169689Skan	(encode_ibm_extended, decode_ibm_extended): Likewise.  Use
28106169689Skan	qnan_msb_set to tell the base double format.
28107169689Skan	(ibm_extended_format): Use 53 as pnan.
28108169689Skan	(mips_single_format, mips_double_format, mips_extended_format,
28109169689Skan	mips_quad_format): Copied from the corresponding ieee/ibm
28110169689Skan	formats, with qnan_msb_set false.
28111169689Skan	* config/mips/iris6.h (MIPS_TFMODE_FORMAT): Use mips_extended_format.
28112169689Skan	* config/mips/linux64.h (MIPS_TFMODE_FORMAT): Use mips_quad_format.
28113169689Skan	* config/mips/mips.c (override_options): Use mips_single_format
28114169689Skan	and mips_double_format.  Default TFmode to mips_quad_format.
28115169689Skan	* config/mips/t-linux64 (tp-bit.c): Define QUIET_NAN_NEGATED.
28116169689Skan	* config/mips/t-irix6: Likewise.
28117169689Skan	* config/mips/t-mips (fp-bit.c, dp-bit.c): Likewise.
28118169689Skan	* config/fp-bit.c (pack_d, unpack_d): Obey it.
28119169689Skan
28120169689Skan2003-04-01  Geoffrey Keating  <geoffk@apple.com>
28121169689Skan
28122169689Skan	* unwind-dw2-fde-darwin.c (DESTRUCTOR_MAY_BE_CALLED_LIVE): New.
28123169689Skan	(live_image_destructor): Reset image to initial state.
28124169689Skan	(examine_objects): Set DESTRUCTOR_MAY_BE_CALLED_LIVE.
28125169689Skan
28126169689Skan2003-04-01  Eric Botcazou  <ebotcazou@libertysurf.fr>
28127169689Skan
28128169689Skan	* config/sparc/sparc.c (input_operand): Accept bare
28129169689Skan	CONSTANT_P_RTX operands.
28130169689Skan
28131169689Skan2003-04-01  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
28132169689Skan
28133169689Skan	* gcse.c (struct ls_expr): Added pattern_regs field.
28134169689Skan	(ldst_entry): Initialize it.
28135169689Skan	(extract_mentioned_regs, extract_mentioned_regs_helper): New.
28136169689Skan	(store_ops_ok): Use regs precomputed by them.
28137169689Skan	(find_loads, store_killed_in_insn, load_kills_store): Change return
28138169689Skan	type to bool.
28139169689Skan	(store_killed_before, store_killed_after): Take position of register
28140169689Skan	set in account.
28141169689Skan	(reg_set_info): Store position of the setter.
28142169689Skan	(gcse_main): Enable store motion.
28143169689Skan	(mems_conflict_for_gcse_p): Enable load motion of non-symbol mems.
28144169689Skan	(pre_insert_copy_insn, update_ld_motion_stores, insert_store): Prevent rtl
28145169689Skan	sharing.
28146169689Skan	(simple_mem): Enable store motion of non-symbol mems.
28147169689Skan	(regvec): Type changed.
28148169689Skan	(LAST_AVAIL_CHECK_FAILURE): New.
28149169689Skan	(compute_store_table_current_insn): New.
28150169689Skan	(build_store_vectors): Computation of availability and anticipatability
28151169689Skan	moved ...
28152169689Skan	(compute_store_table, find_moveable_store): ... here.
28153169689Skan	(delete_store): Remove senseless comment.
28154169689Skan	(store_motion): Reorganize.
28155169689Skan
28156169689Skan2003-04-01  Kevin Buettner  <kevinb@redhat.com>
28157169689Skan
28158169689Skan	* config/mips/mips.c (override_options): Provide mappings for
28159169689Skan	HI_REGNUM and LO_REGNUM.
28160169689Skan	* config/mips/mips.h (MD_DBX_FIRST): Define.
28161169689Skan
28162169689Skan2003-04-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
28163169689Skan
28164169689Skan	* combine.c (merge_outer_ops): Fix typo.
28165169689Skan
28166169689Skan	* varasm.c (make_decl_one_only): Revert 2003-03-09 patch.
28167169689Skan
28168169689Skan2003-04-01  David Edelsohn  <edelsohn@gnu.org>
28169169689Skan
28170169689Skan	* config/rs6000/{40x.md,603.md,6xx.md,7450.md,7xx.md,mpc.md,
28171169689Skan	power4.md,rios1.md,rios2.md,rs64.md}: Change mult_compare to
28172169689Skan	imul_compare.  Add lmul_compare.
28173169689Skan	* config/rs6000/power4.md: Bump some latencies.  Model extra cycle
28174169689Skan	in second pair of dispatch slots.  Model stores more accurately.
28175169689Skan	Tweak multiply model.  Add bypasses for CR instructions dependent
28176169689Skan	on complicated compares.
28177169689Skan	* config/rs6000/rs6000.md (mulsi3): Name imul_compare patterns.
28178169689Skan	(muldi3): Add lmul_compare patterns.
28179169689Skan	* config/rs6000/rs6000.c (rs6000_variable_issue): Move FPLOAD_UX
28180169689Skan	and FPSTORE_UX to split instructions and add COMPARE,
28181169689Skan	DELAYED_COMPARE, IMUL_COMPARE, LMUL_COMPARE, IDIV, LDIV.
28182169689Skan	(rs6000_adjust_cost): Add IMUL_COMPARE and LMUL_COMPARE.
28183169689Skan	(rs6000_rtx_costs): Separate POWER4 multiply case.
28184169689Skan
28185169689Skan2003-04-01  Ulrich Weigand  <uweigand@de.ibm.com>
28186169689Skan
28187169689Skan	* config/s390/s390.c (s390_fixup_clobbered_return_reg):
28188169689Skan	Do nothing if __builtin_return_address was not used.
28189169689Skan
28190169689SkanTue Apr  1 18:18:23 CEST 2003  Jan Hubicka  <jh@suse.cz>
28191169689Skan
28192169689Skan	* i386.md (test patterns):  Allow memory operand in operand1.
28193169689Skan
28194169689Skan2003-04-01  Aldy Hernandez  <aldyh@redhat.com>
28195169689Skan
28196169689Skan	* testsuite/gcc.c-torture/execute/simd-3.c: New.
28197169689Skan
28198169689Skan	* expr.c (expand_expr): Handle VECTOR_CST.
28199169689Skan	(const_vector_from_tree): New.
28200169689Skan
28201169689Skan	* varasm.c (output_constant): Handle VECTOR_CST.
28202169689Skan
28203169689Skan	* c-typeck.c (digest_init): Build a vector constant from a
28204169689Skan	VECTOR_TYPE.
28205169689Skan
28206169689Skan	* config/rs6000/rs6000.c: Remove prototype for
28207169689Skan	easy_vector_constant.
28208169689Skan	(easy_vector_constant): Add mode parameter.  Rewrite to handle
28209169689Skan	more easy constants.
28210169689Skan	(rs6000_emit_move): Pass mode to easy_vector_constant.
28211169689Skan	Call emit_easy_vector_insn for SPE V2SI vector constant moves.
28212169689Skan	(emit_easy_vector_insn): New.
28213169689Skan	(easy_vector_same): New.
28214169689Skan	(EASY_VECTOR_15): New macro.
28215169689Skan	(EASY_VECTOR_15_ADD_SELF): New macro.
28216169689Skan	(bdesc_2arg): Rename to xorv2si3.
28217169689Skan	(easy_vector_constant_add_self): New.
28218169689Skan	(input_operand): Allow vector constants.
28219169689Skan
28220169689Skan	* config/rs6000/rs6000.h (PREDICATE_CODES): Add
28221169689Skan	easy_vector_constant, easy_vector_constant_add_self.
28222169689Skan	(EXTRA_CONSTRAINT): Add 'W'.
28223169689Skan
28224169689Skan	* config/rs6000/rs6000-protos.h: Add prototype for
28225169689Skan	easy_vector_constant, emit_easy_vector_insn.
28226169689Skan
28227169689Skan	* config/rs6000/altivec.md (xorv8hi3): New.
28228169689Skan	(xorv16qi3): New.
28229169689Skan	Remove all _const0 patterns.
28230169689Skan	(movv4si_internal): Rewrite to use code.  Add vector constant to
28231169689Skan	vector alternative.  Add splitter.
28232169689Skan	(movv8hi_internal): Same.
28233169689Skan	(movv16qi_internal): Same.
28234169689Skan	(movv4sf_internal): Same.
28235169689Skan	Change the unspecs for vspltis* to use constants.
28236169689Skan
28237169689Skan	* config/rs6000/spe.md ("xorv4hi3"): New.
28238169689Skan	("spe_evxor"): Rename to xorv2si3.
28239169689Skan	("xorv1di3"): New.
28240169689Skan	Remove all _const0 patterns.
28241169689Skan	(movv2si_internal): Rewrite to use code.  Add vector constant to
28242169689Skan	alternatives.  Add splitter.
28243169689Skan	(movv4hi_internal): Add vector constant to alternatives.
28244169689Skan	(movv1di_internal): Same.
28245169689Skan	(movv2sf_internal): Same.
28246169689Skan
28247169689Skan2003-03-31  Mark Mitchell  <mark@codesourcery.com>
28248169689Skan
28249169689Skan	PR c/9936
28250169689Skan	* c-decl.c (grokdeclarator): Clear SAVE_EXPR_CONTEXT for
28251169689Skan	variably-sized arrays in parameters.
28252169689Skan	(set_save_expr_context): New function.
28253169689Skan	(c_expand_body): Use it, via walk_tree.
28254169689Skan
28255169689Skan2003-03-31  Eric Christopher  <echristo@redhat.com>
28256169689Skan
28257169689Skan	* combine.c (can_combine_p): Allow ZERO_EXTRACT and STRICT_LOW_PART.
28258169689Skan	(combinable_i3pat): Remove call to expand_field_assignment and
28259169689Skan	#if 0'd code.
28260169689Skan
28261169689Skan2003-03-31  Mark Mitchell  <mark@codesourcery.com>
28262169689Skan
28263169689Skan	PR c++/10278
28264169689Skan	* c-common.c (finish_label_address_expr): Handle the
28265169689Skan	error_mark_node.
28266169689Skan
28267169689Skan2003-03-31  Richard Henderson  <rth@redhat.com>
28268169689Skan
28269169689Skan	* real.c (real_identical): Reorg so as to not compare
28270169689Skan	signalling for normals.
28271169689Skan
28272169689Skan2003-03-31  Stephane Carrez  <stcarrez@nerim.fr>
28273169689Skan
28274169689Skan	* config/m68hc11/m68hc11.c (hard_reg_operand): Check the mode.
28275169689Skan
28276169689Skan2003-03-31  Stephane Carrez  <stcarrez@nerim.fr>
28277169689Skan
28278169689Skan	* config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Don't rely on REG_WAS_0
28279169689Skan	notes as they are boggus.
28280169689Skan	(m68hc11_gen_movqi): Likewise.
28281169689Skan
28282169689Skan2003-03-31  Stephane Carrez  <stcarrez@nerim.fr>
28283169689Skan
28284169689Skan	* config/m68hc11/m68hc11.c (expand_prologue): For an interrupt handler
28285169689Skan	save the soft registers after the frame pointer so that gdb can unwind
28286169689Skan	the frame more easily.
28287169689Skan	(expand_epilogue): Likewise in opposite order; allow to use X register
28288169689Skan	as scratch if the return value is by reference.
28289169689Skan
28290169689Skan2003-03-31  Jason Merrill  <jason@redhat.com>
28291169689Skan
28292169689Skan	PR java/10145
28293169689Skan	* stor-layout.c (update_alignment_for_field): Respect
28294169689Skan	DECL_USER_ALIGN for zero-length bitfields, too.
28295169689Skan	* c-decl.c (finish_struct): Don't set DECL_ALIGN for normal
28296169689Skan	fields.
28297169689Skan
28298169689Skan2003-03-31  Matt Austern  <austern@apple.com>
28299169689Skan
28300169689Skan	* cpppch.c (struct cpp_savedstate): Add defs and n_defs members.
28301169689Skan	(count_defs): Keep track of number of defs as well as total size.
28302169689Skan	(write_defs): Put every definition in cpp_savedstate's defs array.
28303169689Skan	(comp_hashnode): Define.  Comparison function for qsort.
28304169689Skan	(cpp_write_pch_deps): Sort definitions before writing them.
28305169689Skan	(struct ht_node_list): Define. Like cpp_savedstate but simpler.
28306169689Skan	(collect_ht_nodes): Define.
28307169689Skan	(cpp_valid_state): When verifying that undefined identifiers in
28308169689Skan	the pch file are still undefined, read a sorted list of undefined
28309169689Skan	identifiers, collect all defined identifiers into a sorted list,
28310169689Skan	and walk through both lists to make sure there's no match.
28311169689Skan
28312169689Skan2003-03-31  Kazu Hirata  <kazu@cs.umass.edu>
28313169689Skan
28314169689Skan	* config/h8300/h8300.md (a peephole2): New.
28315169689Skan
28316169689Skan2003-03-31  Michael Matz  <matz@suse.de>
28317169689Skan
28318169689Skan	* config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Change 1 into 0.
28319169689Skan
28320169689Skan2003-03-31  Segher Boessenkool  <segher@koffie.nl>
28321169689Skan
28322169689Skan	PR target/10177
28323169689Skan	* config/rs6000/rs6000.h (HARD_REGNO_RENAME_OK): New.
28324169689Skan	* config/rs6000/rs6000.c (compute_vrsave_mask): Don't mark
28325169689Skan	all call-clobbered registers as used.
28326169689Skan
28327169689Skan2003-03-31  Michael Matz  <matz@suse.de>
28328169689Skan
28329169689Skan	* cppexp.c (cpp_classify_number): Accept '.' after "0x".
28330169689Skan	* testsuite/gcc.dg/cpp/c99-hexfloat-3.c: New file.
28331169689Skan
28332169689Skan2003-03-31  Nathan Sidwell  <nathan@codesourcery.com>
28333169689Skan
28334169689Skan	* gcov.c: Add -a & -u options.
28335169689Skan	(struct arc_info): Add local_span, is_call_non_return,
28336169689Skan	is_nonlocal_return, is_unconditional flags, remove is_call flag.
28337169689Skan	(struct block_info): Add flags, is_call_site, is_nonlocal_return
28338169689Skan	members. Make encodings a union with span member.
28339169689Skan	(struct function_info): Add blocks_executed, line, src, line_next
28340169689Skan	members.
28341169689Skan	(struct coverage_info): Make branches a union with blocks member.
28342169689Skan	(struct source_info): Add functions member.
28343169689Skan	(object_summary, program_count): New global variables.
28344169689Skan	(flag_all_blocks, flag_unconditional): New flags.
28345169689Skan	(find_source, output_branch_count): New functions.
28346169689Skan	(print_usage): Adjust.
28347169689Skan	(options): Adjust.
28348169689Skan	(process_args): Adjust.
28349169689Skan	(read_graph_file) <GCOV_TAG_FUNCTION>: Adjust.
28350169689Skan	<GCOV_TAG_BLOCKS>: Read flags.
28351169689Skan	<GCOV_TAG_LINES>: Adjust.
28352169689Skan	(read_count_file): Process SUMMARY tags.
28353169689Skan	(solve_flow_graph): Set is_unconditional and clear is_call_site
28354169689Skan	appropriately.
28355169689Skan	(add_branch_counts): Adjust. Don't count unconditional branches.
28356169689Skan	(add_line_counts): Deal with all-blocks mode, accumulate block
28357169689Skan	coverage.
28358169689Skan	(accumulate_line_counts): Adjust, generate local spanning tree for
28359169689Skan	all-blocks mode.
28360169689Skan	(output_lines): Adjust.
28361169689Skan	* profile.c (branch_prob): Alter GCOV_FUNCTION_TAG record.
28362169689Skan	* doc/gcov.texi: Document.
28363169689Skan
28364169689Skan2003-03-31  Kazu Hirata  <kazu@cs.umass.edu>
28365169689Skan
28366169689Skan	* config/h8300/h8300.md: Organize peephole2's that transform
28367169689Skan	(compare (reg:HI) (const_int)).
28368169689Skan
28369169689Skan2003-03-31  Roger Sayle  <roger@eyesopen.com>
28370169689Skan
28371169689Skan	* emit-rtl.c (dconstm2, dconsthalf): New real constants.
28372169689Skan	(init_emit_once): Initialize dconstm2 and dconsthalf here.
28373169689Skan	* real.h (dconstm2, dconsthalf): Add prototypes here.
28374169689Skan	* real.c (real_sqrt): Use dconsthalf rather than local copy.
28375169689Skan	* builtins.c (fold_builtin): When optimizing sqrt(exp(x)) as
28376169689Skan	exp(x/2.0) remember to fold the division if possible.
28377169689Skan	Fold sin(0.0) as 0.0, cos(0.0) as 1.0, pow(x,1.0) as x,
28378169689Skan	pow(x,-1.0) as 1.0/x, pow(x,2.0) as x*x, pow(x,-2.0) as
28379169689Skan	1.0/(x*x) and pow(x,0.5) as sqrt(x).
28380169689Skan
28381169689Skan2003-03-31  Kazu Hirata  <kazu@cs.umass.edu>
28382169689Skan
28383169689Skan	* config/h8300/h8300.md (a new peephole2): New.
28384169689Skan
28385169689Skan2003-03-31  Richard Sandiford  <rsandifo@redhat.com>
28386169689Skan
28387169689Skan	* gcse.c (simple_mem): Return false for floating-point accesses
28388169689Skan	if flag_float_store is true.
28389169689Skan
28390169689Skan2003-03-30  Roger Sayle  <roger@eyesopen.com>
28391169689Skan
28392169689Skan	* gcse.c (gcse_constant_p): New function to identify constants
28393169689Skan	suitable for constant propagation, including COMPARE with two
28394169689Skan	integer constant arguments.
28395169689Skan	(hash_scan_set): Use gcse_constant_p.
28396169689Skan	(find_avail_set): Likewise.
28397169689Skan	(cprop_insn): Likewise.
28398169689Skan	(do_local_cprop): Likewise.
28399169689Skan	(find_implicit_sets): Likewise.
28400169689Skan	(find_bypass_set): Likewise.
28401169689Skan
28402169689Skan2003-03-30  Matt Kraai  <kraai@alumni.cmu.edu>
28403169689Skan
28404169689Skan	* except.h: Remove definition of varray_type.
28405169689Skan
28406169689Skan2003-03-30  Richard Henderson  <rth@redhat.com>
28407169689Skan
28408169689Skan	PR opt/10011, opt/10252:
28409169689Skan	* toplev.c (rest_of_compilation): Run purge_builtin_constant_p
28410169689Skan	before post-gcse cse pass.
28411169689Skan
28412169689Skan2003-03-30  Roger Sayle  <roger@eyesopen.com>
28413169689Skan
28414169689Skan	* dojump.c (do_jump): Copy SUBREGs into a pseudo for comparison.
28415169689Skan
28416169689Skan2003-03-30  DJ Delorie  <dj@redhat.com>
28417169689Skan
28418169689Skan	* profile.c (instrument_edges): Make sure any newly created
28419169689Skan	jump insns have correct jump label info.
28420169689Skan
28421169689Skan2003-03-30  Richard Henderson  <rth@redhat.com>
28422169689Skan
28423169689Skan	* cfgbuild.c (make_edges): Use tablejump_p.
28424169689Skan	* cfgcleanup.c (label_is_jump_target_p): Likewise.
28425169689Skan	* cfglayout.c (cfg_layout_can_duplicate_bb_p): Likewise.
28426169689Skan	* cfgrtl.c (flow_delete_block_noexpunge): Likewise.
28427169689Skan	(try_redirect_by_replacing_jump): Likewise.
28428169689Skan	(redirect_edge_and_branch): Likewise.
28429169689Skan	* cse.c (fold_rtx): Likewise.
28430169689Skan	* jump.c (delete_related_insns): Likewise.
28431169689Skan	* rtlanal.c (get_jump_table_offset): Likewise.
28432169689Skan	* ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): Likewise.
28433169689Skan
28434169689Skan2003-03-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>
28435169689Skan
28436169689Skan	* Makefile.in (STRICT_WARN): Don't warn for ISO C constructs.
28437169689Skan	(STRICT2_WARN): Likewise.
28438169689Skan
28439169689Skan2003-03-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
28440169689Skan
28441169689Skan	PR other/6955
28442169689Skan	* collect2.c (collect_wait): Use WCOREDUMP and fix output message.
28443169689Skan	* system.h (WCOREDUMP, WCOREFLG): Define if necessary.
28444169689Skan
28445169689Skan2003-03-30  Richard Henderson  <rth@redhat.com>
28446169689Skan
28447169689Skan	PR c/10083
28448169689Skan	* config/alpha/alpha.md (umuldi3_highpart): Change to expander;
28449169689Skan	don't zero_extend const inputs.
28450169689Skan
28451169689Skan2003-03-30  Kazu Hirata  <kazu@cs.umass.edu>
28452169689Skan
28453169689Skan	* reload1.c (reload_cse_move2add): Fix a comment typo.
28454169689Skan
28455169689Skan2003-03-30  Kazu Hirata  <kazu@cs.umass.edu>
28456169689Skan
28457169689Skan	* config/h8300/h8300.md (a peephole2): Remove useless code.
28458169689Skan
28459169689Skan2003-03-29  Kazu Hirata  <kazu@cs.umass.edu>
28460169689Skan
28461169689Skan	* config/h8300/h8300.md (*iorsi3_and_ashift): New.
28462169689Skan	(*iorsi3_and_lshiftrt): Likewise.
28463169689Skan	(*iorsi3_zero_extract): Likewise.
28464169689Skan
28465169689Skan2003-03-29  Kazu Hirata  <kazu@cs.umass.edu>
28466169689Skan
28467169689Skan	* config/h8300/h8300.md (*insv_si_8_8): New.
28468169689Skan	(*insv_si_8_8_lshiftrt_8): Likewise.
28469169689Skan	(a peephole2): Likewise.
28470169689Skan
28471169689Skan2003-03-29  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
28472169689Skan
28473169689Skan	* doc/contrib.texi: Add Eric Botcazou and Roger Sayle.
28474169689Skan	Uniformly use bugfix instead of bug fix.
28475169689Skan
28476169689Skan2003-03-29  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
28477169689Skan
28478169689Skan	PR doc/895
28479169689Skan	* ONEWS: Remove those items that already appear in the EGCS
28480169689Skan	release notes on our web pages.
28481169689Skan
28482169689Skan2003-03-29  Alan Modra  <amodra@bigpond.net.au>
28483169689Skan
28484169689Skan	* config/rs6000/rs6000.h (FUNCTION_VALUE_REGNO_P): Respect
28485169689Skan	TARGET_HARD_FLOAT.  Reformat.
28486169689Skan	(FUNCTION_ARG_REGNO_P): Likewise, and remove unneeded casts.
28487169689Skan
28488169689Skan2003-03-28  Albert Chin-A-Young  <china@thewrittenword.com>
28489169689Skan
28490169689Skan	* gcc/fixinc/inclhack.def: Update solaris_mutex_init_1 to
28491169689Skan	work on Solaris 2.5.1.
28492169689Skan
28493169689Skan2003-03-28  Kazu Hirata  <kazu@cs.umass.edu>
28494169689Skan
28495169689Skan	* config/h8300/h8300.md (*addsi3_and_r_1): Put under plus:SI
28496169689Skan	section of h8300.md
28497169689Skan	(*addsi3_and_nor_r_1): Likewise.
28498169689Skan
28499169689Skan2003-03-29  Ulrich Weigand  <uweigand@de.ibm.com>
28500169689Skan
28501169689Skan	* config/s390/s390.c (s390_emit_prologoue): Make sure backchain is
28502169689Skan	set up before any trapping memory access if flag_non_call_exceptions.
28503169689Skan
28504169689Skan2003-03-29  Alan Modra  <amodra@bigpond.net.au>
28505169689Skan
28506169689Skan	* reload1.c (reload_as_needed): Allow a USE in asm reloads.
28507169689Skan
28508169689Skan	* loop.c: (find_mem_in_note_1, find_mem_in_note): Comment.
28509169689Skan
28510169689Skan2003-03-28  Nathanael Nerode  <neroden@gcc.gnu.org>
28511169689Skan
28512169689Skan	* configure.in: Clarify comments.
28513169689Skan	* configure: Regenerate.
28514169689Skan
28515169689Skan2003-03-28  Ulrich Weigand  <uweigand@de.ibm.com>
28516169689Skan
28517169689Skan	* config/s390/s390.md ("literal_pool_31"): Output pool anchor
28518169689Skan	label even if pool empty when generating PIC.
28519169689Skan	("literal_pool_31", "literal_pool_64"): Coding style cleanup.
28520169689Skan
28521169689Skan2003-03-28  Kazu Hirata  <kazu@cs.umass.edu>,
28522169689Skan	    Dhananjay Deshpande  <dhananjayd@kpit.com>
28523169689Skan
28524169689Skan	PR target/10205
28525169689Skan	* config/h8300/h8300.c (h8300_initial_elimination_offset):
28526169689Skan	Correct the offset computation when TARGET_NORMAL.
28527169689Skan
28528169689Skan2003-03-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
28529169689Skan
28530169689Skan	PR target/10067
28531169689Skan	* config/sparc/sparc.md (jump pattern): Correct order
28532169689Skan	when issuing the annuling marker.
28533169689Skan
28534169689Skan2003-03-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
28535169689Skan
28536169689Skan	PR c/8281
28537169689Skan	* config/sparc/sparc.md (movdi_insn_sp32_v9): Remove 'f-f' alternative.
28538169689Skan	(movdi reg/reg split): Match only on sparc32, and v9 when int regs.
28539169689Skan
28540169689Skan2003-03-28  Alan Modra  <amodra@bigpond.net.au>
28541169689Skan
28542169689Skan	* config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary
28543169689Skan	globalize_label.
28544169689Skan	* config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
28545169689Skan	* config/i960/i960.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
28546169689Skan	* config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
28547169689Skan	* config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
28548169689Skan	* config/mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
28549169689Skan	* config/sparc/sparc.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
28550169689Skan	* config/v850/v850.c (v850_output_aligned_bss): Likewise.
28551169689Skan
28552169689Skan2003-03-28  Alan Modra  <amodra@bigpond.net.au>
28553169689Skan
28554169689Skan	* loop.c: (find_mem_in_note_1, find_mem_in_note): New functions.
28555169689Skan	(replace_loop_mems): Add "written" param.  Remove invalid REG_EQUAL
28556169689Skan	notes after hoisting.
28557169689Skan	(load_mems): Adjust replace_loop_mems call.
28558169689Skan
28559169689Skan2003-03-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
28560169689Skan	    Richard Henderson  <rth@redhat.com>
28561169689Skan
28562169689Skan	PR target/10114 and PR target/10084
28563169689Skan	* dwarf2out.c (mem_loc_descriptor): Handle LO_SUM.
28564169689Skan
28565169689Skan2003-03-27  Richard Henderson  <rth@redhat.com>
28566169689Skan
28567169689Skan	* config/alpha/alpha.md (adddi_er_high_l): Valid only after reload.
28568169689Skan
28569169689Skan2003-03-27  Roger Sayle  <roger@eyesopen.com>
28570169689Skan
28571169689Skan	* fold-const.c (fold_inf_compare):  New function to simplify FP
28572169689Skan	comparisons against +Infinity or -Infinity.
28573169689Skan	(fold):  Optimize floating point comparisons against Infs and NaNs.
28574169689Skan
28575169689Skan2003-03-27  Janis Johnson  <janis187@us.ibm.com>
28576169689Skan
28577169689Skan	* libgcov.c: Provide only dummy functions if libc is not available.
28578169689Skan
28579169689Skan2003-03-27  Richard Henderson  <rth@redhat.com>
28580169689Skan
28581169689Skan	* real.h (struct real_value): Add signalling.
28582169689Skan	(EXP_BITS): Decrement.
28583169689Skan	* real.c (get_canonical_qnan): Don't set MSB-1.
28584169689Skan	(get_canonical_snan): Likewise.  Set signalling.
28585169689Skan	(real_identical): Compare signalling.
28586169689Skan	(round_for_format): Remove force-one-bit on code.
28587169689Skan	(real_nan): Likewise.  Set signalling.
28588169689Skan	(encode_ieee_single): Add force-one-bit code; honor signalling.
28589169689Skan	(encode_ieee_double, encode_ieee_extended, encode_ieee_quad): Likewise.
28590169689Skan	(decode_ieee_single): Set signalling.
28591169689Skan	(decode_ieee_double, decode_ieee_extended, decode_ieee_quad): Likewise.
28592169689Skan
28593169689Skan2003-03-27  Olivier Hainque  <hainque@act-europe.fr>
28594169689Skan
28595169689Skan	PR ada/9953
28596169689Skan	* ada/Makefile.in (gnatlib configuration for HPUX): Split
28597169689Skan	the general section for HPUX into specific sections for
28598169689Skan	HPUX 10 and HPUX 11. Fix the setting of TGT_LIB in the HPUX
28599169689Skan	11 case.
28600169689Skan
28601169689Skan2003-03-27  Glen Nakamura  <glen@imodulo.com>
28602169689Skan
28603169689Skan	PR opt/10087
28604169689Skan	* loop.c (loop_givs_reduce): Skip bivs with duplicate locations
28605169689Skan	while incrementing giv.
28606169689Skan	(record_biv): Check for duplicate biv locations and
28607169689Skan	set (struct induction *) v->same if found.
28608169689Skan
28609169689Skan2003-03-27  David Mosberger  <davidm@hpl.hp.com>
28610169689Skan
28611169689Skan	* unwind-libunwind.c (uw_frame_state_for): Adjust for libunwind
28612169689Skan	v0.9 API change: replace read of UNW_REG_HANDLER with
28613169689Skan	unw_get_proc_info().
28614169689Skan	(_Unwind_GetLanguageSpecificData): Replace read of UNW_REG_LSDA
28615169689Skan	with unw_get_proc_info().
28616169689Skan	(_Unwind_GetRegionStart): Replace UNW_REG_PROC_START with
28617169689Skan	unw_get_proc_info().
28618169689Skan
28619169689Skan2003-03-27  Vladimir Makarov  <vmakarov@redhat.com>
28620169689Skan
28621169689Skan	* config/rs6000/8540.md: Use presence_set instead of absence_set.
28622169689Skan
28623169689Skan2003-03-26  Richard Henderson  <rth@redhat.com>
28624169689Skan
28625169689Skan	* c-decl.c (finish_function): Always defer if DECL_DECLARED_INLINE_P.
28626169689Skan
28627169689Skan2003-03-26  Roger Sayle  <roger@eyesopen.com>
28628169689Skan
28629169689Skan	PR bootstrap/10051, PR bootstrap/10169.
28630169689Skan	* mips-tfile.c (init_file): Don't provide a static initializer.
28631169689Skan	(initialize_init_file): Initialize the contents of init_file.
28632169689Skan	(add_file): Call initialize_init_file if not already initialized.
28633169689Skan
28634169689Skan2003-03-26  Ulrich Weigand  <uweigand@de.ibm.com>
28635169689Skan
28636169689Skan	* config/s390/s390.c (s390_optimize_prolog): Do not save/restore
28637169689Skan	registers used for global asm variables.
28638169689Skan	(s390_frame_info, s390_arg_frame_offset): Likewise.
28639169689Skan	(s390_emit_prologue, s390_emit_epilogue): Likewise.
28640169689Skan
28641169689Skan2003-03-26  Vladimir Makarov  <vmakarov@redhat.com>
28642169689Skan
28643169689Skan	* config/rs6000/8540.md: New file.
28644169689Skan
28645169689Skan	* config/rs6000/{40x.md, 603.md, 6xx.md, 7450.md, 7xx.md, mpc.md,
28646169689Skan	power4.md, rios1.md, rios2.md, rs64.md}: Add mult_compare to
28647169689Skan	reservations for imul.
28648169689Skan
28649169689Skan	* config/rs6000/rs6000.md: Include 8540.md.  Change
28650169689Skan	delayed_compare onto mult_compare for insns generating
28651169689Skan	multiplication.
28652169689Skan	(mult_compare, fpsimple, brinc, vecdiv, veccmpsimple, vecfdiv):
28653169689Skan	New type attribute values.
28654169689Skan
28655169689Skan	* config/rs6000/spe.md (*negsf2_gp, *abssf2_gpr): Use type
28656169689Skan	fpsimple instead of fp.
28657169689Skan	(*divsf3_gpr): Use type vecfdiv instead of fp.
28658169689Skan	(spe_evfsabs, spe_evfsnabs, spe_evfsneg): Use type vecsimple
28659169689Skan	instead of vecfloat.
28660169689Skan	(spe_evfsdive): Use type vecfdiv instead of vecfloat.
28661169689Skan	(spe_brinc): Use type brinc instead of veccomplex.
28662169689Skan	(spe_evaddw, spe_evaddiw): Use type vecsimple instead of
28663169689Skan	veccomplex.
28664169689Skan	(spe_evdivws, spe_evdivwu): Use type vecdiv instead of veccomplex.
28665169689Skan	(*movv2si_internal, *movv1di_internal, *movv4hi_internal,
28666169689Skan	*movv2sf_internal): Define type attribute values for all
28667169689Skan	alternatives.
28668169689Skan	(cmpsfeq_gpr, cmpsfgt_gpr, cmpsflt_gpr): Use type veccmp instead
28669169689Skan	of fpcompare.
28670169689Skan	(tstsfeq_gpr, tstsfgt_gpr, tstsflt_gpr): Use type veccmpsimple
28671169689Skan	instead of fpcompare.
28672169689Skan
28673169689Skan2003-03-26  David Edelsohn  <edelsohn@gnu.org>
28674169689Skan
28675169689Skan	* config/rs6000/power4.md: Allow delay between dispatch and
28676169689Skan	function units for simple instructions.  Correct store units.
28677169689Skan	Allow branch to occupy as many dispatch slots as necessary.
28678169689Skan
28679169689Skan2003-03-26  Jakub Jelinek  <jakub@redhat.com>
28680169689Skan
28681169689Skan	* config/ia64/ia64.c (ia64_expand_op_and_fetch): Fix comment.
28682169689Skan	(ia64_expand_compare_and_swap): Use always DImode ar.ccv,
28683169689Skan	zero extend old to it.
28684169689Skan	* config/ia64/ia64.md (cmpxchg_acq_si): Remove mode from ccv
28685169689Skan	operand.
28686169689Skan
28687169689Skan2003-03-26  Eric Botcazou  <ebotcazou@libertysurf.fr>
28688169689Skan
28689169689Skan	PR target/7784
28690169689Skan	* reload.c (find_reloads_address): Handle
28691169689Skan	(PLUS (PLUS (REG) (REG)) (CONST_INT)) form for
28692169689Skan	all base registers.
28693169689Skan
28694169689Skan2003-03-25  Marcelo Abreu  <mmabreu@inf.ufrgs.br>
28695169689Skan
28696169689Skan	PR other/10203
28697169689Skan	* version.c: Reference the GCC web site in the URL.
28698169689Skan
28699169689Skan2003-03-26  Alan Modra  <amodra@bigpond.net.au>
28700169689Skan
28701169689Skan	* c-incpath.c (add_standard_paths): Add both "translated" and
28702169689Skan	non-translated header paths.
28703169689Skan
28704169689Skan2003-03-25  Loren James Rittle  <ljrittle@acm.org>
28705169689Skan
28706169689Skan	* doc/install.texi (*-*-freebsd*): Update with known status.
28707169689Skan
28708169689Skan2003-03-21  Jason Merrill  <jason@redhat.com>
28709169689Skan
28710169689Skan	PR optimization/10171
28711169689Skan	* unroll.c (unroll_loop): Don't delete the jump at the end unless
28712169689Skan	we also delete a jump at the beginning.
28713169689Skan
28714169689Skan2003-03-25  Stephane Carrez  <stcarrez@nerim.fr>
28715169689Skan
28716169689Skan	* doc/contrib.texi (Contributors): Mention self as 68HC11/68HC12
28717169689Skan	contributor.
28718169689Skan
28719169689SkanTue Mar 25 20:35:51 CET 2003  Jan Hubicka  <jh@suse.cz>
28720169689Skan
28721169689Skan	* i386.c (ix86_rtx_costs): For -fpic and x86-64 local symbolic
28722169689Skan	constants are not expensive.
28723169689Skan
28724169689SkanMon Mar 24 20:03:03 CET 2003  Jan Hubicka  <jh@suse.cz>
28725169689Skan
28726169689Skan	PR opt/10056
28727169689Skan	* cfglayout.c (fixup_reorder_chain):  Fix dealing with the conditional
28728169689Skan	jump jumping to the next instruction.
28729169689Skan	* cfgrtl.c (force_nonfallthru_and_redirect):  Likewise.
28730169689Skan
28731169689Skan2003-03-25  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
28732169689Skan
28733169689Skan	* doc/passes.texi (Passes): Properly document that we do not
28734169689Skan	perform jump2 any longer; remove command-line option -dJ.
28735169689Skan
28736169689Skan2003-03-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
28737169689Skan
28738169689Skan	PR optimization/8746
28739169689Skan	* config/i386/i386.md (and promoting splitters): Disable HImode to
28740169689Skan	SImode promoting when the sign bit matters and is not preserved, or
28741169689Skan	when TARGET_FAST_PREFIX is true. Disable promoting when optimizing
28742169689Skan	for size.
28743169689Skan
28744169689Skan2003-03-24  Kazu Hirata  <kazu@cs.umass.edu>
28745169689Skan
28746169689Skan	* config/h8300/h8300.md (a peephole2): Extend to support loads
28747169689Skan	in QImode and HImode.
28748169689Skan
28749169689Skan2003-03-24  Stephane Carrez  <stcarrez@nerim.fr>
28750169689Skan
28751169689Skan	* config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Add _call_far and
28752169689Skan	_return_far
28753169689Skan	(MULTILIB_OPTIONS): Don't multilib on -mlong-calls.
28754169689Skan	(MULTILIB_EXCEPTIONS): Likewise.
28755169689Skan	* config/m68hc11/m68hc11.md ("call"): Support far calls for 68HC11
28756169689Skan	by calling some board support routine.
28757169689Skan	("call_value"): Likewise.
28758169689Skan	("*return_void"): Likewise for return.
28759169689Skan	("*return_16bit"): Likewise.
28760169689Skan	("*return_32bit"): Likewise.
28761169689Skan	* config/m68hc11/m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Generate .far
28762169689Skan	for 68HC11 too.
28763169689Skan	(DWARF2_ADDR_SIZE): Use 4 so that addresses can
28764169689Skan	* config/m68hc11/m68hc11.c (m68hc11_override_options): Accept
28765169689Skan	-mlong-calls for 68HC11.
28766169689Skan	* config/m68hc11/larith.asm (declare_near): New macro.
28767169689Skan	(__premain, ___negsi2, ___one_cmplsi2, ___ashlsi3): Use it.
28768169689Skan	(___ashrsi3, ___lshrsi3, ___lshrhi3, ___lshlhi3): Likewise.
28769169689Skan	(___rotrhi3, ___rotlhi3, ___ashrhi3, ___ashrqi3): Likewise.
28770169689Skan	(___lshlqi3, __divmodhi4, ___mulqi3, ___mulhi3): Likewise.
28771169689Skan	(__mulhi32): Likewise.
28772169689Skan	(ret): Update macro for 68HC11.
28773169689Skan	(__far_trampoline): Implement for 68HC11.
28774169689Skan	(__call_a16, __call_a32, __return_void, __return_16): New support
28775169689Skan	routines for 68HC11 memory bank switching calling support.
28776169689Skan	(__return_32): Likewise.
28777169689Skan
28778169689Skan2003-03-24  Neil Booth  <neil@daikokuya.co.uk>
28779169689Skan
28780169689Skan	* toplev.c (independent_decode_option): Don't skip a 'Y' prefix.
28781169689Skan
28782169689Skan2003-03-24  Janis Johnson  <janis187@us.ibm.com>
28783169689Skan
28784169689Skan	* doc/install.texi (Testing): Mention test result links from build
28785169689Skan	status pages.
28786169689Skan
28787169689Skan2003-03-24  Mark Mitchell  <mark@codesourcery.com>
28788169689Skan
28789169689Skan	* function.c (put_var_into_stack): Change bool parameter to int.
28790169689Skan	(gen_mem_addressof): Likewise.
28791169689Skan	* rtl.h (gen_mem_addressof): Likewise.
28792169689Skan	* tree.h (put_var_into_stack): Likewise.
28793169689Skan	* config/alpha/alpha.c (alpha_gp_save_rtx): Adjust call to
28794169689Skan	gen_mem_addressof or put_var_into_stack.
28795169689Skan	* config/c4x/c4x.c (c4x_expand_builtin): Likewise.
28796169689Skan	* config/ia64/ia64.c (spill_tfmode_operand): Likewise.
28797169689Skan
28798169689Skan2003-03-24  Kazu Hirata  <kazu@cs.umass.edu>
28799169689Skan
28800169689Skan	* config/h8300/h8300.md (a peephole2): New.
28801169689Skan
28802169689Skan2003-03-24  Jakub Jelinek  <jakub@redhat.com>
28803169689Skan
28804169689Skan	* dojump.c (do_jump): Handle UNSAVE_EXPR specially.
28805169689Skan
28806169689Skan2003-03-24  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
28807169689Skan
28808169689Skan	* doc/contrib.texi (Contributors): Update Janis Johnson.
28809169689Skan
28810169689Skan2003-03-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
28811169689Skan
28812169689Skan	PR target/10072
28813169689Skan	* combine.c (simplify_if_then_else): Check that the mode
28814169689Skan	has MODE_INT class before applying the (OP Z (mult COND C2))
28815169689Skan	transformation.
28816169689Skan
28817169689Skan2003-03-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
28818169689Skan
28819169689Skan	PR optimization/9414
28820169689Skan	* config/sparc/sparc.md (widening peepholes): Use
28821169689Skan	widen_memory_access instead of change_address.
28822169689Skan
28823169689Skan2003-03-23  Mark Mitchell  <mark@codesourcery.com>
28824169689Skan
28825169689Skan	PR c++/7086
28826169689Skan	* c-typeck.c (c_mark_addressable): Adjust calls to
28827169689Skan	put_var_into_stack.
28828169689Skan	* expr.c (expand_expr): Likewise.
28829169689Skan	* function.c (put_var_into_stack): Add rescan parameter.  Do not
28830169689Skan	call fixup_var_refs when rescan is false.
28831169689Skan	(gen_mem_addressof): Likewise.
28832169689Skan	(assign_parms): Adjust calls to put_var_into_stack.
28833169689Skan	(setjmp_protect): Likewise.
28834169689Skan	(setjmp_protect_args): Likewise.
28835169689Skan	* rtl.h (gen_mem_addressof): Change prototype.
28836169689Skan	* stmt.c (expand_decl): Adjust calls to put_var_into_stack.
28837169689Skan	* tree.h (put_var_into_stack): Change prototype.
28838169689Skan
28839169689Skan2003-03-23  Arpad Beszedes <beszedes@cc.u-szeged.hu>
28840169689Skan
28841169689Skan	PR middle-end/9967
28842169689Skan	* builtins.c (expand_builtin_fputs): When optimizing for size,
28843169689Skan	don't transform fputs into fwrite.
28844169689Skan
28845169689Skan2003-03-23  Glen Nakamura <glen@imodulo.com>
28846169689Skan
28847169689Skan	PR c/8224
28848169689Skan	* fold-const.c (extract_muldiv_1): Don't pass through type conversions
28849169689Skan	when signedness changes for division or modulus.
28850169689Skan
28851169689Skan2003-03-24  Alan Modra  <amodra@bigpond.net.au>
28852169689Skan
28853169689Skan	* config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary
28854169689Skan	globalize_label.
28855169689Skan
28856169689Skan2003-03-23  Roger Sayle  <roger@eyesopen.com>
28857169689Skan
28858169689Skan	PR c/10178
28859169689Skan	* stmt.c (expand_end_case_type): Check for overflow in range when
28860169689Skan	determining whether to use a bit-test implementation.
28861169689Skan
28862169689Skan2003-03-23  Richard Henderson  <rth@redhat.com>
28863169689Skan
28864169689Skan	* cfgcleanup.c (try_optimize_cfg): Allow merging of tablejumps
28865169689Skan	before flow2.
28866169689Skan	* cfgrtl.c (try_redirect_by_replacing_jump): Similarly.
28867169689Skan
28868169689Skan2003-03-23  Richard Henderson  <rth@redhat.com>
28869169689Skan
28870169689Skan	PR opt/10116
28871169689Skan	* ifcvt.c (find_if_block): Disallow tablejump insns outgoing
28872169689Skan	from then_bb or else_bb after flow2.
28873169689Skan
28874169689Skan2003-03-23  Zack Weinberg  <zack@codesourcery.com>
28875169689Skan
28876169689Skan	* configure.in: Check whether it is necessary to link against
28877169689Skan	libm to use ldexp.
28878169689Skan	* configure: Regenerate.
28879169689Skan	* Makefile.in: Add LDEXP_LIB substitution variable.
28880169689Skan
28881169689Skan2003-03-23  Kazu Hirata  <kazu@cs.umass.edu>
28882169689Skan
28883169689Skan	* config/h8300/h8300.md: Fix comment typos.
28884169689Skan
28885169689Skan2003-03-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
28886169689Skan
28887169689Skan	* pa.c (output_cbranch): Fix typo in comment.
28888169689Skan
28889169689Skan2003-03-22  Richard Henderson <rth@redhat.com>
28890169689Skan
28891169689Skan	* cfgcleanup.c (insns_match_p): Do not do EQUIV substitution
28892169689Skan	after reload.
28893169689Skan
28894169689Skan2003-03-22  DJ Delorie  <dj at redhat dot com>,
28895169689Skan	Bruce Korb  <bkorb at gnu dot org>
28896169689Skan
28897169689Skan	* fixinc/inclhack.def (solaris_mutex_init_1): New; Fix
28898169689Skan	buggy Solaris 2.6 mutex/cond initializers.
28899169689Skan	(solaris_mutex_init): Rename to solaris_mutex_init_2.
28900169689Skan	* fixinc/fixincl.x: Regenerate.
28901169689Skan	* fixinc/tests/base/pthread.h: Update.
28902169689Skan	* fixinc/fixincl.c(initialize): be explicit about the default case
28903169689Skan	and indicate verbose level when being very, very verbose.
28904169689Skan	* fixinc/check.tpl(VERBOSE): provide a means for passing the value in
28905169689Skan
28906169689Skan2003-03-22  Andreas Jaeger  <aj@suse.de>
28907169689Skan
28908169689Skan	* config/i386/i386.c (ix86_init_machine_status): Return value.
28909169689Skan
28910169689Skan2003-03-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
28911169689Skan
28912169689Skan	* pa.c (output_cbranch, output_bb, output_bvb): Output nop for
28913169689Skan	conditional branch to the following instruction.  Use next_real_insn
28914169689Skan	instead of next_active_insn.
28915169689Skan	(output_dbra, output_movb, jump_in_call_delay): Use next_real_insn
28916169689Skan	instead of next_active_insn.
28917169689Skan
28918169689Skan2003-03-22  Ulrich Weigand  <uweigand@de.ibm.com>
28919169689Skan
28920169689Skan	* config/s390/s390.md ("movti", "*movdi_31", "*movdf_31"): Use 'o'
28921169689Skan	instead of 'm' constraint in forced-split alternatives.
28922169689Skan	("*adddi3_31", "*subdi3_31"): Likewise.  Also, pass 0 instead of 1 as
28923169689Skan	VALIDATE_ADDRESS parameter to operand_subword.
28924169689Skan
28925169689Skan2003-03-22  Kazu Hirata  <kazu@cs.umass.edu>
28926169689Skan
28927169689Skan	* config/h8300/h8300.c (notice_update_cc): Correctly handle
28928169689Skan	the case where the set destination is STRICT_LOW_PART.
28929169689Skan
28930169689Skan2003-03-22  Svein E. Seldal  <Svein.Seldal@solidas.com>
28931169689Skan
28932169689Skan	* config/c4x/t-c4x (INSTALL_LIBGCC): Make gcc recognize a c33 as a
28933169689Skan	c30 instead of a c40 processor.
28934169689Skan
28935169689Skan2003-03-22  Alan Modra  <amodra@bigpond.net.au>
28936169689Skan
28937169689Skan	* combine.c (simplify_comparison <AND>): Use gen_int_mode.  Tidy.
28938169689Skan
28939169689Skan2003-03-21  Zack Weinberg  <zack@codesourcery.com>
28940169689Skan
28941169689Skan	* c-common.c: Include intl.h.
28942169689Skan	(shadow_warning): Rewrite to allow better diagnostic translations.
28943169689Skan	* c-common.h: Update prototype of shadow_warning.  Declare sw_kind enum.
28944169689Skan	* c-decl.c (warn_if_shadowing): Update calls to shadow_warning;
28945169689Skan	use it throughout.
28946169689Skan	* Makefile.in (c-common.o): Add intl.h.
28947169689Skan
28948169689Skan2003-03-21  Nathanael Nerode  <neroden@gcc.gnu.org>
28949169689Skan
28950169689Skan	* config.gcc: Remove 'float_format'.
28951169689Skan
28952169689Skan	* fixproto: Define NULL and size_t in generated stdlib.h and
28953169689Skan	unistd.h.  Kill unused required_stdlib_h, required_unistd_h.
28954169689Skan	Rearrange file generation loop for readability.  Generate time.h,
28955169689Skan	string.h if missing.
28956169689Skan	* tsystem.h: Include <string.h>, <time.h> unconditionally.
28957169689Skan	* config.gcc: Blow away POSIX defines.
28958169689Skan
28959169689Skan2003-03-22  Stephane Carrez  <stcarrez@nerim.fr>
28960169689Skan
28961169689Skan	* config/m68hc11/m68hc11.md ("call_value"): Fix trap check.
28962169689Skan
28963169689Skan2003-03-22  Stephane Carrez  <stcarrez@nerim.fr>
28964169689Skan
28965169689Skan	* config/m68hc11/m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Fix typo in
28966169689Skan	writing .interrupt command.
28967169689Skan	* config/m68hc11/m68hc11.md ("call"): Look at the symbol to see
28968169689Skan	if it's a far or near function.
28969169689Skan	("call_value"): Likewise.
28970169689Skan	* config/m68hc11/m68hc11.c (m68hc11_attribute_table): Add far and
28971169689Skan	near attributes.
28972169689Skan	(m68hc11_handle_fntype_attribute): Accept attributes on methods.
28973169689Skan	(m68hc11_override_options): Ignore -mlong-calls for 68HC11.
28974169689Skan	(m68hc11_initial_elimination_offset): Set current_function_far
28975169689Skan	according to attributes.
28976169689Skan	(expand_prologue): Likewise.
28977169689Skan	(trap_handler_symbol): New global to keep track of trap handlers.
28978169689Skan	(m68hc11_encode_section_info): Mark symbol as far if needed; set
28979169689Skan	trap symbol.
28980169689Skan	(m68hc11_is_far_symbol): New function.
28981169689Skan	(m68hc11_is_trap_symbol): New function.
28982169689Skan	* config/m68hc11/m68hc11-protos.h (m68hc11_is_far_symbol): Declare.
28983169689Skan	(m68hc11_is_trap_symbol): Declare.
28984169689Skan
28985169689Skan2003-03-21  Jan Hubicka  <jh@suse.cz>
28986169689Skan
28987169689Skan	* i386.c (ix86_compute_frame_layout): Recompute fast prologues
28988169689Skan	only when amount of saved regs changed.
28989169689Skan	(ix86_init_machine_status): Initialize use_fast_prologue_epilgoue_nregs.
28990169689Skan	* i386.h (machine_function): New fields use_fast_prologue_epilgoue_nregs.
28991169689Skan
28992169689Skan2003-03-21  Jan Hubicka  <jh@suse.cz>
28993169689Skan
28994169689Skan	PR inline-asm/7916
28995169689Skan	* function.c (instantiate_virtual_regs_lossage): New function.
28996169689Skan	(instantiate_virtual_regs_1): Use it.
28997169689Skan	(instantiate_virtual_regs): Do not continue in substition when insn has
28998169689Skan	been deleted.
28999169689Skan
29000169689Skan2003-03-21  Kazu Hirata  <kazu@cs.umass.edu>
29001169689Skan
29002169689Skan	* combine.c (make_field_assignment): Fix a warning.
29003169689Skan
29004169689Skan2003-03-21  Kazu Hirata  <kazu@cs.umass.edu>
29005169689Skan
29006169689Skan	* config/h8300/h8300.md (*insv_si_1_n_lshiftrt_16): New.
29007169689Skan
29008169689Skan2003-03-21  Dale Johannesen  <dalej@apple.com>
29009169689Skan
29010169689Skan	* config/rs6000/rs6000.h (REG_ALLOC_ORDER):  Increase
29011169689Skan	priority for R2 on Darwin.
29012169689Skan	(HARD_REGNO_MODE_OK):  Don't accept R31 for DFmode.
29013169689Skan
29014169689Skan2003-03-21  Kazu Hirata  <kazu@cs.umass.edu>
29015169689Skan
29016169689Skan	* combine.c (make_field_assignment): Remove unnecessary AND
29017169689Skan	when storing into zero_extract.
29018169689Skan
29019169689Skan2003-03-21  Zack Weinberg  <zack@codesourcery.com>
29020169689Skan
29021169689Skan	* aclocal.m4 (gcc_AC_EXAMINE_OBJECT, gcc_AC_C_FLOAT_FORMAT): Delete.
29022169689Skan	* configure.in: Don't call gcc_AC_C_FLOAT_FORMAT.
29023169689Skan	* defaults.h: Remove reference to HOST_FLOAT_WORDS_BIG_ENDIAN
29024169689Skan	in comment.
29025169689Skan
29026169689Skan2003-03-21  DJ Delorie  <dj@redhat.com>
29027169689Skan
29028169689Skan	* optabs.c (init_integral_libfuncs): Make sure we init at least up
29029169689Skan	to "long long" size words.
29030169689Skan
29031169689Skan2003-03-21  Ulrich Weigand  <uweigand@de.ibm.com>
29032169689Skan
29033169689Skan	* config/s390/s390.h: Do not include fixdfdi.h on s390x.
29034169689Skan	(TARGET_64BIT): Define as compile-time constant when IN_LIBGCC2.
29035169689Skan	(MIN_UNITS_PER_WORD): Do not define when IN_LIBGCC2.
29036169689Skan
29037169689Skan2003-03-21  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
29038169689Skan
29039169689Skan	PR doc-bug/9813
29040169689Skan	* doc/extend.texi: Move misplaced paragraph about underscores in
29041169689Skan	variables in macros.
29042169689Skan
29043169689Skan2003-03-21  Eric Botcazou  <ebotcazou@libertysurf.fr>
29044169689Skan	    Richard Henderson  <rth@redhat.com>
29045169689Skan
29046169689Skan	PR optimization/8366
29047169689Skan	* config/sparc/sparc.h: (SYMBOLIC_CONST): New macro.
29048169689Skan	(GO_IF_LEGITIMATE_ADDRESS): Use it. Reject the form
29049169689Skan	PIC+SYMBOLIC_CONST in other modes than Pmode.
29050169689Skan	(GO_IF_MODE_DEPENDENT_ADDRESS): Use it. Mark
29051169689Skan	the form PIC+SYMBOLIC_CONST as mode dependent.
29052169689Skan
29053169689Skan2003-03-21  DJ Delorie  <dj@redhat.com>
29054169689Skan
29055169689Skan	* config/stormy16/stormy16.c (xstormy16_expand_arith): Make
29056169689Skan	sure we always emit at least one insn.
29057169689Skan
29058169689Skan2003-03-21  Christopher Faylor  <cgf@redhat.com>
29059169689Skan
29060169689Skan	* config.gcc (i[34567]86-*-cygwin*): Use new common makefile
29061169689Skan	stub t-cygming. Use common target header cygming.h. Add extra
29062169689Skan	c_target_obj and cxx_target_obj file. Default cygwin to posix
29063169689Skan	threading. Enforce i386 as float format.
29064169689Skan	(i[34567]86-*-mingw*): Use new common makefile stub t-cygming.
29065169689Skan	Remove cygwin.h as target header. Use common target header
29066169689Skan	cygming.h  Enforce i386 as float format. Correct typo.
29067169689Skan	* config/i386/cygming.h: New file, containing definitions
29068169689Skan	common to mingw32 and cygwin.
29069169689Skan	* config/i386/cygwin.h: Remove definitions common to cygwin and
29070169689Skan	mingw.	Simplify special spec logic.  Define "wrappers" around
29071169689Skan	certain include path defines to accommodate -mno-cygwin.
29072169689Skan	Remove some #if 0'ed code.
29073169689Skan	(STANDARD_INCLUDE_DIR) Always define when not cross-compiling.
29074169689Skan	(LINK_SPEC): Don't use cyg search prefix when -mno-cygwin.
29075169689Skan	(GCC_DRIVER_HOST_INITIALIZATION): Define as call to mingw_scan.
29076169689Skan	* config/i386/mingw32.h: Remove definitions common to cygwin and
29077169689Skan	mingw.
29078169689Skan	(EXTRA_OS_CPP_BUILTINS): Adjust.
29079169689Skan	(TARGET_VERSION): Define.
29080169689Skan	* config/i386/crtdll.h (EXTRA_OS_CPP_BUILTINS): Override
29081169689Skan	mingw32.h definitions.
29082169689Skan	(LIBGCC_SPEC): Add libmingwex.a as in mingw32.h.
29083169689Skan	* config/i386/t-cygwin (EXTRA_GCC_OBJS): Define as cygwin1.o.
29084169689Skan	Add compilation rules for cygwin1.o cygwin2.o.
29085169689Skan	* config/i386/cygwin1.c: New file.
29086169689Skan	* config/i386/cygwin2.c: New file.
29087169689Skan	* config/i386/t-cygming: New makefile stub.
29088169689Skan
29089169689Skan2003-03-20  Richard Henderson  <rth@redhat.com>
29090169689Skan
29091169689Skan	* fold-const.c (extract_muldiv_1): Revert changing order of
29092169689Skan	operands in case MULT_EXPR of 2003-02-16 patch.
29093169689Skan
29094169689Skan2003-03-20  Daniel Berlin  <dberlin@dberlin.org>
29095169689Skan	Merge changes from new-regalloc-branch
29096169689Skan
29097169689Skan	From Michael Matz  <matz@suse.de>
29098169689Skan	* df.c (df_ref_record_1): Move init of loc to safe point.
29099169689Skan	Only recurse on interesting things in parallels.
29100169689Skan	Handle CLASS_CANNOT_CHANGE_MODE smarter.
29101169689Skan	(df_uses_record): Ditto.
29102169689Skan
29103169689Skan	* df.h (DF_REF_MEM_OK): New enum member, used to mark ref's which
29104169689Skan	it's already okay to use memory operands in (IE doesn't require
29105169689Skan	adding another insn or anything).
29106169689Skan
29107169689Skan2003-03-20  Richard Henderson  <rth@redhat.com>
29108169689Skan
29109169689Skan	PR middle-end/6348
29110169689Skan	* explow.c (allocate_dynamic_stack_space): Handle STACK_SIZE_MODE
29111169689Skan	different from word_mode.
29112169689Skan
29113169689Skan2003-03-20  Kazu Hirata  <kazu@cs.umass.edu>
29114169689Skan
29115169689Skan	* config/h8300/h8300.md (*insv_si_1_n_lshiftrt): Restrict the
29116169689Skan	source operand to those that can be extracted with bld.
29117169689Skan
29118169689Skan2003-03-20  Richard Earnshaw  <rearnsha@arm.com>
29119169689Skan
29120169689Skan	PR 10066
29121169689Skan	* arm.md (UNSPEC_PIC_BASE): New constant.
29122169689Skan	(pic_add_dot_plus_four): Wrap with unspec.
29123169689Skan	(pic_add_dot_plus_eight): Likewise.
29124169689Skan
29125169689Skan2003-03-20  Kazu Hirata  <kazu@cs.umass.edu>
29126169689Skan
29127169689Skan	* config/h8300/h8300.md (*insv_si_1_n): New.
29128169689Skan	(*insv_si_1_n_lshiftrt): Likewise.
29129169689Skan
29130169689Skan2003-03-20  Roger Sayle  <roger@eyesopen.com>
29131169689Skan
29132169689Skan	* fold-const.c (fold_mathfn_compare): New function to simplify
29133169689Skan	comparisons against built-in math functions.  Fold comparisons
29134169689Skan	of sqrt against constants.
29135169689Skan	(fold): Call fold_mathfn_compare when appropriate.
29136169689Skan
29137169689Skan2003-03-20 Richard Earnshaw  <rearnsha@arm.com>
29138169689Skan
29139169689Skan	* ifcvt.c (find_if_case_1): If we add a new bb, update the dominance
29140169689Skan	information.
29141169689Skan
29142169689Skan2003-03-20  Per Bothner  <pbothner@apple.com>
29143169689Skan
29144169689Skan	Various cleanups to help compile server.
29145169689Skan
29146169689Skan	* cppinit.c (cpp_create_reader):  Take extra hash_table* argument,
29147169689Skan	and pass that to _cpp_init_hashtable.
29148169689Skan	(cpp_read_main_file):  Drop hash_table* argument; don't call
29149169689Skan	_cpp_init_hashtable.
29150169689Skan	* cpplib.h:  Update declarations to match.
29151169689Skan	* c-opts.c (c_common_init_options):  Pass ident_hash to
29152169689Skan	cpp_create_reader.
29153169689Skan	(c_common_post_options):  Don't pass ident_hash to cpp_read_main_file.
29154169689Skan	* fix-header.c (read_scan_file):  Likewise pass NULL table to
29155169689Skan	cpp_create_reader rather than cpp_read_main_file.
29156169689Skan
29157169689Skan	* cppfiles.c (cpp_rename_file):  Generalized and renamed
29158169689Skan	to cpp_change_file.
29159169689Skan	* cpplib.h:  Update declaration to match.
29160169689Skan	* c-opts.c (push_command_line_line, finish_options):  Change
29161169689Skan	cpp_rename_file calls to cpp_change_file.
29162169689Skan
29163169689Skan	* line-map.c (add_line_map):  Allow leaving the outermost file.
29164169689Skan	Allowing entering an outermost-file after the initial time.
29165169689Skan
29166169689Skan	* toplev.c (pop_srcloc):  Allow popping from initial file.
29167169689Skan
29168169689Skan2003-03-20  Kazu Hirata  <kazu at cs dot umass dot edu>
29169169689Skan
29170169689Skan	* fold-const.c (fold): Fold A - (A & B) into ~B & A.
29171169689Skan
29172169689Skan2003-03-20  Kazu Hirata  <kazu@cs.umass.edu>
29173169689Skan
29174169689Skan	* config/h8300/h8300.md (a peephole2): New.
29175169689Skan
29176169689Skan2003-03-20  Kazu Hirata  <kazu@cs.umass.edu>
29177169689Skan
29178169689Skan	* config/h8300/h8300.md (*addsi3_and_r_1): New.
29179169689Skan	(*addsi3_and_not_r_1): Likewise.
29180169689Skan
29181169689Skan2003-03-19  Loren James Rittle  <ljrittle@acm.org>
29182169689Skan
29183169689Skan	* Makefile.in (STRICT2_WARN): Add @WERROR@.
29184169689Skan	(GCC_WARN_CFLAGS): Remove $(WERROR).
29185169689Skan	(fixinc.sh-warn): New.
29186169689Skan	* ada/Make-lang.in (ada-warn): Add $(WERROR).
29187169689Skan	* cp/Make-lang.in (cp-warn): Add $(WERROR).
29188169689Skan	* f/Make-lang.in (f-warn): Add $(WERROR).
29189169689Skan	* java/Make-lang.in (java-warn): Add $(WERROR).
29190169689Skan	* treelang/Make-lang.in (treelang-warn): Add $(WERROR).
29191169689Skan
29192169689Skan2003-03-19  Nathanael Nerode  <neroden@gcc.gnu.org>
29193169689Skan
29194169689Skan	* c-common.h (c_dump_tree), c-dump.c (c_dump_tree),
29195169689Skan	langhooks-def.h (lhd_tree_dump_dump_tree),
29196169689Skan	langhooks.c (lhd_tree_dump_dump_tree), langhooks.h (*dump_tree):
29197169689Skan	Change return type from 'int' to 'bool'.  Replace 0 and 1 with
29198169689Skan	true and false in return statements.
29199169689Skan
29200169689Skan2003-03-19  Kevin Buettner  <kevinb@redhat.com>
29201169689Skan
29202169689Skan	* dwarf2out.c (DWARF_INITIAL_LENGTH_SIZE): Define.
29203169689Skan	(DWARF_COMPILE_UNIT_HEADER_SIZE): Take into account
29204169689Skan	DWARF_INITIAL_LENGTH_SIZE.
29205169689Skan	(output_compilation_unit_header, output_pubnames, output_aranges)
29206169689Skan	(output_line_info): Output 0xffffffff escape value for 64-bit
29207169689Skan	DWARF extension.
29208169689Skan	* config/mips/iris6.h (DWARF_INITIAL_LENGTH_SIZE): Define.
29209169689Skan
29210169689Skan2003-03-19  Ulrich Weigand  <uweigand@de.ibm.com>
29211169689Skan
29212169689Skan	* config/s390/s390.c (s390_preferred_reload_class): Do not
29213169689Skan	force constants to the pool unless necessary.
29214169689Skan	(s390_decompose_address): Prefer to use pointer as base,
29215169689Skan	not index register.
29216169689Skan	* config/s390/s390.md ("*tsthiCCT_only"): Remove '?' from
29217169689Skan	Q alternative.
29218169689Skan	("*movdi_64", "*movsi", "movhi", "movqi_64", "movqi",
29219169689Skan	"*movdf_64", "*movsf"): Add '?' to Q->Q alternatives.
29220169689Skan	("*extractqi", "*extracthi", "*zero_extendhisi2_31",
29221169689Skan	"*zero_extendqisi2_31", "*zero_extendqihi2_31",
29222169689Skan	"*adddi3_31", "*subdi3_31"): Do not set "type" attribute.
29223169689Skan
29224169689Skan2003-03-19  Jan Hubicka  <jh@suse.cz>
29225169689Skan
29226169689Skan	* i386.h (machine_function): New fields use_fast_prologue_epilogue.
29227169689Skan	* i386.c (use_fast_prologue_epilogue): Remove.
29228169689Skan	(ix86_frame): New field save_regs-using_mov;
29229169689Skan	(ix86_compute_frame_layout):  Decide on fast prologues;
29230169689Skan	allocate saved registers in red zone.
29231169689Skan	(ix86_expand_epilogue, ix86_expand_prolgoues): Obey new parameters.
29232169689Skan
29233169689Skan2003-03-19  Nick Clifton  <nickc@redhat.com>
29234169689Skan
29235169689Skan	* config/mcore/mcore.h (CPP_SPEC): Remove trailing semi-colon.
29236169689Skan
29237169689Skan2003-03-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
29238169689Skan
29239169689Skan	PR 10062
29240169689Skan	* config/pa/pa-hpux.h (TARGET_HPUX_UNWIND_LIBRARY): Redefine.
29241169689Skan	* pa-protos.h (output_lbranch): New prototype.
29242169689Skan	* pa.c (compute_frame_size): Change size of the frame marker on the
29243169689Skan	64-bit ports to 48 bytes.
29244169689Skan	(pa_output_function_prologue): Document why SAVE_SP is set.
29245169689Skan	(hppa_expand_prologue): Save previous stack pointer into frame marker
29246169689Skan	on targets which use the hpux unwind library.
29247169689Skan	(output_cbranch): Use output_lbranch.
29248169689Skan	(output_lbranch): New function to output long unconditional branches.
29249169689Skan	* pa.h (TARGET_HPUX_UNWIND_LIBRARY): Define.
29250169689Skan	(STACK_POINTER_OFFSET): Update offset for 48-byte frame marker on
29251169689Skan	64-bit ports.
29252169689Skan	* pa.md (jump): Use output_lbranch.
29253169689Skan	(allocate_stack): New expander for dynamic stack allocation.
29254169689Skan
29255169689Skan2003-03-19  Alan Modra  <amodra@bigpond.net.au>
29256169689Skan
29257169689Skan	* config/rs6000/rs6000.c (rs6000_stack_info): Only require a frame
29258169689Skan	when debugging on XCOFF targets.  Delete "abi" temp.
29259169689Skan
29260169689Skan	PR target/10073
29261169689Skan	* combine.c (force_to_mode <NOT>): Use gen_int_mode.
29262169689Skan
29263169689Skan2003-03-18  Jakub Jelinek  <jakub@redhat.com>
29264169689Skan
29265169689Skan	* config/s390/s390.c (s390_output_dwarf_dtprel): New.
29266169689Skan	* config/s390/s390-protos.h (s390_output_dwarf_dtprel): New proto.
29267169689Skan	* config/s390/s390.h (ASM_OUTPUT_DWARF_DTPREL): Define.
29268169689Skan
29269169689Skan	* config/ia64/ia64.c (ia64_output_dwarf_dtprel): New.
29270169689Skan	* config/ia64/ia64-protos.h (ia64_output_dwarf_dtprel): New proto.
29271169689Skan	* config/ia64/ia64.h (ASM_OUTPUT_DWARF_DTPREL): Define.
29272169689Skan
29273169689Skan2003-03-18  Geoffrey Keating  <geoffk@apple.com>
29274169689Skan
29275169689Skan	* config/rs6000/rs6000.c (rs6000_emit_prologue): Don't clone
29276169689Skan	the result of machopic_function_base_name.
29277169689Skan	* config/darwin.c (machopic_function_base_name): Use a gc-allocated
29278169689Skan	string rather than a static array.
29279169689Skan
29280169689Skan	* Makefile.in (emit-rtl.o): Add gt-emit-rtl.h to dependencies.
29281169689Skan
29282169689Skan	* gengtype.c: Include rtl.h.
29283169689Skan	(enum rtx_code): Don't define.
29284169689Skan	(rtx_format): Make declaration match rtl.h.
29285169689Skan	(rtx_next_new): Rename from rtx_next to avoid conflict.  Change all
29286169689Skan	users.
29287169689Skan	(adjust_field_rtx_def): Describe strings in NOTE_LINE_NUMBER notes.
29288169689Skan	* Makefile.in (gengtype.o): Update dependencies.
29289169689Skan
29290169689Skan2003-03-18  Andreas Schwab  <schwab@suse.de>
29291169689Skan
29292169689Skan	* config/m68k/m68k.md (iordi3): Fix setting low half to -1.  From
29293169689Skan	martin@blom.org.
29294169689Skan
29295169689Skan2003-03-18  Geoffrey Keating  <geoffk@apple.com>
29296169689Skan
29297169689Skan	* function.c (next_block_index): Mark with GTY.
29298169689Skan
29299169689Skan	* config/rs6000/rs6000.md (macho_correct_pic): Correct pattern.
29300169689Skan
29301169689Skan2003-03-18  Richard Henderson  <rth@redhat.com>
29302169689Skan
29303169689Skan	* config/ia64/ia64.md (UNSPECV_SETJMP_RECEIVER): New.
29304169689Skan	(builtin_setjmp_receiver): Delay call to ia64_reload_gp
29305169689Skan	until after reload.
29306169689Skan
29307169689Skan2003-03-18  Richard Henderson  <rth@redhat.com>
29308169689Skan
29309169689Skan	* builtins.c (expand_builtin_unop): New target_mode operand;
29310169689Skan	use it to convert the result to the correct mode.
29311169689Skan	(expand_builtin): Update all callers.
29312169689Skan
29313169689Skan2003-03-18  Ulrich Weigand  <uweigand@de.ibm.com>
29314169689Skan
29315169689Skan	* config/s390/s390.md ("movti", "movhi", "movqi"): Add "type" attribute.
29316169689Skan
29317169689Skan2003-03-18  Jan Hubicka  <jh@suse.cz>
29318169689Skan
29319169689Skan	* i386.md:  Fix previous commit that mistakely applied the patch
29320169689Skan	twice.
29321169689Skan
29322169689Skan	* alias.c (rtx_equal_for_memref_p): Assume that X and Y has been
29323169689Skan	canonicalized.
29324169689Skan	(memrefs_conflict_p): Likewise.
29325169689Skan	(addr_side_effect_eval): Canonicalize the constructed address.
29326169689Skan
29327169689Skan2003-03-18  Jan Hubicka  <jh@suse.cz>
29328169689Skan
29329169689Skan	* i386.md (cvtts?2si peep2): New.
29330169689Skan
29331169689Skan2003-03-18  Kazu Hirata  <kazu@cs.umass.edu>
29332169689Skan
29333169689Skan	* config/h8300/h8300.md (*iorsi3_two_qi_zext): New.
29334169689Skan
29335169689Skan2003-03-18  Andreas Schwab  <schwab@suse.de>
29336169689Skan
29337169689Skan	* dwarf2out.c (output_file_names): Cast size_t to unsigned long
29338169689Skan	for format.
29339169689Skan
29340169689Skan2003-03-17  Jason Merrill  <jason@redhat.com>
29341169689Skan
29342169689Skan	PR c++/10091
29343169689Skan	* expr.c (expand_expr) [ADDR_EXPR]: Disallow taking the address of
29344169689Skan	an unaligned member of TREE_ADDRESSABLE type.
29345169689Skan
29346169689Skan2003-03-18  Alan Modra  <amodra@bigpond.net.au>
29347169689Skan
29348169689Skan	* config/rs6000/linux64.h (MASK_PROFILE_KERNEL): Define.
29349169689Skan	(TARGET_PROFILE_KERNEL): Define.
29350169689Skan	(SUBTARGET_SWITCHES): Handle -mprofile-kernel.
29351169689Skan	(PROFILE_BEFORE_PROLOGUE): Don't define.
29352169689Skan	(PROFILE_KERNEL): Remove hacks.
29353169689Skan	* config/rs6000/rs6000.c (TARGET_PROFILE_KERNEL): Define default.
29354169689Skan	(rs6000_stack_info): No need to save lr if just for profiling when
29355169689Skan	TARGET_PROFILE_KERNEL.
29356169689Skan	(output_profile_hook): Output nothing when TARGET_PROFILE_KERNEL.
29357169689Skan	(output_function_profiler): Localize label generation.  Emit code
29358169689Skan	for kernel profiling.
29359169689Skan
29360169689Skan2003-03-17  Kazu Hirata  <kazu@cs.umass.edu>
29361169689Skan
29362169689Skan	* config/h8300/h8300-protos.h: Add a prototype for
29363169689Skan	byte_accesses_mergeable_p.
29364169689Skan	* config/h8300/h8300.c (byte_accesses_mergeable_p): New.
29365169689Skan	* config/h8300/h8300.md (*iorhi3_two_qi_mem): Likewise.
29366169689Skan	(a splitter): Likewise.
29367169689Skan	(*iorsi3_ashift_16_ashift_24): Likewise.
29368169689Skan	(*iorsi3_ashift_16_ashift_24_mem): Likewise.
29369169689Skan
29370169689Skan2003-03-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
29371169689Skan
29372169689Skan	* dwarf2asm.h: Delete obsolete comment.
29373169689Skan	(dw2_asm_output_data, dw2_asm_output_delta, dw2_asm_output_offset,
29374169689Skan	dw2_asm_output_pcrel, dw2_asm_output_addr,
29375169689Skan	dw2_asm_output_addr_rtx, dw2_asm_output_encoded_addr_rtx,
29376169689Skan	dw2_asm_output_nstring, dw2_asm_output_data_uleb128,
29377169689Skan	dw2_asm_output_data_sleb128, dw2_asm_output_delta_uleb128,
29378169689Skan	dw2_asm_output_delta_sleb128): Add ATTRIBUTE_NULL_PRINTF.
29379169689Skan
29380169689Skan2003-03-17  Zack Weinberg <zack@codesourcery.com>
29381169689Skan
29382169689Skan	* c-tree.h (struct lang_identifier): Remove error_locus field.
29383169689Skan	(IDENTIFIER_ERROR_LOCUS): Kill.
29384169689Skan	(record_function_scope_shadow): New prototype.
29385169689Skan	* c-typeck.c (build_external_ref): Don't complain if
29386169689Skan	decl is error_mark_node.  When not at file scope, bind the
29387169689Skan	decl's local value to error_mark_node to suppress further
29388169689Skan	warnings, instead of setting IDENTIFIER_ERROR_LOCUS.
29389169689Skan
29390169689Skan	* c-decl.c (get_function_binding_level): New static function.
29391169689Skan	(record_function_scope_shadow): New exported function.
29392169689Skan	(c_make_fname_decl): Use get_function_binding_level.
29393169689Skan
29394169689Skan2003-03-17  Steve Ellcey  <sje@cup.hp.com>
29395169689Skan
29396169689Skan	* stmt.c (tail_recursion_args): Call promote_mode to set
29397169689Skan	unsignedp flag correctly before calling convert_move.
29398169689Skan
29399169689Skan2003-03-17  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
29400169689Skan
29401169689Skan	* loop-unroll.c (decide_peel_completely,
29402169689Skan	decide_unroll_constant_iterations, decide_unroll_stupid,
29403169689Skan	decide_unroll_runtime_iterations, decide_peel_simple): Set
29404169689Skan	loop->has_desc.
29405169689Skan
29406169689Skan2003-03-17  Jan Hubicka  <jh@suse.cz>
29407169689Skan
29408169689Skan	* ggc-common.c (ggc_mark_roots): Use htab_traverse_noresize.
29409169689Skan
29410169689Skan2003-03-17  Olivier Hainque  <hainque@act-europe.fr>
29411169689Skan
29412169689Skan	* function.c (assign_parms): For a struct value address passed as
29413169689Skan	first argument, delay the function's result RTL setup code until
29414169689Skan	after the emission of parameter conversions.
29415169689Skan
29416169689Skan2003-03-17  Dave Love  <fx@gnu.org>
29417169689Skan	    Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
29418169689Skan
29419169689Skan	* config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Define __digital__,
29420169689Skan	__arch64__ to match Compaq cc.
29421169689Skan
29422169689Skan2003-03-17  Neil Booth  <neil@daikokuya.co.uk>
29423169689Skan
29424169689Skan	* c-opts.c: Default TARGET_EBCDIC to 0 if not defined.
29425169689Skan	(c_common_init): Set EBCDIC in cpp options.
29426169689Skan	* cpplex.c (maybe_read_ucs, cpp_parse_escape): Use EBCDIC option,
29427169689Skan	not conditional compilation.
29428169689Skan	* cpplib.h (struct cpp_options): New entry EBCDIC.
29429169689Skan
29430169689Skan2003-03-17  Neil Booth  <neil@daikokuya.co.uk>
29431169689Skan
29432169689Skan	* fix-header.c (read_scan_file): Need to malloc arguments to add_path.
29433169689Skan
29434169689Skan2003-03-17  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
29435169689Skan
29436169689Skan	* function.c (thread_prologue_and_epilogue_insns): Set delete_unused
29437169689Skan	argument to 0 for redirect_jump.
29438169689Skan
29439169689Skan2003-03-16  Mark Mitchell  <mark@codesourcery.com>
29440169689Skan
29441169689Skan	PR c++/8805
29442169689Skan	* except.c (eh_region_u_cleanup): Add prev_try.
29443169689Skan	(expand_eh_region_end_cleanup): Set it.
29444169689Skan	(reachable_handlers): Use it to skip over cleanup blocks.
29445169689Skan
29446169689Skan2003-03-17  Andreas Jaeger  <aj@suse.de>
29447169689Skan
29448169689Skan	* Makefile.in (TAGS): Remove obsolete handling of =*.[chy].
29449169689Skan
29450169689Skan2003-03-17  Alan Modra  <amodra@bigpond.net.au>
29451169689Skan
29452169689Skan	* config/rs6000/linux64.h (TARGET_64BIT): Redefine.
29453169689Skan	(TARGET_RELOCATABLE, TARGET_EABI, TARGET_PROTOTYPE): Likewise.
29454169689Skan	(SUBTARGET_SWITCHES, SUBTARGET_OPTIONS): Likewise.
29455169689Skan	(SUBTARGET_OVERRIDE_OPTIONS, CPP_SYSV_SPEC): Likewise.
29456169689Skan
29457169689Skan2003-03-16  Richard Henderson  <rth@redhat.com>
29458169689Skan
29459169689Skan	* simplify-rtx (simplify_binary_operation): Don't abort for
29460169689Skan	SS_PLUS, US_PLUS, SS_MINUS, US_MINUS.
29461169689Skan
29462169689Skan2003-03-16  Richard Henderson  <rth@redhat.com>
29463169689Skan
29464169689Skan	* config/i386/i386.md (movstrictqi, movstrictqi_1): Check
29465169689Skan	optimize_size as well.
29466169689Skan
29467169689Skan2003-03-16  Stephane Carrez  <stcarrez@nerim.fr>
29468169689Skan
29469169689Skan	* config/m68hc11/m68hc11.c (print_operand): Handle 'b' modifier
29470169689Skan	for D register to specify the low part of it, aka B.
29471169689Skan	(m68hc11_gen_movhi): Use REG_WAS_0 note and increment or decrement
29472169689Skan	the register if we are loading 1 or -1 to it; avoid using temp
29473169689Skan	register when moving X/Y to Y/X.
29474169689Skan	(m68hc11_gen_movqi): Likewise.
29475169689Skan	(m68hc11_check_z_replacement): Fix last insn setting for compare case.
29476169689Skan
29477169689Skan2003-03-14  Mark Mitchell  <mark@codesourcery.com>
29478169689Skan
29479169689Skan	PR optimization/9016
29480169689Skan	* config/i386/i386.c (ix86_expand_move): Force more CONST_DOUBLEs
29481169689Skan	into the constant pool.
29482169689Skan
29483169689Skan2003-03-16  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
29484169689Skan
29485169689Skan	PR target/9164
29486169689Skan	* tree.c (get_narrower): For extensions with unchanged bit number,
29487169689Skan	return the unsignedness of the outer mode.
29488169689Skan
29489169689Skan2003-03-16  Roger Sayle  <roger@eyesopen.com>
29490169689Skan
29491169689Skan	* c-typeck.c (build_component_ref):  Turn "for" into "do .. while"
29492169689Skan	to avoid "may be used uninitialized" warning on ia64-hpux.
29493169689Skan	* config/ia64/ia64-c.c: Include "tm_p.h" for function prototypes.
29494169689Skan
29495169689Skan2003-03-16  Andreas Jaeger  <aj@suse.de>
29496169689Skan
29497169689Skan	* configure.in: Improve check for memcheck.h.
29498169689Skan	* configure: Regenerated.
29499169689Skan
29500169689Skan2003-03-16  Neil Booth  <neil@daikokuya.co.uk>
29501169689Skan
29502169689Skan	* doc/cppopts.texi: Remove documentation of -A-.
29503169689Skan
29504169689Skan2003-03-15  Zack Weinberg  <zack@codesourcery.com>
29505169689Skan
29506169689Skan	* doc/libgcc.texi: Remove @tie.
29507169689Skan
29508169689Skan2003-03-15  Josef Zlomek  <zlomekj@suse.cz>
29509169689Skan
29510169689Skan	* rtl.h (subrtx_p): Renamed to rtx_referenced_p.
29511169689Skan	(rtx_pair): Added new element update_label_nuses, renamed to
29512169689Skan	replace_label_data.
29513169689Skan	* cfgcleanup.c (outgoing_edges_match, try_crossjump_to_edge): Use
29514169689Skan	replace_label_data instead of rtx_pair.
29515169689Skan	* loop.c (load_mems): Likewise.
29516169689Skan	* rtlanal.c (replace_label): Replace label in pool constants and in
29517169689Skan	INSN_LIST (in REG_LABEL note).
29518169689Skan	(subrtx_p): Renamed to rtx_referenced_p.
29519169689Skan	(subrtx_p_1): Renamed to rtx_referenced_p_1, compare the interior of
29520169689Skan	LABEL_REF with CODE_LABEL, traverse constants from pool.
29521169689Skan
29522169689Skan2003-03-15  Aldy Hernandez <aldyh@redhat.com>
29523169689Skan	    Zack Weinberg  <zack@codesourcery.com>
29524169689Skan
29525169689Skan	* Makefile.in (TEXI_GCCINT_FILES): Add libgcc.texi.
29526169689Skan	* doc/libgcc.texi: New file.
29527169689Skan	* doc/interface.texi: Delete paragraph about libgcc interface.
29528169689Skan	* doc/gccint.texi: Add libgcc menu entry and @include libgcc.texi.
29529169689Skan
29530169689Skan2003-03-15  Jason Merrill  <jason@redhat.com>
29531169689Skan
29532169689Skan	PR debug/9039
29533169689Skan	* dwarf2out.c (gen_decl_die): Ignore frontend tree codes.
29534169689Skan
29535169689Skan	PR debug/6387
29536169689Skan	* dwarf2out.c (dwarf2out_decl): If we're at -g1, just stick nested
29537169689Skan	function DIEs at toplevel.
29538169689Skan	(decls_for_scope): At -g1, don't descend into subblocks.
29539169689Skan
29540169689Skan2003-03-15  Ulrich Weigand  <uweigand@de.ibm.com>
29541169689Skan
29542169689Skan	* varasm.c (struct rtx_const): Change type of un.addr member
29543169689Skan	to struct holding an additional 'symbol' member.
29544169689Skan	(decode_rtx_const): Re-enable optimization to count SYMBOL_REFs
29545169689Skan	with equal string addresses as equal.
29546169689Skan	(simplify_subtraction): Adapt to struct rtx_const change.
29547169689Skan
29548169689Skan2003-03-15  Neil Booth  <neil@daikokuya.co.uk>
29549169689Skan
29550169689Skan	* fix-header.c (read_scan_file): Read main file before handling -D.
29551169689Skan
29552169689Skan2003-03-15  Roger Sayle  <roger@eyesopen.com>
29553169689Skan
29554169689Skan	* c-cppbuiltin.c (builtin_define_with_value_n): Fix whitespace.
29555169689Skan	* c-typeck.c (c_tree_expr_nonnegative_p): Likewise.
29556169689Skan	* cfgbuild.c (find_many_sub_basic_blocks): Likewise.
29557169689Skan	(find_sub_basic_blocks): Likewise.
29558169689Skan	* cgraphunit.c (cgraph_expand_functions): Likewise.
29559169689Skan	* dwarf2out.c (prune_unused_types): Likewise.
29560169689Skan	* expr.c (store_field): Likewise.
29561169689Skan	* genextract.c (print_path): Likewise.
29562169689Skan	* haifa-sched.c (schedule_insn): Likewise.
29563169689Skan	* lcm.c (compute_antinout_edge): Likewise.
29564169689Skan	* loop-unroll.c (decide_peel_once_rolling): Likewise.
29565169689Skan	* ra-colorize.c (ra_colorize_free_all): Likewise.
29566169689Skan	* ra-debug.c (dump_igraph): Likewise.
29567169689Skan	(debug_hard_reg_set): Likewise.
29568169689Skan	* reg-stack.c (reg_to_stack): Likewise.
29569169689Skan	* rtlanal.c (refers_to_regno_p): Likewise.
29570169689Skan	* tracer.c (layout_superblocks): Likewise.
29571169689Skan
29572169689Skan2003-03-15  Neil Booth  <neil@daikokuya.co.uk>
29573169689Skan
29574169689Skan	* fix-header.c (read_scan_file): Fix thinko.
29575169689Skan
29576169689Skan2003-03-15  Glen Nakamura  <glen@imodulo.com>
29577169689Skan
29578169689Skan	* reload1.c (choose_reload_regs): Use && instead of ||
29579169689Skan	with REG_CANNOT_CHANGE_MODE_P condition.
29580169689Skan
29581169689Skan2003-03-15  Neil Booth  <neil@daikokuya.co.uk>
29582169689Skan
29583169689Skan	* Makefile.in: Update.
29584169689Skan	* c-common.h (cb_register_builtins): Rename c_cpp_builtins.
29585169689Skan	* c-lex.c (init_c_lex): Register builtins hook is dead.
29586169689Skan	* c-opts.c (COMMAND_LINE_OPTIONS, missing_arg): Handle -A, -D and -U.
29587169689Skan	(c_common_decode_option): Don't call cpp_handle_option.
29588169689Skan	Handle -A, -D and -U.
29589169689Skan	(handle_deferred_opts): Simplify.
29590169689Skan	(finish_options): Define builtins and command line macros.
29591169689Skan	* c-ppoutput.c (init_pp_output): Register builtins hook is dead.
29592169689Skan	* cppinit.c: Don't include intl.h.
29593169689Skan	(init_builtins): Rename cpp_init_builtins.  No hook to call.
29594169689Skan	(init_library): Don't need to sort options.
29595169689Skan	(cpp_create_reader): Don't set pending.
29596169689Skan	(cpp_destroy): Don't free pending.
29597169689Skan	(struct pending_option, cl_directive_handler, struct cpp_pending,
29598169689Skan	APPEND, free_chain, new_pending_directive, parse_option, opt_comp,
29599169689Skan	cpp_finish_options, COMMAND_LINE_OPTIONS, DEF_OPT, struct cl_option,
29600169689Skan	cl_options, cpp_handle_option): Remove.
29601169689Skan	* cpplib.h (struct cpp_pending, register_builtins, cpp_handle_option,
29602169689Skan	cpp_finish_options): Remove.
29603169689Skan	(cpp_init_builtins): New.
29604169689Skan	* fix-header.c (read_scan_file): Update to handle -D.  Fix
29605169689Skan	handling of -I.  Replace call to cpp_finish_options.
29606169689Skan
29607169689Skan2003-03-15  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
29608169689Skan
29609169689Skan	PR optimization/9387
29610169689Skan	* function.c (thread_prologue_and_epilogue_insns): Use redirect_jump
29611169689Skan	for conditional returns.
29612169689Skan
29613169689Skan2003-03-14  Jason Merrill  <jason@redhat.com>
29614169689Skan
29615169689Skan	PR optimization/6871
29616169689Skan	* varasm.c (assemble_variable): Leave constant zeroes in .rodata.
29617169689Skan
29618169689Skan2003-03-14  Neil Booth  <neil@daikokuya.co.uk>
29619169689Skan
29620169689Skan	* c-opts.c (finish_options): New.
29621169689Skan	(COMMAND_LINE_OPTIONS, c_common_decode_option): Add -imacros.
29622169689Skan	(missing_arg): Handle OPT_include and OPT_imacros.
29623169689Skan	(c_common_init, c_common_parse_file): Use finish_options.
29624169689Skan	(handle_deferred_opts): Update.
29625169689Skan	* cppinit.c (struct cpp_pending): Remove imacros_head and imacros_tail.
29626169689Skan	(cpp_finish_options): Don't handle -imacros here.
29627169689Skan	(no_fil): Remove.
29628169689Skan	(COMMAND_LINE_OPTIONS, cpp_handle_option): Don't handle -imacros.
29629169689Skan
29630169689Skan2003-03-14  Jakub Jelinek  <jakub@redhat.com>
29631169689Skan
29632169689Skan	* config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Don't call
29633169689Skan	rs6000_maybe_dead if !fromprolog.
29634169689Skan
29635169689Skan2003-03-14  Neil Booth  <neil@daikokuya.co.uk>
29636169689Skan
29637169689Skan	* Makefile.in: Update.
29638169689Skan	* c-common.h (fe_file_change, pp_file_change): New.
29639169689Skan	* c-lex.c (init_c_lex): Don't set cb_file_change.
29640169689Skan	(c_common_parse_file): Move to c-opts.c.
29641169689Skan	(cb_file_change): Rename fe_file_change.
29642169689Skan	* c-opts.c: Include debug.h.
29643169689Skan	(warn_unused_macros, include_cursor): New.
29644169689Skan	(push_command_line_include, cb_file_change): New.
29645169689Skan	(COMMAND_LINE_OPTIONS): Handle -include.
29646169689Skan	(c_common_decode_option): Use local warn_unused_macros.
29647169689Skan	Handle OPT_include.
29648169689Skan	(c_common_post_options): Set file change callback.
29649169689Skan	(handle_deferred_opts): Skip -include.  Don't free the array.
29650169689Skan	(c_common_init): Call cpp_finish_options here, and push an
29651169689Skan	initial -include file.
29652169689Skan	* c-ppoutput.c (cb_file_change): Rename pp_file_change.
29653169689Skan	(preprocess_file): Don't call cpp_finish_options.
29654169689Skan	(init_pp_output): Don't set the file change callback.
29655169689Skan	(pp_file_change): Return if no line commands or no output.
29656169689Skan	* cpphash.h (next_include_file, first_unused_line): Remove.
29657169689Skan	* cppinit.c (include_head, include_tail): Remove.
29658169689Skan	(cpp_destroy): Don't free -include chain.
29659169689Skan	(cpp_finish_options): Don't handle -include, or worry about
29660169689Skan	-Wunused-macros.
29661169689Skan	(_cpp_maybe_push_include_file): Remove.
29662169689Skan	(COMMAND_LINE_OPTIONS, cpp_handle_option): Don't handle -include.
29663169689Skan	* cpplib.c (_cpp_pop_buffer): Don't handle -include.
29664169689Skan	* cppmacro.c (_cpp_warn_if_unused_macro, _cpp_create_definition):
29665169689Skan	Used flag is set based upon the state of the warn_unused_macros
29666169689Skan	flag, and so use of first_unused_line is unnecessary.
29667169689Skan
29668169689Skan2003-03-13  Jan Hubicka  <jh@suse.cz>
29669169689Skan
29670169689Skan	* cselib.c (clear_table): Do not take argument; always clear just
29671169689Skan	used slots.
29672169689Skan	(cselib_process_insn):  Update call of clear_table
29673169689Skan	(cselib_init): Do not call clear_table.
29674169689Skan	(cselib_finish): Clear table.
29675169689Skan
29676169689Skan	* cse.c (count_reg_usage): Do not check side_effects_p.
29677169689Skan	* rtlanal.c (set_noop_p): Check side_effects_p only when set looks
29678169689Skan	like noop.
29679169689Skan	(find_reg_equal_equiv_note): Do not use find_reg_note.
29680169689Skan
29681169689Skan2003-03-14  Richard Henderson  <rth@redhat.com>
29682169689Skan
29683169689Skan	PR target/9700
29684169689Skan	* config/alpha/alpha.c (alpha_va_start): Account for
29685169689Skan	current_function_pretend_args_size in the AP offset.
29686169689Skan
29687169689Skan	* config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Move out of line.
29688169689Skan	(INITIAL_ELIMINATION_OFFSET): Move out of line.
29689169689Skan	* config/alpha/alpha.c (alpha_setup_incoming_varargs): New.
29690169689Skan	(alpha_initial_elimination_offset) New.
29691169689Skan	* config/alpha/alpha-protos.h: Update.
29692169689Skan
29693169689Skan2003-03-14  Jakub Jelinek  <jakub@redhat.com>
29694169689Skan
29695169689Skan	* stmt.c (expand_start_case): Call emit_queue ().
29696169689Skan
29697169689Skan2003-03-14  Chris Demetriou  <cgd@broadcom.com>
29698169689Skan	    Alexandre Oliva  <aoliva@redhat.com>
29699169689Skan
29700169689Skan	* config/mips/mips.h (FUNCTION_PROFILER): _mcount() doesn't pop 2
29701169689Skan	words in new abis.
29702169689Skan
29703169689Skan2003-03-14  Eric Botcazou  <ebotcazou@libertysurf.fr>
29704169689Skan
29705169689Skan	PR optimization/8396
29706169689Skan	* tree-inline.c (initialize_inlined_parameters): Make sure the value
29707169689Skan	of read-only constant arguments is passed with the right type.
29708169689Skan
29709169689Skan2003-03-14  Steven Bosscher  <steven@gcc.gnu.org>
29710169689Skan
29711169689Skan	* doc/extend.texi (Function Names): Make the example compilable.
29712169689Skan
29713169689Skan2003-03-13  David Edelsohn  <edelsohn@gnu.org>
29714169689Skan
29715169689Skan	* config/rs6000/rs6000.c (processor_target_table): Really allow
29716169689Skan	GP optional instructions on Power4.
29717169689Skan
29718169689Skan2003-03-13  Roger Sayle  <roger@eyesopen.com>
29719169689Skan
29720169689Skan	* calls.c (flags_from_decl_or_type): Factor and remove redundant
29721169689Skan	conditional tests.
29722169689Skan
29723169689Skan2003-03-13  Mike Stump  <mrs@apple.com>
29724169689Skan
29725169689Skan	* ggc-page.c (struct page_entry): Remove varray.h header.
29726169689Skan	Add index_by_depth field.
29727169689Skan	Remove save_in_use_p field.
29728169689Skan	(struct globals): Add depth_in_use, depth_max, by_depth_in_use,
29729169689Skan	by_depth_max, by_depth, and save_in_use fields.
29730169689Skan	(INITIAL_PTE_COUNT): Add.
29731169689Skan	(save_in_use_p_i): Add.
29732169689Skan	(save_in_use_p): Add.
29733169689Skan	(adjust_depth): Add.
29734169689Skan	(move_ptes_to_front): Add.
29735169689Skan	(push_depth): Add.
29736169689Skan	(push_by_depth): Add.
29737169689Skan	(prefetch): Add.
29738169689Skan	(free_page): Add support for and use faster data structures.
29739169689Skan	(ggc_alloc): Likewise.
29740169689Skan	(init_ggc): Likewise.
29741169689Skan	(ggc_recalculate_in_use_p): Likewise.
29742169689Skan	(ggc_pop_context): Likewise.
29743169689Skan	(clear_marks): Likewise.
29744169689Skan	(ggc_pch_read): Likewise.
29745169689Skan	* Makefile.in (ggc-page.o): Remove varray.h.
29746169689Skan
29747169689Skan2003-03-13  Nathanael Nerode  <neroden@gcc.gnu.org>
29748169689Skan
29749169689Skan	* ChangeLog: Rotated last year's entries to...
29750169689Skan	* ChangeLog.8: New.
29751169689Skan
29752169689Skan	* config/ia64/fde-glibc.c, config/ia64/freebsd.h,
29753169689Skan	config/ia64/hpux.h, config/ia64/hpux_longdouble.h,
29754169689Skan	config/ia64/ia64-c.c, config/ia64/ia64-modes.def,
29755169689Skan	config/ia64/ia64-protos.h, config/ia64/ia64.c,
29756169689Skan	config/ia64/ia64.h, config/ia64/ia64.md,
29757169689Skan	config/ia64/itanium1.md, config/ia64/itanium2.md,
29758169689Skan	config/ia64/quadlib.c, config/ia64/unwind-ia64.c,
29759169689Skan	config/ia64/unwind-ia64.h: It's GCC, not GNU CC.
29760169689Skan
29761169689Skan2003-03-13  Aldy Hernandez  <aldyh@redhat.com>
29762169689Skan
29763169689Skan	* config/rs6000/rs6000.c (rs6000_dwarf_register_span):
29764169689Skan	Differentiate endianness.
29765169689Skan	(s6000_override_options): Use cpu type instead of TARGET_SPE.
29766169689Skan
29767169689Skan2003-03-13  Nick Clifton  <nickc@redhat.com>
29768169689Skan
29769169689Skan	* config/arm/arm.c (print_multi_reg): Do not generate a type 2
29770169689Skan	LDM instructions with writeback enabled.
29771169689Skan	(output_return_instruction): Likewise.
29772169689Skan
29773169689Skan	* config/arm/pe.h (FIXED_REGISTERS): Remove definition.
29774169689Skan	(CALL_USED_REGISTERS): Remove definition.
29775169689Skan	(SUBTARGET_CONDITIONAL_REGISTER_USAGE): Define.
29776169689Skan
29777169689Skan2003-03-13  Alan Modra  <amodra@bigpond.net.au>
29778169689Skan
29779169689Skan	* config/rs6000/rs6000.c (rs6000_flag_pic): Delete.
29780169689Skan	(rs6000_xcoff_encode_section_info): #ifdef TARGET_XCOFF.
29781169689Skan	(rs6000_binds_local_p, TARGET_BINDS_LOCAL_P): #if TARGET_MACHO.
29782169689Skan	(rs6000_override_options): Don't clear flag_pic for ABI_AIX.
29783169689Skan	(rs6000_legitimize_address): Formatting.
29784169689Skan	(rs6000_emit_move): Likewise.
29785169689Skan	(rs6000_return_addr): Test ABI_AIX as well as flag_pic.
29786169689Skan	(rs6000_emit_prologue <save_LR_around_toc_setup>): Likewise.
29787169689Skan	(rs6000_elf_select_section): Comment reason for shlib being
29788169689Skan	set for ABI_AIX.
29789169689Skan	(rs6000_elf_unique_section): Likewise.
29790169689Skan	(rs6000_elf_encode_section_info): Test !TARGET_AIX as well as ABI_AIX.
29791169689Skan	* config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Test ABI_AIX
29792169689Skan	as well as flag_pic.
29793169689Skan	* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Likewise.
29794169689Skan	(MINIMAL_TOC_SECTION_ASM_OP): Likewise.
29795169689Skan	* config/rs6000/linux64.h (TARGET_ENCODE_SECTION_INFO): Don't define.
29796169689Skan
29797169689Skan2003-03-13  Richard Henderson  <rth@redhat.com>
29798169689Skan
29799169689Skan	* emit-rtl.c (try_split): Handle 1-1 splits of call insns properly.
29800169689Skan
29801169689Skan	* config/ia64/ia64.c (TARGET_FUNCTION_OK_FOR_SIBCALL): New.
29802169689Skan	(ia64_gp_save_reg): Remove.
29803169689Skan	(struct ia64_frame_info): Move to the beginning of the file;
29804169689Skan	add reg_save_gp.
29805169689Skan	(ia64_expand_call): Rearrange for new call patterns.
29806169689Skan	(ia64_reload_gp): New.
29807169689Skan	(ia64_split_call): New.
29808169689Skan	(ia64_compute_frame_size): Allocate reg_save_gp.
29809169689Skan	(ia64_expand_prologue): Save reg_save_gp.
29810169689Skan	(ia64_expand_epilogue): Don't restore gp.
29811169689Skan	(ia64_hard_regno_rename_ok): Remove R4 hack.
29812169689Skan	(ia64_function_ok_for_sibcall): New.
29813169689Skan	(ia64_output_mi_thunk): Set reload_completed, no_new_pseudos;
29814169689Skan	call try_split on sibcall pattern.
29815169689Skan	* config/ia64/ia64-protos.h: Update.
29816169689Skan	* config/ia64/ia64.md (call_nogp, call_value_nogp, sibcall_nogp):
29817169689Skan	Rename from nopic versions.  Confiscate 2nd argument to call as
29818169689Skan	a marker.
29819169689Skan	(call_pic, call_value_pic, sibcall_pic): Remove.
29820169689Skan	(call_gp, call_value_gp, sibcall_gp): New.
29821169689Skan	(builtin_setjmp_setup): Remove.
29822169689Skan	(builtin_setjmp_receiver): Call ia64_reload_gp.
29823169689Skan
29824169689Skan2003-03-12  Nathanael Nerode  <neroden@gcc.gnu.org>
29825169689Skan
29826169689Skan	* config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
29827169689Skan	config/dsp16xx/dsp16xx.h, config/dsp16xx/dsp16xx.md: Replace
29828169689Skan	"GNU CC" with "GCC".
29829169689Skan
29830169689Skan	* config/c4x/c4x-c.c, config/c4x/c4x-modes.def,
29831169689Skan	config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
29832169689Skan	config/c4x/c4x.md, config/c4x/libgcc.S, config/c4x/rtems.h:
29833169689Skan	GCC, not GNU CC.
29834169689Skan
29835169689Skan	* genattrtab.h, hosthooks-def.h, hosthooks.h, langhooks-def.h,
29836169689Skan	langhooks.h, tree-inline.h: Replace "GNU CC" with "GCC".
29837169689Skan
29838169689Skan	* c-pch.c, dummy-conditions.c, genautomata.c, genconditions.c,
29839169689Skan	langhooks.c, tree-inline.c, unwind-dw2-fde-darwin.c,
29840169689Skan	unwind-dw2-fde-glibc.c, unwind-libunwind.c, vmsdbgout.c: Replace
29841169689Skan	"GNU CC" with "GCC".
29842169689Skan
29843169689Skan	* config/v850/lib1funcs.asm, config/v850/rtems.h,
29844169689Skan	config/v850/v850-c.c, config/v850/v850-protos.h,
29845169689Skan	config/v850/v850.c, config/v850/v850.h, config/v850/v850.md:
29846169689Skan	GCC, not GNU CC.
29847169689Skan
29848169689Skan	* config/vax/bsd.h, config/vax/elf.h, config/vax/netbsd-elf.h,
29849169689Skan	config/vax/netbsd.h, config/vax/openbsd.h, config/vax/openbsd1.h,
29850169689Skan	config/vax/ultrix.h, config/vax/vax-protos.h, config/vax/vax.c,
29851169689Skan	config/vax/vax.h, config/vax/vax.md, config/vax/vaxv.h: GCC, not
29852169689Skan	GNU CC.
29853169689Skan
29854169689Skan2003-03-12  Benjamin Kosnik  <bkoz@redhat.com>
29855169689Skan
29856169689Skan	* cpppch.c (cpp_valid_state): Use DL_WARNING_SYSHDR, not DL_WARNING.
29857169689Skan
29858169689Skan2003-03-12  Nathanael Nerode  <neroden@gcc.gnu.org>
29859169689Skan
29860169689Skan	* fixinc/fixinc.interix: Remove dead code (most of it).
29861169689Skan	* fixinc/fixinc.dgux: Remove.
29862169689Skan
29863169689Skan	* ginclude/float.h, ginclude/iso646.h, ginclude/stdarg.h,
29864169689Skan	ginclude/stdbool.h, ginclude/stddef.h: GCC, not GNU CC.
29865169689Skan
29866169689Skan2003-03-12  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
29867169689Skan
29868169689Skan	* pa.c (pa_init_builtins): Fix warning.
29869169689Skan
29870169689Skan2003-03-12  Steve Ellcey  <sje@cup.hp.com>
29871169689Skan
29872169689Skan	* config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR): Remove.
29873169689Skan	(ASM_OUTPUT_XDATA_SHORT): Remove.
29874169689Skan	(ASM_OUTPUT_XDATA_INT): Remove.
29875169689Skan	(ASM_OUTPUT_XDATA_DOUBLE_INT): Remove.
29876169689Skan	(ASM_OUTPUT_ADDR_DIFF_ELT): Handled 32 bit address diffs.
29877169689Skan	(ASM_PREFERRED_EH_DATA_FORMAT): Handle 32 bit EH pointers.
29878169689Skan	(CASE_VECTOR_MODE): Handle 32 bit pointers in case statement.
29879169689Skan
29880169689Skan2003-03-12  Andrew Lewycky  <andrew@mxc.ca>
29881169689Skan
29882169689Skan	PR c++/7050
29883169689Skan	* expr.c (store_expr): Don't attempt to store void-typed trees,
29884169689Skan	just evaluate them for side effects.
29885169689Skan
29886169689Skan2003-03-12  Neil Booth  <neil@daikokuya.co.uk>
29887169689Skan
29888169689Skan	* cppfiles.c (cpp_rename_file, cpp_push_include): New.
29889169689Skan	* cppinit.c (push_include): Move with changes to cppfiles.c.
29890169689Skan	(cpp_read_main_file): Mark named operators here...
29891169689Skan	(cpp_finish_options): ...not here.  Update.
29892169689Skan	(_cpp_maybe_push_include_file): Update.
29893169689Skan	* cpplib.h (cpp_push_include, cpp_rename_file): New.
29894169689Skan
29895169689Skan2003-03-12  Nathanael Nerode  <neroden@gcc.gnu.org>
29896169689Skan
29897169689Skan	* aclocal.m4: Introduce gcc_GAS_VERSION_GTE_IFELSE,
29898169689Skan	_gcc_COMPUTE_GAS_VERSION.
29899169689Skan	* configure.in: Use them.
29900169689Skan	* configure: Regenerate.
29901169689Skan
29902169689Skan2003-03-12  Bob Wilson  <bob.wilson@acm.org>
29903169689Skan
29904169689Skan	* config/xtensa/xtensa.md (adddi3): Don't clobber source operand used
29905169689Skan	to detect carry.
29906169689Skan	(subdi3): Reorder emitted instructions.
29907169689Skan
29908169689Skan2003-03-12  Andreas Jaeger  <aj@suse.de>
29909169689Skan
29910169689Skan	* config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Remove call to
29911169689Skan	NETBSD_OS_CPP_BUILTINS_LP64.
29912169689Skan
29913169689Skan2003-03-12  Nathanael Nerode  <neroden@gcc.gnu.org>
29914169689Skan
29915169689Skan	* Makefile.in: Eliminate all.indirect.  Update and clean up comments.
29916169689Skan	Rearrange.  Reorganize.
29917169689Skan	* configure.in: Rearrange.
29918169689Skan	* configure: Regenerate.
29919169689Skan
29920169689Skan2003-03-12  Andreas Jaeger  <aj@suse.de>
29921169689Skan
29922169689Skan	* c-cppbuiltin.c (cb_register_builtins): Define LP64 builtins for
29923169689Skan	LP64 targets.
29924169689Skan
29925169689Skan	* doc/cpp.texi (Common Predefined Macros): Document __LP64__ and
29926169689Skan	_LP64.
29927169689Skan
29928169689Skan	* config/ia64/ia64.h (TARGET_CPU_CPP_BUILTINS): Do not define
29929169689Skan	_LP64 macros here.
29930169689Skan	* config/pa/pa.h (TARGET_CPU_CPP_BUILTINS): Likewise.
29931169689Skan
29932169689Skan	* config/alpha/netbsd.h (TARGET_OS_CPP_BUILTINS): Remove call to
29933169689Skan	NETBSD_OS_CPP_BUILTINS_LP64.
29934169689Skan	* config/sh/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Likewise.
29935169689Skan	* config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Likewise.
29936169689Skan
29937169689Skan	* config/netbsd.h (NETBSD_OS_CPP_BUILTINS_LP64): Remove.
29938169689Skan
29939169689Skan2003-03-12  Jan Hubicka  <jh@suse.cz>
29940169689Skan
29941169689Skan	* i386.c (ix86_setup_incoming_varargs): Set stack_alignment_needed to 128.
29942169689Skan
29943169689Skan2003-03-12  Daniel Jacobowitz  <drow@mvista.com>
29944169689Skan
29945169689Skan	Fix PR target/9797 and PR c/9853.
29946169689Skan	* stmt.c (expand_decl_init): Call push_temp_slots () and
29947169689Skan	pop_temp_slots ().
29948169689Skan
29949169689Skan2003-03-12  J"orn Rennecke <joern.rennecke@superh.com>
29950169689Skan
29951169689Skan	* sh.c: Include basic-block.h.
29952169689Skan	(sh_output_mi_thunk, emit_load_ptr): New functions.
29953169689Skan	(TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Redefine.
29954169689Skan
29955169689Skan2003-03-12  Nick Clifton  <nickc@redhat.com>
29956169689Skan
29957169689Skan	* config/arm/pe.h (FIXED_REGISTERS): Add Maverick registers.
29958169689Skan	(CALL_USED_REGISTERS): Likewise.
29959169689Skan	* config/arm/arm.h (FIRST_PSEUDO_REGISTER): Update comment
29960169689Skan	describing how this value is calculated.
29961169689Skan
29962169689Skan2003-03-12  Hans-Peter Nilsson  <hp@bitrange.com>
29963169689Skan
29964169689Skan	* configure.in (rlim_t): Define to long if no valid definition
29965169689Skan	found in sys/resource.h.
29966169689Skan	* config.in, configure: Regenerate.
29967169689Skan
29968169689Skan2003-03-12  Neil Booth  <neil@daikokuya.co.uk>
29969169689Skan
29970169689Skan	* config/mcore/mcore-elf.h (CPP_PREDEFINES): Replace with
29971169689Skan	TARGET_OS_CPP_BUILTINS.
29972169689Skan	* config/mcore/mcore-pe.h: Similarly.
29973169689Skan	* config/mcore/mcore.h: Replace CPP_PREDEFINES and part of
29974169689Skan	CPP_SPEC with TARGET_CPU_CPP_BUILTINS.
29975169689Skan
29976169689Skan2003-03-12  Eric Botcazou  <ebotcazou@libertysurf.fr>
29977169689Skan
29978169689Skan	PR c/9928
29979169689Skan	* c-decl.c (duplicate_decls): Discard the initializer of the new decl
29980169689Skan	only if it is a VAR_DECL.
29981169689Skan
29982169689Skan2003-03-12  Eric Botcazou  <ebotcazou@libertysurf.fr>
29983169689Skan
29984169689Skan	PR optimization/9888
29985169689Skan	* config/i386/i386.md (jcc_1): Fix range.
29986169689Skan	(jcc_2): Likewise.
29987169689Skan	(jump): LIkewise.
29988169689Skan	(doloop_end_internal): Likewise.
29989169689Skan
29990169689Skan2003-03-12  Danny Smith  <dannysmith@users.sourceforge.net>
29991169689Skan
29992169689Skan	* config/i386/winnt.c (DLL_IMPORT_PREFIX): New define.
29993169689Skan	Use throughout instead of DLL_IMPORT_EXPORT_PREFIX and "e."
29994169689Skan	(DLL_EXPORT_PREFIX): New define. Use throughout instead of
29995169689Skan	DLL_IMPORT_EXPORT_PREFIX and "i."
29996169689Skan	(i386_pe_dllexport_name_p): Here.
29997169689Skan	(i386_pe_dllimport_name_p): Here.
29998169689Skan	(i386_pe_mark_dllexport): Here. Remove DLL_IMPORT_PREFIX,
29999169689Skan	not 9 chars when getting identifier name.
30000169689Skan	(i386_pe_mark_dllimport): Here.
30001169689Skan	(i386_pe_encode_section_info): Here. Remove DLL_IMPORT_PREFIX,
30002169689Skan	not 9 chars when getting identifier name. Correct comment.
30003169689Skan	(i386_pe_strip_name_encoding): Here. Add comments for different
30004169689Skan	cases.
30005169689Skan	(gen_fastcall_suffix): Break down xmalloc() argument to
30006169689Skan	components.
30007169689Skan	(gen_stdcall_suffix): Likewise.
30008169689Skan	Update copyright year.
30009169689Skan
30010169689Skan2003-03-12  Eric Botcazou  <ebotcazou@libertysurf.fr>
30011169689Skan
30012169689Skan	PR optimization/9888
30013169689Skan	* config/i386/i386.md (movsi_1): Remove special alternatives
30014169689Skan	for %eax register.
30015169689Skan	(movsi_1_nointernunit): Likewise.
30016169689Skan	(movhi_1): Likewise.
30017169689Skan	* config/i386/i386.c (memory_address_length): Do not use
30018169689Skan	short displacement when there is no base.
30019169689Skan	(ix86_attr_length_address_default): Handle LEA instructions.
30020169689Skan
30021169689Skan2003-03-12  Neil Booth  <neil@daikokuya.co.uk>
30022169689Skan
30023169689Skan	* c-cppbuiltin.c (builtin_define_std): Make non-static.
30024169689Skan
30025169689Skan2003-03-11  Loren James Rittle  <ljrittle@acm.org>
30026169689Skan
30027169689Skan	* config/freebsd-spec.h (FBSD_CPP_PREDEFINES): Remove.
30028169689Skan	(FBSD_TARGET_OS_CPP_BUILTINS): New port-specific macro.
30029169689Skan	(FBSD_TARGET_CPU_CPP_BUILTINS): New port-specific macro.
30030169689Skan	* config/freebsd.h (CPP_PREDEFINES): Remove.
30031169689Skan	(TARGET_OS_CPP_BUILTINS): New.
30032169689Skan	* config/alpha/freebsd.h: Use overridden FBSD_TARGET_CPU_CPP_BUILTINS
30033169689Skan	instead of TARGET_OS_CPP_BUILTINS.
30034169689Skan	* config/sparc/freebsd.h (CPP_PREDEFINES): Remove.
30035169689Skan
30036169689Skan2003-03-11  Geoffrey Keating  <geoffk@apple.com>
30037169689Skan
30038169689Skan	* c-cppbuiltin.c (builtin_define_std): Add ATTRIBUTE_UNUSED.
30039169689Skan
30040169689Skan2003-03-11  Aldy Hernandez  <aldyh@redhat.com>
30041169689Skan
30042169689Skan	* config/rs6000/rs6000.c (rs6000_stack_info): Remove
30043169689Skan	insn_chain_scanned.  Use insn_chain_scanned_p in machine_function.
30044169689Skan
30045169689Skan	* config/rs6000/rs6000.h (machine_function): Add insn_chain_scanned_p.
30046169689Skan
30047169689Skan2003-03-11  Alexandre Oliva  <aoliva@redhat.com>
30048169689Skan
30049169689Skan	* toplev.c (independent_decode_option): Return success for --help,
30050169689Skan	--target-help and --version.
30051169689Skan
30052169689Skan2003-03-11  Alexandre Oliva  <aoliva@redhat.com>
30053169689Skan
30054169689Skan	* config/mips/linux64.h (DRIVER_SELF_SPECS): Add endian_spec.
30055169689Skan	Default to -mips3 on -mabi=64.  Don't add -mips* flag if -march is
30056169689Skan	specified.
30057169689Skan	(SUBTARGET_ASM_SPEC): Remove -mips*-adding code obviated by
30058169689Skan	DRIVER_SELF_SPECS.
30059169689Skan	(LINK_SPEC): Let endian options affect the linker emulation name.
30060169689Skan
30061169689Skan2003-03-11  J"orn Rennecke <joern.rennecke@superh.com>
30062169689Skan
30063169689Skan	* sh.md (reload_inqi): Fix mode for source in second set.
30064169689Skan
30065169689Skan2003-03-11  Jan Hubicka  <jh@suse.cz>
30066169689Skan
30067169689Skan	* cselib.c (cselib_invalidate_mem_1): Move too ...
30068169689Skan	(cselib_invalidate_mem): ... here; use new list
30069169689Skan	(dummy_val, first_containing_mem): New static variables.
30070169689Skan	(clear_table): Initialize first_containing_mem.
30071169689Skan	(discard_useless_values):  Compact the containing_mem list.
30072169689Skan	(add_mem_for_addr): Add to the list.
30073169689Skan	* cselib.h (cselib_val): Add next_containing_mem.
30074169689Skan
30075169689Skan2003-03-11  Aldy Hernandez  <aldyh@redhat.com>
30076169689Skan
30077169689Skan	* config/rs6000/rs6000.c (rs6000_override_options): Disable string
30078169689Skan	instructions for e500.
30079169689Skan
30080169689Skan2003-03-11  Neil Booth  <neil@daikokuya.co.uk>
30081169689Skan
30082169689Skan	* Makefile.in: Update.
30083169689Skan	* c-cppbuiltin.c: Include tm_p.h.
30084169689Skan
30085169689Skan2003-03-11  Aldy Hernandez  <aldyh@redhat.com>
30086169689Skan
30087169689Skan	* doc/tm.texi (Frame Registers): Document DWARF_REG_TO_UNWIND_COLUMN.
30088169689Skan
30089169689Skan	* unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Define.
30090169689Skan	(_Unwind_GetGR): Use DWARF_REG_TO_UNWIND_COLUMN.
30091169689Skan	(_Unwind_SetGR): Same.
30092169689Skan	(_Unwind_GetGRPtr): New.
30093169689Skan	(_Unwind_SetGRPtr): New.
30094169689Skan	(uw_update_context_1): Use accesor functions instead of accessing
30095169689Skan	context->reg[] directly.
30096169689Skan	(uw_install_context_1): Same.
30097169689Skan	(execute_cfa_program): Same.
30098169689Skan	(__frame_state_for): Same.
30099169689Skan
30100169689Skan	* config/rs6000/rs6000.c (spe_synthesize_frame_save): Use 1200 as
30101169689Skan	the synthetic register offset.
30102169689Skan
30103169689Skan	* config/rs6000/rs6000.h (DWARF_REG_TO_UNWIND_COLUMN): New.
30104169689Skan
30105169689Skan2003-03-11  Hans-Peter Nilsson  <hp@axis.com>
30106169689Skan
30107169689Skan	* config/cris/cris.md: Remove lingering EGCS reference.
30108169689Skan	("*extopqihi_side_biap"): For HI operation, match
30109169689Skan	cris_additive_operand_extend_operator, not
30110169689Skan	cris_operand_extend_operator.  Adjust condition.
30111169689Skan	("*extopqihi_side", "*extopqihi"): Ditto.
30112169689Skan	("*extopqisi_side_biap"): Correct operand numbers in condition.
30113169689Skan	("*extophisi_side_biap", "*extopqisi_swap_side_biap"): Ditto.
30114169689Skan	("*extophisi_swap_side_biap", "*extopqisi_swap"): Ditto.
30115169689Skan	("*extophisi_swap"): Ditto.
30116169689Skan	("*extopqihi_swap_side_biap"): For HI operation, match a simple
30117169689Skan	PLUS, not cris_operand_extend_operator.  Adjust condition and
30118169689Skan	output template.
30119169689Skan	("*extopqihi_swap_side", "*extopqihi_swap"): Ditto.
30120169689Skan	* config/cris/cris.h (PREDICATE_CODES): Add
30121169689Skan	cris_additive_operand_extend_operator.
30122169689Skan	* config/cris/cris.c (cris_additive_operand_extend_operator):
30123169689Skan	New predicate.
30124169689Skan
30125169689Skan2003-03-11  Hartmut Penner  <hpenner@de.ibm.com>
30126169689Skan
30127169689Skan	* df.c (read_modify_subreg_p): Change from static to global.
30128169689Skan	* df.h (read_modify_subreg_p): Add prototype.
30129169689Skan	* sched-deps.c (sched_analyze_1): Generate true dependency for
30130169689Skan	strict_low_part, certain subregs and zero/sign_extract.
30131169689Skan
30132169689Skan2003-03-11  Neil Booth  <neil@daikokuya.co.uk>
30133169689Skan
30134169689Skan	* Makefile.in: Update.
30135169689Skan	* c-common.c: Don't include real.h or except.h.
30136169689Skan	(REGISTER_PREFIX): Remove.
30137169689Skan	(builtin_define_std, builtin_define_with_value,
30138169689Skan	builtin_define_with_int_value, builtin_define_with_hex_fp_value,
30139169689Skan	builtin_define_type_max, builtin_define_type_precision,
30140169689Skan	builtin_define_float_constants): Move to c-cppbuiltin.c.
30141169689Skan	(c_stddef_cpp_builtins): New.
30142169689Skan	* c-common.h (builtin_define_with_value, c_stddef_cpp_builtins): New.
30143169689Skan	* c-cppbuiltin.c: New, extracted from c-common.c.
30144169689Skan	(define__GNUC__): New.
30145169689Skan	* cppspec.c (lang_specific_driver): Remove support of -no-gcc.
30146169689Skan	* gcc.c: Remove support of %v1, %v2 and %v3 specs.
30147169689Skan	(cpp_unique_options): Don't support no-gcc.
30148169689Skan	(do_spec_1): Remove support of version specs.
30149169689Skan	* doc/invoke.texi: Remove documentation of %v1, %v2 and %v3.
30150169689Skan	* doc/passes.texi: Update.
30151169689Skan	* doc/tm.texi: Update.
30152169689Skan
30153169689Skan2003-03-10  Aldy Hernandez  <aldyh@redhat.com>
30154169689Skan
30155169689Skan	* dwarf2out.c (multiple_reg_loc_descriptor): Fix thinko.
30156169689Skan
30157169689Skan2003-03-10  Andrew Pinski  <apinski@apple.com>
30158169689Skan
30159169689Skan	* config/darwin.c (machopic_function_base_name): If dynamic-no-pic
30160169689Skan	is on should not get here.
30161169689Skan	(machopic_indirect_data_reference): If dynamic-no-pic is on just
30162169689Skan	generate high/low parts of the address.
30163169689Skan	(machopic_legitimize_pic_address): Change MACHOPIC_PURE to
30164169689Skan	MACHOPIC_INDIRECT. Dynamic-no-pic uses 0 as the pic base. Generate
30165169689Skan	symbol and labels with a new reg.  Dynamic-no-pic does not have a
30166169689Skan	pic_offset_table_rtx.
30167169689Skan	(machopic_select_section): Change references of flag_pic to
30168169689Skan	MACHOPIC_INDIRECT.
30169169689Skan	(machopic_asm_out_destructor): Likewise.
30170169689Skan	* config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Change
30171169689Skan	reference of flag_pic to MACHOPIC_INDIRECT.
30172169689Skan	(MACHO_DYNAMIC_NO_PIC_P): Define as TARGET_DYNAMIC_NO_PIC.
30173169689Skan	(MACHOPIC_INDIRECT): Is also true when dynamic-no-pic is on.
30174169689Skan	(MACHOPIC_JUST_INDIRECT): Is also true when dynamic-no-pic is on.
30175169689Skan	(MACHOPIC_PURE): Is not pure when dynamic-no-pic is on.
30176169689Skan	* config/i386/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define as
30177169689Skan	0 for right now as dynamic-no-pic is not implemented on Darwin/ia32.
30178169689Skan	* config/rs6000/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define.
30179169689Skan	(TARGET_DYNAMIC_NO_PIC): Define.
30180169689Skan	(SUBTARGET_SWITCHES): Define, have sub-target switches for
30181169689Skan	dynamic-no-pic.
30182169689Skan	(SUBTARGET_OVERRIDE_OPTIONS): Move check for -fpic from
30183169689Skan	rs6000_override_options to here. Dynamic-no-pic overrides
30184169689Skan	pic.
30185169689Skan	(CC1_SPEC): Change from not static then pic to not static and not
30186169689Skan	dynamic-no-pic then pic.
30187169689Skan	* config/rs6000/rs6000.c (rs6000_override_options): Move the
30188169689Skan	check for -fpic and DARWIN_ABI to config/rs6000/darwin.h
30189169689Skan	(rs6000_legitimize_reload_address): Add case for loading floating in
30190169689Skan	dynamic-no-pic.
30191169689Skan	(rs6000_emit_move): Add case for dynamic-no-pic.  Change reference
30192169689Skan	of flag_pic to MACHOPIC_INDIRECT.
30193169689Skan	(secondary_reload_class): Conditional change the reference of
30194169689Skan	flag_pic to MACHOPIC_INDIRECT.
30195169689Skan	(rs6000_output_mi_thunk): Change reference of flag_pic to
30196169689Skan	MACHOPIC_INDIRECT.
30197169689Skan	(output_profile_hook): Likewise.
30198169689Skan	(machopic_output_stub):	Non-pure (dynamic-no-pic) is now supported.
30199169689Skan	* config/rs6000/rs6000.md (movdf_low): Add the case for
30200169689Skan	MACHO_DYNAMIC_NO_PIC_P.
30201169689Skan	(call): Change references for flag_pic in TARGET_MACHO to
30202169689Skan	MACHOPIC_INDIRECT.
30203169689Skan	(SUBTARGET_OVERRIDE_OPTIONS): Add case where -fpic is on and
30204169689Skan	-mdynamic-no-pic is on.	 Also move case for -fpic from rs6000.c.
30205169689Skan	* doc/invoke.texi (-mdynamic-no-pic): Document.
30206169689Skan
30207169689Skan2003-03-10  Devang Patel  <dpatel@apple.com>
30208169689Skan
30209169689Skan	PR c++/9394
30210169689Skan	* gcc.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
30211169689Skan	(DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.
30212169689Skan	* gcc.h (DEFAULT_SWITCH_TAKES_ARG): Add.
30213169689Skan	(DEFAULT_WORD_SWITCH_TAKES_ARG): Add.
30214169689Skan	* cppspec.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
30215169689Skan	(DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.
30216169689Skan
30217169689Skan2003-03-10  Steven Bosscher  <s.bosscher@student.tudelft.nl>
30218169689Skan
30219169689Skan	PR optimization/7189
30220169689Skan	* toplev.c (rest_of_compilation):  Move
30221169689Skan	check_function_return_warnings up to just after
30222169689Skan	delete_unreachable_blocks.
30223169689Skan
30224169689Skan2003-03-10  Stephane Carrez  <stcarrez@nerim.fr>
30225169689Skan
30226169689Skan	* config/m68hc11/m68hc11.h (HARD_REGNO_RENAME_OK): Define.
30227169689Skan	* config/m68hc11/m68hc11-protos.h (m68hc11_hard_regno_rename_ok):
30228169689Skan	Declare.
30229169689Skan	* config/m68hc11/m68hc11.c (m68hc11_hard_regno_rename_ok): New function
30230169689Skan	for reg rename optimization to avoid using Z and Y registers.
30231169689Skan
30232169689Skan2003-03-10  Stephane Carrez  <stcarrez@nerim.fr>
30233169689Skan
30234169689Skan	* config/m68hc11/m68hc11.md ("*addhi3_68hc12"): Accept any constant
30235169689Skan	when adding to X and Y since leax/leay are fast.
30236169689Skan	("*addhi3"): Accept 'I' constraint when adding to address register.
30237169689Skan	("rotlhi3"): Operand 1 must be a register_operand.
30238169689Skan	(peephole2): New peephole to optimize some adds.
30239169689Skan	* config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_P): Use 'I' constraint
30240169689Skan	to represent -2 .. 2 small integer range.
30241169689Skan
30242169689Skan2003-03-10  Stephane Carrez  <stcarrez@nerim.fr>
30243169689Skan
30244169689Skan	* config/m68hc11/m68hc11.c (m68hc11_gen_rotate): Set carry before
30245169689Skan	each 16-bit rotation.
30246169689Skan
30247169689Skan2003-03-10  Zack Weinberg  <zack@codesourcery.com>
30248169689Skan
30249169689Skan	* c-opts.c (add_prefixed_path): Don't use concat.  When
30250169689Skan	prefixing with cpp_GCC_INCLUDE_DIR, copy only the first
30251169689Skan	cpp_GCC_INCLUDE_DIR_len characters.
30252169689Skan
30253169689Skan2003-03-10  Segher Boessenkool  <segher@koffie.nl>
30254169689Skan
30255169689Skan	* testsuite/gcc.dg/altivec-9.c: New file.
30256169689Skan
30257169689Skan	* config/rs6000/rs6000.c (altivec_frame_fixup): Remove.
30258169689Skan	(rs6000_emit_prologue): Use rs6000_frame_related instead.
30259169689Skan
30260169689Skan2003-03-10  Aldy Hernandez  <aldyh@redhat.com>
30261169689Skan
30262169689Skan	* config/rs6000/spe.h: Define __ev64_*64__ to use single element
30263169689Skan	vectors.
30264169689Skan	(__ev_convert_u64): Remove macro.  Define as inline.
30265169689Skan	(__ev_convert_s64): Same.
30266169689Skan
30267169689Skan2003-03-10  Aldy Hernandez  <aldyh@redhat.com>
30268169689Skan
30269169689Skan	* config/rs6000/rs6000.h (DWARF_FRAME_REGISTERS): Define.
30270169689Skan	(rs6000_stack_t): Add spe_64bit_regs_used.
30271169689Skan
30272169689Skan	* config/rs6000/rs6000.c (rs6000_stack_info): Calculate
30273169689Skan	spe_64bit_regs_used, and use it to determine the size of the
30274169689Skan	frame.
30275169689Skan	(spe_func_has_64bit_regs_p): New.
30276169689Skan	(spe_synthesize_frame_save): New.
30277169689Skan	(rs6000_frame_related): Handle SPE synthetic registers.
30278169689Skan	(rs6000_emit_prologue): Only save in 64-bits if the function used
30279169689Skan	any registers in 64-bit mode.
30280169689Skan	(rs6000_emit_epilogue): Same, but for restore.
30281169689Skan
30282169689Skan2003-03-10  Richard Earnshaw  <rearnsha@arm.com>
30283169689Skan
30284169689Skan	* arm.h (enum floating_point_type): Delete.  Replace with...
30285169689Skan	(enum fputype): ... new.
30286169689Skan	(FPUTYPE_DEFAULT): Renamed from FP_DEFAULT.  Values reworked.
30287169689Skan	* linux-elf.h (FPUTYPE_DEFAULT): Likewise.
30288169689Skan	* arm.md (attr fpu): Reworked for new underlying enum values.
30289169689Skan	* arm.c	(arm_fpu_arch): Now enum fputype.
30290169689Skan	(arm_fpu_tune): Renamed from arm_fpu.  Now enum fputype.
30291169689Skan	(arm_override_options, arm_output_epilogue, arm_expand_prologue):
30292169689Skan	Update uses of arm_fpu_arch and arm_fpu_tune.
30293169689Skan
30294169689Skan2003-03-10  Josef Zlomek  <zlomekj@suse.cz>
30295169689Skan
30296169689Skan	* cfgcleanup.c (outgoing_edges_match): Compare the jump tables.
30297169689Skan	(try_crossjump_to_edge): Replace refereces to one jump table by
30298169689Skan	references to identical jump table.
30299169689Skan	* loop.c (load_mems): Moved setting the JUMP_LABEL to replace_label.
30300169689Skan	(replace_label): Moved to rtlanal.c.
30301169689Skan	(struct rtx_pair): Moved to rtl.h.
30302169689Skan	* rtl.h (struct rtx_pair): Moved from loop.c.
30303169689Skan	(replace_label): New extern function.
30304169689Skan	(subrtx_p): New extern function.
30305169689Skan	(tablejump_p): New extern function.
30306169689Skan	* rtlanal.c (replace_label): Moved from loop.c.
30307169689Skan	(subrtx_p_1): New static function.
30308169689Skan	(subrtx_p): New function.
30309169689Skan	(tablejump_p): New function.
30310169689Skan
30311169689Skan2003-03-10  Jan Hubicka  <jh@suse.cz>
30312169689Skan
30313169689Skan	* cfgcleanup.c (try_optimize_cfg): Fix thinko in previous patch.
30314169689Skan
30315169689Skan	* cfgcleanup.c (merge_blocks): Return where to iterate next.
30316169689Skan	(try_optimize_cfg): Use return value of merge_blocks
30317169689Skan
30318169689Skan2003-03-10  Michael Matz  <matz@suse.de>
30319169689Skan
30320169689Skan	* cfg.c (unchecked_make_edge): New.
30321169689Skan	(cached_make_edge): Use it.
30322169689Skan	* basic-block.h (unchecked_make_edge): Declare.
30323169689Skan	* cfglayout.c (cfg_layout_duplicate_bb): Use it.
30324169689Skan
30325169689Skan2003-03-10  Richard Earnshaw  <rearnsha@arm.com>
30326169689Skan
30327169689Skan	* fpa.md: New file.  Move all patterns relating to FPA co-processor
30328169689Skan	to here...
30329169689Skan	* arm.md: ... from here.
30330169689Skan	(cirrus.md, fpa.md): Include at end of description.
30331169689Skan	(divsf3, divdf3, modsf3, movdf3, sqrtsf2, sqrtdf2): New expands.
30332169689Skan	(pic_load_addr_based): Remove register constraint from expander.
30333169689Skan	(seq, sne, sgt, sle, slt, sge, sgeu, sleu, sgtu, sltu, sunordered)
30334169689Skan	(sordered, sungt, sunle, sunge, sunlt): Likewise.
30335169689Skan	(eh_epilogue, tablejump): Likewise.
30336169689Skan
30337169689Skan2003-03-09  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
30338169689Skan
30339169689Skan	* tree.c (substitute_in_expr, case 'e'): Only make recursive call
30340169689Skan	on operands if it has a PLACEHOLDER_EXPR.
30341169689Skan
30342169689Skan2003-03-09  David Edelsohn  <edelsohn@gnu.org>
30343169689Skan	    Mostafa Hagog
30344169689Skan
30345169689Skan	* config/rs6000/rs6000.md (movsi_update1): Add TARGET_UPDATE final
30346169689Skan	condition.
30347169689Skan
30348169689Skan2003-03-09  Neil Booth  <neil@daikokuya.co.uk>
30349169689Skan
30350169689Skan	* config/frv/frv.h: Use TARGET_CPU_CPP_BUILTINS, not CPP_PREDEFINES.
30351169689Skan	* config/ip2k/ip2k.h: Similarly.
30352169689Skan	* config/m32r/m32r.h: Similarly.
30353169689Skan	* config/m68hc11/m68hc11.h: Similarly.
30354169689Skan	* config/mn10200/mn10200.h: Similarly.
30355169689Skan	* config/mn10300/mn10300.h: Similarly.
30356169689Skan	* config/pdp11/pdp11.h: Similarly.
30357169689Skan	* config/v850/v850.h: Similarly.
30358169689Skan	* config/rs6000/vxworks.h: Similarly for TARGET_OS_CPP_BUILTINS.
30359169689Skan	* config/v850/retms.h: Similarly for TARGET_OS_CPP_BUILTINS.
30360169689Skan	* config/mips/iris3.h: Remove #if 0 block.
30361169689Skan
30362169689Skan2003-03-09  Roger Sayle  <roger@eyesopen.com>
30363169689Skan	    Joern Rennecke <joern.rennecke@superh.com>
30364169689Skan
30365169689Skan	* gcc.c (do_spec_1) ['{']: Revert 2003-02-24 patch.  Don't handle
30366169689Skan	pending argument upon return from handle_braces here.
30367169689Skan	(do_spec_2): Instead handle it upon return from do_spec_1 here.
30368169689Skan
30369169689Skan2003-03-09  Roger Sayle  <roger@eyesopen.com>
30370169689Skan	    Joern Rennecke <joern.rennecke@superh.com>
30371169689Skan
30372169689Skan	* gcc.c (do_spec_1) ['{']: Revert 2003-02-24 patch.  Don't handle
30373169689Skan	pending argument upon return from handle_braces here.
30374169689Skan	(do_spec_2): Instead handle it upon return from do_spec_1 here.
30375169689Skan
30376169689Skan2003-03-09  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
30377169689Skan
30378169689Skan	* varasm.c (make_decl_one_only): Use declare_weak().
30379169689Skan
30380169689Skan2003-03-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
30381169689Skan
30382169689Skan	PR middle-end/9986
30383169689Skan	* c-common.c (c_common_nodes_and_builtins): Initialize target builtins
30384169689Skan	after the common builtins.
30385169689Skan	* pa-hpux.h (DONT_HAVE_FPUTC_UNLOCKED): Define.
30386169689Skan	* pa.c (TARGET_INIT_BUILTINS): Define.
30387169689Skan	(pa_init_builtins): New function.
30388169689Skan
30389169689Skan	* pa.md (call, call_value, sibcall, sibcall_value): When sufficient
30390169689Skan	space has been allocated for the outgoing arguments, set the arg
30391169689Skan	pointer for a call emitted after virtuals have been instantiated
30392169689Skan	using the stack pointer offset, otherwise abort.
30393169689Skan
30394169689Skan2003-03-09  DJ Delorie  <dj@redhat.com>
30395169689Skan
30396169689Skan	* config/stormy16/stormy16.h (DWARF_LINE_MIN_INSTR_LENGTH): Revert.
30397169689Skan
30398169689Skan2003-03-09  Richard Earnshaw  <rearnsha@arm.com>
30399169689Skan
30400169689Skan	* arm.md (fix_truncsfsi2, fix_truncdfsi2, arm_fix_truncsfsi2)
30401169689Skan	(arm_fix_truncdfsi2): Add missing fix in floating point mode before
30402169689Skan	conversion to integer.
30403169689Skan	* cirrus.md (cirrus_truncsfsi2, cirrus_truncdfsi2): Likewise.
30404169689Skan
30405169689Skan2003-03-09  Roger Sayle  <roger@eyesopen.com>
30406169689Skan
30407169689Skan	* builtins.def: Fix typo and improve grammar.
30408169689Skan	* loop-unroll.c (decide_peel_completely): Tidy log message.
30409169689Skan
30410169689Skan2003-03-09  Kazu Hirata  <kazu@cs.umass.edu>
30411169689Skan
30412169689Skan	* config/h8300/h8300.md (*tstsi_upper_bit): New.
30413169689Skan	(*iorsi3_e2f): Likewise.
30414169689Skan
30415169689Skan2003-03-08  Kazu Hirata  <kazu@cs.umass.edu>
30416169689Skan
30417169689Skan	* config/h8300/h8300.c (h8300_and_costs): Return the number of
30418169689Skan	assembly instructions needed.
30419169689Skan	(h8300_shift_costs): Likewise.
30420169689Skan
30421169689Skan2003-03-09  Hans-Peter Nilsson  <hp@bitrange.com>
30422169689Skan
30423169689Skan	* config/cris/aout.h (ENDFILE_SPEC): Undef.
30424169689Skan
30425169689Skan	* optabs.c (gen_move_insn): Move logic for synthesizing MODE_CC
30426169689Skan	moves from here ...
30427169689Skan	* expr.c (emit_move_insn_1): ... to here.
30428169689Skan
30429169689Skan	* config/cris/aout.h (CRIS_CPP_SUBTARGET_SPEC): Move -D__AOUT__ to...
30430169689Skan	(TARGET_OS_CPP_BUILTINS): New macro.
30431169689Skan	* config/cris/cris.h (CRIS_CPP_SUBTARGET_SPEC): Move -D__ELF__ to...
30432169689Skan	(TARGET_OS_CPP_BUILTINS): New macro.
30433169689Skan	(CPP_PREDEFINES): Don't define.  Move old definitions and...
30434169689Skan	(CPP_SPEC): ...move -D__CRIS_ABI_version=2 to...
30435169689Skan	(TARGET_CPU_CPP_BUILTINS): New macro.
30436169689Skan	* config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Move constant
30437169689Skan	definitions and the optional __PIC__, __pic__ and
30438169689Skan	__NO_UNDERSCORES__ definitions to...
30439169689Skan	(TARGET_OS_CPP_BUILTINS): New macro.
30440169689Skan
30441169689Skan	* flags.h (flag_leading_underscore): Declare.
30442169689Skan
30443169689Skan	* c-opts.c (c_common_post_options): On fopen failure, return
30444169689Skan	false, not NULL.
30445169689Skan
30446169689Skan2003-03-08  Hans-Peter Nilsson  <hp@bitrange.com>
30447169689Skan
30448169689Skan	* config/cris/cris_abi_symbol.c: #include tconfig.h and tm.h, not
30449169689Skan	config.h.
30450169689Skan	* config/cris/cris.h (HAVE_GAS_HIDDEN): Don't define here.
30451169689Skan	* config/cris/aout.h (HAVE_GAS_HIDDEN): Undef.
30452169689Skan
30453169689Skan2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
30454169689Skan
30455169689Skan	* config/sh/rtemself.h (TARGET_OS_CPP_BUILTINS): Use instead of
30456169689Skan	CPP_PREDEFINES.
30457169689Skan	* config/sh/rtems.h (TARGET_OS_CPP_BUILTINS): Use instead of
30458169689Skan	CPP_PREDEFINES.
30459169689Skan
30460169689Skan2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
30461169689Skan
30462169689Skan	* c-common.h (c_common_init, c_common_post_options): Update.
30463169689Skan	* c-objc-common.c (c_objc_common_init): Update for new prototype.
30464169689Skan	* c-opts.c (saved_lineno): New.
30465169689Skan	(c_common_post_options, c_common_init): Update prototypes,
30466169689Skan	move call to cpp_read_main_file from latter to former.
30467169689Skan	* c-tree.h (c_ojbc_common_init): Update.
30468169689Skan	* langhooks-def.h (lhd_post_options): New.
30469169689Skan	(LANG_HOOKS_INIT, LANG_HOOKS_POST_OPTIONS): Update.
30470169689Skan	* langhooks.c (lhd_post_options): New.
30471169689Skan	* langhooks.h (struct lang_hooks): Update post_options and init hooks.
30472169689Skan	* toplev.c (no_backend): New.
30473169689Skan	(process_options): Call post_options hook and set main_input_filename
30474169689Skan	and input_filename here.
30475169689Skan	(lang_dependent_init, do_compile): post_options hook moved to
30476169689Skan	process_options.
30477169689Skan	* objc/objc-act.c (objc_init): Update prototype.
30478169689Skan	* objc/objc-act.h (objc_init): Update prototype.
30479169689Skan
30480169689Skan2003-03-08  Roger Sayle  <roger@eyesopen.com>
30481169689Skan
30482169689Skan	* emit-rtl.c (gen_lowpart): Don't attempt to load a part of
30483169689Skan	a complex or vector type, using a load in the original mode.
30484169689Skan
30485169689Skan2003-03-08  Jan Hubicka  <jh@suse.cz>
30486169689Skan
30487169689Skan	* Makefile.in (cgraph.o): Depend on gt-cgraph.h and varray.h.
30488169689Skan	* gt-cgraph.h: New GC file.
30489169689Skan	* cgraph.c (known_fns): New static variable.
30490169689Skan	(cgraph_node): Add the decl into varray.
30491169689Skan
30492169689Skan2003-03-08  Hans-Peter Nilsson  <hp@bitrange.com>
30493169689Skan
30494169689Skan	* config/mmix/mmix.md ("*movcc_expanded"): Add missing alternatives.
30495169689Skan
30496169689Skan2003-03-08  Richard Earnshaw  <rearnsha@arm.com>
30497169689Skan
30498169689Skan	* arm.c (fpa_rhs_operand, fpa_add_operand, const_double_rtx_ok_for_fpa)
30499169689Skan	(neg_const_double_ok_for_fpa, output_mov_long_double_fpa_from_arm)
30500169689Skan	(output_mov_long_double_arm_from_fpa, output_mov_double_fpa_from_arm)
30501169689Skan	(output_mov_double_arm_from_fpa): Renamed to use fpa instead of fpu.
30502169689Skan	All callers changed.
30503169689Skan	* arm.md, arm.h, arm-protos.h: Updated.
30504169689Skan
30505169689Skan	* arm.h (enum reg_class FPA_REGS): Renamed from FPU_REGS.
30506169689Skan	(CLASS_MAX_NREGS, REGISTER_MOVE_COST, REG_CLASS_FROM_LETTER): Updated.
30507169689Skan	* arm.c (arm_regno_class, f_register_operand): Updated.
30508169689Skan
30509169689Skan2003-03-08  Hans-Peter Nilsson  <hp@bitrange.com>
30510169689Skan
30511169689Skan	* config/cris/cris.h: Remove EGCS references.
30512169689Skan	(CPP_SPEC): Remove "-$".
30513169689Skan	(INIT_CUMULATIVE_ARGS): Adjust parameter name to FNDECL.
30514169689Skan
30515169689Skan2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
30516169689Skan
30517169689Skan	* config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Use in
30518169689Skan	preference to CPP_PREDEFINES.
30519169689Skan
30520169689Skan2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
30521169689Skan
30522169689Skan	* cppinit.c (cpp_finish_options): Set first_unused_line to -1.
30523169689Skan
30524169689Skan2003-03-08  Kazu Hirata  <kazu@cs.umass.edu>
30525169689Skan
30526169689Skan	* config/h8300/h8300.md (*extzv_16_8): New.
30527169689Skan
30528169689Skan2003-03-08  Jan Hubicka  <jh@suse.cz>
30529169689Skan
30530169689Skan	* c-decl.c: (finish_function): Update call of tree_inlinable_function_p.
30531169689Skan	* cgraph.h: (cgraph_local_info): Add can_inline_once
30532169689Skan	(cgraph_global_info): Add inline_once.
30533169689Skan	(cgraph_node): Add previous.
30534169689Skan	(cgraph_remove_node): New.
30535169689Skan	* cgraphunit.c (cgraph_mark_functions_to_inline_once): New static
30536169689Skan	function.
30537169689Skan	(cgraph_optimize): Call it.
30538169689Skan	(cgraph_finalize_function):  Set inlinable flags.
30539169689Skan	(cgraph_finalize_compilation_unit):  Actually remove the reclaimed nodes.
30540169689Skan	(cgraph_mark_functions_to_output):  Use new inlining heuristics flags.
30541169689Skan	(cgraph_expand_function): Likewise.
30542169689Skan	* cgraph.c
30543169689Skan	(cgraph_node): Put nodes into doubly linked chain.
30544169689Skan	(cgraph_remove_node): New function.
30545169689Skan	* flags.h (flag_inline_functions_called_once): Declare.
30546169689Skan	* tree-inline.c: Include cgraph.h
30547169689Skan	(inlinable_functions_p): Add extra argument to bypass limits.
30548169689Skan	(expand_call_inline):  Obey cgraph flag.
30549169689Skan	* tree-inline.h (tree_inlinable_function_p): Update prototype.
30550169689Skan
30551169689Skan2003-03-08  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
30552169689Skan
30553169689Skan	* gcse.c (bypass_block, bypass_conditional_jumps): Do not create
30554169689Skan	irreducible loops.
30555169689Skan
30556169689Skan	* loop-unroll.c (unroll_loop_runtime_iterations): Update irreducible
30557169689Skan	loops info correctly.
30558169689Skan
30559169689Skan2003-03-08  Eric Botcazou  <ebotcazou@libertysurf.fr>
30560169689Skan
30561169689Skan	PR middle-end/7796
30562169689Skan	* unroll.c (calculate_giv_inc): Handle constants being
30563169689Skan	loaded with LSHIFTRT.
30564169689Skan
30565169689Skan2003-03-07  David Edelsohn  <edelsohn@gnu.org>
30566169689Skan
30567169689Skan	* config/rs6000/rs6000.c (processor_target_table): Do not disable
30568169689Skan	GP optional instructions on Power3, Power4, 620, and 630.
30569169689Skan
30570169689Skan2003-03-07  Kazu Hirata  <kazu@cs.umass.edu>
30571169689Skan
30572169689Skan	* calls.c: Fix comment formatting.
30573169689Skan	* cfgloopanal.c: Likewise.
30574169689Skan	* cfgloopmanip.c: Likewise.
30575169689Skan	* combine.c: Likewise.
30576169689Skan	* dwarf2out.c: Likewise.
30577169689Skan	* ggc-common.c: Likewise.
30578169689Skan	* langhooks.c: Likewise.
30579169689Skan	* loop-unroll.c: Likewise.
30580169689Skan	* loop.c: Likewise.
30581169689Skan	* ra-build.c: Likewise.
30582169689Skan	* sbitmap.c: Likewise.
30583169689Skan	* toplev.c: Likewise.
30584169689Skan
30585169689Skan2003-03-07  James E Wilson  <wilson@tuliptree.org>
30586169689Skan
30587169689Skan	* config/sh/sh.h (HARD_REGNO_NREGS): Round up the XD register count.
30588169689Skan
30589169689Skan2003-03-07  Geoffrey Keating  <geoffk@apple.com>
30590169689Skan
30591169689Skan	* objc/lang-specs.h (objective-c-header): Use .gch not .pch;
30592169689Skan	support -no-integrated-cpp.
30593169689Skan
30594169689Skan	* c-pch.c (get_ident): Use c_language_kind and flag_objc rather
30595169689Skan	than langhooks.name.
30596169689Skan
30597169689Skan2003-03-07  Michael Matz  <matz@suse.de>
30598169689Skan
30599169689Skan	* df.h (enum df_ref_flags.DF_REF_STRIPPED): New.
30600169689Skan	(DF_FOR_REGALLOC): New.
30601169689Skan	* df.c (df_ref_record): Set DF_REF_STRIPPED.
30602169689Skan	(read_modify_subreg_p): Simplify.
30603169689Skan	(df_def_record_1, df_uses_record): Set DF_REF_MODE_CHANGE more often.
30604169689Skan	Use DF_FOR_REGALLOC.
30605169689Skan	* ra.h (struct web): New member subreg_stripped.
30606169689Skan	(invalid_mode_change_regs): Declare.
30607169689Skan	* ra.c (invalid_mode_change_regs): New.
30608169689Skan	(init_ra): Initialize it.
30609169689Skan	* ra-build.c (init_one_web_common, remember_web_was_spilled): Use it.
30610169689Skan	Use CANNOT_CHANGE_MODE_CLASS as ifdef guard.
30611169689Skan	(reinit_one_web, parts_to_web_1): Deal with subreg_stripped.
30612169689Skan	* ra-colorize.c (colorize_one_web): Use invalid_mode_change_regs.
30613169689Skan	Use CANNOT_CHANGE_MODE_CLASS as ifdef guard.
30614169689Skan
30615169689Skan2003-03-07  Richard Earnshaw  <rearnsha@arm.com>
30616169689Skan
30617169689Skan	* arm.md (addsf3, adddf3, subsf3, subdf3, mulsf3, muldf3, negsf2)
30618169689Skan	(negdf2, abssi2, abssf2, absdf2, floatsisf2, floatsidf2)
30619169689Skan	(fix_truncsfsi2, fix_truncdfsi2, truncdfsf2): Moved back into main
30620169689Skan	machine description file from ...
30621169689Skan	* cirrus.md: ... here.
30622169689Skan
30623169689Skan2003-03-06  Kazu Hirata  <kazu@cs.umass.edu>
30624169689Skan
30625169689Skan	* config/h8300/h8300.md (a peephole2): Don't use
30626169689Skan	reg_overlap_mentioned_p.
30627169689Skan
30628169689Skan2003-03-06  Geoffrey Keating  <geoffk@apple.com>
30629169689Skan
30630169689Skan	* c-pch.c: Include langhooks.h.
30631169689Skan	(IDENT_LENGTH): New.
30632169689Skan	(get_ident): New.
30633169689Skan	(pch_ident): Delete.
30634169689Skan	(pch_init): Use get_ident, IDENT_LENGTH.
30635169689Skan	(c_common_valid_pch): Likewise.  Also, use actual language
30636169689Skan	in warning message.
30637169689Skan	* Makefile.in (c-pch.o): Add langhooks.h to dependencies.
30638169689Skan
30639169689Skan	* objc/config-lang.in (gtfiles): Add objc-act.c.  Remove duplicate
30640169689Skan	c-parse.in.
30641169689Skan	* objc/Make-lang.in (objc/objc-act.o): Add dependency on
30642169689Skan	gt-objc-objc-act.h.
30643169689Skan	(gt-objc-objc-act.h): New rule.
30644169689Skan	* objc/lang-specs.h: Support PCH.
30645169689Skan	* objc/objc-act.c: Include gt-objc-objc-act.h.
30646169689Skan	(objc_add_static_instance): Move num_static_inst out, mark for PCH.
30647169689Skan	(build_selector_reference_decl): Move idx out, mark for PCH.
30648169689Skan	(build_class_reference_decl): Likewise.
30649169689Skan	(build_objc_string_decl): Move *_idx out, mark for PCH.
30650169689Skan	(build_tmp_function_decl): Move xxx out, mark for PCH.
30651169689Skan
30652169689Skan2003-03-06  Dale Johannesen  <dalej@apple.com>
30653169689Skan
30654169689Skan	* config/rs6000/rs6000.c (rs6000_binds_local_p):  Consider
30655169689Skan	global functions for inlining on Darwin.
30656169689Skan
30657169689Skan2003-03-06  Vladimir Makarov  <vmakarov@redhat.com>
30658169689Skan
30659169689Skan	* haifa-sched.c (schedule_block): Don't call reorder when sorting
30660169689Skan	is prohibited.
30661169689Skan
30662169689Skan2003-03-06  Neil Booth  <neil@daikokuya.co.uk>
30663169689Skan
30664169689Skan	* Makefile.in (c-ppoutput.o): Update.
30665169689Skan	* c-common.h (init_pp_output): New.
30666169689Skan	(preprocess_file): Update.
30667169689Skan	* c-lex.c (init_c_lex): Move mbchar initialization to cpplib.
30668169689Skan	Register builtins.
30669169689Skan	* c-opts.c (c_common_init): Call init_pp_output if preprocessing.
30670169689Skan	Make call to cpp_read_main_file common to whether preprocessing
30671169689Skan	or not.  Don't register builtins.
30672169689Skan	* c-ppoutput.c: Include c-pragma.h.
30673169689Skan	(setup_callbacks): Rename init_pp_output.
30674169689Skan	(preprocess_file): No longer setup callbacks or call
30675169689Skan	cpp_read_main_file.
30676169689Skan	* cpphash.h (_cpp_init_mbchar): New.
30677169689Skan	* cppinit.c (init_library): Call _cpp_init_mbchar.
30678169689Skan	* cpplex.c (_cpp_init_mbchar): New.
30679169689Skan
30680169689Skan2003-03-06  Roger Sayle  <roger@eyesopen.com>
30681169689Skan
30682169689Skan	* emit-rtl.c (gen_lowpart): When requesting the low-part of a
30683169689Skan	MEM, try loading the MEM into a register and taking the low-part
30684169689Skan	of that, to help CSE see the use of the MEM in its true mode.
30685169689Skan
30686169689Skan2003-03-05  Tom Tromey  <tromey@redhat.com>
30687169689Skan
30688169689Skan	* config/stormy16/stormy16.h (DWARF_LINE_MIN_INSTR_LENGTH):
30689169689Skan	Define.
30690169689Skan
30691169689Skan2003-03-05  Nick Clifton  <nickc@cambridge.redhat.com>
30692169689Skan
30693169689Skan	* config/stormy16/stormy16.md ("*eqbranchsi"): Remove '+' on
30694169689Skan	operand 2.
30695169689Skan	("*ineqbranchsi"): Likewise.
30696169689Skan
30697169689Skan2003-03-05  Andrew Haley  <aph@cambridge.redhat.com>
30698169689Skan
30699169689Skan	* config/stormy16/stormy16.c (xstormy16_expand_prologue): Delete
30700169689Skan	mem_fake_push_rtx.  Instead construct a SEQUENCE to show the
30701169689Skan	register store followed by a stack increment.
30702169689Skan
30703169689Skan2003-03-05  Chris Moller  <cmoller@redhat.com>
30704169689Skan
30705169689Skan	* config/stormy16/stormy16.c (REG_NEEDS_SAVE): added a term
30706169689Skan	to inhibit saving CARRY_REGS.
30707169689Skan
30708169689Skan	* config/stormy16/stormy16.c (xs_hi_general_operand):
30709169689Skan	added predicate to detect and error-out on out-of-range
30710169689Skan	const_ints for movhi.
30711169689Skan	* config/stormy16/stormy16.md (movhi): use
30712169689Skan	xs_hi_general_operand.
30713169689Skan
30714169689Skan	* config/stormy16/stormy16.c (xstormy16_expand_prologue):
30715169689Skan	added a check for local vbl size overflow.
30716169689Skan	* config/stormy16/stormy16.c (xs_hi_nonmemory_operand):
30717169689Skan	added predicate to detect and error-out on out-of-range
30718169689Skan	const_ints for addhi and subhi.
30719169689Skan	* config/stormy16/stormy16.md (addhi3, addchi4, addchi5,
30720169689Skan	subhi3, subchi4, subchi5): used xs_hi_nonmemory_operand.
30721169689Skan
30722169689Skan	* config/stormy16/stormy16.c (xstormy16_legitimate_address_p):
30723169689Skan	add a term to accept PRE_MODIFY addresses.
30724169689Skan	* config/stormy16/stormy16.c (xstormy16_expand_move):
30725169689Skan	add code to expand PRE_MODIFY addresses to an add followed
30726169689Skan	by a move.
30727169689Skan
30728169689Skan2003-03-06  Jason Merrill  <jason@redhat.com>
30729169689Skan
30730169689Skan	* tree-inline.c (inlinable_function_p): Revert earlier change
30731169689Skan	pending investigation.
30732169689Skan
30733169689Skan2003-03-06  Kazu Hirata  <kazu@cs.umass.edu>
30734169689Skan
30735169689Skan	* config/h8300/h8300.md (a new peephole2): New.
30736169689Skan
30737169689Skan2003-03-06  Jan Hubicka  <jh@suse.cz>
30738169689Skan
30739169689Skan	* cgraph.c (cgraph_node): Do not confuse nested functions and methods.
30740169689Skan
30741169689Skan2003-03-06  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
30742169689Skan
30743169689Skan	* dwarf2out.c (size_of_die): Compute size of external reference to
30744169689Skan	die correctly.
30745169689Skan
30746169689Skan2003-03-06  Hans-Peter Nilsson  <hp@bitrange.com>
30747169689Skan
30748169689Skan	* config/mmix/mmix.md ("*movcc_expanded"): New pattern.
30749169689Skan	("movcc", "movcc_uns", "movcc_fp", "movcc_fpeq", "movcc_fun"): New
30750169689Skan	expanders.
30751169689Skan
30752169689Skan2003-03-05  Roger Sayle  <roger@eyesopen.com>
30753169689Skan
30754169689Skan	* expr.h (lang_expand_expr): Delete obsolete prototype.
30755169689Skan
30756169689Skan2003-03-05  Kazu Hirata  <kazu@cs.umass.edu>
30757169689Skan
30758169689Skan	* emit-rtl.c (gen_highpart_mode): Fix a comment typo.
30759169689Skan
30760169689Skan2003-03-05  Kazu Hirata  <kazu@cs.umass.edu>
30761169689Skan
30762169689Skan	* config/h8300/h8300.md (a peephole2): Generalize to
30763169689Skan	accept a memory operand.
30764169689Skan
30765169689Skan2003-03-05  Olivier Hainque <hainque@act-europe.fr>
30766169689Skan
30767169689Skan	* config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '+'.
30768169689Skan	* config/alpha/alpha.c (print_operand, case '+'): New.
30769169689Skan	* config/alpha/alpha.md (call_osf_1_noreturn): Document and use.
30770169689Skan	(call_value_osf_1_noreturn): Likewise.
30771169689Skan
30772169689Skan2003-03-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
30773169689Skan
30774169689Skan	* stmt.c (fixup_gotos): Change meaning of DONT_JUMP_IN.
30775169689Skan	(expand_end_bindings): Likewise.
30776169689Skan
30777169689Skan2003-03-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
30778169689Skan
30779169689Skan	* pa.md (return_external_pic): Add !TARGET_PA_20 to constraint.
30780169689Skan	(epilogue): Don't generate return_external_pic when emitting PA 2.0
30781169689Skan	code.
30782169689Skan
30783169689Skan2003-03-05  Aldy Hernandez  <aldyh@redhat.com>
30784169689Skan
30785169689Skan	* doc/tm.texi: Document TARGET_DWARF_REGISTER_SPAN.
30786169689Skan
30787169689Skan	* config/rs6000/rs6000.c (rs6000_dwarf_register_span): New.
30788169689Skan
30789169689Skan	* hooks.c (hook_rtx_rtx_null): New.
30790169689Skan
30791169689Skan	* hooks.h (hook_rtx_rtx_null): Protoize.
30792169689Skan
30793169689Skan	* target-def.h (TARGET_DWARF_REGISTER_SPAN): New macro.
30794169689Skan	(TARGET_INITIALIZER): Add TARGET_DWARF_REGISTER_SPAN.
30795169689Skan
30796169689Skan	* target.h (struct gcc_target): Add dwarf_register_span.
30797169689Skan
30798169689Skan	* dwarf2out.c (multiple_reg_loc_descriptor): New.
30799169689Skan	(one_reg_loc_descriptor): New.
30800169689Skan	(reg_loc_descriptor): Add support for values that span more than
30801169689Skan	one register.
30802169689Skan
30803169689Skan2003-03-05  Jan Hubicka  <jh@suse.cz>
30804169689Skan
30805169689Skan	* Makefile.in (calls.o, toplev.o alias.o): Depend on cgraph.h
30806169689Skan	* alias.c:  Include cgraph.h
30807169689Skan	(mark_constant_function): Use cgraph_rtl_info.
30808169689Skan	* calls.c:  Include cgraph.h
30809169689Skan	(flags_from_decl_or_type): Use cgraph_rtl_info to find pure and const
30810169689Skan	calls.
30811169689Skan	(expand_call): Use cgraph_rtl_info to set preferred stack boundary.
30812169689Skan	* cgraph.c (cgraph_rtl_info): New function.
30813169689Skan	* cgraph.h (cgraph_rtl_info): Declare
30814169689Skan	(cgraph_rtl_info): Likewise.
30815169689Skan	* function.h (struct function): Add recursive_call_emit.
30816169689Skan	* toplev.c: Include cgraph.h.
30817169689Skan	(rest_of_compilation): Set preferred_incoming_stack_boundary.
30818169689Skan
30819169689Skan2003-03-05  Kazu Hirata  <kazu@cs.umass.edu>
30820169689Skan
30821169689Skan	* config/h8300/h8300.c (output_simode_bld): Clear the
30822169689Skan	destination first if possible.
30823169689Skan	* config/h8300/h8300.md (extzv_1_r_h8300hs): Add an
30824169689Skan	alternative.
30825169689Skan	(extzv_1_r_inv_h8300hs): Likewise.
30826169689Skan
30827169689Skan2003-03-05  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
30828169689Skan
30829169689Skan	* basic-block.h (EDGE_IRREDUCIBLE_LOOP, EDGE_ALL_FLAGS): New.
30830169689Skan	* cfg.c (dump_edge_info): Add EDGE_IRREDUCIBLE_LOOP flag dump.
30831169689Skan	* cfgloop.c (flow_loop_free): Made global.
30832169689Skan	(establish_preds): New static function.
30833169689Skan	(flow_loop_tree_node_add): Handle subloops of added loop correctly.
30834169689Skan	(get_loop_exit_edges): New.
30835169689Skan	(verify_loop_structure): Verify EDGE_IRREDUCIBLE_LOOP flags.
30836169689Skan	* cfgloop.h (flow_loop_free, get_loop_exit_edges, unloop): Declare.
30837169689Skan	* cfgloopanal.c (mark_irreducible_loops): Mark edges in irreducible
30838169689Skan	loops.
30839169689Skan	* cfgloopmanip.c (loop_delete_branch_edge): Allow to test for
30840169689Skan	removability of an edge.
30841169689Skan	(fix_irreducible_loops): New static function.
30842169689Skan	(find_path, remove_path): Add ability to remove enclosing loops.
30843169689Skan	(unloop): New.
30844169689Skan	(copy_bbs, duplicate_loop_to_header_edge): Use EDGE_IRREDUCIBLE_LOOP
30845169689Skan	flags.
30846169689Skan	* cfgrtl.c (verify_flow_info): Handle EDGE_IRREDUCIBLE_LOOP flag.
30847169689Skan	* loop-unroll.c (peel_loops_completely): Do not duplicate loop if
30848169689Skan	not neccessary.
30849169689Skan	(decide_peel_completely, peel_loops_completely): Allow complete peeling
30850169689Skan	of non-duplicable once rolling loops.
30851169689Skan	* loop-unswitch.c (unswitch_loop): Update EDGE_IRREDUCIBLE_LOOP flags.
30852169689Skan
30853169689Skan2003-03-05  J"orn Rennecke <joern.rennecke@superh.com>
30854169689Skan
30855169689Skan	* sh.h (OVERRIDE_OPTIONS): For TARGET_SHMEDIA, the minimum value
30856169689Skan	for align_jumps is 4.
30857169689Skan
30858169689Skan	(SECONDARY_INPUT_RELOAD_CLASS): If reloading a PLUS into FPUL,
30859169689Skan	use GENERAL_REGS.
30860169689Skan
30861169689Skan2003-03-05  Stephane Carrez  <stcarrez@nerim.fr>
30862169689Skan
30863169689Skan	* config/m68hc11/m68hc11.h (PAD_VARARGS_DOWN): Define and return
30864169689Skan	according to va_arg type.
30865169689Skan	(EXPAND_BUILTIN_VA_ARG): Remove.
30866169689Skan	* config/m68hc11/m68hc11.c (m68hc11_va_arg): Remove.
30867169689Skan	* config/m68hc11/m68hc11-protos.h (m68hc11_va_arg): Remove.
30868169689Skan
30869169689Skan2003-03-05  David Edelsohn  <edelsohn@gnu.org>
30870169689Skan
30871169689Skan	* config/rs6000/rs6000.c (rs6000_variable_issue): Remove unnecessary
30872169689Skan	else clauses.
30873169689Skan
30874169689Skan2003-03-05  Michael Matz  <matz@suse.de>
30875169689Skan
30876169689Skan	* i386/i386.c (ix86_save_reg): Also test
30877169689Skan	current_function_uses_const_pool.
30878169689Skan
30879169689Skan2003-03-05  Michael Matz  <matz@suse.de>
30880169689Skan
30881169689Skan	* unwind.h: Add the GPL exception.
30882169689Skan	* Makefile.in (USER_H): Add unwind.h.
30883169689Skan
30884169689Skan2003-03-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
30885169689Skan
30886169689Skan	PR c/9799
30887169689Skan	* c-typeck.c (push_init_level): Add sanity check.
30888169689Skan
30889169689Skan2003-03-05  Jan Hubicka  <jh@suse.cz>
30890169689Skan
30891169689Skan	* toplev.c (rest_of_compilation):  Defer RTL compilation only when
30892169689Skan	RTL inlining is done.
30893169689Skan
30894169689Skan	* cgraphunit.c (cgraph_mark_local_functions): New local function.
30895169689Skan	(cgraph_optimize): Mark local functions.
30896169689Skan	* i386-protos.h (init_cumulative_args): Update prototype.
30897169689Skan	* i386.c (init_cumulative_args): Use register passing convention for
30898169689Skan	local functions.
30899169689Skan
30900169689Skan	* cgraph.c (cgraph_global_info_ready): New global variable
30901169689Skan	(cgraph_local_info, cgraph_global_info): New functions.
30902169689Skan	* cgraph.h (struct cgraph_local_info, cgraph_global_info): New
30903169689Skan	structures.
30904169689Skan	(cgraph_local_info, cgraph_global_info, cgraph_global_info_ready):
30905169689Skan	Declare.
30906169689Skan	* cgraphunit.c (cgraph_finalize_function): Set inline_many.
30907169689Skan	(cgraph_mark_functions_to_output): Use inline_many.
30908169689Skan	(cgraph_expand_function): Free DECL_SAVED_TREE uncondtionally.
30909169689Skan	(cgraph_expand_functions): Expand inline functions last.
30910169689Skan	(cgraph_optimize): Do not emit uneeded functions.
30911169689Skan
30912169689Skan2003-03-04  Steve Ellcey  <sje@cup.hp.com>
30913169689Skan
30914169689Skan	* expr.c (convert_modes): Check for legal hard register.
30915169689Skan
30916169689Skan2003-03-04  Tom Tromey  <tromey@redhat.com>
30917169689Skan
30918169689Skan	* doc/sourcebuild.texi (Front End Directory): Document tags.
30919169689Skan	* configure: Rebuilt.
30920169689Skan	* configure.in (target_list): Added tags.
30921169689Skan	* Makefile.in (TAGS): Depend on lang.clean.  Include subdirectory
30922169689Skan	TAGS files by reference.
30923169689Skan	* objc/Make-lang.in (objc.tags): New target.
30924169689Skan
30925169689Skan2003-03-04  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
30926169689Skan
30927169689Skan	* gcov-io.h (gcov_save_position, gcov_reserve_length, gcov_resync,
30928169689Skan	gcov_skip, gcov_skip_string, gcov_write_unsigned, gcov_write_counter,
30929169689Skan	gcov_write_string, gcov_read_unsigned, gcov_read_counter,
30930169689Skan	gcov_read_string, gcov_write_length): Modified to enable reading/
30931169689Skan	writing of whole .da file just once.
30932169689Skan	(da_file_open, da_file_close, da_file_eof, da_file_error,
30933169689Skan	da_file_position, da_file_seek, da_file_write, da_file_read): New
30934169689Skan	functions.
30935169689Skan	(actual_da_file, actual_da_file_position, actual_da_file_length,
30936169689Skan	actual_da_file_buffer, actual_da_file_buffer_size): New static
30937169689Skan	functions.
30938169689Skan	* libgcov.c (gcov_exit): Modified to read/write the whole .da file at
30939169689Skan	just once.
30940169689Skan
30941169689Skan
30942169689Skan2003-03-04  Andreas Schwab  <schwab@suse.de>
30943169689Skan
30944169689Skan	* config/m68k/m68k.c (m68k_output_function_prologue): Fix CFA
30945169689Skan	offset without frame pointer.
30946169689Skan
30947169689Skan2003-03-04  Steve Ellcey  <sje@cup.hp.com>
30948169689Skan
30949169689Skan	* expr.c (expand_expr): Call promote_mode to set unsignedp.
30950169689Skan
30951169689Skan2003-03-04  Daniel Jacobowitz  <drow@mvista.com>
30952169689Skan
30953169689Skan	* configure.in: Don't always define TARGET_SYSTEM_ROOT.
30954169689Skan	* configure: Regenerated.
30955169689Skan	* gcc.c: Check whether TARGET_SYSTEM_ROOT is defined.
30956169689Skan
30957169689Skan2003-03-04  Andreas Jaeger  <aj@suse.de>
30958169689Skan
30959169689Skan	* configure.in: Check for <memcheck.h>.
30960169689Skan	* configure: Regenerated.
30961169689Skan
30962169689Skan	* config.in: Define HAVE_MEMCHECK_H.
30963169689Skan
30964169689Skan	* ggc-common.c: Use <memcheck.h> if available instead of
30965169689Skan	<valgrind.h>.
30966169689Skan	* ggc-page.c: Likewise.
30967169689Skan	* cppfiles.c: Likewise.
30968169689Skan
30969169689Skan2003-03-04  Kazu Hirata  <kazu@cs.umass.edu>
30970169689Skan
30971169689Skan	* config/h8300/h8300.md (*extzv_8_8): Fix cc and lengths.
30972169689Skan
30973169689Skan2003-03-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
30974169689Skan
30975169689Skan	PR c/9262
30976169689Skan	* c-typeck.c (do_case): Attach the first case label to the SWITCH_BODY.
30977169689Skan	(c_finish_case): Rechain the next statements to the SWITCH_STMT.
30978169689Skan
30979169689Skan2003-03-04  Jan Hubicka  <jh@suse.cz>
30980169689Skan
30981169689Skan	* doc/invoke.texi:  Document that unit-at-a-time is enabled for -O3
30982169689Skan	* toplev.c (parse_options_and_default_flags): Enable flag_unit_at_a_time
30983169689Skan	for -O3.
30984169689Skan
30985169689Skan2003-03-04  Nathanael Nerode  <neroden@gcc.gnu.org>
30986169689Skan
30987169689Skan	* configure.in: Delete three unused variables.  Move a variable
30988169689Skan	definition closer to its use.  Simplify use_collect2 logic.  Start to
30989169689Skan	organize.  Simplify tests for in-tree gas and ld.
30990169689Skan	* configure: Regenerate.
30991169689Skan
30992169689Skan2003-03-04  Neil Booth  <neil@daikokuya.co.uk>
30993169689Skan
30994169689Skan	* Makefile.in: Update.
30995169689Skan	* c-common.c (flag_no_line_commands, flag_no_output,
30996169689Skan	flag_dump_macros, flag_dump_includes): New.
30997169689Skan	* c-common.h (flag_no_line_commands, flag_no_output,
30998169689Skan	flag_dump_macros, flag_dump_includes, preprocess_file): New.
30999169689Skan	(init_c_lex): Update prototype.
31000169689Skan	* c-lex.c (init_c_lex): Update prototype; move some code to
31001169689Skan	c_common_init.
31002169689Skan	* c-opts.c (preprocess_file): Subsume into c_common_init.
31003169689Skan	(c_common_decode_option): Update flags.
31004169689Skan	(c_common_init): Move code from preprocess_file and init_c_lex.
31005169689Skan	(sanitize_cpp_opts): Update.
31006169689Skan	* c-ppoutput.c: New, cppmain.c almost verbatim.
31007169689Skan	* cpphash.h (struct printer): Remove.
31008169689Skan	(struct cpp_reader): Remove print.
31009169689Skan	* cpplib.h (dump_none, dump_only, dump_names, dump_definitions,
31010169689Skan	cpp_preprocess_file): Remove.
31011169689Skan	(struct cpp_options): Remove no_output, no_line_commands, dump_macros
31012169689Skan	and dump_includes.
31013169689Skan	* cppmain.c: Remove.
31014169689Skan	* doc/passes.texi: Update.
31015169689Skan
31016169689Skan2003-03-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
31017169689Skan
31018169689Skan	* function.c (STACK_ALIGNMENT_NEEDED): New macro.  Default to 1.
31019169689Skan	(assign_stack_local_1): Perform overall stack alignment only when
31020169689Skan	STACK_ALIGNMENT_NEEDED is nonzero.
31021169689Skan	* doc/tm.texi (STACK_ALIGNMENT_NEEDED): Document.
31022169689Skan
31023169689Skan	* pa.c (compute_frame_size): Rename fsize to size.  Account for
31024169689Skan	alignment to a word boundary before general register save block.  Only
31025169689Skan	account for double-word alignment before floating point register save
31026169689Skan	block if one or more are saved.  Don't allocate space for %r3 when
31027169689Skan	frame pointer is needed.
31028169689Skan	(hppa_expand_prologue): Include alignment to word boundary in local
31029169689Skan	frame size.
31030169689Skan	* pa.h (STARTING_FRAME_OFFSET): Define to 8 on both 32 and 64-bit ports.
31031169689Skan	(STACK_ALIGNMENT_NEEDED): Define.
31032169689Skan
31033169689Skan2003-03-04  Kevin Buettner  <kevinb@redhat.com>
31034169689Skan
31035169689Skan	* dwarf2out.c (rtl_for_decl_location): Don't return NULL_RTX for
31036169689Skan	global register variables.
31037169689Skan
31038169689Skan2003-03-04  Alexandre Oliva  <aoliva@redhat.com>
31039169689Skan
31040169689Skan	* reload.c (reload_adjust_reg_for_mode): New function.
31041169689Skan	(subst_reloads): Call it.
31042169689Skan	(operands_match_p): Adjust registers using HARD_REGNO_NREGS.
31043169689Skan	* reload.h (reload_adjust_reg_for_mode): Declare.
31044169689Skan	* reload1.c (emit_input_reload_insns, emit_output_reload_insns):
31045169689Skan	Call it.
31046169689Skan
31047169689Skan2003-03-03  James E Wilson  <wilson@tuliptree.org>
31048169689Skan
31049169689Skan	* optabs.c (add_equal_note): Delete SUBREG_REG use.
31050169689Skan	Fixes PR c/7872.
31051169689Skan
31052169689Skan2003-03-03  Kazu Hirata  <kazu@cs.umass.edu>
31053169689Skan
31054169689Skan	* config/h8300/h8300.md (*ixorsi3_ashift_16): New.
31055169689Skan	(*ixorsi3_lshiftrt_16): New.
31056169689Skan	(*iorsi3_ashift_16): Remove.
31057169689Skan
31058169689Skan2003-03-03  Kazu Hirata  <kazu@cs.umass.edu>
31059169689Skan
31060169689Skan	* config/h8300/h8300.md (*extzv_8_8): Use '?' to simplify the
31061169689Skan	pattern.
31062169689Skan
31063169689Skan2003-03-03  Geoffrey Keating  <geoffk@apple.com>
31064169689Skan
31065169689Skan	* doc/install.texi (Specific): Update entry for powerpc-darwin.
31066169689Skan
31067169689Skan2003-03-03  Richard Henderson  <rth@redhat.com>
31068169689Skan
31069169689Skan	* config/ia64/ia64.h (HAVE_AS_LTOFFX_LDXMOV_RELOCS): Default to 0.
31070169689Skan
31071169689Skan2003-03-03  David Edelsohn  <edelsohn@gnu.org>
31072169689Skan
31073169689Skan	* config/rs6000/rs6000.c (rs6000_multipass_dfa_lookahead): Delete.
31074169689Skan	(TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Delete.
31075169689Skan	(rs6000_variable_issue): Do not return negative value.
31076169689Skan	(rs6000_issue_rate): Uniformly set issue rate to 1 for first
31077169689Skan	scheduling pass.
31078169689Skan
31079169689Skan2003-03-03  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
31080169689Skan
31081169689Skan	* dwarf2out.c (dwarf2out_finish): Swap order of break_out_includes and
31082169689Skan	prune_unused_types calls.
31083169689Skan
31084169689Skan2003-03-03  Jason Merrill  <jason@redhat.com>
31085169689Skan
31086169689Skan	* tree-inline.c (find_builtin_longjmp_call): Save and restore
31087169689Skan	lineno and input_filename.
31088169689Skan	(find_alloca_call): Likewise.
31089169689Skan	(inlinable_function_p): Run the langhook earlier.
31090169689Skan
31091169689Skan	* calls.c (compute_argument_addresses): Give the new MEMs a
31092169689Skan	minimum alignment of PARM_BOUNDARY.
31093169689Skan
31094169689Skan2003-03-03  J"orn Rennecke <joern.rennecke@superh.com>
31095169689Skan
31096169689Skan	* config/sh/sh.h (EXTRA_SPECS): Add subtarget_asm_relax_spec and
31097169689Skan	subtarget_asm_isa_spec.
31098169689Skan	(SUBTARGET_ASM_RELAX_SPEC, SUBTARGET_ASM_ISA_SPEC): Define.
31099169689Skan	(ASM_SPEC): Define as SH_ASM_SPEC.
31100169689Skan	(SH_ASM_SPEC): New; take the role of ASM_SPEC, but safe from svr4.h.
31101169689Skan	Use subtarget_asm_relax_spec and subtarget_asm_isa_spec.
31102169689Skan	* config/sh/elf.h (ASM_SPEC): Use SH_ASM_SPEC.
31103169689Skan	(SUBTARGET_ASM_ISA_SPEC): Undef / define.
31104169689Skan
31105169689Skan	* sh.h (OVERRIDE_OPTIONS): Set default values for align_loops
31106169689Skan	and align_jumps if not set.
31107169689Skan	Force align_jumps to be at least 2.
31108169689Skan	When relaxing, force align_functions to be at least the maximum of
31109169689Skan	align_loops, align_jumps and 4.
31110169689Skan	* sh.c (find_barrier, barrier_align): Honour align_jumps_log.
31111169689Skan	(sh_loop_align): Honour align_loops_log.
31112169689Skan
31113169689Skan	* sh.md (length attribute): Use prev_nonnote_insn instead of PREV_INSN
31114169689Skan	to check for indirect_jump_scratch.
31115169689Skan	(indirect_jump_scratch): Add second set.
31116169689Skan	* sh.c (output_far_jump): Use prev_nonnote_insn instead of PREV_INSN
31117169689Skan	when looking for indirect_jump_scratch.
31118169689Skan	Extract scratch register taking new structure of indirect_jump_scratch
31119169689Skan	into account.
31120169689Skan	(gen_block_redirect): Set INSN_SCOPE for indirect_jump_scratch.
31121169689Skan
31122169689Skan2003-03-03  Jan Hubicka  <jh@suse.cz>
31123169689Skan
31124169689Skan	* calls.c (rtx_for_function_call): Take the address as an argument
31125169689Skan	(expand_call): Do not modify the expression.
31126169689Skan
31127169689Skan	* toplev.c (rest_of_compilation):  Avoid cfg_cleanup calls when not
31128169689Skan	optimizing.
31129169689Skan
31130169689Skan2003-03-03  Kazu Hirata  <kazu@cs.umass.edu>
31131169689Skan
31132169689Skan	* config/h8300/h8300.md (*ixorsi3_zext_hi): Restrict to
31133169689Skan	TARGET_H8300H and TARGET_H8300S.
31134169689Skan
31135169689Skan2003-03-03  Kazu Hirata  <kazu@cs.umass.edu>
31136169689Skan
31137169689Skan	* config/h8300/h8300.md (a peephole2): New.
31138169689Skan
31139169689Skan2003-03-03  Kazu Hirata  <kazu@cs.umass.edu>
31140169689Skan
31141169689Skan	* config/h8300/h8300.md (*extzv_8_8): Use shorter code when
31142169689Skan	operands[0] and operands[1] are different.
31143169689Skan
31144169689Skan2003-03-03  Kazu Hirata  <kazu@cs.umass.edu>
31145169689Skan
31146169689Skan	* reload1.c (reload_cse_move2add): Remove variable success.
31147169689Skan
31148169689Skan2003-03-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
31149169689Skan
31150169689Skan	* ggc-common.c (ggc_rlimit_bound): Cast RLIM_INFINITY to avoid
31151169689Skan	warnings.
31152169689Skan
31153169689Skan2003-03-02  Richard Henderson  <rth@redhat.com>
31154169689Skan
31155169689Skan	* configure.in (HAVE_AS_LTOFFX_LDXMOV_RELOCS): New ia64 test.
31156169689Skan	* config.in, configure: Rebuild.
31157169689Skan	* config/ia64/ia64.c (ia64_ld_address_bypass_p): Accept lo_sum.
31158169689Skan	* config/ia64/ia64.md (load_symptr): Use high/lo_sum for the
31159169689Skan	paired ldtoffx and ldxmov annotations.
31160169689Skan	(load_symptr_internal1): Remove.
31161169689Skan	(load_symptr_high, load_symptr_low): New.
31162169689Skan
31163169689Skan2003-03-02  Neil Booth  <neil@daikokuya.co.uk>
31164169689Skan
31165169689Skan	* c-incpath.c (add_path): Fix sysp assignment.
31166169689Skan
31167169689Skan2003-03-02  Kurt Garloff  <garloff@suse.de>
31168169689Skan
31169169689Skan	* params.def: Introduce parameter max-inline-insns-rtl for
31170169689Skan	a separate limit for the RTL inliner.
31171169689Skan	* params.h: Likewise.
31172169689Skan	* integrate.c (function_cannot_inline_p): Use it.
31173169689Skan	* toplev.c (decode_f_option): Set multiple parameters
31174169689Skan	controlling inlining with -finline-limit.
31175169689Skan	* params.def: Fix orthographic and typographic errors.
31176169689Skan	* doc/invoke.texi: Document parameters controlling inlining
31177169689Skan	and the way -finline-limit sets multiple of them.
31178169689Skan
31179169689Skan	* tree.h (struct tree_decl): Introduce inlined_function_flag,
31180169689Skan	recording whether the function became eligible for inlining
31181169689Skan	by a compiler flag rather than the declaration.
31182169689Skan	Provide DID_INLINE_FUNC macro to access it.
31183169689Skan	* c-decl.c (grokdeclarator): Set DID_INLINE_FUNC.
31184169689Skan	* cp/decl.c (grokfndecl): Likewise.
31185169689Skan	* toplev.c (rest_of_compilation): Likewise.
31186169689Skan	* cp/optimize (maybe_clone_body): Copy DID_INLINE_FUNC.
31187169689Skan	* print-tree.c (print_node): Report it.
31188169689Skan	* params.def: Introduce new max-inline-insns-auto limit.
31189169689Skan	* params.h: Likewise.
31190169689Skan	* tree-inline.c (inlinable_function_p): Apply it to functions
31191169689Skan	with DID_INLINE_FUNC set.
31192169689Skan	* toplev.c (decode_f_option): Initialize it from -finline-limit
31193169689Skan	value.
31194169689Skan	* doc/invoke.texi: Document new parameter.
31195169689Skan
31196169689Skan2003-03-02  Geoffrey Keating  <geoffk@apple.com>
31197169689Skan
31198169689Skan	* fix-header.c (read_scan_file): Don't reference simplify_path.
31199169689Skan
31200169689Skan2003-03-02  Stephane Carrez  <stcarrez@nerim.fr>
31201169689Skan
31202169689Skan	* config/m68hc11/m68hc11.c (m68hc11_override_options): Don't enable
31203169689Skan	min/max instructions by default as may result in reload errors.
31204169689Skan
31205169689Skan2003-03-02  Stephane Carrez  <stcarrez@nerim.fr>
31206169689Skan
31207169689Skan	* config/m68hc11/m68hc11.md ("mulqi3"): Allow address register to
31208169689Skan	avoid reload problems; define split for it.
31209169689Skan
31210169689Skan2003-03-02  Stephane Carrez  <stcarrez@nerim.fr>
31211169689Skan
31212169689Skan	* config/m68hc11/m68hc11.c (m68hc11_shift_operator): New function.
31213169689Skan	* config/m68hc11/m68hc11-protos.h (m68hc11_shift_operator): Declare.
31214169689Skan	* config/m68hc11/m68hc11.h (PREDICATE_CODES): Register.
31215169689Skan	* config/m68hc11/m68hc11.md ("rotrhi3", "rotlhi3"): New patterns for
31216169689Skan	rotatert and rotate.
31217169689Skan	("rotrhi3_const", "rotlhi3_const"): Rename of old 'rotrhi3' insns.
31218169689Skan	("*rotrhi3", "*rotlhi3"): New insn pattern for non-const rotatert.
31219169689Skan	("*rotrhi3_addr"): New split for shift insns on address register.
31220169689Skan	("*lshrhi3", "*ashrhi3", "*ashlhi3_2"): Use new split.
31221169689Skan	* config/m68hc11/larith.asm (___rotlhi3): New asm function.
31222169689Skan	(___rotrhi3): Likewise.
31223169689Skan	* config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build them.
31224169689Skan
31225169689Skan2003-03-02  Neil Booth  <neil@daikokuya.co.uk>
31226169689Skan
31227169689Skan	* toplev.c (aux_base_name): Moved from toplev.h.
31228169689Skan	(filename): Constify.
31229169689Skan	(lang_dependent_init): Don't duplicate name.
31230169689Skan	(process_options): Set aux_base_name here, not...
31231169689Skan	(do_compile): ...here.  Change protoype.
31232169689Skan	(toplev_main): Move some code from do_compile.
31233169689Skan	* toplev.h: Remove aux_base_name.
31234169689Skan
31235169689Skan2003-03-02  Kazu Hirata  <kazu@cs.umass.edu>
31236169689Skan
31237169689Skan	* config/h8300/h8300-protos.h: Add a prototype for
31238169689Skan	iorxor_operator.
31239169689Skan	* config/h8300/h8300.c (print_operand): Handle 'c'.
31240169689Skan	(iorxor_operator): New.
31241169689Skan	* config/h8300/h8300.h (PREDICATE_CODES): Add iorxor_operator.
31242169689Skan	* config/h8300/h8300.md (*iorhi3_zext): Remove.
31243169689Skan	(*iorsi3_zexthi): Likewise.
31244169689Skan	(*iorsi3_zextsi): Likewise.
31245169689Skan	(*xorhi3_zextqi): Likewise.
31246169689Skan	(*xorsi3_zexthi): Likewise.
31247169689Skan	(*xorsi3_zextsi): Likewise.
31248169689Skan	(*ixorhi3_zext): New.
31249169689Skan	(*ixorsi3_zext_qi): Likewise.
31250169689Skan	(*ixorsi3_zext_hi): Likewise.
31251169689Skan
31252169689Skan2003-03-02  Neil Booth  <neil@daikokuya.co.uk>
31253169689Skan
31254169689Skan	* c-incpath.c (remove_component_p, simplify_path): Move back to
31255169689Skan	cppfiles.c.
31256169689Skan	(remove_duplicates): Use cpp_simplify_path.
31257169689Skan	* c-incpath.h (simplify_path): Remove.
31258169689Skan	* c-lex.c: Don't include c-incpath.h.
31259169689Skan	(init_c_lex): Remove simplify_path.
31260169689Skan	* cppfiles.c (remove_component_p, cpp_simplify_path): Restore.
31261169689Skan	(find_or_create_entry, validate_pch): Revert.
31262169689Skan
31263169689Skan2003-03-02  Ashif Harji  <asharji@uwaterloo.ca>
31264169689Skan
31265169689Skan	* gcc.c (default_compilers): Add -no-integrated-cpp flag to invoke
31266169689Skan	  an external cpp during compilation.
31267169689Skan	(option_map): Likewise.
31268169689Skan	* objc/lang-specs.h (default_compilers): Similarly.
31269169689Skan	* doc/invoke.texi: Document -no-integrated-cpp flag.
31270169689Skan
31271169689Skan2003-03-02  Kazu Hirata  <kazu@cs.umass.edu>
31272169689Skan
31273169689Skan	* config/h8300/h8300.md (zero_extendqisi2): Change to an
31274169689Skan	expander.
31275169689Skan	(*zero_extendqisi2_h8300): New.
31276169689Skan	(*zero_extendqisi2_h8300hs): New.
31277169689Skan	(two splitters): New.
31278169689Skan
31279169689Skan2003-03-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
31280169689Skan
31281169689Skan	* fp-bit.h (float_to_usi): Fix condition wrapping prototype.
31282169689Skan
31283169689Skan2003-03-01  Kazu Hirata  <kazu@cs.umass.edu>
31284169689Skan
31285169689Skan	* config/h8300/h8300.md (a peephole2): Remove dead code.
31286169689Skan
31287169689Skan2003-03-01  Roger Sayle  <roger@eyesopen.com>
31288169689Skan
31289169689Skan	PR c++/9367
31290169689Skan	* builtin-types.def (DEF_FUNCTION_TYPE_VAR_3): New macro.
31291169689Skan	(BT_FN_INT_CONST_STRING_VALIST_ARG,
31292169689Skan	BT_FN_INT_STRING_CONST_STRING_VALIST_ARG,
31293169689Skan	BT_FN_INT_CONST_STRING_CONST_STRING_VALIST_ARG,
31294169689Skan	BT_FN_INT_STRING_SIZE_CONST_STRING_VALIST_ARG,
31295169689Skan	BT_FN_INT_STRING_CONST_STRING_VAR,
31296169689Skan	BT_FN_INT_CONST_STRING_CONST_STRING_VAR,
31297169689Skan	BT_FN_INT_STRING_SIZE_CONST_STRING_VAR): New built-in types.
31298169689Skan	* builtin-attrs.def (ATTR_NONNULL_1, ATTR_NONNULL_2,
31299169689Skan	ATTR_NONNULL_3): Also include the nothrow attribute.
31300169689Skan	(sprintf, scanf, sscanf, vprintf, vsprintf, snprintf,
31301169689Skan	vsnprintf, vscanf, vsscanf): Don't define attributes here.
31302169689Skan	* builtins.def (putchar, puts): Make full C89 built-ins.
31303169689Skan	(snprintf, sprintf, scanf, sscanf, vprintf, vscanf,
31304169689Skan	vsscanf, vsnprintf, vsprintf): New built-ins.
31305169689Skan	* c-common.c (c_common_nodes_and_builtins): Handle new macro
31306169689Skan	DEF_FUNCTION_TYPE_VAR_3.
31307169689Skan
31308169689Skan	* doc/extend.texi: Document these new built-in functions.
31309169689Skan
31310169689Skan2003-03-01  Kazu Hirata  <kazu@cs.umass.edu>
31311169689Skan
31312169689Skan	* config/h8300/h8300.md (a peephole2): New.
31313169689Skan
31314169689Skan2003-03-01  Richard Earnshaw  <rearnsha@arm.com>
31315169689Skan
31316169689Skan	* predict.c (estimate_bb_frequencies): Correctly set
31317169689Skan	real_values_initialized after initialization.
31318169689Skan
31319169689Skan2003-03-01  Neil Booth  <neil@daikokuya.co.uk>
31320169689Skan
31321169689Skan	* Makefile.in (C_AND_OBJC_OBJS, c-incpath.o, c-lex.o, LIBCPP_OBJS,
31322169689Skan	cppinit.o, cppdefault.o, fix-header): Update.
31323169689Skan	* c-incpath.c: New file.
31324169689Skan	* c-incpath.h: New file.
31325169689Skan	* c-lex.c: Include c-incpath.h.
31326169689Skan	(init_c_lex): Register path simplifier.
31327169689Skan	* c-opts.c: Include cppdefault.h and c-incpath.h.
31328169689Skan	(TARGET_SYSTEM_ROOT, verbose, iprefix, sysroot, std_inc,
31329169689Skan	std_cxx_inc, quote_chain_split, add_prefixed_path): New.
31330169689Skan	(COMMAND_LINE_OPTIONS): Add more options from cpplib.
31331169689Skan	(missing_arg, c_common_decode_option): Handle them.
31332169689Skan	(c_common_post_options): Register include chains.
31333169689Skan	(print_help): Update.
31334169689Skan	* cppdefault.h (struct default include): Update.
31335169689Skan	Move some macros to ...
31336169689Skan	* cppdefault.c: ... here.
31337169689Skan	(cpp_include_defaults): Add extra field add_sysroot.
31338169689Skan	* cppfiles.c (include_file, search_from, find_or_create_entry,
31339169689Skan	cpp_included, find_include_file, remap_filename): Update for
31340169689Skan	renaming of search_path to cpp_path, and of the chain headers.
31341169689Skan	(remove_component_p, _cpp_simplify_pathname): Move to c-incpath.c.
31342169689Skan	* cpphash.h (struct search_path): Move to cpplib.h.
31343169689Skan	(struct cpp_buffer, struct cpp_reader): Update.
31344169689Skan	(_cpp_simplify_pathname): Remove.
31345169689Skan	* cppinit.c: Don't include prefix.h and cppdefault.h.
31346169689Skan	(INO_T_EQ, INO_T_COPY, path_include, append_include_chain,
31347169689Skan	remove_dup_dir, remove_dup_nonsys_dirs, remove_dup_dirs,
31348169689Skan	init_standard_includes, BRACKET, SYSTEM, AFTER, no_dir,
31349169689Skan	no_pth, cpp_handle_options): Remove.
31350169689Skan	(struct pending_option): Remove chain members.
31351169689Skan	(cpp_destroy, cpp_read_main_file, COMMAND_LINE_OPTIONS,
31352169689Skan	cpp_handle_option): Update.
31353169689Skan	* cpplib.h (struct cpp_path, cpp_set_include_chains): New.
31354169689Skan	(struct cpp_options): Remove quote_include, bracket_include,
31355169689Skan	include_prefix, include_prefix_len, verbose, ignore_srcdir,
31356169689Skan	no_standard_includes, no_standard_cplusplus_includes.
31357169689Skan	(struct cpp_callbacks): Add simplify_path.
31358169689Skan	(cpp_handle_options): Remove.
31359169689Skan	* fix-header.c: Include c-incpath.h.
31360169689Skan	(read_scan_file): Update to use c-incpath functionality.
31361169689Skan	* doc/passes.texi: Update.
31362169689Skan
31363169689Skan2003-03-01  Kazu Hirata  <kazu@cs.umass.edu>
31364169689Skan
31365169689Skan	* config/h8300/h8300.c (bit_operand): Accept MEM only if it
31366169689Skan	satisfies EXTRA_CONSTRAINT 'U'.
31367169689Skan
31368169689Skan2003-03-01  Kazu Hirata  <kazu@cs.umass.edu>
31369169689Skan
31370169689Skan	* config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Take a scratch
31371169689Skan	register.
31372169689Skan	(*tst_extzv_memqi_1_n): Change to a splitter.
31373169689Skan	(a peephole2): Update.
31374169689Skan
31375169689Skan2003-03-01  Richard Earnshaw  <rearnsha@arm.com>
31376169689Skan
31377169689Skan	* predict.c (estimate_bb_frequencies): Initialize the sreal
31378169689Skan	constants once per compilation.
31379169689Skan
31380169689Skan2003-02-28  Richard Henderson  <rth@redhat.com>
31381169689Skan
31382169689Skan	* toplev.c (flag_eliminate_unused_debug_types): Enable by default.
31383169689Skan
31384169689Skan2003-02-28  scott snyder  <snyder@fnal.gov>
31385169689Skan
31386169689Skan	* flags.h: Add flag_eliminate_unused_debug_types.
31387169689Skan	* toplev.c: Add flag_eliminate_unused_debug_types.
31388169689Skan	(f_options): Add -feliminate-unused-debug-types.
31389169689Skan	* dwarf2out.c (struct file_table): Add emitted member.
31390169689Skan	(splice_child_die): Fix the parent pointer for the child being
31391169689Skan	spliced.
31392169689Skan	(lookup_filename): Maintain file_table.emitted array.  Don't
31393169689Skan	output .file directive here.
31394169689Skan	(maybe_emit_file): (new)
31395169689Skan	(init_file_table): Set up file_table.emitted.
31396169689Skan	(dwarf2out_source_line): Use maybe_emit_file.
31397169689Skan	(dwarf2out_start_source_file): Use maybe_emit_file.
31398169689Skan	(dwarf2out_init): Use maybe_emit_file.
31399169689Skan	(prune_unused_types_walk_attribs): (new)
31400169689Skan	(prune_unused_types_mark): (new)
31401169689Skan	(prune_unused_types_walk): (new)
31402169689Skan	(prune_unused_types_prune): (new)
31403169689Skan	(prune_unused_types): (new)
31404169689Skan	(dwarf2out_finish): Call prune_unused_types if
31405169689Skan	flag_eliminate_unused_debug_types is set.
31406169689Skan	* doc/invoke.texi (Option Summary): Add
31407169689Skan	-feliminate-unused-debug-types.
31408169689Skan	(Debugging Options): Likewise.
31409169689Skan
31410169689Skan2003-02-28  Geoffrey Keating  <geoffk@apple.com>
31411169689Skan
31412169689Skan	* doc/invoke.texi: Change .pch to .gch.
31413169689Skan	* cppfiles.c (open_file_pch): Likewise.
31414169689Skan	* gcc.c (default_compilers): Likewise.
31415169689Skan
31416169689Skan2003-02-28  Aldy Hernandez  <aldyh@redhat.com>
31417169689Skan
31418169689Skan	* floatlib.c: Remove.
31419169689Skan
31420169689Skan2003-02-28  Jason Merrill  <jason@redhat.com>
31421169689Skan
31422169689Skan	* stor-layout.c (variable_size): Leave a "minus 1" outside the
31423169689Skan	SAVE_EXPR.
31424169689Skan
31425169689Skan2003-02-28  David Edelsohn  <edelsohn@gnu.org>
31426169689Skan
31427169689Skan	* config/rs6000/power4.md: Add compare bypass.
31428169689Skan
31429169689Skan2003-02-28  Jason Thorpe  <thorpej@wasabisystems.com>
31430169689Skan
31431169689Skan	* config/netbsd.h: Update copyright years.
31432169689Skan	(NETBSD_CPP_SPEC): Define _REENTRANT and _PTHREADS if
31433169689Skan	-pthread is specified on the command line.
31434169689Skan
31435169689Skan2003-02-28  Dale Johannesen <dalej@apple.com>
31436169689Skan
31437169689Skan	* loop.c (struct movable): Add insert_temp, shrink savemode.
31438169689Skan	(scan_loop): Accept invariants that require copying; mark as
31439169689Skan	insert_temp.
31440169689Skan	(combine_movables): Don't combine insert_temp movables.
31441169689Skan	(move_movables): Insert copies for insert_temp movables.
31442169689Skan	Don't record the info based on regno for insert_temp's.
31443169689Skan
31444169689Skan2003-02-28  Joel Sherrill <joel@OARcorp.com>
31445169689Skan
31446169689Skan	PR 9638/other
31447169689Skan	* config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Ensure the
31448169689Skan	this constant defaults to 1.
31449169689Skan
31450169689Skan2003-02-28  Bob Wilson  <bob.wilson@acm.org>
31451169689Skan
31452169689Skan	* config.gcc (xtensa-*-linux*): Add t-slibgcc-elf-ver to tmake_file.
31453169689Skan
31454169689Skan2003-02-28  Richard Earnshaw  <rearnsha@arm.com>
31455169689Skan
31456169689Skan	* arm.md (mulhisi3, mulhisi3addsi, mulhidi3adddi): Enable for any
31457169689Skan	ARMv5e processor, not just for XScale.  Instructions are predicable.
31458169689Skan	(mulhisi3tb, mulhisi3bt, mulhisi3tt): New patterns for ARMv5e.
31459169689Skan
31460169689Skan2003-02-28  Nick Clifton  <nickc@redhat.com>
31461169689Skan
31462169689Skan	* config/arm/arm.c (note_invalid_constants): Change parameter type
31463169689Skan	from bool to int.
31464169689Skan
31465169689Skan2003-02-28  Kazu Hirata  <kazu@cs.umass.edu>
31466169689Skan
31467169689Skan	* config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Accept the
31468169689Skan	test of bit 7.
31469169689Skan	(*tst_extzv_memqi_1_n): Likewise.
31470169689Skan	(a peephole2): New.
31471169689Skan
31472169689Skan2003-02-28  Richard Sandiford  <rsandifo@redhat.com>
31473169689Skan
31474169689Skan	* config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Wrap in
31475169689Skan	#ifndef __mips16.
31476169689Skan
31477169689Skan2003-02-28  Jan Hubicka  <jh@suse.cz>
31478169689Skan
31479169689Skan	* combine.c (gen_lowpart_for_combine): Update handling of
31480169689Skan	subregs_of_mode
31481169689Skan	* flow.c (life_analysis, mark_used_regs): Likewise.
31482169689Skan	* regclass.c (subregs_of_mode): Turn into single bitmap.
31483169689Skan	(cannot_change-mode_set_regs, invalid_mode_change_p): Update
31484169689Skan	dealing with subregs_of_mode
31485169689Skan	* regs.h (subregs_of_mode): Update prototype.
31486169689Skan
31487169689Skan2003-02-28  Josef Zlomek  <zlomekj@suse.cz>
31488169689Skan
31489169689Skan	* emit-rtl.c (set_reg_attrs_for_parm): New function.
31490169689Skan	* rtl.h (set_reg_attrs_for_parm): New exported function.
31491169689Skan	* function.c (assign_parms): Use set_reg_attrs_for_parm instead of
31492169689Skan	set_reg_attrs_from_mem.
31493169689Skan
31494169689Skan2003-02-27  Roger Sayle  <roger@eyesopen.com>
31495169689Skan	    Zack Weinberg <zack@codesourcery.com>
31496169689Skan
31497169689Skan	* gcc.c (do_spec_1):  Treat %U like %u for unique associations.
31498169689Skan
31499169689Skan2003-02-27  Kazu Hirata  <kazu@cs.umass.edu>
31500169689Skan
31501169689Skan	* reload1.c (sext_for_mode): Remove.
31502169689Skan	(reload_cse_move2add): Use trunc_int_for_mode instead of
31503169689Skan	sext_for_mode.
31504169689Skan	(move2add_note_store): Likewise.
31505169689Skan	Reset register information if we see a set in non-integer
31506169689Skan	mode.
31507169689Skan
31508169689Skan2003-02-27  David Edelsohn  <edelsohn@gnu.org>
31509169689Skan
31510169689Skan	* config/rs6000/aix43.h (ASM_SPEC): Only emit -mppc64 if no -mcpu
31511169689Skan	option.
31512169689Skan	(ASM_CPU_SPEC): Use -m620 for Power3, Power4, 620, 630.
31513169689Skan	* config/rs6000/aix51.h: Same.
31514169689Skan	* config/rs6000/aix52.h: Same.
31515169689Skan	* config/rs6000/power4.md: Additional VMX bypasses.
31516169689Skan
31517169689Skan2003-02-27   Geert Bosch <bosch@gnat.com>
31518169689Skan
31519169689Skan	* toplev.c (print_version): Add indentation for GGC heuristics and
31520169689Skan	output after printing version information.
31521169689Skan
31522169689Skan2003-02-27  James E Wilson  <wilson@tuliptree.org>
31523169689Skan
31524169689Skan	* combine.c (simplify_comparison): Require integral mode when
31525169689Skan	permuting SUBREG with AND.
31526169689Skan
31527169689Skan2003-02-27  Steve Ellcey  <sje@cup.hp.com>
31528169689Skan
31529169689Skan	* config/ia64/hpux.h (STARTFILE_PREFIX_SPEC): Remove.
31530169689Skan
31531169689Skan2003-02-27  Nick Clifton  <nickc@redhat.com>
31532169689Skan
31533169689Skan	* config/arm/arm.md (extendsfdf2): Add pattern accidentally
31534169689Skan	deleted when cirrus instructions were added.
31535169689Skan
31536169689Skan2003-02-27  Jason Thorpe  <thorpej@wasabisystems.com>
31537169689Skan
31538169689Skan	* config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Enable
31539169689Skan	POSIX thread support by default.
31540169689Skan
31541169689Skan2003-02-27  Roger Sayle  <roger@eyesopen.com>
31542169689Skan
31543169689Skan	* config/i386/cygwin.h: Don't include any other files directly.
31544169689Skan	* config/i386/mingw32.h: Don't include cygwin.h directly.
31545169689Skan	* config.gcc (cygwin, mingw32, uwin): Instead make these files
31546169689Skan	explicit in the tm_files variable.
31547169689Skan
31548169689Skan2003-02-27  Alan Modra  <amodra@bigpond.net.au>
31549169689Skan
31550169689Skan	* config/rs6000/rs6000.md: Add TI constant splitter.
31551169689Skan
31552169689Skan2003-02-26  Alexandre Oliva  <aoliva@redhat.com>
31553169689Skan
31554169689Skan	* builtins.c (purge_builtin_constant_p): Handle subreg of
31555169689Skan	constant_p_rtx too.
31556169689Skan
31557169689Skan	* function.c (assign_stack_local_1): Truncate constant added to
31558169689Skan	frame_pointer_rtx or virtual_stack_vars_rtx for Pmode.
31559169689Skan
31560169689Skan2003-02-26  David Edelsohn  <edelsohn@gnu.org>
31561169689Skan
31562169689Skan	* config.gcc: Add power4 to PowerPC with_cpu list.
31563169689Skan
31564169689Skan2003-02-26  Jan Hubicka  <jh@suse.cz>
31565169689Skan
31566169689Skan	* objc-act.c: (mark_referenced_methods): Fix compilation problem.
31567169689Skan
31568169689Skan2003-02-26  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
31569169689Skan
31570169689Skan	* gcov-dump.c (print_prefix): Fix signedness warning.
31571169689Skan	* gcov-io.h (struct counter_section, struct counter_section_data): New.
31572169689Skan	(struct function_info): n_arc_counts field removed, n_counter_sections,
31573169689Skan	counter_sections fields added.
31574169689Skan	(struct gcov_info): arc_counts, n_arc_counts fields removed,
31575169689Skan	n_counter_sections, counter_sections fields added.
31576169689Skan	* libgcov.c (gcov_exit, __gcov_flush): Add support for multiple
31577169689Skan	profile sections.
31578169689Skan	* profile.h (MAX_COUNTER_SECTIONS): New.
31579169689Skan	(struct section_info): New.
31580169689Skan	(struct profile_info): count_instrumented_edges,
31581169689Skan	count_edges_instrumented_now fields removed, n_sections, section_info
31582169689Skan	fields added.
31583169689Skan	(find_counters_section): Declare.
31584169689Skan	* profile.c (struct function_list): count_edges field removed,
31585169689Skan	n_counter_sections, counter_sections fields added.
31586169689Skan	(set_purpose, label_for_tag, build_counter_section_fields,
31587169689Skan	build_counter_section_value, build_counter_section_data_fields,
31588169689Skan	build_counter_section_data_value, build_function_info_fields,
31589169689Skan	build_function_info_value, build_gcov_info_fields,
31590169689Skan	build_gcov_info_value): New static functions.
31591169689Skan	(find_counters_section): New function.
31592169689Skan	(instrument_edges, get_exec_counts, compute_branch_probabilities,
31593169689Skan	branch_prob, create_profiler): Modified to support multiple profile
31594169689Skan	sections.
31595169689Skan
31596169689Skan2003-02-26  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
31597169689Skan
31598169689Skan	* pa.c (compute_frame_size): Don't assume PREFERRED_STACK_BOUNDARY
31599169689Skan	is 8 * STACK_BOUNDARY.
31600169689Skan	* pa.h (PREFERRED_STACK_BOUNDARY): Change to 128 on 64-bit port.
31601169689Skan
31602169689Skan2003-02-26  Michael Matz  <matz@suse.de>
31603169689Skan
31604169689Skan	* ra-colorize.c (merge_moves): Fix list handling.
31605169689Skan
31606169689Skan2003-02-26  Nick Clifton  <nickc@redhat.com>
31607169689Skan
31608169689Skan	* config/arm/arm.c (is_load_address): Rename to...
31609169689Skan	(arm_memory_load_p) ... this and make it check for SUBREGs and
31610169689Skan	constant loads that will be converted into loads from the
31611169689Skan	minipool.
31612169689Skan	(is_cirrus_insn): Rename to ...
31613169689Skan	(arm_cirrus_insn_p): ... this, for consistency.  Replace test
31614169689Skan	of CIRRUS_NO with CIRRUS_NOT.
31615169689Skan	(cirrus_reorg): Use renamed functions.
31616169689Skan	(note_invalid_constants): Change from a void function to bool.
31617169689Skan	Add an extra parameter, saying whether the fixups should be
31618169689Skan	pushed.  Return true if fixups are needed.
31619169689Skan	(arm_reorg): Use renamed functions.  Use INSN_P.  Replace test
31620169689Skan	of CIRRUS_NO with CIRRUS_NOT.
31621169689Skan	* config/arm/arm.h (FLOAT_WORDS_BIG_ENDIAN): Mention that
31622169689Skan	other floating point co-processors can also affect this.
31623169689Skan	* config/arm/arm.md ("type" attribute): Add mav_farith and
31624169689Skan	mav_dmult.  Replace references to "cirrus_type" attribute with
31625169689Skan	"type".
31626169689Skan	* config/arm/cirrus.md ("cirrus_fpu" attribute): Delete.
31627169689Skan	("cirrus_type" attribute): Delete - use "type" instead.
31628169689Skan	("cirrus" attribute): Replace 'no' with 'not' and 'yes' with
31629169689Skan	'normal'.
31630169689Skan
31631169689Skan2003-02-25  Jan Hubicka  <jh@suse.cz>
31632169689Skan
31633169689Skan	* objc-act.c: Include cgraph.h
31634169689Skan	(mark_referenced_methods): New function.
31635169689Skan	(objc_init): Call it.
31636169689Skan	* objc-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Set.
31637169689Skan
31638169689Skan	* c-decl.c (finish_function): Honor can_defer_p even in unit-at-a-time
31639169689Skan	mode.
31640169689Skan
31641169689Skan	* optabs.c (expand_fix): Do not widen the input operand.
31642169689Skan
31643169689Skan	* expr.c (emit_group_store):  Fix crash when converting single
31644169689Skan	register into complex register.
31645169689Skan
31646169689Skan	* Makefile.in (jump.o, regclass.o, alias.o): Add dependency on timevar.h
31647169689Skan	* alias.c: Include timevar.h
31648169689Skan	(init_alias_analysis):  Set timevar
31649169689Skan	* jump.c: Include timevar.h
31650169689Skan	(rebuild_jump_labels):  Set timevar
31651169689Skan	* regcalss.c: Include timevar.h
31652169689Skan	(reg_scan):  Set timevar
31653169689Skan	* timevar.def (TV_ALIAS_ANALYSIS, TV_REG_SCAN, TV_REBUILD_JUMP): New
31654169689Skan
31655169689Skan2003-02-26  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
31656169689Skan
31657169689Skan	* cse.c (count_reg_usage): Fix handling of REG_EQUAL notes.
31658169689Skan
31659169689Skan	* Makefile.in (loop-unroll.o): New.
31660169689Skan	* cfgloop.h (UAP_PEEL, UAP_UNROLL, UAP_UNROLL_ALL): New.
31661169689Skan	(unroll_and_peel_loops): Declare.
31662169689Skan	* alias.c (init_alias_analysis): Flag_unroll_loops renamed to
31663169689Skan	flag_old_unroll_loops.
31664169689Skan	* loop.c (loop_invariant_p): Ditto.
31665169689Skan	* unroll.c (unroll_loop): Flag_unroll_all_loops renamed to
31666169689Skan	flag_old_unroll_all_loops.
31667169689Skan	* flags.h (flag_unroll_loops): Renamed to flag_old_unroll_loops.
31668169689Skan	(flag_unroll_all_loops): Renamed to flag_old_unroll_all_loops.
31669169689Skan	* params.def (PARAM_MAX_UNROLLED_INSNS): Default value changed.
31670169689Skan	(PARAM_MAX_AVERAGE_UNROLLED_INSNS, PARAM_MAX_UNROLL_TIMES,
31671169689Skan	PARAM_MAX_PEELED_INSNS, PARAM_MAX_PEEL_TIMES,
31672169689Skan	PARAM_MAX_COMPLETELY_PEELED_INSNS, PARAM_MAX_COMPLETELY_PEEL_TIMES,
31673169689Skan	PARAM_MAX_ONCE_PEELED_INSNS): New.
31674169689Skan	* toplev.h (flag_old_unroll_loops, flag_old_unroll_all_loops): New.
31675169689Skan	(flag_unroll_loops, flag_unroll_all_loops): Used for new unroller
31676169689Skan	instead of old one.
31677169689Skan	(flag_peel_loops): New.
31678169689Skan	(lang_independent_options): The new flags added.
31679169689Skan	(rest_of_compilation): Call new unroller.
31680169689Skan	(process_options): Setup flags for coexistence of old and new unroller.
31681169689Skan	* doc/invoke.texi: Document new options.
31682169689Skan	* doc/passes.texi: Document new unroller pass.
31683169689Skan
31684169689Skan2003-02-26  David Billinghurst <David.Billinghurst@riotinto.com>
31685169689Skan
31686169689Skan	* fixinc/fixincl.x: Regenerate
31687169689Skan
31688169689Skan2003-02-26  Josef Zlomek  <zlomekj@suse.cz>
31689169689Skan
31690169689Skan	* function.c (assign_parms): Set reg_attrs for parameters passed in
31691169689Skan	registers.
31692169689Skan
31693169689Skan2003-02-26  Alan Modra  <amodra@bigpond.net.au>
31694169689Skan
31695169689Skan	PR target/9681
31696169689Skan	* tlink.c (scan_linker_output): Drop leading '.' from symbol names.
31697169689Skan
31698169689Skan2003-02-25  David Edelsohn  <edelsohn@gnu.org>
31699169689Skan
31700169689Skan	* config/rs6000/xcoff.h (ASM_FILE_START): Do not emit machine
31701169689Skan	pseudo-op.
31702169689Skan
31703169689Skan2003-02-25  Roger Sayle  <roger@eyesopen.com>
31704169689Skan
31705169689Skan	* combine.c (combine_simplify_rtx, simplfy_comparison):  Use CC0_P.
31706169689Skan	* cse.c (invalidate_skipped_set):  Likewise.
31707169689Skan	* integrate.c (subst_constants):  Likewise.
31708169689Skan	* jump.c (reversed_comparison_code_parts):  Likewise.
31709169689Skan	* loop.c (canonicalize_condition):  Likewise.
31710169689Skan	* simplify-rtx.c (simplify_relational_operation):  Likewise.
31711169689Skan
31712169689Skan2003-02-25  Roger Sayle  <roger@eyesopen.com>
31713169689Skan
31714169689Skan	* builtins.def (DEF_LIB_ALWAYS_BUILTIN, DEF_UNUSED_BUILTIN): Delete.
31715169689Skan	(abs, labs, fabs, fabsf, fabsl, abort, exit, _exit, _Exit):  Use
31716169689Skan	the appropriate macro to define built-in function.
31717169689Skan	(fmod,fmodf,fmodl): New built-in functions.
31718169689Skan
31719169689Skan	* doc/extend.texi (fmod,fmodf,fmodl): Document new built-ins.
31720169689Skan
31721169689Skan2003-02-25  Richard Henderson  <rth@redhat.com>
31722169689Skan
31723169689Skan	* config/i386/i386.c (function_arg): Pass variable sized
31724169689Skan	structures correctly on the stack.
31725169689Skan
31726169689Skan2003-02-25  Kazu Hirata  <kazu@cs.umass.edu>
31727169689Skan
31728169689Skan	* reload1.c (reload_cse_move2add): Use STRICT_LOW_PART if PLUS
31729169689Skan	does not reduce the cost of SET.
31730169689Skan
31731169689Skan2003-02-25  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
31732169689Skan
31733169689Skan	PR target/9732
31734169689Skan	* config/rs6000/rs6000.c (first_reg_to_save): Handle
31735169689Skan	PIC_OFFSET_TABLE_REGNUM for -fPIC too.
31736169689Skan	(rs6000_emit_prologue): Likewise.
31737169689Skan	(rs6000_emit_epilogue): Likewise.
31738169689Skan	* config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Make
31739169689Skan	PIC_OFFSET_TABLE_REGNUM a fixed register for -fPIC.
31740169689Skan
31741169689Skan2003-02-25  Richard Henderson  <rth@redhat.com>
31742169689Skan
31743169689Skan	* real.c (real_to_integer2): Force overflow result only for
31744169689Skan	unsigned overflow.
31745169689Skan
31746169689Skan2003-02-25  Kazu Hirata  <kazu@cs.umass.edu>
31747169689Skan
31748169689Skan	* gcse.c (cprop_jump): Revert the 2003-02-23 change.
31749169689Skan
31750169689Skan2003-02-25  Vladimir Makarov  <vmakarov@toke.toronto.redhat.com>
31751169689Skan	    Richard Henderson  <rth@redhat.com>
31752169689Skan
31753169689Skan	* sched-ebb.c (add_deps_for_risky_insns): Add the dependence when
31754169689Skan	there is no similar load.
31755169689Skan
31756169689Skan2003-02-25  Vladimir Makarov  <vmakarov@redhat.com>
31757169689Skan	    Richard Henderson  <rth@redhat.com>
31758169689Skan
31759169689Skan	* sched-int.h (INSN_TRAP_CLASS, WORST_CLASS): Move them from
31760169689Skan	sched-rgn.c.
31761169689Skan	(add_forward_dependence): New function prototype.
31762169689Skan
31763169689Skan	* sched-rgn.c (INSN_TRAP_CLASS, WORST_CLASS): Move them to
31764169689Skan	sched-init.h.
31765169689Skan	(CONST_BASED_ADDRESS_P, may_trap_exp, haifa_classify_insn): Move
31766169689Skan	them to haifa-sched.c.
31767169689Skan
31768169689Skan	* haifa-sched.c (CONST_BASED_ADDRESS_P, may_trap_exp,
31769169689Skan	haifa_classify_insn): Move them from sched-rgn.c.
31770169689Skan
31771169689Skan	* sched-deps.c (add_dependence): Return flag of creating a new
31772169689Skan	entry.
31773169689Skan	(add_forward_dependence): New function.
31774169689Skan	(compute_forward_dependences): Use the function.
31775169689Skan
31776169689Skan	* sched-ebb.c (earliest_block_with_similiar_load): New function.
31777169689Skan	(add_deps_for_risky_insns): New function.
31778169689Skan	(schedule_ebb): Call the function.
31779169689Skan
31780169689Skan2003-02-20  Aldy Hernandez  <aldyh@redhat.com>
31781169689Skan
31782169689Skan	* doc/tm.texi: Document Rename TARGET_VECTOR_TYPES_COMPATIBLE to
31783169689Skan	TARGET_VECTOR_OPAQUE_P.  Document accordingly.
31784169689Skan
31785169689Skan	* testsuite/gcc.dg/20030218-1.c: Check that initialization of
31786169689Skan	opaque types fail.
31787169689Skan
31788169689Skan	* c-typeck.c (comptypes): Change call to vector_types_compatible
31789169689Skan	to vector_opaque_p.
31790169689Skan	(convert_for_assignment): Call vector_opaque_p instead of
31791169689Skan	vector_types_compatible.
31792169689Skan	(really_start_incremental_init): Disallow initialization of opaque
31793169689Skan	types.
31794169689Skan
31795169689Skan	* target-def.h: Remove TARGET_VECTOR_TYPES_COMPATIBLE.
31796169689Skan	Define TARGET_VECTOR_OPAQUE_P.
31797169689Skan	(TARGET_INITIALIZER): Same.
31798169689Skan
31799169689Skan	* target.h (struct gcc_target): Remove vector_types_compatible.
31800169689Skan	Add vector_opaque_p.
31801169689Skan
31802169689Skan	* config/rs6000/rs6000.c (rs6000_spe_vector_types_compatible):
31803169689Skan	Remove.
31804169689Skan	(is_ev64_opaque_type): Check for TARGET_SPE and make sure type is
31805169689Skan	a vector type.  Change return type to bool.
31806169689Skan	(TARGET_VECTOR_TYPES_COMPATIBLE): Remove.
31807169689Skan	(TARGET_VECTOR_OPAQUE_P): Define.
31808169689Skan
31809169689Skan	* cp/parser.c (cp_parser_init_declarator): Call vector_opaque_p
31810169689Skan	target hook.
31811169689Skan	Include target.h.
31812169689Skan	(cp_parser_init_declarator): Fix typo in function comments.
31813169689Skan
31814169689Skan2003-02-25  Jan Hubicka  <jh@suse.cz>
31815169689Skan
31816169689Skan	* Makefile.in (lcm.o):  Add dependency on function.h
31817169689Skan	* lcm.c (function.h): Include.
31818169689Skan	* i386.c (machine_function, ix86_stack_locals,
31819169689Skan	* ix86_save_varrargs_registers) : Move to
31820169689Skan	...
31821169689Skan	* i386.h (machine_function, ix86_stack_locals,
31822169689Skan	ix86_save_varrargs_registers): ... here; add optimize_mode_switching
31823169689Skan	(ix86_optimize_mode_switching): New.
31824169689Skan	* i386.md (fix patterns): Set ix86_optimize_mode_switching
31825169689Skan
31826169689Skan2003-02-25  Nick Clifton  <nickc@redhat.com>
31827169689Skan
31828169689Skan	* config/d30v/d30v.c (d30v_init_cumulative_args): Fix typo.  Name
31829169689Skan	of fourth arg is 'fndecl' not 'indirect'.  Update comment
31830169689Skan	describing the function's parameters.
31831169689Skan
31832169689Skan2003-02-24  Jan Hubicka  <jh@suse.cz>
31833169689Skan
31834169689Skan	* combine.c (simplify_shift_const):  Fix previous patch.
31835169689Skan
31836169689Skan2003-02-24  Jeff Law  <law@redhat.com>
31837169689Skan
31838169689Skan	* i386.md (testdi_1_rex64): Discourage reload from using the %eax
31839169689Skan	alternative.
31840169689Skan	(testsi_1, testhi_1, testqi_1): Likewise.
31841169689Skan
31842169689Skan2003-02-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
31843169689Skan
31844169689Skan	* config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Rename
31845169689Skan	__EXTERN_PREFIX to __PRAGMA_EXTERN_PREFIX.
31846169689Skan	* doc/extend.texi (Tru64 Pragmas): Reflect this.
31847169689Skan
31848169689Skan	* fixinc/inclhack.def (alpha___extern_prefix): Indicate #pragma
31849169689Skan	extern_prefix support for Tru64 UNIX V5 <sys/stat.h>.
31850169689Skan	* fixinc/fixincl.x: Regenerate.
31851169689Skan	* fixinc/tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_CHECK]: New
31852169689Skan	testcase.
31853169689Skan	Fixes PR c/5059, c/6126, other/9671.
31854169689Skan
31855169689Skan2003-02-24  Roger Sayle  <roger@eyesopen.com>
31856169689Skan
31857169689Skan	* gcc.c (do_spec_1) ['{']:  Handle pending argument upon return
31858169689Skan	from handle_braces in "%{...}".
31859169689Skan
31860169689Skan2003-02-24  Kaz Kojima  <kkojima@gcc.gnu.org>
31861169689Skan
31862169689Skan	* config/sh/sh.c (TARGET_HAVE_TLS): Conditionally define.
31863169689Skan	(prepare_move_operands): Handle TLS operands.
31864169689Skan	(tls_symbolic_operand): New.
31865169689Skan	(nonpic_symbol_mentioned_p): Handle TLS UNSPECs.
31866169689Skan	(legitimize_pic_address): Do nothing for the TLS symbol.
31867169689Skan	(sh_encode_section_info): Handle TLS case.
31868169689Skan	(sh_strip_name_encoding): Drop TLS encoding.
31869169689Skan	* config/sh/sh-protos.h (tls_symbolic_operand): Add prototype.
31870169689Skan	* config/sh/sh.h (SH_TLS_ENCODING): Define.
31871169689Skan	(TLS_SYMNAME_P, STRIP_TLS_ENCODING): Likewise.
31872169689Skan	(ASM_OUTPUT_LABELREF): Drop TLS encoding.
31873169689Skan	(OUTPUT_ADDR_CONST_EXTRA): Handle TLS UNSPECs.
31874169689Skan	* config/sh/sh.md: Define TLS UNSPEC constants.
31875169689Skan	(type): Add tls_load.
31876169689Skan	("tls_global_dynamic", "tls_local_dynamic"): New insns.
31877169689Skan	("sym2DTPOFF", "symDTPOFF2reg", "sym2GOTTPOFF"): New expanders.
31878169689Skan	("tls_initial_exec"): New insn.
31879169689Skan	("sym2TPOFF", "symTPOFF2reg"): New expanders.
31880169689Skan	("load_gbr"): New insn.
31881169689Skan
31882169689Skan	* configure.in (HAVE_AS_TLS): Add sh-*-* and sh[34]*-*-* cases.
31883169689Skan	* configure: Regenerate.
31884169689Skan
31885169689Skan2003-02-24  Alan Modra  <amodra@bigpond.net.au>
31886169689Skan
31887169689Skan	PR 9297, PR 9722
31888169689Skan	* calls.c (store_one_arg): Revert 1999-02-16 change.  Revert
31889169689Skan	2000-12-17 change.  Pass EXPAND_STACK_PARM to expand_expr.
31890169689Skan	* expr.h (enum expand_modifier): Define EXPAND_STACK_PARM.
31891169689Skan	(enum block_op_methods): Reorder for better store_expr optimization.
31892169689Skan	* expr.c (store_expr): Test bit 1 of "want_value" for call param
31893169689Skan	stores, test bit 0 for original want_value meaning.  Pass
31894169689Skan	BLOCK_OP_CALL_PARM to emit_block_move when bit 1 set.  Adjust
31895169689Skan	recursive calls, and calls to expand_param.
31896169689Skan	(expand_expr): Handle EXPAND_STACK_PARM modifier.  When cse
31897169689Skan	expected, set target to 0 rather than to subtarget.  Formatting.
31898169689Skan
31899169689Skan2003-02-23  Kazu Hirata  <kazu@cs.umass.edu>
31900169689Skan
31901169689Skan	* gcse.c (cprop_jump): Use the REG_EQUAL note if available.
31902169689Skan
31903169689Skan2003-02-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
31904169689Skan
31905169689Skan	* doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Document
31906169689Skan	new default behavior.
31907169689Skan	* ggc-common.c: Include sys/resource.h.
31908169689Skan	(ggc_rlimit_bound): New function.
31909169689Skan	(ggc_min_expand_heuristic, ggc_min_heapsize_heuristic): Update
31910169689Skan	defaults to account for rlimits.
31911169689Skan
31912169689Skan2003-02-22  Richard Henderson  <rth@redhat.com>
31913169689Skan
31914169689Skan	* i386.c, i386.h (TUNEMASK): Rename from CPUMASK.
31915169689Skan
31916169689Skan2003-02-22  Kelley Cook <kelley@dwhoops.info>
31917169689Skan
31918169689Skan	* i386.h, i386.c, i386.md (ix86_tune): Rename from ix86_cpu.
31919169689Skan	(ix86_tune_string): Rename from ix86_cpu_string.
31920169689Skan
31921169689Skan2003-02-22  Kelley Cook <kelleycook@comcast.net>
31922169689Skan
31923169689Skan	* config/i386/i386.c: Replace "mcpu" with "mtune".
31924169689Skan	* config/i386/i386.h (TARGET_OPTIONS): Likewise.
31925169689Skan	(CC1_CPU_SPEC): Likewise. New warning for "-mcpu".
31926169689Skan	* doc/invoke.texi (i386 and x86-64 Options): Replace "mcpu"
31927169689Skan	with "mtune".  Note that "mcpu" is a deprecated synonym for "mtune".
31928169689Skan
31929169689Skan2003-02-23  Andreas Schwab  <schwab@suse.de>
31930169689Skan
31931169689Skan	* config.gcc: Delete references to m68k/t-linux and
31932169689Skan	m68k/t-linux-aout.
31933169689Skan	* config/m68k/t-linux, config/m68k/t-linux-aout: Removed.
31934169689Skan
31935169689Skan2003-02-22  Jan Hubicka  <jh@suse.cz>
31936169689Skan
31937169689Skan	* toplev.c (rest_of_compilation):  Apply fotgotten hunk
31938169689Skan	of track scheduling patch.
31939169689Skan
31940169689Skan2003-02-22  Jan Hubicka  <jh@suse.cz>
31941169689Skan
31942169689Skan	* config/linux.h (TARGET_HAS_F_SETLKW): Define.
31943169689Skan	* config/alpha/linux.h (TARGET_HAS_F_SETLKW): Likewise
31944169689Skan
31945169689Skan2003-02-22  Jan Hubicka  <jh@suse.cz>
31946169689Skan
31947169689Skan	* c-decl.c (c_expand_body_1): Fix.
31948169689Skan
31949169689Skan2003-02-22  Jan Hubicka  <jh@suse.cz>
31950169689Skan
31951169689Skan	* expmed.c (expand_divmod): Undo sign extensions for unsigned operands
31952169689Skan
31953169689Skan	* cfgcleanup.c (try_forward_edges):  Don't check loop structures
31954169689Skan	when not optimizing.
31955169689Skan	(cleanup_cfg): Do not iterate trought delete_trivially_dead_insns
31956169689Skan	when not expensive.
31957169689Skan	* toplev.c (rest_of_compilation):  Duplicate loop headers only when
31958169689Skan	optimizing;  Delete trivially dead insns early; fix optimize check.
31959169689Skan
31960169689Skan	* Makefile.in (c-decl.o, c-objc-common.o, cgraph.o, tree-inline.o): Add
31961169689Skan	dependency on cgraph.h
31962169689Skan	* c-decl.c: Include cgraph.h
31963169689Skan	(finish_function): Update call of tree_inlinable_function_p.
31964169689Skan	* c-objc-common.c: Include cgraph.h
31965169689Skan	* cgraph.h: New file.
31966169689Skan	* cgraphunit.c: New file.
31967169689Skan	* cgraph.c (cgraph_node, cgraph_edge): Move into cgraph.h
31968169689Skan	(cgraph_nodes, cgraph_n_nodes): Globalize.
31969169689Skan	(cgraph_finalize_function, cgraph_finalize_compilation_unit
31970169689Skan	cgraph_create_edges, cgraph_optimize, cgraph_mark_needed_node):
31971169689Skan	Move into cgraphunit.c
31972169689Skan	* tree-inline.c: Include cgraph.h
31973169689Skan	* tree-inline.c: Include cgraph.h
31974169689Skan
31975169689Skan2003-02-22  Josef Zlomek  <zlomekj@suse.cz>
31976169689Skan
31977169689Skan	* config/i386/i386.md: Use gen_lowpart instead of gen_rtx_REG
31978169689Skan	for copying a register.
31979169689Skan
31980169689Skan2003-02-22  Steven Bosscher  <s.bosscher@student.tudelft.nl>
31981169689Skan
31982169689Skan	PR other/3782
31983169689Skan	* toplev.c (process_options): If flag_detailed_statistics is set,
31984169689Skan	then set time_report as well.
31985169689Skan
31986169689Skan	PR c/8828
31987169689Skan	* jump.c (never_reached_warning): Don't fall through BARRRIER
31988169689Skan	insns.  Update comments to reflect what the function really does.
31989169689Skan
31990169689Skan2003-02-21  Roger Sayle  <roger@eyesopen.com>
31991169689Skan
31992169689Skan	* fold-const.c (omit_one_operand): No longer static.
31993169689Skan	* tree.h (omit_one_operand): Prototype here.
31994169689Skan	(div_and_round_double): Keep fold-const.c prototypes together.
31995169689Skan	* builtins.c (builtin_mathfn_code): Handle binary built-in
31996169689Skan	funtions, such as "pow" and "atan2".
31997169689Skan	(fold_builtin): Optimize both pow(x,0.0) and pow(1.0,y) to 1.0.
31998169689Skan	Simplify optimizations using "type" the builtin's return type.
31999169689Skan
32000169689Skan2003-02-22  Hans-Peter Nilsson  <hp@axis.com>
32001169689Skan
32002169689Skan	* config/cris/cris.c (cris_rtx_costs): Blockify dangling else.
32003169689Skan	Fix functionalization typo.
32004169689Skan
32005169689Skan	* regmove.c (optimize_reg_copy_1): Do not replace a hard register
32006169689Skan	in an asm.
32007169689Skan
32008169689Skan2003-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
32009169689Skan
32010169689Skan	* Makefile.in (ggc-common.o): Depend on $(PARAMS_H)
32011169689Skan	* doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Update
32012169689Skan	documentation.
32013169689Skan	* ggc-common.c: Include params.h
32014169689Skan	(ggc_min_expand_heuristic, ggc_min_heapsize_heuristic,
32015169689Skan	init_ggc_heuristics): New functions.
32016169689Skan	* ggc.h (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic,
32017169689Skan	init_ggc_heuristics): Prototype.
32018169689Skan	* toplev.c (print_version):  Output GGC heuristics.
32019169689Skan	(parse_options_and_default_flags): Call init_ggc_heuristics.
32020169689Skan
32021169689Skan2003-02-22  Jan Hubicka  <jh@suse.cz>
32022169689Skan
32023169689Skan	* i386.c (def_builtin):  Special case 64bit builtins.
32024169689Skan	(MASK_SSE164, MASK_SSE264): New constants.
32025169689Skan	(builtin_description): Add 64bit builtins.
32026169689Skan	(ix86_init_mmx_sse_builtins): Likewise.
32027169689Skan	* i386.h (enum ix86_builtins): Likewise.
32028169689Skan	* i386.md (cvtss2siq, cvttss2siq, cvtsd2siq, cvttsd2siq, cvtsi2sdq,
32029169689Skan	sse2_movq2dq_rex64, sse2_movsq2q_rex64): New.
32030169689Skan	(sse2_movq2dq, sse2_movsq2q): Disable for 64bit.
32031169689Skan	* mmintrin.h (_mm_cvtsi64x_si64, _mm_set_pi64x, _mm_cvtsi64_si64x): New.
32032169689Skan	* xmmintrin.h (_mm_cvtss_si64x, _mm_cvttss_si64x, _mm_cvtsi64x_ss,
32033169689Skan	_mm_set_epi64x, _mm_set1_epi64x, _mm_cvtsd_si64x, _mm_cvttsd_si64x,
32034169689Skan	_mm_cvtsi64x_sd, _mm_cvtsi64x_si128, _mm_cvtsi128_si64x): New.
32035169689Skan
32036169689Skan2003-02-22  Jan Hubicka  <jh@suse.cz>
32037169689Skan
32038169689Skan	* i386.c (builtin_description): Add __builtin_ia32_paddq and
32039169689Skan	__builtin_ia32_psubq. Fix __builtin_ia32_paddq128
32040169689Skan	 and __builtin_ia32_psubq128.
32041169689Skan	* i386.h (IX86_BUILTIN_PADDQ, IX86_BUILTIN_PSUBQ): New.
32042169689Skan	* i386.md (addv*, mmx_ior*, mmx_xoe*, mmx_and*): Add missing '%'.
32043169689Skan	(mmx_adddi3, mmx_subdi3): New.
32044169689Skan	* mmintrin.h (_mm_add_si64, _mm_sub_si64): New.
32045169689Skan	* xmmintrin.h (_mm_movepi64_pi64): New.
32046169689Skan	(_mm_add_epi64, _mm_sub_epi64): fix.
32047169689Skan	(_mm_mul_pu16): Rename to...
32048169689Skan	(_mm_mul_su32): ... this one.
32049169689Skan
32050169689Skan	* builtins.c (expand_builtin_expect):  Do not predict
32051169689Skan	flag_guess_branch_prob is not set.
32052169689Skan	* c-semantics.c (expand_stmt): Likewise.
32053169689Skan	* predict.c (predict_insn): Likewise.
32054169689Skan	* stmt.c (expand_continue_loop): Likewise.
32055169689Skan	* toplev.c (rest_of_compilation): Do not call
32056169689Skan	note_prediction_to_br_prob and note_prediction_to_br_prob
32057169689Skan	when not optimizing.
32058169689Skan
32059169689Skan2003-02-21  Jan Hubicka  <jh@suse.cz>
32060169689Skan
32061169689Skan	* cfgrtl.c (commit_edge_insertions):  Call
32062169689Skan	find_many_sub_basic_block only when some code has been emitted.
32063169689Skan	(commit_edge_insertions_watch_calls): Bring into sync with
32064169689Skan	commit_edge_insertions
32065169689Skan
32066169689Skan2003-02-21  J"orn Rennecke <joern.rennecke@superh.com>
32067169689Skan
32068169689Skan	* sh.h (OVERRIDE_OPTIONS): Fix code that clears 'e' register class.
32069169689Skan
32070169689Skan	* sh.md (binary_sf_op): Use extra constant operand instead of
32071169689Skan	negating constant operand 4.
32072169689Skan	* sh.c (sh_expand_binop_v2sf): Supply it.
32073169689Skan
32074169689Skan2003-02-21  Zack Weinberg  <zack@codesourcery.com>
32075169689Skan
32076169689Skan	* cpphash.h (struct lexer_state): Add directive_wants_padding.
32077169689Skan	* cpplib.c (_cpp_handle_directive): Set directive_wants_padding
32078169689Skan	for directives of type INCL.
32079169689Skan	(glue_header_name, parse_include): Use get_token_no_padding.
32080169689Skan	* cppmacro.c (replace_args): If directive_wants_padding,
32081169689Skan	provide padding tokens.
32082169689Skan
32083169689Skan2003-02-21  Kazu Hirata  <kazu@cs.umass.edu>
32084169689Skan
32085169689Skan	* config/h8300/h8300.md (a peephole2): New.
32086169689Skan
32087169689Skan2003-02-21  Jan Hubicka  <jh@suse.cz>
32088169689Skan
32089169689Skan	* cfgrtl.c (commit_one_edge_insertion): Only mark BB for splitting.
32090169689Skan	(commit_edge_insertions): Call find_many_sub_basic_blocks
32091169689Skan
32092169689Skan	* reg-stack.c (convert_regs): Cleax aux for blocks.
32093169689Skan
32094169689Skan2003-02-21  Jan Hubicka  <jh@suse.cz>
32095169689Skan
32096169689Skan	* toplev.c (parse_options_and_default_flags): Undo accidental commit.
32097169689Skan
32098169689Skan2003-02-21  Glen Nakamura  <glen@imodulo.com>
32099169689Skan
32100169689Skan	PR optimization/8613
32101169689Skan	* builtins.c (expand_builtin): Emit postincrements before expanding
32102169689Skan	builtin functions.
32103169689Skan
32104169689Skan2003-02-21  Ben Elliston  <bje@redhat.com>
32105169689Skan
32106169689Skan	PR other/5634
32107169689Skan	* doc/install.texi (Configuration): Explain using $HOME instead of
32108169689Skan	the ~ metacharacter when referring to home directories.
32109169689Skan
32110169689Skan2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
32111169689Skan
32112169689Skan	* configure.in (TARGET_SYSTEM_ROOT): Set default to
32113169689Skan	${exec_prefix}/${target_alias}/sys-root.  Match explicit
32114169689Skan	'${exec_prefix}' (in addition to the expansion thereof) as
32115169689Skan	relocatable.
32116169689Skan	* configure: Rebuilt.
32117169689Skan
32118169689Skan2003-02-20  Kazu Hirata  <kazu@cs.umass.edu>
32119169689Skan
32120169689Skan	* config/h8300/h8300.md (addhi3_incdec): Change the name to
32121169689Skan	*addhi3_incdec.
32122169689Skan	(addsi3_incdec): Change the name to *addsi3_incdec.
32123169689Skan
32124169689Skan2003-02-20  Roger Sayle  <roger@eyesopen.com>
32125169689Skan
32126169689Skan	* explow.c (force_reg): Avoid useless REG_EQUAL notes.
32127169689Skan
32128169689Skan2003-02-20  Toon Moene  <toon@moene.indiv.nluug.nl>
32129169689Skan
32130169689Skan	PR fortran/9038
32131169689Skan	* c-opts.c (sanitize_cpp_opts): Add Fortran front end
32132169689Skan	options to be ignored.
32133169689Skan	(c_common_decode_option): Ignore them when preprocessing.
32134169689Skan
32135169689Skan2003-02-20  Jan Hubicka  <jh@suse.cz>
32136169689Skan
32137169689Skan	* toplev.c (flag_sched2_use_superblocks, flag_sched2_use_traces): New
32138169689Skan	global variables.
32139169689Skan	(lang_independent_options):  Add -fsched2-use-superblocks
32140169689Skan	-fsced2-use-traces.
32141169689Skan	(rest_of_compilation): Deal with it.
32142169689Skan	* invoke.texi (-fsched2-use-traces, fsched2-use-superblocks):  Declare.
32143169689Skan	* flags.h (flag_sched2_use_superblocks, flag_sched2_use_traces):
32144169689Skan	Declare.
32145169689Skan	* rtl.h (reg_to_stack):  Update prototype.
32146169689Skan	* reg-stack.c (reg_to_stack): Return when something has changed;
32147169689Skan	update liveness when executing after superblock scheduling.
32148169689Skan
32149169689Skan	* combine.c (simplify_shift_const):  Simplify few special cases
32150169689Skan	into constants.
32151169689Skan
32152169689Skan2003-02-20  David Edelsohn  <edelsohn@gnu.org>
32153169689Skan
32154169689Skan	* config/rs6000/rs6000.md: (attr "type"): Add fast_compare.
32155169689Skan	(add.,subf.,neg.): Change attribute to fast_compare.
32156169689Skan	All DFA descriptions updated.
32157169689Skan
32158169689Skan2003-02-20  Nathan Sidwell  <nathan@codesourcery.com>
32159169689Skan
32160169689Skan	Change base class access representation.
32161169689Skan	* tree.h (TREE_VIA_PUBLIC, TREE_VIA_PROTECTED,
32162169689Skan	TREE_VIA_PRIVATE): Remove.
32163169689Skan	(BINFO_BASEACCESSES): New binfo elt.
32164169689Skan	(BINFO_BASEACCESS): New accessor.
32165169689Skan	(BINFO_ELTS): Increase.
32166169689Skan	(TI_ACCESS_PUBLIC, TI_ACCESS_PROTECTED, TI_ACCESS_PRIVATE): New.
32167169689Skan	(access_public_node, access_protected_node,
32168169689Skan	access_private_node): New global nodes.
32169169689Skan	* tree.c (build_common_tree_nodes_2): Initialize access nodes.
32170169689Skan	* dbxout.c (dbxout_type): Adjust.
32171169689Skan	* dwarf2out.c (gen_inheritance_die): Add access parameter.
32172169689Skan	(gen_member_die): Adjust.
32173169689Skan	* dwarfout.c (output_inheritance_die): ARG is array of two trees.
32174169689Skan	(output_type): Adjust.
32175169689Skan	* tree-dump.c (dequeue_and_dump): Adjust binfo dumping.
32176169689Skan
32177169689Skan	Change base class access representation. Share virtual base
32178169689Skan	binfos.
32179169689Skan	* cp/call.c (build_special_member_call): Remove binfo_for_vbase
32180169689Skan	call.
32181169689Skan	* cp/class.c (build_base_path): Likewise.
32182169689Skan	(build_primary_vtable): Adjust BINFO_NEW_VTABLE_MARKED use.
32183169689Skan	(build_secondary_vtable): Remove FOR_TYPE arg. Adjust.
32184169689Skan	(make_new_vtable): Adjust.
32185169689Skan	(force_canonical_binfo_r): Delete.
32186169689Skan	(force_canonical_binfo): Delete.
32187169689Skan	(mark_primary_virtual_base): Delete.
32188169689Skan	(dfs_unshared_virtual_bases): Delete.
32189169689Skan	(mark_primary_bases): Adjust.
32190169689Skan	(maybe_warn_about_overly_private_class): Adjust.
32191169689Skan	(dfs_base_derived_from): Delete.
32192169689Skan	(base_derived_from): Follow the inheritance chain.
32193169689Skan	(struct find_final_overrider_data): Add vpath member.
32194169689Skan	(dfs_find_final_overrider): Adjust.
32195169689Skan	(dfs_find_final_overrider_q, dfs_find_final_overrider_post): New.
32196169689Skan	(find_final_overrider): Adjust.
32197169689Skan	(update_vtable_entry_for_fn): Adjust.
32198169689Skan	(modify_all_vtables): Adjust.
32199169689Skan	(walk_subobject_offsets): Adjust.
32200169689Skan	(layout_nonempty_base_or_field): Adjust.
32201169689Skan	(layout_empty_base): Remove last parameter. Adjust.
32202169689Skan	(build_base_field): Adjust.
32203169689Skan	(build_base_fields): Adjust.
32204169689Skan	(propagate_binfo_offsets): Remove last parameter. Adjust.
32205169689Skan	(dfs_set_offset_for_unshared_vbases): Delete.
32206169689Skan	(layout_virtual_bases): Adjust.
32207169689Skan	(finish_struct_1): Adjust.
32208169689Skan	(init_class_processing): Don't init access nodes.
32209169689Skan	(dfs_get_primary_binfo): Delete.
32210169689Skan	(get_primary_binfo): Adjust.
32211169689Skan	(dump_class_hierarchy_r): Remove most derived arg, add IGO
32212169689Skan	parameter. Adjust.
32213169689Skan	(dump_class_hierarchy): Adjust.
32214169689Skan	(finish_vtbls): Adjust.
32215169689Skan	(get_original_base): Delete.
32216169689Skan	(build_vtt_inits): Adjust.
32217169689Skan	(dfs_build_secondary_vptr_vtt_inits): Adjust.
32218169689Skan	(dfs_ctor_vtable_bases_queue_p): Adjust.
32219169689Skan	(build_ctor_vtbl_group): Adjust.
32220169689Skan	(dfs_accumulate_vtbl_inits): Adjust.
32221169689Skan	(build_vtbl_initializer): Adjust.
32222169689Skan	(build_vbase_offset_vtbl_entries): Adjust.
32223169689Skan	(add_vcall_offset_vtbl_entries_1): Adjust.
32224169689Skan	* cp/cp-tree.h (CPTI_ACCESS_*): Remove.
32225169689Skan	(access_*_node): Remove.
32226169689Skan	(CANONICAL_BINFO): Delete.
32227169689Skan	(BINFO_UNSHARED_MARKED): Remove.
32228169689Skan	(BINFO_MARKED): Set LANG_FLAG_0 directly.
32229169689Skan	(SET_BINFO_MARKED, CLEAR_BINFO_MARKED): Delete.
32230169689Skan	(BINFO_VTABLE_PATH_MARKED): Set LANG_FLAG_3 directly.
32231169689Skan	(SET_BINFO_VTABLE_PATH_MARKED, CLEAR_BINFO_VTABLE_PATH_MARKED):
32232169689Skan	Delete.
32233169689Skan	(BINFO_NEW_VTABLE_MARKED): Set LANG_FLAG_4 directly.
32234169689Skan	(SET_BINFO_NEW_VTABLE_MARKED): Adjust.
32235169689Skan	(SET_BINFO_PUSHDECLS_MARKED, CLEAR_BINFO_PUSHDECLS_MARKED):
32236169689Skan	Delete.
32237169689Skan	(BINFO_DEPENDENT_BASE_P): New.
32238169689Skan	(dfs_walk, dfs_walk_real): Queue function takes derived binfo and
32239169689Skan	index.
32240169689Skan	(markedp, unmarkedp): Adjust.
32241169689Skan	(dfs_unmarked_real_bases_queue_p, dfs_marked_real_bases_queue_p,
32242169689Skan	dfs_skip_vbases, marked_vtable_pathp, unmarked_vtable_pathp,
32243169689Skan	find_vbase_instance, binfo_for_vbase): Delete.
32244169689Skan	(copied_binfo, original_binfo): Declare.
32245169689Skan	(finish_base_specifier): Add virtual_p arg.
32246169689Skan	(unshare_base_binfos): Delete.
32247169689Skan	(copy_base_binfos): Declare.
32248169689Skan	(reverse_path): Delete.
32249169689Skan	* cp/decl.c (xref_basetypes): Access and virtuality passed
32250169689Skan	differently. Don't copy direct base binfos here. Call
32251169689Skan	copy_base_binfos.
32252169689Skan	* cp/init.c (dfs_initialize_vtbl_ptrs): Adjust.
32253169689Skan	(initialize_vtbl_ptrs): Adjust.
32254169689Skan	(expand_member_init): Adjust.
32255169689Skan	* cp/parser.c (cp_parser_base_specifier): Adjust.
32256169689Skan	* cp/pt.c (instantiate_class_template): Adjust.
32257169689Skan	(get_template_base_recursive): Adjust.
32258169689Skan	* cp/rtti.c (get_pseudo_ti_init): Adjust.
32259169689Skan	(get_pseudo_ti_desc): Adjust.
32260169689Skan	* cp/tree.c (unshare_base_binfos): Rename to ...
32261169689Skan	(copy_base_binfos): ... here, reimplement.
32262169689Skan	(make_binfo): Set BINFO_DEPENDENT_BASE_P.
32263169689Skan	(reverse_path): Remove.
32264169689Skan	* cp/typeck.c (get_delta_difference): Adjust error messages.
32265169689Skan	* cp/semantics.c (finish_base_specifier): Add virtual arg, adjust.
32266169689Skan	* cp/search.c (lookup_base_r): Adjust.
32267169689Skan	(dynamic_cast_base_recurse): Adjust.
32268169689Skan	(canonical_binfo): Remove.
32269169689Skan	(dfs_canonical_queue): Remove.
32270169689Skan	(dfs_assert_unmarked_p): Remove.
32271169689Skan	(assert_canonical_unmarked): Remove.
32272169689Skan	(shared_marked_p, shared_unmarked_p): Remove.
32273169689Skan	(BINFO_ACCESS, SET_BINFO_ACCESS): Use TREE_PUBLIC & TREE_PRIVATE.
32274169689Skan	(dfs_access_in_type): Adjust.
32275169689Skan	(access_in_type): Adjust.
32276169689Skan	(dfs_accessible_queue_p): Adjust.
32277169689Skan	(dfs_accessible_p): Adjust.
32278169689Skan	(is_subobject_of_p_1, is_subobject_of_p): Remove.
32279169689Skan	(struct lookup_field_info): Remove from_dep_base_p field.
32280169689Skan	(lookup_field_queue_p): Adjust, test BINFO_DEPENDENT_BASE_P.
32281169689Skan	(lookup_field_r): Remove dependent base code.
32282169689Skan	(lookup_member): Likewise.
32283169689Skan	(dfs_walk, dfs_walk_real): Add access arg to queue fn.
32284169689Skan	(dfs_unmarked_real_bases_queue_p): Remove.
32285169689Skan	(dfs_marked_real_bases_queue_p): Remove.
32286169689Skan	(dfs_skip_vbases): Remove.
32287169689Skan	(dfs_get_pure_virtuals): Adjust.
32288169689Skan	(markedp, unmarkedp): Adjust.
32289169689Skan	(marked_vtable_pathp, unmarked_vtable_pathp): Remove.
32290169689Skan	(marked_pushdecls_p, unmarked_pushdecls_p): Adjust.
32291169689Skan	(dfs_unmark): Adjust.
32292169689Skan	(dfs_get_vbase_types):Remove.
32293169689Skan	(dfs_build_inheritance_graph_order): Remove.
32294169689Skan	(get_vbase_types): Remove
32295169689Skan	(dfs_find_vbase_instance): Remove.
32296169689Skan	(find_vbase_instance): Remove.
32297169689Skan	(dfs_debug_unmarkedp): Adjust.
32298169689Skan	(dependent_base_p): Remove.
32299169689Skan	(dfs_push_type_decls): Adjust.
32300169689Skan	(dfs_push_decls): Adjust.
32301169689Skan	(dfs_no_overlap_yet): Adjust.
32302169689Skan	(copied_binfo): New function.
32303169689Skan	(original_binfo): New function.
32304169689Skan	(binfo_for_vbase): Remove.
32305169689Skan
32306169689Skan	Change base class access representation.
32307169689Skan	* java/class.c (set_super_info): Don't set TREE_VIA_PUBLIC.
32308169689Skan	(add_interface_do): Likewise.
32309169689Skan
32310169689Skan2003-02-20  David Edelsohn  <edelsohn@gnu.org>
32311169689Skan
32312169689Skan	* config/rs6000/sysv4.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
32313169689Skan	* config/rs6000/power4.md (power4-store,power4-vecstore): New
32314169689Skan	insn reservations.
32315169689Skan	(power4-fpstore): Compact.
32316169689Skan
32317169689Skan2003-02-20  Kazu Hirata  <kazu@cs.umass.edu>
32318169689Skan
32319169689Skan	* config/h8300/h8300.md (*iorsi3_w): New.
32320169689Skan
32321169689Skan2003-02-20  Josef Zlomek  <zlomekj@suse.cz>
32322169689Skan
32323169689Skan	* combine.c (distribute_notes): Kill REG_EXEC_COUNT.
32324169689Skan	* rtl.c (reg_note_name): Likewise.
32325169689Skan	* rtl.h (enum reg_note): Likewise.
32326169689Skan	* doc/invoke.texi: Likewise.
32327169689Skan	* doc/rtl.texi: Likewise.
32328169689Skan
32329169689Skan2003-02-20  Josef Zlomek  <zlomekj@suse.cz>
32330169689Skan
32331169689Skan	* bb-reorder.c (find_traces_1_round): Fix comment typo.
32332169689Skan
32333169689Skan2003-02-19  Roger Sayle  <roger@eyesopen.com>
32334169689Skan
32335169689Skan	* fold-const.c (fold_real_zero_addition_p): Don't fold a zero
32336169689Skan	addition in the presence of signaling NaNs.
32337169689Skan
32338169689Skan2003-02-19  Krister Walfridsson  <cato@df.lth.se>
32339169689Skan
32340169689Skan	* tm.texi (INIT_CUMULATIVE_ARGS): Fix typo.
32341169689Skan
32342169689Skan2003-02-19  Kazu Hirata  <kazu@cs.umass.edu>
32343169689Skan
32344169689Skan	* config/h8300/h8300.c (output_logical_op): Optimize or.l when
32345169689Skan	ORing with 0xffff??00 with the highest bit of the ?? part set.
32346169689Skan	(compute_logical_op_length): Update.
32347169689Skan	(compute_logical_op_cc): Likewise.
32348169689Skan
32349169689Skan2003-02-19  Josef Zlomek  <zlomekj@suse.cz>
32350169689Skan
32351169689Skan	* bb-reorder.c (find_traces_1_round): Fixed condition for small
32352169689Skan	destination block with multiple predecessors.
32353169689Skan	(connect_traces): Check whether the block is a start of trace.
32354169689Skan
32355169689Skan2003-02-19  Jan Hubicka  <jh@suse.cz>
32356169689Skan
32357169689Skan	* calls.c (expand_call): Update call of INIT_CUMULATIVE_ARGS
32358169689Skan	* function.c (assign_params): Likewise.
32359169689Skan	* arm-protos.h (arm_init_cumulative_args): Update prototype.
32360169689Skan	* arm.c (arm_init_cumulative_args): Update function.
32361169689Skan	* arm.h (INIT_CUMULATIVE_ARGS): Update.
32362169689Skan	* avr-protos.h (init_cumulative_args): Update prototype.
32363169689Skan	* avr.c (init_cumulative_args): Update function.
32364169689Skan	* avr.h (INIT_CUMULATIVE_ARGS): Update.
32365169689Skan	* d30v-protos.h (d30v_init_cumulative_args): Update prototype.
32366169689Skan	* d30v.c (d30v_init_cumulative_args): Update function.
32367169689Skan	* d30v.h (INIT_CUMULATIVE_ARGS): Update.
32368169689Skan	* frv-protos.h (frv_init_cumulative_args): Update prototype.
32369169689Skan	* frv.c (frv_init_cumulative_args): Update function.
32370169689Skan	* frv.h (INIT_CUMULATIVE_ARGS): Update.
32371169689Skan	* mips.c (mips_expand_prolgue): Update call of INIT_CUMULATIVE_ARGS.
32372169689Skan	* pa.h (INIT_CUMULATIVE_ARGS): Update.
32373169689Skan	* sparc-protos.h (init_cumulative_args): Update prototype.
32374169689Skan	* sparc.c (init_cumulative_args): Update function.
32375169689Skan	* sparc.h (INIT_CUMULATIVE_ARGS): Update.
32376169689Skan	* tm.texi (INIT_CUMULATIVE_ARGS): Update documentation.
32377169689Skan
32378169689Skan2003-02-19  Kazu Hirata  <kazu@cs.umass.edu>
32379169689Skan
32380169689Skan	* config/h8300/h8300.md (*iorsi3_two_qi_sext): New.
32381169689Skan	(*ashiftsi_sextqi_7): Likewise.
32382169689Skan
32383169689Skan2003-02-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
32384169689Skan
32385169689Skan	* config/mips/iris6.h (TARGET_OS_CPP_BUILTINS): Define __c99 for
32386169689Skan	ISO C99 and C++.
32387169689Skan
32388169689Skan	* fixinc/inclhack.def (irix___restrict): Don't change __restrict
32389169689Skan	for C++ on IRIX 6.5.1[89].
32390169689Skan	* fixinc/tests/base/internal/sgimacros.h: New file.
32391169689Skan
32392169689Skan	* fixinc/inclhack.def (irix_wcsftime): Use XPG5 variant for C99.
32393169689Skan	* fixinc/tests/base/internal/wchar_core.h: New file.
32394169689Skan
32395169689Skan	* fixinc/inclhack.def (irix_socklen_t): Fix broken IRIX 6.5.1[78]
32396169689Skan	socklen_t definition.
32397169689Skan	* fixinc/fixincl.x: Regenerate.
32398169689Skan	* fixinc/tests/base/sys/socket.h: New file.
32399169689Skan	Fixes PR libgcj/9652.
32400169689Skan
32401169689Skan2003-02-19  Jan Hubicka  <jh@suse.cz>
32402169689Skan
32403169689Skan	* i386.md (movsfcc_1, movdfcc_1): Fix constrains.
32404169689Skan
32405169689Skan2003-02-19  David Edelsohn  <edelsohn@gnu.org>
32406169689Skan
32407169689Skan	* config/rs6000/rs6000.c (rs6000_override_options): Initialize
32408169689Skan	align_jumps_max_skip and align_loops_max_skip.
32409169689Skan
32410169689Skan2003-02-19  Thierry Moreau  <thierry.moreau@connotech.com>
32411169689Skan
32412169689Skan	* config/rs6000/rs6000.c (rs6000_encode_section_info): Do not
32413169689Skan	test size if named section.
32414169689Skan
32415169689Skan2003-02-19  Daniel Jacobowitz  <drow@mvista.com>
32416169689Skan
32417169689Skan	* expr.c (expand_expr): Use gen_int_mode for the argument
32418169689Skan	to gen_rtx_MULT.
32419169689Skan
32420169689Skan2003-02-19  Jan Hubicka  <jh@suse.cz>
32421169689Skan
32422169689Skan	* i386.md (cosxf2):  Fix conditional.
32423169689Skan
32424169689Skan2003-02-19  Kazu Hirata  <kazu@cs.umass.edu>
32425169689Skan
32426169689Skan	* config/h8300/h8300.md (extendqisi2): Change to an expander.
32427169689Skan	(*extendqisi2_h8300): New.
32428169689Skan	(*extendqisi2_h8300hs): Likewise.
32429169689Skan
32430169689Skan2003-02-19  Kazu Hirata  <kazu@cs.umass.edu>
32431169689Skan
32432169689Skan	* config/h8300/h8300-protos.h: Update the prototype for
32433169689Skan	split_adds_subs.  Remove the prototypes for
32434169689Skan	const_int_le_2_operand and const_int_le_6_operand.
32435169689Skan	* config/h8300/h8300.c (split_adds_sub): Don't output inc/dec.
32436169689Skan	(const_int_le_2_operand): Remove.
32437169689Skan	(const_int_le_6_operand): Likewise.
32438169689Skan	* config/h8300/h8300.h (PREDICATE_CODES): Remove the entries
32439169689Skan	for const_int_le_2_operand and const_int_le_6_operand.
32440169689Skan	* config/h8300/h8300.md: Update all uses of split_adds_subs.
32441169689Skan	(a peephole2): New.
32442169689Skan
32443169689Skan2003-02-18  Jan Hubicka  <jh@suse.cz>
32444169689Skan
32445169689Skan	* cgraph.c (NPREDECESORC, SET_NPREDECESORS): Kill.
32446169689Skan	(cgraph_expand_function): Rewrite.
32447169689Skan
32448169689Skan2003-02-18  Matt Austern <austern@apple.com>
32449169689Skan
32450169689Skan	* toplev.c, langhooks.c, langhooks-def.h: Move
32451169689Skan	write_global_declarations from toplev.c to langhooks.c.
32452169689Skan
32453169689Skan2003-02-18  Kazu Hirata  <kazu@cs.umass.edu>
32454169689Skan
32455169689Skan	* config/h8300/h8300.c (general_operand_src): Always check
32456169689Skan	MODE.
32457169689Skan	(general_operand_dst): Likewise.
32458169689Skan
32459169689Skan2003-02-18  Roger Sayle  <roger@eyesopen.com>
32460169689Skan
32461169689Skan	* convert.c (convert_to_real): Also optimize (float)log(x) into
32462169689Skan	logf(x) where x is a float, i.e. also handle BUILT_IN_LOG{,L}.
32463169689Skan
32464169689Skan2003-02-18  Kaz Kojima  <kkojima@gcc.gnu.org>
32465169689Skan
32466169689Skan	* config/sh/sh.c (unspec_caller_rtx_p): New.
32467169689Skan	(sh_cannot_copy_insn_p): New.
32468169689Skan	(TARGET_CANNOT_COPY_INSN_P): New.
32469169689Skan
32470169689Skan2003-02-18  Richard Henderson  <rth@redhat.com>
32471169689Skan
32472169689Skan	* c-common.c (handle_used_attribute): Accept static data too.
32473169689Skan
32474169689Skan2003-02-18  Nick Clifton  <nickc@redhat.com>
32475169689Skan	    Aldy Hernandez  <aldyh@redhat.com>
32476169689Skan
32477169689Skan	* testsuite/gcc.dg/20030218-1.c: New.
32478169689Skan
32479169689Skan	* doc/tm.texi: Document TARGET_VECTOR_TYPES_COMPATIBLE.
32480169689Skan
32481169689Skan	* target-def.h (TARGET_INITIALIZER): Add
32482169689Skan	TARGET_VECTOR_TYPES_COMPATIBLE.
32483169689Skan	(TARGET_VECTOR_TYPES_COMPATIBLE): New macro.
32484169689Skan
32485169689Skan	* target.h (struct gcc_target): Add field vector_types_compatible.
32486169689Skan
32487169689Skan	* c-typeck.c (comptypes): Take into account
32488169689Skan	TARGET_VECTOR_TYPES_COMPATIBLE.
32489169689Skan	(convert_for_assignment): Same.
32490169689Skan
32491169689Skan	* config/rs6000/rs6000.c (is_ev64_opaque_type): New.
32492169689Skan	(rs6000_spe_vector_types_compatible): New.
32493169689Skan	(TARGET_VECTOR_TYPES_COMPATIBLE): Define.
32494169689Skan
32495169689Skan2003-02-19  Andreas Schwab  <schwab@suse.de>
32496169689Skan
32497169689Skan	* Makefile.in (toplev.o): Depend on $(LANGHOOKS_DEF_H).
32498169689Skan	* toplev.c: Include langhooks-def.h.
32499169689Skan
32500169689Skan2003-02-18  Chris Demetriou  <cgd@broadcom.com>
32501169689Skan
32502169689Skan	* config/mips/mips.h (enum processor_type): Sort entries
32503169689Skan	alphabetically.
32504169689Skan	* config/mips/mips.md (define_attr cpu): Sync with processor_type
32505169689Skan	enum values, including adding entries that were missing.
32506169689Skan
32507169689Skan2003-02-18  J"orn Rennecke <joern.rennecke@superh.com>
32508169689Skan
32509169689Skan	* sh.c (calc_live_regs): Also check GET_CODE when checking if
32510169689Skan	initial value for PR_REG is still the PR_REG register.
32511169689Skan
32512169689Skan2003-02-18  Jim Wilson  <wilson@redhat.com>
32513169689Skan
32514169689Skan	* config/ia64/ia64.md (floatdidf2, floatdisf2): Add %, before second
32515169689Skan	instruction in output template.
32516169689Skan	(bsp_value): Change output template from string to C code, add %,
32517169689Skan	before actual instruction.
32518169689Skan	(flushrs): Mark as not predicable.
32519169689Skan
32520169689Skan2003-02-18  Krister Walfridsson  <cato@df.lth.se>
32521169689Skan
32522169689Skan	* inclhack.def (netbsd_bogus_semicolon): New fix.
32523169689Skan	* fixincl.x: Rebuilt.
32524169689Skan	* tests/base/ctype.h: Update.
32525169689Skan
32526169689Skan2003-02-18  Roger Sayle  <roger@eyesopen.com>
32527169689Skan
32528169689Skan	* fold-const.c (negate_expr_p): New function to determine whether
32529169689Skan	an expression can be negated cheaply.
32530169689Skan	(fold) [MINUS_EXPR]: Use it to determine whether to transform
32531169689Skan	-A - B into -B - A for floating point types.
32532169689Skan
32533169689Skan2003-02-18  Roger Sayle  <roger@eyesopen.com>
32534169689Skan
32535169689Skan	* sbitmap.c (sbitmap_resize): New function.
32536169689Skan	* sbitmap.h (sbitmap_resize): Prototype here.
32537169689Skan	* recog.c (split_all_insns): Use sbitmap_resize.
32538169689Skan
32539169689Skan2003-02-18  Kazu Hirata  <kazu@cs.umass.edu>
32540169689Skan
32541169689Skan	* config/h8300/h8300.md (*zero_extendhisi2_h8300): Fix the
32542169689Skan	insn length.
32543169689Skan	(extendqisi2): Likewise.
32544169689Skan	(*extendhisi2_h8300): Likewise.
32545169689Skan
32546169689Skan2003-02-18  Matt Austern <austern@apple.com>
32547169689Skan
32548169689Skan	* langhooks.h, langhooks-def.h: introduce new langhook,
32549169689Skan	final_write_globals, with write_global_declarations as default.
32550169689Skan	* toplev.c: Move invocation of wrapup_global_declarations from
32551169689Skan	compile_file to new function, write_global_declarations.  Change
32552169689Skan	compile_file to use final_write_globals hook.  Change
32553169689Skan	wrapup_global_declarations so writing to DECL_DEFER_OUTPUT is
32554169689Skan	conditional.
32555169689Skan
32556169689Skan2003-02-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
32557169689Skan
32558169689Skan	* pa.md: Correct and enhance comment.
32559169689Skan
32560169689Skan2003-02-18  Geoffrey Keating  <geoffk@apple.com>
32561169689Skan
32562169689Skan	* gcc.c (validate_switches): Don't scan past closing '}'.
32563169689Skan
32564169689Skan2003-02-18  Ben Elliston  <bje@redhat.com>
32565169689Skan
32566169689Skan	PR c++/1607
32567169689Skan	* doc/extend.texi (Function Attributes): Document the effect of
32568169689Skan	the C++ "this" parameter on the counting of arguments for the
32569169689Skan	"format" and "format_arg" attributes.
32570169689Skan
32571169689Skan2003-02-17  Aldy Hernandez  <aldyh@redhat.com>
32572169689Skan
32573169689Skan	* config/rs6000/spe.h (__ev_stdd): Cast 2nd arg.
32574169689Skan	(__ev_stdw): Same.
32575169689Skan	(__ev_stdh): Same.
32576169689Skan
32577169689Skan2003-02-17  Jan Hubicka  <jh@suse.cz>
32578169689Skan
32579169689Skan	* recog.c (split_all_insns):  Fix memory overflow.
32580169689Skan
32581169689Skan2003-02-17  Kazu Hirata  <kazu@cs.umass.edu>
32582169689Skan
32583169689Skan	* config/h8300/h8300.md (cmpqi): Remove mode from compare.
32584169689Skan	(cmphi): Likewise.
32585169689Skan	(*cmphi_h8300): Likewise.
32586169689Skan	(*cmphi_h8300hs): Likewise.
32587169689Skan	(cmpsi): Likewise.
32588169689Skan	(7 peephole2): Likewise.
32589169689Skan
32590169689Skan2003-02-16  Jan Hubicka  <jh@suse.cz>
32591169689Skan
32592169689Skan	* c-typeck.c (build_c_cast):  Fold constant variables into
32593169689Skan	initial values.
32594169689Skan
32595169689Skan2003-02-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
32596169689Skan
32597169689Skan	* doc/install.texi (Specific): Fix link for m68k-att-sysv.
32598169689Skan	(Binaries): Ditto for Sinix/Reliant Unix.
32599169689Skan
32600169689Skan2003-02-16 Richard Earnshaw  <rearnsha@arm.com>
32601169689Skan
32602169689Skan	* arm.c (arm_reload_in_hi): Ensure that the scratch register does
32603169689Skan	not overlap the final result register.
32604169689Skan
32605169689Skan2003-02-16 Arend Bayer <arend.bayer@web.de>
32606169689Skan	   Richard Henderson  <rth@redhat.com>
32607169689Skan
32608169689Skan	PR c/8068
32609169689Skan	* fold-const.c (extract_muldiv_1): Rename from extract_muldiv;
32610169689Skan	rearrange mult arguments for less recursion.
32611169689Skan	(extract_muldiv): New.  Prevent runaway recursion.
32612169689Skan
32613169689Skan2003-02-16  Danny Smith  <dannysmith@users.sourceforge.net>
32614169689Skan
32615169689Skan	* config/i386/cygwin.h (TARGET_SUBTARGET_DEFAULT): Set
32616169689Skan	MASK_ALIGN_DOUBLE.
32617169689Skan
32618169689Skan2003-02-15  Roger Sayle  <roger@eyesopen.com>
32619169689Skan
32620169689Skan	* config/i386/i386.c (x86_ext_80387_constants): Use 80387 insns
32621169689Skan	to load mathematical constants on K6, Athlon, Pentium 4 and PPro.
32622169689Skan	(ext_80387_constants_table): Global table of 80387 special constants
32623169689Skan	guarded by ext_80387_constants_init flag when not initialized.
32624169689Skan	(init_ext_80387_constants): New function to initialize this table.
32625169689Skan	(standard_80387_constant_p): Extend to recognize extra 80387
32626169689Skan	constants, in XFmode, on processors where this is a win.
32627169689Skan	(standard_80387_constant_opcode): New function to return the
32628169689Skan	opcode associated with standard_80387_constant_p.
32629169689Skan	(standard_80387_constant_rtx): New function to return the XFmode
32630169689Skan	CONST_DOUBLE associated with standard_80387_constant_p.
32631169689Skan	(ix86_rtx_costs): Give the new constants the same cost as 1.0.
32632169689Skan
32633169689Skan	* config/i386/i386-protos.h (standard_80387_constant_opcode):
32634169689Skan	Prototype here.
32635169689Skan	(standard_80387_constant_rtx): Likewise.
32636169689Skan
32637169689Skan	* config/i386/i386.md (*movsf1, *movsf1_nointerunit, *movdf_nointeger,
32638169689Skan	*movdf_integer, *movxf_nointeger, *movtf_nointeger, *movxf_integer,
32639169689Skan	*movtf_integer): Simplify using new standard_80387_constant_opcode.
32640169689Skan
32641169689Skan2003-02-15  Geoffrey Keating  <geoffk@apple.com>
32642169689Skan
32643169689Skan	* doc/invoke.texi (Optimize Options): Correct @option syntax.
32644169689Skan
32645169689Skan2003-02-15  Richard Henderson  <rth@redhat.com>
32646169689Skan
32647169689Skan	* Makefile.in (cfglayout.o): Depend on TARGET_H.
32648169689Skan	* cfglayout.c: Include target.h.
32649169689Skan	(cfg_layout_can_duplicate_bb_p): Check targetm.cannot_copy_insn_p.
32650169689Skan	* target-def.h (TARGET_CANNOT_COPY_INSN_P): New.
32651169689Skan	* target.h (struct gcc_target): Add cannot_copy_insn_p.
32652169689Skan
32653169689Skan	* config/alpha/alpha.c (alpha_cannot_copy_insn_p): New.
32654169689Skan	(TARGET_CANNOT_COPY_INSN_P): New.
32655169689Skan	(override_options): Revert 2003-02-08 hack.
32656169689Skan
32657169689Skan2003-02-15  Richard Henderson  <rth@redhat.com>
32658169689Skan
32659169689Skan	* gcse.c (bypass_block): Use BLOCK_FOR_INSN for resolving LABEL_REFs.
32660169689Skan	(bypass_conditional_jumps): Accept computed_jump_p insns as well.
32661169689Skan
32662169689Skan2003-02-15  David Edelsohn  <edelsohn@gnu.org>
32663169689Skan
32664169689Skan	* config/rs6000/rs6000.h (processor_type): Add PPC440.
32665169689Skan	* config/rs6000/rs6000.c (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
32666169689Skan	TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
32667169689Skan	TARGET_SCHED_VARIABLE_ISSUE): Define.
32668169689Skan	(rs6000_use_dfa_pipeline_interface): New function.
32669169689Skan	(rs6000_multipass_dfa_lookahead): New Function.
32670169689Skan	(rs6000_variable_issue): New function.
32671169689Skan	(rs6000_adjust_cost): Add CMP and DELAYED_CR types.
32672169689Skan	(rs6000_issue_rate): Add PPC440.
32673169689Skan	* config/rs6000/rs6000.md (unspec list): Correct typo.
32674169689Skan	(attr "type"): Add load_ext, load_ext_u, load_ext_ux, load_u,
32675169689Skan	store_ux, store_u, fpload_ux, fpload_u, fpstore_ux, fpstore_u,
32676169689Skan	cmp, delayed_cr, mfcr, mtcr.
32677169689Skan	(automata_option): Set "ndfa".
32678169689Skan	(extendMMNN2): Update attributes.
32679169689Skan	(movcc_internal1): Discourage move to non-cr0.  Update
32680169689Skan	attributes.
32681169689Skan	(movMM_update): Update attributes.
32682169689Skan	(cmpMM_internal): Update attributes.
32683169689Skan	(sCC CR materialization): Update attributes.
32684169689Skan	(branch patterns): Do not discourage non-cr0.
32685169689Skan	(cr logical patterns): Prefer destructive register allocation.
32686169689Skan	Update attributes.
32687169689Skan	(movesi_from_cr): Update attribute.
32688169689Skan	(mtcrf_operation): Update attribute.
32689169689Skan	(mtcrfsi): Update attribute.
32690169689Skan	* config/rs6000/40x.md: New file.
32691169689Skan	* config/rs6000/603.md: New file.
32692169689Skan	* config/rs6000/6xx.md: New file.
32693169689Skan	* config/rs6000/7450.md: New file.
32694169689Skan	* config/rs6000/7xx.md: New file.
32695169689Skan	* config/rs6000/mpc.md: New file.
32696169689Skan	* config/rs6000/power4.md: New file.
32697169689Skan	* config/rs6000/rios1.md: New file.
32698169689Skan	* config/rs6000/rios2.md: New file.
32699169689Skan	* config/rs6000/rs64.md: New file.
32700169689Skan	[Some DFA descriptions based on work by Michael Hayes]
32701169689Skan
32702169689Skan2003-02-15  Richard Henderson  <rth@redhat.com>
32703169689Skan
32704169689Skan	* bb-reorder.c (find_traces_1_round): Don't connect easy to copy
32705169689Skan	successors with multiple predecessors.
32706169689Skan	(connect_traces): Try harder to copy traces of length 1.
32707169689Skan
32708169689Skan	* function.h (struct function): Add computed_goto_common_label,
32709169689Skan	computed_goto_common_reg.
32710169689Skan	* function.c (free_after_compilation): Zap them.
32711169689Skan	* stmt.c (expand_computed_goto): Use them to produce one
32712169689Skan	indirect branch per function.
32713169689Skan
32714169689Skan2003-02-15  Richard Henderson  <rth@redhat.com>
32715169689Skan
32716169689Skan	* cfgcleanup.c: Include params.h.
32717169689Skan	(try_crossjump_bb): Use PARAM_MAX_CROSSJUMP_EDGES.  Fix test for
32718169689Skan	too many outgoing edges from a block.
32719169689Skan	* Makefile.in (cfgcleanup.o): Depend on PARAMS_H.
32720169689Skan	* params.def (max-crossjump-edges): New.
32721169689Skan	* doc/invoke.texi: Document it.
32722169689Skan
32723169689Skan2003-02-15  Richard Henderson  <rth@redhat.com>
32724169689Skan
32725169689Skan	* recog.c (split_all_insns): Include new blocks in life update;
32726169689Skan	do a global life update.
32727169689Skan
32728169689Skan2003-02-15  Danny Smith  <dannysmith@users.sourceforge.net>
32729169689Skan
32730169689Skan	* config/i386/mingw32.h (LIBGCC_SPEC): Add libmingwex.a.
32731169689Skan	Update copyright.
32732169689Skan	* config/i386/cygwin.h (LIBGCC_SPEC): Add libmingwex.a for
32733169689Skan	-mno-cygwin case.
32734169689Skan
32735169689Skan2003-02-14  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
32736169689Skan
32737169689Skan	PR optimization/7702
32738169689Skan	* reload1.c (reload_cse_simplify_set): Honor
32739169689Skan	CANNOT_CHANGE_MODE_CLASS.
32740169689Skan
32741169689Skan2003-02-14  Alexandre Oliva  <aoliva@redhat.com>
32742169689Skan
32743169689Skan	* config/mn10300/mn10300.c (mn10300_wide_const_load_uses_clr): New
32744169689Skan	function.
32745169689Skan	* config/mn10300/mn10300-protos.h: Declare it.
32746169689Skan	* config/mn10300/mn10300.md (movdi, movdf): Use it to compute
32747169689Skan	attribute cc of instructions that may use clr.
32748169689Skan
32749169689Skan2003-02-14  Kazu Hirata  <kazu@cs.umass.edu>
32750169689Skan
32751169689Skan	* simplify-rtx.c (simplify_binary_operation): Simplify ~y when
32752169689Skan	(x - (x & y)) is found.
32753169689Skan
32754169689Skan2003-02-14  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
32755169689Skan
32756169689Skan	* configure.in: Fix typo.
32757169689Skan	* configure: Regenerate.
32758169689Skan
32759169689Skan2003-02-14  Kazu Hirata  <kazu@cs.umass.edu>
32760169689Skan
32761169689Skan	* config/h8300/h8300.md (*iorsi2_and_1_lshiftrt_1): New.
32762169689Skan
32763169689Skan2003-02-13  Adam Nemet  <anemet@lnxw.com>
32764169689Skan
32765169689Skan	PR opt/2391
32766169689Skan	* combine.c: Fix spelling in comment.
32767169689Skan	(cached_nonzero_bits): New function.
32768169689Skan	(cached_num_sign_bit_copies): New function.
32769169689Skan	(nonzero_bits_with_known): New macro.
32770169689Skan	(num_sign_bit_copies_with_known): New macro.
32771169689Skan	(nonzero_bits1): Rename from nonzero_bits.  Add three new
32772169689Skan	arguments.  Change calls from nonzero_bits to
32773169689Skan	nonzero_bits_with_known.
32774169689Skan	(num_sign_bit_copies1): Rename from num_sign_bit_copies.  Add
32775169689Skan	three new arguments.  Change calls from num_sign_bit_copies to
32776169689Skan	num_sign_bit_copies_with_known.
32777169689Skan	(nonzero_bits): New macro.
32778169689Skan	(num_sign_bit_copies): New macro.
32779169689Skan	(update_table_tick): Don't traverse identical subexpression more
32780169689Skan	than once.
32781169689Skan	(get_last_value_validate): Likewise.
32782169689Skan
32783169689Skan2003-02-13  Zack Weinberg  <zack@codesourcery.com>
32784169689Skan
32785169689Skan	* emit-rtl.c (init_emit): Use ggc_alloc for regno_reg_rtx.
32786169689Skan	* function.h (struct emit_status): Length of regno_pointer_align
32787169689Skan	and x_regno_reg_rtx as seen by gengtype is only x_reg_rtx_no,
32788169689Skan	not regno_pointer_align_length (i.e. length actually used, not
32789169689Skan	length as allocated)
32790169689Skan
32791169689Skan	* config/i386/i386.c (struct stack_local_entry): New.
32792169689Skan	(struct machine_function): Replace huge array with alist.
32793169689Skan	(assign_386_stack_local): Change to match.
32794169689Skan
32795169689Skan2003-02-13  John David Anglin  <dave.anglin@nrc-crnc.gc.ca>
32796169689Skan
32797169689Skan	* inclhack.def (hpux_long_double): Tighten select and add bypass
32798169689Skan	regexp.
32799169689Skan	* fixincl.x: Rebuilt.
32800169689Skan
32801169689Skan2003-02-13  Josef Zlomek  <zlomekj@suse.cz>
32802169689Skan
32803169689Skan	* cfgcleanup.c (outgoing_edges_match): When there is single outgoing
32804169689Skan	edge and block ends with a jump insn it must be simple jump.
32805169689Skan
32806169689Skan2003-02-13  Daniel Jacobowitz  <drow@mvista.com>
32807169689Skan
32808169689Skan	* Makefile.in (PREPROCESSOR_DEFINES): Add
32809169689Skan	@TARGET_SYSTEM_ROOT_DEFINE@.
32810169689Skan	* configure.in (PREFIX_INCLUDE_DIR): Don't define if $with_sysroot
32811169689Skan	is specified or if building a cross compiler.
32812169689Skan	(TARGET_SYSTEM_ROOT_DEFINE): Add TARGET_SYSTEM_ROOT_RELOCATABLE
32813169689Skan	if the sysroot is under $exec_prefix.
32814169689Skan	* configure: Regenerated.
32815169689Skan	* cppdefault.h: Use native include paths if TARGET_SYSTEM_ROOT is
32816169689Skan	defined.
32817169689Skan	(struct default_include): Add add_sysroot field.
32818169689Skan	(cpp_SYSROOT): Declare.
32819169689Skan	* cppdefault.c (cpp_include_defaults): Fill in add_sysroot
32820169689Skan	field.
32821169689Skan	(cpp_SYSROOT): New variable.
32822169689Skan	* cppinit.c (cpp_create_reader): Initialize
32823169689Skan	CPP_OPTION (pfile, sysroot).
32824169689Skan	(init_standard_includes): Handle add_sysroot.  Do not
32825169689Skan	add unrelocated copies of relocated directories.
32826169689Skan	(COMMAND_LINE_OPTIONS): Add -isysroot.
32827169689Skan	(cpp_handle_option): Handle -isysroot.
32828169689Skan	* cpplib.h (struct cpp_options): Add sysroot member.
32829169689Skan	* gcc.c (The Specs Language): Update description of %I.
32830169689Skan	(target_system_root_changed): New variable.
32831169689Skan	(process_command): Conditionalize make_relative_prefix call
32832169689Skan	on !VMS and TARGET_SYSTEM_ROOT_RELOCATABLE.  Set
32833169689Skan	target_system_root_changed.
32834169689Skan	(do_spec_1): Add -isysroot to %I.
32835169689Skan	* doc/invoke.texi (Spec Files): Update description of %I.
32836169689Skan	* doc/install.texi (--with-sysroot): Update comment about
32837169689Skan	relocation.
32838169689Skan
32839169689Skan2003-02-13  Kazu Hirata  <kazu@cs.umass.edu>
32840169689Skan
32841169689Skan	* config/h8300/h8300.md (a peephole2): New.
32842169689Skan
32843169689Skan2003-02-13  Robert Lipe <robertlipe@usa.net>
32844169689Skan	    Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
32845169689Skan
32846169689Skan	* doc/install.texi (Specific): Update three SCO-related URLs.
32847169689Skan
32848169689Skan2003-02-13  Andreas Schwab  <schwab@suse.de>
32849169689Skan
32850169689Skan	* cgraph.c (SET_NPREDECESORS): Add intermediate cast to size_t.
32851169689Skan	Parenthesize properly.
32852169689Skan	(NPREDECESORS): Parenthesize properly.
32853169689Skan
32854169689Skan2003-02-13  Gabriel Dos Reis  <gdr@integrable-solutions.net>
32855169689Skan
32856169689Skan	* timevar.h (POP_TIMEVAR_AND_RETURN): New macro.
32857169689Skan
32858169689Skan2003-02-12  Roger Sayle  <roger@eyesopen.com>
32859169689Skan
32860169689Skan	* config/i386/i386.md (UNSPEC_FPATAN): New UNSPEC constant.
32861169689Skan	(atan2sf3, atan2df3, atan2xf3, atan2tf3): New patterns.
32862169689Skan
32863169689Skan	* reg-stack.c (subst_stack_regs_pat): Add support for binary
32864169689Skan	UNSPEC instructions (e.g. "fpatan").
32865169689Skan
32866169689Skan2003-02-12  Mike Stump  <mrs@apple.com>
32867169689Skan
32868169689Skan	* varray.c (element_size): Remove.
32869169689Skan	(uses_ggc): Remove.
32870169689Skan	(element): Add.
32871169689Skan	(varray_init): Use new interface.
32872169689Skan	(varray_grow): Use new interface.
32873169689Skan	(varray_clear): Use new interface.
32874169689Skan
32875169689Skan2003-02-12  Aldy Hernandez  <aldyh@redhat.com>
32876169689Skan
32877169689Skan	* config/rs6000/spe.h: Add casts to the arguments of the following
32878169689Skan	macros: evfsabs, evfsnabs, evfsneg, evfsadd, evfssub, evfsmul,
32879169689Skan	evfsdiv, evfscfui, evfscfsi evfscfuf evfscfsf, evfsctui, evfsctsi,
32880169689Skan	evfsctuf, evfsctsf, evfsctuiz, evfsctsiz, __ev_get_upper*,
32881169689Skan	__ev_get_lower*, __ev_get_u32, __ev_get_s32, __ev_get_fs,
32882169689Skan	__ev_get_u16, __ev_get_s16.
32883169689Skan
32884169689Skan2003-02-12  Kazu Hirata  <kazu@cs.umass.edu>
32885169689Skan
32886169689Skan	* config/h8300/h8300.md (a peephole2): New.
32887169689Skan
32888169689Skan2003-02-12  Jan Hubicka  <jh@suse.cz>
32889169689Skan
32890169689Skan	* Makefile.in (CRTSTUFF_CFLAGS): Add -fno-unit-at-a-time
32891169689Skan	(OBJS): Add cgraph.o
32892169689Skan	(cgraph.o): New.
32893169689Skan	* c-decl.c (expand_body_1): Break out from ...
32894169689Skan	(expand_body): This one;  change calling convention
32895169689Skan	(finish_function): Move some of expand_body logic here.
32896169689Skan	(c_expand_deferred_function): Update call of expand_body
32897169689Skan	(c_expand_stmt): Use c_expand_body_1.
32898169689Skan	* c-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Define.
32899169689Skan	* c-objc-commin.c (c_objc_common_finish_file): Use callgraph code.
32900169689Skan	* c-tree.h (c_expand_body): Declare.
32901169689Skan	* cgraph.c: New file.
32902169689Skan	* flags.h (flag_unit_at_a_time): Declare.
32903169689Skan	* langhooks.h (LANG_HOOKS_CALLGRAPH_LOWER_FUNCTION,
32904169689Skan	LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION,
32905169689Skan	LANG_HOOKS_CALLGRAPH_INITIALIZER): New macros.
32906169689Skan	* langhooks.h (struct lang_hooks_for_callgraph): New.
32907169689Skan	(struct lang_hooks): Add callgraph field.
32908169689Skan	* toplev.c (flag_unit_at_a_time): New.
32909169689Skan	(lang_independent_options): Add flag_unit_at_a_time.
32910169689Skan	(process_options): Disable unit-at-a-time mode for frontends not
32911169689Skan	supporting callgraph.
32912169689Skan	* tree-inline.c (typedef struct inline_data): Add "decl"
32913169689Skan	(expand_call_inline): Update callgraph.
32914169689Skan	(optimize_inline_calls): Set id.decl.
32915169689Skan	* tree.h (cgraph_finalize_function, cgraph_finalize_compilation_unit,
32916169689Skan	cgraph_create_edges, dump_cgraph, cgraph_optimize, cgraph_remove_call
32917169689Skan	cgraph_calls_p): Declare.
32918169689Skan	* invoke.texi (-funit-at-a-time): Document.
32919169689Skan
32920169689Skan2003-02-12  Aldy Hernandez  <aldyh@redhat.com>
32921169689Skan
32922169689Skan	* config/rs6000/spe.h: Fix misc formatting.
32923169689Skan	(__ev_create_ufix32_fs): Cast ev argument.
32924169689Skan	(__ev_create_sfix32_fs): Same.
32925169689Skan	(__ev_get_sfix32_fs_internal): Cast arguments to builtins.
32926169689Skan	(__ev_get_ufix32_fs_internal): Same.
32927169689Skan
32928169689Skan2003-02-12  Ranjit Mathew  <rmathew@hotmail.com>
32929169689Skan
32930169689Skan	* doc/tm.texi (MODIFY_JNI_METHOD_CALL): Document.
32931169689Skan	* config/i386/cygwin.h (MODIFY_JNI_METHOD_CALL): New macro.
32932169689Skan
32933169689Skan2003-02-12  Zack Weinberg  <zack@codesourcery.com>
32934169689Skan
32935169689Skan	* cpplib.c (do_include_common): Move warnings for
32936169689Skan	#include_next and #import out to callers.  Use early-return
32937169689Skan	instead of nested ifs.  Don't do check_eol here.
32938169689Skan	(parse_include): Do check_eol here with the rest of the
32939169689Skan	parsing stuff.
32940169689Skan	(do_include_next, do_import): Now handle warnings.
32941169689Skan
32942169689Skan2003-02-11  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
32943169689Skan
32944169689Skan	* doc/install.texi (Specific): Update AVR- and Darwin-related URLs.
32945169689Skan
32946169689Skan2003-02-12  Jan Hubicka  <jh@suse.cz>
32947169689Skan
32948169689Skan	* predict.c (estimate_probability):  Fix roundoff error.
32949169689Skan
32950169689Skan2003-02-12  Kazu Hirata  <kazu@cs.umass.edu>
32951169689Skan
32952169689Skan	* config/h8300/h8300.md (a peephole2): Don't handle 65535.
32953169689Skan	(two peephole2): New.
32954169689Skan
32955169689Skan2003-02-12  Kazu Hirata  <kazu@cs.umass.edu>
32956169689Skan
32957169689Skan	* config/h8300/h8300.md (several peephole2): Replace
32958169689Skan	find_regno_note with peep2_reg_dead_p.
32959169689Skan
32960169689Skan2003-02-11  Richard Henderson  <rth@redhat.com>
32961169689Skan
32962169689Skan	* gcse.c (lookup_set): Remove unused argument PAT.  Update
32963169689Skan	both callers.
32964169689Skan
32965169689Skan2003-02-11  Geoffrey Keating  <geoffk@apple.com>
32966169689Skan
32967169689Skan	* diagnostic.c (real_abort): New.
32968169689Skan	(diagnostic_report_diagnostic): Call real_abort on error.
32969169689Skan	* diagnostic.h (diagnostic_abort_on_error): New.
32970169689Skan	(struct diagnostic_context): Add abort_on_error field.
32971169689Skan	* toplev.c (setup_core_dumping): New.
32972169689Skan	(decode_d_option): Handle 'H' case.
32973169689Skan	* doc/invoke.texi (Debugging Options): Document -dH.
32974169689Skan
32975169689Skan2003-02-11  Nathanael Nerode  <neroden@gcc.gnu.org>
32976169689Skan
32977169689Skan	* Makefile.in: Remove pointless setting of CXXFLAGS for dejagnu
32978169689Skan	which refers to obsolete directories.
32979169689Skan
32980169689Skan2003-02-11  Richard Henderson  <rth@redhat.com>
32981169689Skan
32982169689Skan	* config/alpha/linux.h (TARGET_C99_FUNCTIONS): New.
32983169689Skan
32984169689Skan2002-10-21  Jan Hubicka  <jh@suse.cz>
32985169689Skan
32986169689Skan	* i386.c (contains_128bit_aligned_vector_p): New function.
32987169689Skan	(ix86_function_arg_boundary): Properly align vector modes.
32988169689Skan
32989169689Skan2003-02-11  Bob Wilson  <bob.wilson@acm.org>
32990169689Skan
32991169689Skan	* config/xtensa/xtensa.md (set_frame_ptr): Change rtl to set reg a7.
32992169689Skan	* config/xtensa/xtensa.c (xtensa_reorg): Search for UNSPECV_SET_FP
32993169689Skan	as a SET pattern.
32994169689Skan
32995169689Skan2003-02-11  Roger Sayle  <roger@eyesopen.com>
32996169689Skan
32997169689Skan	* builtins.c:  Fix failure caused by commiting wrong patch.
32998169689Skan
32999169689Skan2003-02-11  Dale Johannesen  <dalej@apple.com>
33000169689Skan	* ra-build.c (compare_and_free_webs):  Relax checking.
33001169689Skan	* config/rs6000/darwin.h (HOT_TEXT_SECTION_NAME):  Define.
33002169689Skan	(UNLIKELY_EXECUTED_TEXT_SECTION_NAME):  Define.
33003169689Skan
33004169689Skan2003-02-11  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
33005169689Skan
33006169689Skan	PR optimization/9651
33007169689Skan	* rtlanal.c (may_trap_p): Handle FIX.
33008169689Skan
33009169689Skan2003-02-11  Dave Jones <davej@codemonkey.org.uk>
33010169689Skan
33011169689Skan	* config/i386/i386.c (override_options): Define c3-2 as a 686 with SSE.
33012169689Skan	* doc/invoke.texi: Extra alias.
33013169689Skan
33014169689Skan2003-02-11  Geoffrey Keating  <geoffk@apple.com>
33015169689Skan
33016169689Skan	* config/rs6000/host-darwin.c: Fix comment.
33017169689Skan
33018169689Skan2003-02-11  David Edelsohn  <edelsohn@gnu.org>
33019169689Skan
33020169689Skan	* config/rs6000/rs6000.md (divmodsi4): Use register_operand
33021169689Skan	predicate for mod result.
33022169689Skan
33023169689Skan2003-02-11  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
33024169689Skan
33025169689Skan	* inclhack.def (hpux_long_double, hpux10_ctype_declarations1,
33026169689Skan	hpux10_ctype_declarations2, hpux_ctype_macros): New hacks.
33027169689Skan	* fixincl.x: Rebuilt.
33028169689Skan	* tests/base/stdlib.h: Update.
33029169689Skan	* tests/base/ctype.h: New file.
33030169689Skan
33031169689Skan2003-02-11  Jan Hubicka  <jh@suse.cz>
33032169689Skan
33033169689Skan	* emit-rtl.c (emit_copy_of_insn_after): Copy insn recog cache too.
33034169689Skan
33035169689Skan2003-02-11  Richard Henderson  <rth@redhat.com>
33036169689Skan
33037169689Skan	* config/i386/i386.c (ix86_expand_movstr): Fail if esi or edi
33038169689Skan	appropriated as globals.
33039169689Skan	(ix86_expand_clrstr): Similarly.
33040169689Skan	* config/i386/i386.md (cmpstrsi): Similarly.
33041169689Skan
33042169689Skan2003-02-11  Kazu Hirata  <kazu@cs.umass.edu>
33043169689Skan
33044169689Skan	* config/h8300/h8300.md (a peephole2): Add a case of 255.
33045169689Skan
33046169689Skan2003-02-11  Roger Sayle  <roger@eyesopen.com>
33047169689Skan
33048169689Skan	* optabs.h (enum optab_index): Add new OTI_pow and OTI_atan2.
33049169689Skan	(pow_optab, atan2_optab): Define corresponding macros.
33050169689Skan	* optabs.c (init_optabs): Initialize pow_optab and atan2_optab.
33051169689Skan	* genopinit.c (optabs): Implement pow_optab and atan2_optab
33052169689Skan	using pow?f3 and atan2?f3 patterns.
33053169689Skan	* builtins.c (expand_errno_check): New function to update errno
33054169689Skan	if necessary, split out from expand_builtin_mathfn.
33055169689Skan	(expand_builtin_mathfn): Use expand_errno_check.
33056169689Skan	(expand_builtin_mathfn_2): New function to handle expanding binary
33057169689Skan	math functions, reusing the code in expand_errno_check.
33058169689Skan	(expand_builtin): Handle the pow and atan2 math built-ins,
33059169689Skan	BUILT_IN_{POW,POWF,POWL,ATAN2,ATAN2F,ATAN2L} via the new function
33060169689Skan	expand_builtin_mathfn_2.
33061169689Skan
33062169689Skan	* doc/md.texi: Document new pow?f3 and atan2?f3 patterns.
33063169689Skan
33064169689Skan2003-02-11  Jan Hubicka  <jh@suse.cz>
33065169689Skan
33066169689Skan	* combine.c (combine_simplify_rtx): Fix folding of
33067169689Skan	nested float_truncates.
33068169689Skan
33069169689Skan2003-02-11  Kazu Hirata  <kazu@cs.umass.edu>
33070169689Skan
33071169689Skan	* config/h8300/h8300.md (a peephole2): Fix a typo.
33072169689Skan
33073169689Skan2003-02-11  Richard Earnshaw  <rearnsha@arm.com>
33074169689Skan
33075169689Skan	* arm.mc (return_address_mask): Use CC_REGNUM for the condition code
33076169689Skan	register number.
33077169689Skan
33078169689Skan2003-02-11  Kazu Hirata  <kazu@cs.umass.edu>
33079169689Skan
33080169689Skan	* config/h8300/h8300-protos.h: Add a prototype for
33081169689Skan	gtuleu_operator.
33082169689Skan	* config/h8300/h8300.c (gtuleu_operator): New.
33083169689Skan	* config/h8300/h8300.h (PREDICATE_CODES): Add gtuleu_operator.
33084169689Skan	* config/h8300/h8300.md (a peephole2): New.
33085169689Skan
33086169689Skan2003-02-11  Jan Hubicka  <jh@suse.cz>
33087169689Skan
33088169689Skan	* sched-ebb.c (schedule_ebbs): Do not verify_flow_info.
33089169689Skan
33090169689Skan2003-02-11  Jan Hubicka  <jh@suse.cz>
33091169689Skan
33092169689Skan	* predict.c (choose_function_section): Choose sections correctly.
33093169689Skan
33094169689Skan2003-02-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
33095169689Skan
33096169689Skan	* reload1.c (first_label_num): New.
33097169689Skan	(reload): Index offsets_known_at and offsets_at using difference of
33098169689Skan	label number and first label number.  Don't use offset pointers.
33099169689Skan	(set_label_offsets, set_initial_label_offsets): Likewise.
33100169689Skan
33101169689Skan2003-02-10  Roger Sayle  <roger@eyesopen.com>
33102169689Skan
33103169689Skan	* mips-tfile.c (init_file): Add missing initializers in the
33104169689Skan	"#ifdef __alpha" case.
33105169689Skan	(file_offset, max_file_offset): Declare as unsigned long.
33106169689Skan	(write_varray): Cast to "unsigned long" in comparisons against
33107169689Skan	either file_offset or max_file_offset.
33108169689Skan	(write_object): Likewise.
33109169689Skan	(read_seek): Likewise.
33110169689Skan	(copy_object): Likewise. Declare "ifd" as int to match its use
33111169689Skan	in add_ext_symbol, and avoid signed/unsigned conditional warning.
33112169689Skan
33113169689Skan2003-02-10  Nick Clifton  <nickc@redhat.com>
33114169689Skan	    Aldy Hernandez  <aldyh@redhat.com>
33115169689Skan
33116169689Skan	* config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Do not
33117169689Skan	override options which have been specified on the command line.
33118169689Skan
33119169689Skan2003-02-10  Kazu Hirata  <kazu@cs.umass.edu>
33120169689Skan
33121169689Skan	* config/h8300/h8300.md (abssf2): New.
33122169689Skan	(*abssf2_h8300): Likewise.
33123169689Skan	(*abssf2_h8300hs): Likewise.
33124169689Skan
33125169689Skan2003-02-10  Phil Edwards  <pme@gcc.gnu.org>
33126169689Skan
33127169689Skan	* tree.c (build_tree_list):  Fix parameter names in comment.
33128169689Skan
33129169689Skan2003-02-10  Janis Johnson  <janis187@us.ibm.com>
33130169689Skan
33131169689Skan	* config/rs6000/ppc64-fp.c: New file.
33132169689Skan	* config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Add ppc64-fp.c.
33133169689Skan
33134169689Skan2003-02-10  Josef Zlomek  <zlomekj@suse.cz>
33135169689Skan
33136169689Skan	* Makefile.in (bb-reorder.o): Add dependency on $(FIBHEAP_H).
33137169689Skan	* bb-reorder.c (make_reorder_chain): Deleted.
33138169689Skan	(make_reorder_chain_1): Deleted.
33139169689Skan	(find_traces): New function.
33140169689Skan	(rotate_loop): New function.
33141169689Skan	(mark_bb_visited): New function.
33142169689Skan	(find_traces_1_round): New function.
33143169689Skan	(copy_bb): New function.
33144169689Skan	(bb_to_key): New function.
33145169689Skan	(better_edge_p): New function.
33146169689Skan	(connect_traces): New function.
33147169689Skan	(copy_bb_p): New function.
33148169689Skan	(get_uncond_jump_length): New function.
33149169689Skan	(reorder_basic_blocks): Use new functions (Software Trace Cache).
33150169689Skan	* cfgcleanup.c (outgoing_edges_match): Enable crossjumping across loop
33151169689Skan	boundaries.
33152169689Skan
33153169689Skan2003-02-10  Aldy Hernandez  <aldyh@redhat.com>
33154169689Skan
33155169689Skan	* config/rs6000/rs6000.c (bdesc_2arg): Change spe_evxor to xorv2si3.
33156169689Skan
33157169689Skan2003-02-09  Dan Nicolaescu  <dann@ics.uci.edu>
33158169689Skan
33159169689Skan	* tree.h (struct tree_decl): Remove unused live_range_rtl field.
33160169689Skan	(DECL_LIVE_RANGE_RTL): Remove.
33161169689Skan
33162169689Skan2003-02-10  Nick Clifton  <nickc@redhat.com>
33163169689Skan
33164169689Skan	* config/arm/aof.h, config/arm/aout.h, config/arm/arm-modes.def,
33165169689Skan	config/arm/arm-protos.h, config/arm/arm.c, config/arm/arm.h,
33166169689Skan	config/arm/arm.md, config/arm/cirrus.md, config/arm/coff.h,
33167169689Skan	config/arm/conix-elf.h, config/arm/ecos-elf.h, config/arm/elf.h,
33168169689Skan	config/arm/freebsd.h, config/arm/linux-elf.h,
33169169689Skan	config/arm/linux-gas.h, config/arm/netbsd-elf.h,
33170169689Skan	config/arm/netbsd.h, config/arm/pe.c, config/arm/pe.h,
33171169689Skan	config/arm/rtems-elf.h, config/arm/semi.h, config/arm/semiaof.h,
33172169689Skan	config/arm/strongarm-coff.h, config/arm/strongarm-elf.h,
33173169689Skan	config/arm/strongarm-pe.h, config/arm/uclinux-elf.h,
33174169689Skan	config/arm/unknown-elf-oabi.h, config/arm/unknown-elf.h,
33175169689Skan	config/arm/xscale-elf.h: Replace occurances of "GNU CC" with "GCC"
33176169689Skan	and reformat as appropriate.
33177169689Skan
33178169689Skan2003-02-10  Kazu Hirata  <kazu@cs.umass.edu>
33179169689Skan
33180169689Skan	* config/h8300/clzsi2.c: Remove.
33181169689Skan	* config/h8300/ctzsi2.c: Likewise.
33182169689Skan	* config/h8300/paritysi2.c: Likewise.
33183169689Skan	* config/h8300/popcountsi2.c: Likewise.
33184169689Skan	* config/h8300/t-h8300 (LIB2FUNCS_EXTRA): Remove clzsi2,
33185169689Skan	ctzsi2, paritysi2, and popcountsi2.
33186169689Skan
33187169689Skan2003-02-10  Eric Botcazou  <ebotcazou@libertysurf.fr>
33188169689Skan	    Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>
33189169689Skan
33190169689Skan	PR c/7741
33191169689Skan	* c-decl.c (duplicate_decls): Discard the initializer of the
33192169689Skan	new decl when the types are conflicting.
33193169689Skan
33194169689Skan2003-02-10  Josef Zlomek  <zlomekj@suse.cz>
33195169689Skan
33196169689Skan	* Makefile.in (sreal.o): Added.
33197169689Skan	(predict.o): Depends on sreal.h instead of real.h.
33198169689Skan	* sreal.c: New file.
33199169689Skan	* sreal.h: New file.
33200169689Skan	* predict.c: Use sreal.c instead of real.c.
33201169689Skan
33202169689Skan2003-02-10  Nick Clifton  <nickc@redhat.com>
33203169689Skan
33204169689Skan	* Contributed support for the Cirrus EP9312 "Maverick"
33205169689Skan	floating point co-processor.  Written by Aldy Hernandez
33206169689Skan	<aldyh@redhat.com>.
33207169689Skan	(config/arm/arm.c): Add Cirrus support.
33208169689Skan	(config/arm/arm.h): Likewise.
33209169689Skan	(config/arm/aout.h): Likewise.
33210169689Skan	(config/arm/arm.md): Likewise.
33211169689Skan	(config/arm/arm-protos.h): Likewise.
33212169689Skan	(config.gcc): Likewise.
33213169689Skan	(doc/invoke.texi): Describe new -mcpu value and new
33214169689Skan	-mcirrus-fix-invalid-insns switch,
33215169689Skan	(cirrus.md): New file.
33216169689Skan
33217169689Skan2003-02-10  Jan Hubicka  <jh@suse.cz>
33218169689Skan
33219169689Skan	* combine.c (combine_simplify_rtx): Simplify using
33220169689Skan	(float_truncate (float x)) is (float x)
33221169689Skan	(float_extend (float_extend x)) is (float_extend x).
33222169689Skan
33223169689Skan2003-02-10  Alan Modra  <amodra@bigpond.net.au>
33224169689Skan
33225169689Skan	* calls.c (try_to_integrate): Tidy stack_usage_map access.
33226169689Skan	(emit_library_call_value_1): Likewise.	Formatting.
33227169689Skan	(store_one_arg): Likewise.
33228169689Skan
33229169689Skan2003-02-09  Nick Clifton  <nickc@redhat.com>
33230169689Skan	    Aldy Hernandez  <aldyh@redhat.com>
33231169689Skan
33232169689Skan	* config/rs6000/spe.md: spe_evlhhesplat, spe_evlhhossplat,
33233169689Skan	spe_evlhhousplat, spe_evlwhsplat, spe_evlwwsplat, spe_evldd,
33234169689Skan	spe_evldh, spe_evldw, spe_evlwhe, spe_evlwhos, spe_evlwhou,
33235169689Skan	spe_evstdd, spe_evstdh, spe_evstdw, spe_evstdwx, spe_evstwhe,
33236169689Skan	spe_evstwho, spe_evstwwe, spe_evstwwo: Fix syntax to match newest
33237169689Skan	docs.  Add range test for immediate value.
33238169689Skan
33239169689Skan2003-02-09  Aldy Hernandez  <aldyh@redhat.com>
33240169689Skan
33241169689Skan	Rename spe_evxor to xorv2si3.
33242169689Skan	(xorv4hi3): New.
33243169689Skan	(xorv1di3): New.
33244169689Skan
33245169689Skan2003-02-10  Glen Nakamura  <glen@imodulo.com>
33246169689Skan
33247169689Skan	* doc/extend.texi (C++98 Thread-Local Edits): Add missing @item
33248169689Skan	tag.
33249169689Skan
33250169689Skan2003-02-10  Jan Hubicka  <jh@suse.cz>
33251169689Skan
33252169689Skan	* i386.c (vector_move_operand): New predicate.
33253169689Skan	(ix86_expand_vector_move): Be happy about 0.
33254169689Skan	* i386.h (PREDICATE_CODES): Add sse-move_operand.
33255169689Skan	* i386.md (mov*_internal): Add 'C' alternative.
33256169689Skan
33257169689Skan2003-02-09  Jan Hubicka  <jh@suse.cz>
33258169689Skan
33259169689Skan	* i386.md (floathi*): Deal with SSE.
33260169689Skan
33261169689Skan2003-02-09  Jan Hubicka  <jh@suse.cz>
33262169689Skan
33263169689Skan	* simplify-rtx.c (simplify_unary_operation,
33264169689Skan	simplify_binary_operation):  Deal with vector modes
33265169689Skan	(simplify_ternary_operation):  Deal with no-op VEC_MERGE.
33266169689Skan
33267169689Skan2003-02-09  Richard Sandiford  <rsandifo@redhat.com>
33268169689Skan
33269169689Skan	* toplev.c (rest_of_compilation): Recompute register usage after
33270169689Skan	split_all_insns.
33271169689Skan
33272169689Skan2003-02-09  Richard Henderson  <rth@redhat.com>
33273169689Skan
33274169689Skan	* libgcc-std.ver (__clztf2): New.
33275169689Skan	(__ctztf2, __popcounttf2, __paritytf2): New.
33276169689Skan	* libgcc2.c (__clzSI2, __clzDI2, __ctzSI2, __ctzDI2, __popcountSI2,
33277169689Skan	__popcountDI2, __paritySI2, __parityDI2): Use UWmode and UDWmode;
33278169689Skan	adjust code to match the different type sizes.
33279169689Skan	* libgcc2.h (__clzSI2, __ctzSI2, __popcountSI2, __paritySI2,
33280169689Skan	__clzDI2, __ctzDI2, __popcountDI2, __parityDI2): New macros.
33281169689Skan
33282169689Skan	* optabs.c (init_integral_libfuncs): Don't hard-code SImode and
33283169689Skan	TImode; select word_mode and twice that.
33284169689Skan	(init_floating_libfuncs): Don't hard-code SFmode and TFmode;
33285169689Skan	select the modes from float, double, and long double.
33286169689Skan	(init_optabs): Remove duplicate initializations.
33287169689Skan
33288169689Skan2003-02-09  Wolfgang Bangerth  <bangerth@ticam.utexas.edu>
33289169689Skan
33290169689Skan	* doc/install.texi: Squeeze and streamline section on
33291169689Skan	testing and regression checking.
33292169689Skan
33293169689Skan2003-02-09  Jan Hubicka  <jh@suse.cz>
33294169689Skan
33295169689Skan	* i386.md (ahi?v*3): Set third operand type to TImode.
33296169689Skan	* i386.c (ix86_expand_binop_builtin): Extend operand when needed.
33297169689Skan
33298169689Skan	* simplify-rtx.c (simplify_subreg): Fix conversion from vector into
33299169689Skan	integer mode.
33300169689Skan
33301169689Skan	* rtl.def (VEC_MERGE, VEC_SELECT, VEC_CONCAT, VEC_DUPLICATE):
33302169689Skan	Change code so they are arithmetic expressions now.
33303169689Skan	* simplify-rtx.c (simplify_unary_operation, simplify_binary_operation,
33304169689Skan	simplify_ternary_operation): Deal with VEC_* expressions.
33305169689Skan
33306169689Skan	* i386.md (vmaskcmp, pinsrw, movd patterns):  Fix RTL representation.
33307169689Skan
33308169689Skan2003-02-08  Jan Hubicka  <jh@suse.cz>
33309169689Skan
33310169689Skan	* cfgrtl.c (verify_flow_info):  Use control_flow_insn_p.
33311169689Skan	* reload1.c (fixup_abnormal_edges):  Split basic blocks when EH edges
33312169689Skan	possibly got duplicated.
33313169689Skan
33314169689Skan2003-02-08  Richard Henderson  <rth@redhat.com>
33315169689Skan
33316169689Skan	* config/alpha/alpha.c (override_options): Turn off explicit
33317169689Skan	relocs until post-peep2 code duplication resolved.
33318169689Skan
33319169689Skan2003-02-08  Kazu Hirata  <kazu@cs.umass.edu>
33320169689Skan
33321169689Skan	* optabs.c (expand_unop): Widen clz properly when clz is done
33322169689Skan	via libcall.
33323169689Skan
33324169689Skan2003-02-08  Kazu Hirata  <kazu@cs.umass.edu>
33325169689Skan
33326169689Skan	* config/h8300/clzsi2.c: Replace "GNU CC" with "GCC".
33327169689Skan	* config/h8300/crti.asm: Likewise.
33328169689Skan	* config/h8300/crtn.asm: Likewise.
33329169689Skan	* config/h8300/ctzsi2.c: Likewise.
33330169689Skan	* config/h8300/fixunssfsi.c: Likewise.
33331169689Skan	* config/h8300/h8300-protos.h: Likewise.
33332169689Skan	* config/h8300/h8300.c: Likewise.
33333169689Skan	* config/h8300/h8300.h: Likewise.
33334169689Skan	* config/h8300/h8300.md: Likewise.
33335169689Skan	* config/h8300/paritysi2.c: Likewise.
33336169689Skan	* config/h8300/popcountsi2.c: Likewise.
33337169689Skan	* config/h8300/rtems.h: Likewise.
33338169689Skan
33339169689Skan2003-02-08  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
33340169689Skan
33341169689Skan	* doc/invoke.texi: Documentation for my previous commit.
33342169689Skan	* doc/passes.texi: Ditto.
33343169689Skan
33344169689Skan2003-02-08  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
33345169689Skan
33346169689Skan	* cfgloop.h (fix_loop_placement, can_duplicate_loop_p,
33347169689Skan	duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb):
33348169689Skan	Declare.
33349169689Skan	(DLTHE_FLAG_UPDATE_FREQ): New.
33350169689Skan	* cfgloopmanip.c (duplicate_loop, duplicate_subloops, copy_loops_to,
33351169689Skan	loop_redirect_edge, loop_delete_branch_edge, copy_bbs, remove_bbs,
33352169689Skan	rpe_enum_p, find_branch, alp_enum_p, add_loop, fix_loop_placements,
33353169689Skan	fix_bb_placement, fix_bb_placements, place_new_loop,
33354169689Skan	scale_loop_frequencies, scale_bbs_frequencies, record_exit_edges):
33355169689Skan	New static functions.
33356169689Skan	(fix_loop_placement, can_duplicate_loop_p,
33357169689Skan	duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb):
33358169689Skan	New functions.
33359169689Skan
33360169689Skan	* cfgloop.h (loop_optimizer_init, loop_optimizer_finalize,
33361169689Skan	unswitch_loops): Declare.
33362169689Skan	* loop-init.c: New file.
33363169689Skan	* loop-unswitch.c: New file.
33364169689Skan	* Makefile.in (loop-init.o, loop-unswitch.o): New.
33365169689Skan	* params.def (PARAM_MAX_UNSWITCH_INSNS, PARAM_MAX_UNSWITCH_LEVEL): New.
33366169689Skan	* toplev.c (DFI_loop2): New dump.
33367169689Skan	(flag_unswitch_loops): New.
33368169689Skan	(lang_independent_options): Add it.
33369169689Skan	(rest_of_compilation): Call new loop optimizer.
33370169689Skan	(parse_options_and_default_flags): Turn flag_unswitch_loops on with -O3.
33371169689Skan
33372169689Skan2003-02-08  Kazu Hirata  <kazu@cs.umass.edu>
33373169689Skan
33374169689Skan	* config/h8300/clzsi2.c: New.
33375169689Skan	* config/h8300/ctzsi2.c: Likewise.
33376169689Skan	* config/h8300/paritysi2.c: Likewise.
33377169689Skan	* config/h8300/popcountsi2.c: Likewise.
33378169689Skan	* config/h8300/t-h8300 (LIB2FUNCS_EXTRA): Add above files.
33379169689Skan
33380169689Skan2003-02-07  David Edelsohn  <edelsohn@gnu.org>
33381169689Skan
33382169689Skan	* config/rs6000/rs6000.h (CLZ_DEFINED_VALUE_AT_ZERO): Define.
33383169689Skan	* config/rs6000/rs6000.md (clzsi2): Rename from cntlzw2.
33384169689Skan	(ctzsi2): New pattern.
33385169689Skan	(ffssi2): Use clz instead of unspec.
33386169689Skan	(clzdi2): Rename from cntlzd2.
33387169689Skan	(ctzdi2): New pattern.
33388169689Skan	(ffsdi2): Use clz instead of unspec.
33389169689Skan
33390169689Skan2003-02-07  Loren James Rittle  <ljrittle@acm.org>
33391169689Skan
33392169689Skan	* config/alpha/freebsd.h (LINK_SPEC): Weaken error to notice.
33393169689Skan	* config/ia64/freebsd.h (LINK_SPEC): Likewise.
33394169689Skan	* config/sparc/freebsd.h (LINK_SPEC): Likewise.
33395169689Skan	* config/i386/freebsd.h (LINK_SPEC): Add clause to mirror other arches.
33396169689Skan
33397169689Skan2003-02-07  Wolfgang Bangerth  <bangerth@ticam.utexas.edu>
33398169689Skan
33399169689Skan	* doc/trouble.texi: Document pitfalls of two-stage name lookup.
33400169689Skan
33401169689Skan2003-02-07  Richard Henderson  <rth@redhat.com>
33402169689Skan
33403169689Skan	PR 9226
33404169689Skan	* gcse.c (local_cprop_find_used_regs): New.
33405169689Skan	(local_cprop_pass): Use it.
33406169689Skan
33407169689Skan2003-02-07  Fred Fish  <fnf@intrinsity.com>
33408169689Skan
33409169689Skan	* mips-tfile.c (parse_def): Parenthesize assignments to fix
33410169689Skan	precedence bugs.
33411169689Skan
33412169689Skan2003-02-07  Segher Boessenkool  <segher@koffie.nl>
33413169689Skan
33414169689Skan	* genoutput.c (output_get_insn_name): Handle NOOP_MOVE_INSN_CODE.
33415169689Skan
33416169689Skan2003-02-07  Roger Sayle  <roger@eyesopen.com>
33417169689Skan
33418169689Skan	* builtin-types.def (BT_FN_FLOAT_FLOAT_FLOAT): New built-in type.
33419169689Skan	(BT_FN_LONG_DOUBLE_LONG_DOUBLE_LONG_DOUBLE): Likewise.
33420169689Skan	(BT_FN_DOUBLE_DOUBLE_DOUBLE): Likewise.
33421169689Skan	* builtins.def: Define pow, powf, powl, atan2, atan2f and atan2l
33422169689Skan	builtin functions (and their __builtin_* variants).
33423169689Skan	* builtins.c (mathfn_built_in): Handle missing log{,f,l} cases.
33424169689Skan	(expand_builtin): Don't expand log{,f,l}, pow{,f,l} or atan2{,f,l}
33425169689Skan	when not optimizing.
33426169689Skan
33427169689Skan	* doc/extend.texi: Document new pow and atan2 builtins, and
33428169689Skan	their float and long double variants.  Realphabetize builtins.
33429169689Skan
33430169689Skan2003-02-07  Jan Hubicka  <jh@suse.cz>
33431169689Skan
33432169689Skan	* i386.md (sse2_nandv2di3): Fix.
33433169689Skan
33434169689Skan2003-03-07  Danny Smith  <dannysmith@users.sourceforge.net>
33435169689Skan
33436169689Skan	* config/i386/i386.h (MS_AGGREGATE_RETURN): New define.
33437169689Skan	* config/i386/cygwin.h (MS_AGGREGATE_RETURN): Override default
33438169689Skan	definition.
33439169689Skan	* config/i386/i386.h (ix86_return_in_memory): Return aggregate
33440169689Skan	types of up to 8 bytes via registers if MS_AGGREGATE_RETURN.
33441169689Skan
33442169689Skan2003-02-07  Jan Hubicka  <jh@suse.cz>
33443169689Skan
33444169689Skan	* i386.md (movdi_rex64_1): Fix mmx<->int move opcode.
33445169689Skan
33446169689Skan2003-02-07  Daniel Berlin  <dberlin@dberlin.org>
33447169689Skan
33448169689Skan	* cfg.c (dump_flow_info): Add back accidently deleted line.
33449169689Skan
33450169689Skan2003-02-07  Andrey Petrov <petrov@netbsd.org>
33451169689Skan
33452169689Skan	* optabs.c (expand_float): Search wider integer modes first.
33453169689Skan
33454169689Skan2003-02-07  Bob Wilson  <bob.wilson@acm.org>
33455169689Skan
33456169689Skan	* config/xtensa/xtensa.h (LIBGCC2_WORDS_BIG_ENDIAN): Set this
33457169689Skan	based on preprocessor flag.
33458169689Skan
33459169689Skan2003-02-07  Roger Sayle  <roger@eyesopen.com>
33460169689Skan	    Richard Henderson  <rth@redhat.com>
33461169689Skan
33462169689Skan	* gcse.c (implicit_sets): New.
33463169689Skan	(compute_hash_table_work): Include them in hash table.
33464169689Skan	(find_implicit_sets, fis_get_condition): New.
33465169689Skan	(one_cprop_pass): Allocate and free implicit_sets; call
33466169689Skan	find_implicit_sets before building hash table.
33467169689Skan
33468169689Skan2003-02-07  Jason Thorpe  <thorpej@wasabisystems.com>
33469169689Skan
33470169689Skan	* config/t-netbsd (USER_H): Revert previous change.
33471169689Skan
33472169689Skan2003-02-07  Gabor Greif  <ggreif@lucent.com>
33473169689Skan
33474169689Skan	* doc/c-tree.texi (Namespaces): Fix typo.
33475169689Skan
33476169689Skan2003-02-07  Jan Hubicka  <jh@suse.cz>
33477169689Skan
33478169689Skan	* regrename.c (do_replace, find_oldest_value_reg,
33479169689Skan	copyprop_hardreg_forward_1): Update register attributes.
33480169689Skan
33481169689Skan2003-02-06  Vladimir Makarov  <vmakarov@redhat.com>
33482169689Skan
33483169689Skan	* genautomata.c (VLA_PTR_CREATE, VLA_PTR_EXPAND, VLA_PTR_ADD,
33484169689Skan	VLA_HWINT_CREATE, VLA_HWINT_EXPAND, VLA_HWINT_ADD): Use temporay
33485169689Skan	variables starting with underscore.
33486169689Skan	(struct unit_usage): New structure.
33487169689Skan	(unit_usages, cycle_alt_unit_usages): New global variables.
33488169689Skan	(check_unit_distribution_in_reserv): Remove it.
33489169689Skan	(store_alt_unit_usage): New function.
33490169689Skan	(check_regexp_units_distribution): Rewrite it.
33491169689Skan
33492169689Skan2003-02-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
33493169689Skan
33494169689Skan	* config.gcc (hppa*-*-linux*): Set MASK_NO_SPACE_REGS in
33495169689Skan	target_cpu_default.
33496169689Skan	* pa.c (attr_length_call): Add 8 to call length (long indirect PA 1.X)
33497169689Skan	if not MASK_NO_SPACE_REGS.
33498169689Skan	(output_call): Adjust return pointer, don't load new space register
33499169689Skan	into %sr0, and use %sr4 for call if TARGET_NO_SPACE_REGS is true.
33500169689Skan	(pa_asm_output_mi_thunk): Don't load new space register into %sr0 if
33501169689Skan	TARGET_NO_SPACE_REGS is true.
33502169689Skan	* pa.md (return_external_pic): Add TARGET_NO_SPACE_REGS to insn
33503169689Skan	conditions.
33504169689Skan	(epilogue): Always use return_internal if TARGET_NO_SPACE_REGS is true.
33505169689Skan	(interspace_jump): Add new pattern for when TARGET_NO_SPACE_REGS is
33506169689Skan	true.  Use bve when TARGET_64BIT is true.
33507169689Skan
33508169689Skan2003-02-06  Richard Henderson  <rth@redhat.com>
33509169689Skan
33510169689Skan	* combine.c (nonzero_bits): Fix double break.
33511169689Skan
33512169689Skan2003-02-06  Eric Botcazou <ebotcazou@libertysurf.fr>
33513169689Skan	    Richard Henderson <rth@redhat.com>
33514169689Skan
33515169689Skan	PR c/9530
33516169689Skan	* config/i386/i386.c (ix86_function_ok_for_sibcall): Forbid sibcalls
33517169689Skan	from functions that return a float to functions that don't.
33518169689Skan
33519169689Skan2003-02-06  Jan Hubicka  <jh@suse.cz>
33520169689Skan
33521169689Skan	* i386.c (x86_inter_unit_moves): New variable.
33522169689Skan	(ix86_secondary_memory_needed): Fix 64bit case, honor
33523169689Skan	TARGET_INTER_UNIT_MOVES
33524169689Skan	* i386.h (x86_inter_unit_moves): Declare.
33525169689Skan	(TARGET_INTER_UNIT_MOVES): New macro.
33526169689Skan	* i386.md (movsi_1): Cleanup constraints; disable
33527169689Skan	when not doing inter-unit moves.
33528169689Skan	(movsi_1_nointernunit): New.
33529169689Skan	(movdi_1_rex64): Fix constraints; deal with SSE->GPR moves.
33530169689Skan	(movdi_1_rex64_nointerunit): New.
33531169689Skan	(mivsf_1): disable when not doing inter-unit moves.
33532169689Skan	(movsf_1_nointerunit): New.
33533169689Skan
33534169689Skan	* basic-block.h (inside_basic_block_p):  Declare.
33535169689Skan	* cfgbuild.c (inside_basic_block_p): Make global.
33536169689Skan	* haifa-sched.c (unlink_other_notes): Deal with NOT_INSN_BASIC_BLOCK.
33537169689Skan	* scheudle-ebb.c  (schedule_ebb): Return last basic block of trace;
33538169689Skan	update CFG.
33539169689Skan	(fix_basic_block_boundaries, add_missing_bbs): New.
33540169689Skan	(rank): Use profile.
33541169689Skan	(scheudle_ebbs): Rely on CFG; update coments.
33542169689Skan
33543169689Skan2003-02-05  Geoffrey Keating  <geoffk@apple.com>
33544169689Skan
33545169689Skan	* Makefile.in (host_hook_obj): New.
33546169689Skan	(OBJS): Add $(host_hook_obj).
33547169689Skan	(host_default.o): New rule.
33548169689Skan	* config.gcc (host_hook_obj): New, default to host-default.o.
33549169689Skan	(powerpc-*-darwin*): Use host-darwin.o.
33550169689Skan	(out_host_hook_obj): New.
33551169689Skan	* configure: Regenerate.
33552169689Skan	* configure.in: Print information about out_host_hook_obj, substitute
33553169689Skan	into output files.
33554169689Skan	* host-default.c: New file.
33555169689Skan	* hosthooks.h: New file.
33556169689Skan	* toplev.c (general_init): Call host_hooks.extra_signals.
33557169689Skan	* config/rs6000/host-darwin.c: New file.
33558169689Skan	* config/rs6000/x-darwin: New file.
33559169689Skan	* doc/hostconfig.texi: Add documentation for new host hook.
33560169689Skan	Rearrange existing documentation.
33561169689Skan
33562169689Skan2003-02-05  Roger Sayle  <roger@eyesopen.com>
33563169689Skan
33564169689Skan	* dwarf2out.c (mem_loc_descriptor): Replace ASM_SIMPLIFY_DWARF_ADDR
33565169689Skan	with *targetm.delegitimize_address.
33566169689Skan	(rtl_for_decl_location): Likewise.
33567169689Skan	* dwarfout.c (output_mem_loc_descriptor): Likewise.  Include target.h.
33568169689Skan	* Makefile.in (dwarf2out.c, dwarfout.c): Depend upon $(TARGET_H)
33569169689Skan
33570169689Skan	* config/i386/i386.h (ASM_SIMPLIFY_DWARF_ADDR): Remove definition.
33571169689Skan	* config/i386/i386-protos.h (i386_simplify_dwarf_addr): Remove
33572169689Skan	prototype.
33573169689Skan	* config/i386/i386.c (ix86_delegitimize_address): Renamed from
33574169689Skan	i386_simplify_dwarf_addr.  Made static.  Prototyped.
33575169689Skan	(TARGET_DELEGITIMIZE_ADDRESS): Update definition from
33576169689Skan	i386_simplify_dwarf_addr to ix86_delegitimize_address.
33577169689Skan	(ix86_find_base_term): Likewise.
33578169689Skan	(maybe_get_pool_constant): Likewise.
33579169689Skan
33580169689Skan	* config/s390/s390.h (ASM_SIMPLIFY_DWARF_ADDR): Remove definition.
33581169689Skan	* config/s390/s390-protos.h (s390_simplify_dwarf_addr): Remove
33582169689Skan	prototype.
33583169689Skan	* config/s390/s390.c (s390_delegitimize_address): Renamed from
33584169689Skan	s390_simplify_dwarf_addr.  Made static.  Prototyped.
33585169689Skan	(TARGET_DELEGITIMIZE_ADDRESS): Define as s390_delegitimize_address.
33586169689Skan
33587169689Skan2003-02-05  Richard Henderson  <rth@redhat.com>
33588169689Skan
33589169689Skan	PR c/8602
33590169689Skan	* integrate.c (output_inline_function): Reset input_filename
33591169689Skan	and lineno from the decl before rest_of_compilation.
33592169689Skan
33593169689Skan2003-02-05  Richard Henderson  <rth@redhat.com>
33594169689Skan
33595169689Skan	* defaults.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
33596169689Skan	(CTZ_DEFINED_VALUE_AT_ZERO): New.
33597169689Skan	* doc/rtl.texi, doc/tm.texi: Document them.
33598169689Skan
33599169689Skan	* combine.c (nonzero_bits) [CLZ, CTZ]: Handle the definedness
33600169689Skan	of the value at zero properly.
33601169689Skan	* fold-const.c (tree_expr_nonnegative_p): Likewise.
33602169689Skan	* simplify-rtx.c (simplify_unary_operation): Likewise.
33603169689Skan
33604169689Skan	* config/alpha/alpha.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
33605169689Skan	(CTZ_DEFINED_VALUE_AT_ZERO): New.
33606169689Skan
33607169689Skan	* config/arm/arm.c (TARGET_INIT_BUILTINS): Remove.
33608169689Skan	(TARGET_EXPAND_BUILTIN): Remove.
33609169689Skan	(def_builtin, arm_init_builtins, arm_expand_builtin): Remove.
33610169689Skan	* config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
33611169689Skan	(enum arm_builtins): Remove.
33612169689Skan	* config/arm/arm.md (UNSPEC_CLZ): Remove.
33613169689Skan	(clzsi2): Rename from clz; use clz instead of unspec.
33614169689Skan	(ctzsi2): New.
33615169689Skan	* config/arm/arm-protos.h: Update.
33616169689Skan
33617169689Skan2003-02-05  Jan Hubicka  <jh@suse.cz>
33618169689Skan
33619169689Skan	* i386-protos.h (x86_emit_floatuns):  Declare.
33620169689Skan	* i386.c (x86_emit_floatuns): New global function.
33621169689Skan	* i386.md (floatunssisf2, floatunsdisf2,
33622169689Skan	floatunsdidf2):  New patterns.
33623169689Skan
33624169689Skan2003-01-25  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
33625169689Skan
33626169689Skan	* cfgloopmanip.c (force_single_succ_latches): Fix missindentation.
33627169689Skan
33628169689Skan2003-02-05  Hans Boehm <Hans.Boehm@hp.com>
33629169689Skan
33630169689Skan	* config/ia64/unwind-ia64.c: include coretypes.h, tm.h to get
33631169689Skan	  config/ia64/linux.h
33632169689Skan
33633169689Skan2003-02-05  Roger Sayle  <roger@eyesopen.com>
33634169689Skan
33635169689Skan	* cfgloop.h (flow_bb_inside_loop_p): Correct prototype again.
33636169689Skan
33637169689Skan2003-02-05  Jakub Jelinek  <jakub@redhat.com>
33638169689Skan
33639169689Skan	PR optimization/8555
33640169689Skan	* config/i386/i386.md (sse_mov?fcc split): Handle op2 == op3 case
33641169689Skan	instead of aborting.
33642169689Skan
33643169689Skan2003-02-04  Richard Henderson  <rth@redhat.com>
33644169689Skan
33645169689Skan	* config/i386/i386.md (UNSPEC_BSF): Remove.
33646169689Skan	(ffssi2): Split into cmove and no_cmove insns and splitters;
33647169689Skan	lose pentium float trick for now.
33648169689Skan	(ffssi_1): Add * to name; use CTZ instead of UNSPEC.
33649169689Skan	(ctzsi2, clzsi2, bsr): New.
33650169689Skan
33651169689Skan2003-02-04  Richard Henderson  <rth@redhat.com>
33652169689Skan
33653169689Skan	* config/ia64/ia64.c (rtx_needs_barrier): Handle POPCOUNT,
33654169689Skan	UNSPEC_GETF_EXP; remove UNSPEC_POPCNT.
33655169689Skan	* config/ia64/ia64.md (UNSPEC_POPCNT): Remove.
33656169689Skan	(ffsdi2): Use popcount instead of unspec.
33657169689Skan	(popcountdi2): Rename from *popcnt.
33658169689Skan	(ctzdi2, clzdi2, getf_exp_tf): New.
33659169689Skan
33660169689Skan2003-02-04  Kazu Hirata  <kazu@cs.umass.edu>
33661169689Skan
33662169689Skan	* genconfig.c (main): Generate CC0_P.
33663169689Skan	* rtl.h (CC0_P): Remove.
33664169689Skan
33665169689Skan2003-02-04  Richard Henderson  <rth@redhat.com>
33666169689Skan
33667169689Skan	* libgcc2.h, libgcc2.c (__ffsSI2): New.
33668169689Skan	(__ffsDI2): Rename from __ffsdi2.
33669169689Skan	* mklibgcc.in (lib2funcs): Add _ffssi2.
33670169689Skan
33671169689Skan2003-02-04  Richard Henderson  <rth@redhat.com>
33672169689Skan
33673169689Skan	* libgcc2.c (__paritysi2, __paritydi2): Replace last two reduction
33674169689Skan	rounds with a "bit table" lookup.
33675169689Skan
33676169689Skan2003-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
33677169689Skan
33678169689Skan	* reload.c (find_reloads): Do not use the mode specified in the insn
33679169689Skan	pattern as reload mode for address operands.  Do not generate optional
33680169689Skan	reloads for operands where a mandatory reload was already pushed.
33681169689Skan
33682169689Skan2003-02-04  Richard Henderson  <rth@redhat.com>
33683169689Skan
33684169689Skan	* longlong.h [alpha] (count_leading_zeros, count_trailing_zeros): Use
33685169689Skan	builtins instead of inline assembly.
33686169689Skan
33687169689Skan2003-02-04  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
33688169689Skan
33689169689Skan	PR c/9376
33690169689Skan	* libgcc2.c (__subvdi3): Fix typo.
33691169689Skan
33692169689Skan2003-02-04  Jan Hubicka  <jh@suse.cz>
33693169689Skan
33694169689Skan	* i386.md (movti_rex64):  Fix constraint.
33695169689Skan
33696169689Skan2003-02-04  Jan Hubicka  <jh@suse.cz>
33697169689Skan
33698169689Skan	* i386.md (vector push splitters):  Fix typo in resolving conflict.
33699169689Skan
33700169689Skan2003-02-04  Rodney Brown  <rbrown64@csc.com.au>
33701169689Skan
33702169689Skan	* config/i386/i386.c (x86_function_profiler): Fix typo in format.
33703169689Skan
33704169689Skan2003-02-04  Phil Edwards  <pme@gcc.gnu.org>
33705169689Skan
33706169689Skan	* doc/install.texi (*-*-linux-gnu):  Mention glibc requirements
33707169689Skan	for recent libstdc++.  Remove formatting cruft.
33708169689Skan
33709169689Skan2003-02-04  Jakub Jelinek  <jakub@redhat.com>
33710169689Skan
33711169689Skan	* dwarf2out.c (dwarf2out_finish): Add AT_comp_dir
33712169689Skan	attribute even if input file name is absolute, but one of the
33713169689Skan	includes is relative.
33714169689Skan
33715169689Skan2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
33716169689Skan
33717169689Skan	* doc/gcc.texi, doc/gccint.texi, doc/gcov.texi,
33718169689Skan	doc/include/fdl.texi, doc/invoke.texi: Update to GFDL 1.2.
33719169689Skan	* doc/install.texi: Update copyright dates.  Update to GFDL 1.2.
33720169689Skan
33721169689Skan2003-02-03  Richard Henderson  <rth@redhat.com>
33722169689Skan
33723169689Skan	* libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
33724169689Skan	__popcountsi2, __popcountdi2, __paritysi2, __paritydi2): Change
33725169689Skan	return type to "int".  Shuffle declarations and undef int trap.
33726169689Skan	* libgcc2.h: Remove their declarations.
33727169689Skan	* optabs.c (expand_unop): Force outmode to int for bitops.
33728169689Skan
33729169689Skan2003-02-03  Bob Wilson  <bob.wilson@acm.org>
33730169689Skan
33731169689Skan	* config/xtensa/xtensa.c (order_regs_for_local_alloc): Order the
33732169689Skan	coprocessor registers before floating-point registers.
33733169689Skan	* config/xtensa/xtensa.h (REG_ALLOC_ORDER): Adjust register numbers
33734169689Skan	to account for a previously removed register.
33735169689Skan	(SPEC_REG_FIRST, SPEC_REG_LAST, SPEC_REG_NUM, COUNT_REGISTER_REGNUM):
33736169689Skan	Delete unused macros.
33737169689Skan
33738169689Skan2003-02-03  Jan Hubicka  <jh@suse.cz>
33739169689Skan
33740169689Skan	* i386.c (ix86_expand_store_builtin):  Always force op1 to register.
33741169689Skan	(mov*_internal): Fix predicates; require one of operands to not be
33742169689Skan	memory.
33743169689Skan	(SSE?MMX move expanders):  Fix predicates; force one of operands to
33744169689Skan	register.
33745169689Skan	(SSE/MMX push patterns): Reorganize; fix x86-64 code generation.
33746169689Skan	(movups/movupd/movdqu patterns): Force one of operands to not be
33747169689Skan	memory.
33748169689Skan
33749169689Skan2003-02-03  Roger Sayle  <roger@eyesopen.com>
33750169689Skan
33751169689Skan	* hooks.c (hook_rtx_rtx_identity): Generic hook function that
33752169689Skan	takes a single rtx and returns it unmodified.
33753169689Skan	* hooks.h (hook_rtx_rtx_identity): Prototype here.
33754169689Skan	* target.h (struct gcc_target): Add "delegitimize_address"
33755169689Skan	field to target structure.
33756169689Skan	* target-def.h (TARGET_DELEGITIMIZE_ADDRESS):  Provide default
33757169689Skan	for delegitimize_address target using hook_rtx_rtx_identity.
33758169689Skan	(TARGET_INITIALIZER): Initialize delegitimize_address field
33759169689Skan	using TARGET_DELEGITIMIZE_ADDRESS macro.
33760169689Skan	* simplify-rtx.c (avoid_constant_pool_reference): Handle float
33761169689Skan	extensions of constant pool references.  Use delegitimize_address
33762169689Skan	to undo the obfuscation of "-fpic".
33763169689Skan	* Makefile.in (simplify-rtx.o): Add dependency on target.h.
33764169689Skan
33765169689Skan	* config/i386/i386.c (TARGET_DELEGITIMIZE_ADDRESS): Define as
33766169689Skan	i386_simplify_dwarf_addr.
33767169689Skan	(ix86_find_base_term): Simplify using i386_simplify_dwarf_addr.
33768169689Skan	(maybe_get_pool_constant): Likewise.
33769169689Skan
33770169689Skan2003-02-03  Jan Hubicka  <jh@suse.cz>
33771169689Skan
33772169689Skan	* i386.c (ix86_expand_int_movcc):  Fix setcc sign bit case.
33773169689Skan
33774169689Skan2003-02-03  Jan Hubicka  <jh@suse.cz>
33775169689Skan
33776169689Skan	* regclass.c (cannot_change_mode_set_regs): Correct argument order.
33777169689Skan
33778169689Skan2003-02-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
33779169689Skan
33780169689Skan	* mips/_tilib.c: Don't include tsystem.h or defaults.h.  Don't
33781169689Skan	define LIBGCC2_WORDS_BIG_ENDIAN.  Include coretypes.h and tm.h.
33782169689Skan
33783169689Skan2003-02-02  Andreas Schwab  <schwab@suse.de>
33784169689Skan
33785169689Skan	* varasm.c (asm_output_aligned_bss): Declare as possibly unused.
33786169689Skan
33787169689Skan2003-02-02  Richard Earnshaw  <rearnsha@arm.com>
33788169689Skan
33789169689Skan	* arm.md (sibcall_epilogue): Set the "conds" to "clob".
33790169689Skan	(epilogue_insns): Likewise.
33791169689Skan
33792169689Skan2003-02-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
33793169689Skan
33794169689Skan	* doc/install.texi (hppa*-hp-hpux11*): Update installation notes.
33795169689Skan
33796169689Skan2003-02-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
33797169689Skan
33798169689Skan	* pa-protos.h (attr_length_millicode_call): Remove second argument.
33799169689Skan	(attr_length_indirect_call, attr_length_indirect_call,
33800169689Skan	attr_length_save_restore_dltp): New prototypes.
33801169689Skan	* pa.c (attr_length_millicode_call): Remove second argument.  Check
33802169689Skan	INSN_ADDRESSES_SET_P in distance calculation.
33803169689Skan	(output_millicode_call): Check INSN_ADDRESSES_SET_P before using
33804169689Skan	INSN_ADDRESSES.
33805169689Skan	(attr_length_call): Check INSN_ADDRESSES_SET_P in distance calculation.
33806169689Skan	(output_call): Check INSN_ADDRESSES_SET_P before using INSN_ADDRESSES.
33807169689Skan	Call attr_length_call directly.
33808169689Skan	(attr_length_indirect_call, output_indirect_call,
33809169689Skan	attr_length_save_restore_dltp): New functions.
33810169689Skan	* pa.md (attr_length_millicode_call): Drop second argument from all
33811169689Skan	patterns.
33812169689Skan	(return_internal_pic): Delete.
33813169689Skan	(return_external_pic): Remove use of PIC register and pic operand and
33814169689Skan	flag checks.
33815169689Skan	(epilogue): Use return_internal for both normal and pic code.
33816169689Skan	(call, call_value): Emit new 32-bit pic patterns for symref and
33817169689Skan	indirect calls.  Remove uses for arg pointer and pic register.
33818169689Skan	(call_symref_pic, call_symref_pic_post_reload, call_reg_pic,
33819169689Skan	call_reg_pic_post_reload, call_val_symref_pic,
33820169689Skan	call_val_symref_pic_post_reload, call_val_reg_pic,
33821169689Skan	call_val_reg_pic_post_reload): New pre and post reload insn patterns.
33822169689Skan	Implement define_split and define_peephole2 patterns for pre reload
33823169689Skan	patterns.
33824169689Skan	(call_symref_64bit, call_internal_reg_64bit, call_value_symref_64bit,
33825169689Skan	call_value_internal_reg_64bit): Shorten names.
33826169689Skan	(all call patterns): Explicitly indicate registers used and clobbered.
33827169689Skan	Use attr_length_indirect_call and attr_length_save_restore_dltp for
33828169689Skan	attribute length calculation.  Move code generation for indirect calls
33829169689Skan	to output_indirect_call.
33830169689Skan	(sibcall, sibcall_value): Don't restore PIC register.
33831169689Skan	(exception_receiver, builtin_setjmp_receiver): Add blockage after PIC
33832169689Skan	register retore.
33833169689Skan
33834169689Skan2003-02-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
33835169689Skan
33836169689Skan	* doc/install.texi (Testing): Simplify and compress instructions
33837169689Skan	concerning Dejagnu.
33838169689Skan
33839169689Skan2003-02-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
33840169689Skan
33841169689Skan	* collect2.c (pexecute_pid): Rename to pid.
33842169689Skan	(collect_wait, collect_execute, scan_prog_file, scan_libraries): Use
33843169689Skan	pid.
33844169689Skan
33845169689Skan2003-02-01  Geoffrey Keating  <geoffk@apple.com>
33846169689Skan
33847169689Skan	* doc/extend.texi (Function Attributes): Remove documentation
33848169689Skan	for PowerPC Windows NT function attributes..
33849169689Skan
33850169689Skan2003-02-01  Daniel Jacobowitz  <drow@mvista.com>
33851169689Skan
33852169689Skan	* dwarf2out.c (gen_type_die): Check for typedefs before calling
33853169689Skan	for TYPE_MAIN_VARIANT.
33854169689Skan
33855169689Skan2003-02-01  Richard Henderson  <rth@redhat.com>
33856169689Skan
33857169689Skan	* libgcc2.c: Include auto-host.h.
33858169689Skan	(ATTRIBUTE_HIDDEN): New.
33859169689Skan	(__clz_tab): Don't declare here for clz and ctz.
33860169689Skan	(__clzsi2, __clzdi2): Use count_leading_zeros.
33861169689Skan	(__ctzsi2, __ctzdi2): Use count_trailing_zeros.
33862169689Skan	(__popcount_tab): Mark ATTRIBUTE_HIDDEN.
33863169689Skan	(__paritysi2, __paritydi2): Use shifts instead of __popcount_tab.
33864169689Skan	* longlong.h (__clz_tab): Mark ATTRIBUTE_HIDDEN.
33865169689Skan
33866169689Skan2003-02-01  Richard Henderson  <rth@redhat.com>
33867169689Skan
33868169689Skan	* config/i386/i386.md (addsi_1_zext splitter): Add TARGET_64BIT
33869169689Skan	to the conditional.
33870169689Skan	(ashlsi3_1_zext splitter): Likewise.
33871169689Skan
33872169689Skan2003-02-01  Richard Henderson  <rth@redhat.com>
33873169689Skan
33874169689Skan	* optabs.c (expand_unop): Use word_mode for outmode of bit scaners.
33875169689Skan	* libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
33876169689Skan	__popcountsi2, __popcountdi2, __paritysi2 __paritydi2): Change
33877169689Skan	return type to Wtype.
33878169689Skan
33879169689Skan	* libgcc-std.ver (GCC_3.4): Fix inheritance.
33880169689Skan
33881169689Skan	* config/i386/i386.md (ffssi2): Use nonimmediate_operand for
33882169689Skan	expander input constraint.
33883169689Skan
33884169689Skan2003-02-01  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
33885169689Skan
33886169689Skan	* optabs.h (optab_index): Add OTI_clz, OTI_ctz, OTI_popcount and
33887169689Skan	OTI_parity.
33888169689Skan	(clz_optab, ctz_optab, popcount_optab, parity_optab): New.
33889169689Skan	* optabs.c (widen_clz, expand_parity): New.
33890169689Skan	(expand_unop): Handle clz and parity.  Hardcode SImode as outmode
33891169689Skan	for libcalls to clz, ctz, popcount, and parity.
33892169689Skan	(init_optabs): Init clz_optab, ctz_optab, popcount_optab and
33893169689Skan	parity_optab, and set up libfunc handlers.
33894169689Skan	* libgcc2.c (__clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
33895169689Skan	__popcountsi2, __popcountdi2, __paritysi2 __paritydi2,
33896169689Skan	__popcount_tab): New.
33897169689Skan	* libgcc2.h: Declare them.
33898169689Skan	* libgcc-std.ver (GCC_3.4): Add new functions from libgcc2.c.
33899169689Skan	* genopinit.c (optabs): Add clz_optab, ctz_optab, popcount_optab
33900169689Skan	and parity_optab.
33901169689Skan	* builtin-types.def (BT_FN_INT_LONG, BT_FN_INT_LONGLONG): New.
33902169689Skan	* builtins.def (BUILT_IN_CLZ, BUILT_IN_CTZ, BUILT_IN_POPCOUNT,
33903169689Skan	BUILT_IN_PARITY, BUILT_IN_FFSL, BUILT_IN_CLZL, BUILT_IN_CTZL,
33904169689Skan	BUILT_IN_POPCOUNTL, BUILT_IN_PARITYL, BUILT_IN_FFSLL,
33905169689Skan	BUILT_IN_CLZLL, BUILT_IN_CTZLL, BUILT_IN_POPCOUNTLL,
33906169689Skan	BUILT_IN_PARITYLL): New.
33907169689Skan	* builtins.c (expand_builtin_unop): Rename from expand_builtin_ffs
33908169689Skan	and add optab argument.
33909169689Skan	(expand_builtin): Expand BUILT_IN_{FFS,CLZ,POPCOUNT,PARITY}*.
33910169689Skan	* tree.def (CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR, PARITY_EXPR): New.
33911169689Skan	* expr.c (expand_expr): Handle them.
33912169689Skan	* fold-const.c (tree_expr_nonnegative_p): Likewise.
33913169689Skan	* rtl.def (CLZ, CTZ, POPCOUNT, PARITY): New.
33914169689Skan	* reload1.c (eliminate_regs): Handle them.
33915169689Skan	(elimination_effects): Likewise.
33916169689Skan	* function.c (instantiate_virtual_regs_1): Likewise
33917169689Skan	* genattrtab.c (check_attr_value): Likewise.
33918169689Skan	* simplify-rtx.c (simplify_unary_operation): Likewise.
33919169689Skan	* c-common.c (c_common_truthvalue_conversion): Handle POPCOUNT_EXPR.
33920169689Skan	* combine.c (combine_simplify_rtx): Handle POPCOUNT and PARITY.
33921169689Skan	(nonzero_bits): Handle CLZ, CTZ, POPCOUNT and PARITY.
33922169689Skan	* config/alpha/alpha.md (clzdi2, ctzdi2, popcountdi2): New.
33923169689Skan	* config/arm/arm.c (arm_init_builtins): Rename __builtin_clz to
33924169689Skan	__builtin_arm_clz.
33925169689Skan	* Makefile.in (LIB2FUNCS_1, LIB2FUNCS_2): Move...
33926169689Skan	* mklibgcc.in (lib2funcs): ...here and merge.  Add new members.
33927169689Skan	* doc/extend.texi (Other Builtins): Add new builtins.
33928169689Skan	* doc/md.texi (Standard Names): Add new patterns.
33929169689Skan
33930169689Skan2003-02-01  Ulrich Weigand  <uweigand@de.ibm.com>
33931169689Skan
33932169689Skan	* reload.c: Revert 2003-01-31 change.
33933169689Skan
33934169689Skan2003-02-01  Jan Hubicka  <jh@suse.cz>
33935169689Skan
33936169689Skan	* combine.c (combine_simplify_rtx):  Use reversed_comparison_code_parts.
33937169689Skan
33938169689Skan2003-02-01  Richard Sandiford  <rsandifo@redhat.com>
33939169689Skan
33940169689Skan	* flags.h (flag_volatile): Remove declaration.
33941169689Skan	(flag_volatile_global, flag_volatile_static): Likewise.
33942169689Skan	* c-typeck.c (build_indirect_ref): Don't check flag_volatile.
33943169689Skan	* toplev.c (flag_volatile): Remove definition.
33944169689Skan	(flag_volatile_global, flag_volatile_static): Likewise.
33945169689Skan	(f_options): Remove corresponding entries here.
33946169689Skan	* varasm.c (make_decl_rtl): Don't check flag_volatile_global
33947169689Skan	or flag_volatile_static.
33948169689Skan	* doc/invoke.texi: Remove documentation of -fvolatile,
33949169689Skan	-fvolatile-global and -fvolatile-static.
33950169689Skan
33951169689Skan2003-01-31  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
33952169689Skan
33953169689Skan	* pa.c (pa_output_function_prologue, pa_output_function_epilogue): Move
33954169689Skan	updating of total_code_bytes from prologue to epilogue.
33955169689Skan
33956169689Skan2003-01-31  Ulrich Weigand  <uweigand@de.ibm.com>
33957169689Skan
33958169689Skan	* reload.c (find_reloads): Do not use the mode specified in the insn
33959169689Skan	pattern as reload mode for address operands.  Do not generate optional
33960169689Skan	reloads for operands where a mandatory reload was already pushed.
33961169689Skan	Generate optional reloads only in the final pass though find_reloads.
33962169689Skan	(have_replacement_p): New function.
33963169689Skan
33964169689Skan2003-01-31  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
33965169689Skan
33966169689Skan	* doc/install.texi (Testing): Remove a reference to our obsolete
33967169689Skan	/testresults web pages and strip redundant information concerning
33968169689Skan	test results.
33969169689Skan	(Binaries): Refer to Microsoft Windows instead of listing all
33970169689Skan	possible variants.
33971169689Skan
33972169689Skan2003-02-01  Jan Hubicka  <jh@suse.cz>
33973169689Skan
33974169689Skan	* loop.c (emit_prefetch_instructions):  Do conversion at right place in
33975169689Skan	RTL chain.
33976169689Skan
33977169689Skan	* combine.c (simplify_set): Reverse order of ragumetns to
33978169689Skan	REG_CANNOT_CHANGE_MODE_P
33979169689Skan	* df.c (df_def_record_1): Likewise.
33980169689Skan	* recog.c (register_operand): Likewise.
33981169689Skan	* simplify-rtx.c (simplify_subreg): Likewise.
33982169689Skan	* hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): Update use of
33983169689Skan	CANNOT_CHANGE_MODE_CLASS.
33984169689Skan	* regclass.c (cannot_change_mode_set_regs, invalid_mode_change_p):
33985169689Skan	Likewise.
33986169689Skan	* reload.c (push_reload): Likewise.
33987169689Skan	* alpha.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
33988169689Skan	* ia64.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
33989169689Skan	* mips.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
33990169689Skan	* mips-protos.h (mips_cannot_change_mode_class): Update prototype.
33991169689Skan	* mips.c (mips_cannot_change_mode_class): Update.
33992169689Skan	* pa64-regs.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
33993169689Skan	* rs6000.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
33994169689Skan	* s390.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
33995169689Skan	* sh.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
33996169689Skan	* sh-protos.h (sh_cannot_change_mode_class): Update prototype.
33997169689Skan	* sh.c (sh_cannot_change_mode_class): Update.
33998169689Skan	* i386.h (CANNOT_CHANGE_MODE_CLASS): New.
33999169689Skan	* tm.texi (CANNOT_CHANGE_MODE_CLASS): Update documentation.
34000169689Skan
34001169689Skan2003-01-31  Geoffrey Keating  <geoffk@apple.com>
34002169689Skan
34003169689Skan	* config/darwin.h (LINK_COMMAND_SPEC): Update for Nathan's recent
34004169689Skan	change to LINK_COMMAND_SPEC in gcc.c.
34005169689Skan
34006169689Skan2003-01-31  Jan Hubicka  <jh@suse.cz>
34007169689Skan
34008169689Skan	PR c/9506
34009169689Skan	* i386.c (override_options): Use DEFAULT_PCC_STRUCT_RETURN.
34010169689Skan
34011169689Skan2003-01-31  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
34012169689Skan
34013169689Skan	* pa32-regs.h (REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Delete
34014169689Skan	duplicated code.
34015169689Skan
34016169689Skan2003-01-31  Nathan Sidwell  <nathan@codesourcery.com>
34017169689Skan
34018169689Skan	* tree.h (TYPE_BINFO_SIZE, TYPE_BINFO_SIZE_UNIT): Remove.
34019169689Skan	(BINFO_ELTS): New #define.
34020169689Skan	* stor-layout.c (finalize_record_size): Don't set them.
34021169689Skan	* cp/cp-tree.h (BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX,
34022169689Skan	BINFO_PRIMARY_BASE_OF): Use BINFO_ELTS.
34023169689Skan	(BINFO_LANG_ELTS): New #define.
34024169689Skan	* cp/tree.c (make_binfo): Use BINFO_LANG_ELTS.
34025169689Skan	* java/class.c (make_class): Use BINFO_ELTS.
34026169689Skan	(set_super_info): Likewse.
34027169689Skan	(add_interface_do): Likewise.
34028169689Skan	* objc/objc-act.c (start_class): Use BINFO_ELTS.
34029169689Skan
34030169689Skan2003-01-31 Danny Smith <dannysmith@users.sourceforge.net>
34031169689Skan
34032169689Skan	* timevar.c (getrusage): Don't ever declare if not HAVE_GETRUSAGE.
34033169689Skan	(times): Don't ever declare if not HAVE_TIMES.
34034169689Skan	(clock): Don't ever declare if not HAVE_CLOCK.
34035169689Skan
34036169689Skan2003-01-30  Richard Henderson  <rth@redhat.com>
34037169689Skan
34038169689Skan	* flow.c (update_life_info): Zap life info after cleanup_cfg.
34039169689Skan	(regno_uninitialized): Use correct live at function entry set.
34040169689Skan	(regno_clobbered_at_setjmp): Likewise.
34041169689Skan
34042169689Skan	* expr.c (store_expr): Promote all MEM intermediates to regs.
34043169689Skan
34044169689Skan2003-01-30  Kazu Hirata  <kazu@cs.umass.edu>
34045169689Skan
34046169689Skan	* config/arm/arm.c: Fix comment typos.
34047169689Skan	* config/arm/arm.h: Likewise.
34048169689Skan	* config/arm/netbsd-elf.h: Likewise.
34049169689Skan	* config/arm/netbsd.h: Likewise.
34050169689Skan
34051169689Skan2003-01-30  Geoffrey Keating  <geoffk@apple.com>
34052169689Skan
34053169689Skan	* gengtype.c (struct walk_type_data): Add needs_cast_p.
34054169689Skan	(walk_type): Set needs_cast_p in walk_type_data.
34055169689Skan	(write_types_process_field): Supply casts when required to suppress
34056169689Skan	warnings.
34057169689Skan	(write_root): Cast gt_pch_n_S to suppress warning.
34058169689Skan	* Makefile.in: Remove -Wno-error from gtype-desc.o and c-decl.o.
34059169689Skan	* config/rs6000/rs6000.c (print_operand): Mask off high bits only
34060169689Skan	when they might exist.
34061169689Skan	* config/rs6000/t-rs6000: Remove -Wno-error from varasm.o,
34062169689Skan	insn-conditions.o, and rs6000.o.
34063169689Skan
34064169689Skan2003-01-30  Richard Henderson  <rth@redhat.com>
34065169689Skan
34066169689Skan	* ggc-page.c (G.context_depth_allocations): New.
34067169689Skan	(G.context_depth_collections): New.
34068169689Skan	(alloc_page): Set G.context_depth_allocations.
34069169689Skan	(ggc_collect): Set G.context_depth_collections.
34070169689Skan	(ggc_push_context): Limit to HOST_BITS_PER_LONG contexts.
34071169689Skan	(ggc_pop_context): Early exit for no allocations or collections.
34072169689Skan
34073169689Skan2003-01-30  Richard Henderson  <rth@redhat.com>
34074169689Skan
34075169689Skan	* tree-inline.c (walk_tree): Streamline duplicate hash table lookup.
34076169689Skan
34077169689Skan2003-01-30  Richard Earnshaw  <rearnsha@arm.com>
34078169689Skan
34079169689Skan	* arm.c (arm_compute_initial_elimination_offset): If optimizing for
34080169689Skan	size, the link register is always saved if any other register is
34081169689Skan	saved.
34082169689Skan
34083169689Skan2003-01-30  Kazu Hirata  <kazu@cs.umass.edu>
34084169689Skan
34085169689Skan	* config/h8300/h8300-protos.h: Update the prototype for
34086169689Skan	compute_plussi_cc.
34087169689Skan	(cpp_reader): Declare before it is used.
34088169689Skan	* config/h8300/h8300.c (compute_plussi_cc): Change the return
34089169689Skan	type to int.
34090169689Skan	* config/h8300/h8300.md (monitor_prologue): Call abort() if we
34091169689Skan	see an unknown H8 variant.
34092169689Skan
34093169689Skan2003-01-30  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>
34094169689Skan
34095169689Skan	PR target/9316
34096169689Skan	* config/rs6000/rtems.h: Add CPP_OS_DEFAULT_SPEC.
34097169689Skan	* config/rs6000/sysv4.h: Add CPP_OS_RTEMS_SPEC.
34098169689Skan	* config/rs6000/t-rtems: New file. multilib variants to match OS.
34099169689Skan	* config.gcc (powerpc-*-rtems*): Use rs6000/t-rtems instead of
34100169689Skan	rs6000/t-ppcgas so we get the desired multilibs.
34101169689Skan
34102169689Skan2003-01-30  Nick Clifton  <nickc@redhat.com>
34103169689Skan
34104169689Skan	* config/arm/arm.c (arm_output_epilogue): Update stack pointer
34105169689Skan	when popping saved IP register off the stack.
34106169689Skan
34107169689Skan2003-01-30  Kazu Hirata  <kazu@cs.umass.edu>
34108169689Skan
34109169689Skan	* config/rs6000/aix43.h: Fix comment typos.
34110169689Skan	* config/rs6000/aix51.h: Likewise.
34111169689Skan	* config/rs6000/aix52.h: Likewise.
34112169689Skan	* config/rs6000/altivec.h: Likewise.
34113169689Skan	* config/rs6000/rs6000.c: Likewise.
34114169689Skan	* config/rs6000/rs6000.h: Likewise.
34115169689Skan	* config/rs6000/rs6000.md: Likewise.
34116169689Skan	* config/rs6000/spe.md: Likewise.
34117169689Skan
34118169689Skan2003-01-29  Mark Mitchell  <mark@codesourcery.com>
34119169689Skan
34120169689Skan	* c-common.c (builtin_define_float_constants): Define
34121169689Skan	__<TYPE>_HAS_INFINITY__ and __<TYPE>_HAS_QUIET_NAN__.
34122169689Skan
34123169689Skan2003-01-30  Kazu Hirata  <kazu@cs.umass.edu>
34124169689Skan
34125169689Skan	* config/sh/lib1funcs.asm: Fix comment typos.
34126169689Skan	* config/sh/linux.h: Likewise.
34127169689Skan	* config/sh/sh.c: Likewise.
34128169689Skan	* config/sh/sh.md: Likewise.
34129169689Skan
34130169689Skan2003-01-30  Loren James Rittle  <ljrittle@acm.org>
34131169689Skan
34132169689Skan	* objc/Make-lang.in (objc-parse.y): Find c-parse.in in $(srcdir).
34133169689Skan
34134169689Skan2003-01-30  Alexandre Oliva  <aoliva@redhat.com>
34135169689Skan
34136169689Skan	* config/fp-bit.h (__make_dp): Declare if TMODES.
34137169689Skan
34138169689Skan2003-01-29  Kazu Hirata  <kazu@cs.umass.edu>
34139169689Skan
34140169689Skan	* config/h8300/h8300.h (PREDICATE_CODES): Add entries for
34141169689Skan	general_operand_src and general_operand_dst.
34142169689Skan
34143169689Skan2003-01-29  David Edelsohn  <edelsohn@gnu.org>
34144169689Skan
34145169689Skan	* config/rs6000/rs6000.c (function_arg_pass_by_reference):
34146169689Skan	Return true for variable sized types.
34147169689Skan	(rs6000_va_arg): Handle variable sized types passed by reference
34148169689Skan	on non-SVR4 ABI.
34149169689Skan
34150169689Skan2003-01-29  Richard Earnshaw  <rearnsha@arm.com>
34151169689Skan
34152169689Skan	* arm.c (arm_legtimize_address): New function.
34153169689Skan	* arm-protos.h (arm_legtimize_address): Add prototype.
34154169689Skan	* arm.h (ARM_LEGITIMIZE_ADDRESS): Use arm_legitimize_address.
34155169689Skan	(LEGITIMIZE_ADDRESS, THUMB_LEGITIMIZE_ADDRESS): Wrap with
34156169689Skan	do ... while (0)
34157169689Skan
34158169689Skan2003-01-29  Joel Sherrill  <joel@OARcorp.com>
34159169689Skan
34160169689Skan	PR bootstrap/9296
34161169689Skan	* gthr-rtems.h: Define __GTHREAD_MUTEX_INIT.  Apparently no code
34162169689Skan	depended on it being defined until now.
34163169689Skan
34164169689Skan2003-01-29  Joel Sherrill  <joel@OARcorp.com>
34165169689Skan
34166169689Skan	PR target/9295
34167169689Skan	* config/mips/rtems.h: Predefine __USE_INIT_FINI__ so generic
34168169689Skan	RTEMS code knows which C++ initialization style the toolset
34169169689Skan	configuration is using.
34170169689Skan
34171169689Skan2003-01-29  Joel Sherrill  <joel@OARcorp.com>
34172169689Skan
34173169689Skan	PR bootstrap/9293
34174169689Skan	* config/m68k/t-crtstuff: Replace spaces with tabs, add
34175169689Skan	 $(MULTILIB_CFLAGS) as compiler option and multilib crtbegin/end.o.
34176169689Skan
34177169689Skan2003-01-29  Joel Sherrill  <joel@OARcorp.com>
34178169689Skan
34179169689Skan	PR bootstrap/9292
34180169689Skan	* config.gcc (hppa1.1-rtems):  Did not include t-rtems nor enable
34181169689Skan	RTEMS threads.
34182169689Skan	* config/pa/rtems.h (LIB_SPEC): Use -N when linking.
34183169689Skan
34184169689Skan2003-01-29  Nick Clifton  <nickc@redhat.com>
34185169689Skan
34186169689Skan	* Makefile.in (c-parse.o): Locate source file in $(parsedir)
34187169689Skan	not $(srcdir).
34188169689Skan
34189169689Skan2003-01-29  Andrew Haley  <aph@redhat.com>
34190169689Skan
34191169689Skan	* tree-inline.c (walk_tree): Add CHAR_TYPE.
34192169689Skan
34193169689Skan2003-01-29  Jan Hubicka  <jh@suse.cz>
34194169689Skan
34195169689Skan	* i386.md (subdi3_carry_rex64): Fix typo.
34196169689Skan
34197169689Skan2003-01-28  Stan Shebs  <shebs@apple.com>
34198169689Skan
34199169689Skan	* coretypes.h (cpp_reader): Forward declare struct.
34200169689Skan	* c-pragma.h (cpp_reader): Remove forward declaration.
34201169689Skan	* hashtable.h (cpp_reader): Likewise.
34202169689Skan	* scan.h (cpp_reader): Likewise.
34203169689Skan	* tree.h (cpp_reader): Likewise.
34204169689Skan	* config/darwin-protos.h (cpp_reader): Likewise.
34205169689Skan	* config/arm/arm-protos.h (cpp_reader): Likewise.
34206169689Skan	* config/rs6000/rs6000-protos.h: Remove GCC_CPPLIB_H ifdef, use
34207169689Skan	struct cpp_reader in prototypes.
34208169689Skan
34209169689Skan2003-01-28  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
34210169689Skan
34211169689Skan	* doc/install.texi: Add documentation for installation into
34212169689Skan	tooldirs and with DESTDIR.
34213169689Skan
34214169689Skan2003-01-28  Richard Henderson  <rth@redhat.com>
34215169689Skan
34216169689Skan	* config.gcc (ia64*-*-aix*): Remove.
34217169689Skan	* config/ia64/aix.h, config/ia64/t-aix: Remove file.
34218169689Skan	* config/ia64/unwind-aix.c: Remove file.
34219169689Skan
34220169689Skan2003-01-28  Andreas Schwab  <schwab@suse.de>
34221169689Skan
34222169689Skan	* config/m68k/m68k.md (tablejump+2): Don't sign extend an address
34223169689Skan	register.
34224169689Skan	* config/m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Likewise.
34225169689Skan	* config/m68k/coff.h (ASM_RETURN_CASE_JUMP): Likewise.
34226169689Skan	* config/m68k/linux.h (ASM_RETURN_CASE_JUMP): Likewise.
34227169689Skan	* config/m68k/m68kelf.h (ASM_RETURN_CASE_JUMP): Likewise.
34228169689Skan	* config/m68k/mot3300.h (ASM_RETURN_CASE_JUMP): Likewise.
34229169689Skan	* config/m68k/netbsd-elf.h (ASM_RETURN_CASE_JUMP): Likewise.
34230169689Skan	* config/m68k/pbb.h (ASM_RETURN_CASE_JUMP): Likewise.
34231169689Skan
34232169689Skan2003-01-28  Richard Sandiford  <rsandifo@redhat.com>
34233169689Skan
34234169689Skan	* combine.c (nonzero_bits): Fix check for negative divide operands.
34235169689Skan
34236169689Skan2003-01-28  Richard Henderson  <rth@redhat.com>
34237169689Skan
34238169689Skan	* config/ia64/ia64.c (ia64_rwreloc_section_type_flags): New.
34239169689Skan	* config/ia64/hpux.h (TARGET_SECTION_TYPE_FLAGS): New.
34240169689Skan
34241169689Skan2003-01-28  Richard Henderson  <rth@redhat.com>
34242169689Skan
34243169689Skan	* cse.c (find_best_addr): Kill !ADDRESS_COST code.
34244169689Skan
34245169689Skan	* config/cris/cris.c (cris_address_cost): Make static.
34246169689Skan	(TARGET_RTX_COSTS, TARGET_ADDRESS_COST): New.
34247169689Skan	* config/cris/cris.h (ADDRESS_COST): Remove.
34248169689Skan	* config/cris/cris-protos.h: Update.
34249169689Skan
34250169689Skan2003-01-23  Mike Stump  <mrs@apple.com>
34251169689Skan
34252169689Skan	* regclass.c (init_reg_autoinc): New function.
34253169689Skan	(regclass): Move initialization of forbidden_inc_dec_class from
34254169689Skan	here...
34255169689Skan	(init_regs): to here.  Avoids reinitialization for each function,
34256169689Skan	saving compilation time.
34257169689Skan
34258169689Skan2003-01-28  Jason Merrill  <jason@redhat.com>
34259169689Skan
34260169689Skan	* cpplib.h (struct cpp_options): Add warn_deprecated field.
34261169689Skan	* cppinit.c (cpp_create_reader): Turn it on by default.
34262169689Skan	* c-opts.c (c_common_decode_option): Set it.
34263169689Skan	* cpplib.c (do_pragma_once): Only complain about #pragma once
34264169689Skan	if warn_deprecated is set.
34265169689Skan
34266169689Skan2003-01-28  Dale Johannesen  <dalej@apple.com>
34267169689Skan
34268169689Skan	* emit-rtl.c (const_double_htab_hash):  Use mode in the hash.
34269169689Skan	* loop.c (scan_loop):  Move movables on -Os rich-register targets.
34270169689Skan	* config/rs6000/rs6000.md (sibcall*):  Use match_operand for LR.
34271169689Skan
34272169689Skan2003-01-28  Richard Henderson  <rth@redhat.com>
34273169689Skan
34274169689Skan	* target.h (targetm.address_cost): New.
34275169689Skan	* target-def.h (TARGET_ADDRESS_COST): New.
34276169689Skan	(TARGET_RTX_COSTS): Uncomment.  Oops.
34277169689Skan	* cse.c (address_cost): Use new target hook.
34278169689Skan	(default_address_cost): New.
34279169689Skan	* output.h (default_address_cost): Declare.
34280169689Skan	* hooks.c (hook_int_rtx_0): New.
34281169689Skan	* hooks.h (hook_int_rtx_0): Declare.
34282169689Skan	* loop.c (combine_givs_p): Remove if 0 code.
34283169689Skan	* system.h (ADDRESS_COST): Poison.
34284169689Skan
34285169689Skan	* config/alpha/alpha.c, config/alpha/alpha.h, config/d30v/d30v.c,
34286169689Skan	config/d30v/d30v.h, config/ia64/ia64.c, config/ia64/ia64.h,
34287169689Skan	config/m32r/m32r.c, config/m32r/m32r.h, config/mcore/mcore.c,
34288169689Skan	config/mcore/mcore.h, config/mmix/mmix.c, config/mmix/mmix.h,
34289169689Skan	config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/sparc/sparc.c,
34290169689Skan	config/sparc/sparc.h, config/v850/v850.c, config/v850/v850.h,
34291169689Skan	config/xtensa/xtensa.c, config/xtensa/xtensa.h
34292169689Skan	(TARGET_ADDRESS_COST): Define as hook_int_rtx_0.
34293169689Skan	(ADDRESS_COST): Remove.
34294169689Skan
34295169689Skan	* config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
34296169689Skan	config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
34297169689Skan	config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
34298169689Skan	config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
34299169689Skan	config/dsp16xx/dsp16xx.h, config/i386/i386-protos.h,
34300169689Skan	config/i386/i386.c, config/i386/i386.h, config/i960/i960-protos.h,
34301169689Skan	config/i960/i960.c, config/i960/i960.h, config/ip2k/ip2k-protos.h,
34302169689Skan	config/ip2k/ip2k.c, config/ip2k/ip2k.h, config/mips/mips-protos.h,
34303169689Skan	config/mips/mips.c, config/mips/mips.h,
34304169689Skan	config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
34305169689Skan	config/m68hc11/m68hc11.h, config/ns32k/ns32k-protos.h,
34306169689Skan	config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa-protos.h,
34307169689Skan	config/pa/pa.c, config/pa/pa.h, config/s390/s390-protos.h,
34308169689Skan	config/s390/s390.c, config/s390/s390.h, config/vax/vax-protos.h,
34309169689Skan	config/vax/vax.c, config/vax/vax.h
34310169689Skan	(foo_address_cost): Make static.
34311169689Skan	(TARGET_ADDRESS_COST): New.
34312169689Skan	(ADDRESS_COST): Remove.
34313169689Skan
34314169689Skan	* config/arm/arm.h, config/arm/arm.c, config/m88k/m88k.h,
34315169689Skan	config/m88k/m88k.c, config/romp/romp.h, config/romp/romp.c,
34316169689Skan	config/sh/sh.c, config/sh/sh.h, config/stormy16/stormy16.c,
34317169689Skan	config/stormy16/stormy16.h
34318169689Skan	(ADDRESS_COST): Move code ...
34319169689Skan	(foo_address_cost): ... here.
34320169689Skan	(TARGET_ADDRESS_COST): New.
34321169689Skan
34322169689Skan	* config/m32r/m32r.c (m32r_address_cost): Remove.
34323169689Skan	* config/m32r/m32r-protos.h: Update.
34324169689Skan
34325169689Skan	* config/mmix/mmix.c (mmix_address_cost): Remove.
34326169689Skan	* config/mmix/mmix-protos.h: Update.
34327169689Skan
34328169689Skan	* config/mn10300/mn10300.c (mn10300_address_cost_1): Rename from
34329169689Skan	mn10300_address_cost; move unsig allocation ...
34330169689Skan	(mn10300_address_cost): ... here.
34331169689Skan	(TARGET_ADDRESS_COST): New.
34332169689Skan	* config/mn10300/mn10300-protos.h: Update.
34333169689Skan	* config/mn10300/mn10300.h (ADDRESS_COST): Remove.
34334169689Skan
34335169689Skan	* doc/tm.texi: Update.
34336169689Skan
34337169689Skan2003-01-28  Vladimir Makarov  <vmakarov@redhat.com>
34338169689Skan
34339169689Skan	* haifa-sched.c (schedule_insn): Return necessary cycle advance
34340169689Skan	after issuing the insn.
34341169689Skan	(rank_for_schedule): Make a insn with /S the highest priority
34342169689Skan	insn.
34343169689Skan	(move_insn): Ignore schedule groups.  Clear SCHED_GROUP_P.
34344169689Skan	(choose_ready): Check SCHED_GROUP_P.
34345169689Skan	(schedule_block): Advance cycle after issuing insn if it is
34346169689Skan	necessary.  Don't reorder insns if there is an insn with /S.
34347169689Skan	(set_priorities): Ignore schedule groups.
34348169689Skan
34349169689Skan	* sched-deps.c (remove_dependence, group_leader): Remove the
34350169689Skan	functions.
34351169689Skan	(add_dependence): Ignore schedule groups.
34352169689Skan	(set_sched_group_p): Don't make copy of dependencies from previous
34353169689Skan	insn of the schedule group.  Add anti-dependency to the previous
34354169689Skan	insn of the schedule group.
34355169689Skan	(compute_forward_dependences): Ignore schedule groups.
34356169689Skan
34357169689Skan	* sched-ebb.c (init_ready_list): Ignore schedule groups.
34358169689Skan
34359169689Skan	* sched-rgn.c (init_ready_list): Ditto.
34360169689Skan	(can_schedule_ready_p): Ditto.
34361169689Skan
34362169689Skan2003-01-28  Vladimir Makarov  <vmakarov@redhat.com>
34363169689Skan
34364169689Skan	* config/i386/i386.md (*movsi_1): Use movdqa to move one xmm
34365169689Skan	register to another one.
34366169689Skan
34367169689Skan2003-01-28  Richard Henderson  <rth@redhat.com>
34368169689Skan
34369169689Skan	* calls.c (default_must_pass_in_stack): Fix typo in !type case.
34370169689Skan
34371169689Skan2003-01-28  Roger Sayle  <roger@eyesopen.com>
34372169689Skan
34373169689Skan	* cse.c (cse_insn): Avoid redundant REG_EQUAL notes.
34374169689Skan
34375169689Skan2003-01-28  Richard Sandiford  <rsandifo@redhat.com>
34376169689Skan
34377169689Skan	* config/sh/sh.h (CLASS_MAX_NREGS): If TARGET_SHMEDIA, and the given
34378169689Skan	class contains a floating-point register, return the size of the
34379169689Skan	mode in half words.
34380169689Skan
34381169689Skan2003-01-28  Jan Hubicka  <jh@suse.cz>
34382169689Skan
34383169689Skan	* i386.c (ix86_carry_flag_operator):  New predicate.
34384169689Skan	(fcmov_operator): Fix whitespace.
34385169689Skan	(ix86_expand_carry_flag_compare):  Deal with floating point.
34386169689Skan	(ix86_expand_int_movcc): Deal with fp; update insn expansion
34387169689Skan	(ix86_expand_int_addcc): Likewise.
34388169689Skan	(ix86_expand_strlensi_unroll_1): likewsie.
34389169689Skan	* i386.h (PREDICATE_CODES): Add ix86_carry_flag_operator.
34390169689Skan	* i386.md (add?i_carry_rex64): Use new predicate.
34391169689Skan	(sub?i3_carry_rex64): Likewise.
34392169689Skan	(x86_mov?icc_0_m1*): Likewise.
34393169689Skan
34394169689Skan2003-01-28  Andreas Schwab  <schwab@suse.de>
34395169689Skan
34396169689Skan	* cfgloopmanip.c (create_preheader): Initialize src to avoid
34397169689Skan	warning.
34398169689Skan
34399169689Skan	* expmed.c (emit_store_flag): Fix cast to avoid sign
34400169689Skan	comparison warning.
34401169689Skan
34402169689Skan	* combine.c (force_to_mode): Add cast to fix warning when
34403169689Skan	STORE_FLAG_VALUE is negative.
34404169689Skan
34405169689Skan2003-01-27  Richard Henderson  <rth@redhat.com>
34406169689Skan
34407169689Skan	* Makefile.in (cse.o): Depend on TARGET_H.
34408169689Skan	* cse.c (rtx_cost): Use targetm.rtx_costs.
34409169689Skan	* system.h (CONST_COSTS RTX_COSTS DEFAULT_RTX_COSTS): Poison.
34410169689Skan	* doc/tm.texi: Update.
34411169689Skan
34412169689Skan	* target.h (targetm.rtx_costs): New.
34413169689Skan	* target-def.h (TARGET_RTX_COSTS): New.
34414169689Skan	* hooks.c (hook_bool_rtx_int_int_intp_false): New.
34415169689Skan	* hooks.h: Update.
34416169689Skan
34417169689Skan	* config/alpha/alpha.c (alpha_rtx_cost_data): New.
34418169689Skan	(alpha_rtx_costs, TARGET_RTX_COSTS): New.
34419169689Skan	* config/alpha/alpha.h (PROCESSOR_MAX): New.
34420169689Skan	(CONST_COSTS, RTX_COSTS): Remove.
34421169689Skan
34422169689Skan	* config/arc/arc.c, config/arc/arc.h, config/c4x/c4x.c,
34423169689Skan	config/c4x/c4x.h, config/cris/cris.c, config/cris/cris.h,
34424169689Skan	config/d30v/d30v.c, config/d30v/d30v.h, config/dsp16xx/dsp16xx.c,
34425169689Skan	config/dsp16xx/dsp16xx.h, config/frv/frv.c, config/frv/frv.h,
34426169689Skan	config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c,
34427169689Skan	config/i370/i370.h, config/i386/i386.c, config/i386/i386.h,
34428169689Skan	config/i960/i960.c, config/i960/i960.h, config/ia64/ia64.c,
34429169689Skan	config/ia64/ia64.h, config/m32r/m32r.c, config/m32r/m32r.h,
34430169689Skan	config/m68k/m68k.c, config/m68k/m68k.h, config/m88k/m88k.c,
34431169689Skan	config/m88k/m88k.h, config/mcore/mcore.c, config/mcore/mcore.h,
34432169689Skan	config/mips/mips.c, config/mips/mips.h, config/mn10200/mn10200.c,
34433169689Skan	config/mn10200/mn10200.h, config/mn10300/mn10300.c,
34434169689Skan	config/mn10300/mn10300.h, config/ns32k/ns32k.c, config/ns32k/ns32k.h,
34435169689Skan	config/pa/pa.c, config/pa/pa.h, config/pdp11/pdp11.c,
34436169689Skan	config/pdp11/pdp11.h, config/romp/romp.c, config/romp/romp.h,
34437169689Skan	config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/s390/s390.c,
34438169689Skan	config/s390/s390.h, config/sh/sh.c, config/sh/sh.h,
34439169689Skan	config/stormy16/stormy16.c, config/stormy16/stormy16.h,
34440169689Skan	config/v850/v850.c, config/v850/v850.h,
34441169689Skan	config/xtensa/xtensa.c, config/xtensa/xtensa.h
34442169689Skan	(CONST_COSTS, RTX_COSTS): Move code ...
34443169689Skan	(foo_rtx_costs, TARGET_RTX_COSTS): ... here.
34444169689Skan
34445169689Skan	* config/arm/arm.c (arm_rtx_costs_1): Rename from arm_rtx_costs.
34446169689Skan	(arm_rtx_costs, TARGET_RTX_COSTS): New.
34447169689Skan	* config/arm/arm-protos.h: Update.
34448169689Skan	* config/arm/arm.h (DEFAULT_RTX_COSTS): Remove.
34449169689Skan
34450169689Skan	* config/avr/avr.h (CONST_COSTS): Move code ...
34451169689Skan	* config/avr/avr.c (avr_rtx_costs): ... here.
34452169689Skan	(default_rtx_costs): Make static.
34453169689Skan	* config/avr/avr-protos.h: Update.
34454169689Skan
34455169689Skan	* config/h8300/h8300.c (const_costs): Make static.
34456169689Skan	(h8300_and_costs, h8300_shift_costs): Likewise.
34457169689Skan	* config/h8300/h8300-protos.h: Update.
34458169689Skan
34459169689Skan	* config/ip2k/ip2k.h (DEFAULT_RTX_COSTS): Remove.
34460169689Skan	(CONST_COSTS): Move code ...
34461169689Skan	* config/ip2k/ip2k.c (ip2k_rtx_costs): ... here.  Rename from
34462169689Skan	default_rtx_costs; update for signature change.
34463169689Skan	* config/ip2k/ip2k-protos.h: Update.
34464169689Skan
34465169689Skan	* config/m68hc11/m68hc11.h (RTX_COSTS): Remove.
34466169689Skan	(CONST_COSTS): Move code ...
34467169689Skan	* config/m68hc11/m68hc11.c (m68hc11_rtx_costs): ... here.
34468169689Skan	(TARGET_RTX_COSTS): New.
34469169689Skan	(m68hc11_rtx_costs_1): Rename from m68hc11_rtx_costs; make static.
34470169689Skan	* config/m68hc11/m68hc11-protos.h: Update.
34471169689Skan
34472169689Skan	* config/m68k/m68k.c (const_int_cost): Make static.
34473169689Skan	* config/m68k/m68k-protos.h: Update.
34474169689Skan
34475169689Skan	* config/mcore/mcore.c (mcore_const_costs): Make static.
34476169689Skan	(mcore_and_cost, mcore_ior_cost): Likewise.
34477169689Skan	* config/mcore/mcore-protos.h: Update.
34478169689Skan
34479169689Skan	* config/mmix/mmix.c (mmix_rtx_costs, TARGET_RTX_COSTS): New.
34480169689Skan	(mmix_rtx_cost_recalculated): Remove.
34481169689Skan	* config/mmix/mmix.h (DEFAULT_RTX_COSTS): Remove.
34482169689Skan	* config/mmix/mmix-protos.h: Update.
34483169689Skan
34484169689Skan	* config/sh/sh.c (shiftcosts): Make static.
34485169689Skan	(addsubcosts, andcosts, multcosts): Likewise.
34486169689Skan	* config/sh/sh-protos.h: Update.
34487169689Skan
34488169689Skan	* config/sparc/sparc.c (TARGET_RTX_COSTS): New.
34489169689Skan	(sparc_rtx_costs): Make static; update for change in signature.
34490169689Skan	* config/sparc/sparc.h (RTX_COSTS_CASES, RTX_COSTS): Remove.
34491169689Skan	* config/sparc/sparc-protos.h: Update.
34492169689Skan
34493169689Skan	* config/v850/v850.c (const_costs): Make static.
34494169689Skan	* config/v850/v850-protos.h: Update.
34495169689Skan
34496169689Skan	* config/vax/vax.h (RTX_COSTS): Remove.
34497169689Skan	(CONST_COSTS): Move code ...
34498169689Skan	* config/vax/vax.c (vax_rtx_costs_1): ... here; rename
34499169689Skan	from vax_rtx_cost.
34500169689Skan	(vax_rtx_costs, TARGET_RTX_COSTS): New.
34501169689Skan
34502169689Skan2003-01-27  Richard Henderson  <rth@redhat.com>
34503169689Skan
34504169689Skan	* config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove.  Really.
34505169689Skan	* config/vax/vax-protos.h: Update.  Really.
34506169689Skan
34507169689Skan2003-01-28  Alexandre Oliva  <aoliva@redhat.com>
34508169689Skan
34509169689Skan	* config/mips/mips.h (UNITS_PER_HWFPVALUE): Renamed from...
34510169689Skan	(UNITS_PER_FPVALUE): Defined as the width of a long double, or
34511169689Skan	zero if no hardware floating point.
34512169689Skan	(LONG_DUBLE_TYPE_SIZE): Set to 128 on N32 and N64.
34513169689Skan	(MAX_FIXED_MODE_SIZE): Define to LONG_DOUBLE_TYPE_SIZE.
34514169689Skan	(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define.
34515169689Skan	(BIGGEST_ALIGNMENT): Same as LONG_DOUBLE_TYPE_SIZE.
34516169689Skan	(FUNCTION_VALUE_REGNO_P): Set for FP_RETURN+2 on N32 and N64.
34517169689Skan	* config/mips/mips.c (mips_arg_info): Pass TFmode values in
34518169689Skan	even FP registers on N32 and N64.
34519169689Skan	(mips_setup_incoming_varargs): Use UNITS_PER_HWFPVALUE.
34520169689Skan	(mips_va_start): Adjust alignment of ARG_POINTER_REGNUM.
34521169689Skan	(mips_va_arg): Use UNITS_PER_HWFPVALUE.  Impose additional
34522169689Skan	even-register-like alignment to 128-bit arguments.
34523169689Skan	(save_restore_insns): Use UNITS_PER_HWFPVALUE.
34524169689Skan	(mips_function_value): Likewise.  Return TFmode in $f0 and $f2
34525169689Skan	on N32 or N64.
34526169689Skan	* config/mips/_tilib.c (__negti2, __ashlti3, __lshrti3): New.
34527169689Skan	* config/mips/t-iris6 (LIB2FUNCS_EXTRA): Add _tilib.c.
34528169689Skan	(TPBIT): Set to tp-bit.c.
34529169689Skan	(tp-bit.c): Create out of fp-bit.c.
34530169689Skan
34531169689Skan2003-01-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>
34532169689Skan
34533169689Skan	* c-parse.in: Remove '%expect 32' directive in objc mode.
34534169689Skan
34535169689Skan2003-01-27  Nathan Sidwell  <nathan@codesourcery.com>
34536169689Skan
34537169689Skan	* Makefile.in (LIB2FUNCS_ST): Remove _gcov.
34538169689Skan	(LIBGCOV): New variable.
34539169689Skan	(libgcc.mk): Add LIBGCOV.
34540169689Skan	(LIBGCC_DEPS): Add libgcov.c.
34541169689Skan	(libgcov.a): New target.
34542169689Skan	(clean): Remove libgcov.a.
34543169689Skan	(install-libgcc): Do libgcov too.
34544169689Skan	(stage1-start, stage2-start, stage3-start, stage4-start): Deal
34545169689Skan	with libgcov.a.
34546169689Skan	* libgcc2.c (L_gcov): Move into ...
34547169689Skan	* libgcov.c: ... here. New file.
34548169689Skan	* mklibgcc.in: Add libgcov rules.
34549169689Skan	* gcc.c (LINK_COMMAND_SPEC): Add -lgcov when profiling.
34550169689Skan
34551169689Skan	* doc/invoke.texi (profile-arcs, test-coverage): Update and
34552169689Skan	clarify.
34553169689Skan
34554169689Skan	* profile.c (index_counts_file): Remove duplicate check for open file.
34555169689Skan
34556169689Skan2003-01-27  Jerry Quinn  <jlquinn@optonline.net>
34557169689Skan
34558169689Skan	* gcc/doc/invoke.texi (Optimization Options): Group together
34559169689Skan	optional and experimental flags.  Move trapv and bounds-check
34560169689Skan	out of this section.  Group floating point flags together.
34561169689Skan	(Code Gen Options): Move trapv and bounds-check to here.
34562169689Skan
34563169689Skan2003-01-27  Josef Zlomek  <zlomekj@suse.cz>
34564169689Skan
34565169689Skan	* gcse.c (constprop_register): Check NEXT_INSN (insn) != NULL.
34566169689Skan
34567169689Skan2003-01-27  Richard Earnshaw  <rearnsha@arm.com>
34568169689Skan
34569169689Skan	PR optimization/9090
34570169689Skan	* function.c (purge_addressof_1): After pushing an addressed register
34571169689Skan	onto the stack, simplify the result.
34572169689Skan
34573169689Skan2003-01-27  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
34574169689Skan
34575169689Skan	* doc/extend.texi: Fix typo.
34576169689Skan
34577169689Skan2003-01-27  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
34578169689Skan
34579169689Skan	* doc/cppopts.texi: Fix typo.
34580169689Skan	* doc/objc.texi: Likewise.
34581169689Skan	* doc/passes.texi: Likewise.
34582169689Skan
34583169689Skan2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
34584169689Skan
34585169689Skan	* real.c (ibm_extended_format): Add 53 to minimum exponent.
34586169689Skan	(encode_ibm_extended): Adjust.
34587169689Skan
34588169689Skan2003-01-26  Gabriel Dos Reis  <gdr@soliton.integrable-solutions.net>
34589169689Skan
34590169689Skan	* timevar.def (TV_OVERLOAD, TV_TEMPLATE_INSTANTIATION): New
34591169689Skan	timevar_id enumerations.
34592169689Skan
34593169689Skan2003-01-26  Kazu Hirata  <kazu@cs.umass.edu>
34594169689Skan
34595169689Skan	* combine.c: Fix formatting.
34596169689Skan
34597169689Skan2003-01-26  Kazu Hirata  <kazu@cs.umass.edu>
34598169689Skan
34599169689Skan	* doc/gccint.texi: Update the copyright.
34600169689Skan
34601169689Skan2003-01-26  Kazu Hirata  <kazu@cs.umass.edu>
34602169689Skan
34603169689Skan	* doc/cpp.texi: Fix typos.
34604169689Skan	* doc/extend.texi: Likewise.
34605169689Skan	* doc/gty.texi: Likewise.
34606169689Skan	* doc/install.texi: Likewise.
34607169689Skan	* doc/passes.texi: Likewise.
34608169689Skan	* doc/rtl.texi: Likewise.
34609169689Skan	* doc/tm.texi: Likewise.
34610169689Skan
34611169689Skan2003-01-26  Kazu Hirata  <kazu@cs.umass.edu>
34612169689Skan
34613169689Skan	* config/ia64/fde-glibc.c: Fix comment typos.
34614169689Skan	* config/ia64/hpux.h: Likewise.
34615169689Skan	* config/ia64/ia64.c: Likewise.
34616169689Skan	* config/ia64/ia64.h: Likewise.
34617169689Skan	* config/ia64/unwind-ia64.c: Likewise.
34618169689Skan
34619169689Skan2003-01-26  Kazu Hirata  <kazu@cs.umass.edu>
34620169689Skan
34621169689Skan	* config/i386/i386-modes.def: Fix comment typos.
34622169689Skan	* config/i386/i386.c: Likewise.
34623169689Skan	* config/i386/i386.md: Likewise.
34624169689Skan
34625169689Skan2003-01-26  Steven Bosscher  <s.bosscher@student.tudelft.nl>
34626169689Skan
34627169689Skan	* config/avr/avr.h, config/cris/aout.h, config/elfos.h,
34628169689Skan	config/i386/freebsd-aout.h, config/mips/iris6.h: Undefine
34629169689Skan	ASM_FINISH_DECLARE_OBJECT before defining it.
34630169689Skan	* toplev.c (rest_of_decl_compilation):  Don't define
34631169689Skan	ASM_FINISH_DECLARE_OBJECT.  Only use it if it is defined.
34632169689Skan	(rest_of_type_compilation): Don't ATTRIBUTE_UNUSED function
34633169689Skan	parameters for DWARF2 targets because they _are_ used.
34634169689Skan
34635169689Skan2003-01-26  Alexandre Oliva  <aoliva@redhat.com>
34636169689Skan
34637169689Skan	* fp-bit.h: Define macros for TFmode floating-point constants
34638169689Skan	in IBM-extended TFmode types.
34639169689Skan	(TMODES): Define if __LDBL_MANT_DIG__ has the newly-supported
34640169689Skan	widths.
34641169689Skan	* config/fp-bit.c (pack_d, unpack_d): Support IBM-extended
34642169689Skan	TFmode type.
34643169689Skan
34644169689Skan	* config/fp-bit.h: Define macros for TFmode floating-point
34645169689Skan	constants in IEEE quad TFmode type.  Declare functions according
34646169689Skan	to L_ macros.
34647169689Skan	(TMODES): Define if __LDBL_MANT_DIG__ is 113.
34648169689Skan	(TFtype, TItype, UTItype): Define if TMODES is defined.
34649169689Skan	(MAX_UDI_INT, MAX_DI_INT, BITS_PER_DI): Likewise.
34650169689Skan	(F_T_BITOFF, D_T_BITOFF): Define.
34651169689Skan	(IMPLICIT_1, IMPLICIT_2): Cast constants to types that are
34652169689Skan	guaranteed to be wide enough.
34653169689Skan	* config/fp-bit.c: Check for L_ macros for tf functions.
34654169689Skan	(__thenan_tf): New.
34655169689Skan	(nan): Adjust.
34656169689Skan	(pack_d, unpack_d): Support IEEE 854 quad type.
34657169689Skan	(_fpmul_parts): Support TFmode.  Compute exponent adjustment
34658169689Skan	from FRAC_NBITS, FRAC_BITS and NGARDS.
34659169689Skan	(usi_to_float): Cast constants to be shifted to fractype
34660169689Skan	instead of assuming long long is wide enough.
34661169689Skan	(sf_to_tf, df_to_tf, __make_tp, tf_to_df, tf_to_sf): New.
34662169689Skan
34663169689Skan2003-01-26  Andreas Jaeger  <aj@suse.de>
34664169689Skan
34665169689Skan	* df.c: Remove prototype of unused function df_regno_rtl_debug.
34666169689Skan
34667169689Skan2003-01-26  Alexandre Oliva  <aoliva@redhat.com>
34668169689Skan
34669169689Skan	* Makefile.in (FPBIT_FUNCS): Added _sf_to_tf.
34670169689Skan	(DBBIT_FUNCS): Added _df_to_tf.
34671169689Skan	(TPBIT_FUNCS): New.
34672169689Skan	(libgcc.mk): Pass TPBIT and TPBIT_FUNCS down.
34673169689Skan	(LIBGCC_DEPS): Added TPBIT.
34674169689Skan	* mklibgcc.in: Support TPBIT and TPBIT_FUNCS.
34675169689Skan
34676169689Skan	* optabs.c (expand_binop) <add, sub>: Return xtarget if we haven't
34677169689Skan	been able to move the result to target.
34678169689Skan
34679169689Skan	* expr.c (emit_group_store): Initialize dst with CONST0_RTX
34680169689Skan	for the appropriate mode.
34681169689Skan
34682169689Skan	* calls.c (emit_library_call_value_1): Handle return values
34683169689Skan	in a PARALLEL.
34684169689Skan
34685169689Skan	* rtl.c (get_mode_alignment): Moved to...
34686169689Skan	* stor-layout.c: ... here.
34687169689Skan
34688169689Skan	* print-rtl.c (print_rtx): Don't print MEM details in
34689169689Skan	GENERATOR_FILEs.
34690169689Skan
34691169689Skan2003-01-26  Michael Hayes  <mph@paradise.net.nz>
34692169689Skan
34693169689Skan	* df.h: Update comments, tidy formatting.
34694169689Skan	(DF_FORWARD, DF_REVERSE, DF_UNION, DF_INTERSECTION): Rename from FORWARD,
34695169689Skan	REVERSE, UNION, INTERSECTION.  All uses updated.
34696169689Skan	(OLD_DF_INTERFACE): Remove.
34697169689Skan	(struct insn_info): Remove commented out insn field.
34698169689Skan	* df.c: Update comments, tidy formatting.
34699169689Skan	(df_def_table_realloc): Remove.
34700169689Skan
34701169689Skan
34702169689Skan2003-01-26  Alan Modra  <amodra@bigpond.net.au>
34703169689Skan
34704169689Skan	* calls.c (save_fixed_argument_area): Tidy.
34705169689Skan	(restore_fixed_argument_area): Tidy.  Set alignment of stack_area.
34706169689Skan	(expand_call): Comment typo fixes.  Don't init low_to_save.  Start
34707169689Skan	call chain loop at 1 if !try_tail_call.  Formatting.
34708169689Skan	(emit_library_call_value_1): Don't init low_to_save or high_to_save.
34709169689Skan	Use save_fixed_argument_area and restore_fixed_argument_area.
34710169689Skan
34711169689Skan2003-01-26  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
34712169689Skan
34713169689Skan	* df.c (df_uses_record): Handle CC0.
34714169689Skan
34715169689Skan2003-01-25  Ulrich Weigand  <uweigand@de.ibm.com>
34716169689Skan
34717169689Skan	* reload.c (maybe_memory_address_p): New function.
34718169689Skan	(find_reloads_address): Use it instead of memory_address_p.
34719169689Skan
34720169689Skan2003-01-25  Kaz Kojima  <kkojima@gcc.gnu.org>
34721169689Skan
34722169689Skan	* final.c (shorten_branches): Align the address of code label
34723169689Skan	when computing initial lengths and addresses.
34724169689Skan
34725169689Skan2003-01-25  Kazu Hirata  <kazu@cs.umass.edu>
34726169689Skan
34727169689Skan	* config/m68hc11/m68hc11.md: Fix a comment typo.
34728169689Skan
34729169689Skan2003-01-25  Andreas Jaeger  <aj@suse.de>
34730169689Skan
34731169689Skan	* config/i386/i386.c (x86_output_mi_thunk): Correct test for
34732169689Skan	TARGET_MACHO.
34733169689Skan
34734169689Skan2003-01-25  Roger Sayle  <roger@eyesopen.com>
34735169689Skan
34736169689Skan	* gcse.c (bypass_last_basic_block): New global variable.
34737169689Skan	(bypass_block):  Use redirect_edge_and_branch_force to redirect
34738169689Skan	fall-through edges.  Use bypass_last_basic_block to determine
34739169689Skan	which blocks have valid PRE information.
34740169689Skan	(bypass_conditional_jumps): Initialize bypass_last_basic_block.
34741169689Skan
34742169689Skan2003-01-25  Jan Hubicka  <jh@suse.cz>
34743169689Skan
34744169689Skan	* gcse.c (local_cprop_pass): Update reg_sets table when needed.
34745169689Skan
34746169689Skan2003-01-25  Jan Hubicka  <jh@suse.cz>
34747169689Skan            Eric Botcazou <ebotcazou@libertysurf.fr>
34748169689Skan
34749169689Skan	PR opt/8492
34750169689Skan	* gcse.c (one_cprop_pass): Delete unreachable blocks.
34751169689Skan
34752169689Skan2003-01-25  Richard Henderson  <rth@redhat.com>
34753169689Skan
34754169689Skan	* config/ia64/ia64.c (ia64_rwreloc_select_rtx_section): Rename
34755169689Skan	from ia64_aix_select_rtx_section.
34756169689Skan	(ia64_rwreloc_select_section): Simlarly; use default*_1 function
34757169689Skan	instead of saving and restoring flag_pic.
34758169689Skan	(ia64_rwreloc_unique_section): Similarly.
34759169689Skan	* config/ia64/aix.h (TARGET_ASM_SELECT_SECTION,
34760169689Skan	TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): Update.
34761169689Skan	* config/ia64/hpux.h (TARGET_ASM_SELECT_SECTION,
34762169689Skan	TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): New.
34763169689Skan
34764169689Skan2003-01-25  Kazu Hirata  <kazu@cs.umass.edu>
34765169689Skan
34766169689Skan	* config/h8300/h8300.c (h8300_shift_needs_scratch_p): Update a
34767169689Skan	comment.
34768169689Skan
34769169689Skan2003-01-25  Richard Henderson  <rth@redhat.com>
34770169689Skan
34771169689Skan	* config/m68k/m68k-none.h (ASM_SPEC): Adjust inter-option spacing.
34772169689Skan
34773169689Skan2003-01-25  Kelley Cook <kelleycook@comcast.net>
34774169689Skan
34775169689Skan	* ggc-simple.c (debug_ggc_tree): Add PTR cast.
34776169689Skan
34777169689Skan2003-01-25  Segher Boessenkool  <segher@koffie.nl>
34778169689Skan
34779169689Skan	* bitmap.h (BITMAP_WORD): New typedef: fundamental storage
34780169689Skan	type for bitmaps.  Use unsigned long.
34781169689Skan	(nBITMAP_WORD_BITS): New macro.
34782169689Skan	(BITMAP_WORD_BITS): New macro.
34783169689Skan	(rest of file): Use it.
34784169689Skan	* bitmap.c: Use it.
34785169689Skan
34786169689Skan2003-01-25  Richard Henderson  <rth@redhat.com>
34787169689Skan
34788169689Skan	2002-02-19  Robert Lipe  <robertlipe@usa.net>
34789169689Skan	* config/i386/t-sco5gas: (CRTSTUFF_T_CFLAGS_S): Delete -mcoff.
34790169689Skan
34791169689Skan2003-01-25  Roger Sayle  <roger@eyesopen.com>
34792169689Skan
34793169689Skan	* builtins.c (purge_builtin_constant_p): Scan insn stream
34794169689Skan	sequentially rather than by basic block.
34795169689Skan	* function.c (purge_addressof): Simplify test with INSN_P.
34796169689Skan
34797169689Skan2003-01-25  Kazu Hirata  <kazu@cs.umass.edu>
34798169689Skan
34799169689Skan	* combine.c (simplify_comparison, case AND): Remove a redundant test.
34800169689Skan
34801169689Skan2003-01-25  Roger Sayle  <roger@eyesopen.com>
34802169689Skan
34803169689Skan	* function.h (struct function): New field calls_constant_p.
34804169689Skan	(current_function_calls_constant_p): New macro for above.
34805169689Skan	* function.c (prepare_function_start): Initialize calls_eh_return
34806169689Skan	and calls_constant_p.
34807169689Skan	* builtins.c (expand_builtin_constant_p): Set calls_constant_p.
34808169689Skan	* toplev.c (rest_of_compilation): Only call purge_builtin_constant_p
34809169689Skan	when the current_function_calls_constant_p.
34810169689Skan	* integrate.c (expand_inline_function): Set calls_constant_p if
34811169689Skan	the function being inlined has calls_constant_p set.
34812169689Skan
34813169689Skan2003-01-25  Roger Sayle  <roger@eyesopen.com>
34814169689Skan
34815169689Skan	* cse.c (fold_rtx): Instantiate CONSTANT_P_RTX to 0 when not
34816169689Skan	optimizing, even if flag_gcse is true.
34817169689Skan	* toplev.c (rest_of_compilation): purge_builtin_constant_p
34818169689Skan	only needs to be called when "optimize > 0 && flag_gcse".
34819169689Skan
34820169689Skan2003-01-25  Roger Sayle  <roger@eyesopen.com>
34821169689Skan
34822169689Skan	* stmt.c (emit_case_bit_tests): New routine to implement suitable
34823169689Skan	switch statements using the equivalent of "if ((1<<x) & cst) ... ".
34824169689Skan	(case_bit_test_cmp): New comparison function for "qsort" to order
34825169689Skan	case_bit_tests by decreasing number of destination nodes.
34826169689Skan	(lshift_cheap_p): New function to determine if "1 << x" is cheap.
34827169689Skan	(expand_end_case_type): Use emit_case_bit_tests to implement
34828169689Skan	suitable switch statments.
34829169689Skan	(CASE_USE_BIT_TESTS): New target macro to disable the above.
34830169689Skan	* Makefile.in (stmt.o): Add dependency on optab.h.
34831169689Skan	* doc/tm.texi (CASE_USE_BIT_TESTS): Document new target macro.
34832169689Skan
34833169689Skan2003-01-23  Andreas Schwab  <schwab@suse.de>
34834169689Skan
34835169689Skan	* config/ia64/crtend.asm [HAVE_INITFINI_ARRAY]: Make
34836169689Skan	__do_global_ctors_aux hidden global and don't put it in
34837169689Skan	.init_array.
34838169689Skan	* config/ia64/crtbegin.asm [HAVE_INITFINI_ARRAY]: Put it here
34839169689Skan	instead so that it comes first.
34840169689Skan
34841169689Skan2003-01-25  Jan Hubicka  <jh@suse.cz>
34842169689Skan
34843169689Skan	* df.c (read_modify_subreg_p):  When osize == UNITS_PER_WORD,
34844169689Skan	subreg is read/modify.
34845169689Skan
34846169689Skan2003-01-25  Jan Hubicka  <jh@suse.cz>
34847169689Skan
34848169689Skan	* i386.c (ix86_expand_movstr, ix86_expand_clrstr): Consistently
34849169689Skan	do libcall for large blocks.
34850169689Skan	* i386.md (comi patterns): Set type to ssecomi.
34851169689Skan	(sse2_unpck?pd): Fix mode of vec_select.
34852169689Skan
34853169689Skan	* cse.c: Include except.h
34854169689Skan	(cse_set_around_loop):  Do not create new basic blocks.
34855169689Skan	* Makefile.in (cse.o): Add dependnecy on except.h
34856169689Skan
34857169689Skan2003-01-25  Jan Hubicka  <jh@suse.cz>
34858169689Skan
34859169689Skan	* builtins.c (fold_trunc_transparent_mathfn): New function.
34860169689Skan	(fold_builtin): Use it.
34861169689Skan	* convert.c (convert_to_real): Re-enable code to convert
34862169689Skan	math functions; add support for floor familly functions.
34863169689Skan
34864169689Skan2003-01-25  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
34865169689Skan
34866169689Skan	* Makefile.in (cfgloop.o, cfgloopanal.o, cfgloopmanip.o): Add
34867169689Skan	dependencies on coretypes.h and $(TM_H).
34868169689Skan
34869169689Skan2003-01-25  Jan Hubicka  <jh@suse.cz>
34870169689Skan
34871169689Skan	* builtins.c (fold_trunc_transparent_mathfn):  Undo accidental commit.
34872169689Skan
34873169689Skan2003-01-24  Stuart Hastings  <stuart@apple.com>
34874169689Skan
34875169689Skan	* config/i386/i386.c (x86_output_mi_thunk): Add Darwin/x86 support.
34876169689Skan
34877169689Skan2003-01-25  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
34878169689Skan
34879169689Skan	* config/c4x/c4x.md (UNSPEC_BU): New constants.
34880169689Skan	(UNSPEC_RPTS, UNSPEC_LSH, UNSPEC_CMPHI, UNSPEC_RCPF): Likewise.
34881169689Skan	(UNSPEC_RND, UNSPEC_RPTB_FILL, UNSPEC_LOADHF_INT): Likewise.
34882169689Skan	(UNSPEC_STOREHF_INT, UNSPEC_RSQRF, UNSPEC_LOADQF_INT): Likewise.
34883169689Skan	(UNSPEC_STOREQF_INT, UNSPEC_LDIV, UNSPEC_PUSH_ST):  Likewise.
34884169689Skan	(UNSPEC_POP_ST, UNSPEC_PUSH_DP, UNSPEC_POP_DP):  Likewise.
34885169689Skan	(UNSPEC_POPQI, UNSPEC_POPQF, UNSPEC_ANDN_ST):  Likewise.
34886169689Skan	(UNSPEC_RPTB_INIT, UNSPEC_TOIEEE, UNSPEC_FRIEEE):  Likewise.
34887169689Skan
34888169689Skan2003-01-24  Jan Hubicka  <jh@suse.cz>
34889169689Skan
34890169689Skan	* emit-rtl.c (reg_attrs_htab): New static variable.
34891169689Skan	(reg_attrs_htab_hash, reg_attrs_htab_eq, get_reg_attrs): New static
34892169689Skan	functions.
34893169689Skan	(reg_rtx): Do not maintain regno_decl.
34894169689Skan	(gen_rtx_REG_offset, set_reg_attrs_from_mem, set_delc_rtx,
34895169689Skan	set_mem_attrs_from_reg): New global function.
34896169689Skan	(init_emit): Do not initialize regno_decl.
34897169689Skan	(init_emit_once): initialize reg_attrs_htab.
34898169689Skan	* final.c (alter_subreg): Do not replace REG by SUBREG.
34899169689Skan	(gen_mem_expr_from_op): Improve output.
34900169689Skan	(output_asm_operands): Likewise.
34901169689Skan	* function.c (assign_params): Do not set REGNO_DECL.
34902169689Skan	* function.h (struct function): Kill regno_decl.
34903169689Skan	(REGNO_DECL): Kill.
34904169689Skan	* gengtype.c (adjust_field_rtx_def): Handle new field of reg.
34905169689Skan	* print_rtl.c (print_rtx): Output REG information.
34906169689Skan	* regclass.c (reg_scan_mark_refs): Update attrs.
34907169689Skan	* reload1.c (alter_reg): Likewise.
34908169689Skan	* simplify_rtx.c (simplify_subreg): Likewise.
34909169689Skan	* stmt.c (expand_decl): Likewise.
34910169689Skan	* rtl.def (REG): Add new field.
34911169689Skan	* rtl.h (struct reg_attrs): New.
34912169689Skan	(rtunion_def): At rtreg.
34913169689Skan	(X0MEMATTR): Add checking.
34914169689Skan	(X0REGATTR, REG_ATTRS, REG_EXPR, REG_OFFSET): New macro.
34915169689Skan	(set_reg_attrs_from_mem, set_mem_attrs_from_reg, gen_rtx_REG_offset):
34916169689Skan	Declare.
34917169689Skan	* tree.h (SET_DECL_RTL): Call set_decl_rtl.
34918169689Skan
34919169689Skan2003-01-24  Bob Wilson  <bob.wilson@acm.org>
34920169689Skan
34921169689Skan	* config/xtensa/xtensa.c: Remove unused include of machmode.h.
34922169689Skan	(xtensa_emit_call, print_operand): Fix printf format strings
34923169689Skan	to avoid compile warnings.
34924169689Skan	(xtensa_function_prologue, xtensa_function_epilogue): Change type
34925169689Skan	of "size" argument to HOST_WIDE_INT to fix compile warnings.
34926169689Skan	* config/xtensa/xtensa-protos.h
34927169689Skan	(xtensa_function_prologue, xtensa_function_epilogue): Ditto.
34928169689Skan
34929169689Skan2003-01-24  Jan Hubicka  <jh@suse.cz>
34930169689Skan
34931169689Skan	* builtins.c (DEF_BUILTIN): Accept 10 arguments.
34932169689Skan	(implicit_built_in_decls): New global array.
34933169689Skan	(mathfn_built_in): New global function.
34934169689Skan	(fold_trunc_transparent_mathfn): New static function
34935169689Skan	(expand_builtin_strstr, expand_bultin_strchr,
34936169689Skan	expand_builtin_strpbrk, expand_builtin_strcpy,
34937169689Skan	expand_builtin_strncpy, expand_bultin_strcmp,
34938169689Skan	expand_bultin_strncat, expand_builtin_fputs): Use
34939169689Skan	implicint_built_in_decls.
34940169689Skan	(fold_builtin): Fold floor/trunc/round/ceil/nearbyint.
34941169689Skan	* builtins.def: Fix comments.
34942169689Skan	(DEF_GCC_BUILTIN, DEF_FALLBACK_BUILTIN, DEF_EXT_FALLBACK_BUILTIN,
34943169689Skan	DEF_LIB_BUILTIN, DEF_LIB_ALWAYS_BUILTIN, DEF_EXT_LIB_BUILTIN,
34944169689Skan	DEF_C99_BULTIN, DEF_FRONT_END_LIB_BUILTIN,
34945169689Skan	DEF_EXT_FRONT_END_LIB_BUILTIN): Pass implicit as needed.
34946169689Skan	(DEF_C99_C90RES_BULTIN): New.
34947169689Skan	(*f, *l builtins): Update.
34948169689Skan	* c-common.c (DEF_BUILTIN): Initialize implicit array.
34949169689Skan	(c_expand_builtin_printf, c_expand_builtin_fprintf): Update.
34950169689Skan	* convert.c (strip_float_extensions): New global function.
34951169689Skan	* tree.h (DEF_BUILTIN): Accept 10 arguments.
34952169689Skan	(implicit_built_in_decls, mathfn_built_in, strip_float_extension):
34953169689Skan	Declare.
34954169689Skan	* java/builtins.c (define_builtin): Handle implicit.
34955169689Skan	(DEF_BUILTIN): Update.
34956169689Skan	* tm.texi (TARGET_C99_FUNCTIONS): Document.
34957169689Skan	* defaults.h (TARGET_C99_FUNCTIONS): Default to 0.
34958169689Skan	* config/linux.h (TARGET_C99_FUNCTIONS): Default to 1
34959169689Skan	when using glibc2.
34960169689Skan
34961169689Skan2003-01-24  Bob Wilson  <bob.wilson@acm.org>
34962169689Skan
34963169689Skan	* config.gcc (xtensa-*-elf*): Removed assignments to with_newlib,
34964169689Skan	extra_parts, and fixincludes.  Add xtensa/t-elf tmake_file.
34965169689Skan	(xtensa-*-linux*): Add xtensa/t-linux tmake_file.
34966169689Skan	* config/xtensa/crti.asm: New file.
34967169689Skan	* config/xtensa/crtn.asm: New file.
34968169689Skan	* config/xtensa/t-elf: New file.
34969169689Skan	* config/xtensa/t-linux: New file.
34970169689Skan	* config/xtensa/t-xtensa: Add rules for crti.o and crtn.o.
34971169689Skan	Move various CFLAGS settings to new t-elf file.
34972169689Skan
34973169689Skan2003-01-24  Richard Henderson  <rth@redhat.com>
34974169689Skan
34975169689Skan	PR optimization/4382
34976169689Skan	* tree-inline.c (find_builtin_longjmp_call_1): New.
34977169689Skan	(find_builtin_longjmp_call): New.
34978169689Skan	(inlinable_function_p): Use it.
34979169689Skan
34980169689Skan2003-01-24  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
34981169689Skan
34982169689Skan	* config/i386/i386-protos.h (function_arg_pass_by_reference): Declare.
34983169689Skan	* config/i386/i386.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
34984169689Skan	* config/i386/i386.c (function_arg_pass_by_reference): New.
34985169689Skan	(ix86_va_arg): Support arguments passed by reference.
34986169689Skan
34987169689Skan2003-01-24  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
34988169689Skan
34989169689Skan	* cfgloopanal.c: New file.
34990169689Skan	* cfgloopmanip.c: New file.
34991169689Skan	* Makefile.in (cfgloopanal.o, cfgloopmanip.o): New.
34992169689Skan	(toplev.o, loop.o, doloop.o, unroll.o, cfgloop.o, predict.o,
34993169689Skan	cfglayout.o): Add dependency on cfgloop.h.
34994169689Skan	(cfgloop.o): Add flags.h dependency.
34995169689Skan	* basic-block.h (BB_IRREDUCIBLE_LOOP, BB_SUPERBLOCK): New flags.
34996169689Skan	(VLS_EXPECT_PREHEADERS, VLS_EXPECT_SIMPLE_LATCHES): Removed.
34997169689Skan	(struct loop, struct loops, flow_loops_find, flow_loops_update,
34998169689Skan	flow_loops_free, flow_loops_dump, flow_loop_dump,
34999169689Skan	flow_loop_scan, flow_loop_tree_node_add, flow_loop_tree_node_remove,
35000169689Skan	LOOP_TREE,,LOOP_PRE_HEADER, LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES,
35001169689Skan	LOOP_ALL, flow_loop_outside_edge_p, flow_loop_nested_p,
35002169689Skan	flow_bb_inside_loop_p, get_loop_body, loop_preheader_edge,
35003169689Skan	loop_latch_edge, add_bb_to_loop, remove_bb_from_loops,
35004169689Skan	find_common_loop, verify_loop_structure): Declarations moved to ...
35005169689Skan	* cfgloop.h: New file.
35006169689Skan	* bb-reorder.c (reorder_basic_blocks): Modified.
35007169689Skan	* cfglayout.c: Include cfgloop.h.
35008169689Skan	(cleanup_unconditional_jumps, cfg_layout_redirect_edge,
35009169689Skan	cfg_layout_duplicate_bb, cfg_layout_initialize): Update loop structure.
35010169689Skan	(break_superblocks): New static function.
35011169689Skan	(cfg_layout_finalize): Use it.
35012169689Skan	(cfg_layout_split_block): New function.
35013169689Skan	* cfglayout.h (struct reorder_block_def): Add copy and duplicated
35014169689Skan	fields.
35015169689Skan	(cfg_layout_initialize, cfg_layout_redirect_edge): Declaration
35016169689Skan	changed.
35017169689Skan	(cfg_layout_split_block): Declare.
35018169689Skan	* cfgloop.c: Include cfgloop.h and flags.h.
35019169689Skan	(flow_loop_dump, flow_loops_free, flow_loop_exit_edges_find,
35020169689Skan	get_loop_body): Avoid signed versus unsigned comparison warnings.
35021169689Skan	(make_forwarder_block, flow_loops_find, loop_preheader_edge,
35022169689Skan	loop_latch_edge): Modified.
35023169689Skan	(verify_loop_structure): Modified to use flags stored in loop structure;
35024169689Skan	check irreducible loops.
35025169689Skan	(cancel_loop, cancel_loop_tree): New functions.
35026169689Skan	(estimate_probability): Use loop analysis code for predictions.
35027169689Skan	(estimate_loops_at_level):  Avoid signed versus unsigned comparison
35028169689Skan	warnings.
35029169689Skan	* doloop.c: Include cfgloop.h.
35030169689Skan	* loop.c: Include cfgloop.h.
35031169689Skan	* predict.c: Include cfgloop.h.
35032169689Skan	* toplev.c: Include cfgloop.h.
35033169689Skan	* unroll.c: Include cfgloop.h.
35034169689Skan	* tracer.c (tracer): Modified.
35035169689Skan
35036169689Skan2003-01-24  Kazu Hirata  <kazu@cs.umass.edu>
35037169689Skan
35038169689Skan	* config/h8300/h8300.c (get_shift_alg): Fix a typo.
35039169689Skan
35040169689Skan2003-01-24  Ulrich Weigand  <uweigand@de.ibm.com>
35041169689Skan
35042169689Skan	* configure.in (HAVE_AS_TLS): Add s390-*-* and s390x-*-* cases.
35043169689Skan	* configure: Regenerate.
35044169689Skan
35045169689Skan	* config/s390/s390-protos.h (tls_symbolic_operand): Add prototype.
35046169689Skan	(tls_symbolic_reference_mentioned_p): Add prototype.
35047169689Skan	(s390_tls_get_offset): Add prototype.
35048169689Skan	(emit_pic_move): Remove prototype, replace by ...
35049169689Skan	(emit_symbolic_move): .. this new prototype.
35050169689Skan
35051169689Skan	* config/s390/s390.c (TARGET_HAVE_TLS): Conditionally define.
35052169689Skan	(tls_model_chars): New global variable.
35053169689Skan	(s390_encode_section_info): Encode TLS model.
35054169689Skan	Use targetm.binds_local_p to check for local symbols.
35055169689Skan	(s390_strip_name_encoding): New function.
35056169689Skan	(TARGET_STRIP_NAME_ENCODING): Define.
35057169689Skan
35058169689Skan	(get_thread_pointer): New function.
35059169689Skan	(legitimize_tls_address): New function.
35060169689Skan	(legitimize_address): Call it.
35061169689Skan	(emit_pic_move): Remove, replace by ...
35062169689Skan	(emit_symbolic_move): ... this new function.
35063169689Skan
35064169689Skan	(larl_operand): Handle TLS operands.
35065169689Skan	(legitimate_constant_p): Likewise.
35066169689Skan	(s390_decompose_address): Likewise.
35067169689Skan	(s390_cannot_force_const_mem): New function.
35068169689Skan	(TARGET_CANNOT_FORCE_CONST_MEM): Define.
35069169689Skan
35070169689Skan	(s390_output_symbolic_const): Handle TLS unspecs.
35071169689Skan	(print_operand): New code 'J'.
35072169689Skan	(machine_function): Add struct member 'some_ld_name'.
35073169689Skan	(get_some_local_dynamic_name, get_some_local_dynamic_name_1): New.
35074169689Skan
35075169689Skan	(enum s390_builtin): New type.
35076169689Skan	(code_for_builtin_64, code_for_builtin_31): New global variables.
35077169689Skan	(s390_init_builtins, s390_expand_builtin): New functions.
35078169689Skan	(TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Define.
35079169689Skan
35080169689Skan	* config/s390/s390.h (TLS_SYMBOLIC_CONST): New macro.
35081169689Skan	(ASM_OUTPUT_LABELREF): Define.
35082169689Skan	(ASM_OUTPUT_SPECIAL_POOL_ENTRY): Handle TLS constants.
35083169689Skan
35084169689Skan	* config/s390/s390.md: Define TLS UNSPEC constants.
35085169689Skan	("movdi", "movsi"): Handle TLS operands.
35086169689Skan	("get_tp_64", "get_tp_31", "set_tp_64", "set_tp_31"): New insns.
35087169689Skan	("*tls_load_64", "*tls_load_31"): New insns.
35088169689Skan	("call_value_tls", "call_value_tls_exp"): New expanders.
35089169689Skan	("brasl_tls", "bras_tls", "basr_tls_64", "basr_tls_31",
35090169689Skan	"bas_tls_64", "bas_tls_31"): New insns.
35091169689Skan
35092169689Skan2003-01-24  Nathan Sidwell  <nathan@codesourcery.com>
35093169689Skan
35094169689Skan	* config/rs6000/rs6000.c (rs6000_parse_abi_options): Make sure
35095169689Skan	spe ABI is configured, if requested.
35096169689Skan
35097169689Skan2003-01-24  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
35098169689Skan
35099169689Skan	* doc/passes.texi: Fix typo.
35100169689Skan
35101169689Skan2003-01-24  Andreas Schwab  <schwab@suse.de>
35102169689Skan
35103169689Skan	* stor-layout.c (excess_unit_span): Only define if used.
35104169689Skan
35105169689Skan2003-01-24  Jerry Quinn  <jlquinn@optonline.net>
35106169689Skan
35107169689Skan	* gcc/doc/invoke.texi (Optimization Options): List -O levels
35108169689Skan	for each optimization flag.
35109169689Skan
35110169689Skan2003-01-24  Kazu Hirata  <kazu@cs.umass.edu>
35111169689Skan
35112169689Skan	* config/h8300/h8300.md (*andsi3_ashift_n_lower): New.
35113169689Skan
35114169689Skan2003-01-24  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
35115169689Skan
35116169689Skan	* doc/bugreport.texi: Use @command instead of @code for commands.
35117169689Skan	* doc/collect2.texi: Likewise.
35118169689Skan	* doc/headerdirs.texi: Likewise.
35119169689Skan	* doc/invoke.texi: Likewise.
35120169689Skan	* doc/standards.texi: Likewise.
35121169689Skan	* doc/tm.texi: Likewise.
35122169689Skan	* doc/trouble.texi: Likewise.
35123169689Skan
35124169689Skan2003-01-24  Nick Clifton  <nickc@redhat.com>
35125169689Skan
35126169689Skan	* config/arm/arm.c (use_return_insn): Do not use a single return
35127169689Skan	instruction for interrupt handelrs which have to create a stack
35128169689Skan	frame.
35129169689Skan	(arm_expand_prologue): Do not pre-bias the return address of
35130169689Skan	interrupt handlers which create a stack frame.
35131169689Skan
35132169689Skan2003-01-24  Nick Clifton  <nickc@redhat.com>
35133169689Skan
35134169689Skan	* Add sh2e support:
35135169689Skan
35136169689Skan	2002-08-12  Alexandre Oliva  <aoliva@redhat.com>
35137169689Skan
35138169689Skan		* config/sh/sh.c (output_branch) [TARGET_SH2E]: Handle
35139169689Skan		med_cbranches.  Fix logic in short_cbranches.
35140169689Skan
35141169689Skan	2002-04-03  Alexandre Oliva  <aoliva@redhat.com>
35142169689Skan
35143169689Skan		* config/sh/sh.md (delay for cbranch): Don't annul delay
35144169689Skan		slots on SH2e.
35145169689Skan		* config/sh/sh.c (sh_insn_length_adjustment): Add 2 for
35146169689Skan		cbranch with unfilled delay slot on SH2e.
35147169689Skan		(output_branch): Fill with a nop the delay slot of a
35148169689Skan		branch that required a delay slot but didn't get one.
35149169689Skan
35150169689Skan	2002-04-02  Alexandre Oliva  <aoliva@redhat.com>
35151169689Skan
35152169689Skan		* doc/invoke.texi (SH options): Document -m2e.
35153169689Skan		* config/sh/crt1.asm: Add __SH2E__ Next to __SH3E__.
35154169689Skan		* config/sh/lib1funcs.asm: Likewise.
35155169689Skan		* config/sh/sh.c: Replace all uses of TARGET_SH3E with SH2E.
35156169689Skan		* config/sh/sh.h (CPP_SPEC): Define __SH2E__ for -m2e, and
35157169689Skan		not __sh1__.
35158169689Skan		(CONDITIONAL_REGISTER_USAGE): Don't disable FP regs from
35159169689Skan		SH2E up.
35160169689Skan		(SH3E_BIT): Renamed to...
35161169689Skan		(SH_E_BIT): ... this.  Replace all uses.
35162169689Skan		(TARGET_SH2E): Define from SH_E_BIT and TARGET_SH2.
35163169689Skan		Replace all uses of TARGET_SH3E with TARGET_SH2E.
35164169689Skan		(TARGET_SWITCHES): Added 2e.
35165169689Skan		(OVERRIDE_OPTIONS): Set sh_cpu for SH2E.
35166169689Skan		(processor_type): Added PROCESSOR_SH2E.
35167169689Skan		* config/sh/sh.md: Replace all uses of TARGET_SH3E with
35168169689Skan		TARGET_SH2E, except in sqrtsf2_i.
35169169689Skan		(attribute cpu): Added sh2e.
35170169689Skan		* config/sh/t-sh (MULTILIB_OPTIONS): Replace m3e with m2e.
35171169689Skan		(MULTILIB_MATCHES): Use m2e multilib for m3e.
35172169689Skan		* config.gcc: Add sh2e target support.
35173169689Skan
35174169689Skan2003-01-24  Phil Edwards  <pme@gcc.gnu.org>
35175169689Skan
35176169689Skan	Rename -W to -Wextra.
35177169689Skan	* c-decl.c:  Update comments.
35178169689Skan	* c-typeck.c:  Likewise.
35179169689Skan	* flags.h:  Likewise.
35180169689Skan	* function.c:  Likewise.
35181169689Skan	* stmt.c:  Likewise.
35182169689Skan	* toplev.c:  Update comments.
35183169689Skan	(W_options):  Add 'extra'.
35184169689Skan	(display_help):  Remove '-W'.
35185169689Skan	(decode_W_option):  Special warn_uninitialized treatment in the case
35186169689Skan	of -Wextra.
35187169689Skan	* doc/invoke.texi:  Update with new entries.
35188169689Skan
35189169689Skan2003-01-23  Richard Henderson  <rth@redhat.com>
35190169689Skan
35191169689Skan	* ifcvt.c (noce_process_if_block): Re-add check vs X being changed
35192169689Skan	in no-else-block case.  Add commentary.
35193169689Skan
35194169689Skan2003-01-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
35195169689Skan
35196169689Skan	* configure.in: Revert last change.
35197169689Skan
35198169689Skan2003-01-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
35199169689Skan
35200169689Skan	* configure.in: Don't include ansidecl.h in tconfig.h.
35201169689Skan	* gcov-io.h (PARAMS, ATTRIBUTE_UNUSED): Define if IN_LIBGCC2.
35202169689Skan	* unwind-dw2-fde.h (last_fde): Use __attribute__, not
35203169689Skan	ATTRIBUTE_UNUSED.
35204169689Skan
35205169689Skan	* configure: Regenerate.
35206169689Skan
35207169689Skan2003-01-23  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
35208169689Skan
35209169689Skan	PR java/6748
35210169689Skan	* config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Don't destroy
35211169689Skan	regs->nip. Fix rt_sigreturn frame layout. Add support for newer
35212169689Skan	kernels.
35213169689Skan
35214169689Skan2003-01-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
35215169689Skan
35216169689Skan	* cpplex.c (cpp_interpret_charconst): Squelch warning with cast.
35217169689Skan
35218169689Skan2003-01-23  Ulrich Weigand  <uweigand@de.ibm.com>
35219169689Skan
35220169689Skan	* genattrtab.c (write_attr_get): Mark 'insn' paramter
35221169689Skan	as ATTRIBUTE_UNUSED.
35222169689Skan
35223169689Skan2003-01-23  Richard Earnshaw  <rearnsha@arm.com>
35224169689Skan
35225169689Skan	* arm.c (thumb_base_register_rtx_p): New function.
35226169689Skan	(thumb_index_register_rtx_p): New function.
35227169689Skan	(thumb_legitimate_address_p): New function.
35228169689Skan	(thumb_legitimate_offset_p): New function.
35229169689Skan	* arm.h (REG_STRICT_P): Define according to setting of REG_OK_STRICT.
35230169689Skan	(ARM_GO_IF_LEGITIMATE_ADDRESS): Use REG_STRICT_P to avoid duplicate
35231169689Skan	definitions.
35232169689Skan	(THUMB_GO_IF_LEGITIMATE_ADDRESS): Use thumb_legitimate_address_p.
35233169689Skan	(THUMB_LEGITIMATE_OFFSET): Delte.
35234169689Skan	(THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use thumb_legitimate_offset.
35235169689Skan	* arm-protos.h (thumb_legitimate_address_p): Add prototype.
35236169689Skan	(thumb_legitimate_offset_p): Likewise.
35237169689Skan
35238169689Skan2003-01-23  Andreas Schwab  <schwab@suse.de>
35239169689Skan
35240169689Skan	* unwind.h (_Unwind_GetTextRelBase): Mark parameter as unused.
35241169689Skan
35242169689Skan2003-01-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
35243169689Skan
35244169689Skan	* fixinc/Makefile.in (FL_LIST): Revert last change.
35245169689Skan
35246169689Skan2003-01-23  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
35247169689Skan
35248169689Skan	PR other/7341
35249169689Skan	* invoke.texi (ftest-coverage): Fix broken cross-reference.
35250169689Skan	Change @code to @command for gcov command.
35251169689Skan
35252169689Skan	* gcc.texi: Adjust title of gcov section.
35253169689Skan	Adjust copyright.
35254169689Skan	* gcov.texi: Likewise.
35255169689Skan
35256169689Skan2003-01-22  Roger Sayle  <roger@eyesopen.com>
35257169689Skan
35258169689Skan	PR optimization/8423
35259169689Skan	* cse.c (fold_rtx): Only eliminate a CONSTANT_P_RTX to 1 when
35260169689Skan	its argument is constant, or 0 if !flag_gcse.
35261169689Skan	* simplify-rtx.c (simplify_rtx): Convert CONSTANT_P_RTX to 1
35262169689Skan	if it's argument is constant.
35263169689Skan	* gcse.c (want_to_gcse_p): Ignore CONSTANT_P_RTX nodes.
35264169689Skan	(hash_scan_set): Don't record CONSTANT_P_RTX expressions.
35265169689Skan	(do_local_cprop): Don't propagate CONSTANT_P_RTX constants.
35266169689Skan	* builtins.c (purge_builtin_constant_p): New function to force
35267169689Skan	instantiation of any remaining CONSTANT_P_RTX nodes.
35268169689Skan	* rtl.h (purge_builtin_constant_p): Prototype here.
35269169689Skan	* toplev.c (rest_of_compilation): Invoke purge_builtin_constant_p
35270169689Skan	pass after GCSE and before loop.
35271169689Skan	(flag_gcse): No longer static.
35272169689Skan	* flags.h (flag_gcse): Prototype here.
35273169689Skan
35274169689Skan2003-01-22  Ulrich Weigand  <uweigand@de.ibm.com>
35275169689Skan
35276169689Skan	* config/s390/s390.h (HARD_REGNO_MODE_OK): Fix warning regression
35277169689Skan	introduced by last change.
35278169689Skan
35279169689Skan2003-01-22  Andreas Schwab  <schwab@suse.de>
35280169689Skan
35281169689Skan	* ra-rewrite.c (rewrite_program2): Initialize bb to avoid warning.
35282169689Skan
35283169689Skan2003-01-22  Kazu Hirata  <kazu@cs.umass.edu>
35284169689Skan
35285169689Skan	* config/h8300/h8300.c (h8300_shift_needs_scratch_p): Don't
35286169689Skan	request a scratch reg on H8S when the shift count is 8.
35287169689Skan
35288169689Skan2003-01-22  Ulrich Weigand  <uweigand@de.ibm.com>
35289169689Skan
35290169689Skan	* config/s390/s390-protos.h (preferred_la_operand_p):
35291169689Skan	Remove second parameter.
35292169689Skan	* config/s390/s390.c (preferred_la_operand_p): Likewise.
35293169689Skan	* config/s390/s390.h (FRAME_REGNO_P, FRAME_REG_P): New macros.
35294169689Skan	(HARD_REGNO_MODE_OK): Use FRAME_REGNO_P.
35295169689Skan	* config/s390/s390.md ("*la_cc_64", "*la_cc_31", splitters): Remove.
35296169689Skan	Add peepholes to transform ADD to LOAD ADDRESS.
35297169689Skan
35298169689Skan2003-01-22  Richard Earnshaw  <rearnsha@arm.com>
35299169689Skan
35300169689Skan	* arm.c (arm_address_register_rtx_p): New function.
35301169689Skan	(arm_legitimate_address_p): New function.
35302169689Skan	(arm_legitimate_index_p): New function.
35303169689Skan	(legitimize_pic_address): Use arm_legitimate_index_p.
35304169689Skan	* arm-protos.h (arm_legtimate_address_p): Add prototype.
35305169689Skan	* arm.h (ARM_GO_IF_LEGITIMATE_INDEX): Delete.
35306169689Skan	(ARM_GO_IF_LEGITIMATE_ADDRESS): Call arm_legitimate_address_p.
35307169689Skan
35308169689Skan2003-01-22  Hartmut Penner  <hpenner@de.ibm.com>
35309169689Skan
35310169689Skan	* config/s390/s390.md (floatdfdi2): Insn has type 'itof'.
35311169689Skan	* config/s390/2064.md (define_bypass): Correct 'Load' and
35312169689Skan	'Load-address' bypass values.
35313169689Skan
35314169689Skan2003-01-22  Andreas Schwab  <schwab@suse.de>
35315169689Skan
35316169689Skan	* config/ia64/t-ia64 (insn-attrtab.o-warn): Define as -Wno-error.
35317169689Skan
35318169689Skan2003-01-21  Zack Weinberg  <zack@codesourcery.com>
35319169689Skan
35320169689Skan	* genautomata.c (output_internal_insn_latency_func,
35321169689Skan	output_print_reservation_func): Short circuit when there is no
35322169689Skan	automaton to generate code for.
35323169689Skan
35324169689Skan2003-01-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
35325169689Skan
35326169689Skan	* Makefile.in (ssa-ccp.o): Depend on coretypes.h $(TM_H).
35327169689Skan	(df.o): Delete duplicate dependency on coretypes.h $(TM_H).
35328169689Skan
35329169689Skan2003-01-21  Geoffrey Keating  <geoffk@apple.com>
35330169689Skan
35331169689Skan	* config/rs6000/rs6000.md: Remove warning.
35332169689Skan	(builtin_setjmp_receiver): Likewise.
35333169689Skan	* config/darwin.c (update_stubs): Slightly improve terrible hack
35334169689Skan	with identifiers.  Add comment pointing out problems with it.
35335169689Skan	(update_non_lazy_ptrs): Likewise.
35336169689Skan
35337169689Skan2003-01-21  Richard Henderson  <rth@redhat.com>
35338169689Skan
35339169689Skan	* dwarf2out.c (lookup_filename): Fix printf format warning.
35340169689Skan	* system.h (fread_unlocked, fwrite_unlocked): Undef.
35341169689Skan
35342169689Skan	* fixinc/Makefile.in (FL_LIST): Add $($@-warn) hook.
35343169689Skan	(fixincl.o-warn, gnu-regex.o-warn): New.
35344169689Skan	* fixinc/fixfixes.c (FIX_PROC_HEAD): Mark parameters unused.
35345169689Skan	* fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Likewise.
35346169689Skan	* fixinc/fixincl.c (process): Fix printf format warning.
35347169689Skan
35348169689Skan2003-01-21  Ulrich Weigand  <uweigand@de.ibm.com>
35349169689Skan
35350169689Skan	* dwarf2out (output_file_names): Don't crash if called
35351169689Skan	with empty file_table.
35352169689Skan
35353169689Skan2003-01-21  Zack Weinberg  <zack@codesourcery.com>
35354169689Skan
35355169689Skan	* genautomata.c (output_internal_insn_latency_func): Add
35356169689Skan	missing break statement to generated code.
35357169689Skan
35358169689Skan2003-01-21  Roger Sayle  <roger@eyesopen.com>
35359169689Skan
35360169689Skan	* stmt.c (same_case_target_p): New function to determine whether
35361169689Skan	two case labels branch to the same target.  Split out from...
35362169689Skan	(group_case_nodes): ... here.  Use same_case_target_p instead.
35363169689Skan	(strip_default_case_nodes): Remove explicit case nodes
35364169689Skan	that branch to the default destination.
35365169689Skan	(expand_end_case_type): Call strip_default_case_nodes after
35366169689Skan	group_case_nodes, to simplify the case-list before we count it.
35367169689Skan	Only generate table_label RTX when actually needed.  Try to share
35368169689Skan	thiscase->exit_label and thiscase->data.case_stmt.default_label
35369169689Skan	when a switch has no explicit default case.  Simplify test for
35370169689Skan	constant index.
35371169689Skan
35372169689Skan2003-01-21  Kazu Hirata  <kazu@cs.umass.edu>
35373169689Skan
35374169689Skan	* config/h8300/h8300.md (*negsf2_h8300): Use \\t instead of
35375169689Skan	\t.
35376169689Skan	(*negsf2_h8300hs): Likewise.
35377169689Skan	(*addsi3_lshiftrt_16_zexthi): Likewise.
35378169689Skan	(*iorhi3_lshiftrt_8): Likewise.
35379169689Skan
35380169689Skan2003-01-21  Ulrich Weigand  <uweigand@de.ibm.com>
35381169689Skan
35382169689Skan	* dwarf2out.c (fde_table_in_use): Mark GTY.
35383169689Skan	(dwarf2out_cfi_label_num): New variable, marked GTY.
35384169689Skan	(dwarf2out_cfi_label): Use it instead of static label_num.
35385169689Skan	* emit-rtl.c (label_num): Mark GTY.
35386169689Skan
35387169689Skan2003-01-21  Kazu Hirata  <kazu@cs.umass.edu>
35388169689Skan
35389169689Skan	* config/h8300/h8300.c (output_plussi): Support H8/300.
35390169689Skan	(compute_plussi_length): Likewise.
35391169689Skan	(compute_plussi_cc): Likewise.
35392169689Skan	* config/h8300/h8300.md (addsi_h8300): Use output_plussi to
35393169689Skan	output assembly instructions.
35394169689Skan
35395169689Skan2003-01-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
35396169689Skan
35397169689Skan	* calls.c (fix_unsafe_tree): Prototype.
35398169689Skan
35399169689Skan	* Makefile.in (GCC_WARN_CFLAGS): Add $(WERROR) $($@-warn)
35400169689Skan	(gtype-desc.o-warn, c-decl.o-warn, varasm.o-warn, gcc.o-warn,
35401169689Skan	insn-conditions.o-warn, out_object_file, gengtype-yacc.o-warn,
35402169689Skan	c-parse.o-warn): Add -Wno-error.
35403169689Skan	(STAGE2_FLAGS_TO_PASS): Add WERROR="@WERROR@".
35404169689Skan
35405169689Skan	* configure.in (--enable-werror): Add new flag.
35406169689Skan	* doc/install.texi (--enable-werror): Document.
35407169689Skan	* configure: Regenerate.
35408169689Skan
35409169689Skan	* objc/Make-lang.in (objc/objc-parse.o-warn): Add -Wno-error.
35410169689Skan
35411169689Skan2003-01-21  Andreas Schwab  <schwab@suse.de>
35412169689Skan
35413169689Skan	* genautomata.c (output_internal_insn_latency_func): Fix missing
35414169689Skan	close paren in output.
35415169689Skan
35416169689Skan2003-01-21  Zack Weinberg  <zack@codesourcery.com>
35417169689Skan
35418169689Skan	* genautomata.c: Space savings in generated code:
35419169689Skan	(output_dfa_insn_code_func): Split out the table-enlargement
35420169689Skan	path to an out-of-line static function, dfa_insn_code_enlarge.
35421169689Skan	(output_internal_insn_latency_func): Use a lookup table for the
35422169689Skan	default latencies.
35423169689Skan	(output_print_reservation_func): Use a lookup table for the
35424169689Skan	strings.
35425169689Skan
35426169689Skan2003-01-21  Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>
35427169689Skan
35428169689Skan	PR opt/7507
35429169689Skan	* calls.c (fix_unsafe_tree): Split out from ...
35430169689Skan	(expand_call): ... here.  Use it on the function address too.
35431169689Skan
35432169689Skan2003-01-20  Richard Henderson  <rth@redhat.com>
35433169689Skan
35434169689Skan	* expr.h (default_must_pass_in_stack): Move decl outside ifdef.
35435169689Skan
35436169689Skan2003-01-20  Richard Henderson  <rth@redhat.com>
35437169689Skan
35438169689Skan	PR opt/7154
35439169689Skan	* stmt.c (expand_asm_operands): Validize memory operands.
35440169689Skan
35441169689Skan2003-01-20  Richard Henderson  <rth@redhat.com>
35442169689Skan
35443169689Skan	PR opt/8848
35444169689Skan	* ifcvt.c (noce_process_if_block): Correct arguments to
35445169689Skan	modified_between_p for no-else-block case.
35446169689Skan
35447169689Skan2003-01-20  Kazu Hirata  <kazu@cs.umass.edu>
35448169689Skan
35449169689Skan	* config/h8300/h8300.c (const_costs): Remove a warning.
35450169689Skan	(output_plussi): Likewise.
35451169689Skan	(compute_plussi_length): Likewise.
35452169689Skan	(compute_plussi_cc): Likewise.
35453169689Skan
35454169689Skan2003-01-20  Kazu Hirata  <kazu@cs.umass.edu>
35455169689Skan
35456169689Skan	* config/h8300/h8300.md (addsi_h8300): Remove the last
35457169689Skan	alternative.
35458169689Skan
35459169689Skan2003-01-20  Kazu Hirata  <kazu@cs.umass.edu>
35460169689Skan
35461169689Skan	* config/h8300/h8300.c (get_shift_alg): Remove redundant code.
35462169689Skan
35463169689Skan2003-01-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
35464169689Skan
35465169689Skan	* system.h (__NO_STRING_INLINES): Define.
35466169689Skan
35467169689Skan2003-01-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
35468169689Skan
35469169689Skan	* ifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x
35470169689Skan	is not a scalar int mode.
35471169689Skan
35472169689Skan2003-01-20  Roger Sayle  <roger@eyesopen.com>
35473169689Skan
35474169689Skan	* cse.c (cse_insn): Avoid RTL sharing when updating the RETVAL
35475169689Skan	insn's notes following a substitution inside a libcall.
35476169689Skan
35477169689Skan2003-01-20  Zack Weinberg  <zack@codesourcery.com>
35478169689Skan
35479169689Skan	* configure.in: Check for system-provided 'uchar' type.
35480169689Skan	* configure, config.in: Regenerate.
35481169689Skan	* cpphash.h: Only typedef 'uchar' if the system doesn't.
35482169689Skan
35483169689Skan2003-01-20  Richard Henderson  <rth@redhat.com>
35484169689Skan
35485169689Skan	* expr.h (MUST_PASS_IN_STACK): Move implementation...
35486169689Skan	* calls.c (default_must_pass_in_stack): ... here.
35487169689Skan
35488169689Skan2003-01-20  Vladimir Makarov  <vmakarov@redhat.com>
35489169689Skan
35490169689Skan	* genattrtab.h (INSN_ALTS_FUNC_NAME): Move it from genautomata.c.
35491169689Skan
35492169689Skan	* genautomata.c (INSN_ALTS_FUNC_NAME): Move it into genattrtab.h.
35493169689Skan
35494169689Skan	* genattr.c (main): Output default definition of AUTOMATON_ALTS.
35495169689Skan	Wrap up definition of `insn_alts'.
35496169689Skan
35497169689Skan	* genattrtab.c (main): Wrap up `insn_alts'.
35498169689Skan
35499169689Skan2003-01-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
35500169689Skan
35501169689Skan	* collect2.c (ldgetname): Check HAVE_DECL_LDGETNAME before
35502169689Skan	prototyping.
35503169689Skan	* configure.in: Check for <ldfcn.h> and ldgetname() prototype.
35504169689Skan
35505169689Skan	* config.in, configure: Regenerate.
35506169689Skan
35507169689Skan2003-01-20  Nick Clifton  <nickc@redhat.com>
35508169689Skan
35509169689Skan	* config/arm/arm.md (sibcall_epilogue): Add an
35510169689Skan	UNSPEC_PROLOGUE_USE to prevent the link register from being
35511169689Skan	considered dead.
35512169689Skan
35513169689Skan2003-01-20  Jan Hubicka  <jh@suse.cz>
35514169689Skan
35515169689Skan	* i386.md (SSE cmov splitter):  Handle memory operand in operand 5.
35516169689Skan
35517169689Skan2003-01-20  Andreas Schwab  <schwab@suse.de>
35518169689Skan
35519169689Skan	* system.h: Don't declare strsignal if the decl test hasn't been
35520169689Skan	run yet.
35521169689Skan
35522169689Skan2003-01-20  Kazu Hirata  <kazu@cs.umass.edu>
35523169689Skan
35524169689Skan	* config/h8300/h8300.c (notice_update_cc): Don't assume that
35525169689Skan	recog_data.operands[0] is always associated with cc0.
35526169689Skan
35527169689Skan2003-01-19  David Edelsohn  <edelsohn@gnu.org>
35528169689Skan
35529169689Skan	* collect2.c (ldgetname): Expand declaration to prototype.
35530169689Skan	* read-rtl.c (atoll): Add prototype.
35531169689Skan	* system.h (strsignal): Also declare if no declaration found.
35532169689Skan
35533169689Skan2003-01-19  Alexandre Oliva  <aoliva@redhat.com>
35534169689Skan
35535169689Skan	* config.gcc (mips64*-*-linux*): Added.
35536169689Skan	* config/mips/linux64.h, config/mips/t-linux64: New file.
35537169689Skan	* config/mips/iris6.h (MIPS_TFMODE_FORMAT): Define.
35538169689Skan	* config/mips/mips.c (override_options): Use it.
35539169689Skan	* config/mips/mips.h (TARGET_SWITCHES): Added...
35540169689Skan	(SUBTARGET_TARGET_SWITCHES): New, empty by default.
35541169689Skan	* Makefile.in (SPECS): New.
35542169689Skan	(STAGESTUFF, specs, mostlyclean, install-common): Use it.
35543169689Skan	* gcc.c (process_command): Move self-spec processing past spec
35544169689Skan	file loading.
35545169689Skan	* doc/tm.texi (DRIVER_SELF_SPECS): Document the change.
35546169689Skan	* doc/fragments.texi (MULTILIB_EXTRA_OPTS): Document need for
35547169689Skan	CRTSTUFF_T_CFLAGS.
35548169689Skan	(SPECS): Document.
35549169689Skan	* doc/invoke.texi (-mabi-fake-default): Document.
35550169689Skan
35551169689Skan2003-01-19  Stephane Carrez  <stcarrez@nerim.fr>
35552169689Skan
35553169689Skan	* config/m68hc11/m68hc11.c (stack_push_word, stack_pop_word,
35554169689Skan	z_reg, z_reg_qi): Declare static and GTY().
35555169689Skan	(da_reg): Remove.
35556169689Skan	(create_regs_rtx): Don't create da_reg.
35557169689Skan	("gt-m68hc11.h"): Include for GTY roots.
35558169689Skan	* config/m68hc11/m68hc11.h (ix_reg, iy_reg, d_reg): Declare extern
35559169689Skan	and GTY() here.
35560169689Skan	(m68hc11_compare_op0, m68hc11_compare_op1): Likewise.
35561169689Skan	(m68hc11_soft_tmp_reg): Likewise.
35562169689Skan	* config/m68hc11/m68hc11-protos.h: Remove above declarations.
35563169689Skan
35564169689Skan2003-01-18  Kazu Hirata  <kazu@cs.umass.edu>
35565169689Skan
35566169689Skan	* basic-block.h: Fix comment formatting.
35567169689Skan	* calls.c: Likewise.
35568169689Skan	* combine.c: Likewise.
35569169689Skan	* convert.c: Likewise.
35570169689Skan	* gcov.c: Likewise.
35571169689Skan	* haifa-sched.c: Likewise.
35572169689Skan	* libgcc2.c: Likewise.
35573169689Skan	* loop.c: Likewise.
35574169689Skan	* profile.c: Likewise.
35575169689Skan	* system.h: Likewise.
35576169689Skan
35577169689Skan2003-01-18  Roger Sayle  <roger@eyesopen.com>
35578169689Skan
35579169689Skan	* config/pa/pa.md (muldi3): Avoid invalid sharing of SUBREG RTXs.
35580169689Skan
35581169689Skan2003-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
35582169689Skan
35583169689Skan	* ra-build.c (undef_to_size_word): Avoid `switch' warning.
35584169689Skan
35585169689Skan2003-01-17  Dale Johannesen  <dalej@apple.com>
35586169689Skan
35587169689Skan	* config/rs6000/rs6000.md (*floatsidf2_internal):  Add earlyclobbers.
35588169689Skan	  (*floatunssidf2_internal):  Ditto.
35589169689Skan
35590169689Skan2003-01-17  Kazu Hirata  <kazu@cs.umass.edu>
35591169689Skan
35592169689Skan	* alias.c: Fix comment typos.
35593169689Skan	* basic-block.h: Likewise.
35594169689Skan	* c-common.c: Likewise.
35595169689Skan	* c-common.h: Likewise.
35596169689Skan	* c-decl.c: Likewise.
35597169689Skan	* c-opts.c: Likewise.
35598169689Skan	* c-pragma.c: Likewise.
35599169689Skan	* c-pretty-print.h: Likewise.
35600169689Skan	* cfg.c: Likewise.
35601169689Skan	* cfganal.c: Likewise.
35602169689Skan	* cfgbuild.c: Likewise.
35603169689Skan	* cfgcleanup.c: Likewise.
35604169689Skan	* cfglayout.c: Likewise.
35605169689Skan	* cfgrtl.c: Likewise.
35606169689Skan	* convert.c: Likewise.
35607169689Skan	* cpphash.h: Likewise.
35608169689Skan	* cpplex.c: Likewise.
35609169689Skan	* cpplib.h: Likewise.
35610169689Skan	* df.h: Likewise.
35611169689Skan	* diagnostic.c: Likewise.
35612169689Skan	* diagnostic.h: Likewise.
35613169689Skan	* dwarf2.h: Likewise.
35614169689Skan
35615169689Skan2003-01-17  Stan Shebs  <shebs@apple.com>
35616169689Skan
35617169689Skan	* config/darwin-protos.h: Forward-declare struct cpp_reader.
35618169689Skan
35619169689Skan2003-01-17  Douglas B Rupp  <rupp@gnat.com>
35620169689Skan
35621169689Skan	* config/alpha/alpha.c (alpha_need_linkage): Fix obvious
35622169689Skan	mistake in last checkin.
35623169689Skan
35624169689Skan2003-01-17  Kazu Hirata  <kazu@cs.umass.edu>
35625169689Skan
35626169689Skan	* et-forest.c: Fix comment typos.
35627169689Skan	* et-forest.h: Likewise.
35628169689Skan	* except.c: Likewise.
35629169689Skan	* expr.c: Likewise.
35630169689Skan	* flags.h: Likewise.
35631169689Skan	* flow.c: Likewise.
35632169689Skan	* gcc.c: Likewise.
35633169689Skan	* gcse.c: Likewise.
35634169689Skan	* genattrtab.c: Likewise.
35635169689Skan	* genautomata.c: Likewise.
35636169689Skan	* gengtype.c: Likewise.
35637169689Skan	* genrecog.c: Likewise.
35638169689Skan	* global.c: Likewise.
35639169689Skan	* gthr-rtems.h: Likewise.
35640169689Skan
35641169689Skan2003-01-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
35642169689Skan
35643169689Skan	* i386.c (x86_function_profiler): Fix format specifier.
35644169689Skan
35645169689Skan2003-01-17  Richard Henderson  <rth@redhat.com>
35646169689Skan
35647169689Skan	* gengtype.c (walk_type): Allow paramN_is.
35648169689Skan
35649169689Skan2003-01-17  Nick Clifton  <nickc@redhat.com>
35650169689Skan
35651169689Skan	* config/i960/t-960bare (i960-c.o): Add missing newline escape.
35652169689Skan
35653169689Skan2003-01-16  Richard Henderson  <rth@redhat.com>
35654169689Skan
35655169689Skan	* config/alpha/linux-elf.h (LIB_SPEC): Adjust inter-option spacing.
35656169689Skan
35657169689Skan2003-01-16  Richard Henderson  <rth@redhat.com>
35658169689Skan
35659169689Skan	* config/alpha/alpha.c (alpha_sr_alias_set): Mark GTY.
35660169689Skan	(alpha_next_sequence_number): Likewise.
35661169689Skan	(alpha_this_literal_sequence_number): Likewise.
35662169689Skan	(alpha_this_gpdisp_sequence_number): Likewise.
35663169689Skan	(struct alpha_funcs, alpha_funcs_num): Likewise.
35664169689Skan	(struct alpha_links): Fix branch merge error.
35665169689Skan	(alpha_need_linkage, alpha_use_linkage): Use GC for alpha_funcs.
35666169689Skan
35667169689Skan2003-01-17  Alexandre Oliva  <aoliva@redhat.com>
35668169689Skan
35669169689Skan	* config/mips/mips.h: Don't use #elif.  Reported by Kaveh
35670169689Skan	R. Ghazi.
35671169689Skan
35672169689Skan2003-01-16  Kazu Hirata  <kazu@cs.umass.edu>
35673169689Skan
35674169689Skan	* ifcvt.c: Fix comment typos.
35675169689Skan	* lcm.c: Likewise.
35676169689Skan	* libgcc2.c: Likewise.
35677169689Skan	* local-alloc.c: Likewise.
35678169689Skan	* loop.c: Likewise.
35679169689Skan	* predict.c: Likewise.
35680169689Skan	* ra-build.c: Likewise.
35681169689Skan	* ra.c: Likewise.
35682169689Skan	* ra-colorize.c: Likewise.
35683169689Skan	* ra.h: Likewise.
35684169689Skan	* ra-rewrite.c: Likewise.
35685169689Skan	* regmove.c: Likewise.
35686169689Skan	* reload.h: Likewise.
35687169689Skan	* rtlanal.c: Likewise.
35688169689Skan	* toplev.c: Likewise.
35689169689Skan	* tree.h: Likewise.
35690169689Skan	* unwind-dw2-fde-glibc.c: Likewise.
35691169689Skan	* vmsdbgout.c: Likewise.
35692169689Skan
35693169689Skan2003-01-16  Richard Henderson  <rth@redhat.com>
35694169689Skan
35695169689Skan	* dwarf2out.c (struct file_table): Remove.
35696169689Skan	(FILE_TABLE_INCREMENT): Remove.
35697169689Skan	(file_table): Make a varray; mark for GC.  Update all users.
35698169689Skan	(file_table_last_lookup_index): Extract from struct file_table.
35699169689Skan	(output_file_names): Fix unsigned compare warnings.
35700169689Skan	(add_name_attribute): Remove inline marker.
35701169689Skan	(add_comp_dir_attribute): Split out from gen_compile_unit_die.
35702169689Skan	(lookup_filename): Don't manage size of file_table.
35703169689Skan	(init_file_table): Allocate file_table with GC.
35704169689Skan	(dwarf2out_init): Don't record main_input_filename here.
35705169689Skan	(dwarf2out_finish): Do it here instead.
35706169689Skan
35707169689Skan2003-01-16  Bruce Korb  <bkorb@gnu.org>
35708169689Skan
35709169689Skan	* gcc/fixinc/inclhack.def(limits_ifndef): QNX needs a bypass, too.
35710169689Skan
35711169689Skan2003-01-16  Kaz Kojima  <kkojima@gcc.gnu.org>
35712169689Skan
35713169689Skan	* config/sh/sh.c (sh_initialize_trampoline): Emit rotrdi3_mextr
35714169689Skan	instead of rotldi3_mextr.
35715169689Skan
35716169689Skan2003-01-16  Vladimir Makarov  <vmakarov@redhat.com>
35717169689Skan
35718169689Skan	* haifa-sched.c (move_insn): Restore moving all schedule group.
35719169689Skan	(set_priorities): Restore taking SCHED_GROUP_P into account.
35720169689Skan
35721169689Skan	* sched-deps.c (add_dependence): Restore processing the last group
35722169689Skan	insn.
35723169689Skan	(remove_dependence, group_leader): Restore the functions.
35724169689Skan	(set_sched_group_p): Restore adding dependencies from previous insn
35725169689Skan	in the group.
35726169689Skan	(compute_forward_dependences): Restore usage of group_leader.
35727169689Skan
35728169689Skan	* sched-ebb.c (init_ready_list): Restore taking SCHED_GROUP_P into
35729169689Skan	account.
35730169689Skan
35731169689Skan	* sched-rgn.c (init_ready_list): Restore taking SCHED_GROUP_P into
35732169689Skan	account.
35733169689Skan	(can_schedule_ready_p): Ditto.
35734169689Skan	(add_branch_dependences): Restore skipping over the group insns.
35735169689Skan
35736169689Skan2003-01-16  Stephane Carrez  <stcarrez@nerim.fr>
35737169689Skan
35738169689Skan	* config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix handling
35739169689Skan	68HC12 pre/post inc/dec side effects.
35740169689Skan
35741169689Skan2003-01-16  Stephane Carrez  <stcarrez@nerim.fr>
35742169689Skan
35743169689Skan	* config/m68hc11/m68hc11.h (MASK_M6812): Define.
35744169689Skan
35745169689Skan2003-01-16  J"orn Rennecke <amylaar@onetel.net.uk>
35746169689Skan
35747169689Skan	* sh.md (mshflo_w_x): Fix description of operation.
35748169689Skan
35749169689Skan2003-01-16  Zack Weinberg  <zack@codesourcery.com>
35750169689Skan
35751169689Skan	* config/rs6000/rs6000.h: Mention Altivec registers in
35752169689Skan	commentary.  Fix typo.
35753169689Skan
35754169689Skan2003-01-16  David Edelsohn  <edelsohn@gnu.org>
35755169689Skan
35756169689Skan	* config/rs6000/rs6000.md (movti_string): Remove clobber.
35757169689Skan	* config/rs6000/rs6000.c (rs6000_emit_move, TImode): Explicitly
35758169689Skan	generate PARALLEL with clobber for TARGET_POWER.
35759169689Skan
35760169689Skan2003-01-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
35761169689Skan
35762169689Skan	* ra-colorize.c (colorize_one_web): Initialize variable.
35763169689Skan	* regmove.c (fixup_match_1): Likewise.
35764169689Skan	* reload1.c (reload_as_needed): Likewise.
35765169689Skan	* sdbout.c (SET_KNOWN_TYPE_TAG): Add cast.
35766169689Skan
35767169689Skan2003-01-16  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
35768169689Skan
35769169689Skan	* cfgloop.c (flow_loops_find): Fix handling of abnormal edges.
35770169689Skan
35771169689Skan2003-01-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
35772169689Skan
35773169689Skan	* dbxout.c (lastfile, cwd): Fix `unused' warning.
35774169689Skan	* dwarf2out.c (fde_table_in_use, current_funcdef_fde,
35775169689Skan	dw_cfi_oprnd1_desc, dw_cfi_oprnd2_desc, next_die_offset,
35776169689Skan	is_main_source, file_table, decl_die_table_in_use,
35777169689Skan	abbrev_die_table_in_use, line_info_table_in_use,
35778169689Skan	separate_line_info_table_in_use, pubname_table_in_use,
35779169689Skan	arange_table_in_use, ranges_table_in_use,
35780169689Skan	current_function_has_inlines): Likewise.
35781169689Skan	* flow.c (life_analysis): Likewise.
35782169689Skan	* genemit.c (gen_insn): Likewise.
35783169689Skan	* protoize.c (cplus_suffix): Likewise.
35784169689Skan
35785169689Skan	* arm.c (ROUND_UP_WORD): Renamed from ROUND_UP.
35786169689Skan	* arm.h (ROUND_UP_WORD): Likewise.
35787169689Skan
35788169689Skan	* arm.h (CONDITIONAL_REGISTER_USAGE): Avoid signed/unsigned
35789169689Skan	warning.
35790169689Skan	* emit-rtl.c (gen_rtx_REG, set_mem_attributes_minus_bitpos,
35791169689Skan	init_emit_once): Likewise.
35792169689Skan	* flow.c (mark_regs_live_at_end, calculate_global_regs_live):
35793169689Skan	Likewise.
35794169689Skan	* function.c (assign_stack_temp_for_type): Likewise.
35795169689Skan	* loop.c (loop_invariant_p): Likewise.
35796169689Skan	* recog.c (push_operand): Likewise.
35797169689Skan	* regclass.c (init_reg_sets_1): Likewise.
35798169689Skan	* reload.c (update_auto_inc_notes): Likewise.
35799169689Skan	* reload1.c (reload_as_needed, emit_input_reload_insns): Likewise.
35800169689Skan	* stmt.c (expand_asm_operands): Likewise.
35801169689Skan	* stor-layout.c (start_record_layout): Likewise.
35802169689Skan
35803169689Skan2003-01-16  Herman A.J. ten Brugge <hermantenbrugge@home.nl>
35804169689Skan
35805169689Skan	* config/c4x/c4x.md (epilogue): Correct last patch.
35806169689Skan
35807169689Skan2003-01-15  Richard Henderson  <rth@redhat.com>
35808169689Skan
35809169689Skan	* config/alpha/alpha.c (find_lo_sum_using_gp): Rename from find_lo_sum;
35810169689Skan	also check that GP is being used.
35811169689Skan	(alpha_find_lo_sum_using_gp): New.
35812169689Skan	(alpha_does_function_need_gp): Use get_attr_usegp.
35813169689Skan	* config/alpha/alpha-protos.h: Update.
35814169689Skan	* config/alpha/alpha.md (attr usegp): New.  Annotate patterns
35815169689Skan	as needed.
35816169689Skan
35817169689Skan2003-01-15  Roger Sayle  <roger@eyesopen.com>
35818169689Skan
35819169689Skan	* gcse.c (one_cprop_pass): Change function arguments to take both
35820169689Skan	cprop_jumps and bypass_jumps flags instead of just alter_jumps.
35821169689Skan	(gcse_main): Update calls to one_cprop_pass, disabling bypassing.
35822169689Skan	(bypass_jumps): New function to perform separate jump bypassing pass.
35823169689Skan	* rtl.h (bypass_jumps): Add function prototype.
35824169689Skan	* timevar.def (TV_BYPASS): New timing variable.
35825169689Skan	* toplev.c (enum dump_file_index): Add new entry DFI_bypass.
35826169689Skan	(dump_file): New entry for the bypass RTL dump file.
35827169689Skan	(rest_of_compilation): Insert new jump bypassing optimization
35828169689Skan	pass after loop.
35829169689Skan	* doc/passes.texi: Document new pass.
35830169689Skan
35831169689Skan2003-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
35832169689Skan
35833169689Skan	* som.h (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY, MAKE_DECL_ONE_ONLY,
35834169689Skan	ASM_WEAKEN_LABEL, GTHREAD_USE_WEAK): Define.
35835169689Skan	* pa.h (TARGET_SOM_SDEF): Define.
35836169689Skan	* pa-hpux11.h (TARGET_SOM_SDEF): Define.
35837169689Skan
35838169689Skan2003-01-16  Stephane Carrez  <stcarrez@nerim.fr>
35839169689Skan
35840169689Skan	* config/m68hc11/m68hc11.c (expand_prologue): Use push/pop to
35841169689Skan	allocate 4-bytes of locals on 68HC11.
35842169689Skan	(expand_epilogue): Likewise.
35843169689Skan	(m68hc11_memory_move_cost): Increase cost of HI/QI soft registers.
35844169689Skan
35845169689Skan2003-01-15  Stephane Carrez  <stcarrez@nerim.fr>
35846169689Skan
35847169689Skan	* config/m68hc11/m68hc11.h (ASM_SPEC): Handle -m68hcs12; Pass -mshort
35848169689Skan	and -mshort-double to the assembler to specify the ABI.
35849169689Skan	(LINK_SPEC): Likewise.
35850169689Skan	(CPP_SPEC): Pass HCS12 specific define.
35851169689Skan	(MASK_M68S12): New define.
35852169689Skan	(TARGET_M68S12): Likewise.
35853169689Skan	(TARGET_SWITCHES): New options -m68hcs12 and -m68S12.
35854169689Skan	(TARGET_VERSION): Update.
35855169689Skan	* config/m68hc11/m68hc12.h (CPP_SPEC): Pass HCS12 specific define.
35856169689Skan	(LINK_SPEC): Update.
35857169689Skan	(ASM_SPEC): Update.
35858169689Skan	* config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Update.
35859169689Skan	* doc/invoke.texi (M68hc1x Options): Document -m68hcs12.
35860169689Skan
35861169689Skan2003-01-15  Stephane Carrez  <stcarrez@nerim.fr>
35862169689Skan
35863169689Skan	* config/m68hc11/m68hc11.md ("return"): Use emit_jump_insn to emit
35864169689Skan	the return code.
35865169689Skan
35866169689Skan2003-01-15  Josef Zlomek  <zlomekj@suse.cz>
35867169689Skan
35868169689Skan	* cfganal.c (set_edge_can_fallthru_flag): Clear the EDGE_CAN_FALLTHRU
35869169689Skan	flag before setting it.
35870169689Skan
35871169689Skan2003-01-15  Roger Sayle  <roger@eyesopen.com>
35872169689Skan
35873169689Skan	* c-semantics.c (genrtl_while_stmt):  Improve initial RTL generation
35874169689Skan	when loop condition is known true, i.e.  "while (1) { ... }".
35875169689Skan	(genrtl_for_stmt): Similarly for "for" statements.
35876169689Skan
35877169689Skan2003-01-15  Roger Sayle  <roger@eyesopen.com>
35878169689Skan
35879169689Skan	* real.c (real_sqrt): Return a bool result indicating whether
35880169689Skan	a floating point exception or trap should be raised.
35881169689Skan	* real.h (real_sqrt): Update function prototype.
35882169689Skan	* builtins.c (fold_builtin): Only fold non-trapping square
35883169689Skan	roots unless we're ignoring errno and trapping math.
35884169689Skan
35885169689Skan2003-01-15  John David Anglin  <dave.anglin@nrc.gc.ca>
35886169689Skan
35887169689Skan	* expr.h (emit_conditional_add): Add PARAMS to declaration.
35888169689Skan	* gengtype-lex.l (malloc, realloc): Move defines after include of
35889169689Skan	system.h.  Remove duplicate include of system.h.
35890169689Skan
35891169689Skan2003-01-15  Roger Sayle  <roger@eyesopen.com>
35892169689Skan
35893169689Skan	PR middle-end/9009
35894169689Skan	* optabs.c (expand_unop):  When manipulating the FP sign bit
35895169689Skan	using integer operations, account for targets with different
35896169689Skan	integer and FP word orders.
35897169689Skan	(expand_abs): Likewise.
35898169689Skan
35899169689Skan2003-01-15  David Edelsohn  <edelsohn@gnu.org>
35900169689Skan
35901169689Skan	* config/rs6000/rs6000.c (rs6000_gen_section_name): Do not include
35902169689Skan	file extension in section name.
35903169689Skan
35904169689Skan2003-01-15  Richard Earnshaw  <rearnsha@arm.com>
35905169689Skan
35906169689Skan	* flow.c (find_auto_inc): Also try to generate a PRE_MODIFY with
35907169689Skan	constant offset.
35908169689Skan
35909169689Skan2003-01-15  Richard Earnshaw  <rearnsha@arm.com>
35910169689Skan
35911169689Skan	* arm.h (HAVE_PRE_MODIFY_DISP, HAVE_PRE_MODIFY_REG): Define.
35912169689Skan	(HAVE_POST_MODIFY_DISP, HAVE_POST_MODIFY_REG): Define.
35913169689Skan	(ARM_GO_IF_LEGITIMATE_ADDRESS): Handle pre/post-modify addresses.
35914169689Skan	(ARM_PRINT_OPERAND_ADDRESS): Likewise.
35915169689Skan
35916169689Skan2003-01-15  Jan Hubicka  <jh@suse.cz>
35917169689Skan
35918169689Skan	PR f/9258
35919169689Skan	* global.c (struct allocno): Add no_stack_reg.
35920169689Skan	(global_conflicts): Set no_stack_reg.
35921169689Skan	(find_reg): Use it.
35922169689Skan
35923169689Skan	* convert.c (convert_to_real): Fold - and abs only when profitable.
35924169689Skan	* fold-const.c (fold): Fold truncates in - and abs.
35925169689Skan
35926169689Skan2003-01-15  Josef Zlomek  <zlomekj@suse.cz>
35927169689Skan
35928169689Skan	Segher Boessenkool  <segher@koffie.nl>
35929169689Skan
35930169689Skan	* predict.c (real_inv_br_prob_base): New variable.
35931169689Skan	(propagate_freq): Use multiply by reciprocal instead of
35932169689Skan	division.  Don't divide by 1.0 at all.
35933169689Skan	(estimate_bb_frequencies): Similar.
35934169689Skan
35935169689Skan2003-01-15  Alexandre Oliva  <aoliva@redhat.com>
35936169689Skan
35937169689Skan	* configure.in (libgcc_visibility): Force disabled on IRIX 6 too.
35938169689Skan	* configure: Rebuilt.
35939169689Skan
35940169689Skan2003-01-15  Hartmut Penner  <hpenner@de.ibm.com>
35941169689Skan
35942169689Skan	* config/s390/s390.c (s390_safe_attr_type): New function.
35943169689Skan	(s390_use_dfa_pipeline_interface): New function, return true for z900.
35944169689Skan	(s390_issue_rate): New function.
35945169689Skan	(s390_agen_dep_p): New function.
35946169689Skan	(addr_generation_dependency_p): Use 's390_safe_attr_type'.
35947169689Skan	(s390_adjust_cost): Return 'cost' if new DFA is used.
35948169689Skan	(s390_adjust_priority): Delete function.
35949169689Skan	* config/s390/s390-protos.h: (s390_agen_dep_p): New prototype.
35950169689Skan	* config/s390/s390.md (atype attribute): Attribute 'atype' default
35951169689Skan	determined by 'op_type'.
35952169689Skan	(type attribute): Added more type attributes.
35953169689Skan	* config/s390/2064.md: New DFA description for z900 pipeline.
35954169689Skan
35955169689Skan2003-01-15  Alexandre Oliva  <aoliva@redhat.com>
35956169689Skan
35957169689Skan	* config/i386/i386.c (ix86_expand_vector_move): Validize constant
35958169689Skan	forced to memory.  Fixes PR bootstrap/9036.
35959169689Skan
35960169689Skan	* config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Define so as
35961169689Skan	to set $gp before the call.
35962169689Skan
35963169689Skan2003-01-14  Richard Henderson  <rth@redhat.com>
35964169689Skan
35965169689Skan	* config/alpha/alpha.c (alpha_expand_mov): Use correct mode
35966169689Skan	for force_const_mem.
35967169689Skan
35968169689Skan2003-01-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
35969169689Skan
35970169689Skan	* genattr.c (main): Rearrange output to avoid prototype warning.
35971169689Skan	* genautomata.c (transform_3): Fix ambiguous-else warning.
35972169689Skan	* local-alloc.c (requires_inout): Add parentheses around
35973169689Skan	assignment used as truth-value.
35974169689Skan	* timevar.c: Move system includes above local includes.  Include
35975169689Skan	toplev.h
35976169689Skan	* Makefile.in (timevar.o): Depend on toplev.h.
35977169689Skan
35978169689Skan2003-01-14  Denis Chertykov  <denisc@overta.ru>
35979169689Skan
35980169689Skan	* config/ip2k/ip2k.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
35981169689Skan	(VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
35982169689Skan
35983169689Skan	* config/ip2k/ip2k.c (ip2k_attribute_table): New table of
35984169689Skan	attributes.
35985169689Skan	(TARGET_ATTRIBUTE_TABLE): New macro.
35986169689Skan	(valid_machine_type_attribute): Remove.
35987169689Skan	(valid_machine_decl_attribute): Remove.
35988169689Skan	(ip2k_handle_progmem_attribute): New function.
35989169689Skan	(ip2k_handle_fndecl_attribute): New function.
35990169689Skan
35991169689Skan2003-01-10  Andrew Haley  <aph@redhat.com>
35992169689Skan
35993169689Skan	* config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Rename
35994169689Skan	registers to be in correct order.  Add rip.
35995169689Skan
35996169689Skan2003-01-14  Kazu Hirata  <kazu@cs.umass.edu>
35997169689Skan
35998169689Skan	* config/h8300/h8300.md (*andsi3_lshiftrt_9_sb): New.
35999169689Skan	(*iorsi3_and_lshiftrt_9_sb): Likewise.
36000169689Skan
36001169689Skan2003-01-14  Jan Hubicka  <jh@suse.cz>
36002169689Skan
36003169689Skan	* convert.c (strip_float_extensions):  Look for narrowest type handling
36004169689Skan	FP constants.
36005169689Skan
36006169689Skan	* fold-const.c (fold):  Fold (double)float1 CMP (double)float2 into
36007169689Skan	float1 CMP float2.
36008169689Skan	* convert.c (strip_float_extensions): Make global.
36009169689Skan	* tree.h (strip_float_extensions): Declare.
36010169689Skan
36011169689Skan2003-01-14  Gabriel Dos Reis  <gdr@integrable-solutions.net>
36012169689Skan
36013169689Skan	* timevar.def: define TV_NAME_LOOKUP.
36014169689Skan	* timevar.c (timevar_pop): Be verbose when aborting.
36015169689Skan
36016169689Skan2003-01-13  Andreas Schwab  <schwab@suse.de>
36017169689Skan
36018169689Skan	* Makefile.in ($(parsedir)/gengtype-lex.c): Don't change to
36019169689Skan	$(parsedir), just move the temporary file at the end.
36020169689Skan	($(parsedir)/gengtype-yacc.c): Likewise.
36021169689Skan
36022169689Skan2003-01-13  Alexandre Oliva  <aoliva@redhat.com>
36023169689Skan
36024169689Skan	* aclocal.m4 (gcc_AC_PROG_GNAT): Don't try to prepend
36025169689Skan	${ac_tool_prefix} to ADAC or CC.  Protect them from word
36026169689Skan	splitting.
36027169689Skan	* configure: Rebuilt.
36028169689Skan
36029169689Skan2003-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
36030169689Skan
36031169689Skan	* config/sparc/gmon-sol2.c (moncontrol, monstartup, _mcleanup,
36032169689Skan	internal_mcount): Don't use PARAMS.
36033169689Skan	(monstartup, _mcleanup, internal_mcount, moncontrol): Convert to
36034169689Skan	ISO C style.
36035169689Skan	(internal_mcount): Use __attribute__, not ATTRIBUTE_UNUSED.
36036169689Skan
36037169689Skan2003-01-13  Andreas Schwab  <schwab@suse.de>
36038169689Skan
36039169689Skan	* config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Output type
36040169689Skan	directive.
36041169689Skan
36042169689Skan2003-01-13  Kazu Hirata  <kazu@cs.umass.edu>
36043169689Skan
36044169689Skan	* config/h8300/h8300.md (*andsi3_lshift_n_sb): New.
36045169689Skan	(*iorsi3_and_lshiftrt_n_sb): Likewise.
36046169689Skan
36047169689Skan2003-01-12  Mark Mitchell  <mark@codesourcery.com>
36048169689Skan
36049169689Skan	PR c++/9264
36050169689Skan	* c-lex.c (c_lex): Set the token value to error_mark_node for
36051169689Skan	invalid numeric constants.
36052169689Skan
36053169689Skan2003-01-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
36054169689Skan
36055169689Skan	* c-pch.c (asm_file_startpos): Change to `long'.
36056169689Skan	(pch_init): Use ftell, not ftello.
36057169689Skan	(c_common_write_pch): Use ftell/fseek, not ftello/fseeko.
36058169689Skan	Use `long' instead of `off_t'.
36059169689Skan	(c_common_read_pch): Likewise.
36060169689Skan	* ggc-common.c (gt_pch_save): Use long/ftell instead of
36061169689Skan	off_t/ftello.
36062169689Skan
36063169689Skan2003-01-12  Alan Modra  <amodra@bigpond.net.au>
36064169689Skan
36065169689Skan	* expr.c (expand_expr <RDIV_EXPR>): Correct recursive call args.
36066169689Skan
36067169689Skan2003-01-11  Richard Earnshaw  (rearnsha@arm.com)
36068169689Skan
36069169689Skan	* arm-protos.h (struct cpp_reader): Add declaration.
36070169689Skan
36071169689Skan2003-01-11  Jan Hubicka  <jh@suse.cz>
36072169689Skan
36073169689Skan	PR target/9068
36074169689Skan	* i386.c (output_fp_compare): Fix typo.
36075169689Skan
36076169689Skan2003-01-10  David Edelsohn  <edelsohn@gnu.org>
36077169689Skan
36078169689Skan	* config/rs6000/rs6000.c (common_mode_defined): Mark for PCH.
36079169689Skan
36080169689Skan2003-01-10  Geoffrey Keating  <geoffk@apple.com>
36081169689Skan
36082169689Skan	* Makefile.in (parsedir): New variable.
36083169689Skan	(docobjdir): New variable.
36084169689Skan	(c-parse.o, c-parse.c, c-parse.y, gengtype-lex.o, gengtype-yacc.o,
36085169689Skan	gengtype-lex.c, gengtype-yacc.c): Use parsedir.
36086169689Skan	(info, cpp.info, gcc.info, gccint.info, gccinstall.info,
36087169689Skan	cppinternals.info, generated-manpages, gcov.1, cpp.1, gcc.1, gfdl.7,
36088169689Skan	gpl.7, fsf-funding.7, maintainer-clean, install-info, install-man):
36089169689Skan	Use docobjdir.
36090169689Skan	* objc/Make-lang.in (objc/objc-parse.c, objc/objc-parse.y,
36091169689Skan	objc.maintainer-clean): Use parsedir.
36092169689Skan
36093169689Skan	* varasm.c (struct constant_descriptor_rtx): Remove unused
36094169689Skan	`label' field.
36095169689Skan
36096169689Skan	* toplev.c (documented_lang_options): Document -Winvalid-pch.
36097169689Skan
36098169689Skan2003-01-10  Richard Henderson  <rth@redhat.com>
36099169689Skan
36100169689Skan	* config/alpha/alpha.h (NO_PROFILE_COUNTERS): Set.
36101169689Skan	(ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Kill.
36102169689Skan
36103169689Skan2003-01-10  Richard Henderson  <rth@redhat.com>
36104169689Skan
36105169689Skan	* combine.c (make_compound_operation): Use SCALAR_INT_MODE_P,
36106169689Skan	not INTEGRAL_MODE_P when widening extensions.
36107169689Skan
36108169689Skan2003-01-10  Richard Henderson  <rth@redhat.com>
36109169689Skan
36110169689Skan	* config/alpha/alpha.c (decl_has_samegp): True for !TREE_PUBLIC.
36111169689Skan
36112169689Skan2003-01-10  Geoffrey Keating  <geoffk@apple.com>
36113169689Skan
36114169689Skan	* ggc-page.c (ggc_collect): Avoid overflow computing
36115169689Skan	min_expand.
36116169689Skan
36117169689Skan	* Makefile.in (RANLIB_FOR_TARGET): Use RANLIB when native.
36118169689Skan	(RANLIB_TEST_FOR_TARGET): Delete.  Don't pass down to sub-makes.
36119169689Skan	Remove calls.
36120169689Skan	* mklibgcc.in: Remove uses of RANLIB_TEST_FOR_TARGET.
36121169689Skan
36122169689Skan2003-01-10  Jan Hubicka  <jh@suse.cz>
36123169689Skan
36124169689Skan	* ifcvt.c (noce_try_addcc): Do not call emit_conditional_add
36125169689Skan	with weird operands.
36126169689Skan
36127169689Skan2003-01-10  Dale Johannesen <dalej@apple.com>
36128169689Skan
36129169689Skan	* calls.c (load_register_parameters):  Add is_sibcall, sibcall_failure
36130169689Skan	parameters.  Call check_sibcall_argument_overlap if indicated.
36131169689Skan	(check_sibcall_argument_overlap):  Add mark_stored_args_map
36132169689Skan	parameter.  Don't mark parameter area as clobbered if not set.
36133169689Skan	(expand_call):	Adjust calls to above.
36134169689Skan
36135169689Skan2003-01-10 Kelley Cook <kelleycook@comcast.net>
36136169689Skan
36137169689Skan	* configure.in (linker read-only and read-write section mixing):
36138169689Skan	Squelch some assembler warnings.
36139169689Skan	* configure: Likewise.
36140169689Skan
36141169689Skan2003-01-10  Hartmut Penner  <hpenner@de.ibm.com>
36142169689Skan
36143169689Skan	* doc/invoke.texi: Document -mtune, delete -mcpu
36144169689Skan	option for S/390 and zSeries.
36145169689Skan	* config/s390/s390.c (s390_tune_string) New variable.
36146169689Skan	(s390_cpu_string) Delete variable.
36147169689Skan	(override_options): Use s390_tune_string instead of
36148169689Skan	s390_cpu_string.
36149169689Skan	* config/s390/s390.h: (TARGET_OPTIONS) '-mtune' instead of '-mcpu'.
36150169689Skan
36151169689Skan2003-01-10  Kazu Hirata  <kazu@cs.umass.edu>
36152169689Skan
36153169689Skan	* config/h8300/h8300.md (*iorsi3_ashift_31): New.
36154169689Skan
36155169689Skan2003-01-10  Josef Zlomek  <zlomekj@suse.cz>
36156169689Skan
36157169689Skan	* jump.c (next_nonnote_insn_in_loop): New function.
36158169689Skan	(copy_loop_headers): Use next_nonnote_insn_in_loop instead of
36159169689Skan	next_nonnote_insn.
36160169689Skan	(duplicate_loop_exit_test). Likewise.
36161169689Skan
36162169689Skan2003-01-09  Geoffrey Keating  <geoffk@apple.com>
36163169689Skan
36164169689Skan	Merge from pch-branch:
36165169689Skan
36166169689Skan	2003-01-06  Geoffrey Keating  <geoffk@apple.com>
36167169689Skan
36168169689Skan	* ggc-page.c (ggc_pch_read): Update the statistics after a PCH
36169169689Skan	load.
36170169689Skan
36171169689Skan	2002-12-24  Geoffrey Keating  <geoffk@apple.com>
36172169689Skan
36173169689Skan	* cpplib.c (count_registered_pragmas): New function.
36174169689Skan	(save_registered_pragmas): New function.
36175169689Skan	(_cpp_save_pragma_names): New function.
36176169689Skan	(restore_registered_pragmas): New function.
36177169689Skan	(_cpp_restore_pragma_names): New function.
36178169689Skan	* cpphash.h (_cpp_save_pragma_names): Prototype.
36179169689Skan	(_cpp_restore_pragma_names): Likewise.
36180169689Skan	* cpppch.c (struct save_macro_item): Split from save_macro_data.
36181169689Skan	(struct save_macro_data): New field 'saved_pragmas'.
36182169689Skan	(save_macros): Update for changes to struct save_macro_data.
36183169689Skan	(cpp_prepare_state): Call _cpp_save_pragma_names, update
36184169689Skan	for changes to struct save_macro_data.
36185169689Skan	(cpp_read_state): Call _cpp_restore_pragma_names, update
36186169689Skan	for changes to struct save_macro_data.
36187169689Skan
36188169689Skan	* cpppch.c (cpp_read_state): Restore the hashtable references
36189169689Skan	in the cpp_reader.
36190169689Skan
36191169689Skan	* tree.h (built_in_decls): Mark for PCH.
36192169689Skan
36193169689Skan	* dbxout.c (lastfile): Don't mark for PCH.
36194169689Skan
36195169689Skan	* ggc.h: Document PCH calls into memory managers.
36196169689Skan
36197169689Skan	2002-12-18  Geoffrey Keating  <geoffk@apple.com>
36198169689Skan
36199169689Skan	* doc/invoke.texi (Precompiled Headers): Document the
36200169689Skan	directory form of PCH.
36201169689Skan	* cppfiles.c (validate_pch): New function.
36202169689Skan	(open_file_pch): Search suitably-named directories for PCH files.
36203169689Skan
36204169689Skan	2002-12-14  Geoffrey Keating  <geoffk@apple.com>
36205169689Skan
36206169689Skan	* doc/gty.texi (GTY Options): Document chain_next, chain_prev,
36207169689Skan	reorder options.
36208169689Skan	(Type Information): Mention that the information is also
36209169689Skan	used to implement PCH.
36210169689Skan	* doc/passes.texi (Passes): Improve documentation of
36211169689Skan	language-specific files.
36212169689Skan
36213169689Skan	2002-12-11  Geoffrey Keating  <geoffk@apple.com>
36214169689Skan
36215169689Skan	* gengtype.c (struct write_types_data): Add reorder_note_routine field.
36216169689Skan	(struct walk_type_data): Add reorder_fn field.
36217169689Skan	(walk_type): Process 'reorder' option.
36218169689Skan	(write_types_process_field): Reorder parameters to gt_pch_note_object,
36219169689Skan	call reorder_note_routine.
36220169689Skan	(write_func_for_structure): Reorder parameters to gt_pch_note_object.
36221169689Skan	(ggc_wtd): Update for change to struct write_types_data.
36222169689Skan	(pch_wtd): Likewise.
36223169689Skan	* ggc.h (gt_pch_note_object): Reorder parameters.
36224169689Skan	(gt_handle_reorder): New definition.
36225169689Skan	(gt_pch_note_reorder): New prototype.
36226169689Skan	* ggc-common.c (struct ptr_data): Add reorder_fn.
36227169689Skan	(gt_pch_note_object): Reorder parameters.
36228169689Skan	(gt_pch_note_reorder): New.
36229169689Skan	(gt_pch_save): Call reorder_fn.
36230169689Skan	* stringpool.c (gt_pch_n_S): Update for change to gt_pch_note_object.
36231169689Skan
36232169689Skan	* dbxout.c (cwd): Don't mark for PCH.
36233169689Skan
36234169689Skan	2002-12-09  Geoffrey Keating  <geoffk@apple.com>
36235169689Skan
36236169689Skan	* gengtype.c (finish_root_table): Fix some warnings.
36237169689Skan	(write_root): Handle TYPE_STRING.
36238169689Skan	* ggc.h (gt_ggc_m_S): Add prototype.
36239169689Skan	* stringpool.c (gt_ggc_m_S): New function.
36240169689Skan
36241169689Skan	2002-11-30  Geoffrey Keating  <geoffk@apple.com>
36242169689Skan
36243169689Skan	* dwarf2out.c (dw2_string_counter): New.
36244169689Skan	(AT_string_form): Use it.
36245169689Skan	(same_dw_val_p): Update for removal of hashtable.h hash tables.
36246169689Skan
36247169689Skan	2002-11-22  Geoffrey Keating  <geoffk@apple.com>
36248169689Skan
36249169689Skan	* dbxout.c: Include gt-dbxout.h.
36250169689Skan	(lastfile): Mark for PCH/GGC.
36251169689Skan	(cwd): Likewise.
36252169689Skan	(struct typeinfo): Likewise.
36253169689Skan	(typevec): Likewise.
36254169689Skan	(typevec_len): Likewise.
36255169689Skan	(next_type_number): Likewise.
36256169689Skan	(struct dbx_file): Likewise.
36257169689Skan	(current_file): Likewise.
36258169689Skan	(next_file_number): Likewise.
36259169689Skan	(dbxout_init): Allocate typevec, struct dbx_file with GGC.
36260169689Skan	(dbxout_start_source_file): Allocate struct dbx_file with GGC.
36261169689Skan	(dbxout_end_source_file): Don't free struct dbx_file.
36262169689Skan	(dbxout_type): Use GGC to allocate typevec.
36263169689Skan	* Makefile.in (dbxout.o): Depend on gt-dbxout.h, $(GGC_H).
36264169689Skan	(GTFILES): Add dbxout.c.
36265169689Skan	(gt-dbxout.h): New rule.
36266169689Skan
36267169689Skan	* Makefile.in (c-pch.o): Add debug.h as dependency.
36268169689Skan	* c-pch.c: Include debug.h.
36269169689Skan	(pch_init): Call start_source_file to keep nesting right.
36270169689Skan	(c_common_read_pch): Add orig_name parameter.  Call
36271169689Skan	start_source_file debug hook.  Call end_source_file debug hook.
36272169689Skan	* c-common.h (c_common_read_pch): Update prototype.
36273169689Skan	* cpplib.h (struct cpp_callbacks): Add fourth field to read_pch
36274169689Skan	callback.
36275169689Skan	* cppfiles.c (struct include_file): Add new field `header_name'.
36276169689Skan	(find_or_create_entry): Default it to `name'.
36277169689Skan	(open_file_pch): Set it to the original header file searched for.
36278169689Skan	(stack_include_file): Don't stack an empty buffer, just handle
36279169689Skan	PCH files immediately.  Pass header_name field to read_pch callback.
36280169689Skan
36281169689Skan	2002-11-19  Geoffrey Keating  <geoffk@apple.com>
36282169689Skan
36283169689Skan	* function.c (funcdef_no): Mark to be saved in a PCH.
36284169689Skan
36285169689Skan	2002-11-15  Geoffrey Keating  <geoffk@apple.com>
36286169689Skan
36287169689Skan	* ggc-page.c (ggc_pch_read): Remove unused 'bmap_size'.
36288169689Skan
36289169689Skan	* cpppch.c (cpp_read_state): Correct size reallocated for 'defn'.
36290169689Skan
36291169689Skan	2002-11-14  Geoffrey Keating  <geoffk@apple.com>
36292169689Skan
36293169689Skan	* optabs.h (code_to_optab): Add GTY marker.
36294169689Skan
36295169689Skan	2002-11-13  Geoffrey Keating  <geoffk@apple.com>
36296169689Skan
36297169689Skan	* Makefile.in (GTFILES): Add cpplib.h.
36298169689Skan	* c-common.h (struct c_common_identifier): Don't skip 'node' field.
36299169689Skan	* c-decl.c (build_compound_literal): Don't use var_labelno.
36300169689Skan	* cpplib.h (struct cpp_hashnode): Use gengtype to mark.
36301169689Skan	* dwarf2asm.c (dw2_force_const_mem): Don't use const_labelno.
36302169689Skan	* varasm.c (const_labelno): Use gengtype to mark.
36303169689Skan	(var_labelno): Likewise.
36304169689Skan	(in_section): Likewise.
36305169689Skan	(in_named_name): Likewise.
36306169689Skan	(struct in_named_entry): Likewise.
36307169689Skan	(in_named_htab): Likewise.
36308169689Skan	(set_named_section_flags): Use GGC to allocate struct in_named_entry.
36309169689Skan	(init_varasm_once): Use GGC to allocate in_named_htab.
36310169689Skan	* config/darwin.c (current_pic_label_num): Mark for PCH.
36311169689Skan
36312169689Skan	2002-11-11  Geoffrey Keating  <geoffk@apple.com>
36313169689Skan
36314169689Skan	* ggc-simple.c (init_ggc_pch): New stub procedure.
36315169689Skan	(ggc_pch_count_object): Likewise.
36316169689Skan	(ggc_pch_total_size): Likewise.
36317169689Skan	(ggc_pch_this_base): Likewise.
36318169689Skan	(ggc_pch_alloc_object): Likewise.
36319169689Skan	(ggc_pch_prepare_write): Likewise.
36320169689Skan	(ggc_pch_write_object): Likewise
36321169689Skan	(ggc_pch_finish): Likewise.
36322169689Skan	(ggc_pch_read): Likewise.
36323169689Skan
36324169689Skan	2002-11-08  Geoffrey Keating  <geoffk@apple.com>
36325169689Skan
36326169689Skan	* c-pch.c (c_common_write_pch): Write the macro definitions after
36327169689Skan	the GCed data.
36328169689Skan	(c_common_read_pch): Call cpp_prepare_state.  Restore the macro
36329169689Skan	definitions after the GCed data.
36330169689Skan	* cpplib.c (save_macros): New.
36331169689Skan	(reset_ht): New.
36332169689Skan	(cpp_write_pch_deps): Split out of cpp_write_pch.
36333169689Skan	(cpp_write_pch_state): Split out of cpp_write_pch.
36334169689Skan	(cpp_write_pch): Delete.
36335169689Skan	(struct save_macro_data): Delete.
36336169689Skan	(cpp_prepare_state): New.
36337169689Skan	(cpp_read_state): Erase and restore initial macro definitions.
36338169689Skan	* cpplib.h (struct save_macro_data): Forward-declare.
36339169689Skan	(cpp_write_pch_deps): Prototype.
36340169689Skan	(cpp_write_pch_state): Prototype.
36341169689Skan	(cpp_write_pch): Delete prototype.
36342169689Skan	(cpp_prepare_state): Prototype.
36343169689Skan	(cpp_read_state): Add fourth argument.
36344169689Skan
36345169689Skan	2002-11-04  Geoffrey Keating  <geoffk@apple.com>
36346169689Skan
36347169689Skan	* gengtype.c (adjust_field_rtx_def): Don't use skip on valid fields.
36348169689Skan	(write_array): Remove warning.
36349169689Skan
36350169689Skan	* gengtype.c (contains_scalar_p): New.
36351169689Skan	(finish_root_table): Add the table to all languages, even if it's
36352169689Skan	empty.
36353169689Skan	(write_roots): Output gt_pch_scalar_rtab.
36354169689Skan	* ggc-common.c (gt_pch_save): Write out scalars.
36355169689Skan	(gt_pch_restore): Read scalars back.
36356169689Skan
36357169689Skan	* ggc-page.c (OBJECTS_IN_PAGE): New macro.
36358169689Skan	(struct page_entry): Delete pch_page field.
36359169689Skan	(ggc_recalculate_in_use_p): Use OBJECTS_IN_PAGE.
36360169689Skan	(clear_marks): Likewise.
36361169689Skan	(sweep_pages): Likewise.
36362169689Skan	(poison_pages): Likewise.
36363169689Skan	(ggc_print_statistics): Likewise.
36364169689Skan	(ggc_pch_read): Don't free objects read from a PCH.
36365169689Skan	Properly set up in_use_p and page_tails.
36366169689Skan
36367169689Skan	2002-10-25  Geoffrey Keating  <geoffk@apple.com>
36368169689Skan
36369169689Skan	* gengtype.c (struct write_types_data): New.
36370169689Skan	(struct walk_type_data): Make `cookie' const; add extra
36371169689Skan	prev_val item; add `orig_s' field.
36372169689Skan	(walk_type): Update prev_val[3].
36373169689Skan	(write_types_process_field): New.
36374169689Skan	(write_func_for_structure): Take write_types_data structure.
36375169689Skan	(write_types): New.
36376169689Skan	(ggc_wtd): New.
36377169689Skan	(pch_wtd): New.
36378169689Skan	(write_types_local_process_field): New.
36379169689Skan	(gc_mark_process_field): Delete.
36380169689Skan	(write_local_func_for_structure): New.
36381169689Skan	(gc_mark_func_name): Delete.
36382169689Skan	(write_gc_types): Delete.
36383169689Skan	(write_local): New.
36384169689Skan	(finish_root_table): Don't include 'ggc_' in PFX.
36385169689Skan	(write_root): Rename from write_root.  Fill pchw field of structures.
36386169689Skan	(write_array): New.
36387169689Skan	(write_roots): Rename from write_gc_roots.  Split out to write_array.
36388169689Skan	Update to changes to other routines.  Write gt_pch_cache_rtab table.
36389169689Skan	(main): Write PCH walking routines.
36390169689Skan	* ggc-common.c: Include toplev.h, sys/mman.h.
36391169689Skan	(ggc_mark_roots): For cache hashtables, also mark the hash table
36392169689Skan	and the array of entries.
36393169689Skan	(saving_htab): New.
36394169689Skan	(struct ptr_data): New.
36395169689Skan	(POINTER_HASH): New.
36396169689Skan	(gt_pch_note_object): New.
36397169689Skan	(saving_htab_hash): New.
36398169689Skan	(saving_htab_eq): New.
36399169689Skan	(struct traversal_state): New.
36400169689Skan	(call_count): New.
36401169689Skan	(call_alloc): New.
36402169689Skan	(compare_ptr_data): New.
36403169689Skan	(relocate_ptrs): New.
36404169689Skan	(write_pch_globals): New.
36405169689Skan	(struct mmap_info): New.
36406169689Skan	(gt_pch_save): New.
36407169689Skan	(gt_pch_restore): New.
36408169689Skan	* ggc-page.c (ROUND_UP_VALUE): New.
36409169689Skan	(ROUND_UP): New.
36410169689Skan	(struct page_entry): Add field `pch_page'.
36411169689Skan	(init_ggc): Use ROUND_UP.
36412169689Skan	(struct ggc_pch_data): Declare.
36413169689Skan	(init_ggc_pch): New.
36414169689Skan	(ggc_pch_count_object): New.
36415169689Skan	(ggc_pch_total_size): New.
36416169689Skan	(ggc_pch_this_base): New.
36417169689Skan	(ggc_pch_alloc_object): New.
36418169689Skan	(ggc_pch_prepare_write): New.
36419169689Skan	(ggc_pch_write_object): New.
36420169689Skan	(ggc_pch_finish): New.
36421169689Skan	(ggc_pch_read): New.
36422169689Skan	* ggc.h (gt_pointer_operator): New.
36423169689Skan	(gt_note_pointers): New.
36424169689Skan	(gt_pch_note_object): New prototype.
36425169689Skan	(gt_pointer_walker): New.
36426169689Skan	(struct ggc_root_tab): Use gt_pointer_walker, add `pchw' field.
36427169689Skan	(LAST_GGC_ROOT_TAB): Update.
36428169689Skan	(gt_pch_cache_rtab): Declare.
36429169689Skan	(gt_pch_scalar_rtab): Declare.
36430169689Skan	(struct ggc_cache_tab): Use gt_pointer_walker, add `pchw' field.
36431169689Skan	(LAST_GGC_CACHE_TAB): Update.
36432169689Skan	(gt_pch_save_stringpool): Declare.
36433169689Skan	(gt_pch_restore_stringpool): Declare.
36434169689Skan	(gt_pch_p_S): Declare.
36435169689Skan	(gt_pch_n_S): Declare.
36436169689Skan	(struct ggc_pch_data): Forward-declare.
36437169689Skan	(init_ggc_pch): Declare.
36438169689Skan	(ggc_pch_count_object): Declare.
36439169689Skan	(ggc_pch_total_size): Declare.
36440169689Skan	(ggc_pch_this_base): Declare.
36441169689Skan	(ggc_pch_alloc_object): Declare.
36442169689Skan	(ggc_pch_prepare_write): Declare.
36443169689Skan	(ggc_pch_write_object): Declare.
36444169689Skan	(ggc_pch_finish): Declare.
36445169689Skan	(ggc_pch_read): Declare.
36446169689Skan	(gt_pch_save): Declare.
36447169689Skan	(gt_pch_restore): Declare.
36448169689Skan	* fold-const.c (size_int_type_wide): Allocate size_htab using GGC.
36449169689Skan	* emit-rtl.c (init_emit_once): Allocate const_int_htab,
36450169689Skan	const_double_htab, mem_attrs_htab using GGC.
36451169689Skan	* c-pch.c: Include ggc.h.
36452169689Skan	(pch_init): Allow reading PCH file back.
36453169689Skan	(c_common_write_pch): Call gt_pch_save.
36454169689Skan	(c_common_read_pch): Call gt_pch_restore.
36455169689Skan	* c-parse.in (init_reswords): Delete now-untrue comment.
36456169689Skan	Allocate ridpointers using GGC.
36457169689Skan	* c-objc-common.c (c_objc_common_finish_file): Write PCH before
36458169689Skan	calling expand_deferred_fns.
36459169689Skan	* c-common.h (ridpointers): Mark for GTY machinery.
36460169689Skan	* Makefile.in (stringpool.o): Update dependencies.
36461169689Skan	(c-pch.o): Update dependencies.
36462169689Skan	(ggc-common.o): Update dependencies.
36463169689Skan	* stringpool.c: Include gt-stringpool.h.
36464169689Skan	(gt_pch_p_S): New.
36465169689Skan	(gt_pch_n_S): New.
36466169689Skan	(struct string_pool_data): New.
36467169689Skan	(spd): New.
36468169689Skan	(gt_pch_save_stringpool): New.
36469169689Skan	(gt_pch_restore_stringpool): New.
36470169689Skan	* tree.c (init_ttree): Make type_hash_table allocated using GC.
36471169689Skan
36472169689Skan	2002-10-04  Geoffrey Keating  <geoffk@apple.com>
36473169689Skan
36474169689Skan	* gengtype.c (adjust_field_rtx_def): Don't pass size_t to printf.
36475169689Skan	(output_mangled_typename): Don't pass size_t to printf.
36476169689Skan
36477169689Skan	* tree.h (union tree_type_symtab): Add tag to `address' field.
36478169689Skan	(union tree_decl_u2): Add tag to 'i' field.
36479169689Skan	* varasm.c (union rtx_const_un): Add tags to all fields.
36480169689Skan	* gengtype.c (struct walk_type_data): New.
36481169689Skan	(output_escaped_param): Take struct walk_type_data parameter.
36482169689Skan	(write_gc_structure_fields): Delete.
36483169689Skan	(walk_type): New.
36484169689Skan	(write_gc_marker_routine_for_structure): Delete.
36485169689Skan	(write_func_for_structure): New.
36486169689Skan	(gc_mark_process_field): New.
36487169689Skan	(gc_mark_func_name): New.
36488169689Skan	(gc_counter): Delete.
36489169689Skan	(write_gc_types): Use write_func_for_structure.
36490169689Skan	(write_gc_roots): Use walk_type.
36491169689Skan
36492169689Skan	2002-10-02  Geoffrey Keating  <geoffk@apple.com>
36493169689Skan
36494169689Skan	* ggc-common.c (ggc_mark_roots): Delete 'x'.
36495169689Skan	(ggc_splay_dont_free): Fix warning about unused 'x'.
36496169689Skan	(ggc_print_common_statistics): Remove warnings.
36497169689Skan
36498169689Skan	2002-10-01  Mike Stump  <mrs@apple.com>
36499169689Skan
36500169689Skan	* ggc-common.c (ggc_splay_alloc): Actually return the allocated area.
36501169689Skan	* gengtype.c (write_gc_structure_fields): Handle param[digit]_is.
36502169689Skan
36503169689Skan	2002-09-01  Geoffrey Keating  <geoffk@redhat.com>
36504169689Skan	    Catherine Moore  <clm@redhat.com>
36505169689Skan
36506169689Skan	* Makefile (c-pch.o): Update dependencies.
36507169689Skan	(LIBCPP_OBJS): Add cpppch.o.
36508169689Skan	(cpppch.o): New.
36509169689Skan	* c-common.c (c_common_init): Don't call pch_init here.
36510169689Skan	* c-common.h (c_common_read_pch): Update prototype.
36511169689Skan	* c-lex.c (c_common_parse_file): Call pch_init here.
36512169689Skan	* c-opts.c (COMMAND_LINE_OPTIONS): Add -Winvalid-pch, -fpch-deps.
36513169689Skan	(c_common_decode_option): Handle them.
36514169689Skan	* c-pch.c: Include c-pragma.h.
36515169689Skan	(save_asm_offset): Delete.
36516169689Skan	(pch_init): Move contents of save_asm_offset into here, call
36517169689Skan	cpp_save_state.
36518169689Skan	(c_common_write_pch): Call cpp_write_pch.
36519169689Skan	(c_common_valid_pch): Warn only when -Winvalid-pch.  Call
36520169689Skan	cpp_valid_state.
36521169689Skan	(c_common_read_pch): Add NAME parameter.  Call cpp_read_state.
36522169689Skan	* cppfiles.c (stack_include_file): Update for change to
36523169689Skan	parameters of cb.read_pch.
36524169689Skan	* cpphash.h (struct cpp_reader): Add `savedstate' field.
36525169689Skan	* cpplib.h (struct cpp_options): Add `warn_invalid_pch' and
36526169689Skan	`restore_pch_deps' fields.
36527169689Skan	(struct cpp_callbacks): Add NAME parameter to `read_pch'.
36528169689Skan	(cpp_save_state): Prototype.
36529169689Skan	(cpp_write_pch): Prototype.
36530169689Skan	(cpp_valid_state): Prototype.
36531169689Skan	(cpp_read_state): Prototype.
36532169689Skan	* cpppch.c: New file.
36533169689Skan	* flags.h (version_flag): Remove prototype.
36534169689Skan	* mkdeps.c (deps_save): New.
36535169689Skan	(deps_restore): New.
36536169689Skan	* mkdeps.h (deps_save): Prototype.
36537169689Skan	(deps_restore): Prototype.
36538169689Skan	* toplev.c (late_init_hook): Delete.
36539169689Skan	(version_flag): Make static again.
36540169689Skan	(compile_file): Don't call late_init_hook.
36541169689Skan	* toplev.h (late_init_hook): Delete.
36542169689Skan	* doc/cppopts.texi: Document -fpch-deps.
36543169689Skan	* doc/invoke.texi (Warning Options): Document -Winvalid-pch.
36544169689Skan
36545169689Skan	2002-08-27  Geoffrey Keating  <geoffk@redhat.com>
36546169689Skan
36547169689Skan	* c-pch.c (c_common_write_pch): Rename from c_write_pch, change
36548169689Skan	callers.
36549169689Skan	(c_common_valid_pch): Rename from c_valid_pch, change callers.
36550169689Skan	(c_common_read_pch): Rename from c_read_pch, change callers.
36551169689Skan
36552169689Skan	* c-opts.c (COMMAND_LINE_OPTIONS): Allow -output-pch= to have
36553169689Skan	a space between it and its argument.
36554169689Skan
36555169689Skan	2002-08-24  Geoffrey Keating  <geoffk@redhat.com>
36556169689Skan
36557169689Skan	* c-pch.c: New file.
36558169689Skan	* toplev.h (late_init_hook): Declare.
36559169689Skan	* toplev.c (late_init_hook): Define.
36560169689Skan	(version_flag): Make globally visible.
36561169689Skan	(compile_file): Call late_init_hook.
36562169689Skan	(init_asm_output): Make output file seekable.
36563169689Skan	* gcc.c (default_compilers): Update c-header rule.
36564169689Skan	* flags.h (version_flag): Declare.
36565169689Skan	* cpplib.h (struct cpp_callbacks): Add 'valid_pch' and 'read_pch'
36566169689Skan	fields.
36567169689Skan	* cppfiles.c (struct include_file): Add 'pch' field.
36568169689Skan	(INCLUDE_PCH_P): New.
36569169689Skan	(open_file_pch): New.
36570169689Skan	(stack_include_file): Handle PCH files specially.
36571169689Skan	(find_include_file): Call open_file_pch instead of open_file.
36572169689Skan	(_cpp_read_file): Explain why open_file is used instead of
36573169689Skan	open_file_pch.
36574169689Skan	* c-opts.c (c_common_decode_option): Correct OPT__output_pch case.
36575169689Skan	* c-objc-common.c (c_objc_common_finish_file): Call c_write_pch.
36576169689Skan	* c-lex.c (init_c_lex): Set valid_pch and read_pch fields
36577169689Skan	in cpplib callbacks.
36578169689Skan	* c-common.c (pch_file): Correct comment.
36579169689Skan	(allow_pch): Define.
36580169689Skan	(c_common_init): Call pch_init.
36581169689Skan	* c-common.h (allow_pch): Declare.
36582169689Skan	(pch_init): Declare.
36583169689Skan	(c_valid_pch): Declare.
36584169689Skan	(c_read_pch): Declare.
36585169689Skan	(c_write_pch): Declare.
36586169689Skan	* Makefile.in (c-pch.o): New.
36587169689Skan	(C_AND_OBJC_OBJS): Add c-pch.o.
36588169689Skan	* doc/invoke.texi (Precompiled Headers): Add index entries,
36589169689Skan	complete truncated paragraph.
36590169689Skan
36591169689Skan	2002-08-17  Geoffrey Keating  <geoffk@redhat.com>
36592169689Skan
36593169689Skan	* c-common.c: (pch_file): Define.
36594169689Skan	* c-common.h (pch_file): Declare.
36595169689Skan	* c-opts.c (COMMAND_LINE_OPTIONS): Add --output-pch=.
36596169689Skan	(missing_arg): Require --output-pch= to have an argument.
36597169689Skan	(c_common_decode_option): Handle --output-pch=.
36598169689Skan	* gcc.c: Document new %V.
36599169689Skan	(default_compilers): Handle compiling C header files.
36600169689Skan	(do_spec_1): Implement %V.
36601169689Skan	(main): Handle "gcc foo.h" without trying to run linker.
36602169689Skan	* doc/invoke.texi (Invoking GCC): Add new menu item for PCH.
36603169689Skan	(Overall Options): Document what the driver does with header files,
36604169689Skan	document new -x option possibilities.
36605169689Skan	(Invoking G++): More documentation for PCH.
36606169689Skan	(Precompiled Headers): New.
36607169689Skan
36608169689Skan	2002-08-09  Geoffrey Keating  <geoffk@redhat.com>
36609169689Skan
36610169689Skan	* ggc.h: Don't include varray.h.  Rearrange functions to be more
36611169689Skan	organized.
36612169689Skan	(ggc_add_root): Delete.
36613169689Skan	(ggc_mark_rtx): Delete.
36614169689Skan	(ggc_mark_tree): Delete.
36615169689Skan	(struct ggc_statistics): Remove contents.
36616169689Skan	* ggc-common.c: Remove unneeded includes.
36617169689Skan	(struct ggc_root): Delete.
36618169689Skan	(roots): Delete.
36619169689Skan	(ggc_add_root): Delete.
36620169689Skan	(ggc_mark_roots): Don't mark `roots'.  Call ggc_mark_stringpool.
36621169689Skan	(ggc_print_common_statistics): Remove most of the contents.
36622169689Skan	* Makefile.in (GGC_H): No longer uses varray.h.
36623169689Skan	(ggc-common.o): Update dependencies.
36624169689Skan	(c-parse.o): Add varray.h to dependencies.
36625169689Skan	(c-common.o): Add varray.h.
36626169689Skan	* stringpool.c (mark_ident): Use mangled name for tree marker routine.
36627169689Skan	(mark_ident_hash): Rename to ggc_mark_stringpool.
36628169689Skan	(init_stringpool): Don't use ggc_add_root.
36629169689Skan	* c-parse.in: Include varray.h.
36630169689Skan	* c-common.c: Include varray.h.
36631169689Skan	* objc/Make-lang.in (objc-act.o): Add varray.h.
36632169689Skan	* objc/objc-act.c: Include varray.h.
36633169689Skan
36634169689Skan	2002-07-25  Geoffrey Keating  <geoffk@redhat.com>
36635169689Skan
36636169689Skan	* dwarf2out.c (dw_cfi_oprnd2_desc): Fix ISO-only function definition.
36637169689Skan	(dw_cfi_oprnd1_desc): Likewise.
36638169689Skan
36639169689Skan	2002-07-17  Geoffrey Keating  <geoffk@redhat.com>
36640169689Skan
36641169689Skan	* config/alpha/alpha.c (struct alpha_links): Use gengtype to mark;
36642169689Skan	move out of ifdef.
36643169689Skan	(alpha_links): Use gengtype to mark; move out of ifdef.
36644169689Skan	(mark_alpha_links_node): Delete.
36645169689Skan	(mark_alpha_links): Delete.
36646169689Skan	(alpha_need_linkage): Use GGC to allocate splay tree, struct
36647169689Skan	alpha_links, strings.  Don't use ggc_add_root.
36648169689Skan	* ggc-common.c (ggc_splay_alloc): New.
36649169689Skan	(ggc_splay_dont_free): New.
36650169689Skan	* ggc.h (ggc_mark_rtx): Update for changed name mangling.
36651169689Skan	(ggc_mark_tree): Likewise.
36652169689Skan	(splay_tree_new_ggc): New.
36653169689Skan	(ggc_splay_alloc): Declare.
36654169689Skan	(ggc_splay_dont_free): Declare.
36655169689Skan	* dwarf2asm.c: Include gt-dwarf2asm.h.
36656169689Skan	(mark_indirect_pool_entry): Delete.
36657169689Skan	(mark_indirect_pool): Delete.
36658169689Skan	(indirect_pool): Use gengtype to mark.
36659169689Skan	(dw2_force_const_mem): Don't use ggc_add_root.
36660169689Skan	* Makefile.in (dwarf2asm.o): Depend on gt-dwarf2asm.h.
36661169689Skan	(GTFILES): Add SPLAY_TREE_H, dwarf2asm.c.
36662169689Skan	(gt-dwarf2asm.h): Depend on s-gtype.
36663169689Skan
36664169689Skan	2002-07-08  Geoffrey Keating  <geoffk@redhat.com>
36665169689Skan
36666169689Skan	* tree.h (union tree_type_symtab): Mark `die' field.
36667169689Skan	* Makefile.in (dwarf2out.o): Update dependencies.
36668169689Skan	* dwarf2out.c: Use GGC to allocate all structures.  Convert to htab_t
36669169689Skan	hash tables.
36670169689Skan	(dw_cfi_oprnd1_desc): New function.
36671169689Skan	(dw_cfi_oprnd2_desc): New function.
36672169689Skan	(indirect_string_alloc): Delete.
36673169689Skan	(debug_str_do_hash): New function.
36674169689Skan	(debug_str_eq): New function.
36675169689Skan	(mark_limbo_die_list): Delete.
36676169689Skan	(dwarf2out_init): Don't call ggc_add_root.
36677169689Skan
36678169689Skan2003-01-09  Vladimir Makarov  <vmakarov@redhat.com>
36679169689Skan
36680169689Skan	The following changes are merged from itanium-sched-branch:
36681169689Skan
36682169689Skan	2003-01-08  David Edelsohn  <edelsohn@gnu.org>
36683169689Skan
36684169689Skan	* doc/md.texi: Clarify assignment of units to automata description.
36685169689Skan
36686169689Skan	2003-01-08  Vladimir Makarov  <vmakarov@redhat.com>
36687169689Skan
36688169689Skan	* genautomata.c (unit_decl): Remove members
36689169689Skan	`the_same_automaton_unit' and
36690169689Skan	`the_same_automaton_message_reported_p'.
36691169689Skan	(process_unit_to_form_the_same_automaton_unit_lists,
36692169689Skan	form_the_same_automaton_unit_lists_from_regexp,
36693169689Skan	form_the_same_automaton_unit_lists, the_same_automaton_lists):
36694169689Skan	Remove them.
36695169689Skan	(annotation_message_reported_p): New global variable.
36696169689Skan	(check_unit_distribution_in_reserv,
36697169689Skan	check_regexp_units_distribution): New functions.
36698169689Skan	(check_unit_distributions_to_automata): Rewrite it.
36699169689Skan
36700169689Skan	2003-01-04  Vladimir Makarov  <vmakarov@redhat.com>
36701169689Skan
36702169689Skan	* genautomata.c (form_the_same_automaton_unit_lists_from_regexp):
36703169689Skan	Use continue instead of break if cycle is too big.
36704169689Skan
36705169689Skan	2002-12-20  Vladimir Makarov  <vmakarov@redhat.com>
36706169689Skan
36707169689Skan	* genautomata.c (check_unit_distributions_to_automata): Output at
36708169689Skan	most one message for a unit.
36709169689Skan	(process_unit_to_form_the_same_automaton_unit_lists): Check
36710169689Skan	automaton of units instead of units themself.
36711169689Skan
36712169689Skan	* doc/md.texi: Describe the constraint about assigning unit to
36713169689Skan	automata.
36714169689Skan
36715169689Skan	2002-12-20  Jan Hubicka  <jH@suse.cz>
36716169689Skan		    Vladimir Makarov  <vmakarov@redhat.com>
36717169689Skan
36718169689Skan	* genautomata.c (unit_decl): Add new members `min_occ_cycle_num'
36719169689Skan	and `in_set_p'.
36720169689Skan	(gen_cpu_unit): Initialize the new members.
36721169689Skan	(process_regexp_cycles): Calculate minimal finish cycle too.  Set
36722169689Skan	up `min_occ_cycle_num'.
36723169689Skan	(evaluate_max_reserv_cycles): Change the function call.
36724169689Skan	(CLEAR_BIT): New macro.
36725169689Skan	(states_union, state_shift): Use the mask.
36726169689Skan	(initiate_excl_sets, form_reserv_sets_list): Set up `in_set_p'.
36727169689Skan	(form_reservs_matter): New function.
36728169689Skan	(make_automaton): Call the function and use the mask.
36729169689Skan	(estimate_one_automaton_bound): Take `min_occ_cycle_num' into
36730169689Skan	account.
36731169689Skan
36732169689Skan	2002-12-17  Vladimir Makarov  <vmakarov@redhat.com>
36733169689Skan
36734169689Skan	* config/ia64/itanium2.md (lfetch): Change the insn reservation.
36735169689Skan
36736169689Skan	2002-12-17  Vladimir Makarov  <vmakarov@redhat.com>
36737169689Skan
36738169689Skan	* config/ia64/ia64.c (bundling): Try to insert 2 nops for M insn
36739169689Skan	for Itanium.
36740169689Skan
36741169689Skan	2002-12-17  Vladimir Makarov  <vmakarov@redhat.com>
36742169689Skan
36743169689Skan	* config/ia64/ia64.c (ia64_override_options): Make itanium2 as
36744169689Skan	default cpu.
36745169689Skan
36746169689Skan	2002-12-17  Vladimir Makarov  <vmakarov@redhat.com>
36747169689Skan		2002-10-31  Dale Johannesen <dalej@apple.com>
36748169689Skan
36749169689Skan	* haifa-sched.c (find_set_reg_weight): New function.
36750169689Skan	(find_insn_reg_weight): Use the new function.
36751169689Skan	(schedule_block): Do sorting ready queue always
36752169689Skan	after insn issue.
36753169689Skan
36754169689Skan	2002-11-27  Vladimir Makarov  <vmakarov@redhat.com>
36755169689Skan
36756169689Skan	* config/ia64/ia64.c (bundling): Use MFI template instead of MLX.
36757169689Skan
36758169689Skan	2002-11-19  Vladimir Makarov  <vmakarov@redhat.com>
36759169689Skan
36760169689Skan	* haifa-sched.c (choice_entry): New structure.
36761169689Skan	(choice_stack, cycle_issued_insns): New variables.
36762169689Skan	(max_issue): Rewrite it.
36763169689Skan	(choose_ready): Set up ready_try for unknown insns too.
36764169689Skan	(schedule_block): Allocate and free choice_stack.  Set up
36765169689Skan	and modify cycle_issued_insns.
36766169689Skan
36767169689Skan	* config/ia64/ia64.c (issue_nops_and_insn): Combine insn issue
36768169689Skan	with and without filling the bundle.
36769169689Skan	(bundling): Combine calls of issue_nops_and_insn.
36770169689Skan
36771169689Skan	2002-10-17  Vladimir Makarov  <vmakarov@redhat.com>
36772169689Skan
36773169689Skan	* config/ia64/itanium1.md: New file.
36774169689Skan
36775169689Skan	* config/ia64/itanium2.md: New file.
36776169689Skan
36777169689Skan	* config/ia64/ia64.md: Move DFA descriptions into the new files.
36778169689Skan	Remove the old pipeline description.
36779169689Skan
36780169689Skan	* config/ia64/ia64.c (ia64_override_options): Add aliases of
36781169689Skan	itanium processor names.
36782169689Skan
36783169689Skan	2002-10-16  Vladimir Makarov  <vmakarov@redhat.com>
36784169689Skan
36785169689Skan	* config/ia64/ia64.c (bundling): Print states for Itanium2 too.
36786169689Skan	(ia64_reorg):  Set up queried unit codes for Itanium2 too.
36787169689Skan
36788169689Skan	* config/ia64/ia64.md: Add descriptions for Itanium2.
36789169689Skan
36790169689Skan	2002-10-08  Vladimir Makarov  <vmakarov@redhat.com>
36791169689Skan
36792169689Skan	* config/ia64/ia64.h (processor_type): New enumeration.
36793169689Skan	(ia64_tune, ia64_tune_string): New external declarations.
36794169689Skan	(TARGET_OPTIONS): Add option `tune='.
36795169689Skan
36796169689Skan	* config/ia64/ia64.c (ia64_tune, ia64_tune_string): New global
36797169689Skan	variables.
36798169689Skan	(ia64_override_options): Set up `ia64_tune'.
36799169689Skan	(ia64_sched_reorder2): Set up `clocks' only for Itanium.
36800169689Skan	(ia64_dfa_new_cycle): Set up `add_cycles' only for Itanium.
36801169689Skan	(bundling): Add nops for MM-insns only for Itanium.
36802169689Skan	(ia64_reorg): Allocate and free `clocks' and `add_cycles' only for
36803169689Skan	Itanium.
36804169689Skan
36805169689Skan	* config/ia64/ia64.md (cpu): New attribute.
36806169689Skan	(DFA description): Enable it only for Itanium.
36807169689Skan
36808169689Skan	2002-10-08  Vladimir Makarov  <vmakarov@redhat.com>
36809169689Skan		    Richard Henderson  <rth@redhat.com>
36810169689Skan
36811169689Skan	* config/ia64/ia64.h (MASK_TUNE_STOP_BITS): Rename it to
36812169689Skan	MASK_EARLY_STOP_BITS.
36813169689Skan	(TARGET_TUNE_STOP_BITS): Rename it to TARGET_EARLY_STOP_BITS.
36814169689Skan	(TARGET_SWITCHES): Rename option `tune-stop-bits' to
36815169689Skan	`early-stop-bits'.
36816169689Skan
36817169689Skan	* config/ia64/ia64.c (ia64_dfa_new_cycle,
36818169689Skan	final_emit_insn_group_barriers): Use TARGET_EARLY_STOP_BITS
36819169689Skan	instead of TARGET_TUNE_STOP_BITS.
36820169689Skan
36821169689Skan	* doc/invoke.texi: Rename option `-mtune-stop-bits' to
36822169689Skan	`-mearly-stop-bits'.
36823169689Skan
36824169689Skan	* config/ia64/ia64.c (automata_option "v"): Comment it.
36825169689Skan
36826169689Skan	2002-10-07  Vladimir Makarov  <vmakarov@redhat.com>
36827169689Skan
36828169689Skan	* config/ia64/ia64.h (MASK_TUNE_STOP_BITS, TARGET_TUNE_STOP_BITS):
36829169689Skan	New macros.
36830169689Skan	(TARGET_SWITCHES): Add entries for the new option.
36831169689Skan
36832169689Skan	* config/ia64/ia64.c (dfa_stop_insn, last_scheduled_insn, rtx
36833169689Skan	dfa_pre_cycle_insn, ia64_nop): Don't make them as roots for GC.
36834169689Skan	(stops_p, stop_before_p, clocks_length, clocks, add_cycles): New
36835169689Skan	global variables.
36836169689Skan	(ia64_sched_reorder2): Set up `clocks'.
36837169689Skan	(ia64_variable_issue): Set up `stops_p' and reset `stop_before_p'.
36838169689Skan	(ia64_dfa_new_cycle): Set up add_cycle.  Permit sorting ready
36839169689Skan	queue when TARGET_TUNE_STOP_BITS.
36840169689Skan	(bundling): Insert additional nops for MM-insns.
36841169689Skan	(final_emit_insn_group_barriers): Add insertion of stop bits
36842169689Skan	according `stops_p'.
36843169689Skan	(ia64_reorg): Initiate the new varibales.
36844169689Skan
36845169689Skan	* doc/invoke.texi: Add description of option `-mtune-stop-bits'.
36846169689Skan
36847169689Skan	2002-10-02  Vladimir Makarov  <vmakarov@redhat.com>
36848169689Skan
36849169689Skan	* haifa-sched.c (schedule_block): Modify INSN_TICK of depended
36850169689Skan	insns at the end of block insn scheduling.
36851169689Skan
36852169689Skan	2002-09-30  Vladimir Makarov  <vmakarov@redhat.com>
36853169689Skan
36854169689Skan	* sched-deps.c (remove_dependence, group_leader): Remove it.
36855169689Skan	(add_dependence): Add dependence to group leader to.
36856169689Skan	(set_sched_group_p): Add dependence to the first insn of the
36857169689Skan	schedule group too.
36858169689Skan	(sched_analyze_insn): Make dependence to jump as anti-dependence.
36859169689Skan	Change true dependence by anti-dependence when
36860169689Skan	`reg_pending_barrier'.
36861169689Skan
36862169689Skan	* sched-rgn.c (init_ready_list, can_schedule_ready_p,
36863169689Skan	add_branch_dependences): Ignore schedule groups.
36864169689Skan
36865169689Skan	* sched-ebb.c (init_ready_list): Ditto.
36866169689Skan
36867169689Skan	* (move_insn, set_priorities): Ditto.
36868169689Skan
36869169689Skan	* config/ia64/ia64.c (ia64_sched_init): Check that schedule group
36870169689Skan	flag is clear after reload.
36871169689Skan	(adjust_cost): Change cost only for output dependencies.
36872169689Skan
36873169689Skan	* config/ia64/ia64.md: Add more insns into bypass for MM-insns.
36874169689Skan
36875169689Skan	2002-09-26  Vladimir Makarov  <vmakarov@redhat.com>
36876169689Skan
36877169689Skan	* Makefile.in (sched-ebb.o): Add `$(TARGET_H)' to the entry.
36878169689Skan
36879169689Skan	* target.h (gcc_target): Add member
36880169689Skan	`dependencies_evaluation_hook'.
36881169689Skan
36882169689Skan	* target-def.h (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK): New
36883169689Skan	macro.
36884169689Skan	(TARGET_SCHED): Add initiatialization of the new member.
36885169689Skan
36886169689Skan	* sched-ebb.c: Include `target.h'.
36887169689Skan	(schedule_ebb): Call `dependencies_evaluation_hook'.
36888169689Skan
36889169689Skan	* sched-rgn.c (schedule_region): Call
36890169689Skan	`dependencies_evaluation_hook'.
36891169689Skan
36892169689Skan	* config/ia64/ia64.c (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK):
36893169689Skan	New macro.
36894169689Skan	(ia64_dependencies_evaluation_hook): New function.
36895169689Skan
36896169689Skan	* doc/tm.texi (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK):
36897169689Skan	Describe the new hook.
36898169689Skan
36899169689Skan	2002-09-25  Vladimir Makarov  <vmakarov@redhat.com>
36900169689Skan
36901169689Skan	* target.h (gcc_target): Add members
36902169689Skan	`first_cycle_multipass_dfa_lookahead_guard' and `dfa_new_cycle'.
36903169689Skan
36904169689Skan	* target-def.h (TARGET_SCHED_DFA_NEW_CYCLE,
36905169689Skan	TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD): New
36906169689Skan	macros.
36907169689Skan	(TARGET_SCHED): Add initiatialization of the new members.
36908169689Skan
36909169689Skan	* haifa-sched.c (schedule_insn): Update last_clock_var for the 1st
36910169689Skan	insn scheduling too.
36911169689Skan	(choose_ready): Use `first_cycle_multipass_dfa_lookahead_guard' to
36912169689Skan	initialize `ready_try'.
36913169689Skan	(schedule_block): Use `dfa_new_cycle'.  Sort `ready' only unless
36914169689Skan	`dfa_new_cycle' says not to do it.
36915169689Skan
36916169689Skan	* config/ia64/ia64.md: Add DFA Itanium 1 description for insn
36917169689Skan	bundling.
36918169689Skan
36919169689Skan	* config/ia64/ia64.h (CPU_UNITS_QUERY): New macro.
36920169689Skan
36921169689Skan	* config/ia64/ia64.c: Include `hashtab.h'.
36922169689Skan	(ia64_first_cycle_multipass_dfa_lookahead_guard,
36923169689Skan	ia64_dfa_new_cycle, final_emit_insn_group_barriers,
36924169689Skan	ia64_dfa_sched_reorder, get_free_bundle_state, free_bundle_state,
36925169689Skan	initiate_bundle_states, finish_bundle_states, bundle_state_hash,
36926169689Skan	bundle_state_eq_p, insert_bundle_state,
36927169689Skan	initiate_bundle_state_table, finish_bundle_state_table,
36928169689Skan	try_issue_nops, try_issue_insn, issue_nops_and_insn, get_max_pos,
36929169689Skan	get_template, get_next_important_insn, bundling): New functions.
36930169689Skan	(ia64_internal_sched_reorder): Remove it.
36931169689Skan	(TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD,
36932169689Skan	TARGET_SCHED_DFA_NEW_CYCLE): New macros.
36933169689Skan	(ia64_safe_itanium_requires_unit0): Remove it.
36934169689Skan	(group_barrier_needed_p): Place group barrier right before a real
36935169689Skan	insn.
36936169689Skan	(bundle, ia64_packet, NR_PACKETS, type_names, packets, packets):
36937169689Skan	Remove them.
36938169689Skan	(bundle_name): New variable.
36939169689Skan	(_0mii_, _0mmi_, _0mfi_, _0mmf_, _0bbb_, _0mbb_, _0mib_, _0mmb_,
36940169689Skan	_0mfb_, _0mlx_, _1mii_, _1mmi_, _1mfi_, _1mmf_, _1bbb_, _1mbb_,
36941169689Skan	_1mib_, _1mmb_, _1mfb_, _1mlx_, pos_1, pos_2, pos_3, pos_4, pos_5,
36942169689Skan	pos_6, dfa_stop_insn, last_scheduled_insn, dfa_state_size,
36943169689Skan	temp_dfa_state, prev_cycle_state): New global variables.
36944169689Skan	(insn_matches_slot, maybe_rotate, finish_last_head,
36945169689Skan	rotate_one_bundle, rotate_one_bundles, nop_cycles_until,
36946169689Skan	cycle_end_fill_slots, packet_matches_p, get_split, find_best_insn,
36947169689Skan	find_best_packet, itanium_reorder, dump_current_packet,
36948169689Skan	schedule_stop, gen_nop_type, ia64_emit_nops): Remove them.
36949169689Skan	(sched_data, sched_ready, sched_types): Remove them.
36950169689Skan	(ia64_sched_init): Initiate only `last_scheduled_insn' and call
36951169689Skan	`init_insn_group_barriers'.
36952169689Skan	(ia64_sched_reorder, ia64_sched_reorder2): Call
36953169689Skan	ia64_dfa_sched_reorder.
36954169689Skan	(ia64_variable_issue): Rewrite it.
36955169689Skan	(bundle_state): New structure.
36956169689Skan	(index_to_bundle_states, bundle_states_num,
36957169689Skan	allocated_bundle_states_chain, free_bundle_state_chain): New
36958169689Skan	global variables.
36959169689Skan	(ia64_sched_finish): Add stop bits and call `bundling' after the
36960169689Skan	2nd insn scheduling.
36961169689Skan	(ia64_use_dfa_pipeline_interface): Return zero always.
36962169689Skan	(ia64_first_cycle_multipass_dfa_lookahead): Return 6 for the 2nd
36963169689Skan	insn scheduling.
36964169689Skan	(ia64_init_dfa_pre_cycle_insn): Initialize `dfa_state_size',
36965169689Skan	`temp_dfa_state', `prev_cycle_state', and `dfa_stop_insn'.
36966169689Skan	(ia64_reorg): Add bundling insns.
36967169689Skan
36968169689Skan	* doc/tm.texi
36969169689Skan	(TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD,
36970169689Skan	TARGET_SCHED_DFA_NEW_CYCLE): Describe the new hooks.
36971169689Skan
36972169689Skan	2002-09-23  Vladimir Makarov  <vmakarov@redhat.com>
36973169689Skan
36974169689Skan	* config/ia64/ia64.md: Add Itanium1 DFA description.
36975169689Skan	(itanium_class): Add `nop' and `pre_cycle'.  Add
36976169689Skan	define_function_unit for `nop'.
36977169689Skan	(nop): Change attribute `itanium_class'.
36978169689Skan	(pre_cycle): New define_insn.
36979169689Skan
36980169689Skan	* config/ia64/ia64-protos.h (bundling_p): New external variable.
36981169689Skan	(ia64_st_address_bypass_p, ia64_ld_address_bypass_p,
36982169689Skan	ia64_produce_address_p): New function prototypes.
36983169689Skan
36984169689Skan	* config/ia64/ia64.c (bundling_p): New global variable.
36985169689Skan	(ia64_use_dfa_pipeline_interface,
36986169689Skan	ia64_first_cycle_multipass_dfa_lookahead,
36987169689Skan	ia64_init_dfa_pre_cycle_insn, ia64_dfa_pre_cycle_insn): New
36988169689Skan	functions.
36989169689Skan	(TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
36990169689Skan	TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
36991169689Skan	TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
36992169689Skan	TARGET_SCHED_DFA_PRE_CYCLE_INSN): New macros.
36993169689Skan	(ia64_sched_init, ia64_sched_reorder, ia64_sched_reorder2,
36994169689Skan	ia64_variable_issue, ia64_sched_finish): Do nothing before reload.
36995169689Skan	(dfa_pre_cycle_insn): New variable.
36996169689Skan
36997169689Skan	2002-09-20  Vladimir Makarov  <vmakarov@redhat.com>
36998169689Skan
36999169689Skan	* rtl.def (FINAL_PRESENCE_SET, FINAL_ABSENCE_SET): New
37000169689Skan	constructions.
37001169689Skan
37002169689Skan	* genattrtab.h (gen_final_presence_set, gen_final_absence_set):
37003169689Skan	New function prototypes.
37004169689Skan
37005169689Skan	* genattrtab.c (main): Process the new constructions.
37006169689Skan
37007169689Skan	* genautomata.c (gen_presence_absence_set,
37008169689Skan	process_presence_absence_names, process_presence_absence_patterns,
37009169689Skan	add_presence_absence, check_absence_pattern_sets): Add parameter
37010169689Skan	`final_p'.
37011169689Skan	(unit_decl): Add new members `final_presence_list' and
37012169689Skan	`final_absence_list'.
37013169689Skan	(unit_pattern_rel_decl): Add new member `final_p'.
37014169689Skan	(gen_final_presence_set, gen_final_absence_set): New functions.
37015169689Skan	(process_decls): Use member `final_p'.
37016169689Skan	(temp_reserv): New global variable.
37017169689Skan	(reserv_sets_are_intersected): Add processing `final_presence_set'
37018169689Skan	and `final_absence_set'.
37019169689Skan	(initiate_states): Allocate `temp_reserv'.
37020169689Skan	(unit_final_presence_set_table, unit_final_absence_set_table): New
37021169689Skan	gloabal variables.
37022169689Skan	(initiate_presence_absence_pattern_sets): Initiate them.
37023169689Skan	(NDFA_to_DFA): Fix typo.
37024169689Skan	(output_description): Output `final_presence_set' and
37025169689Skan	`final_absence_set'.
37026169689Skan
37027169689Skan	* doc/md.texi (final_presence_set, final_absence_set): Describe
37028169689Skan	them.
37029169689Skan
37030169689Skan	2002-09-20  Vladimir Makarov  <vmakarov@redhat.com>
37031169689Skan
37032169689Skan	* genautomata.c (transform_3): Process a missing case (nothing on
37033169689Skan	unit place).
37034169689Skan
37035169689Skan	2002-09-20  Vladimir Makarov  <vmakarov@redhat.com>
37036169689Skan
37037169689Skan	* rtl.def (DEFINE_QUERY_CPU_UNIT, AUTOMATA_OPTION): Change
37038169689Skan	comments about queried units and the minimization.
37039169689Skan
37040169689Skan	* doc/md.texi: Ditto.
37041169689Skan
37042169689Skan	* genautomata.c (create_composed_state): Return nonzero if the new
37043169689Skan	state has been created.
37044169689Skan	(first_cycle_unit_presence): New function.
37045169689Skan	(state_is_differed): Add new parameter.  Use the new function.
37046169689Skan	Take queried units into account.
37047169689Skan	(partition_equiv_class): Pass additional parameter to
37048169689Skan	`state_is_differed'.
37049169689Skan	(merge_states): Process composed states too.
37050169689Skan	(build_automaton, create_automata, output_min_issue_delay_table,
37051169689Skan	output_tables, output_statistics): Output more information.
37052169689Skan	(output_reserved_units_table): Use function
37053169689Skan	`first_cycle_unit_presence'.
37054169689Skan	(output_tables): Output table of queried units even if the
37055169689Skan	minimization is switched on.
37056169689Skan	(write_automata): Output code for querying units even if the
37057169689Skan	minimization is switched on.
37058169689Skan
37059169689Skan	2002-09-19  Vladimir Makarov  <vmakarov@redhat.com>
37060169689Skan
37061169689Skan	* rtl.def (PRESENCE_SET, ABSENCE_SET): Add comments about extended
37062169689Skan	syntax of the constructions.
37063169689Skan
37064169689Skan	* doc/md.texi (PRESENCE_SET, ABSENCE_SET): Add description of
37065169689Skan	extended syntax of the constructions.
37066169689Skan
37067169689Skan	* genautomata.c (unit_rel_decl): Rename it to
37068169689Skan	`unit_pattern_rel_decl'.
37069169689Skan	(pattern_set_el, pattern_reserv): New structures.
37070169689Skan	(pattern_set_el_t, pattern_reserv_t): New types.
37071169689Skan	(gen_presence_absence_set): New function.
37072169689Skan	(process_presence_absence): Remove it.
37073169689Skan	(process_presence_absence_names,
37074169689Skan	process_presence_absence_patterns): New functions.
37075169689Skan	(get_presence_absence_set): Remove it.
37076169689Skan	(initiate_presence_absence_sets): Rename it on
37077169689Skan	`initiate_presence_absence_pattern_sets'.  Use new function
37078169689Skan	`form_reserv_sets_list'.
37079169689Skan	(form_reserv_sets_list, check_presence_pattern_sets,
37080169689Skan	check_absence_pattern_sets, output_pattern_set_el_list): New
37081169689Skan	functions.
37082169689Skan	(unit_decl): Change types of members `presence_list' and
37083169689Skan	`absence_list'.
37084169689Skan	(unit_rel_decl): Rename member `names_num' to `all_names_num'.
37085169689Skan	(decl): Change types of members `excl', `presence', and `absence'.
37086169689Skan	(get_str_vect): Rename `par_flag' to `paren_p'.  Add null element
37087169689Skan	at the end of the vector.
37088169689Skan	(gen_cpu_unit, gen_query_cpu_unit, gen_bypass, gen_excl_set,
37089169689Skan	gen_automaton, gen_regexp_repeat, gen_regexp_allof,
37090169689Skan	gen_regexp_oneof, gen_regexp_sequence): Use boolean values.
37091169689Skan	(gen_presence_set, gen_absence_set): Use new function
37092169689Skan	`gen_presence_absence_set'.
37093169689Skan	(add_presence_absence): Process `pattern_list' instead of
37094169689Skan	`source_list'.
37095169689Skan	(process_decls): USe new functions
37096169689Skan	`process_presence_absence_names' and
37097169689Skan	`process_presence_absence_patterns'.
37098169689Skan	(reserv_sets_are_intersected): Use new function
37099169689Skan	`check_presence_pattern_sets'.
37100169689Skan	(presence_set, absence_set): Remove them.
37101169689Skan	(unit_presence_set_table, unit_absence_set_table): New global
37102169689Skan	variables.
37103169689Skan	(output_description): Use new function
37104169689Skan	`output_pattern_set_el_list'.
37105169689Skan	(generate): Use `initiate_presence_absence_pattern_sets'.
37106169689Skan
37107169689Skan	2002-09-18  Vladimir Makarov  <vmakarov@redhat.com>
37108169689Skan
37109169689Skan	* genattr.c (main): Add output of prototype of new interface
37110169689Skan	function `dfa_clean_insn_cache'.
37111169689Skan
37112169689Skan	* genautomata.c (output_dfa_clean_insn_cache_func): New function.
37113169689Skan	(DFA_CLEAN_INSN_CACHE_FUNC_NAME): New macro.
37114169689Skan	(output_dfa_start_func): Use function `dfa_clean_insn_cache' in
37115169689Skan	the generated code.
37116169689Skan	(write_automata): Call the new function.
37117169689Skan
37118169689Skan2003-01-09  Jan Hubicka  <jh@suse.cz>
37119169689Skan
37120169689Skan	* i386.md (unit, prefix_0f, memory attributes): Hanlde sseicvt
37121169689Skan	correctly.
37122169689Skan
37123169689Skan2003-01-09  Paolo Carlini  <pcarlini@unitus.it>
37124169689Skan
37125169689Skan	* doc/tm.texi (EXTRA_ADDRESS_CONSTRAINT): Fix typo.
37126169689Skan
37127169689Skan2003-01-09  J"orn Rennecke <joern.rennecke@superh.com>
37128169689Skan
37129169689Skan	* defaults.h (EXTRA_MEMORY_CONSTRAINT): Add STR argument.
37130169689Skan	(EXTRA_ADDRESS_CONSTRAINT): Likewise.
37131169689Skan	(CONSTRAINT_LEN): Provide default definition.
37132169689Skan	(CONST_OK_FOR_CONSTRAINT_P): Likewise.
37133169689Skan	(CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Likewise.
37134169689Skan	(EXTRA_CONSTRAINT_STR): Likewise.
37135169689Skan	(REG_CLASS_FROM_CONSTRAINT): Define.
37136169689Skan	* genoutput.c (check_constraint_len, constraint_len): New functions.
37137169689Skan	(validate_insn_alternatives): Check CONSTRAINT_LEN for each
37138169689Skan	constraint / modifier.
37139169689Skan	(gen_insn): Call check_constraint_len.
37140169689Skan	* local-alloc.c (block_alloc): Update to use new macros / pass
37141169689Skan	second argument to EXTRA_{MEMORY,ADDRESS}_CONSTRAINT.
37142169689Skan	* ra-build.c (handle_asm_insn): Likewise.
37143169689Skan	* recog.c (asm_operand_ok, preprocess_constraints): Likewise.
37144169689Skan	(constrain_operands, peep2_find_free_register): Likewise.
37145169689Skan	* regclass.c (record_operand_costs, record_reg_classes): Likewise.
37146169689Skan	* regmove.c (find_matches): Likewise.
37147169689Skan	* reload.c (push_secondary_reload, find_reloads): Likewise.
37148169689Skan	(alternative_allows_memconst): Likewise.
37149169689Skan	* reload1.c (maybe_fix_stack_asms): Likewise.
37150169689Skan	(reload_cse_simplify_operands): Likewise.
37151169689Skan	* stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
37152169689Skan	* doc/tm.texi (CONSTRAINT_LEN, REG_CLASS_FROM_CONSTRAINT): Document.
37153169689Skan	(CONST_OK_FOR_CONSTRAINT_P): Likewise.
37154169689Skan	(CONST_DOUBLE_OK_FOR_CONSTRAINT_P, EXTRA_CONSTRAINT_STR): Likewise.
37155169689Skan	(EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT): Add STR argument.
37156169689Skan	* config/s390/s390.h (EXTRA_MEMORY_CONSTRAINT): Likewise.
37157169689Skan
37158169689Skan	* sh.h (OVERRIDE_OPTIONS): Allow first scheduling pass for SH5.
37159169689Skan
37160169689Skan2003-01-09  Kazu Hirata  <kazu@cs.umass.edu>
37161169689Skan
37162169689Skan	* config/h8300/h8300.md (*extzv_1_r_h8300): Correct the insn
37163169689Skan	length.
37164169689Skan	(*extzv_1_r_h8300hs): Likewise.
37165169689Skan	(*extzv_1_r_inv_h8300): Likewise.
37166169689Skan	(*extzv_1_r_inv_h8300hs): Likewise.
37167169689Skan
37168169689Skan2003-01-09  Kazu Hirata  <kazu@cs.umass.edu>
37169169689Skan
37170169689Skan	* config/h8300/h8300.h (PREDICATE_CODES): New.
37171169689Skan
37172169689Skan2003-01-09  Kazu Hirata  <kazu@cs.umass.edu>
37173169689Skan
37174169689Skan	* config/h8300/h8300.md (*addsi3_upper): New.
37175169689Skan	(*iorsi3_shift): Likewise.
37176169689Skan	(two splitters): Likewise.
37177169689Skan	(*addsi3_shift): Likewise.
37178169689Skan	(two splitters): Likewise.
37179169689Skan
37180169689Skan2003-01-09  Josef Zlomek  <zlomj9am@artax.karlin.mff.cuni.cz>
37181169689Skan
37182169689Skan	* Makefile.in (optabs.o): Add dependency on basic-block.h.
37183169689Skan	* basic-block.h (control_flow_insn_p): Fuction was exported.
37184169689Skan	* cfgbuild.c (control_flow_insn_p): Fuction was made non-static.
37185169689Skan	* optabs.c (emit_libcall_block): Emit REG_LIBCALL and REG_RETVAL
37186169689Skan	notes only when the region is contained in a single basic block.
37187169689Skan
37188169689Skan2003-01-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
37189169689Skan
37190169689Skan	PR inline-asm/8832
37191169689Skan	* tree.h (expand_asm): New prototype.
37192169689Skan	* stmt.c (expand_asm): Set the MEM_VOLATILE_P flag if instructed
37193169689Skan	to do so.
37194169689Skan	* c-semantics (genrtl_asm_stmt): Pass the RID_VOLATILE qualifier
37195169689Skan	down to expand_asm.
37196169689Skan	* c-typeck.c (simple_asm_stmt): Set the RID_VOLATILE qualifier.
37197169689Skan	* rtlanal.c (volatile_insn_p) [ASM_INPUT]: Test the MEM_VOLATILE_P flag.
37198169689Skan	(volatile_refs_p) [ASM_INPUT]: Likewise.
37199169689Skan	(side_effects_p) [ASM_INPUT]: Likewise.
37200169689Skan
37201169689Skan2003-01-09  Jan Hubicka  <jh@suse.cz>
37202169689Skan
37203169689Skan	* i386.md (*mul*): FIx constraints; remove confused comment; fix
37204169689Skan	athlon_decode attributes
37205169689Skan	(imul/k8 optimization peep2s): New.
37206169689Skan
37207169689Skan	* athlon.md (athlon_ssecmp*): Handle ssecomi as well.
37208169689Skan	* i386.md (type attribute): Add ssecomi.
37209169689Skan	(unit, memory, prefix attributes): Handle ssecomi.
37210169689Skan	(cvt?2? patterns): Fix athlon_decode attribute
37211169689Skan	(comi patterns): Set attribute to ssecomi.
37212169689Skan
37213169689Skan	PR target/8343
37214169689Skan	* m68k.md (umulsidi, mulsidi expanders): Use register operand.
37215169689Skan
37216169689Skan2003-01-09  Richard Sandiford  <rsandifo@redhat.com>
37217169689Skan
37218169689Skan	* config/mips/mips.h (PREDICATE_CODES): Add ADDRESSOF for predicates
37219169689Skan	that match register_operands.
37220169689Skan	* config/mips/mips.c (reg_or_0_operand, true_reg_or_0_operand): Make
37221169689Skan	register_operand the default case.
37222169689Skan
37223169689Skan2003-01-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
37224169689Skan
37225169689Skan	PR c/8032
37226169689Skan	* c-typeck.c (process_init_element) [RECORD_TYPE]: For
37227169689Skan	an empty element, do not advance the pointer to unfilled
37228169689Skan	fields if there are pending initializers.
37229169689Skan
37230169689Skan2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
37231169689Skan
37232169689Skan	* Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
37233169689Skan	(install-gcc-tooldir, install-cpp, installdirs,
37234169689Skan	install-common, install-driver, install-info, install-man,
37235169689Skan	install-headers, install-include-dir, install-headers-tar,
37236169689Skan	install-headers-cpio, install-headers-cp, install-mkheaders,
37237169689Skan	install-collect2, uninstall): Prepend $(DESTDIR) to
37238169689Skan	destination paths in all (un)installation commands.
37239169689Skan	(install-driver): Rewrite $(LN) commands to support DESTDIR
37240169689Skan	with "ln" as well as with "ln -s".
37241169689Skan	(installdirs): Simply use mkinstalldirs.
37242169689Skan	(install-libgcc, install-multilib): Also pass DESTDIR.
37243169689Skan	* mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
37244169689Skan	installation destination variable ldir.
37245169689Skan	* config/alpha/t-osf4, config/arm/t-netbsd,
37246169689Skan	config/ia64/t-hpux, config/mips/t-iris5-6,
37247169689Skan	config/pa/t-hpux-shlib, config/rs6000/t-aix43,
37248169689Skan	config/rs6000/t-aix52, config/t-slibgcc-elf-ver,
37249169689Skan	config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir)
37250169689Skan	in the definition of SHLIB_INSTALL.
37251169689Skan	* config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
37252169689Skan	$(libsubdir) in the installation commands.
37253169689Skan
37254169689Skan2003-01-08  Kaz Kojima  <kkojima@gcc.gnu.org>
37255169689Skan
37256169689Skan	* config/sh/sh.h (CASE_VECTOR_MODE): Use SImode for a
37257169689Skan	non-optimizing compile.
37258169689Skan	(ASM_OUTPUT_ADDR_VEC_ELT): Use .long for a non-optimizing
37259169689Skan	compile.
37260169689Skan
37261169689Skan2003-01-08  Douglas B Rupp  <rupp@gnat.com>
37262169689Skan
37263169689Skan	* config/i386/i386.c (ix86_attribute_table): Add new attributes
37264169689Skan	ms_struct and gcc_struct.
37265169689Skan	(ix86_handle_struct_attribute): New function.
37266169689Skan	(ix86_ms_bitfield_layout_p): Update to take new attributes
37267169689Skan	into account.
37268169689Skan	* doc/extend.texi: Document new attributes.
37269169689Skan	* testsuite/gcc.dg/bf-ms-attrib.c: New test.
37270169689Skan
37271169689Skan2003-01-08  Danny Smith  <dannysmith@users.sourceforge.net>
37272169689Skan
37273169689Skan	PR optimization/8750
37274169689Skan	* config/i386/i386.c (ix86_expand_prologue): Don't allow
37275169689Skan	scheduling pass to move insns across __alloca call.
37276169689Skan
37277169689Skan2003-01-08  Dale Johannesen  <dalej@apple.com>
37278169689Skan
37279169689Skan	* config/rs6000/rs6000.md:  Replace *store_multiple_string
37280169689Skan	with *stmsi[3-8].
37281169689Skan
37282169689Skan2003-01-08  Jeff Sturm  <jsturm@one-point.com>
37283169689Skan
37284169689Skan	PR target/9210
37285169689Skan	* config/rs6000/rs6000.c (rs6000_elf_encode_section_info):
37286169689Skan	Set SYMBOL_REF_FLAG on local data sym_ref.
37287169689Skan
37288169689Skan2003-01-08  Dale Johannesen  <dalej@apple.com>
37289169689Skan
37290169689Skan	* function.c (assign_parms):  Don't set pretend_args_size if
37291169689Skan	  REG_PARM_STACK_SPACE.
37292169689Skan	  config/rs6000/rs6000.c (setup_incoming_varargs):  Don't set
37293169689Skan	  pretend_args_size.
37294169689Skan
37295169689Skan2003-01-08  Nathanael Nerode  <neroden@gcc.gnu.org>
37296169689Skan
37297169689Skan	* gcc.hlp: Delete.
37298169689Skan
37299169689Skan2003-01-09  Jan Hubicka  <jh@suse.cz>
37300169689Skan
37301169689Skan	* i386.c  (ix86_expand_int_addcc): Fix thinko.
37302169689Skan
37303169689Skan2003-01-08  David Edelsohn  <edelsohn@gnu.org>
37304169689Skan
37305169689Skan	* config/rs6000/rs6000.h (FUNCTION_MODE): Always use SImode.
37306169689Skan	* config/rs6000/rs6000.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Redefine
37307169689Skan	as hook_bool_tree_hwi_hwi_tree_true.
37308169689Skan	(rs6000_emit_allocate_stack): Use TARGET_32BIT.
37309169689Skan	(rs6000_emit_epilogue): Same.
37310169689Skan	(rs6000_output_mi_thunk): Re-implement as RTL.
37311169689Skan	* config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Call
37312169689Skan	xcoffout_declare_function if any debugging enabled.
37313169689Skan
37314169689Skan2003-01-08  Chris Demetriou  <cgd@broadcom.com>
37315169689Skan
37316169689Skan	* config.gcc (mipsisa32r2-*-elf*, mipsisa32r2el-*-elf*): New
37317169689Skan	targets, to support MIPS32 Release 2 (MIPS32R2) configurations.
37318169689Skan	* config/mips/mips.h (enum processor_type): Rename
37319169689Skan	PROCESSOR_R4KC to PROCESSOR_4KC, PROCESSOR_R5KC to
37320169689Skan	PROCESSOR_5KC, and PROCESSOR_R20KC to PROCESSOR_20KC.
37321169689Skan	Add PROCESSOR_M4K.
37322169689Skan	(TARGET_MIPS4KC, TARGET_MIPS5KC): Update for the renaming.
37323169689Skan	(ISA_MIPS32R2): New define.
37324169689Skan	(GENERATE_MULT3_SI, ISA_HAS_CONDMOVE, ISA_HAS_8CC)
37325169689Skan	(ISA_HAS_MADD_MSUB, ISA_HAS_CLZ_CLO)
37326169689Skan	(ISA_HAS_PREFETCH): Add support for MIPS32R2.
37327169689Skan	(MIPS_ISA_DEFAULT): Likewise.  Also, fix indentation.
37328169689Skan	(TARGET_CPU_CPP_BUILTINS): Add support for MIPS32R2.  Add new
37329169689Skan	predefine __mips_isa_rev for MIPS32, MIPS32R2, and MIPS64.
37330169689Skan	(ISA_HAS_ROTR_SI): Add support for MIPS32R2, and avoid if
37331169689Skan	compiling MIPS16 code.
37332169689Skan	(ISA_HAS_ROTR_DI): Do not use if compiling MIPS16 code, and fix
37333169689Skan	comment.
37334169689Skan	(ISA_HAS_SEB_SEH): New define.
37335169689Skan	(ASM_SPEC, LINK_SPEC): Pass -mips32r2 to assembler and linker.
37336169689Skan	* config/mips/mips.c (mips_cpu_info_table): Adjust for enum
37337169689Skan	processor_type value renaming.  Add support for MIPS32R2.
37338169689Skan	Clean up comments, and move "sb1" entry with other MIPS64 CPU
37339169689Skan	entries.
37340169689Skan	(override_options): Reimplement -mipsN option handling so that
37341169689Skan	it will work correctly for -mips32r2.  Avoid branch-likely
37342169689Skan	instructions on MIPS32R2.
37343169689Skan	* config/mips/mips.md (mulsi3_mult3): Add support for MIPS32R2.
37344169689Skan	(extendhisi2): Use extendhisi2_hw if ISA_HAS_SEB_SEH.
37345169689Skan	(extendqisi2): Use extendqisi2_hw if ISA_HAS_SEB_SEH.
37346169689Skan	(extendhisi2_hw, extendqisi2_hw): New.
37347169689Skan	* config/mips/netbsd.h (TARGET_CPU_CPP_BUILTINS): Add support
37348169689Skan	for MIPS32R2.  Add new predefine __mips_isa_rev for MIPS32,
37349169689Skan	MIPS32R2, and MIPS64.
37350169689Skan	(LINK_SPEC): Pass -mips32r2 to linker.
37351169689Skan	* config/mips/t-isa3264: Built -mips32r2 multilibs.
37352169689Skan	* doc/invoke.texi (MIPS Options): Add -mips32r2, add support
37353169689Skan	for mips32r2 in the -march description.  Alphabetically sort
37354169689Skan	CPU names in the -march description.  Add long-missed -mips32
37355169689Skan	and -mips64 to MIPS option summary.
37356169689Skan
37357169689Skan	* config.gcc: Update copyright years to include 2003.
37358169689Skan	* config/mips/mips.c: Likewise.
37359169689Skan	* config/mips/mips.h: Likewise.
37360169689Skan	* config/mips/mips.md: Likewise.
37361169689Skan	* config/mips/netbsd.h: Likewise.
37362169689Skan	* doc/invoke.texi: Likewise.
37363169689Skan
37364169689Skan2003-01-08  Andreas Schwab  <schwab@suse.de>
37365169689Skan
37366169689Skan	* aclocal.m4 (gcc_AC_INITFINI_ARRAY): Fix spelling of cache
37367169689Skan	variable.
37368169689Skan	* configure: Regenerated.
37369169689Skan
37370169689Skan2003-01-08  Kazu Hirata  <kazu@cs.umass.edu>
37371169689Skan
37372169689Skan	* config/h8300/h8300.c (output_logical_op): Replace byte/word
37373169689Skan	extraction of det with b0, b1, w0, w2, etc.
37374169689Skan	(compute_logical_op_length): Likewise.
37375169689Skan	(compute_logical_op_cc): Likewise.
37376169689Skan
37377169689Skan2003-01-08  Kazu Hirata  <kazu@cs.umass.edu>
37378169689Skan
37379169689Skan	* config/h8300/h8300.h (CONSTANT_ADDRESS_P): Allow CONST and
37380169689Skan	HIGH on all variants.
37381169689Skan
37382169689Skan2003-01-08  Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz>
37383169689Skan
37384169689Skan	* Makefile.in (PARTITION_H): New.
37385169689Skan	(BASIC_BLOCK_H): Added hard-reg-set.h and $(PARTITION_H).
37386169689Skan	* basic-block.h: Include hard-reg-set.h.
37387169689Skan
37388169689Skan2003-01-08  Richard Earnshaw  <rearnsha@arm.com>
37389169689Skan
37390169689Skan	* arm.h (ENABLE_XF_PATTERNS): Delete.
37391169689Skan	* arm.md (addxf3, subxf3, mulxf3, divxf3, modxf3, negxf2, absxf2)
37392169689Skan	(sqrtxf2, floatsixf2, fix_truncxfsi2, truncxfsf2, truncxfdf2)
37393169689Skan	(extendsfxf2, extenddfxf2, movxf, cmpxf, cmpxf_insn)
37394169689Skan	(cmpxf_trap): Delete.
37395169689Skan	(movxf_hard_insn): Remove test of ENABLE_XF_PATTERNS.
37396169689Skan
37397169689Skan2003-01-08  Jan Hubicka  <jh@suse.cz>
37398169689Skan
37399169689Skan	* i386.md (adddi3_carry_rex64, subdi3_carry_rex64): Name pattern.
37400169689Skan	(addhi3_carry, addqi3_carry, subhi3_carry, subqi3_carry): New patterns.
37401169689Skan	(add??cc): New expanders.
37402169689Skan	* i386.c (expand_int_addcc): New function.
37403169689Skan	* i386-protos.h (expand_int_addcc): Declare.
37404169689Skan
37405169689Skan	* alias.c (memory_modified_1): New static function.
37406169689Skan	(memory_modified): New static varaible.
37407169689Skan	(memory_modified_in_insn_p): New global function.
37408169689Skan	* rtl.h (memory_modified_in_insn_p): Declare.
37409169689Skan	* rtlanal.c (modified_between_p, modified_in_p): Be smart about memory
37410169689Skan	references.
37411169689Skan
37412169689Skan	* expr.h (emit_conditional_add): Declare.
37413169689Skan
37414169689Skan2003-01-07  Janis Johnson  <janis187@us.ibm.com>
37415169689Skan
37416169689Skan	PR other/8947
37417169689Skan	* doc/invoke.texi (-malign-double): Explain that the option breaks
37418169689Skan	binary compatibility.
37419169689Skan
37420169689Skan2003-01-08  Andreas Schwab  <schwab@suse.de>
37421169689Skan
37422169689Skan	* config.gcc (m68k-*-linux*): Don't set extra_parts and gnu_ld,
37423169689Skan	should come from the generic *-*-linux* entry.
37424169689Skan
37425169689Skan2003-01-07  Jan Hubicka  <jh@suse.cz>
37426169689Skan
37427169689Skan	* cselib.c (cselib_current_insn_in_libcall): New static variable.
37428169689Skan	(new_elt_loc_list, cselib_process_insn, cselib_init): Keep track on whether
37429169689Skan	we are inside libcall.
37430169689Skan	* cselib.h (elt_loc_list): Add in_libcall.
37431169689Skan	* gcse.c (do_local_cprop): Do not copy propagate using insns
37432169689Skan	in libcalls.
37433169689Skan
37434169689Skan2003-01-07  David Edelsohn  <edelsohn@gnu.org>
37435169689Skan
37436169689Skan	* doc/tm.texi (TARGET_SCHED_VARIABLE_ISSUE): CLOBBER and USE do
37437169689Skan	not normally affect to issue rate.
37438169689Skan
37439169689Skan2003-01-07  Jan Hubicka  <jh@suse.cz>
37440169689Skan
37441169689Skan	* genopinit.c (optabs): Add addc_optab.
37442169689Skan	* ifcvt.c (noce_try_store_flag): Rename to ...
37443169689Skan	(noce_try_addcc): ... this one; handle generic conditional increment.
37444169689Skan	(noce_process_if_block): Update noce_try_addcc call.
37445169689Skan	* optabs.c (emit_conditional_add): New.
37446169689Skan	(init_obtabs): Initialize addc_optab.
37447169689Skan	* optabs.h (optab_index): Add OTI_addcc.
37448169689Skan	(addcc_optab): New macro.
37449169689Skan	* md.texi: Document addMcc
37450169689Skan
37451169689Skan	PR target/8322
37452169689Skan	* i386.c (ix86_init_mmx_sse_builtins): Constify arguments of loads.
37453169689Skan	* xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts.
37454169689Skan	* xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts.
37455169689Skan
37456169689Skan	* reload1.c (delete_output_reload): Avoid repeated attempts
37457169689Skan	to delete insn.
37458169689Skan
37459169689Skan2003-01-07  Andreas Schwab  <schwab@suse.de>
37460169689Skan
37461169689Skan	* configure.in: Restore CFLAGS before gcc_AC_INITFINI_ARRAY.
37462169689Skan	Move --enable-initfini-array check ...
37463169689Skan	* aclocal.m4 (gcc_AC_INITFINI_ARRAY): ... here.  Define
37464169689Skan	HAVE_INITFINI_ARRAY also when --enable-initfini-array is given.
37465169689Skan	Don't AC_SUBST gcc_cv_initfinit_array.  Use AC_TRY_RUN.
37466169689Skan	* configure: Rebuild.
37467169689Skan
37468169689Skan2003-01-07  Richard Henderson  <rth@redhat.com>
37469169689Skan
37470169689Skan	* alias.c (find_base_value): Only use new_reg_base_value shortcut
37471169689Skan	if the register is set once.
37472169689Skan
37473169689Skan2003-01-07  Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
37474169689Skan
37475169689Skan	* config/i386/i386.c (ix86_init_mmx_sse_builtins):
37476169689Skan	__builtin_ia32_ldmxcsr and __builtin_ia32_stmxcsr are SSE, not MXX.
37477169689Skan	* config/i386/i386.md (ldmxcsr, stmxcsr): SSE, not MMX.
37478169689Skan
37479169689Skan2003-01-07  Benjamin Kosnik  <bkoz@redhat.com>
37480169689Skan	    Sunil Davasam  <sunil.k.davasam@intel.com>
37481169689Skan
37482169689Skan	PR libstdc++/9076
37483169689Skan	* unwind-dw2.c (execute_cfa_program): DW_CFA_undefined,
37484169689Skan	DW_CFA_same_value, read next and ignore.
37485169689Skan
37486169689Skan2003-01-07  Richard Henderson  <rth@redhat.com>
37487169689Skan
37488169689Skan	* cfganal.c (flow_call_edges_add): Don't crash on noreturn call.
37489169689Skan
37490169689Skan2003-01-07  Daniel Berlin  <dberlin@dberlin.org>
37491169689Skan
37492169689Skan	* cfg.c: Include alloc-pool.h
37493169689Skan	(edge_pool): New pool.
37494169689Skan	(bb_pool): New pool.
37495169689Skan	(first_deleted_edge): Remove.
37496169689Skan	(first_deleted_block): Remove.
37497169689Skan	(init_flow): Alloc/free the pools.
37498169689Skan	(free_edge): Use pools.
37499169689Skan	(alloc_block): Ditto.
37500169689Skan	(expunge_block): Ditto.
37501169689Skan	(cached_make_edge): Ditto.
37502169689Skan
37503169689Skan	* Makefile.in (cfg.o): Add alloc-pool.h dependency.
37504169689Skan
37505169689Skan2003-01-07  Daniel Berlin  <dberlin@dberlin.org>
37506169689Skan
37507169689Skan	* et-forest.c: Include alloc-pool.h.
37508169689Skan	(struct et_forest): Add node_pool and occur_pool.
37509169689Skan	(et_forest_create): Create the new pools.
37510169689Skan	(et_forest_delete): Delete them.
37511169689Skan	(et_forest_add_node): Allocate and free using pools.
37512169689Skan	(et_forest_add_edge): Ditto.
37513169689Skan	(et_forest_remove_node): Ditto.
37514169689Skan	(et_forest_remove_edge): Ditto.
37515169689Skan
37516169689Skan	* Makefile.in (et-forest.o): Add alloc-pool.h dependency.
37517169689Skan
37518169689Skan2003-01-07  Kazu Hirata  <kazu@cs.umass.edu>
37519169689Skan
37520169689Skan	* config/h8300/h8300.c (output_logical_op): Simplify and
37521169689Skan	optimize the handling of SImode.
37522169689Skan	* config/h8300/h8300.c (compute_logical_op_length): Update
37523169689Skan	accordingly.
37524169689Skan	* config/h8300/h8300.c (compute_logical_op_cc): Likewise.
37525169689Skan
37526169689Skan2003-01-07  Richard Sandiford  <rsandifo@redhat.com>
37527169689Skan
37528169689Skan	* config/mips/mips.c (mips_va_arg): In the EABI code, apply the
37529169689Skan	big-endian correction to indirect arguments too.
37530169689Skan
37531169689Skan2003-01-06  Aldy Hernandez  <aldyh@redhat.com>
37532169689Skan
37533169689Skan	Segher Boessenkool  <segher@koffie.nl>
37534169689Skan
37535169689Skan	* config/rs6000/rs6000.c (rs6000_reg_names): Add missing registers.
37536169689Skan	(alt_reg_names): Ditto, fix formatting.
37537169689Skan	* config/rs6000/rs6000.h (DEBUG_REGISTER_NAMES): Fix formatting.
37538169689Skan
37539169689Skan2003-01-06  Kazu Hirata  <kazu@cs.umass.edu>
37540169689Skan
37541169689Skan	* config/h8300/h8300.c (final_prescan_insn): Constify uid.
37542169689Skan	(output_logical_op): Constify intval and det.
37543169689Skan	(compute_logical_length): Likewise.
37544169689Skan	(compute_logical_cc): Likewise.
37545169689Skan	(output_a_shift): Constify mask.
37546169689Skan	(h8300_encode_label): Constify len.
37547169689Skan
37548169689Skan2003-01-06  Kazu Hirata  <kazu@cs.umass.edu>
37549169689Skan
37550169689Skan	* config/h8300/h8300.c (h8300_expand_prologue): Remove fsize.
37551169689Skan	(h8300_expand_epilogue): Likewise.
37552169689Skan
37553169689Skan2003-01-06  Aldy Hernandez  <aldyh@redhat.com>
37554169689Skan
37555169689Skan	Segher Boessenkool  <segher@koffie.nl>
37556169689Skan
37557169689Skan	* config/rs6000/altivec.md: Remove spaces from assembler
37558169689Skan	instruction argument lists.
37559169689Skan
37560169689Skan2003-01-07  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
37561169689Skan
37562169689Skan	* config/c4x/c4x.c (c4x_naked_function_p): Rename from
37563169689Skan	c4x_assembler_function_p.
37564169689Skan	(c4x_null_epilogue_p): Complement return value, all uses updated.
37565169689Skan	(c4x_insert_attributes): Add naked.
37566169689Skan	* config/c4x/c4x.md (c4x_null_epilogue_p): Changes uses.
37567169689Skan	* doc/extend.texi: Update C4x function attributes.
37568169689Skan
37569169689Skan2003-01-06  Richard Henderson  <rth@redhat.com>
37570169689Skan
37571169689Skan	* config/alpha/alpha.c (alpha_encode_section_info): Adjust symbol_str
37572169689Skan	properly when changing "local-ness".
37573169689Skan	* config/alpha/alpha.md (movdi_er_high_g): Allow all symbols.
37574169689Skan
37575169689Skan2003-01-06  Dale Johannesen  <dalej@apple.com>
37576169689Skan
37577169689Skan	* config/darwin-protos.h:  Add prototypes for new section functions.
37578169689Skan
37579169689Skan2003-01-06  Chris Demetriou  <cgd@broadcom.com>
37580169689Skan
37581169689Skan	* config.gcc (mipsisa32-*-elf*, mipsisa32el-*-elf*): Default ABI
37582169689Skan	to EABI.
37583169689Skan
37584169689Skan2003-01-06  Zack Weinberg  <zack@codesourcery.com>
37585169689Skan
37586169689Skan	* hwint.h: If the current compiler has no 64-bit type at all,
37587169689Skan	make HOST_WIDEST_INT 32 bits.
37588169689Skan
37589169689Skan2003-01-06  Eric Christopher  <echristo@redhat.com>
37590169689Skan
37591169689Skan	* config/mips/mips.md (movdf_internal2): Fix constraints.
37592169689Skan
37593169689Skan2003-01-06  Kazu Hirata  <kazu@cs.umass.edu>
37594169689Skan
37595169689Skan	* config/h8300/h8300.md (*twoshifts_l16_r1): New.
37596169689Skan
37597169689Skan2003-01-06  Richard Sandiford  <rsandifo@redhat.com>
37598169689Skan
37599169689Skan	* config/mips/mips.md (leadi): Use dla rather than la.
37600169689Skan
37601169689Skan2003-01-06  Svein E. Seldal  <Svein.Seldal@solidas.com>
37602169689Skan
37603169689Skan	* config/c4x/c4x.h: Updated specs for new gas format.  Fixed bug
37604169689Skan	in C33_FLAG.  Added proper C33 support in ASM_FILE_START macro.
37605169689Skan
37606169689Skan2003-01-06 Herman A.J. ten Brugge  <hermantenbrugge@home.nl>
37607169689Skan
37608169689Skan	* config/c4x/c4x.h: Remove hwint.h include and HOST_WIDE_INT_PRINT_HEX
37609169689Skan	redefinition.
37610169689Skan
37611169689Skan2003-01-05  Kazu Hirata  <kazu@cs.umass.edu>
37612169689Skan
37613169689Skan	* config/h8300/h8300.md (*extzv_8_23): New.
37614169689Skan
37615169689Skan2003-01-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
37616169689Skan
37617169689Skan	* pa64-hpux.h (JCR_SECTION_NAME): Define.
37618169689Skan	(PA_INIT_FRAME_DUMMY_ASM_OP): Check EH_FRAME_SECTION_NAME instead of
37619169689Skan	USE_EH_FRAME_REGISTRY when defining.
37620169689Skan
37621169689Skan2003-01-05  Kazu Hirata  <kazu@cs.umass.edu>
37622169689Skan
37623169689Skan	* config/h8300/h8300.c (output_a_shift): Do not output a
37624169689Skan	variable shift.
37625169689Skan	* config/h8300/h8300.md (two splitters): New.
37626169689Skan
37627169689Skan2003-01-05  Richard Sandiford  <rsandifo@redhat.com>
37628169689Skan
37629169689Skan	* config/mips/mips.md: Disable the movstrsi define_split.
37630169689Skan
37631169689Skan2003-01-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
37632169689Skan
37633169689Skan	* alloc-pool.c: Don't include "libiberty.h".
37634169689Skan	* config/sparc/gmon-sol2.c: Include <fcntl.h>.
37635169689Skan	* convert.c (convert_to_real): Hide unused variable.
37636169689Skan
37637169689Skan2003-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
37638169689Skan
37639169689Skan	* Makefile.in (gtyp-gen.h): Const-ify.
37640169689Skan	* gcov-dump.c (tag_table): Likewise.
37641169689Skan
37642169689Skan2003-01-04  Bruce Korb  <bkorb@gnu.org>
37643169689Skan
37644169689Skan	* fixinc/fixfixes.c(wrap_fix): the wrapper guard must be a function
37645169689Skan	of *both* the file name and the fix name.
37646169689Skan
37647169689Skan2003-01-04  John David Anglin  <dave.anglin@nrc.ca>
37648169689Skan
37649169689Skan	* config.gcc (hppa*64*-*-hpux11*): Define extra_parts.  Don't use
37650169689Skan	collect2.
37651169689Skan	* pa-hpux11.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Undefine.
37652169689Skan	(HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Define.
37653169689Skan	* pa64-hpux.h (HP_INIT_ARRAY_SECTION_ASM_OP,
37654169689Skan	GNU_INIT_ARRAY_SECTION_ASM_OP, HP_FINI_ARRAY_SECTION_ASM_OP,
37655169689Skan	GNU_FINI_ARRAY_SECTION_ASM_OP): Define.
37656169689Skan	(CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Define when not using
37657169689Skan	elfos.h.
37658169689Skan	(EH_FRAME_IN_DATA_SECTION): Delete define.
37659169689Skan	(HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Undefine.
37660169689Skan	(STARTFILE_SPEC): Use crtbegin.o.
37661169689Skan	(ENDFILE_SPEC): Use crtend.o.
37662169689Skan	(INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION,
37663169689Skan	SUPPORTS_INIT_PRIORITY, PA_CXA_FINALIZE_STUB, PA_INIT_FINI_HACK,
37664169689Skan	PA_INIT_FRAME_DUMMY_ASM_OP, PA_JV_REGISTERCLASSES_STUB,
37665169689Skan	DTOR_LIST_BEGIN): Define.
37666169689Skan	* pa.c (TARGET_ASM_CONSTRUCTOR): Define.
37667169689Skan	(pa_asm_out_constructor, pa_asm_out_destructor): New functions.
37668169689Skan	* som.h (SUPPORTS_INIT_PRIORITY): Delete define.
37669169689Skan
37670169689Skan2002-12-31  Larin Hennessy  <larin@science.oregonstate.edu>
37671169689Skan
37672169689Skan	* fixinc/fixinc.svr4: Remove references to i860, Sony NewsOS, and spur.
37673169689Skan	* fixinc/inclhack.def: Remove tests for Apple A/UX, ARM/RISCiX, DG/UX,
37674169689Skan	m88k-*-sysv3*, Sony NewsOS.   Remove references to i860.
37675169689Skan	Cleanup handling of replacement text.
37676169689Skan	* fixinc/mkfixinc.sh: Remove reference to i?86-*-osf1*
37677169689Skan
37678169689Skan2003-01-04  Bruce Korb  <bkorb@gnu.org>
37679169689Skan
37680169689Skan	* fixinc/tests/base/math.h: removed obsolete results
37681169689Skan	* fixinc/tests/base/stdlib.h: ditto
37682169689Skan	* fixinc/tests/base/sys/param.h: ditto
37683169689Skan	* fixinc/tests/base/sys/stat.h: ditto
37684169689Skan	* fixinc/tests/base/time.h: ditto
37685169689Skan	* fixinc/tests/base/X11/Intrinsic.h: removed obsolete file
37686169689Skan	* fixinc/tests/base/sys/byteorder.h: ditto
37687169689Skan	* fixinc/inclhack.def: Remove superfluous backslashes
37688169689Skan
37689169689Skan2003-01-04  Kazu Hirata  <kazu@cs.umass.edu>
37690169689Skan
37691169689Skan	* config/h8300/h8300-protos.h: Add prototypes for
37692169689Skan	the new functions defined below.
37693169689Skan	* config/h8300/h8300.c (TARGET_ASM_FUNCTION_PROLOGUE): Do not
37694169689Skan	define.
37695169689Skan	(dosize): Emit RTL instead of assembly code.
37696169689Skan	(push): Likewise.
37697169689Skan	(pop): Likewise.
37698169689Skan	(h8300_output_function_prologue): Remove.
37699169689Skan	(h8300_expand_prologue): New.
37700169689Skan	(h8300_expand_epilogue): New.
37701169689Skan	(h8300_output_function_epilogue): Do only the reset of
37702169689Skan	pragma_saveall.
37703169689Skan	* config/h8300/h8300.md (push_h8300): New.
37704169689Skan	(push_h8300hs): Likewise.
37705169689Skan	(pop_h8300): Likewise.
37706169689Skan	(pop_h8300hs): Likewise.
37707169689Skan	(*stm_h8300s_2): Change the name to stm_h8300s_2.
37708169689Skan	(*stm_h8300s_3): Change the name to stm_h8300s_3.
37709169689Skan	(*stm_h8300s_4): Change the name to stm_h8300s_4.
37710169689Skan	(*ldm_h8300s_2): New.
37711169689Skan	(*ldm_h8300s_3): Likewise.
37712169689Skan	(*ldm_h8300s_4): Likewise.
37713169689Skan	(return): Likewise.
37714169689Skan	(*return_1): Likewise.
37715169689Skan	(prologue): Likewise.
37716169689Skan	(epilogue): Likewise.
37717169689Skan	(monitor_prologue): Likewise.
37718169689Skan
37719169689Skan2003-01-03  Dale Johannesen  <dalej@apple.com>
37720169689Skan
37721169689Skan	* config/darwin.h:  (EXTRA_SECTIONS):  Add machopic_symbol_stub1,
37722169689Skan	  machopic_picsymbol_stub1.
37723169689Skan	  (EXTRA_SECTION_FUNCTIONS):  Ditto.
37724169689Skan	* rs6000/rs6000.c:  Update copyright.
37725169689Skan	  (machopic_output_stub):  Use them.  Remove an insn from stub code.
37726169689Skan
37727169689Skan2003-01-02  Jason Merrill  <jason@redhat.com>
37728169689Skan
37729169689Skan	* fold-const.c (fold) [COND_EXPR]: Avoid NOP_EXPRs better.
37730169689Skan
37731169689Skan	* integrate.c (copy_decl_for_inlining): Don't clear the rtl for
37732169689Skan	static/external decls.
37733169689Skan
37734169689Skan	* c-common.c (finish_fname_decls): Put the DECL_STMTs inside the
37735169689Skan	outermost scope.
37736169689Skan	* c-decl.c (c_make_fname_decl): Push the decls there, too.
37737169689Skan
37738169689Skan2003-01-03  Kazu Hirata  <kazu@cs.umass.edu>
37739169689Skan
37740169689Skan	* config/h8300/h8300-protos.h: Add a prototype for
37741169689Skan	h8300_current_function_interrupt_function_p.
37742169689Skan	* config/h8300/h8300.c (interrupt_handler): Remove.
37743169689Skan	(os_task): Likewise.
37744169689Skan	(monitor): Likewise.
37745169689Skan	(pragma_interrupt): New.
37746169689Skan	(WORD_REG_USED): Use
37747169689Skan	h8300_current_function_interrupt_function_p.
37748169689Skan	(dosize): Likewise.
37749169689Skan	(h8300_output_function_prologue): Likewise.
37750169689Skan	Do not set interrupt_handler, os_task, monitor.
37751169689Skan	(h8300_output_function_prologue): Use
37752169689Skan	h8300_current_function_interrupt_function_p.
37753169689Skan	Do not set interrupt_handler, os_task, monitor.
37754169689Skan	(h8300_current_function_interrupt_function_p): New.
37755169689Skan	(h8300_pr_interrupt): Set pragma_interrupt.
37756169689Skan	(h8300_insert_attributes): Reset pragma_interrupt.
37757169689Skan
37758169689Skan2003-01-03  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
37759169689Skan
37760169689Skan	* doc/install.texi (Configuration): Fix markup for reference to
37761169689Skan	gcc/config.gcc.
37762169689Skan
37763169689Skan2003-01-02  Kazu Hirata  <kazu@cs.umass.edu>
37764169689Skan
37765169689Skan	* config/h8300/h8300.md (*iorhi3_zext): Relax the condition.
37766169689Skan	(*iorhi3_two_qi): Likewise.
37767169689Skan	(*iorsi3_zexthi): Likewise.
37768169689Skan	(*xorhi3_zextqi): Likewise.
37769169689Skan	(*xorsi3_zexthi): Likewise.
37770169689Skan	(*xorsi3_zextqi): Likewise.
37771169689Skan
37772169689Skan2003-01-02  Kazu Hirata  <kazu@cs.umass.edu>
37773169689Skan
37774169689Skan	* config/h8300/h8300.c (stack_pointer_operand): New.
37775169689Skan	(const_int_gt_2_operand): Likewise.
37776169689Skan	(const_int_ge_8_operand): Likewise.
37777169689Skan	* config/h8300/h8300.md (a splitter): Likewise.
37778169689Skan	(a peephole2): Likewise.
37779169689Skan	* config/h8300/h8300-protos.h: Add prototypes for the new
37780169689Skan	functions above.
37781169689Skan
37782169689Skan2003-01-02  Steven Bosscher <s.bosscher@student.tudelft.nl>
37783169689Skan
37784169689Skan	* objc/Make-lang.in, objc/config-lang.in, objc/lang-specs.h,
37785169689Skan	objc/objc-act.h: Fix copyright years.
37786169689Skan
37787169689Skan2003-01-02  Steven Bosscher  <s.bosscher@student.tudelft.nl>
37788169689Skan
37789169689Skan	* doc/passes.texi: Fix documentation for -fssa-ccp
37790169689Skan
37791169689Skan2003-01-02  Neil Booth  <neil@daikokuya.co.uk>
37792169689Skan
37793169689Skan	* gccbug.in: Update for new categories.
37794169689Skan
37795169689Skan2003-01-01  Kazu Hirata  <kazu@cs.umass.edu>
37796169689Skan
37797169689Skan	* config/h8300/h8300.md: Reorder some patterns.
37798169689Skan
37799169689Skan2003-01-01  Kazu Hirata  <kazu@cs.umass.edu>
37800169689Skan
37801169689Skan	* config/h8300/h8300.c (output_logical_op): Fix a warning.
37802169689Skan
37803169689Skan2003-01-01  Neil Booth  <neil@daikokuya.co.uk>
37804169689Skan
37805169689Skan	* config/darwin-protos.h, config/c4x/c4x-protos.h,
37806169689Skan	config/cris/cris-protos.h, config/i370/i370-protos.h,
37807169689Skan	config/i960/i960-protos.h, config/ia64/ia64-protos.h,
37808169689Skan	config/v850/v850-protos.h: Use struct, and don't conditionally
37809169689Skan	compile on GCC_C_PRAGMA_H.
37810169689Skan
37811169689Skan2003-01-01  Kazu Hirata  <kazu@cs.umass.edu>
37812169689Skan
37813169689Skan	* config/arm/arm-protos.h: Remove #ifdef GCC_C_PRAGMA_H.
37814169689Skan	* config/h8300/h8300-protos.h: Likewise.
37815169689Skan	* config/sh/sh-protos.h: Likewise.
37816169689Skan
37817169689Skan2003-01-01  Kazu Hirata  <kazu@cs.umass.edu>
37818169689Skan
37819169689Skan	* config/arm/arm-protos.h: Use struct cpp_reader instead of
37820169689Skan	cpp_reader.
37821169689Skan	* config/h8300/h8300-protos.h: Likewise.
37822169689Skan	* config/sh/sh-protos.h: Likewise.
37823169689Skan
37824169689Skan2003-01-01  Neil Booth  <neil@daikokuya.co.uk>
37825169689Skan
37826169689Skan	* config/arm/arm.c (arm_pr_long_calls, arm_pr_no_long_calls,
37827169689Skan	arm_pr_long_calls_off): Use struct.
37828169689Skan	* config/h8300/h8300.c (h8300_pr-interrupt, h8300_pr_saveall)
37829169689Skan	: Similarly.
37830169689Skan	Don't include cpplib.h.
37831169689Skan	* config/sh/sh.c (sh_pr_interrupt, sh_pr_trapa,
37832169689Skan	sh_pr_nosave_low_regs): Similarly.
37833169689Skan
37834169689Skan2003-01-01  Kazu Hirata  <kazu@cs.umass.edu>
37835169689Skan
37836169689Skan	* config/h8300/h8300.c: Include cpplib.h.
37837169689Skan
37838169689Skan2003-01-01  Steven Bosscher  <s.bosscher@student.tudelft.nl>
37839169689Skan
37840169689Skan	* objc/Make-lang.in, objc/config-lang.in, objc/lang-options.h,
37841169689Skan	  objc/lang-specs.h, objc/objc-act.c, objc/objc-act.h,
37842169689Skan	  objc/objc-lang.c, objc/objc-tree.def: Replace "GNU CC" with
37843169689Skan	  "GCC" in the copyright header.
37844169689Skan
37845169689Skan2003-01-01  Neil Booth  <neil@daikokuya.co.uk>
37846169689Skan
37847169689Skan	* c-pragma.c (c_register_pragma): New.
37848169689Skan	(init_pragma): Use it.
37849169689Skan	* c-pragma.h (cpp_register_pragma): Don't declare.
37850169689Skan	(c_register_pragma): New.
37851169689Skan	* cpplib.h: Remove #ifdef GCC_C_PRAGMA_H.
37852169689Skan	* config/darwin.h (REGISTER_TARGET_PRAGMAS): Update.
37853169689Skan	* config/arm/arm.h (REGISTER_TARGET_PRAGMAS): Update.
37854169689Skan	* config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
37855169689Skan	* config/h8300/h8300.h (REGISTER_TARGET_PRAGMAS): Update.
37856169689Skan	* config/i370/i370.h (REGISTER_TARGET_PRAGMAS): Update.
37857169689Skan	* config/i960/i960.h (REGISTER_TARGET_PRAGMAS): Update.
37858169689Skan	* config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Update.
37859169689Skan	* config/rs6000/rs6000.h (REGISTER_TARGET_PRAGMAS): Update.
37860169689Skan	* config/sh/sh.h (REGISTER_TARGET_PRAGMAS): Update.
37861169689Skan	* config/v850/v850.h (REGISTER_TARGET_PRAGMAS): Update.
37862169689Skan	* doc/tm.texi (REGISTER_TARGET_PRAGMAS): Update
37863