1220150Smm2007-08-31  Jakub Jelinek  <jakub@redhat.com>
2220150Smm
3220150Smm	PR rtl-optimization/33148
4220150Smm	* simplify-rtx.c (simplify_unary_operation_1): Only optimize
5220150Smm	(neg (lt X 0)) if X has scalar int mode.
6220150Smm
7220150Smm	PR debug/32914
8220150Smm	* dwarf2out.c (rtl_for_decl_init): If vector decl has CONSTRUCTOR
9220150Smm	initializer, use build_vector_from_ctor if possible to create
10220150Smm	VECTOR_CST out of it.  If vector initializer is not VECTOR_CST
11220150Smm	even after this, return NULL.
12220150Smm
13220150Smm2007-08-27  Jason Merrill  <jason@redhat.com>
14220150Smm
15220150Smm	PR c++/31337
16220150Smm	* gimplify.c (gimplify_modify_expr): Discard the assignment of 
17220150Smm	zero-sized types after calling gimplify_modify_expr_rhs.
18220150Smm
19220150Smm2007-08-24  Jakub Jelinek  <jakub@redhat.com>
20220150Smm
21220150Smm	PR debug/32610
22220150Smm	* dwarf2out.c (gen_decl_die): Don't call
23220150Smm	gen_tagged_type_instantiation_die if decl doesn't have tagged type.
24220150Smm
25220150Smm2007-08-24  Richard Guenther  <rguenther@suse.de>
26220150Smm
27220150Smm	* expr.c (get_inner_reference): Remove unused variable.
28220150Smm
29220150Smm2007-08-24  Richard Guenther  <rguenther@suse.de>
30220150Smm
31220150Smm	* expr.c (get_inner_reference): Do computation of bitoffset
32220150Smm	from offset in a way we can detect overflow reliably.
33220150Smm
34220150Smm2007-08-22  Richard Guenther  <rguenther@suse.de>
35220150Smm
36220150Smm	PR middle-end/32563
37220150Smm	* tree.c (host_integerp): Treat sizetype as signed as it is
38220150Smm	sign-extended.
39220150Smm
40220150Smm2007-08-20  Adam Nemet  <anemet@caviumnetworks.com>
41220150Smm
42220150Smm	* config/mips/predicates.md (const_call_insn_operand): Invoke
43220150Smm	SYMBOL_REF_LONG_CALL_P only on SYMBOL_REFs.
44220150Smm
45220150Smm2007-08-17  Chen liqin  <liqin@sunnorth.com.cn>
46220150Smm
47220150Smm        * config/score/score.md : Update pattern tablejump.
48220150Smm        * config/score/score.c : Update score_initialize_trampoline 
49220150Smm        function.
50220150Smm        * config/score/score.h (TRAMPOLINE_TEMPLATE): Added macro.
51220150Smm        (TRAMPOLINE_INSNS, TRAMPOLINE_SIZE) Update macro.
52220150Smm        * doc/contrib.texi: Add my entry.
53220150Smm
54220150Smm2007-08-02  Andreas Krebbel  <krebbel1@de.ibm.com>
55220150Smm
56220150Smm	* config/s390/s390.md ("*xordi3_cconly"): Change xr to xg.
57220150Smm
58220150Smm2007-08-01  Andreas Krebbel  <krebbel1@de.ibm.com>
59220150Smm
60220150Smm	* config/s390/s390.md (TF in GPR splitter): Change operand_subword
61220150Smm	parameter to TFmode.
62220150Smm
63220150Smm2007-07-30  Mark Mitchell  <mark@codesourcery.com>
64220150Smm
65220150Smm	* BASE-VER: Bump.
66220150Smm	* DEV-PHASE: Mark as prerelease.
67220150Smm
68220150Smm2007-07-25  Steve Ellcey  <sje@cup.hp.com>
69220150Smm
70220150Smm	PR target/32218
71220150Smm	* tree-vect-patterns.c (vect_pattern_recog_1): Check for valid type.
72220150Smm
73220150Smm2007-07-25  Dorit Nuzman  <dorit@il.ibm.com>
74220150Smm	    Devang Patel  <dpatel@apple.com>
75220150Smm
76220150Smm	PR tree-optimization/25413
77220150Smm	* targhooks.c (default_builtin_vector_alignment_reachable): New.
78220150Smm	* targhooks.h (default_builtin_vector_alignment_reachable): New.
79220150Smm	* tree.h (contains_packed_reference): New.
80220150Smm	* expr.c (contains_packed_reference): New.
81220150Smm	* tree-vect-analyze.c (vector_alignment_reachable_p): New.
82220150Smm	(vect_enhance_data_refs_alignment): Call
83220150Smm	vector_alignment_reachable_p.
84220150Smm	* target.h (vector_alignment_reachable): New builtin.
85220150Smm	* target-def.h (TARGET_VECTOR_ALIGNMENT_REACHABLE): New.
86220150Smm	* config/rs6000/rs6000.c (rs6000_vector_alignment_reachable): New.
87220150Smm	(TARGET_VECTOR_ALIGNMENT_REACHABLE): Define.
88220150Smm
89220150Smm2007-07-24  Richard Guenther  <rguenther@suse.de>
90220150Smm
91220150Smm	Backport from mainline:
92220150Smm	2007-07-16  Richard Guenther  <rguenther@suse.de>
93220150Smm		    Uros Bizjak  <ubizjak@gmail.com>
94220150Smm
95220150Smm	* tree-if-conv.c (find_phi_replacement_condition): Unshare "*cond"
96220150Smm	before forcing it to gimple operand.
97220150Smm
98220150Smm2007-07-24  Richard Guenther  <rguenther@suse.de>
99220150Smm
100220150Smm	PR tree-optimization/32723
101220150Smm	Backport from mainline:
102220150Smm	2007-03-09  Daniel Berlin  <dberlin@dberlin.org>
103220150Smm
104220150Smm        * tree-ssa-structalias.c (shared_bitmap_info_t): New structure.
105220150Smm        (shared_bitmap_table): New variable.
106220150Smm        (shared_bitmap_hash): New function.
107220150Smm        (shared_bitmap_eq): Ditto
108220150Smm        (shared_bitmap_lookup): Ditto.
109220150Smm        (shared_bitmap_add): Ditto.
110220150Smm        (find_what_p_points_to): Rewrite to use shared bitmap hashtable.
111220150Smm        (init_alias_vars): Init shared bitmap hashtable.
112220150Smm        (delete_points_to_sets): Delete shared bitmap hashtable.
113220150Smm
114220150Smm2007-07-23  Bernd Schmidt  <bernd.schmidt@analog.com>
115220150Smm
116220150Smm	* reload1.c (choose_reload_regs): Set reload_spill_index for regs
117220150Smm	chosen during find_reloads.
118220150Smm
119171825Skan2007-07-19  Release Manager
120171825Skan
121171825Skan	* GCC 4.2.1 released.
122171825Skan
123171825Skan2007-07-18  Paolo Bonzini  <bonzini@gnu.org>
124171825Skan
125171825Skan	Revert:
126171825Skan
127171825Skan	2007-07-09  Paolo Bonzini  <bonzini@gnu.org>
128171825Skan
129171825Skan	PR middle-end/32004
130171825Skan	* function.c (rest_of_match_asm_constraints): Pass PROP_REG_INFO.
131171825Skan
132171825Skan	2007-07-06  Paolo Bonzini  <bonzini@gnu.org>
133171825Skan
134171825Skan	PR middle-end/32004
135171825Skan	* function.c (match_asm_constraints_1, rest_of_match_asm_constraints,
136171825Skan	pass_match_asm_constraints): New.
137171825Skan	* passes.c (init_optimization_passes): Add new pass.
138171825Skan	* stmt.c (expand_asm_operands): Set cfun->has_asm_statement.
139171825Skan	* function.h (struct function): Add has_asm_statement bit.
140171825Skan	(current_function_has_asm_statement): New.
141171825Skan	* tree-pass.h (pass_match_asm_constraints): New.
142171825Skan
143171825Skan2007-07-16  Paul Brook  <paul@codesourcery.com>
144171825Skan
145171825Skan	PR target/32753
146171825Skan	gcc/
147171825Skan	* config/arm/cirrus.md (cirrus_arm_movsi_insn): Remove dead insn.
148171825Skan
149171825Skan2007-07-10  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
150171825Skan
151171825Skan	PR target/32538
152171825Skan	* config/mips/iris6.h (LIBGCC_SPEC): Add libm.
153171825Skan
154171825Skan2007-07-09  Paolo Bonzini  <bonzini@gnu.org>
155171825Skan
156171825Skan	PR middle-end/32004
157171825Skan	* function.c (rest_of_match_asm_constraints): Pass PROP_REG_INFO.
158171825Skan
159171825Skan2007-07-09  Uros Bizjak  <ubizjak@gmail.com>
160171825Skan
161171825Skan	PR tree-optimization/32681
162171825Skan	* tree-if-conv.c (find_phi_replacement_condition): Use the condition
163171825Skan	saved in second_edge->aux when first_bb is a loop header.
164171825Skan
165171825Skan2007-07-07 Anatoly Sokolov <aesok@post.ru>
166171825Skan
167171825Skan	PR target/31331
168171825Skan	* config/avr/avr.c (avr_naked_function_p): Handle receiving a type
169171825Skan	rather than a decl. 
170171825Skan	(avr_attribute_table): Make "naked" attribute apply to function types
171171825Skan	rather than to decls.
172171825Skan	(avr_handle_fntype_attribute): New function.
173171825Skan
174171825Skan2007-07-06  Paolo Bonzini  <bonzini@gnu.org>
175171825Skan
176171825Skan	PR middle-end/32004
177171825Skan	* function.c (match_asm_constraints_1, rest_of_match_asm_constraints,
178171825Skan	pass_match_asm_constraints): New.
179171825Skan	* passes.c (init_optimization_passes): Add new pass.
180171825Skan	* stmt.c (expand_asm_operands): Set cfun->has_asm_statement.
181171825Skan	* function.h (struct function): Add has_asm_statement bit.
182171825Skan	(current_function_has_asm_statement): New.
183171825Skan	* tree-pass.h (pass_match_asm_constraints): New.
184171825Skan
185171825Skan2007-07-06  Uros Bizjak  <ubizjak@gmail.com>
186171825Skan
187171825Skan	PR rtl-optimization/32450
188171825Skan	* function.c (thread_prologue_and_epilogue_insns): Emit blockage insn
189171825Skan	to ensure that instructions are not moved into the prologue when
190171825Skan	profiling is on.
191171825Skan
192171825Skan2007-07-04  Richard Guenther  <rguenther@suse.de>
193171825Skan
194171825Skan	PR tree-optimization/32500
195171825Skan	* tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined):
196171825Skan	Only use basic blocks that are always executed to infer loop bounds.
197171825Skan
198171825Skan2007-07-04  Uros Bizjak  <ubizjak@gmail.com>
199171825Skan
200171825Skan	PR tree-optimization/31966
201171825Skan	PR tree-optimization/32533
202171825Skan	* tree-if-conv.c (add_to_dst_predicate_list): Use "edge", not
203171825Skan	"basic_block" description as its third argument.  Update function
204171825Skan	calls to get destination bb from "edge" argument.  Save "cond" into
205171825Skan	aux field of the edge.  Update prototype for changed arguments.
206171825Skan	(if_convertible_loop_p): Clear aux field of incoming edges if bb
207171825Skan	contains phi node.
208171825Skan	(find_phi_replacement_condition): Operate on incoming edges, not
209171825Skan	on predecessor blocks.  If there is a condition saved in the
210171825Skan	incoming edge aux field, AND it with incoming bb predicate.
211171825Skan	Return source bb of the first edge.
212171825Skan	(clean_predicate_lists): Clean aux field of outgoing node edges.
213171825Skan	(tree_if_conversion): Do not initialize cond variable. Move
214171825Skan	variable declaration into the loop.
215171825Skan	(replace_phi_with_cond_gimple_modify_stmt): Remove unneded
216171825Skan	initializations of new_stmt, arg0 and arg1 variables.
217171825Skan
218171825Skan2007-07-04  Kaz Kojima  <kkojima@gcc.gnu.org>
219171825Skan
220171825Skan	PR target/32506
221171825Skan	Backport from mainline.
222171825Skan	* config/sh/sh.md (udivsi3_i1_media): Use target_reg_operand
223171825Skan	predicate instead of target_operand.
224171825Skan	(divsi3_i1_media, divsi3_media_2): Likewise.
225171825Skan
226171825Skan2007-07-03  Richard Guenther  <rguenther@suse.de>
227171825Skan
228171825Skan	Backport from mainline:
229171825Skan	2006-12-11  Zdenek Dvorak <dvorakz@suse.cz>
230171825Skan
231171825Skan	PR rtl-optimization/30113
232171825Skan	* loop-iv.c (implies_p): Require the mode of the operands to be
233171825Skan	scalar.
234171825Skan
235171825Skan2007-07-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
236171825Skan
237171825Skan	PR target/28307
238171825Skan	* gthr-posix.h [SUPPORTS_WEAK && GTHREAD_USE_WEAK]
239171825Skan	(__gthrw_pragma): Provide default definition.
240171825Skan	(__gthrw2): Use it.
241171825Skan	* gthr-posix.c (__gthrw_pragma): Define.
242171825Skan
243171825Skan2007-07-02  Jakub Jelinek  <jakub@redhat.com>
244171825Skan
245171825Skan	PR libgomp/32468
246171825Skan	* omp-low.c (check_combined_parallel): New function.
247171825Skan	(lower_omp_parallel): Call it via walk_stmts, set
248171825Skan	OMP_PARALLEL_COMBINED if appropriate.
249171825Skan	(determine_parallel_type): If OMP_FOR resp. OMP_SECTIONS
250171825Skan	isn't the only statement in WS_ENTRY_BB or OMP_RETURN
251171825Skan	the only one in PAR_EXIT_BB and not OMP_PARALLEL_COMBINED,
252171825Skan	don't consider it as combined parallel.
253171825Skan
254171825Skan2007-06-30  Alexandre Oliva  <aoliva@redhat.com>
255171825Skan
256171825Skan	* dwarf2out.c (dwarf2out_finish): Accept namespaces as context of
257171825Skan	limbo die nodes.
258171825Skan
259171825Skan2007-06-28  Seongbae Park  <seongbae.park@gmail.com>
260171825Skan
261171825Skan	* config/arm/arm.c (arm_get_frame_offsets): Set
262171825Skan	offsets->locals_base to avoid negative stack size.
263171825Skan	(thumb_expand_prologue): Assert on negative stack size.
264171825Skan
265171825Skan2007-06-28  Jakub Jelinek  <jakub@redhat.com>
266171825Skan
267171825Skan	* config/rs6000/rs6000.c (rs6000_function_ok_for_sibcall): Ensure
268171825Skan	decl is non-external for AIX ABI.
269171825Skan
270171825Skan2007-06-28  David Edelsohn  <edelsohn@gnu.org>
271171825Skan
272171825Skan	* config/rs6000/predicates.md (current_file_function_operand):
273171825Skan	Ensure the symbol is non-external for AIX ABI.
274171825Skan
275171825Skan2007-06-21  H.J. Lu  <hongjiu.lu@intel.com>
276171825Skan
277171825Skan	* config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_VEC_EXT_V16QI.
278171825Skan	(ix86_init_mmx_sse_builtins): Add __builtin_ia32_vec_ext_v16qi.
279171825Skan	(ix86_expand_builtin): Handle IX86_BUILTIN_VEC_EXT_V16QI.
280171825Skan
281171825Skan2007-06-21  Jakub Jelinek  <jakub@redhat.com>
282171825Skan
283171825Skan	PR middle-end/32362
284171825Skan	* omp-low.c (lookup_decl_in_outer_ctx): Don't ICE if t is NULL,
285171825Skan	but decl is a global var, instead return decl.
286171825Skan	* gimplify.c (gimplify_adjust_omp_clauses_1): Add shared clauses
287171825Skan	even for is_global_var decls, if they are private in some outer
288171825Skan	context.
289171825Skan
290171825Skan2007-06-21  Uros Bizjak  <ubizjak@gmail.com>
291171825Skan
292171825Skan	PR target/32389
293171825Skan	* config/i386/i386.h (enum ix86_stack_slot): Add SLOT_VIRTUAL.
294171825Skan	* config/i386/i386.c (assign_386_stack_local): Assert that
295171825Skan	SLOT_VIRTUAL is valid only before virtual regs are instantiated.
296171825Skan	(ix86_expand_builtin) [IX86_BUILTIN_LDMXCSR, IX86_BUILTIN_STMXCSR]:
297171825Skan	Use SLOT_VIRTUAL stack slot instead of SLOT_TEMP.
298171825Skan	* config/i386/i386.md (truncdfsf2, truncxfsf2, truncxfdf2): Ditto.
299171825Skan
300171825Skan2007-06-20  Jakub Jelinek  <jakub@redhat.com>
301171825Skan
302171825Skan	PR inline-asm/32109
303171825Skan	* gimplify.c (gimplify_asm_expr): Issue error if type is addressable
304171825Skan	and !allows_mem.
305171825Skan
306171825Skan	PR middle-end/32285
307171825Skan	* calls.c (precompute_arguments): Also precompute CALL_EXPR arguments
308171825Skan	if ACCUMULATE_OUTGOING_ARGS.
309171825Skan
310171825Skan2007-06-20  Kaz Kojima  <kkojima@gcc.gnu.org>
311171825Skan
312171825Skan	PR rtl-optimization/28011
313171825Skan	Backport from mainline.
314171825Skan	* reload.c (push_reload): Set dont_share if IN appears in OUT
315171825Skan	also when IN is a PLUS rtx.
316171825Skan	(reg_overlap_mentioned_for_reload_p): Return true if X and IN
317171825Skan	are same PLUS rtx.
318171825Skan
319171825Skan2007-06-19  Richard Guenther  <rguenther@suse.de>
320171825Skan	Michael Matz  <matz@suse.de>
321171825Skan
322171825Skan	PR tree-optimization/30252
323171825Skan	* tree-ssa-structalias.c (solution_set_add): Make sure to
324171825Skan	preserve all relevant vars.
325171825Skan	(handle_ptr_arith): Make sure to only handle positive
326171825Skan	offsets.
327171825Skan	(push_fields_onto_fieldstack): Create fields for empty
328171825Skan	bases.
329171825Skan
330171825Skan2007-06-19  Jakub Jelinek  <jakub@redhat.com>
331171825Skan
332171825Skan	PR tree-optimization/32353
333171825Skan	* tree-ssa-structalias.c (set_uids_in_ptset): Also handle RESULT_DECL.
334171825Skan
335171825Skan2007-06-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
336171825Skan
337171825Skan	* config/sparc/sparc.c (sparc_vis_init_builtins): Retrieve the
338171825Skan	return mode from the builtin itself.
339171825Skan	(sparc_fold_builtin): Fix cast of zero constant.
340171825Skan
341171825Skan2007-06-15  Diego Novillo  <dnovillo@google.com>
342171825Skan
343171825Skan	PR 32327
344171825Skan	* tree-ssa-operands.c (build_ssa_operands): Initially assume
345171825Skan	that the statement does not take any addresses.
346171825Skan
347171825Skan2007-06-13  Eric Botcazou  <ebotcazou@libertysurf.fr>
348171825Skan
349171825Skan	* config/sparc/sparc.c (sparc_override_options): Initialize
350171825Skan	fpu mask correctly.
351171825Skan
352171825Skan2007-06-09  Ian Lance Taylor  <iant@google.com>
353171825Skan
354171825Skan	PR tree-optimization/32169
355171825Skan	* tree-vrp.c (extract_range_from_unary_expr): For NOP_EXPR and
356171825Skan	CONVERT_EXPR, check whether min and max both converted to an
357171825Skan	overflow infinity representation.
358171825Skan
359171825Skan2007-06-08  Kaz Kojima  <kkojima@gcc.gnu.org>
360171825Skan
361171825Skan	PR target/32163
362171825Skan	Backport from mainline.
363171825Skan	* config/sh/sh.md (symGOT_load): Don't schedule insns when
364171825Skan	the symbol is generated with the stack protector.
365171825Skan
366171825Skan2007-06-06  Ian Lance Taylor  <iant@google.com>
367171825Skan
368171825Skan	* fold-const.c (merge_ranges): If range_successor or
369171825Skan	range_predecessor fail, just return 0.
370171825Skan
371171825Skan2007-06-05  Ian Lance Taylor  <iant@google.com>
372171825Skan
373171825Skan	* tree-vrp.c (compare_values_warnv): Check TREE_NO_WARNING on a
374171825Skan	PLUS_EXPR or MINUS_EXPR node before setting *strict_overflow_p.
375171825Skan	(extract_range_from_assert): Set TREE_NO_WARNING when creating an
376171825Skan	expression.
377171825Skan	(test_for_singularity): Likewise.
378171825Skan
379171825Skan2007-06-04  Ian Lance Taylor  <iant@google.com>
380171825Skan
381171825Skan	* tree-vrp.c (adjust_range_with_scev): When loop is not expected
382171825Skan	to overflow, reduce overflow infinity to regular infinity.
383171825Skan	(vrp_var_may_overflow): New static function.
384171825Skan	(vrp_visit_phi_node): Check vrp_var_may_overflow.
385171825Skan
386171825Skan2007-05-31  H.J. Lu  <hongjiu.lu@intel.com>
387171825Skan
388171825Skan	Backport from mainline:
389171825Skan	2007-05-25  H.J. Lu  <hongjiu.lu@intel.com>
390171825Skan
391171825Skan	* config/i386/i386.c (__builtin_ia32_vec_ext_v2df): Mark it
392171825Skan	with MASK_SSE2.
393171825Skan	(__builtin_ia32_vec_ext_v2di): Likewise.
394171825Skan	(__builtin_ia32_vec_ext_v4si): Likewise.
395171825Skan	(__builtin_ia32_vec_ext_v8hi): Likewise.
396171825Skan	(__builtin_ia32_vec_set_v8hi): Likewise.
397171825Skan
398171825Skan2007-05-31  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
399171825Skan
400171825Skan	Backport from mainline:
401171825Skan	2007-05-05  Aurelien Jarno  <aurelien@aurel32.net>
402171825Skan
403171825Skan	* config/pa/pa.md: Split tgd_load, tld_load and tie_load
404171825Skan	into pic and non-pic versions. Mark r19 as used for 
405171825Skan	tgd_load_pic, tld_load_pic and tie_load_pic. Mark r27 as used 
406171825Skan	for tgd_load, tld_load and tie_load .
407171825Skan	* config/pa/pa.c (legitimize_tls_address): Emit pic or non-pic
408171825Skan	version of tgd_load, tld_load and tie_load depending on the 
409171825Skan	value of flag_pic.
410171825Skan
411171825Skan2007-05-27  Daniel Berlin <dberlin@dberlin.org>
412171825Skan
413171825Skan	Fix PR/30052
414171825Skan	Backport PTA solver from mainline
415171825Skan
416171825Skan	* pointer-set.c: Copy from mainline
417171825Skan	* pointer-set.h: Ditto.
418171825Skan	* tree-ssa-structalias.c: Copy solver portions from mainline.
419171825Skan	* Makefile.in (tree-ssa-structalias.o): Update dependencies
420171825Skan
421171825Skan2007-05-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
422171825Skan
423171825Skan	* tree-vrp.c (compare_names): Initialize sop.
424171825Skan
425171825Skan2007-05-30  Jakub Jelinek  <jakub@redhat.com>
426171825Skan
427171825Skan	PR tree-optimization/31769
428171825Skan	* except.c (duplicate_eh_regions): Clear prev_try if
429171825Skan	ERT_MUST_NOT_THROW region is inside of ERT_TRY region.
430171825Skan
431171825Skan2007-05-28  Andrew Pinski  <andrew_pinski@playstation.sony.com>
432171825Skan
433171825Skan	PR tree-opt/32100
434171825Skan	* fold-const.c (tree_expr_nonnegative_warnv_p): Don't
435171825Skan	return true when truth_value_p is true and the type
436171825Skan	is of signed:1.
437171825Skan
438171825Skan2007-05-27  H.J. Lu  <hongjiu.lu@intel.com>
439171825Skan
440171825Skan	Backport from mainline:
441171825Skan	2007-05-25  Uros Bizjak  <ubizjak@gmail.com>
442171825Skan
443171825Skan	* config/i386/sse.md (*vec_extractv2di_1_sse2): Do not calculate
444171825Skan	"memory" attribute for "sseishft" type insn without operands[2].
445171825Skan
446171825Skan	2007-05-25  H.J. Lu  <hongjiu.lu@intel.com>
447171825Skan
448171825Skan	* config/i386/sse.md (*vec_extractv2di_1_sse2): Correct shift.
449171825Skan
450171825Skan2007-05-22  Ian Lance Taylor  <iant@google.com>
451171825Skan
452171825Skan	* tree-vrp.c (avoid_overflow_infinity): New static function,
453171825Skan	broken out of set_value_range_to_value.
454171825Skan	(set_value_range_to_value): Call avoid_overflow_infinity.
455171825Skan	(extract_range_from_assert): Likewise.
456171825Skan
457171825Skan2007-05-23  Chen Liqin  <liqin@sunnorth.com.cn>
458171825Skan
459171825Skan	PR target/30987
460171825Skan	* config/score/misc.md (bitclr_c, bitset_c, bittgl_c): remove.
461171825Skan	* config/score/predicate.md (const_pow2, const_npow2): remove.
462171825Skan	* config/score/score.h (ASM_OUTPUT_EXTERNAL): add ASM_OUTPUT_EXTERNAL undef.
463171825Skan	PR target/30474
464171825Skan	* config/score/score.c (score_print_operand): makes sure that only lower 
465171825Skan	bits are used.
466171825Skan	
467171825Skan2007-05-21  Uros Bizjak  <ubizjak@gmail.com>
468171825Skan
469171825Skan	PR target/31167
470171825Skan	Backport from mainline.
471171825Skan	* config/i386/i386.md (*addti3_1, *addti3_1 splitter): Use
472171825Skan	x86_64_general_operand as operand[2] predicate.  Remove "iF"
473171825Skan	from operand constraints and use "e" constraint instead.
474171825Skan	(*subti3_1, *subti3_1 splitter): Ditto.
475171825Skan	(*negti2_1, *negti2_1 splitter): Use nonimmediate_operand as
476171825Skan	operand[1] predicate.
477171825Skan
478171825Skan2007-05-21  Uros Bizjak  <ubizjak@gmail.com>
479171825Skan
480171825Skan	PR target/30041
481171825Skan	Backport from mainline.
482171825Skan	* config/i386/sse.md ("*sse3_movddup"): Use operands[0] and
483171825Skan	operands[1] in insn constraint.  Correct type attribute to sselog1.
484171825Skan
485171825Skan2007-05-20  Kaz Kojima  <kkojima@gcc.gnu.org>
486171825Skan
487171825Skan	PR target/31701
488171825Skan	Backport from mainline.
489171825Skan	* config/sh/sh.c (output_stack_adjust): Avoid using the frame
490171825Skan	register itself to hold the offset constant.  Tell flow the use
491171825Skan	of r4 and r5 when they are used.
492171825Skan
493171825Skan2007-05-20  Kaz Kojima  <kkojima@gcc.gnu.org>
494171825Skan
495171825Skan	PR target/31480
496171825Skan	Backport from mainline.
497171825Skan	* config/sh/sh.md (length): Check if prev_nonnote_insn (insn)
498171825Skan	is null.
499171825Skan
500171825Skan2007-05-20  Kaz Kojima  <kkojima@gcc.gnu.org>
501171825Skan
502171825Skan	PR target/31022
503171825Skan	Backport from mainline.
504171825Skan	* config/sh/sh.c (sh_adjust_cost): Use the result of single_set
505171825Skan	instead of PATTERN.
506171825Skan
507171825Skan2007-05-20  Kaz Kojima  <kkojima@gcc.gnu.org>
508171825Skan
509171825Skan	PR target/27405
510171825Skan	Backport from mainline.
511171825Skan	* config/sh/sh.md (cmp{eq,gt,gtu}{si,di}_media): Remove.
512171825Skan	(cmpsi{eq,gt,gtu}{si,di}_media): Rename to
513171825Skan	cmp{eq,gt,gtu}{si,di}_media.
514171825Skan	(*cmpne0si_media): Remove.
515171825Skan	(*movsicc_umin): Adjust gen_cmp*_media call.
516171825Skan	(unordered): Change the mode of unordered and operands[1] to
517171825Skan	SImode.
518171825Skan	(seq): Adjust gen_cmp*_media calls.  Make the mode of
519171825Skan	a temporary result of compare SImode if needed.  If the mode
520171825Skan	of operands[0] is DImode, extend the temporary result to DImode.
521171825Skan	(slt, sle, sgt, sge, sgtu, sltu, sleu, sgue, sne): Likewise.
522171825Skan	(sunorderd): Change the mode of match_operand and unorderd to
523171825Skan	SImode.
524171825Skan	(cmpeq{sf,df}_media): Remove.
525171825Skan	(cmpsieq{sf,df}_media): Rename to cmpeq{sf,df}_media.
526171825Skan	(cmp{gt,ge,un}{sf,df}_media): Change the mode of match_operand
527171825Skan	and compare operation to SImode.
528171825Skan
529171825Skan2007-05-18  Joseph Myers  <joseph@codesourcery.com>
530171825Skan
531171825Skan	* config/soft-fp/double.h, config/soft-fp/extended.h,
532171825Skan	config/soft-fp/floatundidf.c, config/soft-fp/floatundisf.c,
533171825Skan	config/soft-fp/floatunsidf.c, config/soft-fp/floatunsisf.c,
534171825Skan	config/soft-fp/op-2.h, config/soft-fp/op-4.h,
535171825Skan	config/soft-fp/op-common.h, config/soft-fp/quad.h: Update from
536171825Skan	glibc CVS.
537171825Skan
538171825Skan2007-05-17  Ian Lance Taylor  <iant@google.com>
539171825Skan
540171825Skan	PR tree-optimization/31953
541171825Skan	* tree-vrp.c (set_value_range_to_value): Add equiv parameter.
542171825Skan	Change all callers.
543171825Skan	(set_value_range_to_null): Call set_value_range_to_value.
544171825Skan	(extract_range_from_comparison): Likewise.
545171825Skan
546171825Skan2007-05-17  Eric Botcazou  <ebotcazou@libertysurf.fr>
547171825Skan
548171825Skan	PR rtl-optimization/31691
549171825Skan	* combine.c (simplify_set): Build a new src pattern instead of
550171825Skan	substituting its operands in the COMPARE case.
551171825Skan
552171825Skan2007-05-14  Mark Mitchell  <mark@codesourcery.com>
553171825Skan
554171825Skan	* BASE-VER: Set to 4.2.1.
555171825Skan	* DEV-PHASE: Set to prerelease.
556171825Skan
557169689Skan2007-05-13  Release Manager
558161651Skan
559169689Skan	* GCC 4.2.0 released.
560161651Skan
561169689Skan2007-05-12  Richard Guenther  <rguenther@suse.de>
562161651Skan
563169689Skan	PR tree-optimization/31797
564169689Skan	* tree-ssa-forwprop.c (forward_propagate_addr_expr): Do not
565169689Skan	propagate into a stmt that has volatile ops.
566161651Skan
567169689Skan2007-05-01  Ian Lance Taylor  <iant@google.com>
568161651Skan
569169689Skan	PR tree-optimization/31739
570169689Skan	* tree-vrp.c (vrp_val_is_max): New static function.
571169689Skan	(vrp_val_is_min): New static function.
572169689Skan	(set_value_range_to_value): Use TYPE_{MAX,MIN}_VALUE rather than
573169689Skan	copying the node.
574169689Skan	(set_value_range): Use vrp_val_is_{max,min}.
575169689Skan	(extract_range_from_assert): Likewise.
576169689Skan	(extract_range_from_binary_expr): Likewise.
577169689Skan	(extract_range_from_unary_expr): Likewise.
578169689Skan	(dump_value_range, vrp_meet): Likewise.
579169689Skan	(vrp_visit_phi_node): Likewise.
580169689Skan	* tree.c (build_distinct_type_copy): Revert change of 2007-04-27.
581161651Skan
582169689Skan2007-05-01  Joseph Myers  <joseph@codesourcery.com>
583161651Skan
584169689Skan	* config/rs6000/libgcc-ppc-glibc.ver (__gcc_qgt): Fix typo.
585161651Skan
586169689Skan2007-04-27  Anatoly Sokolov <aesok@post.ru>
587161651Skan
588169689Skan	* config/avr/avr.c (avr_mcu_types): Add support for ATmega8HVA and 
589169689Skan	ATmega16HVA devices. Move AT90USB82 device to 'avr5' architecture.
590169689Skan	* config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
591169689Skan	* config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
592161651Skan
593169689Skan2007-04-27  Ian Lance Taylor  <iant@google.com>
594161651Skan
595169689Skan	PR middle-end/31710
596169689Skan	* tree.c (build_distinct_type_copy): If TYPE_MIN_VALUE or
597169689Skan	TYPE_MAX_VALUE exist, convert them to the new type.
598161651Skan
599169689Skan2007-04-26  Ian Lance Taylor  <iant@google.com>
600161651Skan
601169689Skan	PR target/28675
602169689Skan	* reload.c (find_reloads_subreg_address): If the address was valid
603169689Skan	in the original mode but not in the new mode, reload the whole
604169689Skan	address.
605161651Skan
606169689Skan2007-04-26  Ulrich Weigand  <uweigand@de.ibm.com>
607161651Skan
608169689Skan	PR middle-end/30761
609169689Skan	* reload1.c (eliminate_regs_in_insn): In the single_set special
610169689Skan	case, attempt to re-recognize the insn before falling back to
611169689Skan	having reload fix it up.
612161651Skan
613169689Skan2007-04-26  Richard Guenther  <rguenther@suse.de>
614169689Skan	Daniel Berlin  <dberlin@dberlin.org>
615161651Skan
616169689Skan	PR tree-optimization/30567
617169689Skan	* tree-ssa-structalias.c (update_alias_info): Record dereference
618169689Skan	also if ESCAPE_STORED_IN_GLOBAL.
619161651Skan
620169689Skan2007-04-26  Jakub Jelinek  <jakub@redhat.com>
621161651Skan
622169689Skan	PR c++/31598
623169689Skan	* tree-inline.c (copy_body_r): Don't touch TREE_TYPE of OMP_CLAUSE.
624161651Skan
625169689Skan	PR tree-optimization/30558
626169689Skan	* tree-eh.c (lower_eh_filter): If EH_FILTER_MUST_NOT_THROW
627169689Skan	clear this_state.prev_try.
628161651Skan
629169689Skan2007-04-25  Anatoly Sokolov <aesok@post.ru>
630161651Skan
631169689Skan	PR target/18989
632169689Skan 	* config/avr/avr.h (ASM_OUTPUT_ALIGN): Redefine.
633161651Skan
634169689Skan2007-04-24  Andrew Pinski  <andrew_pinski@playstation.sony.com>
635169689Skan            Roger Sayle  <roger@eyesopen.com>
636161651Skan
637169689Skan	PR middle-end/30222
638169689Skan	* expmed.c (make_tree): Use the correct type, i.e. the inner
639169689Skan	type, when constructing the individual elements of a CONST_VECTOR.
640161651Skan
641169689Skan2007-04-24  Ian Lance Taylor  <iant@google.com>
642161651Skan
643169689Skan	PR tree-optimization/31605
644169689Skan	* tree-vrp.c (set_value_range): Check that min and max are not
645169689Skan	both overflow infinities.
646169689Skan	(set_value_range_to_value): New static function.
647169689Skan	(extract_range_from_binary_expr): Call set_value_range_to_value.
648169689Skan	(extract_range_from_expr): Likewise.
649169689Skan	(extract_range_from_unary_expr): Likewise.  Don't create a range
650169689Skan	which overflows on both sides.
651169689Skan	(vrp_meet): Check for a useless range.
652169689Skan	(vrp_visit_phi_node): If we see a constant which looks like an
653169689Skan	overflow infinity, turn off the TREE_OVERFLOW flag.
654161651Skan
655169689Skan2007-04-24  Ian Lance Taylor  <iant@google.com>
656161651Skan
657169689Skan	PR tree-optimization/31602
658169689Skan	* tree-ssa-loop-ch.c (copy_loop_headers): Set TREE_NO_WARNING for
659169689Skan	conditionals in the copied loop header.
660169689Skan	* tree-cfg.c (fold_cond_expr_cond): Don't issue undefined overflow
661169689Skan	warnings if TREE_NO_WARNING is set.
662169689Skan	* doc/invoke.texi (Warning Options): Clarify that
663169689Skan	-Wstrict-overflow does not warn about loops.
664161651Skan
665169689Skan2007-04-24  Andreas Krebbel  <krebbel1@de.ibm.com>
666161651Skan
667169689Skan	PR target/31641
668169689Skan	* config/s390/s390.c (s390_expand_setmem): Don't ICE for constant length
669169689Skan	argument of 0 for memset.
670169689Skan	(s390_expand_movmem, s390_expand_setmem, s390_expand_cmpmem): Use
671169689Skan	unsigned shift instead of the signed variant.
672161651Skan
673169689Skan2007-04-24  Daniel Franke  <franke.daniel@gmail.com>
674161651Skan
675169689Skan	* doc/invoke.texi: Removed leading '-' from option index entries.
676161651Skan
677169689Skan2007-04-22  Andrew Pinski  <andrew_pinski@playstation.sony.com>
678161651Skan
679169689Skan	PR middle-end/31448
680169689Skan	* expr.c (reduce_to_bit_field_precision): Handle
681169689Skan	CONST_INT rtx's.
682161651Skan
683169689Skan2007-04-20  Richard Henderson  <rth@redhat.com>
684161651Skan
685169689Skan	PR target/28623
686169689Skan	* config/alpha/alpha.c (get_unaligned_address): Remove extra_offset
687169689Skan	argument; update all callers.
688169689Skan	(get_unaligned_offset): New.
689169689Skan	* config/alpha/alpha.md (extendqidi2, extendhidi2): Don't use
690169689Skan	get_unaligned_address, just pass on the address directly.
691169689Skan	(unaligned_extendqidi): Use gen_lowpart instead of open-coding
692169689Skan	the subreg in the helper patterns.
693169689Skan	(unaligned_extendqidi_le): Use get_unaligned_offset.
694169689Skan	(unaligned_extendqidi_be, unaligned_extendhidi_le): Likewise.
695169689Skan	(unaligned_extendhidi_be): Likewise.
696169689Skan	(unaligned_extendhidi): Tidy.
697169689Skan	* config/alpha/alpha-protos.h: Update.
698161651Skan
699169689Skan2007-04-21  Richard Guenther  <rguenther@suse.de>
700161651Skan
701169689Skan	PR middle-end/31136
702169689Skan	* fold-const.c (fold_unary): Call fold_convert_const on the
703169689Skan	original tree.
704161651Skan
705169689Skan2007-04-20  Richard Henderson  <rth@redhat.com>
706161651Skan
707169689Skan	* config/alpha/linux.h (CPP_SPEC): Undef before redefine.
708161651Skan
709169689Skan2007-04-20  Bernd Schmidt  <bernd.schmidt@analog.com>
710161651Skan
711169689Skan	* reload.c (combine_reloads): When trying to use a dying register,
712169689Skan	check whether it's uninitialized and don't use if so.
713161651Skan
714169689Skan2007-04-20  Jakub Jelinek  <jakub@redhat.com>
715161651Skan
716169689Skan	* config/i386/i386.c (bdesc_2arg): Use ORDERED rather than UNORDERED
717169689Skan	for __builtin_ia32_cmpordss.
718161651Skan
719169689Skan	PR tree-optimization/31632
720169689Skan	* fold-const.c (fold_binary): Use op0 and op1 instead of arg0
721169689Skan	and arg1 for optimizations of comparison against min/max values.
722169689Skan	Fold arg0 to arg1's type for optimizations of comparison against
723169689Skan	min+1 and max-1 values.
724161651Skan
725169689Skan2007-04-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
726161651Skan
727169689Skan	PR rtl-optimization/29841
728169689Skan	* cfgbuild.c (control_flow_insn_p): Return TRUE for unconditional
729169689Skan	trap instructions.
730169689Skan	* sched-deps.c (sched_analyze_insn): Prevent all non-jump instructions
731169689Skan	that may cause control flow transfer from being moved.
732161651Skan
733169689Skan2007-04-18  Anatoly Sokolov <aesok@post.ru>
734161651Skan
735169689Skan	* config/avr/avr.c (ptrreg_to_str): Replace error() with
736169689Skan	output_operand_lossage().
737161651Skan
738169689Skan2007-04-17  Anatoly Sokolov <aesok@post.ru>
739161651Skan
740169689Skan	PR target/30483
741169689Skan	* config/avr/avr.c (ptrreg_to_str): Replace gcc_unreachable() with
742169689Skan	error().
743161651Skan
744169689Skan2007-04-17  Jan Hubicka  <jh@suse.cz>
745161651Skan
746169689Skan	PR middle-end/30700
747169689Skan	* dwarf2out.c (reference_to_unused): Ask cgraph for functions
748169689Skan	availablility; add more sanity checking; ask varpool only about
749169689Skan	VAR_DECL.
750161651Skan
751169689Skan2007-04-17  H.J. Lu  <hongjiu.lu@intel.com>
752161651Skan
753169689Skan	* Backport from mainline:
754169689Skan	2007-04-17  H.J. Lu  <hongjiu.lu@intel.com>
755161651Skan
756169689Skan	* config/i386/sse.md (sse_vmaddv4sf3): Use register_operand
757169689Skan	on "0".
758169689Skan	(sse_vmmulv4sf3): Likewise.
759169689Skan	(sse2_vmaddv2df3): Likewise.
760169689Skan	(sse2_vmmulv2df3): Likewise.
761161651Skan
762169689Skan2007-04-16  Matthias Klose  <doko@debian.org>
763161651Skan
764169689Skan	* config/alpha/linux.h (CPP_SPEC): Define.
765169689Skan	* config/arm/linux-gas.h (SUBTARGET_CPP_SPEC): Extend.
766161651Skan
767169689Skan2007-04-16  Anatoly Sokolov <aesok@post.ru>
768161651Skan
769169689Skan	* config/avr/avr.c (avr_arch_types): Rearranging  array.
770169689Skan	(enum avr_arch): Add.
771169689Skan	(avr_mcu_types): Use avr_arch enumeration constants instead of 
772169689Skan	numbers.
773169689Skan	* config/avr/avr.h (LINK_SPEC): Simplify.
774161651Skan
775169689Skan2007-04-16  Jan Hubicka  <jh@suse.cz>
776161651Skan
777169689Skan	PR target/27869
778169689Skan	* config/i386/sse.md
779169689Skan	(sse_vmaddv4sf3, sse_vmmulv4sf3): Remove '%' modifier.
780169689Skan	(sse_vmsmaxv4sf3_finite, sse_vmsminv4sf3_finite): Remove.
781169689Skan	(sse2_vmaddv2df3, sse2_vmmulv2df3): Remove '%' modifier.
782169689Skan	(sse2_vmsmaxv2df3_finite, sse2_vmsminv2df3_finite): Remove.
783161651Skan
784169689Skan2007-04-16  H.J. Lu  <hongjiu.lu@intel.com>
785161651Skan
786169689Skan	* Backport from mainline:
787169689Skan	2007-04-16  H.J. Lu  <hongjiu.lu@intel.com>
788161651Skan
789169689Skan	PR target/31582
790169689Skan	* config/i386/i386.c (ix86_expand_vec_set_builtin): Make a
791169689Skan	copy of source, pass it to ix86_expand_vector_set and return
792169689Skan	it as target.
793161651Skan
794169689Skan2007-04-14  Andrew Pinski  <andrew_pinski@playstation.sony.com>
795161651Skan
796169689Skan	PR c/31520
797169689Skan	* c-decl.c (finish_decl): Grab the type of the decl after the call
798169689Skan	to store_init_value.
799161651Skan
800169689Skan2007-04-14  Jakub Jelinek  <jakub@redhat.com>
801161651Skan
802169689Skan	PR c++/25874
803169689Skan	* omp-low.c (expand_omp_parallel): If child_cfun->cfg, free dominators,
804169689Skan	post dominators and cleanup cfg before returning.
805161651Skan
806169689Skan2007-04-11  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
807161651Skan
808169689Skan	* pa.c (pa_som_asm_init_sections): Ensure that cfun->machine is not
809169689Skan	null before emitting a .nsubspa directive.
810161651Skan
811169689Skan2007-04-08  Anatoly Sokolov <aesok@post.ru>
812161651Skan
813169689Skan	PR target/29932
814169689Skan	* config/avr/predicates.md (io_address_operand): Delete predicate.
815169689Skan	(low_io_address_operand): Don't use 'mode' argument.
816169689Skan	(higth_io_address_operand): Rename ...
817169689Skan	(high_io_address_operand): ... to this. Don't use 'mode' argument.
818169689Skan	* config/avr/avr.md (*sbix_branch_tmp, *sbix_branch_tmp_bit7): Adjust
819169689Skan	for above change.
820161651Skan
821169689Skan2007-04-07  Anatoly Sokolov <aesok@post.ru>
822161651Skan
823169689Skan	PR target/30289
824169689Skan	* config/avr/avr.md (*clrmemqi, *clrmemhi): Mark operand 4 as 
825169689Skan	earlyclobber.
826161651Skan
827169689Skan2007-04-05  Anatoly Sokolov <aesok@post.ru>
828161651Skan
829169689Skan	PR target/25448
830169689Skan	* config/avr/avr.c (avr_handle_fndecl_attribute): Use the 
831169689Skan	DECL_ASSEMBLER_NAME, not the DECL_NAME.
832161651Skan
833169689Skan2007-04-04  Richard Henderson  <rth@redhat.com>
834161651Skan
835169689Skan	PR target/31361
836169689Skan	* config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove
837169689Skan	v8hi_ftype_v8hi_v2di, v4si_ftype_v4si_v2di.  Use like-types for
838169689Skan	the variable shift builtins.
839169689Skan	(ix86_expand_builtin): Properly expand the variable shift builtins.
840169689Skan	* config/i386/sse.md (ashr<mode>3, lshr<mode>3, ashl<mode>3): Make
841169689Skan	operand 2 be TImode.
842169689Skan	* config/i386/emmintrin.h (_mm_slli_epi16, _mm_slli_epi32,
843169689Skan	_mm_slli_epi64, _mm_srai_epi16, _mm_srai_epi32, _mm_srli_epi16,
844169689Skan	_mm_srli_epi32, _mm_srli_epi64): Turn into macros.
845169689Skan	(_mm_srli_si128, _mm_srli_si128): Fix disabled inline versions.
846169689Skan	(_mm_sll_epi16, _mm_sll_epi32, _mm_sll_epi64, _mm_sra_epi16,
847169689Skan	_mm_sra_epi32, _mm_srl_epi16, _mm_srl_epi32, _mm_srl_epi64): Use
848169689Skan	two-vector shift builtins.
849161651Skan
850169689Skan2007-04-04  Chen liqin  <liqin@sunnorth.com.cn>
851161651Skan
852169689Skan	* config/score/crti.asm: Change _bss_start to __bss_start.
853169689Skan	* config/score/score.h (CONDITIONAL_REGISTER_USAGE): Added.
854169689Skan	(OUTGOING_REG_PARM_STACK_SPACE) update.
855169689Skan	* config/score/score.opt: add options to make backend support
856169689Skan	score5, score5u, score7 and score7d.
857169689Skan	* config/score/score.md: Likewise.
858169689Skan	* config/score/misc.md: Likewise.
859169689Skan	* config/score/mac.md: Likewise.
860169689Skan	* doc/invoke.texi: Likewise.
861169689Skan	* doc/md.texi: update constraints define.
862161651Skan
863169689Skan2007-04-03  Stuart Hastings  <stuart@apple.com>
864161651Skan
865169689Skan	PR 31281
866171825Skan	* objc/objc-act.c (next_sjlj_build_catch_list): Delete volatile
867171825Skan	from rethrow decl.
868169689Skan	* cse.c (record_jump_equiv): Bail out on CCmode comparisons.
869161651Skan
870169689Skan2007-04-03  Jakub Jelinek  <jakub@redhat.com>
871161651Skan
872169689Skan	PR middle-end/30704
873169689Skan	* fold-const.c (native_encode_real): Encode real.c provided longs
874169689Skan	as a series of 32-bit native integers.
875169689Skan	(native_interpret_real): Interpret buffer as a series of 32-bit
876169689Skan	native integers.
877161651Skan
878169689Skan2007-04-02  Eric Christopher  <echristo@apple.com>
879161651Skan
880169689Skan	* doc/invoke.texi (i386 and x86-64 Options): Document -m64
881169689Skan	limitations on darwin.
882161651Skan
883169689Skan2007-04-02  Anatoly Sokolov <aesok@post.ru>
884161651Skan
885169689Skan	PR target/31137
886169689Skan	* config/avr/avr.c (avr_rtx_costs): Add missing 'break' statements.
887161651Skan
888169689Skan2007-04-02  H.J. Lu  <hongjiu.lu@intel.com>
889161651Skan
890132718Skan	* Backport from mainline:
891169689Skan	2007-03-28  Grigory Zagorodnev <grigory_zagorodnev@linux.intel.com>
892122180Skan
893169689Skan	PR target/31380
894169689Skan	* config/i386/sse.md (uminv16qi3): Use UMIN instead of UMAX.
895122180Skan
896169689Skan2007-03-30  Anatoly Sokolov <aesok@post.ru>
897122180Skan
898169689Skan	* config/avr/avr.c (avr_override_options): Clear
899169689Skan	'flag_delete_null_pointer_checks'.
900122180Skan
901169689Skan2007-03-29  Michael Matz  <matz@suse.de>
902122180Skan
903169689Skan	* builtins.c (expand_builtin_sync_operation,
904169689Skan	expand_builtin_compare_and_swap,
905169689Skan	expand_builtin_lock_test_and_set): Care for extending CONST_INTs
906169689Skan	correctly.
907122180Skan
908169689Skan	* config/i386/sync.md (sync_double_compare_and_swapdi_pic,
909169689Skan	sync_double_compare_and_swap_ccdi_pic): Use "SD" as constraint
910169689Skan	for operand 3.
911122180Skan
912169689Skan2007-03-28  Mike Stump  <mrs@apple.com>
913122180Skan
914169689Skan	* config/darwin9.h (ASM_OUTPUT_ALIGNED_COMMON): Add.
915169689Skan	* config/darwin.h (MAX_OFILE_ALIGNMENT): Fix.
916169689Skan	* config/rs6000/darwin.h (ASM_OUTPUT_ALIGNED_COMMON): Removed #undef.
917122180Skan
918169689Skan2007-03-27  Anatoly Sokolov <aesok@post.ru>
919122180Skan
920169689Skan	* config/avr/avr.c (avr_mcu_types): Move at90usb82 device to 'avr4'
921169689Skan	architecture.
922122180Skan
923169689Skan2007-03-26  Ian Lance Taylor  <iant@google.com>
924122180Skan
925169689Skan	PR tree-optimization/31345
926169689Skan	* tree-vrp.c (extract_range_from_binary_expr): Turn ranges like
927169689Skan	[+INF, +INF(OVF)] into VARYING.
928122180Skan
929169689Skan2007-03-23  Martin Michlmayr  <tbm@cyrius.com>
930122180Skan
931169689Skan	* doc/invoke.texi (-fforce-mem): Update documentation to reflect
932169689Skan	that this option will be removed in 4.3 rather than 4.2.
933169689Skan	* opts.c (common_handle_option): Likewise.
934122180Skan
935169689Skan2007-03-21  Mike Stump  <mrs@apple.com>
936122180Skan
937169689Skan	* c.opt: Fixup for Objective-C/C++.
938122180Skan
939169689Skan2007-03-21  Richard Henderson  <rth@redhat.com>
940122180Skan
941169689Skan	PR target/31245
942169689Skan	* config/i386/emmintrin.h (__m128i, __m128d): Mark may_alias.
943169689Skan	* config/i386/mmintrin.h (__m64): Likewise.
944169689Skan	* config/i386/xmmintrin.h (__m128): Likewise.
945122180Skan
946169689Skan2007-03-20  Jakub Jelinek  <jakub@redhat.com>
947122180Skan
948169689Skan	PR c/30762
949169689Skan	* c-typeck.c (convert_for_assignment): Call comptypes for
950169689Skan	RECORD_TYPE or UNION_TYPE.
951122180Skan
952169689Skan	PR inline-asm/30505
953169689Skan	* reload1.c (reload): Do invalid ASM checking after
954169689Skan	cleanup_subreg_operands.
955122180Skan
956169689Skan2007-03-19  Jeff Law  <law@redhat.com>
957122180Skan
958169689Skan	* tree-cfg.c (find_taken_edge): Tighten conditions for
959169689Skan	optimizing computed gotos.
960122180Skan
961169689Skan2007-03-16  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
962122180Skan
963169689Skan	* pa.c (attr_length_call): Partially revert change of 2007-03-09.
964169689Skan	(output_call): Likewise.
965122180Skan
966169689Skan2007-03-16  Alexandre Oliva  <aoliva@redhat.com>
967122180Skan
968169689Skan	PR debug/29906
969169689Skan	* dwarf2out.c (force_type_die): Adjust comment.
970169689Skan	(dwarf2out_imported_module_or_decl): Handle base AT_import types.
971122180Skan
972169689Skan2007-03-15  Seongbae Park <seongbae.park@gmail.com>
973122180Skan
974169689Skan	PR tree-optimization/30590
975169689Skan	* tree-nrv.c (tree_nrv): Check for the partial update
976169689Skan	of the return value.
977122180Skan
978169689Skan2007-03-14  Ian Lance Taylor  <iant@google.com>
979122180Skan
980169689Skan	* tree-vrp.c (value_inside_range): Ignore fold warnings.
981122180Skan
982169689Skan2007-03-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
983122180Skan
984169689Skan	PR target/31123
985169689Skan	* pa.md (vdepi_ior): Don't allow zero length deposit.  Likewise for
986169689Skan	two unamed patterns.
987122180Skan
988169689Skan2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
989122180Skan
990169689Skan	* doc/extend.texi: Edit "gnu_inline" documentation.
991169689Skan	* doc/invoke.texi: Edit "-fgnu89-inline" documentation.
992122180Skan
993169689Skan2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
994122180Skan
995169689Skan	* doc/extend.texi: Fix cpp.info cross-reference.
996169689Skan	* doc/invoke.texi: Fix cpp.info cross-reference.
997169689Skan	* doc/passes.texi: Fix gcc.info cross-reference.
998122180Skan
999169689Skan2007-03-12  Daniel Berlin  <dberlin@dberlin.org>
1000122180Skan
1001169689Skan	Fix PR tree-optimization/28544
1002169689Skan	* tree-ssa-operands.c (add_virtual_operand):
1003169689Skan	Move assert triggering on aliasing violations into
1004169689Skan	debugging define
1005122180Skan
1006169689Skan2007-03-12  Ian Lance Taylor  <iant@google.com>
1007122180Skan
1008169689Skan	* c.opt (fgnu89-inline): New option.
1009169689Skan	* c-opts.c (c_common_post_options): Warn about -fno-gnu89-inline.
1010169689Skan	* c-common.c (c_common_attributes): Add gnu_inline attribyte.
1011169689Skan	(handle_gnu_inline_attribute): New static function.
1012169689Skan	* c-decl.c (start_function): Warn if we see a non-static inline
1013169689Skan	function in C99 mode.
1014169689Skan	* c-cppbuiltin.c (c_cpp_builtins): Define __GNUC_GNU_INLINE__.
1015169689Skan	* doc/invoke.texi (Option Summary): Mention -fgnu89-inline.
1016169689Skan	(C Dialect Options): Document -fgnu89-inline.
1017169689Skan	* doc/extend.texi (Function Attributes): Document gnu_inline.
1018169689Skan	(Inline): Mention that C99 inline will be implemented in 4.3.
1019169689Skan	Refer to ways to get the old handling.
1020169689Skan	* doc/cpp.texi (Common Predefined Macros): Document
1021169689Skan	__GNUC_GNU_INLINE__ and __GNUC_STDC_INLINE__.
1022122180Skan
1023169689Skan2007-03-12  Richard Henderson  <rth@redhat.com>
1024122180Skan
1025169689Skan	* config/alpha/alpha.c (alpha_elf_section_type_flags): New.
1026169689Skan	(TARGET_SECTION_TYPE_FLAGS): New.
1027122180Skan
1028169689Skan2007-03-12  Richard Henderson  <rth@redhat.com>
1029122180Skan
1030169689Skan	* config/darwin.c (machopic_reloc_rw_mask): New.
1031169689Skan	(machopic_select_section): Use decl_readonly_section.
1032169689Skan	* config/darwin-protos.h (machopic_reloc_rw_mask): Declare.
1033169689Skan	* config/darwin.h (TARGET_ASM_RELOC_RW_MASK): New.
1034122180Skan
1035169689Skan2007-02-14  Richard Guenther  <rguenther@suse.de>
1036122180Skan
1037132718Skan	Backport from mainline:
1038169689Skan	* flags.h (issue_strict_overflow_warning): Convert to a macro.
1039122180Skan
1040169689Skan2007-03-11  Ian Lance Taylor  <iant@google.com>
1041122180Skan
1042169689Skan	Backport -fstrict-overflow/-Wstrict-overflow from mainline:
1043169689Skan	2007-03-11  Ian Lance Taylor  <iant@google.com>
1044122180Skan
1045169689Skan	* tree-vrp.c (vrp_int_const_binop): Handle PLUS_EXPR and
1046169689Skan	the *_DIV_EXPR codes correctly with overflow infinities.
1047122180Skan
1048169689Skan	2007-03-09  Ian Lance Taylor  <iant@google.com>
1049122180Skan
1050169689Skan	* opts.c (common_handle_option): Treat -Wstrict-overflow (with no
1051169689Skan	argument) like -Wstrict-overflow=2.
1052169689Skan	* doc/invoke.texi (Warning Options): Update documentation.
1053122180Skan
1054169689Skan	2007-03-08  Ian Lance Taylor  <iant@google.com>
1055122180Skan
1056169689Skan	* tree-vrp.c: Include "toplev.h" and "intl.h".
1057169689Skan	(usable_range_p): New static function.
1058169689Skan	(compare_values_warnv): Don't test TYPE_OVERFLOW_UNDEFINED for
1059169689Skan	overflowed values, juts set *strict_overflow_p.
1060169689Skan	(compare_values): Only return -2 if one of the operands is not a
1061169689Skan	constant.
1062169689Skan	(compare_ranges): Call usable_range_p.
1063169689Skan	(compare_range_with_value): Likewise.
1064169689Skan	(vrp_evaluate_conditional_warnv): Rename from
1065169689Skan	vrp_evaluate_conditional.  Make static.  Change all callers.
1066169689Skan	(vrp_evaluate_conditional): New function.
1067169689Skan	(simplify_div_or_mod_using_ranges): Issue warning about reliance
1068169689Skan	on signed overflow.
1069169689Skan	(simplify_abs_using_ranges): Likewise.
1070169689Skan	(simplify_stmt_for_jump_threading): Add within_stmt parameter.
1071169689Skan	* tree-ssa-dom.c (simplify_stmt_for_jump_threading): Add
1072169689Skan	within_stmt parameter.
1073169689Skan	* tree-ssa-propagate.c (fold_predicate_in): Update call to
1074169689Skan	vrp_evaluate_conditional.
1075169689Skan	* tree-ssa-threadedge.c
1076169689Skan	(record_temporary_equivalences_from_stmts_at_dest): Change
1077169689Skan	simplify parameter to take a second tree parameter.
1078169689Skan	(simplify_control_stmt_condition): Likewise.
1079169689Skan	(thread_across_edge): Likewise.
1080169689Skan	* tree-flow.h (vrp_evaluate_conditional): Update declaration.
1081169689Skan	(thread_across_edge): Likewise.
1082169689Skan	* Makefile.in (tree-vrp.o): Depend upon toplev.h and intl.h.
1083122180Skan
1084169689Skan	2007-03-05  Ian Lance Taylor  <iant@google.com>
1085122180Skan
1086169689Skan	* tree-vrp.c (extract_range_from_assert): Don't try to handle a
1087169689Skan	half-range if the other side is an overflow infinity.
1088122180Skan
1089169689Skan	2007-03-02  Ian Lance Taylor  <iant@google.com>
1090122180Skan
1091169689Skan	Used signed infinities in VRP.
1092169689Skan	* tree-vrp.c (uses_overflow_infinity): New static function.
1093169689Skan	(supports_overflow_infinity): New static function.
1094169689Skan	(make_overflow_infinity): New static function.
1095169689Skan	(negative_overflow_infinity): New static function.
1096169689Skan	(positive_overflow_infinity): New static function.
1097169689Skan	(is_negative_overflow_infinity): New static function.
1098169689Skan	(is_positive_overflow_infinity): New static function.
1099169689Skan	(is_overflow_infinity): New static function.
1100169689Skan	(overflow_infinity_range_p): New static function.
1101169689Skan	(compare_values_warnv): New function split out of compare_values.
1102169689Skan	(compare_value): Call it.
1103169689Skan	(set_value_range_to_nonnegative): Add overflow_infinity
1104169689Skan	parameter.  Change caller.
1105169689Skan	(vrp_expr_computes_nonnegative): Add strict_overflow_p parameter.
1106169689Skan	Change callers.
1107169689Skan	(vrp_expr_computes_nonzero): Likewise.
1108169689Skan	(compare_ranges, compare_range_with_value): Likewise.
1109169689Skan	(compare_name_with_value, compare_names): Likewise.
1110169689Skan	(vrp_evaluate_conditional): Likewise.
1111169689Skan	(set_value_range): Handle infinity
1112169689Skan	(vrp_operand_equal_p, operand_less_p): Likewise.
1113169689Skan	(extract_range_from_assert): Likewise.
1114169689Skan	(vrp_int_const_binop): Likewise.
1115169689Skan	(extract_range_from_binary_expr): Likewise.
1116169689Skan	(extract_range_from_unary_expr): Likewise.
1117169689Skan	(extract_range_from_comparison): Likewise.
1118169689Skan	(extract_range_from_expr): Likewise.
1119169689Skan	(dump_value_range): Likewise.
1120169689Skan	(vrp_visit_cond_stmt, vrp_visit_phi_node): Likewise.
1121169689Skan	(test_for_singularity): Likewise.
1122169689Skan	(vrp_int_const_binop): Remove inline qualifier.
1123169689Skan	(adjust_range_with_scev): Add comment.
1124169689Skan	* tree-flow.h (vrp_evaluate_conditional): Update declaration.
1125122180Skan
1126169689Skan	2007-02-13  Ian Lance Taylor  <iant@google.com>
1127122180Skan
1128169689Skan	* common.opt: Add Wstrict-overflow and Wstrict-overflow=.
1129169689Skan	* flags.h (warn_strict_overflow): Declare.
1130169689Skan	(enum warn_strict_overflow_code): Define.
1131169689Skan	(issue_strict_overflow_warning): New static inline function.
1132169689Skan	* opts.c (warn_strict_overflow): New variable.
1133169689Skan	(common_handle_option): Handle OPT_Wstrict_overflow and
1134169689Skan	OPT_Wstrict_overflow_.
1135169689Skan	* c-opts.c (c_common_handle_option): Set warn_strict_overflow for
1136169689Skan	OPT_Wall.
1137169689Skan	* fold-const.c: Include intl.h.
1138169689Skan	(fold_deferring_overflow_warnings): New static variable.
1139169689Skan	(fold_deferred_overflow_warning): New static variable.
1140169689Skan	(fold_deferred_overflow_code): New static variable.
1141169689Skan	(fold_defer_overflow_warnings): New function.
1142169689Skan	(fold_undefer_overflow_warnings): New function.
1143169689Skan	(fold_undefer_and_ignore_overflow_warnings): New function.
1144169689Skan	(fold_deferring_overflow_warnings_p): New function.
1145169689Skan	(fold_overflow_warning): New static function.
1146169689Skan	(make_range): Add strict_overflow_p parameter.  Change all
1147132718Skan	callers.
1148169689Skan	(extract_muldiv, extract_muldiv_1): Likewise.
1149169689Skan	(fold_unary) [ABS_EXPR]: Check ABS_EXPR before calling
1150169689Skan	tree_expr_nonnegative_p.
1151169689Skan	(fold_negate_expr): Call fold_overflow_warning.
1152169689Skan	(fold_range_test): Likewise.
1153169689Skan	(fold_comparison): Likewise.
1154169689Skan	(fold_binary): Likewise.  Call tree_expr_nonnegative_warnv_p
1155169689Skan	instead of tree_expr_nonnegative_p.
1156169689Skan	(tree_expr_nonnegative_warnv_p): Rename from
1157169689Skan	tree_expr_nonnegative_p, add strict_overflow_p parameter.
1158169689Skan	(tree_expr_nonnegative_p): New function.
1159169689Skan	(tree_expr_nonzero_warnv_p): Rename from tree_expr_nonzero_p, add
1160169689Skan	strict_overflow_p parameter.
1161169689Skan	(tree_expr_nonzero_p): New function.
1162169689Skan	* passes.c (verify_interpass_invariants): New static function.
1163169689Skan	(execute_one_pass): Call it.
1164169689Skan	* tree-ssa-loop-niter.c (expand_simple_operations): Ignore fold
1165169689Skan	warnings.
1166169689Skan	(number_of_iterations_exit, loop_niter_by_eval): Likewise.
1167169689Skan	(estimate_numbers_of_iterations): Likewise.
1168169689Skan	(scev_probably_wraps_p): Likewise.
1169169689Skan	* tree-ssa-ccp.c: Include "toplev.h".
1170169689Skan	(evaluate_stmt): Defer fold overflow warnings until we know we are
1171169689Skan	going to optimize.
1172169689Skan	(struct fold_stmt_r_data): Add stmt field.
1173169689Skan	(fold_stmt_r): Defer fold overflow warnings until we know we
1174169689Skan	optimized.
1175169689Skan	(fold_stmt): Initialize stmt field of fold_stmt_r_data.
1176169689Skan	(fold_stmt_inplace): Likewise.
1177169689Skan	* tree-cfgcleanup.c: Include "toplev.h" rather than "errors.h".
1178169689Skan	(cleanup_control_expr_graph): Defer fold overflow warnings until
1179169689Skan	we know we are going to optimize.
1180169689Skan	* tree-cfg.c (fold_cond_expr_cond): Likewise.
1181169689Skan	* tree-ssa-threadedge.c (simplify_control_stmt_condition):
1182169689Skan	Likewise.
1183169689Skan	* tree-vrp.c (vrp_expr_computes_nonnegative): Call
1184169689Skan	tree_expr_nonnegative_warnv_p instead of tree_expr_nonnegative_p.
1185169689Skan	* tree-ssa-loop-manip.c (create_iv): Likewise.
1186169689Skan	* c-typeck.c (build_conditional_expr): Likewise.
1187169689Skan	(build_binary_op): Likewise.
1188169689Skan	* tree-vrp.c (vrp_expr_computes_nonzero): Call
1189169689Skan	tree_expr_nonzero_warnv_p instead of tree_expr_nonzero_p.
1190169689Skan	(extract_range_from_unary_expr): Likewise.
1191169689Skan	* simplify-rtx.c (simplify_const_relational_operation): Warn when
1192169689Skan	assuming that signed overflow does not occur.
1193169689Skan	* c-common.c (pointer_int_sum): Ignore fold overflow warnings.
1194169689Skan	* tree.h (tree_expr_nonnegative_warnv_p): Declare.
1195169689Skan	(fold_defer_overflow_warnings): Declare.
1196169689Skan	(fold_undefer_overflow_warnings): Declare.
1197169689Skan	(fold_undefer_and_ignore_overflow_warnings): Declare.
1198169689Skan	(fold_deferring_overflow_warnings_p): Declare.
1199169689Skan	(tree_expr_nonzero_warnv_p): Declare.
1200169689Skan	* doc/invoke.texi (Option Summary): Add -Wstrict-overflow to list
1201169689Skan	of warning options.
1202169689Skan	(Warning Options): Document -Wstrict-overflow.
1203169689Skan	* Makefile.in (tree-ssa-threadedge.o): Depend on toplev.h.
1204169689Skan	(tree-ssa-ccp.o): Likewise.
1205169689Skan	(tree-cfgcleanup.o): Change errors.h dependency to toplev.h.
1206169689Skan	(fold-const.o): Depend on intl.h.
1207117395Skan
1208169689Skan	2007-01-27  Ian Lance Taylor  <iant@google.com>
1209117395Skan
1210169689Skan	* common.opt: Add fstrict-overflow.
1211169689Skan	* opts.c (decode_options): Set flag_strict_overflow if -O2.
1212169689Skan	* flags.h (TYPE_OVERFLOW_WRAPS): Define.
1213169689Skan	(TYPE_OVERFLOW_UNDEFINED): Define.
1214169689Skan	(TYPE_OVERFLOW_TRAPS): Define.  This replaces TYPE_TRAP_SIGNED.
1215169689Skan	Replace all uses.
1216169689Skan	* tree.h (TYPE_TRAP_SIGNED): Don't define.
1217169689Skan	* fold-const.c (negate_expr_p): Use TYPE_OVERFLOW_UNDEFINED.
1218169689Skan	(fold_negate_expr): Likewise.
1219169689Skan	(make_range): Likewise.
1220169689Skan	(extract_muldiv_1): Likewise.
1221169689Skan	(fold_comparison): Likewise.
1222169689Skan	(fold_binary): Likewise.
1223169689Skan	(tree_expr_nonnegative_p): Likewise.
1224169689Skan	(tree_expr_nonzero_p): Likewise.
1225169689Skan	* tree-vrp.c (compare_values): Likewise.
1226169689Skan	(extract_range_from_binary_expr): Likewise.
1227169689Skan	(extract_range_from_unary_expr): Likewise.
1228169689Skan	* tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined):
1229132718Skan	Likewise.
1230169689Skan	(nowrap_type_p): Likewise.
1231169689Skan	* tree-scalar-evolution.c (simple_iv): Likewise.
1232169689Skan	* fold-const.c (negate_expr_p): Use TYPE_OVERFLOW_WRAPS.
1233169689Skan	(build_range_check): Likewise.
1234169689Skan	(extract_muldiv_1): Likewise.
1235169689Skan	(fold_comparison): Likewise.
1236169689Skan	* tree-vrp.c (vrp_int_const_binop): Likewise.
1237169689Skan	(extract_range_from_unary_expr): Likewise.
1238169689Skan	* convert.c (convert_to_integer): Likewise.
1239169689Skan	* fold-const.c (fold_negate_expr): Use TYPE_OVERFLOW_TRAPS.
1240169689Skan	(fold_comparison): Likewise.
1241169689Skan	(fold_binary): Likewise.
1242169689Skan	* optabs.c (optab_for_tree_code): Likewise.
1243169689Skan	* tree-vectorizer.c (vect_is_simple_reduction): Likewise.
1244169689Skan	* simplify-rtx.c (simplify_const_relational_operation): Check
1245169689Skan	flag_strict_overflow and flag_trapv.
1246169689Skan	(simplify_const_relational_operation): Likewise.
1247169689Skan	* doc/invoke.texi (Option Summary): Mention -fstrict-overflow.
1248169689Skan	(Optimize Options): Add -fstrict-overflow to -O2 list.  Document
1249169689Skan	-fstrict-overflow.
1250117395Skan
1251169689Skan	2007-01-17  Ian Lance Taylor  <iant@google.com>
1252117395Skan
1253169689Skan	* vec.h (VEC_reserve_exact): Define.
1254169689Skan	(vec_gc_p_reserve_exact): Declare.
1255169689Skan	(vec_gc_o_reserve_exact): Declare.
1256169689Skan	(vec_heap_p_reserve_exact): Declare.
1257169689Skan	(vec_heap_o_reserve_exact): Declare.
1258169689Skan	(VEC_OP (T,A,reserve_exact)): New static inline function, three
1259169689Skan	versions.
1260169689Skan	(VEC_OP (T,A,reserve)) [all versions]: Remove handling of
1261169689Skan	negative parameter.
1262169689Skan	(VEC_OP (T,A,alloc)) [all versions]: Call ...reserve_exact.
1263169689Skan	(VEC_OP (T,A,copy)) [all versions]: Likewise.
1264169689Skan	(VEC_OP (T,a,safe_grow)) [all versions]: Likewise.
1265169689Skan	* vec.c (calculate_allocation): Add exact parameter.  Change all
1266169689Skan	callers.
1267169689Skan	(vec_gc_o_reserve_1): New static function, from vec_gc_o_reserve.
1268169689Skan	(vec_gc_p_reserve, vec_gc_o_reserve): Call vec_gc_o_reserve_1.
1269169689Skan	(vec_gc_p_reserve_exact, vec_gc_o_reserve_exact): New functions.
1270169689Skan	(vec_heap_o_reserve_1): New static function, from vec_heap_o_reserve.
1271169689Skan	(vec_heap_p_reserve, vec_heap_o_reserve): Call vec_heap_o_reserve_1.
1272169689Skan	(vec_heap_p_reserve_exact): New function.
1273169689Skan	(vec_heap_o_reserve_exact): New function.
1274117395Skan
1275169689Skan2007-03-11  Roger Sayle  <roger@eyesopen.com>
1276169689Skan	    Andrew Pinski  <andrew_pinski@playstation.sony.com>
1277117395Skan
1278169689Skan	PR middle-end/30433
1279169689Skan	* fold-const.c (fold_relational_const): Add back compile-time
1280169689Skan	evaluation of complex constant equality/inequality comparisons.
1281117395Skan
1282169689Skan2007-03-11  Ira Rosen  <irar@il.ibm.com>
1283117395Skan
1284169689Skan	PR tree-optimization/29925
1285169689Skan	* tree-data-ref.c (analyze_offset): Add a return value (bool) to
1286169689Skan	indicate success/failure of the analysis. Add negation to subtrahend
1287169689Skan	in case of subtraction. Fail if both operands contain constants.
1288169689Skan	(create_data_ref): Fail if analyze_offset fails.
1289117395Skan
1290169689Skan2007-03-10  Mark Mitchell  <mark@codesourcery.com>
1291117395Skan
1292169689Skan	PR c++/30924
1293169689Skan	* tree.c (walk_type_fields): Recurse into the element type of
1294169689Skan	ARRAY_TYPEs if there is a pointer set.
1295117395Skan
1296169689Skan2007-03-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1297117395Skan
1298169689Skan	* pa.c (attr_length_call): Revise condition for long pc-relative branch.
1299169689Skan	(output_call): Use "LONG_PIC_SDIFF" instruction sequence for long local
1300169689Skan	calls on the SOM target.  Don't use "LONG_PIC_PCREL" call sequence on
1301169689Skan	SOM target.
1302117395Skan
1303169689Skan2007-03-09  Richard Henderson  <rth@redhat.com>
1304117395Skan
1305169689Skan	PR target/26090
1306169689Skan	* target.h (targetm.asm.out.reloc_rw_mask): New.
1307169689Skan	* target-def.h (TARGET_ASM_RELOC_RW_MASK): New.
1308169689Skan	(TARGET_ASM_OUT): Use it.
1309169689Skan	* targhooks.c, targhooks.h (default_reloc_rw_mask): New.
1310169689Skan	* varasm.c (categorize_decl_for_section): Remove shlib argument;
1311169689Skan	use the new reloc_rw_mask target hook instead.
1312169689Skan	(default_section_type_flags_1): Merge into...
1313169689Skan	(default_section_type_flags): ... here.
1314169689Skan	(decl_readonly_section_1): Merge into...
1315169689Skan	(decl_readonly_section): ... here.
1316169689Skan	(default_elf_select_section_1): Merge into...
1317169689Skan	(default_elf_select_section): ... here.
1318169689Skan	(default_unique_section_1): Merge into...
1319169689Skan	(default_unique_section): ... here.
1320169689Skan	(compute_reloc_for_rtx_1, compute_reloc_for_rtx): New.
1321169689Skan	(default_select_rtx_section): Use it.
1322169689Skan	(default_elf_select_rtx_section): Likewise.
1323169689Skan	* output.h: Update to match.
1324169689Skan	* doc/tm.texi (TARGET_ASM_RELOC_RW_MASK): New.
1325169689Skan	* config/alpha/alpha.c (alpha_elf_reloc_rw_mask): New.
1326169689Skan	(TARGET_ASM_RELOC_RW_MASK): New.
1327169689Skan	* config/i386/i386.c (x86_64_elf_select_section): Adjust call
1328169689Skan	to categorize_decl_for_section.
1329169689Skan	(x86_64_elf_unique_section): Likewise.
1330169689Skan	* config/ia64/hpux.h (TARGET_ASM_SELECT_SECTION,
1331169689Skan	TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): Remove.
1332169689Skan	(TARGET_ASM_RELOC_RW_MASK): New.
1333169689Skan	* config/ia64/ia64.c (ia64_rwreloc_select_section,
1334169689Skan	ia64_rwreloc_unique_section, ia64_rwreloc_select_rtx_section): Remove.
1335169689Skan	(ia64_hpux_reloc_rw_mask, ia64_reloc_rw_mask): New.
1336169689Skan	(TARGET_RWRELOC): Remove.
1337169689Skan	(ia64_section_type_flags): Adjust call to default_section_type_flags.
1338169689Skan	* config/ia64/sysv4.h (TARGET_ASM_RELOC_RW_MASK): New.
1339169689Skan	* config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Remove.
1340169689Skan	(rs6000_elf_select_section, rs6000_elf_unique_section): Remove.
1341169689Skan	(rs6000_elf_reloc_rw_mask, rs6000_xcoff_reloc_rw_mask): New.
1342169689Skan	(rs6000_xcoff_select_section): Use decl_readonly_section.
1343169689Skan	(rs6000_xcoff_section_type_flags): Use default_section_type_flags.
1344169689Skan	* config/rs6000/sysv4.h (TARGET_ASM_RELOC_RW_MASK): New.
1345169689Skan	(TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): Remove.
1346169689Skan	(TARGET_SECTION_TYPE_FLAGS): Remove.
1347169689Skan	* config/rs6000/xcoff.h (TARGET_ASM_RELOC_RW_MASK): New.
1348117395Skan
1349169689Skan2007-03-08  Geoffrey Keating  <geoffk@apple.com>
1350117395Skan
1351169689Skan	PR 31013
1352169689Skan	* gccspec.c (lang_specific_driver): Do nothing when NEXT_OBJC_RUNTIME
1353169689Skan	is declared.
1354169689Skan	* config/darwin.h (REAL_LIBGCC_SPEC): When -fgnu-runtime is
1355169689Skan	passed, use shared libgcc.
1356117395Skan
1357169689Skan2007-03-09  Alexandre Oliva  <aoliva@redhat.com>
1358117395Skan
1359169689Skan	PR rtl-optimization/30643
1360169689Skan	* cse.c (cse_insn): Recompute dest_hash after insert_regs for
1361169689Skan	dest_addr_elt.
1362117395Skan
1363169689Skan2007-03-09  Andrew Pinski  <andrew_pinski@playstation.sony.com>
1364117395Skan
1365169689Skan	PR tree-opt/30045
1366169689Skan	* tree-vrp.c (nonnull_arg_p): Treat the static decl as always
1367169689Skan	non null.
1368117395Skan
1369169689Skan2007-03-09  Andrew Pinski  <andrew_pinski@playstation.sony.com>
1370117395Skan
1371169689Skan	PR middle-end/30729
1372169689Skan	* stmt.c (warn_if_unused_value): VA_ARG_EXPR has side
1373169689Skan	effects unknown to this function, return early.
1374117395Skan
1375169689Skan2007-03-09  Andrew Pinski  <andrew_pinski@playstation.sony.com>
1376117395Skan
1377169689Skan	PR tree-opt/28624
1378169689Skan	* tree-ssa-dom.c (eliminate_degenerate_phis): Use a temporary
1379169689Skan	bitmap for EXECUTE_IF_SET_IN_BITMAP.
1380117395Skan
1381169689Skan2006-03-09  Mark Shinwell  <shinwell@codesourcery.com>
1382169689Skan	    Andrew MacLeod  <amacleod@redhat.com>
1383169689Skan	PR tree-optimization/29877
1384169689Skan	* tree-outof-ssa.c (check_replaceable): Don't allow TER to replace
1385169689Skan	an expression if the RHS is a register variable.
1386117395Skan
1387169689Skan2007-03-08  Andrew Pinski  <andrew_pinski@playstation.sony.com>
1388117395Skan
1389169689Skan	PR C/31072
1390169689Skan	* c-decl.c (merge_decls): Don't call make_var_volatile.
1391169689Skan	* varasm.c (make_var_volatile): Remove.
1392169689Skan	* output.h (make_var_volatile): Remove.
1393117395Skan
1394169689Skan2007-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1395117395Skan
1396169689Skan	* builtins.def (lceil, lceilf, lceill, lfloor, lfloorf, lfloorl,
1397169689Skan	llceil, llceilf, llceill, llfloor, llfloorf, llfloorl): Mark with
1398169689Skan	ATTR_CONST_NOTHROW_LIST.
1399117395Skan
1400169689Skan	* fold-const.c (tree_expr_nonnegative_p): Handle FIX_TRUNC_EXPR.
1401117395Skan
1402169689Skan2007-03-08 Andrew Pinski <andrew_pinski@playstation.sony.com>
1403117395Skan
1404169689Skan	PR target/30406
1405169689Skan	* config/rs6000/rs6000.c (rs6000_function_value): Look at bit size
1406169689Skan	instead of precision.
1407117395Skan
1408169689Skan2007-03-08  Volker Reichelt  <reichelt@netcologne.de>
1409117395Skan
1410169689Skan	PR c++/30852
1411169689Skan	* c-common.c (fold_offsetof_1): Handle COMPOUND_EXPR.
1412117395Skan
1413169689Skan2007-03-07  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
1414117395Skan
1415169689Skan	* c.opt (Waddress): New.
1416169689Skan	* common.opt (Walways-true): Delete.
1417169689Skan	(Wstring-literal-comparison): Delete.
1418169689Skan	* doc/invoke.texi (Warning Options): Delete -Walways-true and
1419169689Skan	-Wstring-literal-comparison. Add -Waddress.
1420169689Skan	(Waddress): New.
1421169689Skan	(Walways-true): Delete.
1422169689Skan	(Wstring-literal-comparison): Delete.
1423169689Skan	* doc/extend.texi (#pragma GCC diagnostic): Use -Wformat
1424169689Skan	consistently instead of -Walways-true in example.
1425169689Skan	* c-opts.c (c_common_handle_option): -Waddress is enabled by -Wall.
1426169689Skan	* c-typeck.c (parser_build_binary_op): Replace
1427169689Skan	-Wstring-literal-comparison and -Walways-true with -Waddress.
1428169689Skan	(build_binary_op): Likewise.
1429169689Skan	* c-common.c (c_common_truthvalue_conversion): Likewise.
1430117395Skan
1431169689Skan2007-03-07  Richard Henderson  <rth@redhat.com>
1432117395Skan
1433169689Skan	PR target/30848
1434169689Skan	* reg-stack.c (emit_swap_insn): If a malformed asm was seen,
1435169689Skan	silently fix up the stack in the case of a missing register.
1436117395Skan
1437169689Skan2007-03-06  David Daney  <ddaney@avtrex.com>
1438117395Skan
1439169689Skan	* doc/install.texi (mips-*-*): Change recommended binutils
1440169689Skan	version.
1441117395Skan
1442169689Skan2007-03-06  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
1443117395Skan
1444169689Skan	* doc/invoke.texi (Warning Options): Replace -Werror- with
1445169689Skan	-Werror=.
1446169689Skan	* opts.c (common_handle_option): Likewise.
1447117395Skan
1448169689Skan2007-03-06  Anatoly Sokolov <aesok@post.ru>
1449117395Skan
1450169689Skan	* config/avr/avr.c (avr_mcu_types): Add support for ATmega325P,
1451169689Skan	ATmega3250P, ATmega329P, ATmega3290P, AT90USB82 and AT90USB162
1452169689Skan	devices.
1453169689Skan	* config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
1454169689Skan	* config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
1455117395Skan
1456169689Skan2007-03-06  Roger Sayle  <roger@eyesopen.com>
1457117395Skan
1458169689Skan	PR middle-end/30744
1459169689Skan	* fold-const.c (fold_binary) <EQ_EXPR>: Enforce type consistency
1460169689Skan	when transforming ~X op C to X op' ~C.
1461117395Skan
1462169689Skan2007-03-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1463117395Skan
1464169689Skan	* pa.md: In unamed move patterns, disparge copies between general
1465169689Skan	and floating point registers using '?' modifier.  Don't include 'f'
1466169689Skan	constraint for register preferences in DImode, SImode, HImode and
1467169689Skan	QImode patterns.  Likewise for 'r' in DFmode and SFmode patterns.
1468169689Skan	Remove constraints for copies between general and floating registers
1469169689Skan	in soft-float DFmode pattern.
1470169689Skan	(movdf): Fail if operand1 is a CONST_DOUBLE and operand0 is a hard
1471169689Skan	floating register.
1472169689Skan	(movsf): Likewise.
1473117395Skan
1474169689Skan2007-03-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1475117395Skan
1476169689Skan	* convert.c (convert_to_integer): Fix nearbyint/rint -> *lrint
1477169689Skan	conversion.
1478117395Skan
1479169689Skan2007-03-05  Steve Ellcey  <sje@cup.hp.com>
1480117395Skan
1481169689Skan	Backported from mainline
1482169689Skan	PR debug/29614
1483169689Skan	* cgraph.h (cgraph_varpool_last_needed_node): Make global.
1484169689Skan	* cgraph.c (cgraph_varpool_last_needed_node): Ditto.
1485169689Skan	* cgraphunit.c (cgraph_varpool_assemble_pending_decls):
1486169689Skan	Set cgraph_varpool_last_needed_node to NULL.
1487117395Skan
1488169689Skan2007/03/05  David Taylor  <dtaylor@emc.com>
1489117395Skan
1490169689Skan	PR 31050
1491169689Skan	* gcc.c: Correct copyright date in --version output.
1492117395Skan
1493169689Skan2007-03-05  Brooks Moses  <brooks.moses@codesourcery.com>
1494117395Skan
1495169689Skan	* c.opt: Remove -ffixed-form, -ffixed-line-length-none, and
1496169689Skan	-ffixed-line-length-* options.
1497117395Skan
1498169689Skan2007-03-05  David Edelsohn  <edelsohn@gnu.ogr>
1499117395Skan
1500169689Skan	* config/rs6000/t-ppccomm: Always build libgcc2 for GNU/Linux
1501169689Skan	with -mlong-double-128, except SPE.
1502117395Skan
1503169689Skan	* config/rs6000/darwin-ldouble.c: Only build new functions for
1504169689Skan	__LONG_DOUBLE_128__.
1505117395Skan
1506132718Skan	Backport from mainline:
1507169689Skan	2007-01-16  David Edelsohn  <edelsohn@gnu.org>
1508117395Skan
1509169689Skan	* config/rs6000/darwin-ldouble.c: Build file for SOFT_FLOAT.
1510169689Skan	(strong_alias): Define.
1511169689Skan	(__gcc_qmul): Provide non-FMA for soft-float.
1512169689Skan	(__gcc_qdiv): Same.
1513169689Skan	(__gcc_qneg): New.
1514169689Skan	(__gcc_qeq): New.
1515169689Skan	(__gcc_qle): New.
1516169689Skan	(__gcc_qge): New.
1517169689Skan	(__gcc_qunord): New.
1518169689Skan	(__gcc_stoq): New.
1519169689Skan	(__gcc_dtoq): New.
1520169689Skan	(__gcc_qtos): New.
1521169689Skan	(__gcc_qtod): New.
1522169689Skan	(__gcc_qtoi): New.
1523169689Skan	(__gcc_qtou): New.
1524169689Skan	(__gcc_itoq): New.
1525169689Skan	(__gcc_utoq): New.
1526169689Skan	(fmsub): New.
1527169689Skan	* config/rs6000/rs6000.c (rs6000_init_libfuncs): Initialize
1528169689Skan	soft-float functions.
1529169689Skan	* config/rs6000/libgcc-ppc-glibc.ver: Version soft-float symbols.
1530169689Skan	* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Do not warn
1531169689Skan	about long double soft float.
1532117395Skan
1533169689Skan2007-03-05  Richard Guenther  <rguenther@suse.de>
1534117395Skan
1535132718Skan	Backport from mainline:
1536169689Skan	2007-02-28  Richard Guenther  <rguenther@suse.de>
1537117395Skan
1538169689Skan	PR middle-end/30364
1539169689Skan	* fold-const.c (fold_binary): Do not associate expressions
1540169689Skan	with more than one variable for integer types that do not wrap.
1541117395Skan
1542169689Skan2007-03-04  Eric Botcazou  <ebotcazou@adacore.com>
1543117395Skan
1544169689Skan	PR ada/26797
1545169689Skan	* doc/invoke.texi (-O2): Document that Tree-VRP is not turned on
1546169689Skan	for the Ada compiler.
1547117395Skan
1548169689Skan2007-03-02  Zdenek Dvorak <dvorakz@suse.cz>
1549117395Skan
1550169689Skan	PR tree-optimization/29902
1551169689Skan	* tree-ssa-loop-manip.c (can_unroll_loop_p): Return false if
1552169689Skan	any involved ssa name appears in abnormal phi node.
1553117395Skan
1554169689Skan2007-03-02  Eric Botcazou  <ebotcazou@adacore.com>
1555117395Skan
1556169689Skan	* tree-sra.c (sra_walk_fns) <ldst>: Document new restriction.
1557169689Skan	(sra_walk_modify_expr) <rhs_elt>: Treat the reference as a use
1558169689Skan	if the lhs has side-effects.
1559169689Skan	<lhs_elt>: Treat the reference as a use if the rhs has side-effects.
1560117395Skan
1561169689Skan2007-03-02  Paul Brook  <paul@codesourcery.com>
1562117395Skan
1563169689Skan	* config/arm/arm.c (arm_legitimate_index_p): Limit iWMMXt addressing
1564169689Skan	modes to LDRD for DImode.
1565169689Skan	(output_move_double): Fixup out of range ldrd/strd.
1566169689Skan	(vfp_secondary_reload_class): Rename...
1567169689Skan	(coproc_secondary_reload_class): ... to this.  Add wb argument.
1568169689Skan	* config/arm/arm.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use
1569169689Skan	coproc_secondary_reload_class for CLASS_IWMMXT.
1570169689Skan	(SECONDARY_INPUT_RELOAD_CLASS): Ditto.
1571169689Skan	* arm-protos.h (coproc_secondary_reload_class): Update prototype.
1572117395Skan
1573169689Skan2007-03-02  Eric Botcazou  <ebotcazou@adacore.com>
1574117395Skan
1575169689Skan	* config/alpha/alpha.c (alpha_gp_save_rtx): Insert the insns at the
1576169689Skan	entry by means of emit_insn_at_entry.
1577117395Skan
1578169689Skan2007-03-01  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
1579117395Skan
1580169689Skan	* doc/invoke.texi (Wextra): Delete outdated paragraph.
1581117395Skan
1582169689Skan2007-02-27  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1583117395Skan
1584169689Skan	* pa/predicates.md (move_src_operand): Allow zero for mode.
1585169689Skan	* pa/pa.md: Fix constraints for zero CONST_DOUBLE in 64-bit DFmode
1586169689Skan	move pattern.
1587117395Skan
1588169689Skan2007-02-27  Mike Stump  <mrs@apple.com>
1589117395Skan
1590169689Skan	* config/darwin-crt3.c: Avoid compilation when compiling for a
1591169689Skan	kext multilib.
1592117395Skan
1593169689Skan2007-02-27  Andreas Schwab  <schwab@suse.de>
1594117395Skan
1595169689Skan	* Makefile.in (TEXI_GCCINSTALL_FILES): Add gcc-common.texi.
1596117395Skan
1597169689Skan2007-02-26  Brooks Moses  <brooks.moses@codesourcery.com>
1598117395Skan
1599169689Skan	* Makefile.in (TEXI_GCCINSTALL_FILES): Add gcc-vers.texi dependency.
1600117395Skan
1601169689Skan2007-02-26  Brooks Moses  <brooks.moses@codesourcery.com>
1602117395Skan
1603169689Skan	* doc/include/gcc-common.texi (versionsubtitle): New macro.
1604169689Skan	* doc/cpp.texi: Standardize title page.
1605169689Skan	* doc/cppinternals.texi: Likewise.
1606169689Skan	* doc/gcc.texi: Standardize title page, remove version number
1607169689Skan	from copyright page.
1608169689Skan	* doc/gccint.texi: Likewise.
1609169689Skan	* doc/install.texi: Standardize title page, add table of
1610169689Skan	contents.
1611117395Skan
1612169689Skan2007-02-24  Mike Stump  <mrs@apple.com>
1613117395Skan
1614169689Skan	* config/i386/i386.c (output_pic_addr_const): Stubify optimized
1615169689Skan	symbols.
1616117395Skan
1617169689Skan2007-02-24  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1618117395Skan
1619169689Skan	* pa.md (muldi3): Force subregs to registers in 64-bit expander.
1620117395Skan
1621169689Skan2007-02-23  Mike Stump  <mrs@apple.com>
1622117395Skan
1623169689Skan	* tlink.c (scan_linker_output): Parse linker messages from
1624169689Skan	darwin9's linker better.
1625117395Skan
1626169689Skan2007-02-21 Ira Rosen  <irar@il.ibm.com>
1627117395Skan
1628169689Skan	* tree-ssa-alias.c: Include pointer-set.h
1629169689Skan	* Makefile.in (tree-ssa-alias.o): Depend on pointer-set.h.
1630117395Skan
1631169689Skan2007-02-21  Jakub Jelinek  <jakub@redhat.com>
1632117395Skan
1633169689Skan	Backported from mainline
1634169689Skan	2006-12-20  Andrew Pinski  <pinskia@gmail.com>
1635169689Skan	PR middle-end/30143
1636169689Skan	* omp-low.c (init_tmp_var): New function.
1637169689Skan	(save_tmp_var): New function.
1638169689Skan	(lower_omp_1): Use them for VAR_DECL.
1639117395Skan
1640169689Skan2007-02-20  Alan Modra  <amodra@bigpond.net.au>
1641117395Skan
1642169689Skan	PR target/29943
1643169689Skan	* varasm.c (use_blocks_for_decl_p): Return false for decls with
1644169689Skan	alias attribute.
1645117395Skan
1646169689Skan2007-02-19  Eric Botcazou  <ebotcazou@adacore.com>
1647117395Skan
1648169689Skan	* gimplify.c (gimplify_init_ctor_preeval_1): Detect potential overlap
1649169689Skan	due to calls to functions taking pointers as parameters.
1650117395Skan
1651169689Skan2007-02-19  Richard Henderson  <rth@redhat.com>
1652117395Skan
1653169689Skan	PR debug/29558
1654169689Skan	* var-tracking.c (track_expr_p): Disallow AGGREGATE_TYPE_P
1655169689Skan	in memory.
1656117395Skan
1657169689Skan2007-02-18  Eric Botcazou  <ebotcazou@adacore.com>
1658117395Skan
1659169689Skan	* tree-eh.c (tree_could_trap_p): Handle VIEW_CONVERT_EXPR.
1660117395Skan
1661169689Skan2007-02-18  Eric Botcazou  <ebotcazou@adacore.com>
1662117395Skan
1663169689Skan	* calls.c (mem_overlaps_already_clobbered_arg_p): Return true
1664169689Skan	for arg pointer based indexed addressing.
1665117395Skan
1666169689Skan2007-02-18 Ira Rosen  <irar@il.ibm.com>
1667117395Skan
1668169689Skan	* tree-ssa-alias.c (may_aliases_intersect): New function.
1669169689Skan	* tree-data-ref.c (ptr_ptr_may_alias_p): Call may_aliases_intersect
1670169689Skan	for different tags.
1671169689Skan	* tree-flow.h (may_aliases_intersect): Add function declaration.
1672117395Skan
1673169689Skan2007-02-17  Alexandre Oliva  <aoliva@redhat.com>
1674117395Skan
1675169689Skan	PR tree-optimization/30823
1676169689Skan	* tree-sra.c (sra_build_assignment): Drop type-checking assert.
1677117395Skan
1678169689Skan2007-02-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1679117395Skan
1680169689Skan	PR other/27843
1681169689Skan	* Makefile.in (SYSTEM_HEADER_DIR): Use single quotes to avoid
1682169689Skan	nested double- and backquotes.
1683117395Skan
1684169689Skan2007-02-15  Alexandre Oliva  <aoliva@redhat.com>
1685117395Skan
1686169689Skan	* tree-sra.c (instantiate_missing_elements): Canonicalize
1687169689Skan	bit-field types.
1688169689Skan	(sra_build_assignment): New.
1689169689Skan	(generate_copy_inout, generate_element_copy,
1690169689Skan	generate_element_zero, generate_one_element_init): Use it.
1691117395Skan
1692169689Skan2007-02-15  Kaz Kojima  <kkojima@gcc.gnu.org>
1693117395Skan
1694169689Skan	PR rtl-optimization/29599
1695169689Skan	Backport from mainline.
1696169689Skan	* reload1.c (eliminate_regs_in_insn): Take the destination
1697169689Skan	mode into account when computing the offset.
1698117395Skan
1699169689Skan2007-02-13  Joseph S. Myers  <joseph@codesourcery.com>
1700117395Skan
1701169689Skan	* doc/invoke.texi, doc/standards.texi: Refer to
1702169689Skan	gcc-4.2/c99status.html.
1703117395Skan
1704169689Skan2007-02-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1705117395Skan
1706169689Skan	PR target/30634
1707169689Skan	* pa.md (movdf): For 64-bit target, fail if operand 1 is a non-zero
1708169689Skan	CONST_DOUBLE and operand 0 is a hard register.
1709169689Skan	(movdi): For 64-bit target, remove code to force CONST_DOUBLE to
1710169689Skan	memory.  Fail if operand 1 is a non-zero CONST_INT and operand 0
1711169689Skan	is a hard floating-point register.
1712117395Skan
1713169689Skan2007-02-06  Mark Mitchell  <mark@codesourcery.com>
1714117395Skan
1715169689Skan	PR target/29487
1716169689Skan	* tree.h (DECL_REPLACEABLE_P): New macro.
1717169689Skan	* except.c (set_nothrow_function_flags): Likewise.
1718117395Skan
1719169689Skan2007-02-07  Jakub Jelinek  <jakub@redhat.com>
1720117395Skan
1721169689Skan	PR c++/30703
1722169689Skan	* gimplify.c (gimplify_scan_omp_clauses): Remove special casing
1723169689Skan	of INDIRECT_REF <RESULT_DECL>.
1724117395Skan
1725169689Skan2007-02-06  Rask Ingemann Lamberisen  <rask@sygehus.dk>
1726117395Skan
1727169689Skan	PR 30370
1728169689Skan	* config/rs6000/t-ppccomm: Correct Makefile typo.
1729117395Skan
1730169689Skan2007-02-06  Roger Sayle  <roger@eyesopen.com>
1731117395Skan
1732169689Skan	PR libgomp/28296
1733132718Skan	Backport from mainline.
1734169689Skan	* config/darwin.h (CPP_SPEC): Handle -pthread, transforming
1735169689Skan	it into -D_REENTRANT.
1736117395Skan
1737169689Skan2007-02-05  Alexandre Oliva  <aoliva@redhat.com>
1738117395Skan
1739169689Skan	PR debug/30189
1740169689Skan	* dwarf2out.c (modified_type_die): Follow DECL_ORIGINAL_TYPE
1741169689Skan	even if cv-qualification is the same.
1742117395Skan
1743169689Skan2007-02-05  Geoffrey Keating  <geoffk@apple.com>
1744117395Skan
1745169689Skan	* config/rs6000/darwin-tramp.asm (__trampoline_setup): Call
1746169689Skan	__enable_execute_stack on completion.
1747117395Skan
1748169689Skan2007-02-05  Bob Wilson  <bob.wilson@acm.org>
1749117395Skan
1750169689Skan	* config/xtensa/xtensa.c (constantpool_mem_p): Skip over SUBREGs.
1751117395Skan
1752169689Skan2007-02-02  Maxim Kuvyrkov  <mkuvyrkov@ispras.ru>
1753117395Skan
1754169689Skan	PR target/29682
1755169689Skan	* config/ia64/ia64.c (ia64_speculate_insn): Restrict to memory loads to
1756169689Skan	general or fp registers.  Add comments.
1757169689Skan	* config/ia64/ia64.md (reg_pred_prefix): Add comment.
1758117395Skan
1759169689Skan2007-02-04  Richard Guenther  <rguenther@suse.de>
1760117395Skan
1761117395Skan	Backport from mainline:
1762169689Skan	2007-01-30  Richard Guenther  <rguenther@suse.de>
1763104752Skan
1764169689Skan	PR middle-end/27657
1765169689Skan	* dwarf2out.c (reference_to_unused): Query varpool if the
1766169689Skan	variable was output.
1767104752Skan
1768169689Skan2007-02-02  Mike Stump  <mrs@apple.com>
1769104752Skan
1770169689Skan	* config.gcc (*-*-darwin*): Backport darwin9.h bits.
1771169689Skan	* config/darwin9.h: Add.
1772169689Skan	* config/rs6000/rs6000.c (DARWIN_GENERATE_ISLANDS): Add.
1773169689Skan	(output_call): Use DARWIN_GENERATE_ISLANDS to decide when to
1774169689Skan	generate a branch island.
1775104752Skan
1776169689Skan2007-02-02  Hui-May Chang  <hm.chang@apple.com>
1777104752Skan
1778169689Skan	Revert for x86 darwin:
1779169689Skan	2005-06-19  Uros Bizjak  <uros@kss-loka.si>
1780104752Skan
1781169689Skan	* config/i386/i386.c (ix86_function_arg_regno_p): Put back the
1782169689Skan	code before the following patch under TARGET_MACHO.
1783169689Skan	(ix86_function_value_regno_p): Likewise.
1784104752Skan
1785169689Skan2007-02-02  Simon Martin  <simartin@users.sourceforge.net>
1786104752Skan
1787169689Skan	PR c++/28266
1788169689Skan	* gimplify.c (gimplify_target_expr): Make sure that the TARGET_EXPR is
1789169689Skan	expanded only once even if an error occurs.
1790104752Skan
1791169689Skan2007-02-02  Jakub Jelinek  <jakub@redhat.com>
1792104752Skan
1793169689Skan	PR middle-end/30473
1794169689Skan	* builtins.c (fold_builtin_sprintf): Do not attempt to optimize
1795169689Skan	sprintf (str, "%s").  Do not optimize sprintf (str, "nopercent", p++).
1796104752Skan
1797169689Skan2007-02-01  Guy Martin  <gmsoft@gentoo.org>
1798104752Skan
1799169689Skan	* pa.md (tp_load): Correct mfctl instruction syntax.
1800104752Skan
1801169689Skan2007-02-01  Geoffrey Keating  <geoffk@apple.com>
1802104752Skan
1803169689Skan	* config/rs6000/rs6000.c (rs6000_stack_info): Correct
1804169689Skan	altivec_padding_size calculation on AIX.  Improve comment, add
1805169689Skan	assert to verify that it's right.
1806103445Skan
1807169689Skan2007-01-31  Anatoly Sokolov <aesok@post.ru>
1808103445Skan
1809169689Skan	PR target/19087
1810169689Skan	* config/avr/avr.c (DWARF2_ADDR_SIZE): Define.
1811102780Skan
1812169689Skan2007-01-30  Richard Guenther  <rguenther@suse.de>
1813102780Skan
1814169689Skan	PR middle-end/30313
1815169689Skan	* passes.c (execute_one_pass): Reset in_gimple_form to not
1816169689Skan	confuse non-unit-at-a-time mode.
1817102780Skan
1818169689Skan2007-01-27  Anatoly Sokolov <aesok@post.ru>
1819102780Skan
1820169689Skan	* config/avr/avr.h (TARGET_CPU_CPP_BUILTINS): Define __AVR_HAVE_MUL__.
1821102780Skan
1822169689Skan2007-01-29  Mike Stump  <mrs@apple.com>
1823102780Skan
1824169689Skan	* doc/gccint.texi (Top): Rename Loop Representation to Loop
1825169689Skan	Analysis and Representation to resolve case insensitive conflict.
1826169689Skan	* doc/loop.texi (Loop Analysis and Representation): Likewise.
1827102780Skan
1828169689Skan2007-01-29  Josh Conner  <jconner@apple.com>
1829102780Skan
1830169689Skan	PR middle-end/29683
1831169689Skan	* calls.c (compute_argument_addresses): Set stack and stack_slot
1832169689Skan	for partial args, too.
1833169689Skan	(store_one_arg): Use locate.size.constant for the size when
1834169689Skan	generating a save_area.
1835102780Skan
1836169689Skan2007-01-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1837102780Skan
1838169689Skan	* doc/sourcebuild.texi: Add comma for clarity.
1839169689Skan	* doc/extend.texi: Fix some typos.
1840169689Skan	* doc/passes.texi: Likewise.
1841169689Skan	* doc/cppinternals.texi: Likewise.
1842169689Skan	* doc/c-tree.texi: Likewise.
1843169689Skan	* doc/tree-ssa.texi: Likewise.
1844169689Skan	* doc/install.texi: Likewise.
1845102780Skan
1846169689Skan2007-01-26  Zdenek Dvorak <dvorakz@suse.cz>
1847102780Skan
1848169689Skan	PR tree-optimization/29516
1849169689Skan	* tree-ssa-address.c (tree_mem_ref_addr, add_to_parts,
1850169689Skan	most_expensive_mult_to_index, addr_to_parts,
1851169689Skan	create_mem_ref, maybe_fold_tmr): Make the type of
1852169689Skan	fields of TARGET_MEM_REF sizetype.
1853169689Skan	(move_fixed_address_to_symbol, move_pointer_to_base,
1854169689Skan	aff_combination_remove_elt): New functions.
1855169689Skan	* tree.def (TARGET_MEM_REF): Add comment on types of
1856169689Skan	the operands.
1857169689Skan	* gcc.dg/tree-ssa/loop-20.c: New test.
1858102780Skan
1859169689Skan2007-01-25  Geoffrey Keating  <geoffk@apple.com>
1860102780Skan
1861169689Skan	PR 25127
1862169689Skan	* config/rs6000/rs6000.c (first_altivec_reg_to_save): On Darwin,
1863169689Skan	save Altivec registers in an eh_return function.
1864169689Skan	(compute_vrsave_mask): Likewise.
1865169689Skan	(rs6000_stack_info): Correct AIX/Darwin stack alignment computation
1866169689Skan	for saving Altivec registers.
1867169689Skan	(rs6000_emit_prologue): Don't allocate stack twice in
1868169689Skan	eh_return function.  Correct expected value of altivec_save_offset
1869169689Skan	when using save_world.  Describe save of R0 to stack when using
1870169689Skan	save_world.  Describe stack pointer adjustment when using
1871169689Skan	save_world.  Remove duplicated eh_return parameter register saving.
1872169689Skan	Update sp_offset variable after save_world.
1873169689Skan	* config/rs6000/t-darwin (LIB2FUNCS_STATIC_EXTRA): Remove
1874169689Skan	darwin-world.asm.
1875169689Skan	(LIB2FUNCS_EXTRA): Add darwin-world.asm.
1876169689Skan	* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): -m64
1877169689Skan	implies Altivec.
1878102780Skan
1879169689Skan2007-01-24  Geoffrey Keating  <geoffk@apple.com>
1880102780Skan
1881169689Skan	* unwind-dw2.c (execute_stack_op): Handle DW_OP_swap.
1882102780Skan
1883169689Skan2007-01-24  Jakub Jelinek  <jakub@redhat.com>
1884102780Skan
1885169689Skan	PR middle-end/27416
1886169689Skan	* gimplify.c (omp_check_private): New function.
1887169689Skan	(gimplify_scan_omp_clauses): Use it for
1888169689Skan	firstprivate/lastprivate/reduction.
1889102780Skan
1890169689Skan	PR middle-end/30494
1891169689Skan	* gimplify.c (omp_add_variable): Don't call omp_notice_variable
1892169689Skan	on TYPE_SIZE_UNIT for GOVD_LOCAL VLAs.
1893102780Skan
1894169689Skan	PR middle-end/30421
1895169689Skan	* omp-low.c (lower_omp_for_lastprivate): Add dlist argument.
1896169689Skan	If lower_lastprivate_clauses emits some statements, append them
1897169689Skan	to dlist rather than body_p and to body_p append an initializer.
1898169689Skan	(lower_omp_for): Adjust caller.
1899102780Skan
1900169689Skan2007-01-21  Eric Botcazou  <ebotcazou@libertysurf.fr>
1901102780Skan
1902169689Skan	PR rtl-optimization/29329
1903169689Skan	* combine.c (replaced_rhs_insn): Rename to i2mod.
1904169689Skan	(replaced_rhs_value): Rename to i2mod_new_rhs.
1905169689Skan	(i2mod_old_rhs): New global variable.
1906169689Skan	(combine_instructions): Adjust for above change.  Save a copy of
1907169689Skan	the old RHS into i2mod_old_rhs when the contents of a REG_EQUAL
1908169689Skan	note are substituted in the second instruction.
1909169689Skan	(distribute_notes) <REG_DEAD>: Adjust for above change.  Do not
1910169689Skan	ditch the note if it pertains to the second eliminated register
1911169689Skan	and this register is mentioned in i2mod_old_rhs.
1912102780Skan
1913132718Skan	Revert:
1914169689Skan	2006-09-12  Eric Botcazou  <ebotcazou@libertysurf.fr>
191596263Sobrien
1916169689Skan	* combine.c (distribute_notes) <REG_DEAD>: Do not consider SETs past
1917169689Skan	the insn to which the note was originally attached.
191896263Sobrien
1919169689Skan2007-01-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
192096263Sobrien
1921169689Skan	* pa.c (output_move_double): Change array size of xoperands to 4.
192296263Sobrien
1923169689Skan2007-01-17  Eric Christopher  <echristo@apple.com>
192496263Sobrien
1925169689Skan	Backport from mainline:
1926169689Skan	2006-12-18  Roger Sayle  <roger@eyesopen.com>
1927169689Skan	            Eric Christopher  <echristo@apple.com>
192896263Sobrien
1929169689Skan	PR target/29302
1930169689Skan	* real.c (real_maxval): Correctly handle IBM extended double format.
193196263Sobrien
1932169689Skan2007-01-17  Tom Tromey  <tromey@redhat.com>
193396263Sobrien
1934169689Skan	* doc/sourcebuild.texi (libgcj Tests): Use sourceware.org.
1935169689Skan	* doc/install.texi (Testing): Use sourceware.org.
1936169689Skan	(Binaries): Likewise.
1937169689Skan	(Specific): Likewise.
1938169689Skan	* doc/contrib.texi (Contributors): Use sourceware.org.
193996263Sobrien
1940169689Skan2007-01-15  Joseph S. Myers  <joseph@codesourcery.com>
194196263Sobrien
1942169689Skan	* config/soft-fp/op-common.h, config/soft-fp/op-4.h: Update from
1943169689Skan	glibc CVS.
194496263Sobrien
1945169689Skan2007-01-11  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
194696263Sobrien
1947169689Skan	* pa-linux.h (ASM_OUTPUT_INTERNAL_LABEL): Undefine.
1948169689Skan	* pa.h (ASM_OUTPUT_LABEL): Output colon when using GAS.
1949169689Skan	(ASM_OUTPUT_INTERNAL_LABEL): Define.
195096263Sobrien
1951169689Skan2007-01-10  Ralf Cors��pius <ralf.corsepius@rtems.org>
195296263Sobrien
1953169689Skan	* config/bfin/t-bfin, config/bfin/t-bfin-elf: Remove GCC_CFLAGS.
195496263Sobrien
1955169689Skan2007-01-09  Nicolas Pitre  <nico@cam.org>
195696263Sobrien
1957169689Skan	PR target/30173
1958169689Skan	* arm/ieee754-df.S (Lad_s): Also test the low word of X for zero.
195996263Sobrien
1960169689Skan2007-01-08  Nick Clifton  <nickc@redhat.com>
196196263Sobrien
1962169689Skan	* config/frv/predicates.md (reg_or_0_operand): Accept
1963169689Skan	CONST_DOUBLEs.
196496263Sobrien
1965169689Skan2007-01-08  Ralf Cors��pius <ralf.corsepius@rtems.org>
196696263Sobrien
1967169689Skan	* config/bfin/rtems.h, config/bfin/t-rtems: New.
1968169689Skan	* config.gcc: Add bfin*-rtems*.
196996263Sobrien
1970169689Skan2007-01-08  Chen liqin  <liqin@sunnorth.com.cn>
1971169689Skan	* config/score/t-score-elf (MULTILIB_OPTIONS): Change.
1972169689Skan	* config/score/predicates.md (const_uimm5, sr0_operand, const_simm12,
1973169689Skan	const_simm15, const_pow2, const_npow2): Added.
1974169689Skan	* config/score/misc.md (insv, extv, extzv, movmemsi,
1975169689Skan	move_lbu_a/b, mov_lhu_a/b etc): Added and fix some bug.
1976169689Skan	* config/score/score.c (score_address_cost, score_select_cc_mode):
1977169689Skan	Added.
1978169689Skan	Change CONST_OK_FOR_LETTER_P/EXTRA_CONSTRAINT define.
1979169689Skan	Update score_rtx_costs for MACRO TARGET_RTX_COSTS.
1980169689Skan	Update score_print_operand.
1981169689Skan	* config/score/score.h (DATA_ALIGNMENT, SELECT_CC_MODE): Added.
1982169689Skan	Adjust register allocate order and update some macro define.
1983169689Skan	* config/score/score-mdaux.c (mdx_unaligned_load, mdx_unsigned_store,
1984169689Skan	mdx_block_move_straight, mdx_block_move_loop_head,
1985169689Skan	mdx_block_move_loop_body, mdx_block_move_loop_foot, mdx_block_move_loop,
1986169689Skan	mdx_block_move): Added.
1987169689Skan	(mdx_movsicc, mdp_select_add_imm, mdp_select, mds_zero_extract_andi,
1988169689Skan	mdp_limm): Updated and fix some bug and typo.
1989169689Skan	* config/score/score.md (movqi/hi/si, add/sub/zero/ext): Updated.
1990169689Skan	(movsf, movdf, doloop_end): Added.
199196263Sobrien
1992169689Skan2007-01-05  Richard Guenther  <rguenther@suse.de>
199396263Sobrien
1994169689Skan	PR middle-end/27826
1995169689Skan	* tree.c (get_narrower): Do not construct COMPONENT_REFs
1996169689Skan	with mismatched types.  Instead explicitly build a
1997169689Skan	conversion NOP_EXPR.
199896263Sobrien
1999169689Skan2007-01-05  Jakub Jelinek  <jakub@redhat.com>
200096263Sobrien
2001169689Skan	PR c/30360
2002169689Skan	* libgcc2.c (__divdc3): Compare c and d against 0.0 instead of
2003169689Skan	denom against 0.0.
200496263Sobrien
2005169689Skan2007-01-03  Jakub Jelinek  <jakub@redhat.com>
200696263Sobrien
2007169689Skan	* unwind-dw2.c (SIGNAL_FRAME_BIT, EXTENDED_CONTEXT_BIT): Define.
2008169689Skan	(struct _Unwind_Context): Rename args_size to flags, remove
2009169689Skan	signal_frame field, add a new args_size field and version field.
2010169689Skan	(_Unwind_IsSignalFrame, _Unwind_SetSignalFrame,
2011169689Skan	_Unwind_IsExtendedContext): New inline functions.
2012169689Skan	(_Unwind_GetGR, _Unwind_SetGR, _Unwind_GetGRPtr, _Unwind_SetGRPtr):
2013169689Skan	Assume by_value array is only present if _Unwind_IsExtendedContext.
2014169689Skan	(_Unwind_GetIPInfo, execute_cfa_program, uw_frame_state_for): Use
2015169689Skan	_Unwind_IsSignalFrame.
2016169689Skan	(__frame_state_for): Initialize context.flags to EXTENDED_CONTEXT_BIT.
2017169689Skan	(uw_update_context_1): Use _Unwind_SetSignalFrame.
2018169689Skan	(uw_init_context_1): Initialize context->flags to
2019169689Skan	EXTENDED_CONTEXT_BIT.
2020169689Skan	* config/rs6000/linux-unwind.h (frob_update_context): Use
2021169689Skan	_Unwind_SetSignalFrame.
202296263Sobrien
2023169689Skan2007-01-01  Mike Stump  <mrs@apple.com>
202496263Sobrien
2025169689Skan	* configure.ac: Remove support for building with Apple's gcc-3.1.
202696263Sobrien
2027169689Skan2007-01-01  Andreas Schwab  <schwab@suse.de>
202896263Sobrien
2029169689Skan	PR target/29166
2030169689Skan	* config/ia64/ia64.c (ia64_compute_frame_size): Account space for
2031169689Skan	save of BR0 in extra_spill_size instead of spill_size.
2032169689Skan	(ia64_expand_prologue): Save BR0 outside of the gr/br/fr spill
2033169689Skan	area.
2034169689Skan	(ia64_expand_epilogue): Restore BR0 from its new location.
2035