OSDN Git Service

* fixed-value.h: New file.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2007-08-06  Chao-ying Fu  <fu@mips.com>
2
3         * fixed-value.h: New file.
4         * fixed-value.c: New file.
5         * Makefile.in (OBJS-common): Add fixed-value.o.
6         (fixed-value.o): New rule.
7         (GTFILES): Add fixed-value.h.
8         * double-int.c (double_int_scmp): We should use unsigned HOST_WIDE_INT
9         to compare a.low and b.low.
10         * gengtype.c (main): Handle FIXED_VALUE_TYPE type as scalar typedef.
11
12 2007-08-06  H.J. Lu  <hongjiu.lu@intel.com>
13             Daniel Jacobowitz  <dan@codesourcery.com>
14
15         PR target/31868
16         * config.gcc (x86_64-*-freebsd*): Add i386/t-crtstuff to
17         tmake_file.
18         (x86_64-*-netbsd*): Likewise.
19         (x86_64-*-linux*): Likewise.
20         (x86_64-*-kfreebsd*-gnu): Likewise.
21         (x86_64-*-knetbsd*-gnu): Likewise.
22         (i[34567]86-*-solaris2.1[0-9]*): Likewise.
23
24         * config/i386/t-linux64 (CRTSTUFF_T_CFLAGS): Removed.
25
26         * config/i386/t-crtstuff (CRTSTUFF_T_CFLAGS): Update comments.
27         Add -fno-asynchronous-unwind-tables.
28
29         * config/t-freebsd (CRTSTUFF_T_CFLAGS_S): Add $(CRTSTUFF_T_CFLAGS).
30         * config/t-libc-ok (CRTSTUFF_T_CFLAGS_S): Likewise.
31         * config/t-lynx (CRTSTUFF_T_CFLAGS_S): Likewise.
32         * config/t-netbsd (CRTSTUFF_T_CFLAGS_S): Likewise.
33         * config/t-svr4 (CRTSTUFF_T_CFLAGS_S): Likewise.
34
35 2007-08-06  Steve Ellcey  <sje@cup.hp.com>
36
37         * config/ia64/ia64.c (ia64_c_mode_for_suffix): New.
38         (TARGET_C_MODE_FOR_SUFFIX): New.
39
40 2007-08-06  Steve Ellcey  <sje@cup.hp.com>
41
42         * config/ia64/div.md (m2subrf4_cond): Change 'g' to 'G'.
43
44 2007-08-06  Steve Ellcey  <sje@cup.hp.com>
45
46         * config/ia64/ia64.h (MODES_TIEABLE_P): Fix typo.
47
48 2007-08-06  H.J. Lu  <hongjiu.lu@intel.com>
49
50         * config/i386/i386.md: Check TARGET_ macros and optimize_size
51         before checking function returns in conditional expressions.
52
53 2007-08-06  Alfred Minarik  <a.minarik@aon.at>
54
55         PR pch/13676
56         * doc/invoke.texi: Add .hp, .hxx, .hpp, .h, .HPP, .tcc as c++ header.
57
58 2008-08-05  Andrew Pinski  <andrew_pinski@playstation.sony.com>
59
60         PR middle-end/32988
61         * tree.c (build2_stat): Instead of checking for INTEGER_TYPE, check
62         for INTEGRAL_TYPE_P.
63
64 2008-08-05  Paolo Bonzini  <bonzini@gnu.org>
65
66         * configure.ac: Remove --enable-checking=df from default settings.
67         * tree-pass.h (TODO_df_verify): New.  Shift TODO_mark_first_instance.
68         * df-core.c (df_finish_pass) [ENABLE_CHECKING]: Schedule verification
69         if the parameter is true.
70         (df_analyze) [!ENABLE_DF_CHECKING]: Also do verification if the
71         DF_VERIFY_SCHEDULED flag is true.
72         * df.h (enum df_changeable_flags): Add DF_VERIFY_SCHEDULED.
73         (df_finish_pass): Adjust prototype.
74         * passes.c (execute_todo): Schedule verification if TODO_df_verify is
75         true.
76
77         * see.c (pass_see): Add TODO_df_verify.
78         * loop-init.c (pass_rtl_move_loop_invariants): Add TODO_df_verify.
79         * global.c (rest_of_handle_global_alloc): Schedule verification
80         after the pass.
81         * local-alloc.c (rest_of_handle_local_alloc): Schedule verification
82         before the pass.
83         * function.c (pass_thread_prologue_and_epilogue): Add TODO_df_verify.
84         * gcse.c (rest_of_handle_gcse): Adjust call to df_finish_pass.
85         * loop-iv.c (iv_analysis_done): Schedule verification after the pass.
86
87         * config/sh/sh.c (sh_output_mi_thunk): Remove dead code.
88         * config/ia64/ia64.c (ia64_reorg): Adjust call to df_finish_pass.
89         * config/bfin/bfin.c (bfin_reorg): Adjust call to df_finish_pass.
90
91 2007-08-05  Vladimir Yanovsky  <yanov@il.ibm.com>
92             Revital Eres <eres@il.ibm.com>
93
94         * doc/invoke.texi (-fmodulo-sched-allow-regmoves): Document new
95         flag.
96         * ddg.c (create_ddg_dependence): Rename to...
97         (create_ddg_dep_from_intra_loop_link): This.  Do not check
98         for interloop edges.  Do not create anti dependence edge when
99         a true dependence edge exists in the opposite direction and
100         -fmodulo-sched-allow-regmoves is set.
101         (build_intra_loop_deps): Call create_ddg_dep_from_intra_loop_link.
102         (add_cross_iteration_register_deps): Create anti dependence edge
103         when -fno-modulo-sched-allow-regmoves is set.
104         * common.opt (-fmodulo-sched-allow-regmoves): New flag.
105
106 2007-08-04  Richard Sandiford  <richard@codesourcery.com>
107
108         * config/arm/arm.md (movsi): Add braces.
109
110 2007-08-04  Andrew Pinski  <andrew_pinski@playstation.sony.com>
111
112         PR middle-end/32780
113         * fold-const.c (fold_binary <case MINUS_EXPR>): Fix the type of operands
114         for the folding of "A - (A & B)" into "~B & A"; cast them to type.
115
116 2007-08-03  Zdenek Dvorak  <ook@ucw.cz>
117
118         * tree-ssa-threadupdate.c (thread_through_all_blocks): Use loops' state
119         accessor functions.
120         * cfgloopmanip.c (remove_path, create_preheaders,
121         force_single_succ_latches, fix_loop_structure): Ditto.
122         * tree-ssa-loop-manip.c (rewrite_into_loop_closed_ssa,
123         tree_duplicate_loop_to_header_edge): Ditto.
124         * cfgloopanal.c (mark_irreducible_loops): Ditto.
125         * loop-init.c (loop_optimizer_init, loop_optimizer_finalize):
126         Ditto.
127         * tree-cfgcleanup.c (cleanup_tree_cfg_noloop, repair_loop_structures,
128         cleanup_tree_cfg): Ditto.
129         * tree-cfg.c (tree_merge_blocks): Ditto.
130         * cfgloop.c (rescan_loop_exit, record_loop_exits,
131         release_recorded_exits, get_loop_exit_edges, verify_loop_structure,
132         loop_preheader_edge, single_exit): Ditto.
133         (flow_loops_find): Do not clear loops->state.
134         * cfgloop.h (loops_state_satisfies_p, loops_state_set,
135         loops_state_clear): New functions.
136
137 2007-08-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
138
139         PR middle-end/32399
140         * tree-ssa-address.c (add_to_parts): Use POINTER_PLUS_EXPR
141         when adding to the base and convert ELT to sizetype instead of type.
142
143 2007-08-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
144
145         PR middle-end/32304
146         * ipa-reference.c (has_proper_scope_for_analysis): Return false when
147         the decl's type has TYPE_NEEDS_CONSTRUCTING set.
148
149 2007-08-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
150
151         PR middle-end/32935
152         * fold-convert.c (fold_negate_expr <NOP_EXPR>): Convert back to the
153          correct type the negate expression.
154
155 2007-08-03  Jan Hubicka  <jh@suse.cz>
156
157         * i386.c (setup_incoming_varargs_64): Tolerate 64bit preferred
158         stack boundary.
159
160 2007-08-03  David Edelsohn  <edelsohn@gnu.org>
161
162         * config/rs6000/rs6000.c (struct processor_cost): Change
163         l1_cache_lines to l1_cache_size.  Add l2_cache_size.
164         (*_cost): Convert l1 cache information to kilobytes.  Add l2 cache
165         information.
166         (rios1_costs, rios2_cost): Correct cache line size.
167         (rs6000_override_options): Set l2-cache-size parameter.
168
169 2007-08-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
170             Diego Novillo  <dnovillo@google.com>
171
172         PR 31521
173         * tree-vrp.c (simplify_div_or_mod_using_ranges): Also simplify
174         if the range includes 0.
175
176 2007-08-03  Ben Elliston  <bje@au.ibm.com>
177
178         * config/spu/spu.md (dftsv, dftsv_celledp): Attach the appropriate
179         mode to unspec expressions to silence a warning from the generator
180         programs.
181         
182 2007-08-02  Steve Ellcey  <sje@cup.hp.com>
183
184         * config/ia64/constraints.md ("U"): Make constraint vector only.
185
186 2007-08-02  Nathan Froyd  <froydnj@codesourcery.com>
187
188         PR middle-end/25446
189         * c-objc-common.c (c_cannot_inline_tree_fn): Check for an
190         always_inline attribute on the function decl.
191
192 2007-08-02  Nathan Froyd  <froydnj@codesourcery.com>
193
194         PR middle-end/25445
195         * varasm.c (default_binds_local_p_1): Consult flag_whole_program
196         if we are compiling with -fPIC.
197
198 2007-08-02  Sandra Loosemore  <sandra@codesourcery.com>
199             Nigel Stephens  <nigel@mips.com>
200
201         * longlong.h [__mips__] (count_leading_zeros, COUNT_LEADING_ZEROS_0):
202         Define for MIPS32 and MIPS64.
203
204 2007-08-02  Nick Clifton  <nickc@redhat.com>
205
206         * config/host-hpux.c: Change copyright header to refer to version
207         3 of the GNU General Public License and to point readers at the
208         COPYING3 file and the FSF's license web page.
209         * config/alpha/predicates.md, config/alpha/vms-ld.c,
210         config/alpha/linux.h, config/alpha/alpha.opt,
211         config/alpha/linux-elf.h, config/alpha/vms.h, config/alpha/elf.h,
212         config/alpha/vms-unwind.h, config/alpha/ev4.md,
213         config/alpha/ev6.md, config/alpha/alpha.c, config/alpha/vms-cc.c,
214         config/alpha/alpha.h, config/alpha/sync.md,
215         config/alpha/openbsd.h, config/alpha/alpha.md,
216         config/alpha/alpha-modes.def, config/alpha/ev5.md,
217         config/alpha/alpha-protos.h, config/alpha/freebsd.h,
218         config/alpha/osf5.h, config/alpha/netbsd.h, config/alpha/vms64.h,
219         config/alpha/constraints.md, config/alpha/osf.h,
220         config/alpha/xm-vms.h, config/alpha/unicosmk.h, config/linux.h,
221         config/frv/predicates.md, config/frv/frv.h, config/frv/linux.h,
222         config/frv/frv.md, config/frv/frv.opt, config/frv/frv-modes.def,
223         config/frv/frv-asm.h, config/frv/frv-protos.h,
224         config/frv/frv-abi.h, config/frv/frv.c, config/s390/tpf.h,
225         config/s390/s390.c, config/s390/predicates.md, config/s390/s390.h,
226         config/s390/linux.h, config/s390/tpf.md, config/s390/tpf.opt,
227         config/s390/2064.md, config/s390/2084.md, config/s390/s390.md,
228         config/s390/s390.opt, config/s390/s390-modes.def,
229         config/s390/fixdfdi.h, config/s390/constraints.md,
230         config/s390/s390-protos.h, config/s390/s390x.h, config/elfos.h,
231         config/dbxcoff.h, config/m32c/predicates.md, config/m32c/cond.md,
232         config/m32c/m32c.c, config/m32c/minmax.md, config/m32c/blkmov.md,
233         config/m32c/m32c-pragma.c, config/m32c/m32c.h,
234         config/m32c/prologue.md, config/m32c/m32c.abi,
235         config/m32c/muldiv.md, config/m32c/bitops.md, config/m32c/mov.md,
236         config/m32c/addsub.md, config/m32c/m32c.md, config/m32c/m32c.opt,
237         config/m32c/t-m32c, config/m32c/m32c-modes.def,
238         config/m32c/jump.md, config/m32c/shift.md,
239         config/m32c/m32c-protos.h, config/libgloss.h,
240         config/spu/spu-protos.h, config/spu/predicates.md,
241         config/spu/spu-builtins.h, config/spu/spu.c,
242         config/spu/spu-builtins.def, config/spu/spu-builtins.md,
243         config/spu/spu.h, config/spu/spu-elf.h, config/spu/constraints.md,
244         config/spu/spu.md, config/spu/spu-c.c, config/spu/spu.opt,
245         config/spu/spu-modes.def, config/spu/t-spu-elf, config/interix.h,
246         config/sparc/hypersparc.md, config/sparc/predicates.md,
247         config/sparc/linux.h, config/sparc/sp64-elf.h,
248         config/sparc/supersparc.md, config/sparc/cypress.md,
249         config/sparc/openbsd1-64.h, config/sparc/openbsd64.h,
250         config/sparc/niagara.md, config/sparc/sparc.md,
251         config/sparc/long-double-switch.opt, config/sparc/ultra3.md,
252         config/sparc/sparc.opt, config/sparc/sync.md,
253         config/sparc/sp-elf.h, config/sparc/sparc-protos.h,
254         config/sparc/ultra1_2.md, config/sparc/biarch64.h,
255         config/sparc/sparc.c, config/sparc/little-endian.opt,
256         config/sparc/sysv4-only.h, config/sparc/sparc.h,
257         config/sparc/linux64.h, config/sparc/freebsd.h,
258         config/sparc/sol2.h, config/sparc/rtemself.h,
259         config/sparc/netbsd-elf.h, config/sparc/vxworks.h,
260         config/sparc/sparc-modes.def, config/sparc/sparclet.md,
261         config/sparc/sysv4.h, config/vx-common.h, config/netbsd-aout.h,
262         config/flat.h, config/m32r/m32r.md, config/m32r/predicates.md,
263         config/m32r/little.h, config/m32r/m32r.c, config/m32r/m32r.opt,
264         config/m32r/linux.h, config/m32r/constraints.md,
265         config/m32r/m32r.h, config/m32r/m32r-protos.h, config/vxworks.opt,
266         config/darwin-c.c, config/darwin.opt, config/i386/i386.h,
267         config/i386/cygming.h, config/i386/linux.h, config/i386/cygwin.h,
268         config/i386/i386.md, config/i386/netware-crt0.c,
269         config/i386/sco5.h, config/i386/mmx.md, config/i386/vx-common.h,
270         config/i386/kaos-i386.h, config/i386/winnt-stubs.c,
271         config/i386/netbsd64.h, config/i386/djgpp.h, config/i386/gas.h,
272         config/i386/sol2.h, config/i386/constraints.md,
273         config/i386/netware-libgcc.c, config/i386/sysv5.h,
274         config/i386/predicates.md, config/i386/geode.md,
275         config/i386/x86-64.h, config/i386/kfreebsd-gnu.h,
276         config/i386/freebsd64.h, config/i386/vxworksae.h,
277         config/i386/pentium.md, config/i386/lynx.h, config/i386/i386elf.h,
278         config/i386/rtemself.h, config/i386/netbsd-elf.h,
279         config/i386/ppro.md, config/i386/k6.md, config/i386/netware.c,
280         config/i386/netware.h, config/i386/i386-modes.def,
281         config/i386/sysv4-cpp.h, config/i386/i386-interix.h,
282         config/i386/cygwin1.c, config/i386/djgpp.opt, config/i386/uwin.h,
283         config/i386/unix.h, config/i386/ptx4-i.h, config/i386/xm-djgpp.h,
284         config/i386/att.h, config/i386/winnt.c, config/i386/beos-elf.h,
285         config/i386/sol2-10.h, config/i386/darwin64.h, config/i386/sse.md,
286         config/i386/i386.opt, config/i386/bsd.h, config/i386/cygming.opt,
287         config/i386/xm-mingw32.h, config/i386/linux64.h,
288         config/i386/openbsdelf.h, config/i386/xm-cygwin.h,
289         config/i386/sco5.opt, config/i386/darwin.h, config/i386/mingw32.h,
290         config/i386/winnt-cxx.c, config/i386/i386-interix3.h,
291         config/i386/nwld.c, config/i386/nwld.h, config/i386/host-cygwin.c,
292         config/i386/cygwin2.c, config/i386/i386-protos.h,
293         config/i386/sync.md, config/i386/openbsd.h,
294         config/i386/host-mingw32.c, config/i386/i386-aout.h,
295         config/i386/nto.h, config/i386/biarch64.h,
296         config/i386/i386-coff.h, config/i386/freebsd.h,
297         config/i386/driver-i386.c, config/i386/knetbsd-gnu.h,
298         config/i386/host-i386-darwin.c, config/i386/vxworks.h,
299         config/i386/crtdll.h, config/i386/i386.c, config/i386/sysv4.h,
300         config/darwin-protos.h, config/linux.opt, config/sol2.c,
301         config/sol2.h, config/sh/symbian.c, config/sh/sh-protos.h,
302         config/sh/linux.h, config/sh/elf.h, config/sh/superh.h,
303         config/sh/sh4.md, config/sh/coff.h, config/sh/newlib.h,
304         config/sh/embed-elf.h, config/sh/symbian-pre.h, config/sh/rtems.h,
305         config/sh/kaos-sh.h, config/sh/sh4a.md, config/sh/constraints.md,
306         config/sh/sh64.h, config/sh/sh.opt, config/sh/symbian-post.h,
307         config/sh/sh-c.c, config/sh/predicates.md, config/sh/sh.c,
308         config/sh/sh.h, config/sh/shmedia.md, config/sh/sh-modes.def,
309         config/sh/little.h, config/sh/sh1.md, config/sh/sh4-300.md,
310         config/sh/superh64.h, config/sh/rtemself.h,
311         config/sh/netbsd-elf.h, config/sh/sh.md, config/sh/vxworks.h,
312         config/usegas.h, config/svr3.h, config/pdp11/pdp11-protos.h,
313         config/pdp11/2bsd.h, config/pdp11/pdp11.md, config/pdp11/pdp11.c,
314         config/pdp11/pdp11.opt, config/pdp11/pdp11-modes.def,
315         config/pdp11/pdp11.h, config/avr/rtems.h, config/avr/avr-protos.h,
316         config/avr/predicates.md, config/avr/constraints.md,
317         config/avr/avr.md, config/avr/avr.c, config/avr/avr.opt,
318         config/avr/avr.h, config/sol2-protos.h, config/dbxelf.h,
319         config/lynx.opt, config/crx/crx.h, config/crx/crx-protos.h,
320         config/crx/crx.md, config/crx/crx.c, config/crx/crx.opt,
321         config/c4x/c4x-c.c, config/c4x/c4x.c, config/c4x/c4x.opt,
322         config/c4x/c4x-modes.def, config/c4x/rtems.h,
323         config/c4x/predicates.md, config/c4x/c4x.h,
324         config/c4x/c4x-protos.h, config/c4x/c4x.md, config/kfreebsd-gnu.h,
325         config/xtensa/predicates.md, config/xtensa/xtensa.c,
326         config/xtensa/linux.h, config/xtensa/xtensa.h,
327         config/xtensa/elf.h, config/xtensa/xtensa.md,
328         config/xtensa/xtensa.opt, config/xtensa/constraints.md,
329         config/xtensa/xtensa-protos.h, config/dbx.h,
330         config/stormy16/predicates.md, config/stormy16/stormy16.md,
331         config/stormy16/stormy16.c, config/stormy16/stormy16.opt,
332         config/stormy16/stormy16.h, config/stormy16/stormy16-protos.h,
333         config/host-solaris.c, config/fr30/fr30.h,
334         config/fr30/predicates.md, config/fr30/fr30-protos.h,
335         config/fr30/fr30.md, config/fr30/fr30.c, config/fr30/fr30.opt,
336         config/vxworksae.h, config/sol2-c.c, config/lynx.h,
337         config/m68hc11/m68hc11-protos.h, config/m68hc11/predicates.md,
338         config/m68hc11/m68hc11.md, config/m68hc11/m68hc11.c,
339         config/m68hc11/m68hc11.opt, config/m68hc11/m68hc11.h,
340         config/m68hc11/m68hc12.h, config/openbsd-oldgas.h,
341         config/host-linux.c, config/interix3.h, config/cris/cris.c,
342         config/cris/predicates.md, config/cris/linux.h,
343         config/cris/cris.h, config/cris/aout.h, config/cris/cris.md,
344         config/cris/linux.opt, config/cris/cris.opt, config/cris/elf.opt,
345         config/cris/aout.opt, config/cris/cris-protos.h,
346         config/vxworks-dummy.h, config/netbsd.h, config/netbsd-elf.h,
347         config/iq2000/iq2000.h, config/iq2000/predicates.md,
348         config/iq2000/iq2000-protos.h, config/iq2000/iq2000.md,
349         config/iq2000/iq2000.c, config/iq2000/iq2000.opt,
350         config/host-darwin.c, config/mt/mt.md, config/mt/mt.c,
351         config/mt/mt.opt, config/mt/t-mt, config/mt/mt.h,
352         config/mt/mt-protos.h, config/svr4.h, config/host-darwin.h,
353         config/chorus.h, config/mn10300/mn10300.c,
354         config/mn10300/mn10300.opt, config/mn10300/predicates.md,
355         config/mn10300/mn10300.h, config/mn10300/linux.h,
356         config/mn10300/constraints.md, config/mn10300/mn10300-protos.h,
357         config/mn10300/mn10300.md, config/ia64/predicates.md,
358         config/ia64/itanium1.md, config/ia64/unwind-ia64.h,
359         config/ia64/ia64-c.c, config/ia64/sync.md, config/ia64/ia64.c,
360         config/ia64/itanium2.md, config/ia64/ia64.h, config/ia64/vect.md,
361         config/ia64/freebsd.h, config/ia64/ia64.md,
362         config/ia64/ia64-modes.def, config/ia64/constraints.md,
363         config/ia64/hpux.h, config/ia64/ia64-protos.h, config/windiss.h,
364         config/gofast.h, config/rtems.h, config/sol2-10.h,
365         config/m68k/predicates.md, config/m68k/m68k.md,
366         config/m68k/linux.h, config/m68k/m68k-modes.def,
367         config/m68k/print-sysroot-suffix.sh, config/m68k/m68k-protos.h,
368         config/m68k/coff.h, config/m68k/m68k-none.h, config/m68k/ieee.opt,
369         config/m68k/openbsd.h, config/m68k/m68k-aout.h,
370         config/m68k/m68k.opt, config/m68k/m68020-elf.h,
371         config/m68k/m68kelf.h, config/m68k/m68k-devices.def,
372         config/m68k/uclinux-oldabi.h, config/m68k/m68k.c,
373         config/m68k/constraints.md, config/m68k/rtemself.h,
374         config/m68k/netbsd-elf.h, config/m68k/m68k.h,
375         config/m68k/uclinux.h, config/rs6000/power4.md,
376         config/rs6000/host-darwin.c, config/rs6000/6xx.md,
377         config/rs6000/linux.h, config/rs6000/eabi.h,
378         config/rs6000/aix41.opt, config/rs6000/xcoff.h,
379         config/rs6000/secureplt.h, config/rs6000/linuxspe.h,
380         config/rs6000/eabialtivec.h, config/rs6000/8540.md,
381         config/rs6000/darwin8.h, config/rs6000/kaos-ppc.h,
382         config/rs6000/windiss.h, config/rs6000/603.md,
383         config/rs6000/aix41.h, config/rs6000/cell.md,
384         config/rs6000/mpc.md, config/rs6000/aix43.h, config/rs6000/beos.h,
385         config/rs6000/gnu.h, config/rs6000/rtems.h, config/rs6000/aix.opt,
386         config/rs6000/darwin.md, config/rs6000/darwin64.h,
387         config/rs6000/default64.h, config/rs6000/7xx.md,
388         config/rs6000/darwin.opt, config/rs6000/spe.md,
389         config/rs6000/rs6000.opt, config/rs6000/rs6000-c.c,
390         config/rs6000/rios2.md, config/rs6000/linuxaltivec.h,
391         config/rs6000/7450.md, config/rs6000/linux64.h,
392         config/rs6000/constraints.md, config/rs6000/440.md,
393         config/rs6000/darwin.h, config/rs6000/host-ppc64-darwin.c,
394         config/rs6000/rs6000.c, config/rs6000/aix52.h,
395         config/rs6000/rs6000.h, config/rs6000/power6.md,
396         config/rs6000/predicates.md, config/rs6000/altivec.md,
397         config/rs6000/aix64.opt, config/rs6000/rios1.md,
398         config/rs6000/rs6000-modes.def, config/rs6000/rs64.md,
399         config/rs6000/eabisim.h, config/rs6000/sysv4le.h,
400         config/rs6000/darwin7.h, config/rs6000/dfp.md,
401         config/rs6000/linux64.opt, config/rs6000/sync.md,
402         config/rs6000/vxworksae.h, config/rs6000/power5.md,
403         config/rs6000/lynx.h, config/rs6000/biarch64.h,
404         config/rs6000/rs6000.md, config/rs6000/sysv4.opt,
405         config/rs6000/eabispe.h, config/rs6000/e500.h,
406         config/rs6000/freebsd.h, config/rs6000/rs6000-protos.h,
407         config/rs6000/netbsd.h, config/rs6000/e500-double.h,
408         config/rs6000/aix.h, config/rs6000/vxworks.h,
409         config/rs6000/40x.md, config/rs6000/aix51.h,
410         config/rs6000/sysv4.h, config/arc/arc-protos.h, config/arc/arc.md,
411         config/arc/arc.c, config/arc/arc.opt, config/arc/arc-modes.def,
412         config/arc/arc.h, config/mcore/mcore-elf.h,
413         config/mcore/mcore-protos.h, config/mcore/predicates.md,
414         config/mcore/mcore.md, config/mcore/mcore.c,
415         config/mcore/mcore.opt, config/mcore/mcore.h,
416         config/mcore/mcore-pe.h, config/darwin.c, config/freebsd-nthr.h,
417         config/score/predicates.md, config/score/score-version.h,
418         config/score/score-protos.h, config/score/misc.md,
419         config/score/elf.h, config/score/score.c, config/score/mac.md,
420         config/score/score7.md, config/score/score.h,
421         config/score/score-conv.h, config/score/score-mdaux.c,
422         config/score/score.md, config/score/score.opt,
423         config/score/score-modes.def, config/score/score-mdaux.h,
424         config/score/mul-div.S, config/arm/uclinux-elf.h,
425         config/arm/semi.h, config/arm/ecos-elf.h, config/arm/arm1020e.md,
426         config/arm/symbian.h, config/arm/linux-elf.h,
427         config/arm/arm1026ejs.md, config/arm/arm1136jfs.md,
428         config/arm/elf.h, config/arm/aout.h, config/arm/arm.c,
429         config/arm/thumb2.md, config/arm/vec-common.md, config/arm/coff.h,
430         config/arm/strongarm-pe.h, config/arm/arm.h,
431         config/arm/cortex-a8-neon.md, config/arm/semiaof.h,
432         config/arm/cortex-a8.md, config/arm/uclinux-eabi.h,
433         config/arm/arm-modes.def, config/arm/linux-eabi.h,
434         config/arm/rtems-elf.h, config/arm/neon-schedgen.ml,
435         config/arm/arm-cores.def, config/arm/arm-protos.h,
436         config/arm/vfp.md, config/arm/aof.h, config/arm/linux-gas.h,
437         config/arm/wince-pe.h, config/arm/neon.md,
438         config/arm/constraints.md, config/arm/neon.ml,
439         config/arm/xscale-elf.h, config/arm/strongarm-coff.h,
440         config/arm/arm.opt, config/arm/arm926ejs.md,
441         config/arm/predicates.md, config/arm/iwmmxt.md,
442         config/arm/arm_neon.h, config/arm/unknown-elf.h,
443         config/arm/kaos-arm.h, config/arm/bpabi.h, config/arm/pe.opt,
444         config/arm/neon-testgen.ml, config/arm/arm.md,
445         config/arm/xscale-coff.h, config/arm/pe.c,
446         config/arm/arm-generic.md, config/arm/pe.h,
447         config/arm/kaos-strongarm.h, config/arm/freebsd.h,
448         config/arm/neon-docgen.ml, config/arm/netbsd.h, config/arm/fpa.md,
449         config/arm/strongarm-elf.h, config/arm/cirrus.md,
450         config/arm/netbsd-elf.h, config/arm/vxworks.h,
451         config/arm/neon-gen.ml, config/kaos.h, config/darwin-driver.c,
452         config/pa/predicates.md, config/pa/pa64-hpux.h,
453         config/pa/pa-hpux.opt, config/pa/som.h, config/pa/pa-hpux1010.opt,
454         config/pa/pa-hpux1111.opt, config/pa/pa-pro-end.h,
455         config/pa/elf.h, config/pa/fptr.c, config/pa/pa64-linux.h,
456         config/pa/pa.md, config/pa/pa.opt, config/pa/pa-hpux.h,
457         config/pa/pa-hpux10.h, config/pa/pa-hpux11.h,
458         config/pa/pa-hpux1010.h, config/pa/pa-protos.h,
459         config/pa/pa-osf.h, config/pa/pa-hpux1111.h, config/pa/pa-64.h,
460         config/pa/milli64.S, config/pa/pa.c, config/pa/pa-linux.h,
461         config/pa/pa.h, config/pa/pa32-linux.h, config/pa/pa64-hpux.opt,
462         config/pa/pa64-regs.h, config/pa/pa-modes.def,
463         config/pa/constraints.md, config/darwin9.h, config/mips/4100.md,
464         config/mips/linux.h, config/mips/elfoabi.h, config/mips/elf.h,
465         config/mips/sdb.h, config/mips/windiss.h, config/mips/rtems.h,
466         config/mips/3000.md, config/mips/iris5.h, config/mips/5000.md,
467         config/mips/7000.md, config/mips/9000.md, config/mips/4600.md,
468         config/mips/linux64.h, config/mips/elforion.h,
469         config/mips/constraints.md, config/mips/generic.md,
470         config/mips/predicates.md, config/mips/4300.md,
471         config/mips/mips-ps-3d.md, config/mips/iris.h, config/mips/24k.md,
472         config/mips/mips.md, config/mips/mips.opt, config/mips/4k.md,
473         config/mips/5k.md, config/mips/vr4120-div.S,
474         config/mips/openbsd.h, config/mips/iris6.h, config/mips/4000.md,
475         config/mips/mips-protos.h, config/mips/6000.md,
476         config/mips/mips.c, config/mips/mips.h, config/mips/r3900.h,
477         config/mips/74k.md, config/mips/netbsd.h, config/mips/vxworks.h,
478         config/mips/mips-modes.def, config/mips/vr.h,
479         config/soft-fp/t-softfp, config/openbsd.h, config/ptx4.h,
480         config/freebsd-spec.h, config/vax/vax.c, config/vax/openbsd.h,
481         config/vax/vax.h, config/vax/elf.h, config/vax/vax.md,
482         config/vax/bsd.h, config/vax/vax.opt, config/vax/vax-modes.def,
483         config/vax/openbsd1.h, config/vax/netbsd.h,
484         config/vax/vax-protos.h, config/vax/netbsd-elf.h,
485         config/vax/vaxv.h, config/vax/ultrix.h, config/freebsd.h,
486         config/h8300/rtems.h, config/h8300/predicates.md,
487         config/h8300/h8300.c, config/h8300/h8300.h, config/h8300/elf.h,
488         config/h8300/h8300.md, config/h8300/h8300.opt,
489         config/h8300/coff.h, config/h8300/h8300-protos.h,
490         config/v850/v850.md, config/v850/predicates.md,
491         config/v850/v850-c.c, config/v850/v850.c, config/v850/v850.opt,
492         config/v850/v850.h, config/v850/v850-protos.h, config/vxworks.c,
493         config/knetbsd-gnu.h, config/sol2-6.h, config/vxworks.h,
494         config/mmix/mmix.h, config/mmix/predicates.md,
495         config/mmix/mmix-protos.h, config/mmix/mmix.md,
496         config/mmix/mmix.c, config/mmix/mmix.opt,
497         config/mmix/mmix-modes.def, config/bfin/bfin.opt,
498         config/bfin/rtems.h, config/bfin/bfin-modes.def,
499         config/bfin/predicates.md, config/bfin/bfin-protos.h,
500         config/bfin/bfin.c, config/bfin/bfin.h, config/bfin/bfin.md:
501         Likewise.
502
503 2007-08-02  Richard Sandiford  <richard@codesourcery.com>
504
505         * emit-rtl.c (reset_used_decls): Rename to...
506         (set_used_decls): ...this.  Set the used flag rather than clearing it.
507         (unshare_all_rtl_again): Update accordingly.  Set flags on argument
508         DECL_RTLs rather than resetting them.
509
510 2007-08-02  Andreas Krebbel  <krebbel1@de.ibm.com>
511
512         * config/s390/s390.md ("*xordi3_cconly"): Change xr to xg.
513
514 2007-08-01  Sandra Loosemore  <sandra@codesourcery.com>
515
516         * reload.c (find_reloads_address_part):  Pass correct MEMREFLOC
517         argument to find_reloads_address.
518
519 2007-08-01  Daniel Jacobowitz  <dan@codesourcery.com>
520
521         PR tree-optimization/32919
522         * tree-ssa-sccvn.c (visit_phi): Do not visit abnormal PHIs.
523         * tree-ssa-coalesce.c (ssa_conflicts_dump): New.
524         (coalesce_ssa_name): Call it.
525
526 2007-08-01  Sandra Loosemore  <sandra@codesourcery.com>
527             David Ung  <davidu@mips.com>
528
529         * config/mips/mips16.S (__mips16_unordsf2, __mips16_floatunsisf): New.
530         (__mips16_unorddf2, __mips16_floatunsidf): New.
531         * config/mips/mips.c (mips_init_libfuncs): Add optab entries for
532         above functions.
533         * config/mips/t-libgcc-mips16 (LIB1ASMFUNCS): Add new functions.
534
535 2007-08-01  Zdenek Dvorak  <ook@ucw.cz>
536
537         * tree-pretty-print.c (dump_generic_node): Dump OMP_SECTIONS_SWITCH.
538         Display new operands of OMP_SECTIONS and OMP_CONTINUE.
539         * tree.h (OMP_SECTIONS_CONTROL): New macro.
540         (OMP_DIRECTIVE_P): Add OMP_SECTIONS_SWITCH.
541         * omp-low.c (get_ws_args_for, determine_parallel_type,
542         expand_omp_for_generic, expand_omp_for_static_nochunk,
543         expand_omp_for_static_chunk, expand_omp_for, expand_omp_sections):
544         Work with more precise CFG.
545         (build_omp_regions_1): Handle OMP_SECTIONS_SWITCH.
546         (lower_omp_sections): Emit OMP_SECTIONS_SWITCH.  Add arguments to
547         OMP_CONTINUE.
548         * tree-gimple.c (is_gimple_stmt): Handle OMP_SECTIONS_SWITCH.
549         * gimple-low.c (lower_stmt): Ditto.
550         * tree-inline.c (estimate_num_insns_1): Ditto.
551         * tree.def (OMP_SECTIONS, OMP_CONTINUE): Added new operands.
552         (OMP_SECTIONS_SWITCH): New.
553         * tree-cfgcleanup.c (cleanup_omp_return): New.
554         (cleanup_tree_cfg_bb): Call cleanup_omp_return.
555         * tree-cfg.c (make_edges): Create back edges for OMP_CONTINUE
556         and exit edge for OMP_FOR.  Handle OMP_SECTIONS_SWITCH.
557         (tree_redirect_edge_and_branch): Handle omp constructs.
558
559         * fortran/trans-openmp.c (gfc_trans_omp_sections): Build OMP_SECTIONS
560         with three arguments.
561
562 2007-08-01  Zdenek Dvorak  <ook@ucw.cz>
563
564         * tree-cfg.c (tree_merge_blocks): Preserve loop exit phi nodes only
565         in loop closed ssa.
566
567 2007-08-01  Zdenek Dvorak  <ook@ucw.cz>
568
569         * tree-ssa-threadupdate.c (thread_through_all_blocks): Record that
570         the loop structures may need fixing.
571         * tree-cfgcleanup.c (cleanup_tree_cfg_noloop, repair_loop_structures):
572         New functions.
573         (cleanup_tree_cfg_loop): Removed.
574         (cleanup_tree_cfg): If loops need fixing, call repair_loop_structures.
575         * tree-predcom.c (tree_predictive_commoning): Return TODO_cleanup_cfg
576         instead of running cleanup_tree_cfg_loop.
577         * cfgloop.h (LOOPS_NEED_FIXUP): New constant.
578         * tree-flow.h (cleanup_tree_cfg_loop): Declaration removed.
579         (tree_predictive_commoning): Declaration changed.
580         * passes.c (execute_function_todo): Do not use cleanup_tree_cfg_loop.
581
582 2007-08-01  Zdenek Dvorak  <ook@ucw.cz>
583
584         * doc/invoke.texi (l1-cache-size): Update documentation.
585         (l2-cache-size): Document.
586         * params.h (L2_CACHE_SIZE): New macro.
587         * tree-ssa-loop-prefetch.c (L1_CACHE_SIZE_BYTES): Reflect
588         that L1_CACHE_SIZE is in kB now.
589         (L2_CACHE_SIZE_BYTES): New macro.
590         (tree_ssa_prefetch_arrays): Show size in kB.
591         * config/i386/i386.h (struct processor_costs): Add l1_cache_size
592         and l2_cache_size fields.
593         * config/i386/driver-i386.c (describe_cache): Detect cache size
594         in kB.
595         * config/i386/i386.c (size_cost, i386_cost, i486_cost,pentium_cost,
596         pentiumpro_cost, geode_cost, k6_cost, athlon_cost, k8_cost,
597         amdfam10_cost, pentium4_cost, nocona_cost, core2_cost,
598         generic64_cost, generic32_cost): Add l1_cache_size and l2_cache_size.
599         (override_options): Set l1-cache-size and l2-cache-size to default
600         values if not specified otherwise.
601         * params.def (PARAM_L1_CACHE_SIZE): Change to set in kB.
602         (PARAM_L2_CACHE_SIZE): New.
603
604 2007-08-01  Nigel Stephens  <nigel@mips.com>
605             David Ung  <davidu@mips.com>
606             Thiemo Seufer  <ths@mips.com>
607             Chris Dearman  <chris@mips.com>
608             Richard Sandiford  <richard@codesourcery.com>
609
610         * config.gcc (mips*-sde-elf*): New stanza.
611         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
612         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
613         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*, mips-*-elf*)
614         (mipsel-*-elf*, mips64-*-elf*, mips64el-*-elf*, mips64orion-*-elf*)
615         (mips64orionel-*-elf*, mips*-*-rtems*, mips-wrs-windiss)
616         (mipstx39-*-elf*, mipstx39el-*-elf*): Add mips/t-libgcc-mips16
617         to tmake_file.
618         * config/mips/sde.h: New file.
619         * config/mips/t-libgcc-mips16: Likewise.
620         * config/mips/t-sde: Likewise.
621         * config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Remove settings
622         of _ABIN32, _ABI64, _ABIO32, _MIPS_SIM, _MIPS_SZLONG, _MIPS_SZPTR,
623         _MIPS_FPSET and _MIPS_SZINT.
624         * config/mips/iris.h (TARGET_OS_CPP_BUILTINS): Likewise.
625         * config/mips/elfoabi.h (DRIVER_SELF_SPECS): Remove separate
626         insertion of a default -mips option.  Use MIPS_32BIT_OPTION_SPEC.
627         * config/mips/t-isa3264 (LIB1ASMSRC, LIB1ASMFUNCS): Delete.
628         * config/mips/t-r3900 (LIB1ASMSRC, LIB1ASMFUNCS): Likewise.
629         * config/mips/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Likewise.
630         * config/mips/mips.h (TARGET_CPU_CPP_BUITINS): Define _ABIO32,
631         _ABIN32, _ABI64, _ABIO64, _MIPS_SIM, _MIPS_SZINT, _MIPS_SZLONG,
632         _MIPS_SZPTR and _MIPS_FPSET.
633         (MIPS_ISA_LEVEL_SPEC): Inject the default -mips option if no
634         architecture is specified.
635         (MIPS_32BIT_OPTION_SPEC): New macro.
636
637 2007-07-31  Dan Hipschman  <dsh@google.com>
638
639         * gcc.c (end_going_arg): New function.
640         (do_spec_2): Use it.
641         (do_spec_1): Use it.
642
643 2007-07-31  H.J. Lu  <hongjiu.lu@intel.com>
644
645         * ddg.c (add_cross_iteration_register_deps): Declare bb_info
646         only if ENABLE_CHECKING is defined.
647
648 2007-07-31  Kenneth Zadeck <zadeck@naturalbridge.com>
649
650         * df.h (DF_RU, DF_RU_BB_INFO, df_ru_bb_info, df_ru,
651         df_ru_add_problem, df_ru_get_bb_info): Removed.
652         (DF_RD, DF_UREC, DF_CHAIN, DF_NOTE): Renumbered.
653         * df-problems.c (df_ru_problem_data, df_ru_set_bb_info,
654         df_ru_free_bb_info, df_ru_alloc,
655         df_ru_bb_local_compute_process_def,
656         df_ru_bb_local_compute_process_use, df_ru_bb_local_compute,
657         df_ru_local_compute, df_ru_init_solution, df_ru_confluence_n,
658         df_ru_transfer_function, df_ru_free, df_ru_start_dump,
659         df_ru_top_dump, df_ru_bottom_dump, df_problem problem_RU,
660         df_ru_add_problem): Removed.
661
662 2007-07-31  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
663
664         PR target/32847
665         * pa.md (casesi32): Use match_scratch.  Revise insn condition.
666         (casesi32p, casesi64p): Likewise.
667         (casesi): Adjust for above.
668
669 2007-07-31  Richard Sandiford  <richard@codesourcery.com>
670
671         * mode-switching.c (create_pre_exit): Don't search past calls.
672
673 2007-07-31  Sandra Loosemore  <sandra@codesourcery.com>
674
675         * config/mips/mips.h (ISA_HAS_SYNCI):  Add !TARGET_MIPS16 test.
676
677 2007-07-31  Revital Eres  <eres@il.ibm.com>
678
679         * ddg.c (add_deps_for_def): Rename to...
680         (add_cross_iteration_register_deps): This.  Change implementation
681         to use only reaching def and def-use chains to construct the
682         inter loop dependencies.
683         (add_deps_for_use): Remove function.
684         (build_inter_loop_deps): Call add_cross_iteration_register_deps
685         function to build the inter loop dependencies.
686         * modulo-sched.c (sms_schedule): Build only
687         reaching def and def-use chains for the propose of the ddg
688         construction.
689
690 2007-07-31  Julian Brown  <julian@codesourcery.com>
691
692         * config/arm/neon.md (vec_set<mode>_internal, vec_setv2di_internal):
693         New define_insns. Use correct RTL.
694         (vec_set<mode>): Write as expander.
695
696 2007-07-31  Razya Ladelsky  <razya@il.ibm.com>
697
698         * matrix-reorg.c (analyze_matrix_allocation_site): Avoid referring 
699         to an unallocated space.
700
701 2007-07-30  Jan Sjodin  <jan.sjodin@amd.com>
702
703         * tree-data-ref.c
704         (split_constant_offset): Enable split_constant_offset to extract
705         constants from other statements.
706         * tree-vect-transform.c
707         (vect_create_addr_base_for_vector_ref): Generate data_ref_base
708         to a temp var. Force base_offset to be simple.
709
710 2007-07-30  Seongbae Park <seongbae.park@gmail.com>
711
712         * df-scan.c (df_scan_verify): Remove artificial limit on
713         the number of blocks for verification.
714         * df-problems.c (df_lr_bb_local_compute, df_simulate_find_defs,
715         df_simulate_defs): Avoid unnecessary insn checking for defs.
716
717 2007-07-29  Mark Mitchell  <mark@codesourcery.com>
718
719         gcc/
720         * config/m68k/lb1sf68.asm (FUNC): New macro.
721         (__mulsi3): Use it.
722         (__udivsi3): Likewise.
723         (__divsi3): Likewise.
724         (__umodsi3): Likewise.
725         (__modsi3): Likewise.
726         (__subdf3): Likewise.
727         (__adddf3): Likewise.
728         (__muldf3): Likewise.
729         (__divdf3): Likewise.
730         (__negdf2): Likewise.
731         (__cmpdf2): Likewise.
732         (__subsf3): Likewise.
733         (__addsf3): Likewise.
734         (__mulsf3): Likewise.
735         (__divsf3): Likewise.
736         (__negsf2): Likewise.
737         (__cmpsf2): Likewise.
738         (__eqdf2): Likewise.
739         (__nedf2): Likewise.
740         (__gtdf2): Likewise.
741         (__gedf2): Likewise.
742         (__ltdf2): Likewise.
743         (__ledf2): Likewise.
744         (__eqsf2): Likewise.
745         (__nesf2): Likewise.
746         (__gtsf2): Likewise.
747         (__gesf2): Likewise.
748         (__ltsf2): Likewise.
749         (__lesf2): Likewise.
750
751 2007-07-30  Ollie Wild  <aaw@google.com>
752
753         * c-ppoutput.c (print_lines_directives_only): New function.
754         (scan_translation_unit_directives_only): New function.
755         (preprocess_file): Add call to scan_translation_unit_directives_only.
756         * c-opts.c (c_common_handle_option): Add OPT_fdirectives_only.
757         (sanitize_cpp_opts): Add default flag_dump_macros setting for
758         -fdirectives-only.  Add errors for -fdirectives-only conflict with
759         -Wunused-macros and -traditional.
760         (finish_options): Add builtin macro initialization for
761         -fdirectives-only + -fpreprocessed.
762         * c.opt (fdirectives-only): New.
763         * doc/cppopts.texi (fdirectives-only): New.
764
765 2007-07-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
766
767         * alias.c (record_set, memory_modified_1): Constify.
768         * bt-load.c (note_btr_set): Likewise.
769         * caller-save.c (mark_set_regs, add_stored_regs): Likewise.
770         * combine.c (set_nonzero_bits_and_sign_copies,
771         expand_field_assignment, record_dead_and_set_regs_1,
772         use_crosses_set_p, reg_dead_at_p_1, can_combine_p,
773         likely_spilled_retval_1): Likewise.
774         * config/frv/frv.c (frv_registers_update_1, frv_io_check_address,
775         frv_io_handle_set): Likewise.
776         * config/mips/mips.c (mips_sim_record_set,
777         vr4130_true_reg_dependence_p_1): Likewise.
778         * config/mt/mt.c (insn_dependent_p_1): Likewise.
779         * config/s390/s390.c (s390_reg_clobbered_rtx): Likewise.
780         * config/sh/sh.c (flow_dependent_p_1): Likewise.
781         * cselib.c (cselib_invalidate_rtx_note_stores): Likewise.
782         * dce.c (mark_nonreg_stores_1, mark_nonreg_stores_2): Likewise.
783         * ddg.c (mark_mem_store): Likewise.
784         * df-problems.c (df_urec_mark_reg_change): Likewise.
785         * function.c (update_epilogue_consts): Likewise.
786         * gcse.c (record_set_info, record_last_set_info,
787         mems_conflict_for_gcse_p, canon_list_insert, reg_set_info,
788         reg_clear_last_set): Likewise.
789         * global.c (mark_reg_store, mark_reg_clobber, reg_becomes_live):
790         Likewise.
791         * jump.c (reversed_comparison_code_parts): Likewise.
792         * local-alloc.c (validate_equiv_mem_from_store, no_equiv,
793         reg_is_set): Likewise.
794         * loop-iv.c (mark_altered): Likewise.
795         * mode-switching.c (reg_becomes_live): Likewise.
796         * optabs.c (no_conflict_move_test): Likewise.
797         * postreload-gcse.c (record_last_set_info, find_mem_conflicts):
798         Likewise.
799         * postreload.c (reload_combine_note_store, move2add_note_store):
800         Likewise.
801         * regmove.c (flags_set_1): Likewise.
802         * regrename.c (note_sets, kill_clobbered_value, kill_set_value):
803         Likewise.
804         * reload1.c (mark_not_eliminable, forget_old_reloads_1):
805         Likewise. 
806         * resource.c (update_live_status): Likewise.
807         * rtl.h (set_of, note_stores): Likewise.
808         * rtlanal.c (set_of_1, parms_set, struct set_of_data, set_of,
809         note_stores, parms_set): Likewise.
810         * sched-rgn.c (sets_likely_spilled_1): Likewise.
811         * stack-ptr-mod.c (notice_stack_pointer_modification_1):
812         Likewise. 
813         * var-tracking.c (count_stores, add_stores): Likewise.
814
815 2007-07-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
816
817         * alias.c (mems_in_disjoint_alias_sets_p,
818         fixed_scalar_and_varying_struct_p, aliases_everything_p,
819         nonoverlapping_component_refs_p, nonoverlapping_memrefs_p,
820         write_dependence_p, mems_in_disjoint_alias_sets_p,
821         read_dependence, true_dependence, canon_true_dependence,
822         anti_dependence, output_dependence): Constify.
823         * combine.c (extended_count): Likewise.
824         * cse.c (cse_rtx_varies_p, hash_rtx, exp_equiv_p): Likewise.
825         * cselib.c (get_value_hash, references_value_p,
826         cselib_reg_set_mode, cselib_rtx_varies_p): Likewise.
827         * cselib.h (cselib_reg_set_mode, references_value_p): Likewise.
828         * emit-rtl.c (mem_expr_equal_p, active_insn_p): Likewise.
829         * function.c (contains, prologue_epilogue_contains,
830         sibcall_epilogue_contains): Likewise. 
831         * jump.c (simplejump_p, condjump_p, condjump_in_parallel_p,
832         pc_set, any_uncondjump_p, any_condjump_p, onlyjump_p,
833         only_sets_cc0_p, sets_cc0_p, rtx_renumbered_equal_p, true_regnum,
834         reg_or_subregno): Likewise.
835         * recog.c (asm_noperands): Likewise.
836         * reload1.c (function_invariant_p): Likewise.
837         * rtl.h (mem_expr_equal_p, active_insn_p, rtx_varies_p,
838         rtx_addr_varies_p, asm_noperands, exp_equiv_p, hash_rtx,
839         condjump_p, any_condjump_p, any_uncondjump_p, pc_set,
840         simplejump_p, onlyjump_p, only_sets_cc0_p, sets_cc0_p,
841         true_regnum, reg_or_subregno, condjump_in_parallel_p,
842         extended_count, prologue_epilogue_contains,
843         sibcall_epilogue_contains, function_invariant_p, true_dependence,
844         canon_true_dependence, read_dependence, anti_dependence,
845         output_dependence): Likewise.
846         * rtlanal.c (rtx_varies_p, rtx_addr_varies_p): Likewise.
847
848 2007-07-30  Julian Brown  <julian@codesourcery.com>
849
850         * config/arm/neon.md (V_ext): New mode attribute.
851         (neon_vget_lane<mode>): Replace with define_expand.
852         (neon_vget_lane<mode>_sext_internal)
853         (neon_vget_lane<mode>_zext_internal): New define_insns for double
854         and quad precision vectors.
855         (neon_vget_lanedi): Add bounds check. Remove dead comment.
856         * config/arm/neon.ml (get_lane): Make 32-bit get-lane intrinsics
857         have typeless 32-bit result.
858
859 2007-07-30  Andrew Pinski  <andrew_pinski@playstation.sony.com>
860
861         PR tree-opt/32527
862         * tree-affine.h (aff_tree): The type of rest is sizetype for types
863         of pointers.
864         * tree-affine.c (aff_combination_scale): If type is a pointer type,
865         use sizetype for rest.
866         (aff_combination_add_elt): Likewise. Don't specialize pointer types.
867         (aff_combination_convert): Don't convert rest for pointer types.
868
869 2007-07-28  Daniel Berlin  <dberlin@dberlin.org>
870
871         * Makefile.in (tree-ssa-alias.o): Add alloc-pool.h
872
873         * tree-ssa-alias.c: Add alloc-pool.h.
874         (init_alias_info): Free alias_bitmap_obstack.
875         (delete_alias_info): Call delete_mem_ref_stats.
876         (get_mem_sym_stats_for): Use alloc_pool.
877         (init_mem_ref_stats): Do not delete mem_ref_stats here.
878         (delete_mem_sym_stats): Removed.
879         
880 2007-07-29  Sebastian Pop  <sebpop@gmail.com>
881
882         * tree-data-ref.c (add_multivariate_self_dist): Parametric access
883         functions cannot be represented as classical distance vectors.
884
885 2007-07-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
886
887         * attribs.c (hash_attr, eq_attr, init_attributes): Constify.
888         * builtins.c (validate_arg, builtin_mathfn_code,
889         validate_arglist): Likewise.
890         * calls.c (call_expr_flags): Likewise.
891         * combine.c (reg_nonzero_bits_for_combine,
892         reg_num_sign_bit_copies_for_combine, get_last_value,
893         reg_truncated_to_mode): Likewise.
894         * emit-rtl.c (subreg_lowpart_p): Likewise.
895         * expr.c (highest_pow2_factor_for_target,
896         categorize_ctor_elements_1, categorize_ctor_elements,
897         count_type_elements, contains_packed_reference,
898         highest_pow2_factor, highest_pow2_factor_for_target): Likewise.
899         * fold-const.c (may_negate_without_overflow_p, int_const_binop,
900         fold_convertible_p, operand_equal_p, tree_swap_operands_p,
901         native_encode_int, native_encode_real, native_encode_complex,
902         native_encode_vector, native_encode_expr, native_interpret_int,
903         native_interpret_real, native_interpret_complex,
904         native_interpret_vector, native_interpret_expr): Likewise.
905         * function.c (use_register_for_decl): Likewise.
906         * gimplify.c (get_name): Likewise.
907         * langhooks-def.h (lhd_return_null_const_tree): New.
908         (LANG_HOOKS_GET_CALLEE_FNDECL): Use it.
909         * langhooks.c (lhd_return_null_const_tree): New.
910         * langhooks.h (lang_get_callee_fndecl): Constify.
911         * output.h (constructor_static_from_elts_p): Likewise.
912         * rtl-factoring.c (gen_symbol_ref_rtx_for_label): Likewise.
913         * rtl.h (nonzero_bits, num_sign_bit_copies, truncated_to_mode,
914         subreg_lowpart_p, noop_move_p, struct rtl_hooks): Likewise.
915         * rtlanal.c (cached_nonzero_bits, nonzero_bits1,
916         cached_num_sign_bit_copies, num_sign_bit_copies1, noop_move_p,
917         nonzero_bits, num_sign_bit_copies, truncated_to_mode): Likewise.
918         * rtlhooks-def.h (reg_nonzero_bits_general,
919         reg_num_sign_bit_copies_general, reg_truncated_to_mode_general):
920         Likewise. 
921         * rtlhooks.c (reg_num_sign_bit_copies_general,
922         reg_nonzero_bits_general, reg_truncated_to_mode_general):
923         Likewise. 
924         * stmt.c (warn_if_unused_value, is_body_block): Likewise.
925         * stor-layout.c (mode_for_size_tree): Likewise.
926         * tree-ssa-loop-im.c (memref_eq): Likewise.
927         * tree-ssa-loop-ivopts.c (tree_int_cst_sign_bit): Likewise.
928         * tree.c (contains_placeholder_p, type_list_equal,
929         simple_cst_equal, get_callee_fndecl, operand_equal_for_phi_arg_p):
930         Likewise. 
931         * tree.h (tree_int_cst_sign_bit, may_negate_without_overflow_p,
932         mode_for_size_tree, categorize_ctor_elements, count_type_elements,
933         contains_placeholder_p, contains_packed_reference,
934         get_callee_fndecl, operand_equal_for_phi_arg_p,
935         warn_if_unused_value, is_body_block, native_encode_expr,
936         native_interpret_expr, fold_convertible_p, operand_equal_p,
937         int_const_binop, tree_swap_operands_p, builtin_mathfn_code,
938         validate_arglist, simple_cst_equal, type_list_equal,
939         use_register_for_decl, call_expr_flags, get_name,
940         highest_pow2_factor): Likewise.
941         (const_call_expr_arg_iterator_d,
942         init_const_call_expr_arg_iterator, next_const_call_expr_arg,
943         first_const_call_expr_arg, more_const_call_expr_args_p,
944         FOR_EACH_CONST_CALL_EXPR_ARG): New.
945         * varasm.c (constructor_static_from_elts_p): Constify.
946
947 2007-07-28  Kazu Hirata  <kazu@codesourcery.com>
948
949         * cfglayout.c, config/arm/arm.c, config/arm/cortex-a8.md,
950         config/arm/neon-schedgen.ml, config/arm/neon.ml,
951         config/arm/vec-common.md, config/ia64/div.md, cselib.c,
952         df-core.c, df.h, dominance.c, optabs.c, opts.c, reg-stack.c,
953         regstat.c, target.h, tree-ssa-live.c, tree-ssa-pre.c,
954         tree-vect-transform.c, tree.def: Fix comment typos.  Follow
955         spelling conventions.
956         * doc/invoke.texi: Follow spelling conventions.
957
958 2007-07-29  Vladimir Yanovsky  <yanov@il.ibm.com>
959             Revital Eres  <eres@il.ibm.com>
960
961         * modulo-sched.c (sms_schedule): Avoid loops which includes
962         auto-increment instructions.
963
964 2007-07-28  Richard Guenther  <rguenther@suse.de>
965
966         PR middle-end/32920
967         * fold-const.c (fold_cond_expr_with_comparison): Convert
968         operand zero of MIN/MAX_EXPR to correct type.
969
970 2007-07-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
971
972         * calls.c (special_function_p, setjmp_call_p, alloca_call_p,
973         flags_from_decl_or_type): Constify.
974         * gcc.c (do_spec_1): Likewise.
975         * print-tree.c (dump_addr, print_node_brief): Likewise.
976         * tree-cfg.c (stmt_starts_bb_p, is_ctrl_stmt, computed_goto_p,
977         simple_goto_p, tree_can_make_abnormal_goto, stmt_starts_bb_p,
978         tree_purge_all_dead_eh_edges): Likewise.
979         * tree-flow.h (is_ctrl_stmt, computed_goto_p, simple_goto_p,
980         tree_can_make_abnormal_goto, tree_purge_all_dead_eh_edges):
981         Likewise. 
982         * tree.c (expr_location, expr_has_location, expr_locus,
983         expr_filename, expr_lineno, get_inner_array_type,
984         fields_compatible_p): Likewise.
985         * tree.h (get_inner_array_type, fields_compatible_p,
986         expr_location, expr_has_location, expr_locus, expr_filename,
987         expr_lineno, dump_addr, print_node_brief, flags_from_decl_or_type,
988         setjmp_call_p, alloca_call_p): Likewise.
989
990 2007-07-28  Daniel Berlin  <dberlin@dberlin.org>
991
992         * timevar.def: Add TV_CALL_CLOBBER, TV_FLOW_SENSITIVE,
993         TV_FLOW_INSENSITIVE.
994
995         * tree-ssa-alias.c (compute_call_clobbered): Push/pop
996         TV_CALL_CLOBBER.
997         (compute_flow_sensitive_aliasing): Ditto for TV_FLOW_SENSITIVE.
998         (compute_flow_insensitive_aliasing): Ditto for
999         TV_FLOW_INSENSITIVE.    
1000
1001 2007-07-27  Jan Hubicka  <jh@suse.cz>
1002
1003         * config/i386/i386.c (register_move_cost): Remove accidentally comitted
1004         #if 0 block.
1005
1006         * attribs.c: Include hashtab.h
1007         (attribute_hash): New.
1008         (substring): New structure.
1009         (extract_attribute_substring, substring_hash, hash_attr, eq_attr):
1010         New function.
1011         (init_attributes): Initialize attribute hash.
1012         (decl_attributes): Use attribute hash.
1013         * Makefile.in (attribs.c): Depend on hashtab.h.
1014
1015 2007-07-27  Steve Ellcey  <sje@cup.hp.com>
1016
1017         * config/ia64/vect.md (vec_initv2si): Remove bad BIG_ENDIAN test.
1018
1019 2007-07-27  Richard Sandiford  <richard@codesourcery.com>
1020
1021         * doc/invoke.texi (mdsp, mdspr2): Document the __mips_dsp,
1022         __mips_dspr2 and __mips_dsp_rev macros.
1023         * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define __mips_dsp_rev.
1024
1025 2007-07-27  Douglas Gregor  <doug.gregor@gmail.com>
1026         
1027        * c-common.h (enum rid): Add RID_DECLTYPE, update RID_LAST_CXX0X.
1028
1029 2007-07-26  Kenneth Zadeck <zadeck@naturalbridge.com>
1030
1031         PR middle-end/32749
1032         
1033         * df-problems.c (df_create_unused_note): Removed do_not_gen parm
1034         and the updating of the live and do_not_gen sets.
1035         (df_note_bb_compute): Added updating of live and do_not_gen sets
1036         for regular defs so that the case of clobber inside conditional
1037         call is processed correctly.
1038         
1039 2007-07-27  Zdenek Dvorak  <dvorakz@suse.cz>
1040
1041         * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Generate the
1042         operands with compatible type.
1043
1044 2007-07-27  Richard Sandiford  <richard@codesourcery.com>
1045
1046         * expr.h (store_bit_field): Don't return a value.
1047         * expmed.c (check_predicate_volatile_ok): New function.
1048         (store_bit_field_1): New function, extracted from store_bit_field.
1049         Take a fallback_p argument and return true if the operation succeeded.
1050         Only use store_fixed_bit_field if fallback_p.  Don't recompute
1051         mode_for_extraction; use op_mode instead.  Try forcing memories
1052         into registers if the insv expander fails.
1053         (store_bit_field): Use store_bit_field_1 with fallback_p true.
1054         Don't return a value.
1055         (convert_extracted_bit_field): New function, extracted from
1056         store_bit_field.
1057         (extract_bit_field_1): Likewise.  Take a fallback_p argument
1058         and return NULL if the operation succeeded.  Only use
1059         extract_fixed_bit_field if fallback_p.  Only calculate one
1060         extraction mode.  Combine code for extv and extzv.  Try forcing
1061         memories into registers if the ext(z)v expander fails.
1062         (extract_bit_field): Use extract_bit_field_1 with fallback_p true.
1063
1064 2007-07-27  Richard Sandiford  <rsandifo@nildram.co.uk>
1065
1066         * df.h (df_mw_hardreg): Turn df_ref_type and df_ref_flags
1067         into bitfields.
1068         (df_ref): Likewise.  Put regno with other integer fields.
1069
1070 2007-07-27  Richard Sandiford  <rsandifo@nildram.co.uk>
1071
1072         * df.h (df_mw_hardreg): Remove "loc" field.
1073         * df-scan.c (df_ref_record): Don't set it.  Remove redundant
1074         local variable.
1075         * df-problems.c (df_whole_mw_reg_unused_p): New function,
1076         split out from df_set_unused_notes_for_mw.  Return false for
1077         partial references.  Assert that mw_reg is a REG when returning true.
1078         (df_set_unused_notes_for_mw): Use it.  Use mw_reg instead of *loc.
1079         (df_whole_mw_reg_dead_p): New function, split out from
1080         df_set_dead_notes_for_mw.  Return false for partial references.
1081         Assert that mw_reg is a REG when returning true.
1082         (df_set_dead_notes_for_mw): Use it.  Use mw_reg instead of *loc.
1083         Remove redundant bitmap check.
1084
1085 2007-07-26  H.J. Lu  <hongjiu.lu@intel.com>
1086
1087         * config/ia64/t-ia64 ($(T)crtbegin.o): Removed.
1088         ($(T)crtend.o): Likwise.
1089         ($(T)crtbeginS.o): Likwise.
1090         ($(T)crtendS.o): Likwise.
1091         ($(T)crtfastmath.o): Likwise.
1092
1093 2007-07-26  Zdenek Dvorak  <dvorakz@suse.cz>
1094
1095         * dominance.c (dom_computed, n_bbs_in_dom_tree): Removed.
1096         * function.h (dom_computed, n_bbs_in_dom_tree): New macros.
1097         * basic-block.h (struct control_flow_graph): Added x_dom_computed
1098         and x_n_bbs_in_dom_tree fields.
1099
1100 2007-07-26  Steve Ellcey  <sje@cup.hp.com>
1101
1102         PR tree-optimization/32087
1103         * tree-ssa-loop-manip.c (tree_transform_and_unroll_loop):
1104         Do not call scale_bbs_frequencies_int with prob of zero.
1105
1106 2007-07-26  Julian Brown  <julian@codesourcery.com>
1107
1108         * config/arm/arm-protos.h (neon_lane_bounds, neon_const_bounds)
1109         (neon_element_bits): Add prototypes.
1110         * config/arm/arm.c (bounds_check, neon_lane_bounds)
1111         (neon_const_bounds, neon_element_bits): New functions.
1112         * config/arm/neon.md (neon_vget_lane<mode>, neon_vget_lanedi)
1113         (neon_vget_lanev2di, neon_vset_lane<mode>, neon_vset_lanedi)
1114         (neon_vset_lanev2di, neon_vdup_lane<mode>, neon_vdup_lanedi)
1115         (neon_vdup_lanev2di, neon_vcvt_n<mode>, neon_vmul_lane<mode>)
1116         (neon_vmull_lane<mode>, neon_vqdmull_lane<mode>)
1117         (neon_vqdmulh_lane<mode>, neon_vmla_lane<mode>)
1118         (neon_vmlal_lane<mode>, neon_vqdmlal_lane<mode>)
1119         (neon_vmls_lane<mode>, neon_vmlsl_lane<mode>)
1120         (neon_vqdmlsl_lane<mode>, neon_vext<mode>, neon_vshr_n<mode>)
1121         (neon_vshrn_n<mode>, neon_vqshrn_n<mode>, neon_vqshrun_n<mode>)
1122         (neon_vshl_n<mode>, neon_vshl_n<mode>, neon_vqshl_n<mode>)
1123         (neon_vqshlu_n<mode>, neon_vshll_n<mode>, neon_vsra_n<mode>)
1124         (neon_vsri_n<mode>, neon_vsli_n<mode>): Add bounds checks.
1125
1126 2007-07-26  Nathan Froyd  <froydnj@codesourcery.com>
1127
1128         * config/vxworks.h (VXWORKS_LINK_SPEC): Fix typo.
1129         (HAVE_AS_GNU_ATTRIBUTE): Undefine.
1130
1131 2007-07-26  Mark Shinwell  <shinwell@codesourcery.com>
1132             Julian Brown  <julian@codesourcery.com>
1133
1134         * config/arm/arm.c (arm_mac_accumulator_is_mul_result): New.
1135         * config/arm/arm-protos.h (arm_mac_accumulator_is_mul_result): New.
1136         * config/arm/cortex-a8.md: New.
1137         * config/arm/cortex-a8-neon.md: New.
1138         * config/arm/neon-schedgen.ml: New.
1139         * config/arm/neon.md (vqh_mnem): New.
1140         (neon_type): New.
1141         (Is_float_mode): New.
1142         (Scalar_mul_8_16): New.
1143         (Is_d_reg): New.
1144         (V_mode_nunits): New.
1145         (All instruction patterns): Annotate with neon_type attribute
1146         values.
1147         * config/arm/arm.md: Include cortex-a8.md.
1148         (insn): Add smmla, umaal, smlald, smlsld, clz, mrs, msr and xtab
1149         values.
1150         Annotate instruction patterns accordingly.
1151         (generic_sched): Do not use generic scheduling for Cortex-A8.
1152         (generic_vfp): Do not use generic VFP scheduling for Cortex-A8.
1153
1154 2007-07-26  Daniel Jacobowitz  <dan@codesourcery.com>
1155
1156         * fold-const.c (fold_read_from_constant_string): Use
1157         build_int_cst_type.
1158         * tree-ssa-ccp.c (fold_const_aggregate_ref): Likewise.
1159
1160 2007-07-26  Nick Clifton  <nickc@redhat.com>
1161
1162         * tree-ssa-operands.h: Change copyright header to refer to version
1163         3 of the GNU General Public License and to point readers at the
1164         COPYING3 file and the FSF's license web page.
1165         * tree-vrp.c, regrename.c, attribs.c, loop-unswitch.c,
1166         sched-ebb.c, fwprop.c, tree-loop-linear.c, dwarf2asm.c,
1167         tree-into-ssa.c, dwarf2asm.h, tree-ssa-loop-im.c, sbitmap.c,
1168         targhooks.c, tree-dump.c, tree-complex.c, sbitmap.h, targhooks.h,
1169         tree-dump.h, regstat.c, see.c, machmode.h, hooks.c, cgraphbuild.c,
1170         hooks.h, genrecog.c, tree-ssa-threadupdate.c, gen-protos.c,
1171         flags.h, rtlhooks.c, gencheck.c, tree-ssa-loop-niter.c,
1172         opts-common.c, dbgcnt.def, tree-pretty-print.c, tracer.c,
1173         gengtype.c, mkconfig.sh, gengtype.h, tree-ssa-loop-unswitch.c,
1174         cgraph.c, c-lex.c, cgraph.h, libfuncs.h, cfgloopmanip.c,
1175         rtl-error.c, optabs.c, postreload-gcse.c, tree-ssa-loop-manip.c,
1176         optabs.h, genmddeps.c, defaults.h, postreload.c, value-prof.c,
1177         tree-ssa-loop-ch.c, tree-tailcall.c, gengenrtl.c, value-prof.h,
1178         genopinit.c, tree.c, tree.h, reload.c, tree-pass.h, ipa-cp.c,
1179         reload.h, bitmap.c, bitmap.h, tree-scalar-evolution.c,
1180         c-config-lang.in, tree-scalar-evolution.h, target.h, cppspec.c,
1181         rtlanal.c, ddg.c, lambda-mat.c, mips-tdump.c, ddg.h,
1182         tree-phinodes.c, mips-tfile.c, pointer-set.c, pointer-set.h,
1183         diagnostic.c, final.c, diagnostic.h, builtins.c, genoutput.c,
1184         gcc.c, lists.c, tree-ssa-alias-warnings.c, gcc.h, cfghooks.c,
1185         input.h, gensupport.c, fold-const.c, cfghooks.h, insn-notes.def,
1186         gensupport.h, builtin-attrs.def, sync-builtins.def, params.c,
1187         cfgloopanal.c, params.h, graphds.c, omp-low.c, tree-ssa-dse.c,
1188         graphds.h, gcov.c, cfg.c, genextract.c, ipa-reference.c,
1189         genautomata.c, tree-ssa-uncprop.c, auto-inc-dec.c, toplev.c,
1190         tree-gimple.c, ipa-reference.h, vmsdbgout.c, errors.c, toplev.h,
1191         reorg.c, tree-gimple.h, tree-chrec.c, pretty-print.c, errors.h,
1192         real.c, tree-chrec.h, pretty-print.h, debug.c, real.h, genemit.c,
1193         omega.c, c-cppbuiltin.c, genmultilib, debug.h, omega.h,
1194         tree-ssa-sccvn.c, genconfig.c, tree-ssa-sccvn.h, cgraphunit.c,
1195         regs.h, df-scan.c, vec.c, hosthooks-def.h, vec.h,
1196         tree-ssa-copyrename.c, scan.c, builtin-types.def, tree-ssa-ccp.c,
1197         scan.h, mode-classes.def, haifa-sched.c, dominance.c, dojump.c,
1198         double-int.c, gcov-io.c, dbxout.c, builtins.def, double-int.h,
1199         dbxout.h, tree-ssa-loop-ivopts.c, df-core.c, mode-switching.c,
1200         gengtype-lex.l, tree-nomudflap.c, modulo-sched.c, c-objc-common.c,
1201         hosthooks.h, c-objc-common.h, caller-save.c, graph.c,
1202         ipa-pure-const.c, graph.h, c-format.c, cse.c, fix-header.c,
1203         c-format.h, web.c, tree-stdarg.c, genpeep.c, tree-stdarg.h,
1204         tree-ssa-math-opts.c, xcoffout.c, tree-ssa-dom.c, tree-nrv.c,
1205         xcoffout.h, tree-ssa-propagate.c, ipa-utils.c,
1206         tree-ssa-propagate.h, tree-ssa-alias.c, loop-init.c, ipa-utils.h,
1207         gimple-low.c, rtl.def, c-tree.h, tree-ssa-sink.c, ipa-inline.c,
1208         mkmap-symver.awk, machmode.def, c-pch.c, cfganal.c, global.c,
1209         alloc-pool.c, c-semantics.c, alloc-pool.h, jump.c, ifcvt.c,
1210         dwarf2out.c, expr.c, cfgbuild.c, tree-browser.c, dwarf2out.h,
1211         expr.h, longlong.h, opts.c, gcov-iov.c, opts.h, dwarf2.h,
1212         genattrtab.c, genconditions.c, genattr.c, optc-gen.awk,
1213         timevar.def, tree-ssa-loop-ivcanon.c, hard-reg-set.h, predict.c,
1214         tree-ssa-loop.c, host-default.c, predict.h, recog.c, dbgcnt.c,
1215         recog.h, dbgcnt.h, c-aux-info.c, tree-ssa-address.c, timevar.c,
1216         dse.c, lcm.c, tree-ssa-ifcombine.c, timevar.h, dse.h,
1217         matrix-reorg.c, tree-vn.c, treestruct.def, fp-test.c, c-decl.c,
1218         tree-eh.c, c-errors.c, c-pretty-print.c, regmove.c,
1219         lambda-trans.c, c-pretty-print.h, et-forest.c, et-forest.h,
1220         ebitmap.c, configure.ac, local-alloc.c, function.c, langhooks.c,
1221         ebitmap.h, cppdefault.c, tree-vectorizer.c, function.h,
1222         langhooks.h, print-rtl.c, cppdefault.h, df.h, tree-vectorizer.h,
1223         sdbout.c, stor-layout.c, sdbout.h, rtlhooks-def.h, read-rtl.c,
1224         gcse.c, ipa-type-escape.c, vmsdbg.h, alias.c, gengtype-parse.c,
1225         ipa-type-escape.h, domwalk.c, alias.h, tree-if-conv.c, profile.c,
1226         init-regs.c, domwalk.h, ipa.c, gccbug.in, tree-data-ref.c,
1227         loop-unroll.c, tree-data-ref.h, tree-flow-inline.h, tree-affine.c,
1228         mkmap-flat.awk, tree-affine.h, tree-vect-analyze.c, c.opt, ggc.h,
1229         opt-gather.awk, c-typeck.c, gimplify.c, coretypes.h, exec-tool.in,
1230         insn-addr.h, tree-ssa-phiopt.c, c-pragma.c, c-pragma.h, calls.c,
1231         tree-ssa-coalesce.c, genmodes.c, loop-doloop.c, predict.def,
1232         dwarf.h, tree.def, rtl-factoring.c, lower-subreg.c, expmed.c,
1233         bt-load.c, ggc-common.c, genflags.c, tree-dfa.c, except.c,
1234         coverage.c, except.h, emit-rtl.c, cfgexpand.c, coverage.h,
1235         stringpool.c, cselib.c, emit-rtl.h, tree-cfgcleanup.c, c-opts.c,
1236         cselib.h, cfgcleanup.c, simplify-rtx.c, tree-ssa-pre.c, explow.c,
1237         tree-ssa-live.c, tree-sra.c, tree-ssa-live.h, tree-predcom.c,
1238         loop-invariant.c, genpreds.c, protoize.c, opth-gen.awk, c-dump.c,
1239         lambda.h, loop-iv.c, tree-mudflap.c, ipa-prop.c, print-tree.c,
1240         tree-mudflap.h, tree-ssa-copy.c, ipa-prop.h, cfglayout.c,
1241         tree-ssa-forwprop.c, c-convert.c, cfglayout.h, common.opt,
1242         ggc-zone.c, ggc-page.c, c-omp.c, tree-ssa-dce.c, gencodes.c,
1243         varasm.c, tree-vect-patterns.c, libada-mk.in, tree-ssa-ter.c,
1244         sched-deps.c, tree-nested.c, c-ppoutput.c, tree-ssa.c,
1245         target-def.h, tree-ssa-loop-prefetch.c, lambda-code.c,
1246         omp-builtins.def, rtl.c, regclass.c, stab.def, intl.c, rtl.h,
1247         intl.h, tree-inline.c, conditions.h, tree-inline.h, integrate.c,
1248         sched-int.h, tree-iterator.c, integrate.h, tree-iterator.h,
1249         genchecksum.c, tree-optimize.c, output.h, tree-vect-transform.c,
1250         tree-object-size.c, combine.c, tree-outof-ssa.c, addresses.h,
1251         bb-reorder.c, stack-ptr-mod.c, resource.c, var-tracking.c,
1252         cfgloop.c, system.h, resource.h, ggc-none.c, tree-profile.c,
1253         cfgloop.h, c-gimplify.c, c-common.c, opt-functions.awk,
1254         tree-vect-generic.c, tree-flow.h, df-problems.c, scan-decls.c,
1255         c-common.h, config.gcc, reg-stack.c, tlink.c, main.c, stub-objc.c,
1256         fixproto, config.host, Makefile.in, gccspec.c, sched-rgn.c,
1257         vecprim.h, basic-block.h, tree-ssa-structalias.c,
1258         tree-ssa-structalias.h, c-common.def, sched-vis.c, tree-cfg.c,
1259         passes.c, genconstants.c, c-incpath.c, c-incpath.h,
1260         struct-equiv.c, c-parser.c, tree-ssa-reassoc.c, varray.c, sreal.c,
1261         varray.h, dfp.c, sreal.h, combine-stack-adj.c, dfp.h,
1262         reg-notes.def, cfgrtl.c, config.build, varpool.c, gengtype-yacc.y,
1263         stmt.c, dce.c, tree-browser.def, prefix.c, statistics.h,
1264         params.def, dce.h, c-lang.c, gcov-dump.c, prefix.h,
1265         tree-ssanames.c, collect2.c, collect2.h, tree-ssa-threadedge.c,
1266         convert.c, convert.h, langhooks-def.h, reload1.c,
1267         tree-ssa-operands.c: Likewise.
1268
1269 2007-07-26  Jan Hubicka  <jh@suse.cz>
1270
1271         * tree-ssa-live.c: Include debug.h and flags.h.
1272         (mark_scope_block_unused): New function.
1273         (remove_unused_scope_block_p): New function.
1274         (remove_unused_locals): Remove unused blocks too.
1275
1276 2007-07-25  Ian Lance Taylor  <iant@google.com>
1277
1278         * combine.c (combine_max_regno): Remove.  Remove all uses.
1279         (struct reg_stat_struct): Rename from struct reg_stat.
1280         (reg_stat_type): Define, and declare VECs.
1281         (reg_stat): Change from pointer to VEC.  Change all uses.
1282         (combine_split_insns): New static function.
1283         (try_combine, find_split_point): Call it instead of split_insns.
1284
1285 2007-07-25  Zdenek Dvorak  <dvorakz@suse.cz>
1286
1287         * cfghooks.c (split_block): Fix the information about loop latch.
1288
1289 2007-07-25  Zdenek Dvorak  <dvorakz@suse.cz>
1290
1291         * cfgloopmanip.c (fix_loop_structure): Call force_single_succ_latches.
1292
1293 2007-07-25  Zdenek Dvorak  <dvorakz@suse.cz>
1294
1295         * tree-ssa-threadupdate.c (create_edge_and_update_destination_phis):
1296         Scan the new edge for loop exit info.
1297
1298 2007-07-25  Andreas Tobler  <a.tobler@schweiz.org>
1299
1300         * config/darwin.c: Include debug.h.
1301
1302 2007-07-25  Steve Ellcey  <sje@cup.hp.com>
1303
1304         PR target/32218
1305         * tree-vect-patterns.c (vect_pattern_recog_1): Check for valid type.
1306
1307 2007-07-25  Steve Ellcey  <sje@cup.hp.com>
1308
1309         * config/ia64/ia64.h (HARD_REGNO_NREGS): Handle RFmode.
1310         (HARD_REGNO_MODE_OK): Ditto.
1311         (MODES_TIEABLE_P): Ditto.
1312         (HARD_REGNO_CALLER_SAVE_MODE): Ditto.
1313         (CLASS_MAX_NREGS): Ditto.
1314         * config/ia64/ia64.c (ia64_print_operand_address): Add R format.
1315         * config/ia64/ia64.md (divsf3_internal_thr): Removed.
1316         (divdf3_internal_thr): Removed.
1317         * config/ia64/div.md: New file.
1318         * config/ia64/constraints.md: Add H constraint.
1319
1320 2007-07-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1321
1322         * sbitmap.c (sbitmap_verify_popcount, sbitmap_alloc_with_popcount,
1323         sbitmap_copy, sbitmap_copy_n, sbitmap_equal, sbitmap_empty_p,
1324         sbitmap_union_of_diff_cg, sbitmap_union_of_diff, sbitmap_not,
1325         sbitmap_difference, sbitmap_any_common_bits, sbitmap_a_and_b_cg,
1326         sbitmap_a_and_b, sbitmap_a_xor_b_cg, sbitmap_a_xor_b,
1327         sbitmap_a_or_b_cg, sbitmap_a_or_b, sbitmap_a_subset_b_p,
1328         sbitmap_a_or_b_and_c_cg, sbitmap_a_or_b_and_c,
1329         sbitmap_a_and_b_or_c_cg, sbitmap_a_and_b_or_c,
1330         sbitmap_first_set_bit, sbitmap_last_set_bit, dump_sbitmap,
1331         dump_sbitmap_file, debug_sbitmap, popcount_table,
1332         sbitmap_popcount): Constify.
1333         * sbitmap.h (const_sbitmap, const_sbitmap_ptr): New.
1334         (sbitmap_iterator, sbitmap_iter_init, dump_sbitmap,
1335         dump_sbitmap_file, sbitmap_copy, sbitmap_copy_n, sbitmap_equal,
1336         sbitmap_empty_p, sbitmap_union_of_diff, sbitmap_union_of_diff_cg,
1337         sbitmap_difference, sbitmap_not, sbitmap_a_or_b_and_c,
1338         sbitmap_a_or_b_and_c_cg, sbitmap_a_and_b_or_c,
1339         sbitmap_a_and_b_or_c_cg, sbitmap_any_common_bits, sbitmap_a_and_b,
1340         sbitmap_a_and_b_cg, sbitmap_a_or_b, sbitmap_a_or_b_cg,
1341         sbitmap_a_xor_b, sbitmap_a_xor_b_cg, sbitmap_a_subset_b_p,
1342         sbitmap_first_set_bit, sbitmap_last_set_bit, debug_sbitmap,
1343         sbitmap_popcount, sbitmap_verify_popcount): Constify.
1344
1345 2007-07-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1346
1347         * bitmap.c (hash_descriptor, eq_descriptor, bitmap_element_zerop,
1348         bitmap_copy, bitmap_clear_bit, popcount_table, bitmap_count_bits,
1349         bitmap_first_set_bit, bitmap_and, bitmap_and_into,
1350         bitmap_elt_copy, bitmap_and_compl, bitmap_and_compl_into,
1351         bitmap_compl_and_into, bitmap_elt_ior, bitmap_ior,
1352         bitmap_ior_into, bitmap_xor, bitmap_xor_into, bitmap_equal_p,
1353         bitmap_intersect_p, bitmap_intersect_compl_p,
1354         bitmap_ior_and_compl, bitmap_ior_and_compl_into,
1355         debug_bitmap_file, debug_bitmap, bitmap_print, bitmap_hash):
1356         Constify.
1357         * bitmap.h (bitmap_copy, bitmap_equal_p, bitmap_intersect_p,
1358         bitmap_intersect_compl_p, bitmap_count_bits, bitmap_and,
1359         bitmap_and_into, bitmap_and_compl, bitmap_and_compl_into,
1360         bitmap_compl_and_into, bitmap_ior, bitmap_ior_into, bitmap_xor,
1361         bitmap_xor_into, bitmap_ior_and_compl, bitmap_ior_and_compl_into,
1362         debug_bitmap, debug_bitmap_file, bitmap_print,
1363         bitmap_first_set_bit, bitmap_hash, bmp_iter_set_init,
1364         bmp_iter_and_init, bmp_iter_and_compl_init): Likewise.
1365
1366 2007-07-25  Daniel Berlin  <dberlin@dberlin.org>
1367
1368         * config/darwin.c (darwin_override_options): Additional fix for
1369         debug info formats that don't support var tracking.
1370
1371 2007-07-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1372
1373         * cselib.c (entry_and_rtx_equal_p): Constify.
1374         * gengtype.c (output_mangled_typename, write_types, write_local):
1375         Likewise.
1376         * gengtype.h (const_type_p): New.
1377         * see.c (eq_descriptor_extension, hash_descriptor_extension):
1378         Constify.
1379         * tlink.c (scan_linker_output): De-constify.
1380         * tree-ssa-loop-im.c (memref_eq): Constify.
1381         * tree-ssa-structalias.c (const_shared_bitmap_info_t): New.
1382         (shared_bitmap_hash, shared_bitmap_eq): Constify.
1383
1384 2007-07-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1385
1386         * c-common.c (fname_as_string, c_type_hash): Constify.
1387         * c-typeck.c (free_all_tagged_tu_seen_up_to): Likewise.
1388         * cgraph.c (edge_hash, edge_eq): Likewise.
1389         * dwarf2out.c (decl_die_table_eq, decl_loc_table_eq): Likewise.
1390         * emit-rtl.c (mem_attrs_htab_eq, reg_attrs_htab_hash,
1391         reg_attrs_htab_eq): Likewise.
1392         * except.c (t2r_eq, t2r_hash, ttypes_filter_eq, ehl_hash, ehl_eq):
1393         Likewise.
1394         * genautomata.c (const_reserv_sets_t, const_unit_decl_t,
1395         const_decl_t, const_state_t, const_automata_list_el_t): New.
1396         (first_out_arc, DECL_UNIT, DECL_BYPASS, DECL_AUTOMATON, DECL_EXCL,
1397         DECL_PRESENCE, DECL_ABSENCE, DECL_RESERV, DECL_INSN_RESERV,
1398         automaton_decl_hash, automaton_decl_eq_p, insn_decl_hash,
1399         insn_decl_eq_p, decl_hash, decl_eq_p, alt_state_cmp,
1400         reserv_sets_cmp, reserv_sets_eq, state_hash, state_eq_p,
1401         automata_list_hash, automata_list_eq_p, compare_states_for_equiv,
1402         compare_max_occ_cycle_nums, out_state_arcs_num,
1403         compare_transition_els_num, units_cmp, state_reservs_cmp):
1404         Constify.
1405         * genmodes.c (cmp_modes): Likewise.
1406         * ggc-common.c (saving_htab_hash, saving_htab_eq): Likewise.
1407         * gimplify.c (compare_case_labels): Likewise.
1408         * ipa-type-escape.c (get_name_of_type, type_brand_s): Likewise.
1409         * loop-unroll.c (si_info_hash, ve_info_hash): Likewise.
1410         * matrix-reorg.c (mtt_info_hash): Likewise.
1411         * postreload-gcse.c (hash_expr_for_htab, expr_equiv_p): Likewise.
1412         * rtl-factoring.c (const_p_hash_bucket, const_p_hash_elem): New.
1413         (htab_hash_bucket, htab_hash_elem): Constify.
1414         * tree-browser.c (TB_parent_eq): Likewise.
1415         * tree-scalar-evolution.c (hash_scev_info): Likewise.
1416         * tree-ssa-alias.c (sort_tags_by_id): Likewise.
1417         * tree-ssa-coalesce.c (const_coalesce_pair_p): New.
1418         (coalesce_pair_map_hash, coalesce_pair_map_eq, compare_pairs):
1419         Constify.
1420         * tree-ssa-dom.c (avail_expr_hash, avail_expr_eq): Likewise.
1421         * tree-ssa-pre.c (const_expr_pred_trans_t): New.
1422         (expr_pred_trans_hash, expr_pred_trans_eq): Constify.
1423         * tree-ssa-sccvn.c (const_vn_binary_op_t, const_vn_unary_op_t,
1424         const_vn_phi_t, const_vn_reference_op_t, const_vn_reference_t):
1425         New.
1426         (vn_reference_op_eq, vn_reference_hash, vn_reference_eq,
1427         vn_unary_op_hash, vn_unary_op_eq, vn_binary_op_hash,
1428         vn_binary_op_eq, vn_phi_hash, vn_phi_eq): Constify.
1429         * tree-ssa-threadupdate.c (redirection_data_hash,
1430         redirection_data_eq): Likewise. 
1431         * tree-ssa-uncprop.c (equiv_hash, equiv_eq): Likewise.
1432         * tree-ssa.c (var_ann_eq): Likewise.
1433         * tree-vrp.c (compare_case_labels): Likewise.
1434         * tree.c (int_cst_hash_hash, int_cst_hash_eq,
1435         tree_map_base_marked_p, type_hash_marked_p, tree_check_failed,
1436         tree_not_check_failed, tree_class_check_failed,
1437         tree_range_check_failed, tree_not_class_check_failed,
1438         omp_clause_check_failed, omp_clause_range_check_failed,
1439         tree_contains_struct_check_failed, tree_operand_check_failed):
1440         Likewise. 
1441         * tree.h (tree_contains_struct_check_failed, tree_check_failed,
1442         tree_not_check_failed, tree_class_check_failed,
1443         tree_range_check_failed, tree_not_class_check_failed,
1444         tree_operand_check_failed, omp_clause_operand_check_failed,
1445         tree_operand_length): Likewise. 
1446         * var-tracking.c (const_variable): New.
1447         (variable_htab_hash, variable_htab_eq): Constify.
1448         * varasm.c (const_desc_hash): Likewise.
1449
1450 2007-07-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1451
1452         * expr.c (handled_component_p): Constify.
1453         * fold-const.c (fit_double_type): Likewise.
1454         * real.h (real_value_from_int_cst): Likewise.
1455         * tree-flow-inline.h (gimple_in_ssa_p,
1456         gimple_aliases_computed_p, gimple_addressable_vars,
1457         gimple_call_clobbered_vars, gimple_referenced_vars,
1458         gimple_global_var, gimple_nonlocal_all, gimple_var_anns,
1459         end_htab_p, end_referenced_vars_p, var_ann, function_ann,
1460         may_aliases, end_readonly_imm_use_p, has_zero_uses,
1461         has_single_use, single_imm_use, num_imm_uses, is_exec_stmt,
1462         is_label_stmt, is_global_var, phi_ssa_name_p,
1463         factoring_name_p, is_call_clobbered, tree_common_ann,
1464         op_iter_done, end_imm_use_stmt_p, end_imm_use_on_stmt_p,
1465         unmodifiable_var_p, array_ref_contains_indirect_ref,
1466         ref_contains_array_ref, lookup_subvars_for_var,
1467         var_can_have_subvars, overlap_subvar, gimple_ssa_operands,
1468         gimple_mem_ref_stats): Likewise.
1469         * tree-flow.h (tree_common_ann, var_ann, function_ann,
1470         may_aliases, is_exec_stmt, is_label_stmt,
1471         ref_contains_array_ref, array_ref_contains_indirect_ref,
1472         var_can_have_subvars, overlap_subvar, is_call_clobbered,
1473         unmodifiable_var_p): Likewise.
1474         * tree-gimple.c (is_gimple_min_invariant): Likewise.
1475         * tree-gimple.h (is_gimple_min_invariant): Likewise. 
1476         * tree.c (type_hash_list, attribute_hash_list, tree_size,
1477         cst_and_fits_in_hwi, real_value_from_int_cst,
1478         build_real_from_int_cst, integer_zerop, integer_onep,
1479         integer_all_onesp, integer_pow2p, integer_nonzerop, tree_log2,
1480         tree_floor_log2, real_zerop, real_onep, real_twop,
1481         real_minus_onep, really_constant_p, purpose_member, chain_member,
1482         list_length, fields_length, int_size_in_bytes, bit_position,
1483         int_bit_position, byte_position, int_byte_position, expr_align,
1484         array_type_nelts, tree_node_structure,
1485         type_contains_placeholder_1, iterative_hash_pointer,
1486         is_attribute_with_length_p, is_attribute_p, check_qualified_type,
1487         tree_map_base_eq, type_hash_list, type_hash_eq,
1488         attribute_hash_list, type_num_arguments, tree_int_cst_equal,
1489         tree_int_cst_lt, tree_int_cst_compare, host_integerp,
1490         tree_low_cst, tree_int_cst_msb, tree_int_cst_sgn,
1491         simple_cst_list_equal, compare_tree_int, iterative_hash_expr,
1492         int_fits_type_p, get_containing_scope, decl_function_context,
1493         decl_type_context, omp_clause_operand_check_failed,
1494         initializer_zerop, int_cst_value, num_ending_zeros): Likewise.
1495         * tree.h (omp_clause_operand_check_failed, tree_size,
1496         build_real_from_int_cst, array_type_nelts, purpose_member,
1497         tree_int_cst_equal, tree_int_cst_lt, tree_int_cst_compare,
1498         host_integerp, tree_low_cst, tree_int_cst_msb, tree_int_cst_sgn,
1499         is_attribute_p, check_qualified_type, expr_align,
1500         int_size_in_bytes, bit_position, int_bit_position, byte_position,
1501         int_byte_position, list_length, fields_length, initializer_zerop,
1502         integer_zerop, integer_onep, integer_all_onesp, integer_pow2p,
1503         integer_nonzerop, cst_and_fits_in_hwi, num_ending_zeros,
1504         tree_node_structure, handled_component_p, get_containing_scope,
1505         decl_function_context, decl_type_context, real_zerop,
1506         type_num_arguments, fit_double_type, really_constant_p,
1507         int_fits_type_p, tree_log2, tree_floor_log2, iterative_hash_expr,
1508         compare_tree_int, chain_member, simple_cst_list_equal, real_onep,
1509         real_twop, real_minus_onep, int_cst_value): Likewise.
1510
1511 2007-07-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1512
1513         * cfglayout.c (insn_scope, insn_line): Constify.
1514         * emit-rtl.c (const_int_htab_hash, const_int_htab_eq,
1515         const_double_htab_hash, const_double_htab_eq,
1516         mem_attrs_htab_hash): Likewise.
1517         * loop-iv.c (biv_eq): Likewise.
1518         * print-rtl.c (print_rtx, print_decl_name, print_mem_expr,
1519         print_inline_rtx, debug_rtx, debug_rtx_list, debug_rtx_range,
1520         debug_rtx_find, print_rtl, print_rtl_single, print_simple_rtl):
1521         Likewise. 
1522         * rtl-error.c (location_for_asm, diagnostic_for_asm,
1523         error_for_asm, warning_for_asm, _fatal_insn,
1524         _fatal_insn_not_found): Likewise. 
1525         * rtl.c (rtx_size, shared_const_p, shallow_copy_rtx_stat,
1526         rtx_equal_p, rtl_check_failed_bounds, rtl_check_failed_type1,
1527         rtl_check_failed_type2, rtl_check_failed_code1,
1528         rtl_check_failed_code2, rtl_check_failed_code_mode,
1529         rtvec_check_failed_bounds, rtl_check_failed_flag): Likewise.
1530         * rtl.h (rtl_check_failed_bounds, rtl_check_failed_type1,
1531         rtl_check_failed_type2, rtl_check_failed_code1,
1532         rtl_check_failed_code2, rtl_check_failed_code_mode,
1533         rtvec_check_failed_bounds, rtl_check_failed_flag, LABEL_KIND,
1534         SET_LABEL_KIND, rhs_regno, subreg_lsb, subreg_regno, subreg_nregs,
1535         shared_const_p, rtx_size, shallow_copy_rtx_stat, rtx_equal_p,
1536         get_pool_mode, insn_line, insn_file, simplify_replace_rtx,
1537         mode_signbit_p, rtx_addr_can_trap_p, nonzero_address_p,
1538         rtx_unstable_p, get_integer_term, get_related_value,
1539         offset_within_block_p, reg_mentioned_p, count_occurrences,
1540         reg_referenced_p, reg_used_between_p, no_labels_between_p,
1541         single_set_2, multiple_sets, set_noop_p, refers_to_regno_p,
1542         reg_overlap_mentioned_p, dead_or_set_p, dead_or_set_regno_p,
1543         find_reg_note, find_regno_note, find_reg_equal_equiv_note,
1544         find_constant_src, find_reg_fusage, find_regno_fusage,
1545         pure_call_p, remove_note, side_effects_p, volatile_refs_p,
1546         volatile_insn_p, may_trap_p, may_trap_after_code_motion_p,
1547         may_trap_or_fault_p, inequality_comparisons_p, tablejump_p,
1548         computed_jump_p, auto_inc_p, in_expr_list_p,
1549         remove_node_from_expr_list, loc_mentioned_in_p,
1550         label_is_jump_target_p, reversed_comparison_code_parts,
1551         debug_rtx, debug_rtx_list, debug_rtx_range, debug_rtx_find,
1552         print_mem_expr, print_rtl, print_simple_rtl, print_rtl_single,
1553         print_inline_rtx): Likewise.
1554         * rtlanal.c (covers_regno_p, covers_regno_no_parallel_p,
1555         computed_jump_p_1, nonzero_bits1, rtx_unstable_p,
1556         rtx_addr_can_trap_p_1, rtx_addr_can_trap_p, nonzero_address_p,
1557         get_integer_term, get_related_value, offset_within_block_p,
1558         count_occurrences, reg_mentioned_p, no_labels_between_p,
1559         reg_used_between_p, reg_referenced_p, single_set_2,
1560         multiple_sets, set_noop_p, refers_to_regno_p,
1561         reg_overlap_mentioned_p, dead_or_set_p,
1562         covers_regno_no_parallel_p, covers_regno_p,
1563         dead_or_set_regno_p, find_reg_note, find_regno_note,
1564         find_reg_equal_equiv_note, find_constant_src, find_reg_fusage,
1565         find_regno_fusage, pure_call_p, remove_note, in_expr_list_p,
1566         remove_node_from_expr_list, volatile_insn_p, volatile_refs_p,
1567         side_effects_p, may_trap_p_1, may_trap_p,
1568         may_trap_after_code_motion_p, may_trap_or_fault_p,
1569         inequality_comparisons_p, tablejump_p, computed_jump_p_1,
1570         computed_jump_p, auto_inc_p, loc_mentioned_in_p, subreg_lsb,
1571         subreg_regno, subreg_nregs, label_is_jump_target_p): Likewise.
1572         * simplify-rtx.c (neg_const_int, plus_minus_operand_p,
1573         mode_signbit_p, simplify_replace_rtx, plus_minus_operand_p):
1574         Likewise. 
1575         * toplev.h (_fatal_insn_not_found, _fatal_insn, error_for_asm,
1576         warning_for_asm): Likewise.
1577         * tree.h (print_rtl): Likewise.
1578         * varasm.c (get_pool_mode): Likewise.
1579
1580 2007-07-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1581
1582         * c-lex.c (c_lex_with_flags, lex_string): Constify.
1583         * c-ppoutput.c (print_line, pp_dir_change): Likewise.
1584         * c-typeck.c (free_all_tagged_tu_seen_up_to): Likewise.
1585         * cfg.c (bb_copy_original_hash, bb_copy_original_eq): Likewise.
1586         * cfgloop.c (loop_exit_hash, loop_exit_eq): Likewise.
1587         * ddg.c (compare_sccs): Likewise.
1588         * df-scan.c (df_ref_compare, df_mw_compare): Likewise.
1589         * dfp.c (decimal_real_from_string, decimal_to_decnumber,
1590         decimal_to_binary, decimal_do_compare, decimal_real_to_decimal,
1591         decimal_do_fix_trunc, decimal_real_to_integer,
1592         decimal_real_to_integer2, decimal_real_maxval): Likewise.
1593         * dse.c (const_group_info_t): New.
1594         (invariant_group_base_eq, invariant_group_base_hash): Constify.
1595         * dwarf2out.c (const_dw_die_ref): New.
1596         (decl_die_table_hash, decl_die_table_eq, file_info_cmp): Constify.
1597         * tree-browser.c (TB_parent_eq): Likewise.
1598         * unwind-dw2-fde.c (__register_frame_info_bases,
1599         __deregister_frame_info_bases, fde_unencoded_compare, fde_split,
1600         add_fdes, linear_search_fdes, binary_search_unencoded_fdes):
1601         Likewise.
1602         * unwind-dw2-fde.h (get_cie, next_fde): Likewise.
1603         * unwind-dw2.c (uw_frame_state_for): Likewise.
1604         * value-prof.c (histogram_hash, histogram_eq): Likewise.
1605         * value-prof.h (const_histogram_value): New.
1606
1607 2007-07-25  Richard Sandiford  <richard@codesourcery.com>
1608
1609         * config/mips/mips.c (machine_function): Add
1610         initialized_mips16_gp_pseudo_p.
1611         (mips16_gp_pseudo_reg): Do not emit the initialization of
1612         mips16_gp_pseudo_rtx when being called from the gimple cost-
1613         calculation routines; emit it on the first use outside those
1614         routines.
1615
1616 2007-07-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1617
1618         * coretypes.h (const_bitmap, const_rtx, const_rtvec, const_tree):
1619         New.
1620         
1621         * rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2,
1622         RTVEC_ELT, XWINT, XCWINT, XCMWINT, XCNMPRV, BLOCK_SYMBOL_CHECK,
1623         RTL_FLAG_CHECK1, RTL_FLAG_CHECK2, RTL_FLAG_CHECK3,
1624         RTL_FLAG_CHECK4, RTL_FLAG_CHECK5, RTL_FLAG_CHECK6,
1625         RTL_FLAG_CHECK7, RTL_FLAG_CHECK8, LABEL_KIND, SET_LABEL_KIND):
1626         Preserve const-ness of parameters through use of __typeof(),
1627         also constify and tidy.
1628         
1629         * tree.h (TREE_CHECK, TREE_NOT_CHECK, TREE_CHECK2,
1630         TREE_NOT_CHECK2, TREE_CHECK3, TREE_NOT_CHECK3, TREE_CHECK4,
1631         NON_TREE_CHECK4, TREE_CHECK5, TREE_NOT_CHECK5,
1632         CONTAINS_STRUCT_CHECK, TREE_CLASS_CHECK, TREE_RANGE_CHECK,
1633         OMP_CLAUSE_SUBCODE_CHECK, OMP_CLAUSE_RANGE_CHECK, EXPR_CHECK,
1634         GIMPLE_STMT_CHECK, NON_TYPE_CHECK, TREE_VEC_ELT_CHECK,
1635         PHI_NODE_ELT_CHECK, OMP_CLAUSE_ELT_CHECK, TREE_OPERAND_CHECK,
1636         TREE_OPERAND_CHECK_CODE, GIMPLE_STMT_OPERAND_CHECK,
1637         TREE_RTL_OPERAND_CHECK, TREE_CHAIN, TREE_TYPE): Likewise.
1638
1639 2007-07-25  Julian Brown  <julian@codesourcery.com>
1640             Mark Shinwell  <shinwell@codesourcery.com>
1641
1642         * config/alpha/alpha.c (alpha_mangle_fundamental_type): Rename to...
1643         (alpha_mangle_type): This.
1644         (TARGET_MANGLE_FUNDAMENTAL_TYPE): Don't define.
1645         (TARGET_MANGLE_TYPE): Define this instead.
1646         * config/arm/arm-protos.h (arm_mangle_type): Add prototype.
1647         * config/arm/arm.c (TARGET_MANGLE_TYPE): Define target hook.
1648         (arm_init_neon_builtins): Fix comment.
1649         (arm_mangle_map_entry): New.
1650         (arm_mangle_map): New.
1651         (arm_mangle_type): New.
1652         * config/i386/i386.c (ix86_mangle_fundamental_type): Rename to...
1653         (ix86_mangle_type): This. Use TYPE_MAIN_VARIANT and restrict
1654         mangled types to VOID_TYPE, BOOLEAN_TYPE, INTEGER_TYPE, REAL_TYPE.
1655         (TARGET_MANGLE_FUNDAMENTAL_TYPE): Don't define.
1656         (TARGET_MANGLE_TYPE): Define this instead.
1657         * config/ia64/ia64.c (ia64_mangle_fundamental_type): Rename to...
1658         (ia64_mangle_type): This. Use TYPE_MAIN_VARIANT  and restrict
1659         mangled types to VOID_TYPE, BOOLEAN_TYPE, INTEGER_TYPE, REAL_TYPE.
1660         (TARGET_MANGLE_FUNDAMENTAL_TYPE): Don't define.
1661         (TARGET_MANGLE_TYPE): Define this instead.
1662         * config/rs6000/rs6000.c (rs6000_mangle_fundamental_type): Rename
1663         to...
1664         (rs6000_mangle_type): This. Use TYPE_MAIN_VARIANT.
1665         (TARGET_MANGLE_FUNDAMENTAL_TYPE): Don't define.
1666         (TARGET_MANGLE_TYPE): Define this instead.
1667         * config/s390/s390.c (s390_mangle_fundamental_type): Rename to...
1668         (s390_mangle_type): This.
1669         (TARGET_MANGLE_FUNDAMENTAL_TYPE): Don't define.
1670         (TARGET_MANGLE_TYPE): Define this instead.
1671         * config/sparc/sparc.c (sparc_mangle_fundamental_type): Rename to...
1672         (sparc_mangle_type): This.
1673         (TARGET_MANGLE_FUNDAMENTAL_TYPE): Don't define.
1674         (TARGET_MANGLE_TYPE): Define this instead.
1675         * cp/mangle.c (write_type): Call mangle_type target hook on all
1676         types before mangling.  Use original type, not main variant, as
1677         argument.
1678         * target-def.h (TARGET_MANGLE_FUNDAMENTAL_TYPE): Rename hook to...
1679         (TARGET_MANGLE_TYPE): This.
1680         * target.h (gcc_target): Rename mangle_fundamental_type to
1681         mangle_type.
1682         * doc/tm.texi (TARGET_MANGLE_FUNDAMENTAL_TYPE): Rename section to...
1683         (TARGET_MANGLE_TYPE): This. Note slightly different semantics.
1684
1685 2007-07-25  Julian Brown  <julian@codesourcery.com>
1686             Paul Brook  <paul@codesourcery.com>
1687             Joseph Myers  <joseph@codesourcery.com>
1688             Mark Shinwell  <shinwell@codesourcery.com>
1689
1690         * Makefile.in (TEXI_GCC_FILES): Add arm-neon-intrinsics.texi.
1691         * config.gcc (arm*-*-*): Add arm_neon.h to extra headers.
1692         (with_fpu): Allow --with-fpu=neon.
1693         * config/arm/aof.h (ADDITIONAL_REGISTER_NAMES): Add Q0-Q15.
1694         * config/arm/aout.h (ADDITIONAL_REGISTER_NAMES): Add Q0-Q15.
1695         * config/arm/arm-modes.def (EI, OI, CI, XI): New modes.
1696         * config/arm/arm-protos.h (neon_immediate_valid_for_move)
1697         (neon_immediate_valid_for_logic, neon_output_logic_immediate)
1698         (neon_pairwise_reduce, neon_expand_vector_init, neon_reinterpret)
1699         (neon_emit_pair_result_insn, neon_disambiguate_copy)
1700         (neon_vector_mem_operand, neon_struct_mem_operand, output_move_quad)
1701         (output_move_neon): Add prototypes.
1702         * config/arm/arm.c (FL_NEON): New flag for NEON processor capability.
1703         (all_fpus): Add FPUTYPE_NEON.
1704         (fp_model_for_fpu): Add NEON field.
1705         (arm_return_in_memory): Return vectors <= 16 bytes in ARM registers.
1706         (arm_arg_partial_bytes): Allow NEON vectors to be passed partially
1707         in registers.
1708         (arm_legitimate_address_p): Don't support fancy addressing for NEON
1709         structure moves.
1710         (thumb2_legitimate_address_p): Likewise.
1711         (neon_valid_immediate): Recognize and prepare constants suitable for
1712         NEON instructions.
1713         (neon_immediate_valid_for_move): New function. Recognize and prepare
1714         immediates for NEON move instructions.
1715         (neon_immediate_valid_for_logic): New function. Recognize and
1716         prepare immediates for NEON logic instructions.
1717         (neon_output_logic_immediate): New function. Create asm string
1718         suitable for outputting immediate logic instructions.
1719         (neon_pairwise_reduce): New function. Implement reduction using
1720         pairwise operations.
1721         (neon_expand_vector_init): New function. Expand a (possibly
1722         non-constant) vector initialization.
1723         (neon_vector_mem_operand): New function. Memory operands supported
1724         for quad-word loads/stores to/from ARM or NEON registers. Don't
1725         allow base+offset addressing for core regs.
1726         (neon_struct_mem_operand): New function. Valid mems for NEON
1727         structure moves.
1728         (coproc_secondary_reload_class): Enable NEON registers to be loaded
1729         from neon_vector_mem_operand addresses without a secondary register.
1730         (add_minipool_forward_ref): Handle >8-byte minipool entries.
1731         (add_minipool_backward_ref): Likewise.
1732         (dump_minipool): Likewise.
1733         (push_minipool_fix): Likewise.
1734         (output_move_quad): New function. Output quad-word moves, loads and
1735         stores using ARM registers.
1736         (output_move_vfp): Add support for vectors in VFP (NEON) D
1737         registers.
1738         (output_move_neon): Output a NEON load/store to/from a quadword
1739         register.
1740         (arm_print_operand): Implement new codes:
1741         - 'c' for unadorned integers (without a # sign).
1742         - 'J', 'K' for reg+2/reg+3, reg+3/reg+2 in little/big-endian
1743         mode.
1744         - 'e', 'f' for the low and high D parts of a NEON Q register.
1745         - 'q' outputs a NEON Q register.
1746         - 'h' outputs ranges of D registers for VLDM/VSTM etc.
1747         - 'T' prints NEON opcode features from a coded bitmask.
1748         - 'F' is similar to T, but signed/unsigned codes both print as
1749         'i'.
1750         - 't' is similar to T, but 'u' is printed instead of 'p'.
1751         - 'O' prints 'r' if NEON instruction should perform rounding (as
1752         specified by bitmask), else prints nothing.
1753         - '#' is a punctuation character to stop operand numbers from
1754         running together with following digits in the assembler
1755         strings for instructions (when using mode attributes).
1756         (arm_assemble_integer): Handle extra NEON vector modes. Permute
1757         constant vectors in big-endian mode, where necessary.
1758         (arm_hard_regno_mode_ok): Allow vectors in VFP/NEON registers.
1759         Handle EI, OI, CI, XI modes.
1760         (ashlv4hi3, ashlv2si3, lshrv4hi3, lshrv2si3, ashrv4hi3)
1761         (ashrv2si3): Rename IWMMXT2_BUILTINs to...
1762         (ashlv4hi3_iwmmxt, ashlv2si3_iwmmxt, lshrv4hi3_iwmmxt)
1763         (lshrv2si3_iwmmxt, ashrv4hi3_iwmmxt, ashrv2si3_iwmmxt): New names.
1764         (neon_builtin_type_bits): Add enumeration, one bit for each vector
1765         type.
1766         (v8qi_UP, v4hi_UP, v2si_UP, v2sf_UP, di_UP, v16qi_UP, v8hi_UP)
1767         (v4si_UP, v4sf_UP, v2di_UP, ti_UP, ei_UP, oi_UP, UP): Define macros
1768         to turn v8qi, etc. into bits defined above.
1769         (neon_itype): New enumeration. Classifications of NEON builtins.
1770         (neon_builtin_datum): Define struct. Contains information about
1771         a single builtin (with multiple modes).
1772         (CF): Define helper macro for...
1773         (VAR1...VAR10): Define builtins with a type, name and 1-10 different
1774         modes.
1775         (neon_builtin_data): New array. Define information about builtins
1776         for use during initialization/expansion.
1777         (arm_init_neon_builtins): New function.
1778         (arm_init_builtins): Call arm_init_neon_builtins if TARGET_NEON is
1779         true.
1780         (neon_builtin_compare): New function.
1781         (locate_neon_builtin_icode): New function. Find an insn code for a
1782         builtin given a function code for that builtin. Also return type of
1783         builtin (NEON_BINOP, NEON_UNOP etc.).
1784         (builtin_arg): New enumeration. Types of arguments for builtins.
1785         (arm_expand_neon_args): New function. Expand a generic NEON builtin.
1786         Takes a variable argument list of builtin_arg types, terminated by
1787         NEON_ARG_STOP.
1788         (arm_expand_neon_builtin): New function. Expand a NEON builtin.
1789         (neon_reinterpret): New function. Expand NEON reinterpret intrinsic.
1790         (neon_emit_pair_result_insn): New function. Support returning pairs
1791         of vectors via a pointer.
1792         (neon_disambiguate_copy): New function. Set up operands for a
1793         multi-word copy such that registers do not get clobbered.
1794         (arm_expand_builtin): Call arm_expand_neon_builtin if fcode >=
1795         ARM_BUILTIN_NEON_BASE.
1796         (arm_file_start): Set float-abi attribute for NEON.
1797         (arm_vector_mode_supported_p): Enable NEON vector modes.
1798         (arm_mangle_map_entry): New.
1799         (arm_mangle_map): New.
1800         (arm_mangle_vector_type): New.
1801         * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __ARM_NEON__
1802         when appropriate.
1803         (TARGET_NEON): New macro. Target supports NEON.
1804         (fputype): Add FPUTYPE_NEON.
1805         (UNITS_PER_SIMD_WORD): Define. Allow quad-word registers to be used
1806         for vectorization based on command-line arg.
1807         (NEON_REGNO_OK_FOR_NREGS): Define.
1808         (VALID_NEON_DREG_MODE, VALID_NEON_QREG_MODE)
1809         (VALID_NEON_STRUCT_MODE): Define.
1810         (PRINT_OPERAND_PUNCT_VALID_P): '#' is valid punctuation.
1811         (arm_builtins): Add ARM_BUILTIN_NEON_BASE.
1812         * config/arm/arm.md (VUNSPEC_POOL_16): Insert constant for unspec.
1813         (consttable_16): Add pattern for outputting 16-byte minipool
1814         entries.
1815         (movv2si, movv4hi, movv8qi): Remove blank expanders (redefined in
1816         vec-common.md).
1817         (vec-common.md, neon.md): Include md files.
1818         * config/arm/arm.opt (mvectorize-with-neon-quad): Add option.
1819         * config/arm/constraints.md (constraint "Dn", "Dl", "DL"): Define.
1820         (memory_constraint "Ut", "Un", "Us"): Define.
1821         * config/arm/iwmmxt.md (VMMX, VSHFT): New mode macros.
1822         (MMX_char): New mode attribute.
1823         (addv8qi3, addv4hi3, addv2si3): Remove. Replace with...
1824         (*add<mode>3_iwmmxt): New insn pattern.
1825         (subv8qi3, subv4hi3, subv2si3): Remove. Replace with...
1826         (*sub<mode>3_iwmmxt): New insn pattern.
1827         (mulv4hi3): Rename to...
1828         (*mulv4hi3_iwmmxt): This.
1829         (smaxv8qi3, smaxv4hi3, smaxv2si3, umaxv8qi3, umaxv4hi3)
1830         (umaxv2si3, sminv8qi3, sminv4hi3, sminv2si3, uminv8qi3)
1831         (uminv4hi3, uminv2si3): Remove. Replace with...
1832         (*smax<mode>3_iwmmxt, *umax<mode>3_iwmmxt, *smin<mode>3_iwmmxt)
1833         (*umin<mode>3_iwmmxt): These.
1834         (ashrv4hi3, ashrv2si3, ashrdi3_iwmmxt): Replace with...
1835         (ashr<mode>3_iwmmxt): This new pattern.
1836         (lshrv4hi3, lshrv2si3, lshrdi3_iwmmxt): Replace with...
1837         (lshr<mode>3_iwmmxt): This new pattern.
1838         (ashlv4hi3, ashlv2si3, ashldi3_iwmmxt): Replace with...
1839         (ashl<mode>3_iwmmxt): This new pattern.
1840         * config/arm/neon-docgen.ml: New file. Generate documentation for
1841         intrinsics.
1842         * config/arm/neon-gen.ml: New file. Generate arm_neon.h header.
1843         * config/arm/arm_neon.h: New (autogenerated).
1844         * config/arm/neon-testgen.ml: New file. Generate NEON tests
1845         automatically.
1846         * config/arm/neon.md: New file. Define NEON instructions.
1847         * config/arm/neon.ml: New file. Abstract description of NEON
1848         instructions, used to generate arm_neon.h header, documentation and
1849         tests.
1850         * config/arm/t-arm (MD_INCLUDES): Add vec-common.md, neon.md.
1851         * vec-common.md: New file. Shared parts for iWMMXt and NEON vector
1852         support.
1853         * doc/extend.texi (ARM Built-in Functions): Rename and remove
1854         extraneous comma.
1855         (ARM NEON Intrinsics): New subsection.
1856         * doc/arm-neon-intrinsics.texi: New (autogenerated).
1857
1858 2007-07-25  Danny Smith   <dannysmith@users.sourceforge.net>
1859
1860         * config/i386/i386-protos.h (i386_pe_asm_file_end): Remove
1861         prototype.
1862
1863 2007-07-24  Jan Hubicka  <jh@suse.cz>
1864
1865         * regclass.c (move_table): New type.
1866         (move_cost, may_move_in_cost, may_move_out_cost): Use it.
1867         (init_move_cost): Break out from ...
1868         (init_reg_sets_1): ... here; simplify computation of
1869         have_regs-of_mode and contains_reg_of_mode.
1870         (record_reg_classes): Unswitch internal loops.
1871         (copy_cost): Trigger lazy initialization of move cost
1872         (record_address_regs): Likewise.
1873
1874 2007-07-24  Daniel Berlin  <dberlin@dberlin.org>
1875
1876         * config/darwin.c (darwin_override_options): Don't force on
1877         flag_var_tracking_uninit when no debug info is requested.
1878
1879 2007-07-25  Zdenek Dvorak  <dvorakz@suse.cz>
1880
1881         * cfgloop.c (init_loops_structure): New function.
1882         (flow_loops_find): Create root of the loop tree unconditionally.
1883
1884 2007-07-24  Daniel Jacobowitz  <dan@codesourcery.com>
1885
1886         * tree-ssa-ccp.c (fold_const_aggregate_ref): Use fold_convert.
1887
1888 2007-07-24  Jan Hubicka  <jh@suse.cz>
1889
1890         * caller-save.c: Include ggc.h, gt-caller-save.h
1891         (reg_save_code, reg_restore_code): Rename to ...
1892         (cached_reg_save_code, cached_reg_restore_code): ... those.
1893         (savepat, restpat, test_reg, test_mem, saveinsn, restinsn): New.
1894         (reg_save_code, reg_restore_code): New functions.
1895         (init_caller_save): Do not intialize
1896         reg_save_code/reg_restore_code tables.
1897         * Makefile.in: (gt-caller-save.h): New.
1898
1899 2007-07-24  Andreas Krebbel  <krebbel1@de.ibm.com>
1900
1901         * tree-ssa-ifcombine.c (ifcombine_ifandif): Use a ONE operand
1902         with the mode of the original operand instead of
1903         integer_one_node.
1904
1905 2007-07-23  Jan Hubicka  <jH@suse.cz>
1906
1907         * i386.c (ix86_secondary_memory_needed): Break out to...
1908         (inline_secondary_memory_needed): ... here.
1909         (ix86_memory_move_cost): Break out to ...
1910         (inline_memory_move_cost): ... here; add support for IN value of 2 for
1911         maximum of input and output; fix handling of Q_REGS on 64bit.
1912         (ix86_secondary_memory_needed): Microoptimize.
1913
1914 2007-07-23  Sebastian Pop  <sebpop@gmail.com>
1915
1916         * tree-data-ref.c (find_vertex_for_stmt, create_rdg_edge_for_ddr,
1917         create_rdg_edges_for_scalar, create_rdg_edges, create_rdg_vertices,
1918         stmts_from_loop, known_dependences_p, build_rdg): New.
1919         * tree-data-ref.h: Depends on graphds.h.
1920         (rdg_vertex, RDGV_STMT, rdg_dep_type, rdg_edge, RDGE_TYPE): New.
1921         (build_rdg): Declared.
1922         * Makefile.in (TREE_DATA_REF_H): Depends on graphds.h.
1923
1924 2007-07-23  Daniel Berlin  <dberlin@dberlin.org>
1925
1926         * tree-ssa-propagate.c (valid_gimple_expression_p): Match up with
1927         ccp_min_invariant.
1928
1929 2007-07-23  Peter Bergner  <bergner@vnet.ibm.com>
1930             Jakub Jelinek  <jakub@redhat.com>
1931
1932         PR middle-end/PR28690
1933         * optabs.c (expand_binop): (emit_cmp_and_jump_insns): Allow EQ compares.
1934         * rtlanal.c (commutative_operand_precedence): Prefer both REG_POINTER
1935         and MEM_POINTER operands over REG and MEM operands.
1936         (swap_commutative_operands_p): Change return value to bool.
1937         * rtl.h: Update the corresponding prototype.
1938         * tree-ssa-address.c (gen_addr_rtx): Use simplify_gen_binary
1939         instead of gen_rtx_PLUS.
1940         * simplify-rtx.c (simplify_plus_minus_op_data_cmp): Change return
1941         value to bool.  Change function arguments to rtx's and update code
1942         to match.
1943         (simplify_plus_minus): Update the simplify_plus_minus_op_data_cmp
1944         calls to match the new declaration.
1945         * simplify-rtx.c (simplify_associative_operation): Don't
1946         reorder simplify_binary_operation arguments.
1947
1948 2007-07-23  Richard Sandiford  <richard@codesourcery.com>
1949
1950         * config/mips/mips.c (override_options): Use mips_costs to derive
1951         the default branch cost.
1952         * config/mips/mips.h (BRANCH_COST): Use mips_branch_cost rather
1953         than mips_costs.
1954         * config/mips/mips.opt (mbranch-cost=): New option.
1955         * doc/invoke.texi (-mbranch-cost): Document new MIPS option.
1956
1957 2007-07-23  Richard Sandiford  <richard@codesourcery.com>
1958
1959         * config/mips/mips.h (GR_REG_CLASS_P, COP_REG_CLASS_P): Delete.
1960         (SECONDARY_MEMORY_NEEDED): Delete commented-out definition.
1961         * config/mips/mips.c (mips_register_move_cost): Use reg_class_subset_p
1962         instead of GR_REG_CLASS_P and COP_REG_CLASS_P.
1963
1964 2007-07-23  Richard Sandiford  <richard@codesourcery.com>
1965
1966         * config/mips/constraints.md (ks): New constraint.
1967         * config/mips/mips.md (*add<mode>3_sp1, *add<mode>3_sp2): Fold into...
1968         (*add<mode>3_mips16): ...here.
1969
1970 2007-07-21  Uros Bizjak  <ubizjak@gmail.com>
1971
1972         * optabs.h (enum optab_index): Add new OTI_signbit.
1973         (signbit_optab): Define corresponding macro.
1974         (enum insn_code signbit_optab[]): Remove array.
1975         * optabs.c (init_optabs): Initialize signbit_optab using init_optab.
1976         (expand_copysign_absneg): If back end provides signbit insn, use it
1977         instead of bit operations on floating point argument.
1978         * builtins.c (enum insn_code signbit_optab[]): Remove array.
1979         (expand_builtin_signbit): Check signbit_optab->handlers[].insn_code for
1980         availability of signbit insn.
1981
1982         * config/i386/i386.md (signbit<mode>2): New insn pattern to implement
1983         signbitf, signbit and signbitl built-ins as inline x87 intrinsics when
1984         SSE mode is not active.
1985         (isinf<mode>2): Disable for mfpmath=sse,387.
1986
1987 2007-07-22  Ben Elliston  <bje@au.ibm.com>
1988
1989         * regclass.c (invalid_mode_change_p): Attach ATTRIBUTE_UNUSED to
1990         `class' parameter.
1991         * struct-equiv.c (note_local_live): Likewise for `y_regno'.
1992
1993 2007-07-20  Richard Guenther  <rguenther@suse.de>
1994
1995         * tree-cfg.c (verify_expr): COND_EXPRs can have any
1996         integral typed condition.
1997         * tree-ssa.c (useless_type_conversion_p): Do not preserve
1998         booleanness.  Only preserve conversions from a non-base
1999         type to a base type, not in general between types with
2000         different TYPE_MIN_VALUE or TYPE_MAX_VALUE.
2001         * tree.def (COND_EXPR): Document that the condition
2002         can be of any integral type.
2003
2004 2007-07-20  Nigel Stephens  <nigel@mips.com>
2005             Richard Sandiford  <richard@codesourcery.com>
2006
2007         * config/mips/mips.h (mips_dwarf_regno): Declare.
2008         (DBX_REGISTER_NUMBER): Remove redundant brackets.
2009         (HI_REGNUM, LO_REGNUM): Define in an endian-dependent way.
2010         (AC1HI_REGNUM, AC1LO_REGNUM, AC2HI_REGNUM, AC2LO_REGNUM)
2011         (AC3HI_REGNUM, AC3LO_REGNUM, ACC_HI_REG_P): Delete.
2012         (reg_class): Rename HI_REG to MD0_REG and LO_REG to MD1_REG.
2013         (REG_CLASS_NAMES): Update accordingly.
2014         * config/mips/mips.c (mips_dwarf_regno): New array.
2015         (mips_regno_to_class): Rename HI_REG to MD0_REG and LO_REG to MD1_REG.
2016         (mips_subword): Remove special handling for accumulator registers.
2017         (override_options): Initiailize mips_dwarf_regno.  Remove use
2018         of ACC_HI_REG_P.
2019         (mips_swap_registers): New function.
2020         (mips_conditional_register_usage): Swap accumulator registers
2021         around if TARGET_LITTLE_ENDIAN.
2022         (mips_cannot_change_mode_class): Remove special treatment of ACC_REGS.
2023         * config/mips/constraints.md (h, l): Use the endianness to choose
2024         between MD0_REG and MD1_REG.
2025         * config/mips/mips.md (*mfhilo_<mode>_macc): Use a fixed-string,
2026         alternative-dependent template.
2027
2028 2007-07-20  Richard Sandiford  <richard@codesourcery.com>
2029
2030         * config/arm/arm.md (movsi): Use can_create_pseudo_p instead of
2031         no_new_pseudos.
2032
2033 2007-07-20  Zdenek Dvorak  <dvorakz@suse.cz>
2034
2035         * function.c (thread_prologue_and_epilogue_insns): Fix exit
2036         predecessor fallthru flags.
2037
2038 2007-07-20  Zdenek Dvorak  <dvorakz@suse.cz>
2039
2040         * tree-ssa-loop-niter.c (assert_loop_rolls_lt): Convert the operands
2041         of compare to the same type.
2042         * cfgloopmanip.c (add_loop): Update information about loop exits.
2043         (loop_version): Remove the innermost loop requirement.
2044         * tree-ssa-loop-manip.c (determine_exit_conditions): Convert bounds
2045         to sizetype for pointers.
2046
2047 2007-07-18  H.J. Lu  <hongjiu.lu@intel.com>
2048
2049         * Makefile.in (D32PBIT_FUNCS): Add _sd_to_tf and _tf_to_sd.
2050         (D64PBIT_FUNCS): Add _dd_to_tf and _tf_to_dd.
2051         (D128PBIT_FUNCS): Add _td_to_tf and _tf_to_td.
2052
2053         * config/dfp-bit.c: Empty for TFmode conversions.
2054
2055 2007-07-18  Caroline Tice  <ctice@apple.com>
2056         
2057         * var-tracking.c (find_src_status):  Check for  COND_EXEC insns
2058         and handle them correctly; check that src is not NULL before
2059         trying to use it.
2060         (find_src_set_src): Likewise.
2061         
2062 2007-07-18  Bob Wilson  <bob.wilson@acm.org>
2063         
2064         * config/xtensa/xtensa.c (xtensa_expand_mask_and_shift): New.
2065         (struct alignment_context, init_alignment_context): New.
2066         (xtensa_expand_compare_and_swap, xtensa_expand_atomic): New.
2067         * config/xtensa/xtensa.h (XCHAL_HAVE_RELEASE_SYNC): Add default.
2068         (XCHAL_HAVE_S32C1I): Likewise.
2069         (TARGET_RELEASE_SYNC, TARGET_S32C1I): New.
2070         * config/xtensa/xtensa.md (UNSPECV_MEMW): New constant.
2071         (UNSPECV_S32RI, UNSPECV_S32C1I): Likewise.
2072         (ATOMIC, HQI): New macros.
2073         (memory_barrier, *memory_barrier): New.
2074         (sync_lock_releasesi): New.
2075         (sync_compare_and_swapsi, sync_compare_and_swap<mode>): New.
2076         (sync_lock_test_and_set<mode>): New.
2077         (sync_<atomic><mode>): New.
2078         (sync_old_<atomic><mode>, sync_new_<atomic><mode>): New.
2079         * config/xtensa/xtensa-protos.h (xtensa_expand_compare_and_swap): New.
2080         (xtensa_expand_atomic): New.
2081         
2082 2007-07-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2083
2084         PR target/30652
2085
2086         * builtins.c (expand_builtin_interclass_mathfn): Provide a generic
2087         transformation for builtin ISNORMAL.
2088         (expand_builtin): Handle BUILT_IN_ISNORMAL.
2089         * builtins.def (BUILT_IN_ISNORMAL): New.
2090         * doc/extend.texi: Document isnormal.
2091
2092 2007-07-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2093
2094         PR target/30652
2095
2096         * builtins.c (expand_builtin_interclass_mathfn): Allow for missing
2097         optabs infrastructure.  Provide generic implementation for
2098         FINITE/ISFINITE.
2099         (expand_builtin): Handle FINITE/ISFINITE.
2100         (fold_builtin_classify): Make ISFINITE canonical instead of FINITE.
2101         (fold_builtin_1): Likewise.
2102
2103         * builtins.def (BUILT_IN_ISFINITE): New.
2104
2105         * doc/extend.texi: Document isfinite.
2106
2107 2007-07-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2108
2109         PR target/30652
2110         PR middle-end/20558
2111
2112         * builtins.c (expand_builtin_interclass_mathfn): Provide a
2113         generic fallback for isinf.
2114         * c-cppbuiltin.c (builtin_define_float_constants): Move FP max
2115         calculation code ...
2116         * real.c (get_max_float): ... to here.
2117         * real.h (get_max_float): New.
2118
2119 2007-07-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2120
2121         PR middle-end/32668
2122
2123         * builtin-attrs.def (ATTR_TYPEGENERIC,
2124         ATTR_CONST_NOTHROW_TYPEGENERIC): New.
2125
2126         * builtins.def (BUILT_IN_ISINF, BUILT_IN_ISNAN,
2127         BUILT_IN_ISGREATER, BUILT_IN_ISGREATEREQUAL, BUILT_IN_ISLESS,
2128         BUILT_IN_ISLESSEQUAL, BUILT_IN_ISLESSGREATER,
2129         BUILT_IN_ISUNORDERED): Use ATTR_CONST_NOTHROW_TYPEGENERIC.
2130
2131         * c-common.c (handle_type_generic_attribute): New.
2132         (c_common_attribute_table): Add "type generic".
2133
2134         * c-typeck.c (convert_arguments): Handle "type generic" functions.
2135
2136 2007-07-18  Daniel Berlin  <dberlin@dberlin.org>
2137
2138         * tree-ssa-sccvn.c (try_to_simplify): Use valid_gimple_expression
2139         * tree-ssa-propagate (valid_gimple_expression): Handle ADDR_EXPR
2140         properly.
2141
2142 2007-07-18  Rask Ingemann Lambertsen  <rask@sygehus.dk>
2143
2144         PR target/32808
2145         * config/cris/cris.c (cris_print_index): Don't use XEXP before
2146         checking that the operand is an expression.
2147
2148 2007-07-19  Christoph von Wittich  <Christoph_vW@reactos.org>
2149             Danny Smith  <dannysmith@users.sourceforge.net>
2150
2151         PR/other 30335
2152         * config/i386/host-mingw32.c (mingw32_gt_pch_use_address): Put
2153         file mapping object in local namespace if Windows version later
2154         than NT4
2155
2156 2007-07-18  Richard Sandiford  <richard@codesourcery.com>
2157
2158         * config/arm/arm-protos.h (arm_cannot_force_const_mem): Declare.
2159         * config/arm/arm.c (TARGET_CANNOT_FORCE_CONST_MEM): Redefine to
2160         arm_cannot_force_const_mem.
2161         (arm_cannot_force_const_mem): New function.
2162         * config/arm/arm.h (ARM_OFFSETS_MUST_BE_WITHIN_SECTIONS_P): New macro.
2163         (LEGITIMATE_CONSTANT_P): Test arm_cannot_force_const_mem instead
2164         of arm_tls_referenced_p.
2165         * config/arm/arm.md (movsi): Split out-of-section constants when
2166         ARM_OFFSETS_MUST_BE_WITHIN_SECTIONS_P.
2167         * config/arm/vxworks.h (ARM_OFFSETS_MUST_BE_WITHIN_SECTIONS_P): Define.
2168
2169 2007-07-18  Richard Sandiford  <richard@codesourcery.com>
2170
2171         * config/mips/mips.md (clear_cache): Treat the size argument as Pmode.
2172
2173 2007-07-18  Richard Sandiford  <richard@codesourcery.com>
2174
2175         * config/mips/mips.md (*extendqihi2): Convert the destination
2176         to SImode.
2177
2178 2007-07-17  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2179
2180         * config/pa/fptr.c: Update license header.
2181         * config/pa/milli64.S: Likewise.
2182
2183 2007-07-17  Nick Clifton  <nickc@redhat.com>
2184
2185         * COPYING_v3: New file.  Contains version 3 of the GNU General
2186         Public License.
2187         * COPYING.LIB_v3: New file.  Contains version 3 of the GNU
2188         Lesser General Public License.
2189         * doc/include/gpl_v3.texi: New file.  Contains version 3 of
2190         the GNU General Public License.
2191
2192 2007-07-17  Zdenek Dvorak  <dvorakz@suse.cz>
2193
2194         PR rtl-optimization/32773
2195         * cfglayout.c (force_one_exit_fallthru): New function.
2196         (cfg_layout_finalize): Use it.
2197
2198 2007-07-16  Richard Guenther  <rguenther@suse.de>
2199             Uros Bizjak  <ubizjak@gmail.com>
2200
2201         * tree-if-conv.c (find_phi_replacement_condition): Unshare "*cond"
2202         before forcing it to gimple operand.
2203
2204 2007-07-16  Sandra Loosemore  <sandra@codesourcery.com>
2205             David Ung  <davidu@mips.com>
2206
2207         * config/mips/mips.h (TUNE_24K): Define.
2208         (TUNE_MACC_CHAINS): Add TUNE_24K.
2209         * config/mips/mips.md: (*mul_acc_si, *mul_sub_si): Change type to
2210         imadd.
2211         * config/mips/74k.md (r74k_int_mult): Split madd/msub to ..
2212         (r74k_int_madd): .. this new reservation.
2213         (define_bypass): Fixed bypasses for r74k_int_madd to use
2214         mips_linked_madd_p.
2215         * config/mips/24k.md (define_bypass): Define new
2216         r24k_int_mul3->r24k_int_madd bypass using mips_linked_madd_p.
2217
2218 2007-07-16  Sandra Loosemore  <sandra@codesourcery.com>
2219             Nigel Stephens  <nigel@mips.com>
2220
2221         * config/mips/mips.md:  Include 20kc.md.
2222         * config/mips/20kc.md: New file.
2223         * config/mips/mips.c (mips_rtx_cost_data): Fill in 20Kc costs.
2224         (mips_adjust_cost): Tweak for 20Kc.
2225         (mips_issue_rate): Likewise.
2226         * config/mips/mips.h (TUNE_20KC): Define.
2227
2228 2007-07-16  David Edelsohn  <edelsohn@gnu.og>
2229
2230         * config/rs6000/rs6000.c (struct processor_cost): Add
2231         cache_line_size, l1_cache_lines, and simultaneous_prefetches
2232         fields.
2233         (*_cost): Add cache information.
2234         (rs6000_override_options): Set cache parameters.
2235
2236 2007-07-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2237
2238         PR bootstrap/3456
2239         * config.gcc (mips-sgi-irix[56]*): Enable pthread support.
2240         * doc/install.texi (mips-sgi-irix6): pthread support works now.
2241
2242 2007-07-16  Paul Brook  <paul@codesourcery.com>
2243
2244         PR target/32753
2245         * config/arm/cirrus.md (cirrus_arm_movsi_insn): Remove dead insn.
2246         (cirrus_thumb2_movsi_insn): Ditto.
2247
2248 2007-07-15  Geoffrey Keating  <geoffk@apple.com>
2249
2250         * config/rs6000/darwin-fallback.c (interpret_libc): Change
2251         CR2_REGNO to R_CR2.
2252
2253 2007-07-15  Andrew Haley  <aph@redhat.com>
2254
2255         * unwind-sjlj.c (_Unwind_GetIPInfo): Check for context->fc != NULL
2256         before looking in the context.
2257
2258 2007-07-15  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2259
2260         PR middle-end/32398
2261         PR middle-end/32769
2262         * pa-protos.h (pa_eh_return_handler_rtx): Declare.
2263         * pa.c (pa_extra_live_on_entry, rp_saved): Declare.
2264         (TARGET_EXTRA_LIVE_ON_ENTRY): Define.
2265         (pa_output_function_prologue): Use rp_saved and current_function_is_leaf
2266         to generate .CALLINFO statement.
2267         (hppa_expand_prologue): Set rp_saved.
2268         (hppa_expand_epilogue): Use rp_saved.
2269         (pa_extra_live_on_entry, pa_eh_return_handler_rtx): New functions.
2270         * pa.h (EH_RETURN_HANDLER_RTX): Use pa_eh_return_handler_rtx.
2271
2272 2007-07-14  Dirk Mueller  <dmueller@suse.de>
2273
2274         * omega.c (coalesce): Fix memory leak on early exit.
2275         * matrix-reorg.c (check_allocation_function): Likewise.
2276         * tree-vect-transform.c (vect_get_new_vect_var): free result
2277         of concat().
2278         * bb-reorder.c (find_rarely_executed_basic_blocks_and_crossing_edges):
2279         pass pointer to edge vector
2280         (partition_hot_cold_basic_blocks): Fix memory leak.
2281         * collect2.c (prefix_from_string): Free temporary storage.
2282         * reload1.c (fixup_abnormal_edges): Free sbitmap.
2283
2284 2007-07-14  Kaz Kojima  <kkojima@gcc.gnu.org>
2285
2286         * config/sh/sh.h (DO_GLOBAL_CTORS_BODY): Add void to prototype.
2287         (DO_GLOBAL_DTORS_BODY): Likewise.
2288
2289 2007-07-14  Sandra Loosemore  <sandra@codesourcery.com>
2290             Nigel Stephens  <nigel@mips.com>
2291
2292         * config/mips/mips.c (mips_classify_symbol): Don't return
2293         SYMBOL_SMALL_DATA for constant pool addresses if
2294         TARGET_EMBEDDED_DATA is true.
2295
2296 2007-07-14  Uros Bizjak  <ubizjak@gmail.com>
2297
2298         * config/i386/i386.c (init_mmx_sse_builtins): Define all builtins
2299         except __builtin_ia32_emms, __builtin_ia32_ldmxcsr,
2300         __builtin_ia32_stmxcsr, __builtin_ia32_maskmovq, __builtin_ia32_loadups,
2301         __builtin_ia32_storeups, __builtin_ia32_loadhps, __builtin_ia32_loadlps,
2302         __builtin_ia32_storehps, __builtin_ia32_storelps,
2303         __builtin_ia32_movntps, __builtin_ia32_movntq, __builtin_ia32_sfence,
2304         __builtin_ia32_femms, __builtin_ia32_maskmovdqu, __builtin_ia32_loadupd,
2305         __builtin_ia32_storeupd, __builtin_ia32_loadhpd, __builtin_ia32_loadlpd,
2306         __builtin_ia32_movnti, __builtin_ia32_movntpd, __builtin_ia32_movntdq,
2307         __builtin_ia32_clflush, __builtin_ia32_lfence, __builtin_ia32_mfence,
2308         __builtin_ia32_loaddqu, __builtin_ia32_storedqu, __builtin_ia32_monitor,
2309         __builtin_ia32_mwait, __builtin_ia32_lddqu, __builtin_ia32_movntdqa,
2310         __builtin_ia32_movntsd and __builtin_ia32_movntss as const builtins
2311         using def_builtin_const.
2312
2313 2007-07-14  Eric Botcazou  <ebotcazou@adacore.com>
2314
2315         PR tree-optimization/32705
2316         * tree-ssa-sccvn.c (set_ssa_val_to): Accept VN_TOP as value number.
2317         (simplify_binary_expression): Use SSA_VAL consistently.
2318
2319 2007-07-13  David Edelsohn  <edelsohn@gnu.org>
2320
2321         * config/rs6000/spe.md (SPE_ACC_REGNO): Delete definition.
2322         (SPEFSCR_REGNO): Delete definition.
2323         * config/rs6000/rs6000.c: LINK_REGISTER_REGNUM -> LR_REGNO.
2324         COUNT_REGISTER_REGNUM -> CTR_REGNO.
2325         * config/rs6000/rs6000.h: Do not define *_REGNO.
2326         LINK_REGISTER_REGNUM -> LR_REGNO.
2327         COUNT_REGISTER_REGNUM -> CTR_REGNO.
2328         * config/rs6000/predicates.md: LINK_REGISTER_REGNUM ->  LR_REGNO.
2329         COUNT_REGISTER_REGNUM -> CTR_REGNO.
2330         * config/rs6000/linux-unwind.h: Define R_LR, R_CR2, R_VR0,
2331         R_VRSAVE, R_VSCR. Use them.
2332         * config/rs6000/darwin-fallback.c: Define R_LR, R_CTR, R_CR2,
2333         R_XER, R_VR0, R_VRSAVE, R_VSCR, R_SPEFSCR.  Use them.
2334         * config/rs6000/rs6000.md: Define REGNO constants.  Use them.
2335         * config/rs6000/aix.h: Define R_LR.  Use it.
2336         
2337 2007-07-13  Caroline Tice  <ctice@apple.com>
2338         
2339         * toplev.c (process_options): Turn flag_var_tracking_uninit off when
2340         flag_var_tracking is explicitly turned off (i.e. when variable
2341         tracking is not feasible); otherwise, turn flag_var_tracking on when
2342         flag_var_tracking_uninit is on.
2343         * rtl.def (VAR_LOCATION): Add a new integer subfield to VAR_LOCATION
2344         note definitions, to allow recording of initialization status in the
2345         notes.
2346         * dwarf2out.c (dwarf_stack_op_name): Add case for DW_OP_GNU_uninit.
2347         (add_var_loc_to_decl): Add comparison of NOTE_VAR_LOCATION_STATUS to
2348         determine if two note locations are equal.
2349         (output_loc_list): Don't output list entries whose start & end labels
2350         are the same.
2351         (reg_loc_descriptor): Add parameter for initialization status; pass it
2352         to other loc descriptor functions.
2353         (one_reg_loc_descriptor): Add parameter for initialization status;
2354         check its value and add DW_OP_GNU_uninit to returned loc descr if
2355         appropriate.
2356         (multiple_reg_loc_descriptor): Add parameter for initialization
2357         status;
2358         pass init status argument to other loc descriptor functions; check
2359         value of intialization parameter and add DW_OP_GNU_uninit to returned
2360         loc descr if appropriate.
2361         (based_loc_descr): Add parameter for initialization status; add new
2362         variable for return value; check value of initialization parameter and
2363         add DW_OP_GNU_uninit to returned loc descr if appropriate.
2364         (concatn_mem_loc_descriptor): Add parameter for initialization status;
2365         pass init status argument to other loc descriptor functions; check
2366         value of intialization parameter and add DW_OP_GNU_uninit to returned
2367         loc descr if appropriate.
2368         (mem_loc_descriptor): Likewise.
2369         (concat_loc_descriptor): Likewise.
2370         (concatn_loc_descriptor): Likewise.
2371         (loc_descriptor): Add parameter for initialization status; pass it as
2372         argument to other loc descriptor function calls.
2373         (loc_descriptor_from_tree_1): Add appropriate initialization status
2374         to loc descriptor function calls.
2375         (add_location_or_const_value_attribute): Get initialization status
2376         from VAR_LOCATION note; add initialization status to loc descriptor
2377         function calls.
2378         * dwarf2.h (enum dwarf_location_atom): New op, DW_OP_GNU_uninit.
2379         * print-rtl.c (print_rtx): When printing a VAR_LOCATION note, if
2380         status is uninitialized, add "[uninint]" to output.
2381         * common.opt (fvar-tracking-uninit): New option, similar to
2382         fvar-tracking, to turn on tracking of uninitialized variables; creates
2383         a new global flag, flag_var_tracking_uninit.
2384         * rtl.h (NOTE_VAR_LOCATION_STATUS): New macro for accessing new field.
2385         (enum var_init_status): New type, for var initialization status field.
2386         * var-tracking.c (struct location_chain_def): Two new fields, init,
2387         for initialization status, and set_src for the assignment value expr.
2388         (unshare_variable): New parameter for initialization status;
2389         initialize new init and set_src fields.
2390         (var_reg_set): New parameters for initialization status and value;
2391         pass them to set_variable_part.
2392         (var_mem_set): Likewise.
2393         (get_init_value): New function.
2394         (var_reg_delete_and_set): New initialization status & value
2395         parameters; add call to get_init_value if status is unknown; pass new
2396         parameters to clobber_variable_part and var_reg_set.
2397         (var_mem_delete_and_set): Likewise.
2398         (var_reg_delete): Pass null set_src value to clobber_variable_part.
2399         (var_mem_delete): Likewise.
2400         (variable_union): Pass status to unshare_variable; initialize new init
2401         and set_src fields. If flag_var_tracking_uninit is not set, force
2402         status to initialized.
2403         (add_stores): Store insn, rather than NEXT_INSN(insn), so it can be
2404         used later to get the set_src value.
2405         (find_src_status): New function.
2406         (find_src_set_src): New function.
2407         (compute_bb_dataflow): Pass init status to calls to var_reg_set,
2408         var_mem_set, var_reg_delete_and_set and var_mem_delete_and_set; for
2409         MO_SET, get set_src value and pass it to var_reg_delete_and_set
2410         and var_mem_delete_and_set.
2411         (dump_variable): Print out "[uninit]" if appropriate.
2412         (set_variable_part): Add new initialization and set_src parameters;
2413         pass status to unshare_variable; set node->init and node- >set_src
2414         fields and modify slot in hash table appropriately; save the init and
2415         set_src values if appropriate and assign to the new node.
2416         (clobber_variable_part): New set_src parameter; if two nodes have
2417         same variable and same location but different set_src (assignment)
2418         values, clobber old node.
2419         (delete_variable_part): Pass init status to unshare_variable.
2420         (emit_note_insn_var_location): Add initialized var; assign var's init
2421         status to new 'initialized'; pass new init status field to calls to
2422         gen_rtx_VAR_LOCATION. If flag_var_tracking_uninit is not set, force
2423         status to initialized.
2424         (emit_notes_in_bb): Pass initialization status to calls to
2425         var_reg_set, var_mem_set, var_reg_delete_and_set and
2426         var_mem_delete_and_set; for MO_SET, get set_src value and pass it to
2427         var_reg_delete_and_set and var_mem_delete_and_set; call
2428         emit_notes_for_changes on NEXT_INSN(insn) rather than on insn, to
2429         make up for change in add_stores.
2430         (vt_add_function_parameters): Add status to calls to
2431         set_variable_part.
2432         * config/darwin.c (darwin_override_options): Turn on uninitialized
2433         tracking automatically, if var_tracking is on and the system is
2434         10.5 or higher.
2435         
2436 2007-07-13  Sa Liu  <saliu@de.ibm.com>
2437
2438         * config.gcc: Add options for arch and tune on SPU.
2439         * config/spu/predicates.md: Add constant operands 0 and 1.
2440         * config/spu/spu-builtins.def: Add builtins for double precision 
2441         floating point comparison: si_dfceq, si_dfcmeq, si_dfcgt, si_dfcmgt, 
2442         si_dftsv, spu_cmpeq_13, spu_cmpabseq_1, spu_cmpgt_13, spu_cmpabsgt_1,
2443         spu_testsv.
2444         * config/spu/spu-c.c: Define __SPU_EDP__ when builtins invoked with 
2445         a CELLEDP target.
2446         * config/spu/spu-protos.h: Add new function prototypes. 
2447         * config/spu/spu.c (spu_override_options): Check options -march and
2448         -mtune.
2449         (spu_comp_icode): Add comparison code for DFmode and vector mode.
2450         (spu_emit_branch_or_set): Use the new code for DFmode and vector 
2451         mode comparison.
2452         (spu_const_from_int): New.  Create a vector constant from 4 ints.
2453         (get_vec_cmp_insn): New.  Get insn index of vector compare instruction.
2454         (spu_emit_vector_compare): New.  Emit vector compare.
2455         (spu_emit_vector_cond_expr): New.  Emit vector conditional expression.
2456         * config/spu/spu.h: Add options -march and -mtune.  Define processor
2457         types PROCESSOR_CELL and PROCESSOR_CELLEDP.  Define macro
2458         CANONICALIZE_COMPARISON.
2459         * config/spu/spu.md: Add new insns for double precision compare
2460         and double precision vector compare.  Add vcond and smax/smin patterns
2461         to enable DFmode vector conditional expression.
2462         * config/spu/spu.opt: Add options -march and -mtune.
2463         * config/spu/spu_internals.h: Add builtins for CELLEDP target:
2464         si_dfceq, si_dfcmeq, si_dfcgt, si_dfcmgt, si_dftsv.  Add builtin for
2465         both CELL and CELLEDP targets: spu_testsv.
2466         * config/spu/spu_intrinsics.h: Add flag mnemonics for test special 
2467         values.
2468
2469 2007-07-13  Richard Guenther  <rguenther@suse.de>
2470
2471         PR tree-optimization/32721
2472         * tree-ssa-ccp.c (maybe_fold_stmt_indirect): Preserve
2473         TREE_THIS_VOLATILE on the folded reference.
2474         * tree-ssa-operands.c (get_expr_operands): Set has_volatile_ops
2475         if the array reference has TREE_THIS_VOLATILE set.
2476
2477 2007-07-13  H.J. Lu  <hongjiu.lu@intel.com>
2478
2479         PR other/32188
2480         * doc/libgcc.texi: Update DFP intrinsics for DPD and BID.
2481
2482 2007-07-13  Andreas Schwab  <schwab@suse.de>
2483
2484         * gengtype-lex.l: Allow declarations to be indented.
2485
2486 2007-07-12  Geoffrey Keating  <geoffk@apple.com>
2487
2488         * ginclude/tgmath.h: New.
2489         * config.gcc: Use GCC's tgmath.h on non-glibc systems.
2490         * doc/sourcebuild.texi (Headers): Document use_gcc_tgmath.
2491         * configure.ac (STMP_FIXPROTO): Honor use_gcc_tgmath.
2492         * configure: Regenerate.
2493
2494 2007-07-13  Kaz Kojima  <kkojima@gcc.gnu.org>
2495
2496         * config/sh/linux-unwind.h (sh_fallback_frame_state): Use
2497         correct index when setting register save state for xd
2498         registers.
2499
2500 2007-07-13  Kaz Kojima  <kkojima@gcc.gnu.org>
2501
2502         * config/sh/sh.c (mark_use): Remove.
2503
2504 2007-07-12  Paul Brook  <paul@codesourcery.com>
2505
2506         * config/arm/arm.c (thumb1_compute_save_reg_mask): Make sure scratch
2507         reg does not overlap return value.
2508
2509 2007-07-12  Daniel Berlin  <dberlin@dberlin.org>
2510
2511         * tree-ssa-pre.c (get_expression_vuses): Move out side-effect.
2512         (set_expression_vuses): Ditto.
2513         (init_pre): Initialize expression_vuses.
2514
2515 2007-07-12  Zdenek Dvorak  <dvorakz@suse.cz>
2516
2517         * config/i386/sse.md (storentdf, storentsf): New.
2518
2519 2007-07-12  Geoffrey Keating  <geoffk@apple.com>
2520
2521         * builtins.c (get_pointer_alignment): Honor DECL_ALIGN on a
2522         FUNCTION_DECL.
2523         * tree.c (build_decl_stat): Move code from here...
2524         (make_node_stat): ... to here.  Don't uselessly clear DECL_USER_ALIGN.
2525         (expr_align): Honor DECL_ALIGN on a FUNCTION_DECL.  Add comment
2526         about using DECL_ALIGN of LABEL_DECL and CONST_DECL.
2527         * tree.h (DECL_USER_ALIGN): Fix misplaced comment.
2528         * varasm.c (assemble_start_function): Use DECL_ALIGN instead of
2529         FUNCTION_BOUNDARY.
2530
2531 2007-07-12  Dorit Nuzman  <dorit@il.ibm.com>
2532             Devang Patel  <dpatel@apple.com>
2533
2534         PR tree-optimization/25413
2535         * targhooks.c (default_builtin_vector_alignment_reachable): New.
2536         * targhooks.h (default_builtin_vector_alignment_reachable): New.
2537         * tree.h (contains_packed_reference): New.
2538         * expr.c (contains_packed_reference): New.
2539         * tree-vect-analyze.c (vector_alignment_reachable_p): New.
2540         (vect_enhance_data_refs_alignment): Call
2541         vector_alignment_reachable_p.
2542         * target.h (vector_alignment_reachable): New builtin.
2543         * target-def.h (TARGET_VECTOR_ALIGNMENT_REACHABLE): New.
2544         * config/rs6000/rs6000.c (rs6000_vector_alignment_reachable): New.
2545         (TARGET_VECTOR_ALIGNMENT_REACHABLE): Define.
2546
2547 2007-07-12  Dorit Nuzman  <dorit@il.ibm.com>
2548
2549         * target.h (builtin_vectorization_cost): Add new target builtin.
2550         * target-def.h (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST): New.
2551         * tree-vectorizer.h (TARG_SCALAR_STMT_COST): New.
2552         (TARG_SCALAR_LOAD_COST, TARG_SCALAR_STORE_COST): New.
2553         * tree-vect-analyze.c (vect_analyze_slp_instance): Initisliaze
2554         uninitialized variables.
2555         * tree-vect-transform.c (cost_for_stmt): New function.
2556         (vect_estimate_min_profitable_iters): Call cost_for_stmt instead of
2557         using cost 1 for all scalar stmts. Be less conservative when
2558         estimating the number of prologue/epulogue iterations. Call
2559         targetm.vectorize.builtin_vectorization_cost. Return
2560         min_profitable_iters-1.
2561         (vect_model_reduction_cost): Use TARG_SCALAR_TO_VEC_COST for
2562         initialization cost instead of TARG_VEC_STMT_COST. Use
2563         TARG_VEC_TO_SCALAR_COST instead of TARG_VEC_STMT_COST for reduction
2564         epilogue code. Fix epilogue cost computation.
2565         * config/spu/spu.c (spu_builtin_vectorization_cost): New.
2566         (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST): Implement.
2567         * config/spu/spu.h (TARG_COND_BRANCH_COST, TARG_SCALAR_STMT_COST):
2568         (TARG_SCALAR_LOAD_COST, TARG_SCALAR_STORE_COST, TARG_VEC_STMT_COST):
2569         (TARG_VEC_TO_SCALAR_COST, TARG_SCALAR_TO_VEC, TARG_VEC_LOAD_COST):
2570         (TARG_VEC_UNALIGNED_LOAD_COST, TARG_VEC_STORE_COST): Define.
2571
2572 2007-07-12  Richard Guenther  <rguenther@suse.de>
2573
2574         * gimplify.c (gimplify_conversion): Make sure that the result
2575         from maybe_fold_offset_to_reference is trivially convertible
2576         to the desired type before doing the simplification.
2577         (gimplify_expr): Likewise.
2578         * fold-const.c (fold_binary): Use the correct types for
2579         building the simplified expression.
2580
2581 2007-07-12  Zdenek Dvorak  <dvorakz@suse.cz>
2582
2583         PR rtl-optimization/32729
2584         * cfghooks.c (can_duplicate_block_p): Do not forbid duplicating blocks
2585         that fallthru to exit.
2586
2587 2007-07-12  Kaz Kojima  <kkojima@gcc.gnu.org>
2588
2589         * config/sh/sh.md (symGOTOFF2reg): Add missing parenthesis.
2590         (symDTPOFF2reg): Likewise.
2591
2592 2007-07-11  Daniel Berlin  <dberlin@dberlin.org>
2593
2594         PR tree-optimization/32663
2595         
2596         * tree.h (VALUE_HANDLE_VUSES): Remove.
2597         (struct tree_value_handle): Remove vuses.
2598
2599         * tree-vn.c (create_value_handle_for_expr): Don't set
2600         VALUE_HANDLE_VUSES. 
2601
2602         * tree-ssa-pre.c (expression_vuses): New.
2603         (alloc_expression_id): Set up expression_vuses.
2604         (get_expression_vuses): New.
2605         (set_expression_vuses): Ditto.
2606         (clear_expression_ids): Modify for expression_vuses.
2607         (phi_translate_1): Ditto.
2608         (phi_translate_set): Ditto.
2609         (value_dies_in_block_x): Ditto
2610         (valid_in_sets): Ditto.
2611         (add_to_sets): Ditto.
2612         (find_existing_value_expr): Ditto.
2613         (create_value_handle_for_expr): Ditto.
2614         (make_values_for_stmt): Ditto.
2615         (vuse_equiv): Remove.
2616
2617 2007-07-11  Alexandre Oliva  <aoliva@redhat.com>
2618
2619         * Makefile.in (mostlyclean): Remove object files.
2620
2621 2007-07-11  Kenneth Zadeck <zadeck@naturalbridge.com>
2622
2623         * toplev.c (no_new_pseudos): Deleted.
2624         * rtl.h (no_new_pseudos): Deleted.
2625         * tree-pass.h (pass_no_new_pseudos): Deleted. 
2626         * passes.c (pass_no_new_pseudos): Deleted.
2627         * final.c (rest_of_clean_state): Removed no_new_pseudos.
2628         (rest_of_no_new_pseudos, pass_no_new_pseudos): Deleted.
2629         * struct-equiv.c (rtx_equiv_p): Replaced no_new_pseudos with 
2630         reload_completed.
2631         * cfgcleanup.c (try_crossjump_to_edge): Ditto. 
2632         * rtlhooks.c (gen_lowpart_general): Ditto.
2633         * optabs.c (prepare_operand): Ditto.
2634         * mode-switching.c (rest_of_handle_mode_switching): Deleted set of
2635         no_new_pseudos.
2636         * modulo-sched.c (rest_of_handle_sms): Ditto.
2637         * see.c (rest_of_handle_see): Ditto.
2638         * ifcvt.c (if_convert): Ditto.
2639         (gate_handle_if_after_combine): Replaced no_new_pseudos with 
2640         reload_completed.
2641         * init-regs.c (gate_initialize_regs): Deleted set of
2642         no_new_pseudos.
2643         * lower-subreg.c (decompose_multiword_subregs): Ditto. 
2644         * bb-reorder.c (rest_of_handle_partition_blocks): Ditto.
2645         * doc/md.texi: Changed no_new_pseudos to can_create_pseudo_p.
2646         
2647 2007-07-11  Uros Bizjak  <ubizjak@gmail.com>
2648
2649         PR target/32661
2650         * config/i386/sse.md (*sse2_storeq_rex64): Handle 64bit mem->reg moves.
2651         (*vec_extractv2di_1_sse2): Disable for TARGET_64BIT.
2652         (*vec_extractv2di_1_rex64): New insn pattern.
2653
2654 2007-07-11  David Daney  <ddaney@avtrex.com>
2655
2656         * config/mips/linux-unwind.h (mips_fallback_frame_state): Rewrite
2657         return address calculation.  Substitute DWARF_ALT_FRAME_RETURN_COLUMN
2658         for SIGNAL_UNWIND_RETURN_COLUMN.
2659         * config/mips/mips.h (SIGNAL_UNWIND_RETURN_COLUMN): Remove.
2660         (DWARF_FRAME_REGNUM): Rewrite.
2661         (DWARF_ALT_FRAME_RETURN_COLUMN) Define.
2662
2663 2007-07-11  Nick Clifton  <nickc@redhat.com>
2664
2665         * config/m32r/m32r.h (INITIALIZE_TRAMPOLINE): Revert previous
2666         delta and use gen_int_mode in place of GET_INT instead.
2667
2668 2007-07-11  Uros Bizjak  <ubizjak@gmail.com>
2669
2670         * reg-stack.c (struct tree_opt_pass pass_stack_regs): Nullify name
2671         and letter field.
2672
2673 2007-07-11  Douglas Gregor  <doug.gregor@gmail.com>
2674
2675         * params.def (PARAM_VERIFY_CANONICAL_TYPES): Remove.
2676         (PARAM_USE_CANONICAL_TYPES): New; decides whether to use canonical 
2677         types or not.
2678         * params.h (VERIFY_CANONICAL_TYPES): Remove.
2679         (USE_CANONICAL_TYPES): New.
2680         * doc/invoke.texi (verify-canonical-types): Remove.
2681         (use-canonical-types): Add.
2682
2683 2007-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
2684
2685         * config/spu/spu.c (spu_optimization_options): Remove setting of
2686         parameter PARAM_MAX_COMPLETELY_PEEL_TIMES.
2687         (spu_override_options): Move it here.
2688
2689 2007-07-11  Richard Sandiford  <richard@codesourcery.com>
2690
2691         * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Handle -m4ksc and -m4ksd.
2692         * config/mips/mips.c (mips_cpu_info_table): Mention
2693         MIPS_ISA_LEVEL_SPEC in the comment.
2694
2695 2007-07-11  Eric Botcazou  <ebotcazou@adacore.com>
2696
2697         PR tree-optimization/32713
2698         * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Handle REAL_CST.
2699
2700 2007-07-11  Paolo Carlini  <pcarlini@suse.de>
2701
2702         PR middle-end/30482
2703         * c-opts.c (c_common_post_options): Do not change flag_complex_method
2704         conditional to flag_isoc99.
2705         (c_common_init_options): Do it here, unconditionally.
2706
2707 2007-07-11  Eric Botcazou  <ebotcazou@adacore.com>
2708
2709         PR tree-optimization/32589
2710         * doc/tree-ssa.texi (Rough GIMPLE Grammar): Add missing rule.
2711         * tree-gimple.c (is_gimple_min_invariant): Clarify head comment.
2712         * tree-ssa-propagate.c (valid_gimple_expression_p): New
2713         predicate, extracted from...
2714         (set_rhs): ...here.  Call it for the expression on entry.
2715         * tree-ssa-propagate.h (valid_gimple_expression_p): Declare.
2716         * tree-ssa-sccvn.c: Include tree-ssa-propagate.h.
2717         (simplify_binary_expression): Use valid_gimple_expression_p
2718         to validate the simplification.
2719         * Makefile.in (tree-ssa-sccvn.o): Depends on tree-ssa-propagate.h.
2720
2721 2007-07-11  Danny Smith  <dannysmith@users.sourceforge.net>
2722
2723         * config/i386/cygming.h (PREFERRED_DEBUGGING_TYPE): Define to
2724         DWARF2_DEBUG on 32 bit target too.
2725         (DWARF2_UNWIND_INFO): Reorganize 64-bit vs 32-bit definition. 
2726
2727 2007-07-11  Nick Clifton  <nickc@redhat.com>
2728
2729         * config/m32r/m32r.h (INITIALIZE_TRAMPOLINE): Provide alternative
2730         version for 64-bit hosts.
2731
2732 2007-07-10  David Daney  <ddaney@avtrex.com>
2733
2734         * config/mips/mips.h (ISA_HAS_SYNCI): New target capability
2735         predicate.
2736         (INITIALIZE_TRAMPOLINE): Emit clear_cache insn instead of  library
2737         call.
2738         * config/mips/mips.c (mips_expand_synci_loop): New function.
2739         * config/mips/mips.md (UNSPEC_CLEAR_HAZARD): New constant.
2740         (UNSPEC_RDHWR): Same.
2741         (UNSPEC_SYNCI): Same.
2742         (UNSPEC_SYNC): Same.
2743         (clear_cache): New expand.
2744         (sync): New insn.
2745         (synci): Same.
2746         (rdhwr): Same.
2747         (clear_hazard): Same.
2748         * config/mips/mips-protos.h (mips_expand_synci_loop): Declare
2749         function.
2750         * testsuite/gcc.target/mips/clear-cache-1.c: New test.
2751         * testsuite/gcc.target/mips/clear-cache-2.c: New test.
2752
2753 2007-07-10  Ian Lance Taylor  <iant@google.com>
2754
2755         * emit-rtl.c (gen_reg_rtx): Check can_create_pseudo_p rather than
2756         no_new_pseudos.
2757
2758 2007-07-10  David Daney  <ddaney@avtrex.com>
2759
2760         * builtins.def (BUILT_IN_CLEAR_CACHE): New builtin.
2761         * builtins.c (expand_builtin___clear_cache): New function.
2762         (expand_builtin): Call expand_builtin___clear_cache for
2763         BUILT_IN_CLEAR_CACHE case.
2764         * doc/extend.texi (__builtin___clear_cache): Document new builtin.
2765         * doc/md.texi (clear_cache): Document new instruction pattern.
2766         * testsuite/gcc.dg/builtins-64.c: New test.
2767
2768 2007-07-11  Hans-Peter Nilsson  <hp@axis.com>
2769
2770         * config/cris/cris.md ("movsi"): Fix typo in last change.
2771
2772 2007-07-09  Geoffrey Keating  <geoffk@apple.com>
2773
2774         PR 32617
2775         * c-common.c (c_alignof_expr): Look at DECL_ALIGN of
2776         FUNCTION_DECLs.
2777         (handle_aligned_attribute): Allow use on FUNCTION_DECLs.
2778         * varasm.c (assemble_start_function): Honor DECL_ALIGN
2779         for FUNCTION_DECLs.  Don't use align_functions_log if
2780         DECL_USER_ALIGN.
2781         * print-tree.c (print_node): Print DECL_ALIGN and DECL_USER_ALIGN
2782         even for FUNCTION_DECLs.
2783         * c-decl.c (merge_decls): Propagate DECL_ALIGN even for
2784         FUNCTION_DECLs.
2785         * tree.h (DECL_ALIGN): Update for new location of 'align'.
2786         (DECL_FUNCTION_CODE): Update for new location and name of
2787         'function_code'.
2788         (DECL_OFFSET_ALIGN): Update for new location of 'off_align'.
2789         (struct tree_decl_common): Move 'align' and 'off_align' out
2790         of union, ensure they're still on a 32-bit boundary.  Remove
2791         other fields in union 'u1'.
2792         (struct tree_function_decl): Add field 'function_code' replacing
2793         'u1.f' in tree_decl_common.
2794         * tree.c (build_decl_stat): Set initial value of DECL_ALIGN.
2795         * doc/extend.texi (Function Attributes): Add 'aligned' attribute.
2796         (Variable Attributes): Cross-reference 'aligned' attribute
2797         to Function Attributes.
2798         * flags.h (force_align_functions_log): Delete.
2799         * toplev.c (force_align_functions_log): Delete.
2800
2801 2007-07-10  Uros Bizjak  <ubizjak@gmail.com>
2802
2803         PR target/32708
2804         * config/i386/sse.md (vec_concatv2di): Disable for TARGET_64BIT.
2805         (*vec_concatv2di_rex): New insn pattern.
2806
2807 2007-07-10  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2808
2809         PR target/32538
2810         * config/mips/iris6.h (LIBGCC_SPEC): Add libm.
2811
2812 2007-07-10  Ian Lance Taylor  <iant@google.com>
2813
2814         Replace no_new_pseudos in backends.
2815         * rtl.h (can_create_pseudo_p): Define.
2816         * config/darwin.c (machopic_indirect_data_reference): Use
2817         can_create_pseudo_p () instead of no_new_pseudos.
2818         (machopic_indirect_data_reference): Likewise.
2819         (machopic_legitimize_pic_address): Likewise.
2820         * config/alpha/alpha.c (alpha_legitimize_address): Likewise.
2821         (alpha_emit_set_const_1): Likewise.
2822         (alpha_emit_set_const): Likewise.
2823         (alpha_emit_conditional_move): Likewise.
2824         (alpha_split_conditional_move): Likewise.
2825         * config/alpha/alpha.md (various splitters): Likewise.
2826         (movti): Likewise.
2827         * config/arm/arm.c (legitimize_pic_address): Likewise.
2828         (arm_load_pic_register): Likewise.
2829         * config/arm/arm.md (addsi3, subsi3, andsi3, iorsi3): Likewise.
2830         (movdi, movsi, movhi, movqi, movsf, movdf): Likewise.
2831         * config/bfin/bfin.c (legitimize_pic_address): Likewise.
2832         * config/cris/cris.c (cris_expand_pic_call_address): Likewise.
2833         * config/cris/cris.md (movsi): Likewise.
2834         * config/frv/frv.md (symGOT2reg_hilo): Likewise.
2835         (symGOTOFF2reg_hilo): Likewise.
2836         (symGPREL2reg, symGPREL2reg_hilo): Likewise.
2837         * config/h8300/h8300.md (insv, extzv): Likewise.
2838         * config/i386/i386.c (ix86_expand_move): Likewise.
2839         (ix86_expand_vector_move): Likewise.
2840         (ix86_prepare_fp_compare_args): Likewise.
2841         (ix86_expand_carry_flag_compare): Likewise.
2842         * config/i386/i386.md (tls_dynamic_gnu2_32): Likewise.
2843         (tls_dynamic_gnu2_combine_32): Likewise.
2844         (tls_dynamic_gnu2_64, tls_dynamic_gnu2_combine_64): Likewise.
2845         * config/ia64/ia64.c (ia64_expand_move): Likewise.
2846         (ia64_expand_movxf_movrf): Likewise.
2847         * config/m32c/m32c.c (m32c_prepare_move): Likewise.
2848         (m32c_split_move): Likewise.
2849         (m32c_expand_insv): Likewise.
2850         * config/m68k/m68k.md (movsi): Likewise.
2851         * config/mips/mips.c (mips_force_temporary): Likewise.
2852         (mips_split_symbol): Likewise.
2853         (mips_move_integer): Likewise.
2854         (mips_legitimize_const_move): Likewise.
2855         * config/mn10300/mn10300.md (movsi): Likewise.
2856         * config/pa/pa.c (emit_move_sequence): Likewise.
2857         * config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
2858         (rs6000_got_register): Likewise.
2859         (create_TOC_reference): Likewise.
2860         (rs6000_machopic_legitimize_pic_address): Likewise.
2861         * config/rs6000/rs6000.md (add<mode>3): Likewise.
2862         (various splitters): Likewise.
2863         (iorsi3, xorsi3, iordi3, xordi3): Likewise.
2864         (movsi_got): Likewise.
2865         * config/s390/s390.c (emit_symbolic_move): Likewise.
2866         * config/s390/s390.md (movhi, movqi): Likewise.
2867         (load_multiple, store_multiple): Likewise.
2868         * config/score/score.c (score_force_temporary): Likewise.
2869         * config/sh/sh.c (prepare_move_operands): Likewise.
2870         (prepare_cbranch_operands): Likewise.
2871         (emit_fpu_switch): Likewise.
2872         (fpscr_set_from_mem): Likewise.
2873         * config/sh/sh.md (movdicc, movsicc, movsicc_umin): Likewise.
2874         (adddi3, subsi3): Likewise.
2875         (various splitters): Likewise.
2876         (divsi_inv_fp_combine): Likewise.
2877         (symGOT_load, symGOTOFF2reg, symDTPOFF2reg): Likewise.
2878         (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu): Likewise.
2879         (sne): Likewise.
2880         * config/sh/predicates.md (xor_operand): Likewise.
2881         * config/sparc/sparc.c (legitimize_tls_address): Likewise.
2882         * config/sparc/sparc.md (movsi_pic_label_ref): Likewise.
2883         (movdi_pic_label_ref): Likewise.
2884         * config/spu/spu.c (spu_split_immediate): Likewise.
2885         * config/alpha/alpha.md (various splitters): Remove test
2886         !no_new_pseudos || reload_completed.
2887         * config/ia64/ia64.c (ia64_output_mi_thunk): Don't set
2888         no_new_pseudos.
2889         * config/m68k/m68k.c (m68k_output_mi_thunk): Likewise.
2890         * config/mips/mips.c (mips_output_mi_thunk): Likewise.
2891         * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise.
2892         * config/score/score.c (th_output_mi_thunk): Likewise.
2893         * config/sh/sh.c (sh_output_mi_thunk): Likewise.
2894         * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.
2895
2896 2007-07-10  Kaz Kojima  <kkojima@gcc.gnu.org>
2897
2898         PR rtl-optimization/32664
2899         * mode-switching.c (create_pre_exit): Skip barrier insns.
2900
2901 2007-07-10  Zdenek Dvorak  <dvorakz@suse.cz>
2902
2903         * tree-scalar-evolution.c (scev_const_prop): Add arguments to
2904         force_gimple_operand_bsi.
2905         * tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr,
2906         rewrite_use_compare): Ditto.
2907         * tree-ssa-address.c (gimplify_mem_ref_parts, create_mem_ref):
2908         Ditto.
2909         * tree-ssa-ifcombine.c (ifcombine_ifandif): Ditto.
2910         * tree-ssa-loop-prefetch.c (issue_prefetch_ref): Ditto.
2911         * lambda-code.c (replace_uses_equiv_to_x_with_y): Ditto.
2912         * tree-profile.c (prepare_instrumented_value,
2913         tree_gen_interval_profiler, tree_gen_pow2_profiler,
2914         tree_gen_one_value_profiler, tree_gen_ic_profiler,
2915         tree_gen_ic_func_profiler, tree_gen_average_profiler,
2916         tree_gen_ior_profiler): Ditto.
2917         * tree-ssa-reassoc.c (negate_value): Ditto.
2918         * matrix-reorg.c (transform_access_sites, transform_allocation_sites):
2919         Use force_gimple_operand_bsi.
2920         * tree-vect-transform.c (vect_update_ivs_after_vectorizer): Ditto.
2921         * tree-if-conv.c (add_to_dst_predicate_list,
2922         find_phi_replacement_condition): Ditto.
2923         * gimplify.c (force_gimple_operand_bsi): Add before and m arguments.
2924         Call mark_symbols_for_renaming for new statements.
2925         * tree-flow.h (force_gimple_operand_bsi): Declaration changed.
2926
2927 2007-07-10  Zdenek Dvorak  <dvorakz@suse.cz>
2928
2929         * cfghooks.c (remove_edge): New function.
2930         (redirect_edge_and_branch, remove_branch, merge_blocks): Updated
2931         loop exit rescans.
2932         * cfghooks.h (remove_edge): Declare.
2933         * cfg.c (remove_edge): Renamed to remove_edge_raw.
2934         * basic-block.h (remove_edge): Declaration changed to remove_edge_raw.
2935
2936 2007-07-09  Wolfgang Gellerich  <gellerich@de.ibm.com>
2937
2938         * optabs.h: Added declaration for signbit_optab.  
2939         * optabs.c: (init_optabs): Added initialization for signbit_optab.
2940         * genoptinit.c (optabs): Added entry for signbit insns.  
2941         * builtins.c (expand_builtin_signbit): Added code to use a signbit
2942         insn, if available.  
2943         * config/s390/s390.h (S390_TDC_SIGNBIT_SET): New constant.  
2944         * config/s390/s390.md (signbit<mode>2): New expander.  
2945
2946 2007-07-09  Richard Guenther  <rguenther@suse.de>
2947
2948         PR middle-end/32698
2949         * fold-const.c (fold_plusminus_mult_expr): Move constant
2950         arguments second to allow decomposing.
2951
2952 2007-07-09  Alexandre Oliva  <aoliva@oliva.athome.lsd.ic.unicamp.br>
2953
2954         Revert:
2955         2007-07-06  Alexandre Oliva  <aoliva@redhat.com>
2956         PR debug/23551
2957         * tree-ssa-copyrename.c (copy_rename_partition_coalesce):
2958         Disregard DECL_FROM_INLINE.
2959
2960 2007-07-09  Uros Bizjak  <ubizjak@gmail.com>
2961
2962         PR target/27855
2963         * doc/invoke.texi: Add ftree-reassoc flag.
2964         * common.opt (ftree-reassoc): New flag.
2965         * tree-ssa-reassoc.c (gate_tree_ssa_reassoc): New static function.
2966         (struct tree_opt_pass pass_reassoc): Use gate_tree_ssa_reassoc.
2967
2968 2007-07-09  Uros Bizjak  <ubizjak@gmail.com>
2969
2970         PR tree-optimization/32681
2971         * tree-if-conv.c (find_phi_replacement_condition): Use the condition
2972         saved in second_edge->aux when first_bb is a loop header.
2973
2974 2007-07-09  Jan HUbicka  <jh@suse.cz>
2975
2976         * cse.c (cse_insn): Avoid invalid sharing on trial replacement.
2977
2978 2007-07-09  Richard Guenther  <rguenther@suse.de>
2979
2980         * c-decl.c (start_function): Do not promote return type.
2981
2982 2007-07-08  Daniel Franke  <franke.daniel@gmail.com>
2983
2984         * function.c (do_warn_unused_parameter): Do not warn if
2985         TREE_NO_WARNING is set.
2986
2987 2007-07-08  Andreas Schwab  <schwab@suse.de>
2988
2989         * doc/invoke.texi (DEC Alpha/VMS Options): Fix typo.
2990
2991 2007-07-08  Sandra Loosemore  <sandra@codesourcery.com>
2992
2993         Revert this patch:
2994         2007-07-06  Sandra Loosemore  <sandra@codesourcery.com>
2995
2996         * c-opts.c (c_common_handle_option): Make DOLLARS_IN_IDENTIFIERS
2997         apply to assembly language, too.
2998         * doc/tm.texi (DOLLARS_IN_IDENTIFIERS): Update.
2999
3000 2007-07-07  Daniel Berlin  <dberlin@dberlin.org>
3001
3002         Revert (note the sccvn portions are *not* reverted)
3003         2007-07-06  Daniel Berlin  <dberlin@dberlin.org>
3004
3005         Fix PR tree-optimization/23488
3006
3007         * tree-vn.c (set_value_handle): Use decl_vh_map for decl value
3008         handles.
3009         * tree-flow-inline.h (get_value_handle): Ditto.
3010         * tree-ssa-pre.c (decl_vh_map): New.
3011         (decl_node_pool): New.
3012         (can_value_number_operation): Support DECL_P.
3013         (can_PRE_operation): Ditto.
3014         (create_expression_by_pieces): Ditto.
3015         (find_existing_value_expr): Modify to differnetiate between
3016         addressing and top level.
3017         (create_value_handle_for_expr): Handle DECL's.
3018         (poolify_tree): Ditto.
3019         (make_values_for_phi): Don't insert into PHI_GEN during FRE.
3020         (make_values_for_stmt): Handle DECL's properly.
3021         (init_pre): Reorg to not init useless things during FRE.
3022         (fini_pre): Ditto.
3023         * tree-flow.h: Include pointer-set.h.
3024         (decl_vh_map): Declare.
3025         * Makefile.in (TREE_FLOW_H): Add pointer-set.h
3026
3027 2007-07-07 Eric Weddington  <eweddington@cso.atmel.com>
3028
3029         * config/avr/constraints.md (define_memory_constraint "Q"): Fix
3030         the constraint description.
3031         * doc/md.texi: Update documentation of AVR constraints.
3032
3033 2007-07-07  Kazu Hirata  <kazu@codesourcery.com>
3034
3035         * auto-inc-dec.c, config/arm/arm.c,
3036         config/m32r/constraints.md, config/mips/mips.md,
3037         config/rs6000/rs6000.c, cselib.c, dce.c, df-core.c,
3038         df-problems.c, df-scan.c, df.h, dse.c, gimplify.c,
3039         tree-if-conv.c, tree-ssa-sccvn.c, tree-ssa.c: Fix comment
3040         typos.  Follow spelling conventions.
3041         * doc/invoke.texi, doc/rtl.texi: Fix typos.
3042
3043         * cfgrtl.c (delete_insn_chain_and_edges): Remove.
3044         * rtl.h: Remove the prototype for delete_insn_chain_and_edges.
3045
3046         * tree-ssa-operands.c (realloc_vop, realloc_vdef,
3047         realloc_vuse): Remove.
3048         * tree-ssa-operands.h: Remove the prototype for realloc_vdef
3049         and realloc_vuse.
3050
3051 2007-07-06  Daniel Berlin  <dberlin@dberlin.org>
3052
3053         Fix PR tree-optimization/23488
3054
3055         * tree-ssa-sccvn.c (expr_has_constants): Handle tcc_declaration.
3056         (try_to_simplify): Ditto.
3057         (visit_use): Ditto.
3058         * tree-vn.c (set_value_handle): Use decl_vh_map for decl value
3059         handles.
3060         * tree-flow-inline.h (get_value_handle): Ditto.
3061         * tree-ssa-pre.c (decl_vh_map): New.
3062         (decl_node_pool): New.
3063         (can_value_number_operation): Support DECL_P.
3064         (can_PRE_operation): Ditto.
3065         (create_expression_by_pieces): Ditto.
3066         (find_existing_value_expr): Modify to differnetiate between
3067         addressing and top level.
3068         (create_value_handle_for_expr): Handle DECL's.
3069         (poolify_tree): Ditto.
3070         (make_values_for_phi): Don't insert into PHI_GEN during FRE.
3071         (make_values_for_stmt): Handle DECL's properly.
3072         (init_pre): Reorg to not init useless things during FRE.
3073         (fini_pre): Ditto.
3074         * tree-flow.h: Include pointer-set.h.
3075         (decl_vh_map): Declare.
3076         * Makefile.in (TREE_FLOW_H): Add pointer-set.h
3077                 
3078 2007-07-06  Sandra Loosemore  <sandra@codesourcery.com>
3079
3080         * c-opts.c (c_common_handle_option): Make DOLLARS_IN_IDENTIFIERS
3081         apply to assembly language, too.
3082         * doc/tm.texi (DOLLARS_IN_IDENTIFIERS): Update.
3083
3084 2007-07-06  Ian Lance Taylor  <iant@google.com>
3085             Zack Weinberg  <zackw@panix.com>
3086
3087         PR middle-end/32441
3088         * builtins.c (std_expand_builtin_va_start): Don't use make_tree.
3089
3090 2007-07-06  Richard Sandiford  <richard@codesourcery.com>
3091
3092         * config/sh/sh.md (*prefetch_i4): Disable for TARGET_VXWORKS_RTP.
3093         (prefetch): Likewise if "pref" would be used.
3094
3095 2007-07-06  Josh Conner  <jconner@apple.com>
3096
3097         PR middle-end/32602
3098         PR middle-end/32603
3099         * calls.c (store_one_arg): Handle arguments which are partially
3100         on the stack when detecting argument overlap.
3101
3102 2007-07-06  Bernd Schmidt  <bernd.schmidt@analog.com>
3103
3104         * reload1.c (choose_reload_regs): Set reload_spill_index for regs
3105         chosen during find_reloads.
3106
3107 2007-07-06  Richard Guenther  <rguenther@suse.de>
3108
3109         * gimplify.c (gimplify_call_expr): Prefer DECL_ARGUMENTS over
3110         TYPE_ARG_TYPES for verification of argument types.  Use
3111         DECL_ARG_TYPE instead of the PARM_DECL type.  Take excess
3112         parameters as variable arguments.
3113
3114 2007-07-06  Andreas Krebbel  <krebbel1@de.ibm.com>
3115
3116         * libgcc2.h (word_type): Type definition removed.
3117         (cmp_return_type, shift_count_type): Type definitions added.
3118         (__lshrdi3, __ashldi3, __ashrdi3): word_type of second parameter
3119         replaced with shift_count_type.
3120         (__cmpdi2, __ucmpdi2): word_type of return type replaced with
3121         cmp_return_type.
3122         * libgcc2.c (__udivmoddi4, __moddi3): Type of local variable c
3123         changed from word_type to Wtype.
3124         (__lshrdi3, __ashldi3, __ashrdi3): word_type of second parameter
3125         replaced with shift_count_type.
3126         (__cmpdi2, __ucmpdi2): word_type of return type replaced with
3127         cmp_return_type.
3128         * c-common.c (handle_mode_attribute): Handling for libgcc_cmp_return
3129         and libgcc_shift_count attribute added.
3130         * target-def.h (TARGET_LIBGCC_CMP_RETURN_MODE,
3131         TARGET_LIBGCC_SHIFT_COUNT_MODE): New target hooks defined.
3132         (TARGET_INITIALIZER): New target hooks added.
3133         * targhooks.c (default_libgcc_cmp_return_mode,
3134         default_libgcc_shift_count_mode): Default implementations for the new
3135         target hooks added.
3136         * targhooks.h (default_libgcc_cmp_return_mode,
3137         default_libgcc_shift_count_mode): Function prototypes added.
3138         * target.h (struct gcc_target): Fields for the new target hooks added.
3139         * optabs.c (expand_binop): Use shift_count_mode when expanding shift
3140         as library call.
3141         (prepare_cmp_insn): Use cmp_return_mode when expanding comparison as
3142         library call.
3143
3144         * doc/tm.texi (TARGET_LIBGCC_CMP_RETURN_MODE,
3145         TARGET_LIBGCC_SHIFT_COUNT_MODE): Documentation added.
3146
3147         * config/s390/s390.c (s390_libgcc_cmp_return_mode,
3148         s390_libgcc_shift_count_mode): Functions added.
3149         (TARGET_LIBGCC_CMP_RETURN_MODE, TARGET_LIBGCC_SHIFT_COUNT_MODE):
3150         Target hooks defined.
3151
3152 2007-07-06  Richard Sandiford  <richard@codesourcery.com>
3153
3154         * config/mips/mips.c (compute_frame_size): Restore the original
3155         gp_sp_offset for !GENERATE_MIPS16E_SAVE_RESTORE and remove the
3156         fp_size term from the GENERATE_MIPS16E_SAVE_RESTORE calculation.
3157         Document why the difference is needed.
3158
3159 2007-07-06  Richard Guenther  <rguenther@suse.de>
3160
3161         * c-common.c (boolean_increment): Use correctly typed
3162         constant.
3163
3164 2007-07-06  Richard Sandiford  <richard@codesourcery.com>
3165
3166         * config/mips/mips.c (mips16e_save_restore_pattern_p): Check that
3167         the topmost argument register is not also included in the save mask.
3168         (mips16e_collect_argument_save_p): Take a pointer to the argument
3169         register, rather than a pointer to the number of arguments.
3170         (mips16e_collect_argument_saves): Only include argument saves
3171         that aren't in the register mask.
3172
3173 2007-07-06  Uros Bizjak  <ubizjak@gmail.com>
3174
3175         PR rtl-optimization/32450
3176         * function.c (thread_prologue_and_epilogue_insns): Emit blockage insn
3177         to ensure that instructions are not moved into the prologue when
3178         profiling is on.  Remove unused prologue_end variable.
3179         (expand_function_end): Emit blockage insn instead of ASM_INPUT rtx
3180         as a scheduling barrier.
3181
3182 2007-07-06  Alexandre Oliva  <aoliva@redhat.com>
3183
3184         PR debug/23551
3185         * tree-ssa-copyrename.c (copy_rename_partition_coalesce):
3186         Disregard DECL_FROM_INLINE.
3187
3188 2007-07-05  Adam Nemet  <anemet@caviumnetworks.com>
3189
3190         * rtlanal.c (num_sign_bit_copies1): Improve cases of ANDing or
3191         IORing with a constant.
3192
3193 2007-07-05  Seongbae Park  <seongbae.park@gmail.com>
3194
3195         PR rtl-optimization/32475
3196         * df-scan.c (df_def_record_1): Add a use of the stack pointer
3197         for every definition of the stack pointer.
3198
3199 2007-07-05  Richard Earnshaw  <rearnsha@arm.com>
3200
3201         * arm.c (vfp3_const_double_index): Copy signed results of
3202         REAL_VALUE_TO_INT into unsigned vars.
3203
3204 2007-07-05  Richard Guenther  <rguenther@suse.de>
3205
3206         PR middle-end/32639
3207         * alias.c (get_alias_set): Tread METHOD_TYPE the same as
3208         FUNCTION_TYPE.
3209         * tree-ssa.c (useless_type_conversion_p): Check canonical
3210         types early.
3211
3212 2007-07-05 Anatoly Sokolov <aesok@post.ru>
3213
3214         * config/avr/avr.md (zero_extendqihi2, zero_extendqisi2, 
3215         zero_extendhisi2): Change to define_insn_and_split. 
3216         (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New.
3217
3218 2007-07-05  Paolo Bonzini  <bonzini@gnu.org>
3219
3220         * function.c (match_asm_constraints_1, rest_of_match_asm_constraints,
3221         pass_match_asm_constraints): New.
3222         * passes.c (init_optimization_passes): Add new pass.
3223         * stmt.c (expand_asm_operands): Set cfun->has_asm_statement.
3224         * function.h (struct function): Add has_asm_statement bit.
3225         (current_function_has_asm_statement): New.
3226         * tree-pass.h (pass_match_asm_constraints): New.
3227
3228 2007-07-05  Richard Sandiford  <rsandifo@nildram.co.uk>
3229
3230         * config/mips/mips.c (mips_file_start): Avoid declaration
3231         after code.
3232
3233 2007-07-05  Sandra Loosemore  <sandra@codesourcery.com>
3234
3235         * optabs.c (expand_binop_directly): Fix signed/unsigned comparison.
3236
3237 2007-07-05  Uros Bizjak  <ubizjak@gmail.com>
3238
3239         * rtl.def (NOTE): Change print format string to print
3240         operand 5 as a note insn name.
3241
3242 2007-07-05  Sandra Loosemore  <sandra@codesourcery.com>
3243             David Ung  <davidu@mips.com>
3244
3245         * config/mips/mips.c (mips_cpu_info): Add 4ksc and 4ksd processors.
3246         * doc/invoke.texi: (MIPS Options): Document them.
3247
3248 2007-07-05  Sandra Loosemore  <sandra@codesourcery.com>
3249             David Ung  <davidu@mips.com>
3250
3251         Add support for SmartMIPS ASE.
3252
3253         * optabs.c (expand_binop_directly): New, broken out from...
3254         (expand_binop): Here.  Make it try rotating in the other
3255         direction even when the second operand isn't constant.
3256         * config/mips/mips.md (*lwxs): New.
3257         * config/mips/mips.opt (msmartmips): New.
3258         * config/mips/mips.c (mips_lwxs_address_p): New.
3259         (mips_rtx_costs): Make it recognize scaled indexed addressing.
3260         * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define
3261         __mips_smartmips when compiling for TARGET_SMARTMIPS.
3262         (ISA_HAS_ROR): Define for TARGET_SMARTMIPS.
3263         (ISA_HAS_LWXS): New.
3264         (ASM_SPEC): Add -msmartmips/-mno-smartmips.
3265         * doc/invoke.texi (MIPS Options): Document -msmartmips/-mno-smartmips.
3266         * testsuite/gcc.target/mips/smartmips-lwxs.c: New test case.
3267         * testsuite/gcc.target/mips/smartmips-ror-1.c: New test case.
3268         * testsuite/gcc.target/mips/smartmips-ror-2.c: New test case.
3269         * testsuite/gcc.target/mips/smartmips-ror-3.c: New test case.
3270         * testsuite/gcc.target/mips/smartmips-ror-4.c: New test case.
3271
3272 2007-07-05  Dorit Nuzman  <dorit@il.ibm.com>
3273
3274         * tree-vectorizer.c (new_loop_vec_info): Initialize
3275         LOOP_VINFO_COST_MODEL_MIN_ITERS.
3276         * tree-vectorizer.h (_loop_vec_info): Added new filed
3277         min_profitable_iters.
3278         (LOOP_VINFO_COST_MODEL_MIN_ITERS): New access macro to above new field.
3279         (TARG_SCALAR_TO_VEC_COST): Define cost of scalar to vector operation.
3280         * tree-vect-analyze.c (vect_analyze_operations): Set
3281         LOOP_VINFO_COST_MODEL_MIN_ITERS.
3282         * tree-vect-transform.c (vect_estimate_min_profitable_iters): Use
3283         VEC_length to determine if there are any LOOP_VINFO_MAY_MISALIGN_STMTS.
3284         Fix calculation of peel_iters_prologue. Move consideration of epilogue
3285         and prologue cost to after they are computed.
3286         (vect_model_induction_cost): Use TARG_SCALAR_TO_VEC_COST instead of
3287         TARG_VEC_STMT_COST.
3288         (vect_model_simple_cost): Takes additional argument dt. Consider cost
3289         of creating vectors from scalars according to dt.
3290         (vect_model_store_cost): Likewise.
3291         (vectorizable_call): Use dt array instead of scalar dt. Call
3292         vect_model_simple_cost with additional argument dt.
3293         (vectorizable_assignment): Likewise.
3294         (vectorizable_operation): Likewise.
3295         (vectorizable_type_demotion): Likewise.
3296         (vectorizable_type_promotion): Likewise.
3297         (vectorizable_store): Use dt array instead of scalar dt. Call
3298         vect_model_store_cost with additional argument dt.
3299         (vect_do_peeling_for_loop_bound): Don't call
3300         vect_estimate_min_profitable_iters. Instead, lookup
3301         LOOP_VINFO_COST_MODEL_MIN_ITERS. Don't always print
3302         "may not be profitable".
3303
3304 2007-07-05  Dorit Nuzman  <dorit@il.ibm.com>
3305
3306         PR testsuite/32014
3307         * config/rs6000/altivec.md (UNSPEC_VUPKHS_V4SF, UNSPEC_VUPKLS_V4SF):
3308         (UNSPEC_VUPKHU_V4SF, UNSPEC_VUPKLU_V4SF): New.
3309         (vec_unpacks_float_hi_v8hi, vec_unpacks_float_lo_v8hi): New patterns.
3310         (vec_unpacku_float_hi_v8hi, vec_unpacku_float_lo_v8hi): New patterns. 
3311
3312 2007-07-05  Zdenek Dvorak  <dvorakz@suse.cz>
3313
3314         * config/i386/i386.c (ix86_address_cost): Do not consider more complex
3315         addressing modes cheaper.
3316
3317 2007-07-05  Alexandre Oliva  <aoliva@redhat.com>
3318
3319         * dwarf2out.c (dw_ranges_by_label_ref): New typedef.
3320         (dw_ranges_struct): Rename block_num to num.  Adjust.
3321         (dw_ranges_by_label_struct): New.
3322         (ranges_by_label, ranges_by_label_allocated,
3323         ranges_by_label_in_use): New variables.
3324         (add_ranges_num): Factored most of the code out of...
3325         (add_ranges): ... this one.  Rewrite in terms of the former.
3326         (add_ranges_by_labels): New.
3327         (output_ranges): Output by-label ranges.
3328         (dwarf2out_finish): Output range for multiple-section
3329         compile_unit.  Output standard DW_AT_low_pc in addition to
3330         unexpected DW_AT_entry_pc.
3331
3332 2007-07-04  Daniel Berlin  <dberlin@dberlin.org>
3333
3334         PR tree-optimization/32604
3335         PR tree-optimization/32606
3336
3337         * tree-ssa-pre.c (bb_bitmap_sets): Removed antic_safe_loads.
3338         (compute_antic_safe): Removed.
3339         (ANTIC_SAFE_LOADS): Ditto.
3340         (compute_antic_aux): Don't print ANTIC_SAFE_LOADS.
3341         (execute_pre): Don't call compute_antic_safe.
3342         (vuse_equiv): New function.