OSDN Git Service

[SH] double precision floating point dwarf fix
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2009-04-02  Christian Bruel  <christian.bruel@st.com>
2
3         * config/sh/sh.c (sh_dwarf_register_span): New function.
4         (TARGET_DWARF_REGISTER_SPAN): Define.
5         * config/sh/sh-protos.h (sh_dwarf_register_span): Declare.
6         
7 2009-04-02  Ira Rosen  <irar@il.ibm.com>
8
9         PR tree-optimization/39595
10         * tree-vect-slp.c (vect_build_slp_tree): Check that the size of 
11         interleaved loads group is not  greater than the SLP group size.
12
13 2009-04-02  Rafael Avila de Espindola  <espindola@google.com>
14
15         * builtins.c (is_builtin_name): New.
16         (called_as_built_in): Use is_builtin_name.
17         * tree.h (is_builtin_name): New.
18         * varasm.c (incorporeal_function_p): Use is_builtin_name
19
20 2009-04-02  Andrew Stubbs  <ams@codesourcery.com>
21
22         * config/sh/linux-unwind.h: Disable when inhibit_libc is defined.
23
24 2009-04-02  Dodji Seketeli  <dodji@redhat.com>
25
26         PR c++/26693
27         * c-decl.c: (clone_underlying_type): Move this ...
28         * c-common.c (set_underlying_type): ... here.
29         Also, make sure the function properly sets TYPE_STUB_DECL() on
30         the newly created typedef variant type.
31         * c-common.h (is_typedef_decl, set_underlying_type): Declare ...
32         * c-common.c (is_typedef_decl, set_underlying_type): ... new entry points.
33
34 2009-04-02  Richard Guenther  <rguenther@suse.de>
35
36         PR tree-optimization/37221
37         * tree-flow.h (degenerate_phi_result): Declare.
38         * tree-ssa-dom.c (degenerate_phi_result): Export.
39         * tree-scalar-evolution.c (analyze_initial_condition): If
40         the initial condition is defined by a degenerate PHI node
41         use the degenerate value.
42
43 2009-04-01  Eric Botcazou  <ebotcazou@adacore.com>
44
45         PR rtl-optimization/39588
46         * combine.c (merge_outer_ops): Do not set the constant when this
47         is not necessary.
48         (simplify_shift_const_1): Do not modify it either in this case.
49
50 2009-04-01  Steven Bosscher  <steven@gcc.gnu.org>
51
52         * config/ia64/ia64.c (ia64_handle_option): Inform user that Itanium1
53         tuning is deprecated if -mtune value is set to an Itanium1 variant.
54
55 2009-04-01  Janis Johnson  <janis187@us.ibm.com>
56
57         PR c/29027
58         * c-lex.c (interpret_float): Default (no suffix) is double.
59
60 2009-04-1  Xinliang David Li  <davidxl@google.com>
61
62         * config/i386/i386.c (legitimate_constant_p): Recognize
63         all one vector constant.
64
65 2009-04-01      Jan-Benedict Glaw <jbglaw@jbglaw-dev.homezone.telefonica.de>
66
67         * gcc/config/vax/vax.c: Add #includes to silence warnings.
68         Change #include order to silence two warnings.
69
70 2009-04-01      Jan-Benedict Glaw <jbglaw@jbglaw-dev.homezone.telefonica.de>
71
72         * gcc/config/vax/linux.h (TARGET_DEFAULT): Add the MASK_QMATH flag bit.
73         (ASM_SPEC): Pass -k to the assembler for PIC code.
74
75 2009-04-01      Jan-Benedict Glaw <jbglaw@jbglaw-dev.homezone.telefonica.de>
76
77         * gcc/config.gcc: Add vax-*-linux* to the switch.
78         * gcc/config/vax/linux.h: New file. (TARGET_VERSION,
79         TARGET_OS_CPP_BUILTINS, TARGET_DEFAULT, CPP_SPEC, LINK_SPEC): Define.
80
81 2009-04-01      Jan-Benedict Glaw <jbglaw@jbglaw-dev.homezone.telefonica.de>
82
83         * gcc/config/vax/vax.c (vax_output_int_move, adjacent_operands_p):
84         Use predicate macros instead of GET_CODE() == foo.
85         * gcc/config/vax/vax.md (movsi_2, movstrictqi, and<mode>3, ashrsi3,
86         ashlsi3, rotrsi3, <unnamed>): Likewise.
87
88 2009-04-01      Jan-Benedict Glaw <jbglaw@jbglaw-dev.homezone.telefonica.de>
89
90         * gcc/config/vax/builtins.md (jbbssiqi, jbbssihi, jbbssisi, jbbcciqi,
91         jbbccihi, jbbccisi): Remova trailing whitespace.
92         * gcc/config/vax/constraints.md: Likewise.
93         * gcc/config/vax/elf.h: (ASM_PREFERRED_EH_DATA_FORMAT): Likewise.
94         * gcc/config/vax/openbsd1.h (OBSD_OLD_GAS): Likewise.
95         * gcc/config/vax/predicates.md: Likewise.
96         * gcc/config/vax/vax.c (print_operand_address, vax_output_int_move,
97         vax_expand_addsub_di_operands, adjacent_operands_p): Likewise.
98         * gcc/config/vax/vax.h: Likewise.
99         * gcc/config/vax/vax.md (nonlocal_goto): Likewise.
100
101 2009-04-01      Jan-Benedict Glaw <jbglaw@jbglaw-dev.homezone.telefonica.de>
102
103         * gcc/config/vax/vax.c (vax_float_literal, vax_output_int_move)
104         (indirectable_address_p, adjacent_operands_p): Add spaces around
105         braces.
106         * gcc/config/vax/vax-protos.h (adjacent_operands_p): Likewise.
107
108 2009-04-01      Jan-Benedict Glaw <jbglaw@jbglaw-dev.homezone.telefonica.de>
109
110         * gcc/config/vax/vax.c (legitimate_constant_address_p,
111         legitimate_constant_p, indirectable_address_p, nonindexed_address_p,
112         index_term_p, reg_plus_index_p, legitimate_address_p,
113         vax_mode_dependent_address_p): Update comments to match functions
114         modified by the recent int->bool conversion.
115
116 2009-04-01      Jan-Benedict Glaw <jbglaw@jbglaw-dev.homezone.telefonica.de>
117
118         * gcc/config/vax/builtins.md: Update copyright message.
119         * gcc/config/vax/constraints.md: Likewise.
120         * gcc/config/vax/netbsd-elf.h: Likewise.
121         * gcc/config/vax/predicates.md: Likewise.
122         * gcc/config/vax/vax-protos.h: Likewise.
123         * gcc/config/vax/vax.c: Likewise.
124         * gcc/config/vax/vax.h: Likewise.
125         * gcc/config/vax/vax.md: Likewise.
126         * gcc/config/vax/vax.opt: Likewise.
127
128 2009-04-01      Jan-Benedict Glaw <jbglaw@jbglaw-dev.homezone.telefonica.de>
129
130         * gcc/config/vax/builtins.md (ffssi2, ffssi2_internal,
131         sync_lock_test_and_set<mode>, sync_lock_release<mode>): Fix indention.
132         * gcc/config/vax/constraints.md (B, R): Likewise.
133         * gcc/config/vax/predicates.md (external_memory_operand,
134         nonimmediate_addsub_di_operand): Likewise.
135         * gcc/config/vax/vax.c (vax_output_int_add): Likewise.
136         * gcc/config/vax/vax.md (movsi, movsi_2, mov<mode>, call_value,
137         untyped_call): Likewise.
138
139 2009-04-01      Matt Thomas <matt@3am-software.com>
140
141         * config/vax/predicates.md: New file. (symbolic_operand,
142         local_symbolic_operand, external_symbolic_operand,
143         external_const_operand, nonsymbolic_operand, external_memory_operand,
144         indirect_memory_operand, indexed_memory_operand,
145         illegal_blk_memory_operand, illegal_addsub_di_memory_operand,
146         nonimmediate_addsub_di_operand, general_addsub_di_operand): New
147         predicate.
148         * config/vax/constraints.md: New file. (Z0, U06,  U08, U16, CN6, S08,
149         S16, I, J, K, L, M, N, O, G, Q, B, R, T): New constraint.
150         * config/vax/builtins.md: New file. (ffssi2, ffssi2_internal,
151         sync_lock_test_and_set<mode>, jbbssiqi, jbbssihi, jbbssisi,
152         sync_lock_release<mode>, jbbcciqi, jbbccihi, jbbccisi): Define.
153         * config/vax/vax.opt (mqmath): Add option.
154         * config/vax/vax.md (isfx): Extend with DI.
155         (VAXintQH, VAXintQHSD): Define.
156         (tst<mode>, cmp<mode>, *bit<mode>, movmemhi1, truncsiqi2, truncsihi2,
157         mulsidi3, add<mode>3, sub<mode>, mul<mode>3, div<mode>3, and<mode>,
158         and<mode>_const_int, ior<mode>3, xor<mode>3, neg<mode>2,
159         one_cmpl<mode>2, ashlsi3, lshrsi3, rotlsi3): Update constraints.
160         (movdi): Update constraints and use vax_output_int_move().
161         (movsi, movsi_2, pushlclsymreg, pushextsymreg, movlclsymreg,
162         movextsymreg, adddi3, adcdi3, subdi3, sbcdi3, pushextsym, movextsym,
163         pushlclsym, movlclsym, movaddr<mode>, pushaddr<mode>,
164         nonlocal_goto): New.
165         (mov<mode>): Extend accepted operand types.
166         (subdi3_old): Rename from subdi3, change update constraints and use
167         a new implementation.
168         * gcc/config/vax/vax.h (PCC_BITFIELD_TYPE_MATTERS): Add space.
169         (FRAME_POINTER_CFA_OFFSET, IRA_COVER_CLASSES, CLASS_MAX_NREGS,
170         MOVE_RATIO, CLEAR_RATIO): Define.
171         (REG_CLASS_FROM_LETTER, CONST_OK_FOR_LETTER_P,
172         CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT): Delete.
173         (PRINT_OPERAND): Redefine using a function instead of inlined code.
174         * gcc/config/vax/vax.c (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Define.
175         (split_quadword_operands): Make static and really allow variable
176         splitting.
177         (print_operand_address): Update for PIC generation.
178         (print_operand, vax_builtin_setjmp_frame_value, vax_output_int_subtract,
179         indexable_address_p, fixup_mathdi_operand,
180         vax_expand_addsub_di_operands, adjacent_operands_p): New.
181         (vax_float_literal, legitimate_constant_p,
182         indirectable_constant_address_p, index_term_p,
183         reg_plus_index_p): Return bool instead of int.
184         (vax_rtx_costs): Fix cost for CONST_INT, indent and use HOST_WIDE_INT
185         where needed.
186         (vax_output_int_move, vax_output_int_add): Extend to allow PIC
187         generation.
188         (vax_output_conditional_branch): Indent.
189         (legitimate_constant_address_p, indirectable_constant_address_p,
190         indirectable_address_p, nonindexed_address_p, legitimate_address_p,
191         vax_mode_dependent_address_p): Return bool instead of int, update for
192         PIC generation.
193         * config/vax/vax-protos.h (legitimate_constant_address_p,
194         legitimate_constant_p, legitimate_address_p,
195         vax_mode_dependent_address_p): Change declaration to bool.
196         (legitimate_pic_operand_p, adjacent_operands_p, print_operand,
197         vax_expand_addsub_di_operands, vax_output_int_subtract,
198         vax_output_movmemsi): Declare.
199         (split_quadword_operands, vax_float_literal): Delete declaration.
200         * config/vax/netbsd-elf.h (CC1_SPEC, CC1PLUS_SPEC) Define.
201         * config/vax/elf.h (NO_EXTERNAL_INDIRECT_ADDRESS,
202         VAX_CC1_AND_CC1PLUS_SPEC, ASM_PREFERRED_EH_DATA_FORMAT,
203         ASM_OUTPUT_DWARF_PCREL): Define.
204         (ASM_SPEC): Change definition to allow PIC generation.
205
206 2009-04-01  Jakub Jelinek  <jakub@redhat.com>
207
208         PR target/39226
209         * config/rs6000/rs6000.md (andsi3_internal5_nomc,
210         anddi3_internal2_nomc, anddi3_internal3_nomc): Removed.
211         (booldi3_internal3): Use boolean_or_operator instead of
212         boolean_operator.
213
214 2009-04-01  Joseph Myers  <joseph@codesourcery.com>
215
216         PR c/39605
217         * c-decl.c (grokdeclarator): Pedwarn for file-scope array
218         declarator whose size is not an integer constant expression but
219         folds to an integer constant, then treat it as a constant
220         subsequently.
221
222 2009-04-01  Richard Guenther  <rguenther@suse.de>
223
224         * fold-const.c (fold_plusminus_mult_expr): Do not fold
225         i * 4 + 2 to (i * 2 + 1) * 2.
226
227 2009-04-01  Jakub Jelinek  <jakub@redhat.com>
228
229         PR c/37772
230         * c-parser.c (c_parser_asm_statement): Skip until close paren and
231         return if c_parser_asm_string_literal returned NULL.
232
233 2009-04-01  Nick Clifton  <nickc@redhat.com>
234
235         * config/m32c/m32c.h (LIBGCC2_UNITS_PER_WORD): Define if not
236         already defined.
237         * config/m32c/t-m32c (LIB2FUNCS_EXTRA): Add m32c-lib2-trapv.c.
238         * config/m32c/m32c-lib2.c: Remove unused typedefs.  Rename the
239         other typedefs to avoid conflicts with libgcc2.c.  Define labels
240         to gain 16-bit bit-manipulation functions from libgcc2.c and then
241         include it.
242         * config/m32c/m32c-lib2-trapv.c: New file.  Define labels
243         to gain 16-bit trapping arithmetic functions from libgcc2.c and
244         then include it.
245
246 2009-04-01  Rafael Avila de Espindola  <espindola@google.com>
247
248        * varasm.c (default_function_rodata_section): Declare DOT as const char*.
249
250 2009-04-01  Kai Tietz  <kai.tietz@onevision.com>
251             Andrey Galkin <agalkin@hypercom.com>
252
253         PR/39492
254         * config/i386/host-mingw32.c (mingw32_gt_pch_use_address):
255         Make object_name unique for each process.
256
257 2009-04-01  Jakub Jelinek  <jakub@redhat.com>
258
259         PR other/39591
260         * omp-low.c (remove_exit_barrier): Don't optimize if there are any
261         addressable variables in the parallel that could go out of scope while
262         running queued tasks.
263
264 2009-04-01  Anatoly Sokolov  <aesok@post.ru>
265
266         * config/avr/avr.h (avr_case_values_threshold): Remove declaration.
267         (CASE_VALUES_THRESHOLD): Redefine.
268         * config/avr/avr.c (avr_override_options): Remove initialization of
269         avr_case_values_threshold variable.
270         (avr_case_values_threshold): Remove variable. Add new function.
271         * config/avr/avr-protos.h (avr_case_values_threshold): Declare.
272         * config/avr/avr.opt (mno-tablejump): Remove option.
273         * doc/invoke.texi (AVR Options): Remove -mno-tablejump.
274
275 2009-04-01  DJ Delorie  <dj@redhat.com>
276
277         * varasm.c (default_function_rodata_section): Don't assume
278         anything about where the first '.' in the section name is.
279
280 2009-04-01  Alan Modra  <amodra@bigpond.net.au>
281
282         * config/rs6000/rs6000.c (rs6000_emit_stack_reset): Delete redundant
283         rs6000_emit_stack_tie.
284
285 2009-03-31  Ian Lance Taylor  <iant@google.com>
286
287         * tree-eh.c (tree_remove_unreachable_handlers): Compare
288         gimple_code with GIMPLE_RESX, not RESX.
289
290 2009-03-31  Joseph Myers  <joseph@codesourcery.com>
291
292         * c-common.c (c_get_ident): New.
293         (c_common_nodes_and_builtins): Call it for type names that may be
294         NULL.
295
296 2009-04-01  Ben Elliston  <bje@au.ibm.com>
297
298         * config/rs6000/sysv4.opt (msdata): Improve option description.
299
300 2009-03-31  Steve Ellcey  <sje@cup.hp.com>
301
302         * config/ia64/ia64.md (divsf3_internal_lat): Remove.
303         (divdf3_internal_lat): Remove.
304         (divxf3_internal_lat): Remove.
305         (divxf3_internal_thr): Remove.
306         (divxf): Use divxf3_internal.
307         * config/ia64/div.md (divsf3_internal_lat): New.
308         (divdf3_internal_lat): New.
309         (divxf3_internal): New.
310
311 2009-03-31  Joseph Myers  <joseph@codesourcery.com>
312
313         PR c/448
314         * Makefile.in (USE_GCC_STDINT): Define.
315         (stmp-int-hdrs): Install stdint.h if applicable.
316         * c-common.c (CHAR16_TYPE): Define in terms of UINT_LEAST16_TYPE
317         if known.
318         (CHAR32_TYPE): Define in terms of UINT_LEAST32_TYPE if known.
319         (SIG_ATOMIC_TYPE, INT8_TYPE, INT16_TYPE, INT32_TYPE, INT64_TYPE,
320         UINT8_TYPE, UINT16_TYPE, UINT32_TYPE, UINT64_TYPE,
321         INT_LEAST8_TYPE, INT_LEAST16_TYPE, INT_LEAST32_TYPE,
322         INT_LEAST64_TYPE, UINT_LEAST8_TYPE, UINT_LEAST16_TYPE,
323         UINT_LEAST32_TYPE, UINT_LEAST64_TYPE, INT_FAST8_TYPE,
324         INT_FAST16_TYPE, INT_FAST32_TYPE, INT_FAST64_TYPE,
325         UINT_FAST8_TYPE, UINT_FAST16_TYPE, UINT_FAST32_TYPE,
326         UINT_FAST64_TYPE, INTPTR_TYPE, UINTPTR_TYPE): Define.
327         (c_common_nodes_and_builtins): Initialize
328         underlying_wchar_type_node.  Do not initialize
329         signed_wchar_type_node or unsigned_wchar_type_node.  Initialize
330         nodes for new types.
331         (c_stddef_cpp_builtins): Define macros for new types.
332         * c-common.h (CTI_SIGNED_WCHAR_TYPE, CTI_UNSIGNED_WCHAR_TYPE):
333         Remove.
334         (CTI_UNDERLYING_WCHAR_TYPE, CTI_SIG_ATOMIC_TYPE, CTI_INT8_TYPE,
335         CTI_INT16_TYPE, CTI_INT32_TYPE, CTI_INT64_TYPE, CTI_UINT8_TYPE,
336         CTI_UINT16_TYPE, CTI_UINT32_TYPE, CTI_UINT64_TYPE,
337         CTI_INT_LEAST8_TYPE, CTI_INT_LEAST16_TYPE, CTI_INT_LEAST32_TYPE,
338         CTI_INT_LEAST64_TYPE, CTI_UINT_LEAST8_TYPE, CTI_UINT_LEAST16_TYPE,
339         CTI_UINT_LEAST32_TYPE, CTI_UINT_LEAST64_TYPE, CTI_INT_FAST8_TYPE,
340         CTI_INT_FAST16_TYPE, CTI_INT_FAST32_TYPE, CTI_INT_FAST64_TYPE,
341         CTI_UINT_FAST8_TYPE, CTI_UINT_FAST16_TYPE, CTI_UINT_FAST32_TYPE,
342         CTI_UINT_FAST64_TYPE, CTI_INTPTR_TYPE, CTI_UINTPTR_TYPE): Define.
343         (signed_wchar_type_node, unsigned_wchar_type_node): Remove.
344         (underlying_wchar_type_node, sig_atomic_type_node, int8_type_node,
345         int16_type_node, int32_type_node, int64_type_node,
346         uint8_type_node, uint16_type_node, c_uint32_type_node,
347         c_uint64_type_node, int_least8_type_node, int_least16_type_node,
348         int_least32_type_node, int_least64_type_node,
349         uint_least8_type_node, uint_least16_type_node,
350         uint_least32_type_node, uint_least64_type_node,
351         int_fast8_type_node, int_fast16_type_node, int_fast32_type_node,
352         int_fast64_type_node, uint_fast8_type_node, uint_fast16_type_node,
353         uint_fast32_type_node, uint_fast64_type_node, intptr_type_node,
354         uintptr_type_node): Define.
355         * c-cppbuiltin.c (builtin_define_constants,
356         builtin_define_type_minmax): New.
357         (builtin_define_stdint_macros): Define more macros.
358         (c_cpp_builtins): Define more limit macros.
359         (type_suffix): New.
360         (builtin_define_type_max): Define in terms of
361         builtin_define_type_minmax.  Remove is_long parameter.  All
362         callers changed.
363         * config.gcc (use_gcc_stdint): Define.
364         (tm_file): Add glibc-stdint.h for targets using glibc or uClibc.
365         Add newlib-stdint.h for generic targets.
366         * config/glibc-stdint.h, config/newlib-stdint.h,
367         ginclude/stdint-gcc.h, ginclude/stdint-wrap.h: New.
368         * config/m32c/m32c.h (UINTPTR_TYPE): Define.
369         * config/score/score.h (UINTPTR_TYPE): Define.
370         * config/sol2.h (SIG_ATOMIC_TYPE, INT8_TYPE, INT16_TYPE,
371         INT32_TYPE, INT64_TYPE, UINT8_TYPE, UINT16_TYPE, UINT32_TYPE,
372         UINT64_TYPE, INT_LEAST8_TYPE, INT_LEAST16_TYPE, INT_LEAST32_TYPE,
373         INT_LEAST64_TYPE, UINT_LEAST8_TYPE, UINT_LEAST16_TYPE,
374         UINT_LEAST32_TYPE, UINT_LEAST64_TYPE, INT_FAST8_TYPE,
375         INT_FAST16_TYPE, INT_FAST32_TYPE, INT_FAST64_TYPE,
376         UINT_FAST8_TYPE, UINT_FAST16_TYPE, UINT_FAST32_TYPE,
377         UINT_FAST64_TYPE, INTPTR_TYPE, UINTPTR_TYPE): Define.
378         * config/spu/spu.h (STDINT_LONG32): Define.
379         * configure.ac (use_gcc_stdint): Substitute.
380         * configure: Regenerate.
381         * doc/cpp.texi (__SIG_ATOMIC_TYPE__, __INT8_TYPE__,
382         __INT16_TYPE__, __INT32_TYPE__, __INT64_TYPE__, __UINT8_TYPE__,
383         __UINT16_TYPE__, __UINT32_TYPE__, __UINT64_TYPE__,
384         __INT_LEAST8_TYPE__, __INT_LEAST16_TYPE__, __INT_LEAST32_TYPE__,
385         __INT_LEAST64_TYPE__, __UINT_LEAST8_TYPE__, __UINT_LEAST16_TYPE__,
386         __UINT_LEAST32_TYPE_, __UINT_LEAST64_TYPE__, __INT_FAST8_TYPE__,
387         __INT_FAST16_TYPE__, __INT_FAST32_TYPE__, __INT_FAST64_TYPE__,
388         __UINT_FAST8_TYPE__, __UINT_FAST16_TYPE__, __UINT_FAST32_TYPE__,
389         __UINT_FAST64_TYPE__, __INTPTR_TYPE__, __UINTPTR_TYPE__,
390         __WINT_MAX__, __SIZE_MAX__, __PTRDIFF_MAX__, __UINTMAX_MAX__,
391         __SIG_ATOMIC_MAX__, __INT8_MAX__, __INT16_MAX__, __INT32_MAX__,
392         __INT64_MAX__, __UINT8_MAX__, __UINT16_MAX__, __UINT32_MAX__,
393         __UINT64_MAX__, __INT_LEAST8_MAX__, __INT_LEAST16_MAX__,
394         __INT_LEAST32_MAX__, __INT_LEAST64_MAX__, __UINT_LEAST8_MAX__,
395         __UINT_LEAST16_MAX__, __UINT_LEAST32_MAX__, __UINT_LEAST64_MAX__,
396         __INT_FAST8_MAX__, __INT_FAST16_MAX__, __INT_FAST32_MAX__,
397         __INT_FAST64_MAX__, __UINT_FAST8_MAX__, __UINT_FAST16_MAX__,
398         __UINT_FAST32_MAX__, __UINT_FAST64_MAX__, __INTPTR_MAX__,
399         __UINTPTR_MAX__, __WCHAR_MIN__, __WINT_MIN__, __SIG_ATOMIC_MIN__,
400         __INT8_C, __INT16_C, __INT32_C, __INT64_C, __UINT8_C, __UINT16_C,
401         __UINT32_C, __UINT64_C, __INTMAX_C, __UINTMAX_C): Document.
402         * doc/tm.texi (SIG_ATOMIC_TYPE, INT8_TYPE, INT16_TYPE, INT32_TYPE,
403         INT64_TYPE, UINT8_TYPE, UINT16_TYPE, UINT32_TYPE, UINT64_TYPE,
404         INT_LEAST8_TYPE, INT_LEAST16_TYPE, INT_LEAST32_TYPE,
405         INT_LEAST64_TYPE, UINT_LEAST8_TYPE, UINT_LEAST16_TYPE,
406         UINT_LEAST32_TYPE, UINT_LEAST64_TYPE, INT_FAST8_TYPE,
407         INT_FAST16_TYPE, INT_FAST32_TYPE, INT_FAST64_TYPE,
408         UINT_FAST8_TYPE, UINT_FAST16_TYPE, UINT_FAST32_TYPE,
409         UINT_FAST64_TYPE, INTPTR_TYPE, UINTPTR_TYPE): Document.
410
411 2009-03-31  Bernd Schmidt  <bernd.schmidt@analog.com>
412
413         * loop-iv.c (suitable_set_for_replacement): Renamed from
414         simplify_using_assignment; changed to return bool and to accept new
415         args DEST and SRC.  Return true iff we find a source/destination pair
416         that can be used to make a replacement, and fill SRC and DEST if so.
417         Remove arg ALTERED.  Don't deal with altered regs here.  All callers
418         changed.
419         (simplify_using_initial_values): Deal with altered regs here and track
420         more precisely the effect they have on the validity of our expression.
421
422         * loop-iv.c (simplify_using_condition): A condition of the form
423         (EQ REG CONST) can be used to simply make a substitution.
424         (simplify_using_initial_values): Keep track of conditions we have seen
425         and keep using them to simplify new expressions, while applying the
426         same substitutions to them as to the expression.
427
428         * simplify-rtx.c (simplify_relational_operation_1): Simplify
429         (LTU (PLUS a C) C) or (LTU (PLUS a C) a) to (GEU a -C); likewise with
430         GEU/LTU reversed.
431
432         * loop-iv.c (determine_max_iter): New arg OLD_NITER.  All callers
433         changed.  Use this when trying to improve the upper bound.
434         Generate the comparison by using simplify_gen_relational.
435
436         * loop-iv.c (simple_rhs_p): Allow more kinds of expressions.
437
438         * loop-iv.c (replace_single_def_regs, replace_in_expr): New static
439         functions.
440         (simplify_using_assignment, simplify_using_initial_values): Call 
441         replace_in_expr to make replacements.  Call replace_single_def_regs
442         once on the initial version of the expression.
443
444 2009-03-31  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
445
446         PR target/27237
447         * doc/invoke.texi (ARM Options): Update documentation for -mthumb.
448         
449 2009-03-31  Richard Guenther  <rguenther@suse.de>
450
451         PR middle-end/31029
452         * fold-const.c (fold_binary): Fold X +- Y CMP X to Y CMP 0 for
453         equality comparisons.  Fold C - X CMP X if C % 2 == 1.
454
455 2009-03-31  Richard Guenther  <rguenther@suse.de>
456
457         * tree.h (div_if_zero_remainder): Declare.
458         * fold-const.c (div_if_zero_remainder): Export.
459         * tree-ssa-forwprop.c
460         (forward_propagate_addr_into_variable_array_index): Handle
461         constant array index addition outside of the variable index.
462
463 2009-03-31  Joseph Myers  <joseph@codesourcery.com>
464
465         PR target/39592
466         * config/i386/i386.md (*floatunssi<mode>2_1, two unnamed
467         define_splits, floatunssi<mode>2): Require x87 conversions from
468         DImode to be permitted.
469
470 2009-03-31  Joseph Myers  <joseph@codesourcery.com>
471
472         PR preprocessor/15638
473         * c-common.c (c_cpp_error): Handle CPP_DL_FATAL.
474
475 2009-03-31  Richard Guenther  <rguenther@suse.de>
476
477         PR middle-end/23401
478         PR middle-end/27810
479         * tree.h (DECL_GIMPLE_FORMAL_TEMP_P): Remove.
480         (struct tree_decl_with_vis): Remove gimple_formal_temp member.
481         * tree-eh.c (lower_eh_constructs_2): Move LHS assignment to
482         a separate statement.
483         * gimplify.c (pop_gimplify_context): Remove formal temp handling.
484         (lookup_tmp_var): Likewise.
485         (is_gimple_formal_tmp_or_call_rhs): Remove.
486         (is_gimple_reg_or_call_rhs): Rename to ...
487         (is_gimple_reg_rhs_or_call): ... this.
488         (is_gimple_mem_or_call_rhs): Rename to ...
489         (is_gimple_mem_rhs_or_call): ... this.
490         (internal_get_tmp_var): Use is_gimple_reg_rhs_or_call.  Set
491         DECL_GIMPLE_REG_P only if is_formal is true.
492         (gimplify_compound_lval): Use is_gimple_reg.  Remove workaround
493         for non-proper post-modify expression gimplification.
494         (gimplify_self_mod_expr): For post-modify expressions gimplify
495         the lvalue to a minimal lvalue.
496         (rhs_predicate_for): Remove formal temp case.
497         (gimplify_modify_expr_rhs): Likewise.
498         (gimplify_addr_expr): Use is_gimple_reg.
499         (gimplify_expr): Remove formal temp cases.
500         (gimple_regimplify_operands): Likewise.
501         * tree-ssa-pre.c (get_or_alloc_expr_for): Treat EXC_PTR_EXPR
502         and FILTER_EXPR like constants.
503         * gimple.c (walk_gimple_op): Fix val_only initialization, use
504         is_gimple_reg.
505         (is_gimple_formal_tmp_rhs): Remove.
506         (is_gimple_reg_rhs): Remove special casing.
507         (is_gimple_mem_rhs): Fix.
508         (is_gimple_reg): Move DECL_GIMPLE_REG_P handling earlier.
509         (is_gimple_formal_tmp_var): Remove.
510         (is_gimple_formal_tmp_reg): Likewise.
511         (is_gimple_min_lval): Allow invariant component ref parts.
512         * gimple.h (is_gimple_formal_tmp_rhs, is_gimple_formal_tmp_var,
513         is_gimple_formal_tmp_reg): Remove declarations.
514         * tree-cfg.c (verify_expr): Verify that variables with address
515         taken do not have DECL_GIMPLE_REG_P set.
516         * tree-mudflap.c (mf_build_check_statement_for): Use
517         force_gimple_operand instead of gimplify_expr.
518
519 2009-03-31  Ayal Zaks  <zaks@il.ibm.com>
520
521         * modulo-sched.c (sms_schedule_by_order): Pass the actual
522         schedulable rows to compute_split_row.
523
524 2009-03-31  Ben Elliston  <bje@au.ibm.com>
525
526         PR target/31635
527         * config/rs6000/rs6000.c (rs6000_handle_option): Handle
528         OPT_mvrsave.
529
530 2009-03-31  Alan Modra  <amodra@bigpond.net.au>
531
532         * doc/invoke.texi (RS/6000 and PowerPC Options):Document mtls-markers.
533         * configure.ac (HAVE_AS_TLS_MARKERS): New gas feature check.
534         * configure: Regenerate.
535         * config.in: Regenerate.
536         * config/rs6000/rs6000.opt (mtls-markers): Add.
537         * config/rs6000/rs6000.h (TARGET_TLS_MARKERS): Define.
538         * config/rs6000/rs6000.md (tls_gd_aix, tls_gd_sysv): Add splitter.
539         (tls_ld_aix, tls_ld_sysv): Likewise.
540         (tls_gd, tls_gd_call_aix, tls_gd_call_sysv): New insns.
541         (tls_ld, tls_ld_call_aix, tls_ld_call_sysv): Likewise.
542
543 2009-03-31  Alan Modra  <amodra@bigpond.net.au>
544
545         * config/spu/spu.c (spu_expand_prologue): Delete redundant code.
546
547 2009-03-30  Jan Hubicka  <jh@suse.cz>
548
549         * tree-eh.c (make_eh_edges): Set probability 100% to first edge
550         out of RESX.
551         (tree_remove_unreachable_handlers): Cleanup EH predecestor
552         detection and label handling.
553
554 2009-03-30  Vladimir Makarov  <vmakarov@redhat.com>
555
556         * ira-int.h (ira_allocno): Rename left_conflicts_num to
557         left_conflicts_size.
558         (ALLOCNO_LEFT_CONFLICTS_NUM): Rename to
559         ALLOCNO_LEFT_CONFLICTS_SIZE.
560
561         * ira-color.c (allocno_spill_priority, push_allocno_to_stack,
562         remove_allocno_from_bucket_and_push,
563         allocno_spill_priority_compare, push_allocnos_to_stack,
564         setup_allocno_available_regs_num): Use ALLOCNO_LEFT_CONFLICTS_SIZE
565         instead of ALLOCNO_LEFT_CONFLICTS_NUM.
566         (setup_allocno_left_conflicts_num): Ditto.  Rename to
567         setup_allocno_left_conflicts_size.
568         (put_allocno_into_bucket): Use ALLOCNO_LEFT_CONFLICTS_SIZE
569         instead of ALLOCNO_LEFT_CONFLICTS_NUM and
570         setup_allocno_left_conflicts_size instead of
571         setup_allocno_left_conflicts_num.
572
573         * ira-build.c (ira_create_allocno): Use
574         ALLOCNO_LEFT_CONFLICTS_SIZE instead of
575         ALLOCNO_LEFT_CONFLICTS_NUM.
576                 
577 2009-03-30  Vladimir Makarov  <vmakarov@redhat.com>
578
579         * reload.c (push_reload, find_dummy_reload): Use df_get_live_out
580         instead of DF_LR_OUT.
581
582         * ira-lives.c (process_bb_node_lives): Ditto.
583
584         * ira-color.c (ira_loop_edge_freq): Use df_get_live_{out,in}
585         instead of DF_LR_{OUT,IN}.
586
587         * ira-emit.c (generate_edge_moves, add_ranges_and_copies): Ditto.
588
589         * ira-build.c (create_bb_allocnos, create_loop_allocnos): Ditto.
590
591 2009-03-30  Jan Hubicka  <jh@suse.cz>
592
593         * except.c (label_to_region_map): Fix thinko.
594
595 2009-03-30  Steve Ellcey  <sje@cup.hp.com>
596
597         PR middle-end/38237
598         * tree.h (tree_find_value): New declaration.
599         * tree.c (tree_find_value): New function.
600         * varasm.c (assemble_external): Avoid duplicate entries on lists.
601
602 2009-03-30  Jakub Jelinek  <jakub@redhat.com>
603
604         PR debug/39563
605         * c-decl.c (struct c_binding): Add locus field.
606         (bind): Add locus argument, set locus field from it.
607         (pop_scope): For b->nested VAR_DECL or FUNCTION_DECL,
608         add a DECL_EXTERNAL copy of b->decl to current BLOCK_VARS.
609         (push_file_scope, pushtag, pushdecl, pushdecl_top_level,
610         implicitly_declare, undeclared_variable, lookup_label,
611         declare_label, c_make_fname_decl, c_builtin_function,
612         c_builtin_function_ext_scope, store_parm_decls_newstyle): Adjust
613         bind callers.
614
615 2008-03-30  H.J. Lu  <hongjiu.lu@intel.com>
616
617         PR target/38781
618         * config/i386/i386.c (classify_argument): Check total size of
619         structure.
620
621 2009-03-30  Martin Jambor  <mjambor@suse.cz>
622
623         * ipa-prop.h (jump_func_type): Rename IPA_UNKNOWN, IPA_CONST,
624         IPA_CONST_MEMBER_PTR, and IPA_PASS_THROUGH to IPA_JF_UNKNOWN,
625         IPA_JF_CONST, IPA_JF_CONST_MEMBER_PTR, and IPA_JF_PASS_THROUGH
626         respectively.
627
628         * tree-dfa.c (get_ref_base_and_extent): Return -1 maxsize if
629         seen_variable_array_ref while also traversing a union.
630
631         * tree-inline.c (optimize_inline_calls): Do not call
632         cgraph_node_remove_callees.
633         * cgraphbuild.c (remove_cgraph_callee_edges): New function.
634         (pass_remove_cgraph_callee_edges): New variable.
635         * passes.c (init_optimization_passes): Add
636         pass_remove_cgraph_callee_edges after early inlining and before all
637         late intraprocedural passes.
638
639         * omp-low.c (expand_omp_taskreg): Always set current_function_decl.
640
641 2009-03-30  Paolo Bonzini  <bonzini@gnu.org>
642
643         * config/sparc/sparc.md (*nand<V64mode>_vis, *nand<V32mode>_vis):
644         Fix typos in names.
645
646 2009-03-30  Paolo Bonzini  <bonzini@gnu.org>
647
648         * combine.c (simplify_comparison): Use have_insn_for.
649         * dojump.c (do_jump): Likewise.
650
651 2009-03-30  Paolo Bonzini  <bonzini@gnu.org>
652
653         * config/sparc/sparc.c (sparc_compare_emitted): Remove.
654         (gen_compare_reg, emit_v9_brxx_insn): Handle MODE_CC
655         sparc_compare_op0 like sparc_compare_emitted used to be handled.
656         (sparc_expand_compare_and_swap_12): Set sparc_compare_op0
657         instead of sparc_compare_emitted.
658         * config/sparc/sparc.h (sparc_compare_emitted): Remove.
659         * config/sparc/sparc.md (stack_protect_test): Set sparc_compare_op0
660         instead of sparc_compare_emitted.
661
662 2009-03-30  Paolo Bonzini  <bonzini@gnu.org>
663
664         * bb-reorder.c (partition_hot_cold_basic_blocks): Do not
665         enter/exit cfglayout mode.
666         (pass_partition_block): Require it.
667         * combine.c (find_single_use, reg_dead_at_p): Use CFG.
668         (combine_instructions): Track basic blocks instead of labels.
669         (update_cfg_for_uncondjump): New.
670         (try_combine): Use it.  Update jumps after rescanning.
671         (pass_combine): Require PROP_cfglayout.
672         * passes.c (pass_outof_cfg_layout_mode): Move after regmove.
673
674 2009-03-30  Paolo Bonzini  <bonzini@gnu.org>
675
676         * cfglayout.c (pass_into_cfg_layout_mode, pass_outof_cfg_layout_mode):
677         Provide/destroy PROP_cfglayout respectively.
678         * gcse.c (pass_jump_bypass, pass_gcse): Require it.
679         * tree-pass.h (PROP_cfglayout): New.
680
681 2009-03-30  Paolo Bonzini  <bonzini@gnu.org>
682
683         * fold-const.c (const_binop, fold_convert_const_real_from_fixed,
684         fold_convert_const_fixed_from_fixed,
685         fold_convert_const_fixed_from_int,
686         fold_convert_const_fixed_from_real, fold_negate_const): Do not
687         set TREE_CONSTANT_OVERFLOW.
688         * tree.def: Remove mention of TREE_CONSTANT_OVERFLOW.
689         * tree.h (TREE_CONSTANT_OVERFLOW): Delete.
690
691 2009-03-30  Ira Rosen  <irar@il.ibm.com>
692
693         * tree-vect-loop-manip.c: New file.
694         * tree-vectorizer.c: Update documentation and included files.
695         (vect_loop_location): Make extern.
696         (rename_use_op): Move to tree-vect-loop-manip.c
697         (rename_variables_in_bb, rename_variables_in_loop, 
698         slpeel_update_phis_for_duplicate_loop, 
699         slpeel_update_phi_nodes_for_guard1,
700         slpeel_update_phi_nodes_for_guard2, slpeel_make_loop_iterate_ntimes,
701         slpeel_tree_duplicate_loop_to_edge_cfg, slpeel_add_loop_guard,
702         slpeel_can_duplicate_loop_p, slpeel_verify_cfg_after_peeling,
703         set_prologue_iterations, slpeel_tree_peel_loop_to_edge, 
704         find_loop_location): Likewise.
705         (new_stmt_vec_info): Move to tree-vect-stmts.c.
706         (init_stmt_vec_info_vec, free_stmt_vec_info_vec, free_stmt_vec_info,
707         get_vectype_for_scalar_type, vect_is_simple_use,
708         supportable_widening_operation, supportable_narrowing_operation):
709         Likewise.
710         (bb_in_loop_p): Move to tree-vect-loop.c.
711         (new_loop_vec_info, destroy_loop_vec_info, 
712         reduction_code_for_scalar_code, report_vect_op, 
713         vect_is_simple_reduction, vect_is_simple_iv_evolution): Likewise.
714         (vect_can_force_dr_alignment_p): Move to tree-vect-data-refs.c.
715         (vect_supportable_dr_alignment): Likewise.
716         * tree-vectorizer.h (tree-data-ref.h): Include.
717         (vect_loop_location): Declare.
718         Reorganize function declarations according to the new file structure.
719         * tree-vect-loop.c: New file.
720         * tree-vect-analyze.c: Remove. Move functions to tree-vect-data-refs.c, 
721         tree-vect-stmts.c, tree-vect-slp.c, tree-vect-loop.c.
722         * tree-vect-data-refs.c: New file.
723         * tree-vect-patterns.c (timevar.h): Don't include.
724         * tree-vect-stmts.c: New file.
725         * tree-vect-transform.c: Remove. Move functions to tree-vect-stmts.c, 
726         tree-vect-slp.c, tree-vect-loop.c.
727         * Makefile.in (OBJS-common): Remove tree-vect-analyze.o and 
728         tree-vect-transform.o. Add tree-vect-data-refs.o, tree-vect-stmts.o, 
729         tree-vect-loop.o, tree-vect-loop-manip.o, tree-vect-slp.o.
730         (tree-vect-analyze.o): Remove.
731         (tree-vect-transform.o): Likewise.
732         (tree-vect-data-refs.o): Add rule.
733         (tree-vect-stmts.o, tree-vect-loop.o, tree-vect-loop-manip.o, 
734         tree-vect-slp.o): Likewise.
735         (tree-vect-patterns.o): Remove redundant dependencies.
736         (tree-vectorizer.o): Likewise.
737         * tree-vect-slp.c: New file.
738
739 2009-03-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
740
741         * optc-gen.awk: Warn if an option flag has multiple different
742         help strings.
743
744 2009-03-30  Sebastian Pop  <sebastian.pop@amd.com>
745
746         * doc/invoke.texi (-floop-interchange, -floop-strip-mine,
747         -floop-block): Document dependences on PPL, CLooG and Graphite.
748
749 2009-03-30  Joseph Myers  <joseph@codesourcery.com>
750
751         PR rtl-optimization/323
752         * c-common.c (c_fully_fold, convert_and_check,
753         c_common_truthvalue_conversion): Handle EXCESS_PRECISION_EXPR.
754         (c_fully_fold_internal): Disallow EXCESS_PRECISION_EXPR.
755         * c-common.def (EXCESS_PRECISION_EXPR): New.
756         * c-cppbuiltin.c (builtin_define_float_constants): Define
757         constants with enough digits for long double.
758         * c-lex.c (interpret_float): Interpret constant with excess
759         precision where appropriate.
760         * c-opts.c (c_common_post_options): Set
761         flag_excess_precision_cmdline.  Give an error for
762         -fexcess-precision=standard for C++ for processors where the
763         option is significant.
764         * c-parser.c (c_parser_conditional_expression): Handle excess
765         precision in condition.
766         * c-typeck.c (convert_arguments): Handle arguments with excess
767         precision.
768         (build_unary_op): Move excess precision outside operation.
769         (build_conditional_expr): Likewise.
770         (build_compound_expr): Likewise.
771         (build_c_cast): Do cast on operand of EXCESS_PRECISION_EXPR.
772         (build_modify_expr): Handle excess precision in RHS.
773         (convert_for_assignment): Handle excess precision in converted
774         value.
775         (digest_init, output_init_element, process_init_element): Handle
776         excess precision in initializer.
777         (c_finish_return): Handle excess precision in return value.
778         (build_binary_op): Handle excess precision in operands and add
779         excess precision as needed for operation.
780         * common.opt (-fexcess-precision=): New option.
781         * config/i386/i386.h (X87_ENABLE_ARITH, X87_ENABLE_FLOAT): New.
782         * config/i386/i386.md (float<SSEMODEI24:mode><X87MODEF:mode>2):
783         For standard excess precision, output explicit conversion to and
784         truncation from XFmode.
785         (*float<SSEMODEI24:mode><X87MODEF:mode>2_1,
786         *float<SSEMODEI24:mode><X87MODEF:mode>2_i387_with_temp,
787         *float<SSEMODEI24:mode><X87MODEF:mode>2_i387, two unnamed
788         define_splits, floatdi<X87MODEF:mode>2_i387_with_xmm, two unnamed
789         define_splits, *floatunssi<mode>2_1, two unnamed define_splits,
790         floatunssi<mode>2, add<mode>3, sub<mode>3, mul<mode>3, divdf3,
791         divsf3, *fop_<mode>_comm_i387, *fop_<mode>_1_i387,
792         *fop_<MODEF:mode>_2_i387, *fop_<MODEF:mode>_3_i387,
793         *fop_df_4_i387, *fop_df_5_i387, *fop_df_6_i387, two unnamed
794         define_splits, sqrt<mode>2): Disable where appropriate for
795         standard excess precision.
796         * convert.c (convert_to_real): Do not shorten arithmetic to type
797         for which excess precision would be used.
798         * defaults.h (TARGET_FLT_EVAL_METHOD_NON_DEFAULT): Define.
799         * doc/invoke.texi (-fexcess-precision=): Document option.
800         (-mfpmath=): Correct index entry.
801         * flags.h (enum excess_precision, flag_excess_precision_cmdline,
802         flag_excess_precision): New.
803         * langhooks.c (lhd_post_options): Set
804         flag_excess_precision_cmdline.
805         * opts.c (common_handle_option): Handle -fexcess-precision=.
806         * toplev.c (flag_excess_precision_cmdline, flag_excess_precision,
807         init_excess_precision): New.
808         (lang_dependent_init_target): Call init_excess_precision.
809         * tree.c (excess_precision_type): New.
810         * tree.h (excess_precision_type): Declare.
811
812 2009-03-30  Joseph Myers  <joseph@codesourcery.com>
813
814         PR c/35235
815         * c-typeck.c (build_component_ref): Do not copy qualifiers from
816         non-lvalue to component.
817
818 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
819
820         PR preprocessor/34695
821         * Makefile.in (c-opts.o): Depend on c-tree.h.
822         * c-common.c: Move down include of diagnostic.h.
823         (done_lexing, c_cpp_error): New.
824         * c-common.h (done_lexing): Declare.
825         * c-decl.c (c_write_global_declarations): Don't check cpp_errors
826         (parse_in).
827         * c-opts.c: Include c-tree.h.
828         (c_common_init_options): Set preprocessor error callback.
829         (c_common_handle_option): Do not set preprocessor
830         inhibit_warnings, warnings_are_errors, warn_system_headers,
831         pedantic_errors or inhibit_warnings flags.
832         (c_common_post_options): Do not check cpp_errors (parse_in).
833         (c_common_finish): Do not output dependencies if there were
834         errors.  Do not check return value of cpp_finish.
835         * c-ppoutput.c (pp_file_change): Set input_location.
836         * c-tree.h (c_cpp_error): Declare.
837         * diagnostic.c (diagnostic_set_info_translated): Also initialize
838         override_column.
839         (diagnostic_build_prefix): Check override_column.
840         * diagnostic.h (diagnostic_info): Add override_column field.
841         (diagnostic_override_column): Define.
842
843 2009-03-28  Paolo Bonzini  <bonzini@gnu.org>
844
845         * c-common.c (c_expand_expr, c_staticp): Remove.
846         * c-common.def (COMPOUND_LITERAL_EXPR): Delete.
847         * c-common.h (emit_local_var, c_staticp, COMPOUND_LITERAL_EXPR_DECL,
848         COMPOUND_LITERAL_EXPR_DECL_EXPR): Remove.
849         * c-gimplify.c (gimplify_compound_literal_expr,
850         optimize_compound_literals_in_ctor): Remove.
851         (c_gimplify_expr): Remove COMPOUND_LITERAL_EXPR handling.
852         * c-objc-common.h (LANG_HOOKS_STATICP): Remove.
853         * c-semantics.c (emit_local_var): Remove.
854
855         * langhooks-def.h (lhd_expand_expr): Remove.
856         * langhooks.c (lhd_expand_expr): Remove.
857         * langhooks.h (LANG_HOOKS_DEF): Remove LANG_HOOKS_EXPAND_EXPR.
858
859         * expr.c (expand_expr_real_1): Move COMPOUND_LITERAL_EXPR
860         handling from c-semantics.c; don't call into langhook.
861         (expand_expr_addr_expr_1): Check that we don't get non-GENERIC trees.
862         * gimplify.c (gimplify_compound_literal_expr,
863         optimize_compound_literals_in_ctor): Move from c-gimplify.c.
864         (gimplify_init_constructor): Call optimize_compound_literals_in_ctor.
865         (gimplify_modify_expr_rhs, gimplify_expr): Handle COMPOUND_LITERAL_EXPR
866         as was done in c-gimplify.c.
867         * tree.c (staticp): Move COMPOUND_LITERAL_EXPR handling from c_staticp.
868         * tree.h (COMPOUND_LITERAL_EXPR_DECL, COMPOUND_LITERAL_EXPR_DECL_EXPR):
869         Move from c-common.h.
870         * tree.def (COMPOUND_LITERAL_EXPR): Move from c-common.def.
871
872         * tree.c (staticp): Do not call langhook.
873         * langhooks.c (lhd_staticp): Delete.
874         * langhooks-def.h (lhd_staticp): Delete prototype.
875         (LANG_HOOKS_STATICP): Delete.
876         (LANG_HOOKS_INITIALIZER): Delete LANG_HOOKS_STATICP.
877
878         * doc/c-tree.texi (Expression nodes): Refer to DECL_EXPRs
879         instead of DECL_STMTs.
880
881 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
882
883         PR c/456
884         PR c/5675
885         PR c/19976
886         PR c/29116
887         PR c/31871
888         PR c/35198
889         * builtins.c (fold_builtin_sincos): Build COMPOUND_EXPR in
890         void_type_node.
891         (fold_call_expr): Return a NOP_EXPR from folding rather than the
892         contained expression.
893         * c-common.c (c_fully_fold, c_fully_fold_internal, c_save_expr): New.
894         (c_common_truthvalue_conversion): Use c_save_expr.  Do not fold
895         conditional expressions for C.
896         (decl_constant_value_for_optimization): Move from
897         decl_constant_value_for_broken_optimization in c-typeck.c.  Check
898         whether optimizing and that the expression is a VAR_DECL not of
899         array type instead of doing such checks in the caller.  Do not
900         check pedantic.  Call gcc_unreachable for C++.
901         * c-common.def (C_MAYBE_CONST_EXPR): New.
902         * c-common.h (c_fully_fold, c_save_expr,
903         decl_constant_value_for_optimization): New prototypes.
904         (C_MAYBE_CONST_EXPR_PRE, C_MAYBE_CONST_EXPR_EXPR,
905         C_MAYBE_CONST_EXPR_INT_OPERANDS, C_MAYBE_CONST_EXPR_NON_CONST,
906         EXPR_INT_CONST_OPERANDS): Define.
907         * c-convert.c (convert): Strip nops from expression.
908         * c-decl.c (groktypename): Take extra parameters expr and
909         expr_const_operands.  Update call to grokdeclarator.
910         (start_decl): Update call to grokdeclarator.  Add statement for
911         expressions used in type of decl.
912         (grokparm): Update call to grokdeclarator.
913         (push_parm_decl): Update call to grokdeclarator.
914         (build_compound_literal): Add parameter non_const and build a
915         C_MAYBE_COSNT_EXPR if applicable.
916         (grokdeclarator): Take extra parameters expr and
917         expr_const_operands.  Track expressions used in declaration
918         specifiers and declarators.  Fold array sizes and track whether
919         they are constant expressions and whether they are integer
920         constant expressions.
921         (parser_xref_tag): Set expr and expr_const_operands fields in
922         return value.
923         (grokfield): Update call to grokdeclarator.
924         (start_function): Update call to grokdeclarator.
925         (build_null_declspecs): Set expr and expr_const_operands fields in
926         return value.
927         (declspecs_add_type): Handle expressions in typeof specifiers.
928         * c-parser.c (c_parser_declspecs): Set expr and
929         expr_const_operands fields for declaration specifiers.
930         (c_parser_enum_specifier): Likewise.
931         (c_parser_struct_or_union_specifier): Likewise.
932         (c_parser_typeof_specifier): Likewise.  Update call to
933         groktypename.  Fold expression as needed.  Return expressions with
934         type instead of adding statements.
935         (c_parser_attributes): Update calls to c_parser_expr_list.
936         (c_parser_statement_after_labels): Fold expression before passing
937         to objc_build_throw_stmt.
938         (c_parser_condition): Fold expression.
939         (c_parser_asm_operands): Fold expression.
940         (c_parser_conditional_expression): Use c_save_expr.  Update call
941         to build_conditional_expr.
942         (c_parser_alignof_expression): Update call to groktypename.
943         (c_parser_postfix_expression): Preserve C_MAYBE_CONST_EXPR as
944         original_code.  Fold expression argument of va_arg.  Create
945         C_MAYBE_CONST_EXPR to preserve side effects of expressions in type
946         argument to va_arg.  Update calls to groktypename.  Fold array
947         index for offsetof.  Verify that first argument to
948         __builtin_choose_expr has integer type.
949         (c_parser_postfix_expression_after_paren_type): Update calls to
950         groktypename and build_compound_literal.  Handle expressions with
951         side effects in type name.
952         (c_parser_postfix_expression_after_primary): Update call to
953         c_parser_expr_list.  Set original_code for calls to
954         __builtin_constant_p.
955         (c_parser_expr_list): Take extra parameter fold_p.  Fold
956         expressions if requested.
957         (c_parser_objc_type_name): Update call to groktypename.
958         (c_parser_objc_synchronized_statement): Fold expression.
959         (c_parser_objc_receiver): Fold expression.
960         (c_parser_objc_keywordexpr): Update call to c_parser_expr_list.
961         (c_parser_omp_clause_num_threads, c_parser_omp_clause_schedule,
962         c_parser_omp_atomic, c_parser_omp_for_loop): Fold expressions.
963         * c-tree.h (CONSTRUCTOR_NON_CONST): Define.
964         (struct c_typespec): Add elements expr and expr_const_operands.
965         (struct c_declspecs): Add elements expr and expr_const_operands.
966         (groktypename, build_conditional_expr, build_compound_literal):
967         Update prototypes.
968         (in_late_binary_op): Declare.
969         * c-typeck.c (note_integer_operands): New function.
970         (in_late_binary_op): New variable.
971         (decl_constant_value_for_broken_optimization): Move to c-common.c
972         and rename to decl_constant_value_for_optimization.
973         (default_function_array_conversion): Do not strip nops.
974         (default_conversion): Do not call
975         decl_constant_value_for_broken_optimization.
976         (build_array_ref): Do not fold result.
977         (c_expr_sizeof_expr): Fold operand.  Use C_MAYBE_CONST_EXPR for
978         result when operand is a VLA.
979         (c_expr_sizeof_type): Update call to groktypename.  Handle
980         expressions included in type name.  Use C_MAYBE_CONST_EXPR for
981         result when operand names a VLA type.
982         (build_function_call): Update call to build_compound_literal.
983         Only fold result for calls to __builtin_* functions.  Strip
984         NOP_EXPR from INTEGER_CST returned from such functions.  Fold
985         the function designator.
986         (convert_arguments): Fold arguments.  Update call to
987         convert_for_assignment.
988         (build_unary_op): Handle increment and decrement of
989         C_MAYBE_CONST_EXPR.  Move lvalue checks for increment and
990         decrement earlier.  Fold operand of increment and decrement.
991         Handle address of C_MAYBE_CONST_EXPR.  Only fold expression being
992         built for integer operand.  Wrap returns that are INTEGER_CSTs
993         without being integer constant expressions or that have integer
994         constant operands without being INTEGER_CSTs.
995         (lvalue_p): Handle C_MAYBE_CONST_EXPR.
996         (build_conditional_expr): Add operand ifexp_bcp.  Track whether
997         result is an integer constant expression or can be used in
998         unevaluated parts of one and avoid folding and wrap as
999         appropriate.  Fold operands before possibly doing -Wsign-compare
1000         warnings.
1001         (build_compound_expr): Wrap result for C99 if operands can be used
1002         in integer constant expressions.
1003         (build_c_cast): Update call to digest_init.  Do not ignore
1004         overflow from casting floating-point constants to integers.  Wrap
1005         results that could be confused with integer constant expressions,
1006         null pointer constants or floating-point constants.
1007         (c_cast_expr): Update call to groktypename.  Handle expressions
1008         included in type name.
1009         (build_modify_expr): Handle modifying a C_MAYBE_CONST_EXPR.  Fold
1010         lhs inside possible SAVE_EXPR.  Fold RHS before assignment.
1011         Update calls to convert_for_assignment.
1012         (convert_for_assignment): Take new parameter
1013         null_pointer_constant.  Do not strip nops or call
1014         decl_constant_value_for_broken_optimization.  Set
1015         in_late_binary_op for conversions to boolean.
1016         (store_init_value): Update call to digest_init.
1017         (digest_init): Take new parameter null_pointer_constant.  Do not
1018         call decl_constant_value_for_broken_optimization.  pedwarn for
1019         initializers not constant expressions.  Update calls to
1020         convert_for_assignment.
1021         (constructor_nonconst): New.
1022         (struct constructor_stack): Add nonconst element.
1023         (really_start_incremental_init, push_init_level, pop_init_level):
1024         Handle constructor_nonconst and nonconst element.
1025         (set_init_index): Call constant_expression_warning for array
1026         designators.
1027         (output_init_element): Fold value.  Set constructor_nonconst as
1028         applicable.  pedwarn for initializers not constant expressions.
1029         Update call to digest_init.  Call constant_expression_warning
1030         where constant initializers are required.
1031         (process_init_element): Use c_save_expr.
1032         (c_finish_goto_ptr): Fold expression.
1033         (c_finish_return): Fold return value.  Update call to
1034         convert_for_assignment.
1035         (c_start_case): Fold switch expression.
1036         (c_process_expr_stmt): Fold expression.
1037         (c_finish_stmt_expr): Create C_MAYBE_CONST_EXPR as needed to
1038         ensure statement expression is not evaluated in constant expression.
1039         (build_binary_op): Track whether results are integer constant
1040         expressions or may occur in such, disable folding and wrap results
1041         as applicable.  Fold operands for -Wsign-compare warnings unless
1042         in_late_binary_op.
1043         (c_objc_common_truthvalue_conversion): Handle results folded to
1044         integer constants that are not integer constant expressions.
1045         * doc/extend.texi: Document when typeof operands are evaluated,
1046         that condition of __builtin_choose_expr is an integer constant
1047         expression, and more about use of __builtin_constant_p in
1048         initializers.
1049
1050 2009-03-29  Richard Guenther  <rguenther@suse.de>
1051
1052         * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Properly
1053         propagate addresses of array references.
1054
1055 2009-03-29  Steven Bosscher  <steven@gcc.gnu.org>
1056
1057         * regmove.c (perhaps_ends_bb_p): Remove.
1058         (optimize_reg_copy_1): Don't call perhaps_ends_bb_p.  Get basic block
1059         from INSN and check that the main loop stays within that basic block.
1060         (optimize_reg_copy_1, optimize_reg_copy_3, fixup_match_2): Likewise.
1061         (regmove_forward_pass): Split out from regmove_optimize.  Use
1062         FOR_EACH_BB and FOR_BB_INSNS instead of traversing the insns stream.
1063         (regmove_backward_pass): Split out from regmove_optimize.  Use
1064         FOR_EACH_BB_REVERSE and FOR_BB_INSNS_REVERS_SAFE.
1065         (regmove_optimize): Simplify.
1066
1067 2009-03-29  H.J. Lu  <hongjiu.lu@intel.com>
1068
1069         PR target/39545
1070         * config/i386/i386.c (classify_argument): Ignore flexible array
1071         member in struct and warn ABI change.
1072
1073 2009-03-29  H.J. Lu  <hongjiu.lu@intel.com>
1074
1075         * config/i386/i386-protos.h (ix86_agi_dependent): New.
1076
1077         * config/i386/i386.c (ix86_agi_dependent): Rewrite.
1078         (ix86_adjust_cost): Updated.
1079
1080 2009-03-29  Jan Hubicka  <jh@suse.cz>
1081
1082         PR middle-end/28850
1083         * tree-pass.h (pass_cleanup_eh): New function.
1084         (remove_unreachable_regions): Break code handling RTL
1085         to rtl_remove_unreachable_regions; remove ERT_MUST_NOT_THROW
1086         that can not be reached by runtime.
1087         (can_be_reached_by_runtime): New function.
1088         (label_to_region_map): New function.
1089         (num_eh_regions): New function.
1090         (rtl_remove_unreachable_regions): New function.
1091         (convert_from_eh_region_ranges): Call rtl_remove_unreachable_regions.
1092         (remove_eh_region): New function.
1093         * except.h: Include sbitmap and vecprim.
1094         (remove_eh_region, remove_unreachable_regions, label_to_region_map,
1095         num_eh_regions): Declare.
1096         * passes.c (init_optimization_passes): Schedule cleanup_eh.
1097         * Makefile.in (EXCEPT_H): New; replace all uses of except.h by it.
1098         * tree-eh.c (tree_remove_unreachable_handlers): New function.
1099         (tree_empty_eh_handler_p): New function.
1100         (cleanup_empty_eh): New function.
1101         (cleanup_eh): New function.
1102         (pass_cleanup_eh): New function.
1103
1104 2009-03-29  Jan Hubicka  <jh@suse.cz>
1105
1106         * except.c (verify_eh_tree): Fix handling of fun!=cfun; be ready
1107         for removed regions.
1108
1109 2009-03-29  Jan Hubicka  <jh@suse.cz>
1110
1111         * except.c (dump_eh_tree): Dump all datastructures.
1112
1113 2009-03-29  Jan Hubicka  <jh@suse.cz>
1114
1115         * except.c (duplicate_eh_regions_0): Handle AKA bitmap.
1116         (duplicate_eh_regions_1): Likewise.
1117         (duplicate_eh_regions): Likewise; cleanup code gorwing the region
1118         vector; call EH verification.
1119         (foreach_reachable_handler, can_throw_internal_1, can_throw_external_1):
1120         Be ready for region being removed.
1121
1122 2009-03-29  Jan Hubicka  <jh@suse.cz>
1123
1124         * bitmap.c (bitmap_last_set_bit): New function.
1125         * bitmap.h (bitmap_last_set_bit): Declare.
1126
1127 2009-03-29  David Ayers  <ayers@fsfe.org>
1128
1129         PR objc/27377
1130         * c-typeck.c (build_conditional_expr): Emit ObjC warnings
1131         by calling objc_compare_types and surpress warnings about
1132         incompatible C pointers that are compatible ObjC pointers.
1133         
1134 2009-03-29  Adam Nemet  <anemet@caviumnetworks.com>
1135
1136         * cgraphbuild.c (build_cgraph_edges, rebuild_cgraph_edges): Don't
1137         call initialize_inline_failed.
1138         (initialize_inline_failed): Move it from here ...
1139         * cgraph.c (initialize_inline_failed): ... to here.
1140         (cgraph_create_edge): Call initialize_inline_failed rather than
1141         setting inline_failed directly.
1142
1143 2009-03-29  Ben Elliston  <bje@au.ibm.com>
1144
1145         PR target/32542
1146         * sysv4.opt (msdata): Improve comment.
1147         * linux64.h (ASM_SPEC32): Do not pass -memb when -msdata is given.
1148         * sysv4.h (SVR4_ASM_SPEC): Likewise.
1149
1150 2009-03-29  Ben Elliston  <bje@au.ibm.com>
1151
1152         PR target/30451
1153         * config/rs6000/rs6000.md (*movti_ppc64): Correct the order of
1154         load and store attributes.
1155
1156 2009-03-29  Ben Elliston  <bje@au.ibm.com>
1157
1158         * config/i386/i386.c (enum ix86_builtins): Add IX86_BUILTIN_HUGE_VALQ.
1159         (ix86_init_builtins): Add built-in function __builtin_huge_valq.
1160         (ix86_expand_builtin): Handle IX86_BUILTIN_HUGE_VALQ.
1161         * doc/extend.texi (X86 Built-in Functions): Add index entries for
1162         __builtin_infq and __builtin_huge_valq.
1163
1164 2009-03-28  Anatoly Sokolov  <aesok@post.ru>
1165
1166         * config/avr/avr.c (avr_mcu_t): Add atmega8c1, atmega16c1 and
1167         atmega8m1 devices.
1168         * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
1169         * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.)
1170
1171 2009-03-28  Xinliang David Li  <davidxl@google.com>
1172
1173         * tree-ssa-ccp.c (ccp_finalize): Add dbg_count support. 
1174         (do_dbg_cnt): New function.
1175
1176 2009-03-28  Jan Hubicka  <jh@suse.cz>
1177
1178         Merge from pretty-ipa:
1179
1180         2009-03-27  Jan Hubicka  <jh@suse.cz>
1181
1182         * cgraph.c (dump_cgraph_node): Add replace output flag by process.
1183         * tree-pass.h (function_called_by_processed_nodes_p): Declare.
1184         * passes.c (function_called_by_processed_nodes_p): New.
1185         * ipa-pure-const.c (check_call): Fix handling of operands.
1186         (analyze_function): Dump debug output for skipped bodies.
1187         (local_pure_const): Use function_called_by_processed_nodes_p.
1188         * dwarf2out.c (reference_to_unused): Use output.
1189         * passes.c (do_per_function_toporder): Likewise.
1190
1191         2008-11-12  Jan Hubicka  <jh@suse.cz>
1192
1193         * tree-pass.h (pass_fixup_cfg, pass_local_pure_const): Declare.
1194         * ipa-pure-const.c (funct_state_d): Add can throw field; make
1195         state_set_in_source enum
1196         (check_decl): Ignore memory tags; do not set fake looping flags;
1197         dump diagnostics.
1198         (check_operand, check_tree, check_rhs_var, check_lhs_var,
1199         get_asm_expr_operands, scan_function_op, scan_function_stmt): Remove.
1200         (check_call, analyze_function): Rewrite.
1201         (check_stmt): New.
1202         (add_new_function): Update call of analyze_function.
1203         (generate_summary): Add call of analyze_function.
1204         (propagate): Propagate can_throw; handle state_set_in_source correctly.
1205         (local_pure_const): New function.
1206         (pass_local_pure_const): New pass.
1207         * ipa-inline.c (inline_transform): Set after_inlining.
1208         * tree-eh.c (stmt_can_throw_external): New.
1209         * tree-optimize.c (execute_fixup_cfg): Do not set after_inlining;
1210         work with aliasing built.
1211         * tree-flow.h (stmt_can_throw_external): New.
1212         * passes.c (init_optimization_passes): Schedule fixup_cfg pass early;
1213         and local pure/const pass in early and late optimization queue.
1214
1215 2009-03-28  Martin Jambor  <mjambor@suse.cz>
1216
1217         * fold-const.c (get_pointer_modulus_and_residue): New parameter
1218         allow_func_align.
1219         (fold_binary): Allow function decl aligment consideration is the
1220         second argument is integer constant one.
1221         * tree-ssa-forwprop.c (simplify_bitwise_and): New function.
1222         (tree_ssa_forward_propagate_single_use_vars): Handle assing statements
1223         with BIT_AND_EXPR on the RHS by calling simplify_bitwise_and.
1224
1225 2009-03-28  Jan Hubicka  <jh@suse.cz>
1226
1227         * dwarf2out.c (dwarf2out_begin_prologue): Use crtl->nothrow
1228         * tree-eh.c (stmt_could_throw_p): Remove check for WEAK decls.
1229         * function.h (rtl_data): Add nothrow flag.
1230         * except.c (set_nothrow_function_flags): Use crtl->nothrow;
1231         set DECL_NOTHROW for AVAILABLE functions.
1232
1233 2009-03-28  Jakub Jelinek  <jakub@redhat.com>
1234
1235         * config/rs6000/rs6000-c.c (rs6000_macro_to_expand): If macro
1236         following vector keyword has expansion starting with pixel or bool
1237         keyword, expand vector to __vector and pixel or bool to __pixel or
1238         __bool.
1239
1240         PR c++/39554
1241         * opts.c (warning_disallowed_functions, warn_disallowed_functions,
1242         warn_if_disallowed_function_p): Removed.
1243         (common_handle_option): Don't handle OPT_Wdisallowed_function_list_.
1244         * c-parser.c (c_parser_postfix_expression_after_primary): Don't call
1245         warning_if_disallowed_function_p.
1246         * flags.h (warn_if_disallowed_function_p,
1247         warn_disallowed_functions): Removed.
1248         * common.opt (Wdisallowed-function-list=): Removed.
1249         * doc/invoke.texi (-Wdisallowed-function-list=): Removed.
1250
1251 2009-03-28  Richard Guenther  <rguenther@suse.de>
1252
1253         PR tree-optimization/38723
1254         * tree-ssa-pre.c (compute_avail): Add all default definitions to
1255         the entry block.
1256
1257 2009-03-28  Jan Hubicka  <jh@suse.cz>
1258
1259         * tree-ssa-structalias.c (ipa_pta_execute): Fix bogus node->analyzed
1260         test introduced by my previous patch.
1261
1262 2009-03-28  Richard Guenther  <rguenther@suse.de>
1263
1264         * tree-ssa-copy.c (copy_prop_visit_phi_node): Do not leave
1265         the PHIs value undefined.
1266
1267 2009-03-28  Jan Hubicka  <jh@suse.cz>
1268
1269         * tree-pass.h (pass_fixup_cfg): New pass.
1270         * ipa-inline.c (inline_transform): Set
1271         always_inline_functions_inlined/after_inlining.
1272         * tree-optimize.c (execute_fixup_cfg): Do not set them here.
1273         (pass_fixup_cfg): New pass.
1274         * passes.c (init_optimization_passes): Add fixup_cfg.
1275
1276 2009-03-28  Richard Guenther  <rguenther@suse.de>
1277
1278         PR tree-optimization/38458
1279         * tree-ssa-copy.c (copy_prop_visit_phi_node): For the first
1280         argument use the arguments copy-of value.
1281
1282 2009-03-28  Richard Guenther  <rguenther@suse.de>
1283
1284         PR tree-optimization/38180
1285         * tree-ssa-ccp.c (get_default_value): Simplify.
1286         (likely_value): Likewise.
1287         (surely_varying_stmt_p): Properly handle VOP case.
1288         (ccp_initialize): Likewise.
1289         (ccp_fold): Handle propagating through *&.
1290         (fold_const_aggregate_ref): Also handle decls.
1291
1292 2009-03-28  Jan Hubicka  <jh@suse.cz>
1293
1294         * cgraph.c (dump_cgraph_node): Add replace output flag by process.
1295         * cgraph.h (cgraph_node): Likewise.
1296         * cgraphunit.c (cgraph_process_new_functions): Set process flag.
1297         (cgraph_reset_node): Use process flag.
1298         (cgraph_mark_functions_to_output): Likewise.
1299         (cgraph_expand_function): Likewise.
1300         (cgraph_expand_all_functions): Likewise.
1301         (cgraph_output_in_order): Likewise.
1302         * dwarf2out.c (reference_to_unused): Likewise.
1303         * passes.c do_per_function_toporder): Likewise.
1304
1305 2009-03-28  Jan Hubicka  <jh@suse.cz>
1306
1307         Bring from lto-branch:
1308
1309         2008-09-03  Doug Kwan  <dougkwan@google.com>
1310
1311         * cgraphbuild.c (initialize_inline_failed): Use cgraph_inline_failed_t
1312         enums instead of reason strings.
1313         * cgraph.c (cgraph_create_edge): Same.
1314         (cgraph_inline_failed_string): New function.
1315         * cgraph.h (cgraph_inline_failed_t): New enum type.
1316         (cgraph_inline_failed_string): New prototype.
1317         (struct cgraph_edge): Change type of INLINED_FAILED from constant
1318         char pointer to cgraph_inline_failed_t.
1319         (cgraph_inline_p): Adjust prototype to use cgraph_inline_failed_t.
1320         (cgraph_default_inline_p): Ditto.
1321         * gcc/cgraphunit.c (cgraph_inline_p): Change type of parameter REASON
1322         to cgraph_inline_failed_t pointer.
1323         * cif-code.def: New file.
1324         * ipa-inline.c (cgraph_mark_inline_edge): Use an enum instead of a
1325         reason string.
1326         (cgraph_check_inline_limits): Change type of REASON to pointer to
1327         cgraph_inline_failed_t.  Replace reason strings with enums.
1328         (cgraph_default_inline_p): Ditto.
1329         (cgraph_recursive_inlining_p): Ditto.
1330         (update_caller_keys): Change type of FAILED_REASON to
1331         cgraph_inline_failed_t.
1332         (cgraph_set_inline_failed): Change type of REASON to pointer to
1333         cgraph_inline_failed_t.  Call cgraph_inline_failed_string to
1334         convert enums to strings for text output.
1335         (cgraph_decide_inlining_of_small_function): Change FAILED_REASON
1336         to be of type cgraph_inline_failed_t.  Replace reason strings with
1337         enums.  Call cgraph_inline_failed_string to covert enums
1338         to strings for text output.
1339         (cgraph_decide_inlining): Replace reason strings with enums.
1340         (cgraph_decide_inlining_incrementally): Change type of FAILED_REASON
1341         to cgraph_inline_failed_t type.  Call cgraph_inline_failed_string
1342         for text output.
1343         * tree-inline.c (expand_call_inline): Change type of REASON
1344         to cgraph_inline_failed_t.  Replace reason strings with enums.
1345         Call cgraph_inline_failed_string for text output.
1346         * Makefile.in (CGRAPH_H): Add cif-code.def to dependencies.
1347         (cgraph.o): Ditto.
1348
1349 2009-03-28  Jan Hubicka  <jh@suse.cz>
1350
1351         * cgraph.c (cgraph_node, cgraph_remove_node, dump_cgraph_node,
1352         cgraph_clone_node): Remove master clone handling.
1353         (cgraph_is_master_clone, cgraph_master_clone): Remove.
1354         * cgraph.h (master_clone): Remove.
1355         (cgraph_is_master_clone, cgraph_master_clone): Remove.
1356         * ipa-type-escape.c (type_escape_execute): Remove use of master clone.
1357         (tree-ssa-structalias.c (ipa_pta_execute): Likewise.
1358
1359 2009-03-28  Jan Hubicka  <jh@suse.cz>
1360
1361         * cgraph.c (cgraph_function_body_availability): Functions declared
1362         inline are always safe to assume that it is not going to be replaced.
1363
1364 2009-03-28  Richard Guenther  <rguenther@suse.de>
1365
1366         PR tree-optimization/38513
1367         * tree-ssa-pre.c (eliminate): Remove redundant stores.
1368         * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Handle
1369         EXC_PTR_EXPR and FILTER_EXPR.
1370         (get_ref_from_reference_ops): Likewise.
1371
1372 2009-03-28  Richard Guenther  <rguenther@suse.de>
1373
1374         PR tree-optimization/38968
1375         * tree-vect-analyze.c (vect_compute_data_ref_alignment):
1376         Use FLOOR_MOD_EXPR to compute misalignment.
1377
1378 2009-03-28  Richard Guenther  <rguenther@suse.de>
1379
1380         PR tree-optimization/37795
1381         * tree.h (combine_comparisons): Declare.
1382         * fold-const.c (combine_comparisons): Export.
1383         * tree-ssa-ifcombine.c (ifcombine_ifandif): Optimize two successive
1384         comparisons.
1385         (ifcombine_iforif): Use combine_comparisons.
1386
1387 2009-03-28  Jan Hubicka  <jh@suse.cz>
1388
1389         * tree-eh.c (inlinable_call_p): New function.
1390         (make_eh_edges): Use it.
1391         (verify_eh_edges): Use it.
1392         (stmt_can_throw_external, stmt_can_throw_internal): Use it.
1393         * except.c (reachable_next_level): Add inlinable_function argument
1394         (sjlj_find_directly_reachable_regions): Update.
1395         (add_reachable_handler): Do not set saw_any_handlers.
1396         (reachable_next_level): Handle MUST_NOT_THROW more curefully.
1397         (foreach_reachable_handler, can_throw_internal_1, can_throw_external_1):
1398         Add new inlinable call parameter.
1399         (can_throw_internal, can_throw_external): Update.
1400         * except.h (can_throw_internal_1, can_throw_external_1,
1401         foreach_reachable_handler): Update declaration.
1402
1403 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
1404
1405         * config/arm/t-arm-coff, config/h8300/coff.h,
1406         config/i386/i386-aout.h, config/i386/i386-coff.h,
1407         config/libgloss.h, config/m68k/coff.h, config/m68k/m68k-aout.h,
1408         config/pdp11/2bsd.h, config/rs6000/aix41.h,
1409         config/rs6000/aix41.opt, config/rs6000/t-newas, config/sh/coff.h,
1410         fix-header.c, fixproto, gen-protos.c, protoize.c, scan-decls.c,
1411         scan-types.sh, scan.c, scan.h, sort-protos, sys-protos.h,
1412         sys-types.h: Remove.
1413         * Makefile.in: Remove protoize and fixproto support and references
1414         in comments.
1415         (SYSCALLS.c.X-warn, TARGET_GETGROUPS_T, STMP_FIXPROTO,
1416         PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, FIXPROTO_DEFINES):
1417         Remove.
1418         (ALL_HOST_OBJS): Remove $(PROTO_OBJS).
1419         (MOSTLYCLEANFILES): Remove protoize$(exeext) and
1420         unprotoize$(exeext).
1421         (rest.encap): Don't depend on $(STMP_FIXPROTO)
1422         (.PHONY): Don't depend on proto.
1423         (libgcc-support): Don't depend on $(STMP_FIXPROTO).
1424         (proto, PROTO_OBJS, protoize$(exeext), unprotoize$(exeext),
1425         protoize.o, unprotoize.o, SYSCALLS.c.X, test-protoize-simple,
1426         deduced.h, GEN_PROTOS_OBJS, build/gen-protos$(build_exeext),
1427         build/gen-protos.o, build/scan.o, xsys-protos.h,
1428         build/fix-header$(build_exeext), build/fix-header.o,
1429         build/scan-decls.o, fixhdr.ready, stmp-fixproto,
1430         stmp-install-fixproto): Remove.
1431         (mostlyclean): Don't remove xsys-protos.hT, SYSCALLS.c.X,
1432         SYSCALLS.c or fixproto files.
1433         (install-common): Don't install protoize.
1434         (install-headers-tar, install-headers-cpio, install-headers-cp):
1435         Don't depend on $(STMP_FIXPROTO).
1436         (install-mkheaders): Don't depend on $(STMP_FIXPROTO).  Don't
1437         install fixproto files or write out fixproto settings.
1438         (uninstall): Don't uninstall protoize.
1439         * config.gcc (use_fixproto): Remove.
1440         (arm-*-coff*, armel-*-coff*, h8300-*-*, i[34567]86-*-aout*,
1441         i[34567]86-*-coff*, m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd,
1442         rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
1443         * config/m32r/t-linux (STMP_FIXPROTO): Remove.
1444         * config/m68k/m68k.c: Remove M68K_TARGET_COFF-conditional code.
1445         * config/mips/t-iris (FIXPROTO_DEFINES): Remove.
1446         * config/pa/t-pa-hpux (FIXPROTO_DEFINES): Remove.
1447         * config/pdp11/pdp11.c: Remove TWO_BSD-conditional code.
1448         * config/t-svr4 (FIXPROTO_DEFINES): Remove.
1449         * config/t-vxworks (STMP_FIXPROTO): Remove.
1450         * configure.ac (AC_TYPE_GETGROUPS, TARGET_GETGROUPS_T,
1451         STMP_FIXPROTO): Remove.
1452         * config.in, configure: Regenerate.
1453         * crtstuff.c (gid_t, uid_t): Don't undefine.
1454         * doc/install.texi: Change m68k-coff to m68k-elf in example.
1455         (arm-*-coff, arm-*-aout: Remove target entries.
1456         (*-ibm-aix*): Mention removal of support for AIX 4.2 and older.
1457         Remove mention of AIX 4.1.
1458         (m68k-*-*): Remove mention of m68k-*-aout and m68k-*-coff*.
1459         * doc/invoke.texi (Running Protoize): Remove.
1460         * doc/trouble.texi (Actual Bugs): Remove mention of fixproto.
1461         (Protoize Caveats): Remove.
1462         * tsystem.h: Update comments on headers assumed to exist.
1463
1464 2009-03-27  Vladimir Makarov  <vmakarov@redhat.com>
1465
1466         * genautomata.c: Add a new year to the copyright.  Add a new
1467         reference.
1468         (struct insn_reserv_decl): Add comments for member bypass_list.
1469         (find_bypass): Remove.
1470         (insert_bypass): New.
1471         (process_decls): Use insert_bypass.
1472         (output_internal_insn_latency_func): Output all bypasses with the
1473         same input insn in one switch case.
1474
1475         * rtl.def (define_bypass): Describe bypass choice.
1476         * doc/md.texi (define_bypass): Ditto.
1477
1478 2009-03-27  Richard Guenther  <rguenther@suse.de>
1479
1480         * gimplify.c (mark_addressable): Export.
1481         * tree-flow.h (mark_addressable): Declare.
1482         * tree-ssa-loop-manip.c (create_iv): Mark the base addressable.
1483         * tree-ssa.c (verify_phi_args): Verify that address taken
1484         variables have TREE_ADDRESSABLE set.
1485
1486 2009-03-27  Richard Guenther  <rguenther@suse.de>
1487
1488         * fold-const.c (build_fold_addr_expr_with_type_1): Rename back to ...
1489         (build_fold_addr_expr_with_type): ... this.  Remove in_fold handling.
1490         Do not mark decls TREE_ADDRESSABLE.
1491         (build_fold_addr_expr): Adjust.
1492         (fold_addr_expr): Remove.
1493         (fold_unary): Use build_fold_addr_expr.
1494         (fold_comparison): Likewise.
1495         (split_address_to_core_and_offset): Likewise.
1496         * coverage.c (tree_coverage_counter_addr): Mark the array decl
1497         TREE_ADDRESSABLE.
1498         * gimplify.c (mark_addressable): Do not exclude RESULT_DECLs.
1499         (gimplify_modify_expr_to_memcpy): Mark source and destination
1500         addressable.
1501         * omp-low.c (create_omp_child_function): Mark the object decl
1502         TREE_ADDRESSABLE.
1503         (lower_rec_input_clauses): Mark the var we take the address of
1504         TREE_ADDRESSABLE.
1505         (lower_omp_taskreg): Mark the sender decl TREE_ADDRESSABLE.
1506
1507 2009-03-27  H.J. Lu  <hongjiu.lu@intel.com>
1508
1509         PR middle-end/39315
1510         * cfgexpand.c (expand_one_stack_var_at): Change alignment
1511         limit to MAX_SUPPORTED_STACK_ALIGNMENT.
1512
1513 2009-03-27  Richard Guenther  <rguenther@suse.de>
1514
1515         PR tree-optimization/39120
1516         * tree-ssa-structalias.c (handle_rhs_call): Fill out return
1517         constraints.
1518         (handle_lhs_call): Process return constraints.  Add escape
1519         constraints if necessary.
1520         (handle_const_call): Fill out return constraints.  Make nested
1521         case more precise.  Avoid consttmp if possible.
1522         (handle_pure_call): Fill out return constraints.  Avoid
1523         callused if possible.
1524         (find_func_aliases): Simplify call handling.
1525
1526 2009-03-27  Richard Guenther  <rguenther@suse.de>
1527
1528         PR tree-optimization/39120
1529         * tree-ssa-structalias.c (do_sd_constraint): Do not use CALLUSED
1530         as a representative.
1531         (solve_graph): Do propagate CALLUSED.
1532         (handle_pure_call): Use a scalar constraint from CALLUSED for
1533         the return value.
1534         (find_what_p_points_to): CALLUSED shall not appear in poins-to
1535         solutions.
1536
1537 2009-03-27  H.J. Lu  <hongjiu.lu@intel.com>
1538
1539         PR c/39323
1540         * c-common.c (handle_aligned_attribute): Properly check alignment
1541         overflow.  Use (1U << i) instead of (1 << i).
1542
1543         * emit-rtl.c (get_mem_align_offset): Use "unsigned int" for align.
1544
1545         * expr.h (get_mem_align_offset): Updated.
1546
1547         * tree.h (tree_decl_common): Change align to "unsigned int" and
1548         move it before pointer_alias_set.
1549
1550 2009-03-27  H.J. Lu  <hongjiu.lu@intel.com>
1551             Jakub Jelinek  <jakub@redhat.com>
1552
1553         PR target/38034
1554         * config/ia64/sync.md (cmpxchg_rel_<mode>): Replace input
1555         gr_register_operand with gr_reg_or_0_operand.
1556         (cmpxchg_rel_di): Likewise.
1557         (sync_lock_test_and_set<mode>): Likewise.
1558
1559 2009-03-27  H.J. Lu  <hongjiu.lu@intel.com>
1560
1561         * jump.c (rtx_renumbered_equal_p): Use subreg_get_info.
1562         (true_regnum): Likewise.
1563
1564         * rtlanal.c (subreg_info): Moved to ...
1565         * rtl.h (subreg_info): Here.  New.
1566         (subreg_get_info): New.
1567
1568         * rtlanal.c (subreg_get_info): Make it extern.
1569
1570 2009-03-27  H.J. Lu  <hongjiu.lu@intel.com>
1571
1572         PR target/39472
1573         * config/i386/i386.c (ix86_abi): New.
1574         (override_options): Handle -mabi=.
1575         (ix86_function_arg_regno_p): Replace DEFAULT_ABI with ix86_abi.
1576         (ix86_call_abi_override): Likewise.
1577         (init_cumulative_args): Likewise.
1578         (function_arg_advance): Likewise.
1579         (function_arg_64): Likewise.
1580         (function_arg): Likewise.
1581         (ix86_pass_by_reference): Likewise.
1582         (ix86_function_value_regno_p): Likewise.
1583         (ix86_build_builtin_va_list_abi): Likewise.
1584         (setup_incoming_varargs_64): Likewise.
1585         (is_va_list_char_pointer): Likewise.
1586         (ix86_init_machine_status): Likewise.
1587         (ix86_reg_parm_stack_space): Use enum calling_abi on call_abi.
1588         (ix86_function_type_abi): Return enum calling_abi.  Rewrite
1589         for 64bit.  Replace DEFAULT_ABI with ix86_abi.
1590         (ix86_function_abi): Make it static and return enum calling_abi.
1591         (ix86_cfun_abi): Return enum calling_abi.  Replace DEFAULT_ABI
1592         with ix86_abi.
1593         (ix86_fn_abi_va_list): Updated.
1594
1595         * config/i386/i386.h (ix86_abi): New.
1596         (STACK_BOUNDARY): Replace DEFAULT_ABI with ix86_abi.
1597         (CONDITIONAL_REGISTER_USAGE): Likewise.
1598         (CUMULATIVE_ARGS): Change call_abi type to enum calling_abi.
1599         (machine_function): Likewise.
1600
1601         * config/i386/i386.md (untyped_call): Replace DEFAULT_ABI
1602         with ix86_abi.
1603         * config/i386/cygming.h (TARGET_64BIT_MS_ABI): Likewise.
1604         (STACK_BOUNDARY): Likewise.
1605         * config/i386/mingw32.h (EXTRA_OS_CPP_BUILTINS): Likewise.
1606
1607         * config/i386/i386.opt (mabi=): New.
1608
1609         * config/i386/i386-protos.h (ix86_cfun_abi): Changed to
1610         return enum calling_abi.
1611         (ix86_function_type_abi): Likewise.
1612         (ix86_function_abi): Removed.
1613
1614         * doc/invoke.texi: Document -mabi= option for x86.
1615
1616 2009-03-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1617
1618         * builtins.c (real_dconstp): Delete.
1619         (fold_builtin_logarithm): Remove inaccurate log(e) special case.
1620
1621 2009-03-27  Dodji Seketeli  <dodji@redhat.com>
1622             Jakub Jelinek  <jakub@redhat.com>
1623
1624         PR debug/37959
1625         * dwarf2out.c (dwarf_attr_name): Handle DW_AT_explicit attribute.
1626         (gen_subprogram_die): When a function is explicit, generate the
1627         DW_AT_explicit attribute.
1628         * langhooks.h (struct lang_hooks_for_decls): Add
1629         function_decl_explicit_p langhook.
1630         * langhooks-def.h (LANG_HOOKS_FUNCTION_DECL_EXPLICIT_P): Define.
1631         (LANG_HOOKS_DECLS): Add LANG_HOOKS_FUNCTION_DECL_EXPLICIT_P.
1632
1633 2009-03-27  Jakub Jelinek  <jakub@redhat.com>
1634
1635         * builtins.c (fold_builtin_memory_op): Optimize memmove
1636         into memcpy if we can prove source and destination don't overlap.
1637
1638         * tree-inline.c: Include gt-tree-inline.h.
1639         (clone_fn_id_num): New variable.
1640         (clone_function_name): New function.
1641         (tree_function_versioning): Use it.
1642         * Makefile.in (GTFILES): Add tree-inline.c.
1643
1644 2009-03-27  Mark Mitchell  <mark@codesourcery.com>
1645
1646         * BASE-VER: Change to 4.5.0.
1647
1648 2009-03-27  Xinliang David Li  <davidxl@google.com>
1649
1650         PR tree-optimization/39557
1651         * tree-ssa.c (warn_uninitialized_vars): free postdom info.
1652
1653 2009-03-27  Xinliang David Li  <davidxl@google.com>
1654
1655         PR tree-optimization/39548
1656         * tree-ssa-copy.c (copy_prop_visit_phi_node): Add copy 
1657         candidate check.
1658
1659 2009-03-27  H.J. Lu  <hongjiu.lu@intel.com>
1660
1661         * c-common.c (pointer_int_sum): Use %wd on return from
1662         tree_low_cst.
1663
1664 2009-03-27  H.J. Lu  <hongjiu.lu@intel.com>
1665
1666         * c-common.c (pointer_int_sum): Use HOST_WIDE_INT_PRINT_DEC
1667         on return from tree_low_cst.
1668
1669 2009-03-27  Andrew Pinski  <andrew_pinski@playstation.sony.com>
1670
1671         PR c++/36799
1672         * ginclude/stdarg.h (va_copy): Define also for
1673         __GXX_EXPERIMENTAL_CXX0X__.
1674
1675 2009-03-27  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
1676
1677         PR c++/35652
1678         * builtins.h (c_strlen): Do not warn here.
1679         * c-typeck.c (build_binary_op): Adjust calls to pointer_int_sum.
1680         * c-common.c (pointer_int_sum): Take an explicit location.
1681         Warn about offsets out of bounds.
1682         * c-common.h (pointer_int_sum): Adjust declaration.
1683
1684 2009-03-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1685
1686         * doc/invoke.texi (i386 and x86-64 Windows Options): Fix texinfo
1687         markup glitch.
1688
1689 2009-03-26  Jakub Jelinek  <jakub@redhat.com>
1690
1691         PR c++/39554
1692         * opts.c (warn_if_disallowed_function_p): Don't assume
1693         get_callee_fndecl must return non-NULL.
1694
1695 2009-03-26  Vladimir Makarov  <vmakarov@redhat.com>
1696
1697         PR rtl-optimization/39522
1698         * reload1.c (reload_as_needed): Invalidate reg_last_reload_reg too
1699         when reg_reloaded_valid is set.
1700
1701 2009-03-26  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1702
1703         * config/spu/divv2df3.c: New file.
1704         * config/spu/t-spu-elf (LIB2FUNCS_STATIC_EXTRA): Add it.
1705         (DPBIT_FUNCS): Filter out _div_df.
1706
1707 2009-03-26  Bernd Schmidt  <bernd.schmidt@analog.com>
1708
1709         * config/bfin/bfin.c (bfin_optimize_loop): If the LSETUP goes before
1710         a jump insn, count that jump in the distance to the loop start.
1711
1712 2009-03-25  Kaz Kojima  <kkojima@gcc.gnu.org>
1713
1714         PR target/39523
1715         * config/sh/sh.c (calc_live_regs): Fix condition for global
1716         registers except PIC_OFFSET_TABLE_REGNUM.
1717
1718 2009-03-25  Kai Tietz  <kai.tietz@onevision.com>
1719
1720         PR/39518
1721         * doc/invoke.texi (-mconsole): New.
1722         (-mcygwin): New.
1723         (-mno-cygwin): New.
1724         (-mdll): New.
1725         (-mnop-fun-dllimport): New.
1726         (-mthread): New.
1727         (-mwin32): New.
1728         (-mwindows): New.
1729         (sub section "i386 and x86-64 Windows Options"): New.
1730
1731 2009-03-25  Ralf Cors├ępius <ralf.corsepius@rtems.org>
1732
1733         * config/arm/rtems-elf.h: Remove LINK_GCC_C_SEQUENCE_SPEC.
1734         * config/rs6000/t-rtems: Remove MULTILIB_EXTRA_OPTS.
1735
1736 2009-03-25  Richard Guenther  <rguenther@suse.de>
1737
1738         PR middle-end/39497
1739         * Makefile.in (dfp.o-warn): Use -fno-strict-aliasing instead
1740         of -Wno-error.
1741
1742 2009-03-25  Andrey Belevantsev  <abel@ispras.ru>
1743
1744         * config/ia64/ia64.c (ia64_set_sched_flags): Zero spec_info->mask when
1745         neither of haifa/selective schedulers are working.
1746
1747 2009-03-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1748
1749         * doc/invoke.texi (Debugging Options): Fix description of
1750         -fno-merge-debug-strings.
1751
1752 2009-03-24  Hans-Peter Nilsson  <hp@axis.com>
1753
1754         * config/cris/libgcc.ver: New version-script.
1755         * config/cris/t-linux (SHLIB_MAPFILES): Use it.
1756
1757         * configure.ac <GAS features, nop mnemonic>: Add pattern
1758         crisv32-*-* for "nop".
1759         <GAS features, Thread-local storage>: Add item for CRIS and CRIS v32.
1760         * configure: Regenerate.
1761
1762 2009-03-24  Ira Rosen  <irar@il.ibm.com>
1763
1764         PR tree-optimization/39529
1765         * tree-vect-transform.c (vect_create_data_ref_ptr): Call
1766         mark_sym_for_renaming for the tag copied to the new vector
1767         pointer.
1768
1769 2009-03-24  Arthur Loiret  <aloiret@debian.org>
1770
1771         * config.host (alpha*-*-linux*): Use driver-alpha.o and alpha/x-alpha.
1772         * config/alpha/linux.h (host_detect_local_cpu): Declare, add to
1773         EXTRA_SPEC_FUNCTIONS.
1774         (MCPU_MTUNE_NATIVE_SPECS, DRIVER_SELF_SPECS): New macros.
1775         * config/alpha/driver-alpha.c, config/alpha/x-alpha: New.
1776         * doc/invoke.texi (DEC Alpha Options): Document 'native' value for
1777         -march and -mtune options.
1778
1779 2009-03-24  Ralf Cors├ępius <ralf.corsepius@rtems.org>
1780
1781         * config/m68k/t-rtems: Add m5329 multilib.
1782
1783 2009-03-24  Dodji Seketeli  <dodji@redhat.com>
1784             Jakub Jelinek  <jakub@redhat.com>
1785
1786         PR debug/39524
1787         * dwarf2out.c (gen_variable_die): Avoid adding duplicate declaration
1788         nodes.
1789
1790 2009-03-23  Jakub Jelinek  <jakub@redhat.com>
1791
1792         PR c/39495
1793         * c-parser.c (c_parser_omp_for_loop): Call c_parser_binary_expression
1794         instead of c_parser_expression_conv, if original_code isn't one of the
1795         4 allowed comparison codes, fail.
1796
1797 2009-03-23  Richard Guenther  <rguenther@suse.de>
1798
1799         * cgraph.h (struct cgraph_node): Reorder fields for 64-bit hosts.
1800         * tree.h (struct tree_type): Likewise.
1801         * reload.h (struct insn_chain): Likewise.
1802         * dwarf2out.c (struct dw_loc_descr_struct): Likewise.
1803         * function.h (struct function): Likewise.
1804         * tree-ssa-structalias.c (struct equiv_class_label): Likewise.
1805
1806 2009-03-23  Jakub Jelinek  <jakub@redhat.com>
1807
1808         PR tree-optimization/39516
1809         * lambda-code.c (perfect_nestify): Fix type of the uboundvar variable.
1810
1811 2009-03-23 Bingfeng Mei  <bmei@broadcom.com>
1812
1813         * config.gcc (need_64bit_hwint): Make clear that need_64bit_hwint 
1814         should be set true if BITS_PER_WORD of target is bigger than 32
1815
1816 2009-03-22  Hans-Peter Nilsson  <hp@axis.com>
1817
1818         * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC):
1819         Translate -B-options to -rpath-link.  Correct existing
1820         rpath-link and conditionalize on !nostdlib.
1821
1822 2009-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1823
1824         * doc/extend.texi (Function Attributes, Variable Attributes):
1825         Fix typos.
1826         * doc/invoke.texi (Debugging Options, Optimize Options)
1827         (i386 and x86-64 Options, MCore Options): Likewise.
1828
1829 2009-03-20  Jakub Jelinek  <jakub@redhat.com>
1830
1831         PR debug/37890
1832         * dwarf2out.c (gen_namespace_die): Add context_die argument and use
1833         it for block local namespace aliases.
1834         (gen_decl_die): Pass context_die to gen_namespace_die.
1835
1836 2009-03-19  Jakub Jelinek  <jakub@redhat.com>
1837
1838         PR c/39495
1839         * c-omp.c (c_finish_omp_for): Allow NE_EXPR with TREE_TYPE (decl)'s
1840         minimum or maximum value.
1841
1842 2009-03-19  Alexandre Oliva  <aoliva@redhat.com>
1843
1844         * reginfo.c (globalize_reg): Recompute derived reg sets.
1845
1846 2009-03-19  Ozkan Sezer <sezeroz@gmail.com>
1847
1848         PR target/39063
1849         * libgcc2.c (mprotect): Do not use signed arguments for
1850         VirtualProtect, use DWORD arguments.  Also fix the 'may
1851         be used uninitialized' warning for the np variable.
1852
1853 2009-03-19  Jakub Jelinek  <jakub@redhat.com>
1854
1855         PR target/39496
1856         * config/i386/i386.c (ix86_function_regparm): Don't optimize local
1857         functions using regparm calling conventions when not optimizing.
1858         (ix86_function_sseregparm): Similarly for sseregparm calling
1859         conventions.
1860
1861 2009-03-19  Li Feng  <nemokingdom@gmail.com>
1862
1863         PR middle-end/39500
1864         * tree-data-ref.c (analyze_subscript_affine_affine): There is no
1865         dependence if the first conflict is after niter iterations.
1866
1867 2009-03-19  Hans-Peter Nilsson  <hp@axis.com>
1868
1869         PR middle-end/38609
1870         * config/cris/cris.h (FRAME_POINTER_REQUIRED): Force for all
1871         functions with dynamic stack-pointer adjustments.
1872
1873 2009-03-19  Ben Elliston  <bje@au.ibm.com>
1874
1875         * doc/invoke.texi (RS/6000 and PowerPC Options): Fix -msdata-data
1876         option; change to -msdata=data.
1877
1878 2009-03-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1879
1880         * c.opt: Unify help texts for -Wdeprecated, -Wsystem-headers,
1881         and -fopenmp.
1882
1883 2009-03-18  Eric Botcazou  <ebotcazou@adacore.com>
1884
1885         PR target/35180
1886         * config/sparc/sparc.md (do_builtin_setjmp_setup): Prettify asm output.
1887
1888 2009-03-18  Sandra Loosemore  <sandra@codesourcery.com>
1889
1890         * doc/invoke.texi (Code Gen Options): Expand discussion of
1891         -fno-common.
1892
1893 2009-03-18  Jakub Jelinek  <jakub@redhat.com>
1894
1895         * dse.c (struct group_info): Reorder fields for 64-bit hosts.
1896         * matrix-reorg.c (struct matrix_info): Likewise.
1897         * tree-ssa-loop-ivopts.c (struct ivopts_data): Likewise.
1898         * rtl.h (struct mem_attrs): Likewise.
1899         * df.h (struct df): Likewise.
1900         * tree-data-ref.h (struct data_dependence_relation): Likewise.
1901         * ira-int.h (struct ira_allocno): Likewise.
1902         * df-scan.c (struct df_collection_rec): Likewise.
1903         * ira.c (struct equivalence): Likewise.
1904         * function.c (struct temp_slot): Likewise.
1905         * cfgloop.h (struct loop): Likewise.
1906
1907         PR debug/39485
1908         * function.c (use_register_for_decl): When not optimizing, disregard
1909         register keyword for variables with types containing methods.
1910
1911 2009-03-18  Sebastian Pop  <sebastian.pop@amd.com>
1912
1913         PR middle-end/39447
1914         * graphite.c (exclude_component_ref): Renamed contains_component_ref_p.
1915         (is_simple_operand): Call contains_component_ref_p before calling data
1916         reference analysis that would fail on COMPONENT_REFs.
1917
1918         * tree-vrp.c (search_for_addr_array): Fix formatting.
1919
1920 2009-03-18  Richard Guenther  <rguenther@suse.de>
1921
1922         * tree-vect-transform.c (vect_loop_versioning): Fold the
1923         generated comparisons.
1924         * tree-vectorizer.c (set_prologue_iterations): Likewise.
1925         (slpeel_tree_peel_loop_to_edge): Likewise.
1926
1927 2009-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1928
1929         PR middle-end/37805
1930         * opts.c (print_specific_help): In addition to `undocumented',
1931         accept `separate' and `joined' flags if passed alone.  Describe
1932         output by the first matched one of those.
1933         (common_handle_option): Skip over empty strings.
1934         * gcc.c (display_help): Fix help string for `--help='.
1935         * doc/invoke.texi (Option Summary, Overall Options): With
1936         `--help=', classes and qualifiers can both be repeated, but
1937         only the latter can be negated.  One should not pass only
1938         negated qualifiers.  Fix markup and examples.
1939
1940         Revert
1941         2008-10-14  Jakub Jelinek  <jakub@redhat.com>
1942         PR middle-end/37805
1943         * opts.c (common_handle_option): Don't ICE on -fhelp=joined
1944         and -fhelp=separate.
1945
1946 2009-03-17  Jing Yu  <jingyu@google.com>
1947
1948         PR middle-end/39378
1949         * function.h (struct rtl_data): Move is_thunk from here...
1950         (struct function): ...to here.
1951         * cp/method.c (use_thunk): Change is_thunk from crtl to cfun.
1952         * varasm.c (assemble_start_function): Change is_thunk from crtl to
1953         cfun.
1954         * config/alpha/alpha.c (alpha_sa_mask): Change is_thunk from crtl to
1955         cfun.
1956         (alpha_does_function_need_gp, alpha_start_function): Likewise.
1957         (alpha_output_function_end_prologue): Likewise.
1958         (alpha_end_function, alpha_output_mi_thunk_osf): Likewise.
1959         * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Likewise.
1960         (rs6000_output_function_epilogue): Likewise.
1961         * config/arm/arm.h (ARM_DECLARE_FUNCTION_NAME): Likewise.
1962
1963 2009-03-17  Uros Bizjak  <ubizjak@gmail.com>
1964
1965         PR target/39482
1966         * config/i386/i386.md (*truncdfsf_mixed): Avoid combining registers
1967         from different units in a single alternative.
1968         (*truncdfsf_i387): Ditto.
1969         (*truncxfsf2_mixed): Ditto.
1970         (*truncxfdf2_mixed): Ditto.
1971
1972 2009-03-17  Jakub Jelinek  <jakub@redhat.com>
1973
1974         * dwarf2out.c (dwarf2out_imported_module_or_decl_1): Allow
1975         non-NAMESPACE_DECL IMPORTED_DECL_ASSOCIATED_DECL.
1976
1977         PR debug/39474
1978         * tree-ssa-live.c (remove_unused_locals): Don't remove local
1979         unused non-artificial variables when not optimizing.
1980
1981         PR debug/39471
1982         * dwarf2out.c (dwarf2out_imported_module_or_decl_1): Emit
1983         DW_TAG_imported_module even if decl is IMPORTED_DECL with
1984         NAMESPACE_DECL in its DECL_INITIAL.
1985
1986         PR middle-end/39443
1987         * optabs.c (set_user_assembler_libfunc): New function.
1988         * expr.h (set_user_assembler_libfunc): New prototype.
1989         * c-common.c: Include libfuncs.h.
1990         (set_builtin_user_assembler_name): Call set_user_assembler_libfunc
1991         for memcmp, memset, memcpy, memmove and abort.
1992         * Makefile.in (c-common.o): Depend on libfuncs.h.
1993
1994         PR debug/39412
1995         * dwarf2out.c (gen_inlined_enumeration_type_die,
1996         gen_inlined_structure_type_die, gen_inlined_union_type_die,
1997         gen_tagged_type_instantiation_die): Removed.
1998         (gen_decl_die): For TYPE_DECL_IS_STUB with non-NULL decl_origin
1999         do nothing.
2000
2001 2009-03-17  Janis Johnson  <janis187@us.ibm.com>
2002
2003         PR testsuite/38526
2004         * Makefile.in (site.exp): Rename TEST_GCC_EXEC_PREFIX and comment
2005         its use.
2006         (check-%): Don't set GCC_EXEC_PREFIX when invoking runtest.
2007         (check-parallel-%): Ditto.
2008         (check-consistency): Ditto.
2009
2010 2009-03-17  Kai Tietz  <kai.tietz@onevision.com>
2011
2012         * ipa-struct-reorg.c (create_general_new_stmt): Initialize
2013         local variable rhs by NULL_TREE.
2014
2015 2009-03-17  H.J. Lu  <hongjiu.lu@intel.com>
2016
2017         PR target/39477
2018         * doc/extend.texi: Correct register behavior for regparm on Intel 386.
2019
2020 2009-03-17  H.J. Lu  <hongjiu.lu@intel.com>
2021
2022         PR target/39476
2023         * config/i386/i386.c (ix86_function_regparm): Rewrite for 64bit.
2024
2025 2009-03-17  H.J. Lu  <hongjiu.lu@intel.com>
2026
2027         PR target/39473
2028         * config/i386/i386.c (ix86_expand_call): Check extra clobbers
2029         for ms->sysv ABI calls only in 64bit mode.
2030
2031         * config/i386/i386.md (untyped_call): Support 32bit.
2032
2033 2009-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2034
2035         * doc/extend.texi: Replace x86_65 with x86_64.
2036
2037 2009-03-16  Jakub Jelinek  <jakub@redhat.com>
2038
2039         PR tree-optimization/39455
2040         * tree-ssa-loop-niter.c (number_of_iterations_lt_to_ne): Fix types
2041         mismatches for POINTER_TYPE_P (type).
2042         (number_of_iterations_le): Likewise.
2043
2044 2009-03-16  Hariharan Sandanagobalane <hariharan@picochip.com>
2045
2046         * config/picochip/picochip.c: Removed profiling support.
2047         * config/picochip/picochip.md: Removed profiling instruction.
2048         * config/picochip/picochip.h: Removed profiling builtin.
2049
2050 2009-03-16  Joseph Myers  <joseph@codesourcery.com>
2051
2052         * doc/install.texi (--with-host-libstdcxx): Document.
2053
2054 2009-03-14  Anatoly Sokolov  <aesok@post.ru>
2055
2056         PR target/34299
2057         * config/avr/avr.c (avr_handle_fndecl_attribute): Move code for
2058         generate a warning if the function name does not begin with
2059         "__vector" and the function has either the 'signal' or 'interrupt'
2060         attribute, from here to ...
2061         (avr_declare_function_name): ...here. New function.
2062         * config/avr/avr.h (ASM_DECLARE_FUNCTION_NAME): Redefine.
2063         * config/avr/avr-protos.h (avr_declare_function_name): Declare.
2064
2065 2009-03-14  Jakub Jelinek  <jakub@redhat.com>
2066
2067         PR bootstrap/39454
2068         * cse.c (fold_rtx): Don't modify original const_arg1 when
2069         canonicalizing SHIFT_COUNT_TRUNCATED shift count, do it on a
2070         separate variable instead.
2071         * rtlanal.c (nonzero_bits1) <case ASHIFTRT>: Don't assume anything
2072         from out of range shift counts.
2073         (num_sign_bit_copies1) <case ASHIFTRT, case ASHIFT>: Similarly.
2074
2075 2008-03-13  Catherine Moore  <clm@codesourcery.com>
2076
2077         * gcc/config/i386/x-mingw32 (host-mingw32.o): Replace
2078         diagnostic.h with $(DIAGNOSTIC_H).
2079
2080 2008-03-12  Jakub Jelinek  <jakub@redhat.com>
2081
2082         PR target/39431
2083         * config/i386/predicates.md (cmpxchg8b_pic_memory_operand): New
2084         predicate.
2085         * config/i386/sync.md (sync_compare_and_swap<mode>,
2086         sync_compare_and_swap_cc<mode>): For DImode with -m32 -fpic check
2087         if operands[1] is cmpxchg8b_pic_memory_operand, if not force address
2088         into a register.
2089         (sync_double_compare_and_swapdi_pic,
2090         sync_double_compare_and_swap_ccdi_pic): Require operand 1 to be
2091         cmpxchg8b_pic_memory_operand instead of just memory_operand.
2092
2093 2009-03-12  H.J. Lu  <hongjiu.lu@intel.com>
2094
2095         PR target/39445
2096         * config/i386/i386.c (ix86_expand_push): Don't set memory alignment.
2097
2098 2009-03-12  H.J. Lu  <hongjiu.lu@intel.com>
2099
2100         PR target/39327
2101         * config/i386/sse.md (avx_addsubv8sf3): Correct item bits.
2102         (avx_addsubv4df3): Likewise.
2103         (*avx_addsubv4sf3): Likewise.
2104         (sse3_addsubv4sf3): Likewise.
2105
2106 2009-03-12  H.J. Lu  <hongjiu.lu@intel.com>
2107
2108         PR target/38824
2109         * config/i386/i386.md: Compare REGNO on the new peephole2 patterns.
2110
2111 2009-03-12  Vladimir Makarov  <vmakarov@redhat.com>
2112
2113         PR debug/39432
2114         * ira-int.h (struct allocno): Fix comment for calls_crossed_num.
2115         * ira-conflicts.c (ira_build_conflicts): Prohibit call used
2116         registers for allocnos created from user-defined variables.
2117
2118 2009-03-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2119
2120         PR target/39181
2121         * config/spu/spu.c (spu_expand_mov): Handle invalid subregs
2122         of non-integer mode as well.
2123
2124 2009-03-11  Adam Nemet  <anemet@caviumnetworks.com>
2125
2126         * gimplify.c (gimplify_call_expr): Don't set CALL_CANNOT_INLINE_P
2127         for functions for which the parameter types are unknown.
2128
2129 2009-03-11  Jakub Jelinek  <jakub@redhat.com>
2130
2131         PR target/39137
2132         * cfgexpand.c (get_decl_align_unit): Use LOCAL_DECL_ALIGNMENT macro.
2133         * defaults.h (LOCAL_DECL_ALIGNMENT): Define if not yet defined.
2134         * config/i386/i386.h (LOCAL_DECL_ALIGNMENT): Define.
2135         * config/i386/i386.c (ix86_local_alignment): For
2136         -m32 -mpreferred-stack-boundary=2 use 32-bit alignment for
2137         long long variables on the stack to avoid dynamic realignment.
2138         Allow the first argument to be a decl rather than type.
2139         * doc/tm.texi (LOCAL_DECL_ALIGNMENT): Document.
2140
2141 2009-03-11  Nick Clifton  <nickc@redhat.com>
2142
2143         PR target/5362
2144         * config/mcore/mcore.opt: Remove deprecated m4align and m8align
2145         options.
2146         Add description to mno-lsim option.
2147         * config/mcore/mcore.h: Remove comment about deprecated m4align
2148         option.
2149         (TARGET_DEFAULT): Remove deprecated MASK_M8ALIGN.
2150         * doc/invoke.texi: Add description of mno-lsim and
2151         mstack-increment options.
2152
2153         * config/fr30/fr30.opt: Document the -mno-lsim option.
2154         * doc/invoke.texi: Add descriptions of the FR30's -msmall-model
2155         and -mno-lsim options.
2156
2157 2009-03-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2158
2159         * fold-const.c (fold_comparison): Only call fold_inf_compare
2160         if the mode supports infinities.
2161
2162 2009-03-11  Jason Merrill  <jason@redhat.com>
2163
2164         PR debug/39086
2165         * tree-nrv.c (tree_nrv): Don't do this optimization if the front
2166         end already did.  Notice GIMPLE_CALL modifications of the result.
2167         Don't copy debug information from an ignored decl or a decl from
2168         another function.
2169
2170 2009-03-10  Richard Guenther  <rguenther@suse.de>
2171             Nathan Froyd  <froydnj@codesourcery.com>
2172
2173         PR middle-end/37850
2174         * libgcc2.c (__mulMODE3): Use explicit assignments to form the result.
2175         (__divMODE3): Likewise.
2176
2177 2009-03-09  Jakub Jelinek  <jakub@redhat.com>
2178
2179         PR tree-optimization/39394
2180         * gimplify.c (gimplify_type_sizes): Gimplify DECL_SIZE and
2181         DECL_SIZE_UNIT of variable length FIELD_DECLs.
2182
2183 2009-03-09  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2184
2185         * recog.c (verfiy_changes): Disallow renaming of hard regs in
2186         inline asms for register asm ("") declarations.
2187
2188 2009-03-09  Eric Botcazou  <ebotcazou@adacore.com>
2189
2190         * fold-const.c (fold_unary): Fix comment.
2191
2192 2009-03-07  Jan Hubicka  <jh@suse.cz>
2193
2194         PR target/39361
2195         * tree-inline.c (setup_one_parameter): Do replacement of const
2196         argument by constant in SSA form.
2197
2198 2009-03-07  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2199
2200         PR middle-end/38028
2201         * function.c (assign_parm_setup_stack): Use STACK_SLOT_ALIGNMENT to
2202         determine alignment passed to assign_stack_local.
2203         (assign_parms_unsplit_complex): Likewise.
2204         * except.c (sjlj_build_landing_pads): Likewise.
2205
2206 2009-03-06  Jakub Jelinek  <jakub@redhat.com>
2207
2208         PR middle-end/39360
2209         * tree-flow.h (add_referenced_var): Return bool instead of void.
2210         * tree-dfa.c (add_referenced_var): Return result of
2211         referenced_var_check_and_insert call.
2212         * tree-inline.c (expand_call_inline): Call add_referenced_var instead
2213         of referenced_var_check_and_insert.
2214
2215         PR debug/39372
2216         * dwarf2out.c (add_abstract_origin_attribute): Return origin_die.
2217         (gen_variable_die): Emit DW_AT_location on abstract static variable's
2218         DIE, don't emit it if abstract origin already has it.
2219         * tree-cfg.c (remove_useless_stmts_bind): GIMPLE_BINDs with any
2220         BLOCK_NONLOCALIZED_VARS in its gimple_bind_block aren't useless.
2221
2222 2009-03-06  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
2223
2224         * genpreds.c (needs_variable): Fix parentheses at variable name
2225         detection.
2226         (write_tm_constrs_h): Indent generated code.
2227
2228 2009-03-06  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2229
2230         * doc/extend.texi (Function Attributes): Add documentation
2231         for isr attributes.
2232
2233 2009-03-06  Jakub Jelinek  <jakub@redhat.com>
2234
2235         PR debug/39387
2236         * dwarf2out.c (dwarf2out_imported_module_or_decl_1): For IMPORTED_DECL
2237         take locus from its DECL_SOURCE_LOCATION instead of input_location.
2238
2239 2009-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
2240
2241         * config/bfin/bfin.c (bfin_discover_loop): When retrying fails, mark
2242         the loop as bad.
2243
2244 2009-03-05  Jakub Jelinek  <jakub@redhat.com>
2245
2246         PR debug/39379
2247         * tree-cfg.c (remove_useless_stmts_bind): Don't remove GIMPLE_BINDs
2248         with blocks containing IMPORTED_DECLs in BLOCK_VARS.
2249
2250 2009-03-05  Uros Bizjak  <ubizjak@gmail.com>
2251
2252         * config/i386/i386.md (R8_REG, R9_REG): New constants.
2253         * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Use named
2254         constants instead of magic numbers.
2255         (HARD_REGNO_CALLER_SAVE_MODE): Ditto.
2256         (QI_REG_P): Ditto.
2257         * config/i386/i386.c (x86_64_int_parameter_registers): Ditto.
2258         (x86_64_ms_abi_int_parameter_registers): Ditto.
2259         (x86_64_int_return_registers): Ditto.
2260         (ix86_maybe_switch_abi): Ditto.
2261         (ix86_expand_call): Ditto for clobbered_registers array.
2262         (ix86_hard_regno_mode_ok): Ditto.
2263         (x86_extended_QIreg_mentioned_p): Ditto.
2264
2265 2009-03-05  J"orn Rennecke  <joern.rennecke@arc.com>
2266
2267         PR tree-optimization/39349
2268         * cse.c (cse_insn): Fix loop to stop at VOIDmode.
2269
2270         * combine.c (gen_lowpart_for_combine): Use omode when generating
2271         clobber.
2272
2273 2009-03-04  J"orn Rennecke  <joern.rennecke@arc.com>
2274
2275         PR rtl-optimization/39235
2276         * loop-iv.c (get_simple_loop_desc): Use XCNEW.
2277
2278 2009-03-04  Zdenek Dvorak  <ook@ucw.cz>
2279
2280         * graphite.c (nb_reductions_in_loop): Update simple_iv arguments.
2281
2282 2009-03-04  Richard Guenther  <rguenther@suse.de>
2283
2284         PR tree-optimization/39362
2285         * tree-ssa-sccvn.c (visit_use): Stores and copies from SSA_NAMEs
2286         that occur in abnormal PHIs should be varying.
2287
2288 2009-03-04  Zdenek Dvorak  <ook@ucw.cz>
2289
2290         * tree-scalar-evolution.c (analyze_scalar_evolution_in_loop):
2291         Extend comments.
2292         (simple_iv):  Take loop as an argument instead of statement.
2293         * tree-scalar-evolution.h (simple_iv): Declaration changed.
2294         * tree-ssa-loop-niter.c (number_of_iterations_exit): Update calls
2295         to simple_iv.
2296         * tree-ssa-loop-ivopts.c (determine_biv_step, find_givs_in_stmt_scev):
2297         Ditto.
2298         * tree-parloops.c (loop_parallel_p, canonicalize_loop_ivs): Ditto.
2299         * matrix-reorg.c (analyze_transpose): Ditto.
2300         * tree-data-ref.c (dr_analyze_innermost): Ditto.
2301         * tree-vect-analyze.c (vect_analyze_data_refs): Ditto.
2302         * tree-predcom.c (ref_at_iteration): Ditto.
2303         * tree-ssa-loop-prefetch.c (idx_analyze_ref): Ditto.
2304
2305 2009-03-04  Richard Guenther  <rguenther@suse.de>
2306
2307         PR tree-optimization/39358
2308         * tree-ssa-structalias.c (do_sd_constraint): Fix check for
2309         escaped_id and callused_id.
2310         (solve_graph): Likewise.
2311
2312 2009-03-04  Richard Guenther  <rguenther@suse.de>
2313
2314         PR tree-optimization/39339
2315         * tree-sra.c (try_instantiate_multiple_fields): Make it
2316         no longer ICE on the above.
2317
2318 2009-03-03  Joseph Myers  <joseph@codesourcery.com>
2319
2320         * emit-rtl.c (adjust_address_1): Reduce offset to a signed value
2321         that fits within Pmode.
2322
2323 2009-03-03  Steve Ellcey  <sje@cup.hp.com>
2324
2325         PR middle-end/10109
2326         * tm.texi (LIBCALL_VALUE): Update description.
2327
2328 2009-03-03  Steve Ellcey  <sje@cup.hp.com>
2329
2330         PR middle-end/34443
2331         * doc/extend.texi (section): Update description.
2332
2333 2009-03-03  H.J. Lu  <hongjiu.lu@intel.com>
2334
2335         PR middle-end/39345
2336         * tree-inline.c (remapped_type): New.
2337         (can_be_nonlocal): Call remapped_type instead of remap_type.
2338
2339 2009-03-03  Jakub Jelinek  <jakub@redhat.com>
2340
2341         PR fortran/39354
2342         * gimplify.c (goa_stabilize_expr): Handle tcc_comparison,
2343         TRUTH_ANDIF_EXPR and TRUTH_ORIF_EXPR.
2344
2345 2009-03-03  Richard Guenther  <rguenther@suse.de>
2346
2347         PR middle-end/39272
2348         * tree.c (tree_nonartificial_location): New function.
2349         * tree.h (tree_nonartificial_location): Declare.
2350         * builtins.c (expand_builtin_memory_chk): Provide location
2351         of the call location for artificial function pieces.
2352         (maybe_emit_chk_warning): Likewise.
2353         (maybe_emit_sprintf_chk_warning): Likewise.
2354         (maybe_emit_free_warning): Likewise.
2355         * expr.c (expand_expr_real_1): Likewise.
2356
2357 2009-03-03  Jakub Jelinek  <jakub@redhat.com>
2358
2359         PR tree-optimization/39343
2360         * tree-ssa-ccp.c (maybe_fold_offset_to_address): Don't check if
2361         COMPONENT_REF t has ARRAY_TYPE.
2362
2363 2009-03-02  Sebastian Pop  <sebastian.pop@amd.com>
2364
2365         PR middle-end/39335
2366         * tree-parloops.c (canonicalize_loop_ivs): Call fold_convert
2367         when the type precision of the induction variable should be
2368         larger than the type precision of nit.
2369         (gen_parallel_loop): Update use of canonicalize_loop_ivs.
2370         * graphite.c (graphite_loop_normal_form): Same.
2371         * tree-flow.h (canonicalize_loop_ivs): Update declaration.
2372
2373 2009-03-02  Uros Bizjak  <ubizjak@gmail.com>
2374
2375         * config/i386/i386.md (ST?_REG, MM?_REG): New constants.
2376         (*call_1_rex64_ms_sysv): Use named constants instead of magic
2377         numbers to describe clobbered registers.
2378         (*call_value_0_rex64_ms_sysv): Ditto.
2379         * config/i386/mmx.md (mmx_emms): Ditto.
2380         (mmx_femms): Ditto.
2381
2382 2009-03-02  Richard Sandiford  <rdsandiford@googlemail.com>
2383
2384         * config/mips/mips.c (mips_mdebug_abi_name): Fix the handling
2385         of ABI_64.
2386
2387 2009-03-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2388
2389         * config/spu/spu.c (TARGET_SECTION_TYPE_FLAGS): Define.
2390         (spu_section_type_flags): New function.
2391
2392 2009-03-02  Uros Bizjak  <ubizjak@gmail.com>
2393
2394         * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not copy
2395         reg_class_contents of FLOAT_REGS into a temporary.
2396
2397 2009-03-02  Richard Guenther  <rguenther@suse.de>
2398             Ira Rosen  <irar@il.ibm.com>
2399
2400         PR tree-optimization/39318
2401         * tree-vect-transform.c (vectorizable_call): Transfer the EH region
2402         information to the vectorized statement.
2403
2404 2009-03-01  Uros Bizjak  <ubizjak@gmail.com>
2405
2406         * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not shadow "i"
2407         variable.  Use defined names instead of magic constants for REX SSE
2408         registers.
2409
2410 2009-03-01  Richard Guenther  <rguenther@suse.de>
2411
2412         PR tree-optimization/39331
2413         * omp-low.c (lower_send_shared_vars): Do not receive new
2414         values for the reference of DECL_BY_REFERENCE parms or results.
2415
2416 2009-03-01  Jan Hubicka  <jh@suse.cz>
2417
2418         PR debug/39267
2419         * tree.h (BLOCK_NONLOCALIZED_VARS, BLOCK_NUM_NONLOCALIZED_VARS,
2420         BLOCK_NONLOCALIZED_VAR): New macros.
2421         (tree_block): Add nonlocalized_vars.
2422         * dwarf2out.c (gen_formal_parameter_die, gen_variable_die,
2423         gen_decl_die): Add origin argument.  Allow generation of die with
2424         origin at hand only.
2425         (gen_member_die, gen_type_die_with_usage, force_decl_die,
2426         declare_in_namespace, gen_namescpace_die, dwarf2out_decl): Update use
2427         of gen_*.
2428         (gen_block_die): Fix checking for unused blocks.
2429         (process_scope_var): Break out from .... ; work with origins only.
2430         (decls_for_scope) ... here; process nonlocalized list.
2431         (dwarf2out_ignore_block): Look for nonlocalized vars.
2432         * tree-ssa-live.c (remove_unused_scope_block_p): Look for nonlocalized
2433         vars.
2434         (dump_scope_block): Dump them.
2435         * tree-inline.c (remap_decls): Handle nonlocalized vars.
2436         (remap_block): Likewise.
2437         (can_be_nonlocal): New predicate.
2438         (copy_bind_expr, copy_gimple_bind): Update use of remap_block.
2439
2440 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2441
2442         * configure: Regenerate.
2443
2444 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2445
2446         * optc-gen.awk: No need to duplicate option flags twice.
2447         Reuse help texts for duplicate options which do not have any.
2448
2449         * gcc.c (display_help): Document --version.
2450
2451         * gcc.c (main): If print_help_list and verbose_flag, ensure
2452         driver output comes before subprocess output.
2453
2454         * optc-gen.awk: Assign all remaining fields to help string,
2455         space-separated, for multi-line help in *.opt.
2456
2457         * doc/invoke.texi (Warning Options): -Wsync-nand is C/C++ only.
2458         -Wno-pedantic-ms-format is for MinGW targets only.
2459
2460         * doc/options.texi (Option file format): Fix bad indentation,
2461         restoring dropped sentence.
2462
2463 2009-02-28  Jan Hubicka  <jh@suse.cz>
2464
2465         * tree-inline.c (tree_function_versioning): Output debug info.
2466
2467 2009-02-28  Jan Hubicka  <jh@suse.cz>
2468
2469         PR debug/39267
2470         * tree-inline.c (setup_one_parameter): Do not copy propagate
2471         arguments when not optimizing.
2472
2473 2009-02-28  H.J. Lu  <hongjiu.lu@intel.com>
2474
2475         PR target/39327
2476         * config/i386/sse.md (avx_addsubv8sf3): Correct item bits.
2477         (avx_addsubv4df3): Likewise.
2478         (*avx_addsubv4sf3): Likewise.
2479         (sse3_addsubv4sf3): Likewise.
2480         (*avx_addsubv2df3): Likewise.
2481         (sse3_addsubv2df3): Likewise.
2482         (avx_unpckhps256): Correct item selectors.
2483         (avx_unpcklps256): Likewise.
2484         (avx_unpckhpd256): Likewise.
2485         (avx_unpcklpd256): Likewise.
2486
2487 2009-02-28  Jan Hubicka  <jh@suse.cz>
2488
2489         * tree-inline.c (expand_call_inline): Avoid duplicate declarations of
2490         static vars.
2491         (copy_arguments_for_versioning): If var is declared don't declare it.
2492         (tree_function_versioning): First setup substitutions and then copy
2493         args.
2494
2495 2009-02-27  Jan Hubicka  <jh@suse.cz>
2496
2497         PR debug/39267
2498         * cgraph.h (varpool_output_debug_info): Remove.
2499         * cgraphunit.c (varpool_output_debug_info): Remove.
2500         * dwarf2out.c (deferred_locations_struct): New struct
2501         (deferred_locations): New type.
2502         (deferred_locations_list): New static var.
2503         (deffer_location): New function.
2504         (gen_variable_die): Use it.
2505         (decls_for_scope): Output info on local static vars.
2506         (dwarf2out_finish): Process deferred locations.
2507         * varpool.c (varpool_output_debug_info): Remove.
2508
2509 2009-02-27  Jan Hubicka  <jh@suse.cz>
2510
2511         PR debug/39267
2512         * tree.h (TREE_PROTECTED): Fix comment.
2513         (BLOCK_HANDLER_BLOCK): Remove.
2514         (struct tree_block): Remove handler_block add body_block.
2515         (inlined_function_outer_scope_p): New.
2516         (is_body_block): Remove.
2517         * dbxout.c (dbxout_block): Remove BLOCK_HANDLER_BLOCK.
2518         * dwarf2out.c (is_inlined_entry_point): Remove.
2519         (add_high_low_attributes): Use inlined_function_outer_scope_p.
2520         (gen_block_die): Use is_inlined_entry_point check.  Remove body block
2521         code.
2522         * langhooks.h (struct lang_hooks): Remove no_bodu_blocks.
2523         * gimplify.c (gimplify_expr): Gimplify body blocks.
2524         * tree-ssa-live.c (remove_unused_scope_block_p): Allow removing wrapper
2525         block with multiple subblocks.
2526         (dump_scope_block): Prettier output; dump more flags and info.
2527         (dump_scope_blocks): New.
2528         (remove_unused_locals): Use dump_scope_blocks.
2529         * tree-flow.h (dump_scope_blocks): Declare.
2530         * tree-cfg.c (execute_build_cfg): Dump scope blocks.
2531         * stmt.c (is_body_block): Remove.
2532         * tree-inline.c (remap_block): Copy BODY_BLOCK info.
2533         * langhooks-def.h (LANG_HOOKS_NO_BODY_BLOCKS): Remove.
2534
2535 2009-02-27  Sebastian Pop  <sebastian.pop@amd.com>
2536
2537         PR middle-end/39308
2538         * graphite.c (graphite_loop_normal_form): Do not call 
2539         number_of_iterations_exit from a gcc_assert.
2540
2541 2009-02-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2542
2543         * gcc/config/s390/s390.c (s390_swap_cmp): Look for conditional
2544         jumps if COND is NULL.
2545         (find_cond_jump): New function.
2546         (s390_z10_optimize_cmp): Handling for reg-reg compares added.
2547         * gcc/config/s390/s390.md: Remove z10_cobra attribute value.
2548
2549 2009-02-26  Uros Bizjak  <ubizjak@gmail.com>
2550
2551         * config/alpha/alpha.h (alpha_expand_mov): Return false if
2552         force_const_mem returns NULL_RTX.
2553
2554 2009-02-26  Jan Hubicka  <jh@suse.cz>
2555
2556         PR debug/39267
2557         * cgraph.h (varpool_output_debug_info): Remove.
2558         * cgraphunit.c (varpool_output_debug_info): Remove.
2559         * dwarf2out.c (deferred_locations_struct): New struct
2560         (deferred_locations): New type.
2561         (deferred_locations_list): New static var.
2562         (deffer_location): New function.
2563         (gen_variable_die): Use it.
2564         (decls_for_scope): Output info on local static vars.
2565         (dwarf2out_finish): Process deferred locations.
2566         * varpool.c (varpool_output_debug_info): Remove.
2567
2568 2009-02-25  H.J. Lu  <hongjiu.lu@intel.com>
2569
2570         PR rtl-optimization/39241
2571         * jump.c (rtx_renumbered_equal_p): Remove 2 superfluous calls
2572         to subreg_offset_representable_p.
2573
2574 2009-02-25  Paolo Bonzini  <bonzini@gnu.org>
2575
2576         * regmove.c (regmove_optimize): Conform to struct rtl_opt_pass
2577         execute function prototype.  Get f and nregs from max_reg_num
2578         and get_insns.  Remove the first backward pass as it's dead,
2579         guard the forward pass by flag_expensive_optimizations.
2580         (rest_of_handle_regmove): Delete.
2581         (pass_regmove): Replace it with regmove_optimize.
2582
2583 2009-02-25  Martin Jambor  <mjambor@suse.cz>
2584
2585         PR tree-optimization/39259
2586         * tree-inline.c (initialize_cfun): Remove asserts for calls_setjmp and
2587         calls_alloca function flags.
2588         (copy_bb): Set calls_setjmp and alls_alloca function flags if such
2589         calls are detected.
2590
2591 2009-02-25  Paolo Bonzini  <bonzini@gnu.org>
2592
2593         * regmove.c (discover_flags_reg, flags_set_1, mark_flags_life_zones,
2594         flags_set_1_rtx, flags_set_1_set): Delete.
2595         (regmove_optimize): Do not call mark_flags_life_zones.
2596
2597 2009-02-24  Julian Brown  <julian@codesourcery.com>
2598
2599         PR target/35965
2600         * config/arm/arm.c (require_pic_register): Only set
2601         cfun->machine->pic_reg once per function.
2602
2603 2009-02-24  Sandra Loosemore  <sandra@codesourcery.com>
2604
2605         * doc/invoke.texi (Link Options): Document an easier way to pass
2606         options that take arguments to the GNU linker using -Xlinker and -Wl.
2607
2608 2009-02-24  Steve Ellcey  <sje@cup.hp.com>
2609
2610         PR target/33785
2611         * doc/tm.texi (TARGET_C99_FUNCTIONS): Fix description.
2612
2613 2009-02-24  Richard Guenther  <rguenther@suse.de>
2614
2615         PR debug/39285
2616         * dwarf2out.c (gen_enumeration_type_die): Handle CONST_DECLs.
2617
2618 2009-02-24  Richard Guenther  <rguenther@suse.de>
2619             Zdenek Dvorak  <ook@ucw.cz>
2620
2621         PR tree-optimization/39233
2622         * tree-ssa-loop-ivopts.c (add_candidate_1): Do not except pointers
2623         from converting them to a generic type.
2624
2625 2009-02-23  Sebastian Pop  <sebastian.pop@amd.com>
2626
2627         PR tree-optimization/39260
2628         * graphite.c (harmful_stmt_in_bb): Stop a SCoP when the basic block
2629         contains a condition with a real type.
2630         (build_scop_conditions_1): Conditions are always last_stmt of a bb.
2631
2632 2009-02-23  Jason Merrill  <jason@redhat.com>
2633
2634         PR c++/38880
2635         * varasm.c (initializer_constant_valid_p) [PLUS_EXPR]: Check
2636         narrowing_initializer_constant_valid_p.
2637         (narrowing_initializer_constant_valid_p): Don't return 
2638         null_pointer_node for adding a pointer to itself.
2639
2640 2009-02-23  Jan Hubicka  <jh@suse.cz>
2641
2642         PR c/12245
2643         * ggc.h (htab_create_ggc): Use ggc_free to free hashtable when
2644         resizing.
2645
2646 2009-02-23  Jan Hubicka  <jh@suse.cz>
2647
2648         PR tree-optimization/37709
2649         * tree.c (block_ultimate_origin): Move here from dwarf2out.
2650         * tree.h (block_ultimate_origin): Declare.
2651         * dwarf2out.c (block_ultimate_origin): Move to tree.c
2652         * tree-ssa-live.c (remove_unused_scope_block_p):
2653         Eliminate blocks containig no instructions nor live variables nor
2654         nested blocks.
2655         (dump_scope_block): New function.
2656         (remove_unused_locals): Enable removal of dead blocks by default;
2657         enable dumping at TDF_DETAILS.
2658
2659 2009-02-21  H.J. Lu  <hongjiu.lu@intel.com>
2660
2661         * config/i386/i386.c (classify_argument): Don't allow COImode
2662         and OImode.
2663         (function_arg_advance_32): Don't allow OImode.
2664         (function_arg_32): Likewise.
2665         (function_value_32): Likewise.
2666         (return_in_memory_32): Likewise.
2667         (function_arg_64): Remove OImode comment.
2668
2669 2009-02-21  H.J. Lu  <hongjiu.lu@intel.com>
2670
2671         PR target/39261
2672         * config/i386/i386.c (ix86_expand_vector_init_one_nonzero): Use
2673         ix86_expand_vector_set for V4DImode in 64bit mode only.
2674         (ix86_expand_vector_init_one_var): Likewise.
2675
2676 2009-02-21  Sebastian Pop  <sebastian.pop@amd.com>
2677
2678         * graphite.c (graphite_trans_loop_block): Adjust tile size to 51.
2679
2680 2009-02-21  Richard Sandiford  <rdsandiford@googlemail.com>
2681
2682         PR bootstrap/39257
2683         * loop-iv.c: Revert last change.
2684         * emit-rtl.c: Likewise.
2685
2686 2009-02-21  H.J. Lu  <hongjiu.lu@intel.com>
2687
2688         PR target/39256
2689         * config/i386/i386.c (type_natural_mode): Remove an extra
2690         space in the warning message.
2691         (function_value_32): Handle 32-byte vector modes.
2692         (return_in_memory_32): Likewise.
2693
2694 2009-02-21  Richard Sandiford  <rdsandiford@googlemail.com>
2695
2696         * loop-iv.c (truncate_value): New function.
2697         (iv_subreg, get_iv_value, iv_number_of_iterations): Use it instead
2698         of lowpart_subreg.
2699         (lowpart_subreg): Move to...
2700         * emit-rtl.c: ...here.
2701
2702 2009-02-21  Danny Smith  <dannysmith@users.sourceforge.net>
2703
2704         * config/i386/winnt.c (i386_pe_asm_output_aligned_decl_common): Revert
2705         accidental and undocumented change at revision 140860.
2706
2707 2009-02-21  Joseph Myers  <joseph@codesourcery.com>
2708
2709         * config/arm/arm.c (arm_gimplify_va_arg_expr): Update prototype to
2710         take gimple_seq * arguments.
2711         (arm_mangle_type): Use CONST_CAST_TREE on type argument passed to
2712         types_compatible_p langhook.
2713
2714 2009-02-20  Mark Mitchell  <mark@codesourcery.com>
2715             Joseph Myers  <joseph@codesourcery.com>
2716
2717         * config/arm/arm.c (arm_builtin_va_list): New function.
2718         (arm_expand_builtin_va_start): Likewise.
2719         (arm_gimplify_va_arg_expr): Likewise.
2720         (TARGET_BUILD_BUILTIN_VA_LIST): Define.
2721         (TARGET_BUILD_BUILTIN_VA_START): Likewise.
2722         (TARGET_BUILD_BUILTIN_VA_ARG_EXPR): Likewise.
2723         (va_list_type): New variable.
2724         (arm_mangle_type): Mangle va_list_type appropriately.
2725
2726 2009-02-20  Jakub Jelinek  <jakub@redhat.com>
2727
2728         PR middle-end/39157
2729         * Makefile.in (loop-invariant.o): Depend on $(PARAMS_H).
2730         * params.h (LOOP_INVARIANT_MAX_BBS_IN_LOOP): Define.
2731         * params.def (loop-invariant-max-bbs-in-loop): New parameter.
2732         * opts.c (decode_options): Set loop-invariant-max-bbs-in-loop
2733         parameter to 1000 for -O1 by default.
2734         * doc/invoke.texi (loop-invariant-max-bbs-in-loop): Document new
2735         parameter.
2736         * loop-invariant.c: Include params.h.
2737         (move_loop_invariants): Don't call move_single_loop_invariants on
2738         very large loops.
2739
2740 2009-02-20  Jaka Mocnik  <jaka@xlab.si>
2741
2742         * calls.c (emit_library_call_value_1): Use slot_offset instead of
2743         offset when calculating bounds for indexing stack_usage_map.  Fixes
2744         a buffer overflow with certain target setups.
2745
2746 2009-02-20  Jakub Jelinek  <jakub@redhat.com>
2747
2748         PR target/39240
2749         * calls.c (expand_call): Clear try_tail_call if caller and callee
2750         disagree in promotion of function return value.
2751
2752 2009-02-19  Jakub Jelinek  <jakub@redhat.com>
2753
2754         PR target/39175
2755         * c-common.c (c_determine_visibility): If visibility changed and
2756         DECL_RTL has been already set, call make_decl_rtl to update symbol
2757         flags.
2758
2759 2009-02-19  H.J. Lu  <hongjiu.lu@intel.com>
2760
2761         PR c++/39188
2762         * varasm.c (assemble_variable): Don't check DECL_NAME when
2763         globalizing a variable.
2764
2765 2009-02-19  Joseph Myers  <joseph@codesourcery.com>
2766
2767         PR c/38483
2768         * builtins.c (gimplify_va_arg_expr): Evaluate the va_list
2769         expression before any __builtin_trap call.
2770         * c-typeck.c (build_function_call): Convert and check function
2771         arguments before generating a call to a trap.  Evaluate the
2772         function arguments before the trap.
2773
2774 2009-02-19  Uros Bizjak  <ubizjak@gmail.com>
2775
2776         PR target/39228
2777         * config/i386/i386.md (isinfxf2): Split from isinf<mode>2.
2778         (UNSPEC_FXAM_MEM): New unspec.
2779         (fxam<mode>2_i387_with_temp): New insn and split pattern.
2780         (isinf<mode>2): Use MODEF mode iterator.  Force operand[1] through
2781         memory using fxam<mode>2_i387_with_temp to remove excess precision.
2782
2783 2009-02-19  Richard Guenther  <rguenther@suse.de>
2784
2785         PR tree-optimization/39207
2786         PR tree-optimization/39074
2787         * tree-ssa-structalias.c (storedanything_id, var_storedanything,
2788         storedanything_tree): New.
2789         (do_ds_constraint): Simplify ANYTHING shortcutting.  Update
2790         the STOREDANYTHING solution if the lhs solution contains ANYTHING.
2791         (build_succ_graph): Add edges from STOREDANYTHING to all
2792         non-direct nodes.
2793         (init_base_vars): Initialize STOREDANYTHING.
2794         (compute_points_to_sets): Free substitution info after
2795         building the succ graph.
2796         (ipa_pta_execute): Likewise.
2797
2798         * tree-ssa-structalias.c (struct variable_info): Add may_have_pointers
2799         field.
2800         (do_ds_constraint): Do not add to special var or non-pointer
2801         field solutions.
2802         (type_could_have_pointers): Split out from ...
2803         (could_have_pointers): ... here.  For arrays use the element type.
2804         (create_variable_info_for): Initialize may_have_pointers.
2805         (new_var_info): Likewise.
2806         (handle_lhs_call): Make the HEAP variable unknown-sized.
2807         (intra_create_variable_infos): Use a type with pointers for
2808         PARM_NOALIAS, make it unknown-sized.
2809
2810 2009-02-18  H.J. Lu  <hongjiu.lu@intel.com>
2811
2812         PR target/39224
2813         * config/i386/i386.c (ix86_return_in_memory): Properly check ABI.
2814
2815 2009-02-18  Jason Merrill  <jason@redhat.com>
2816
2817         PR target/39179
2818         * tree-ssa-ccp.c (get_symbol_constant_value): Don't assume zero
2819         value if DECL_EXTERNAL.
2820         * tree-sra.c (sra_walk_gimple_assign): Likewise.
2821         * target.h (gcc_target::binds_local_p): Clarify "module".
2822         * tree.h (TREE_PUBLIC): Clarify "module".
2823
2824 2009-02-17  Xuepeng Guo  <xuepeng.guo@intel.com>
2825
2826         PR target/38891
2827         * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Move the hunk of
2828         initialization for MS_ABI prior to the hunk of !TARGET_MMX.
2829
2830 2009-02-17  H.J. Lu  <hongjiu.lu@intel.com>
2831
2832         PR target/39082
2833         * c.opt (Wabi): Support C and ObjC.
2834         (Wpsabi): New.
2835
2836         * c-opts.c (c_common_handle_option): Handle OPT_Wabi.
2837
2838         * config/i386/i386.c (classify_argument): Warn once about the ABI
2839         change when passing union with long double.
2840
2841         * doc/invoke.texi: Update -Wabi for warning psABI changes.
2842
2843 2009-02-18  Joseph Myers  <joseph@codesourcery.com>
2844
2845         PR c/35447
2846         * c-parser.c (c_parser_compound_statement): Always enter and leave
2847         a scope.
2848
2849 2009-02-17  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2850
2851         PR target/34587
2852         * config/darwin.h (SUPPORTS_INIT_PRIORITY): Define.
2853
2854 2009-02-18  Jakub Jelinek  <jakub@redhat.com>
2855
2856         PR tree-optimization/36922
2857         * tree-data-ref.c (initialize_matrix_A): Handle BIT_NOT_EXPR.
2858         * tree-scalar-evolution.c (interpret_rhs_expr, instantiate_scev_1):
2859         Likewise.
2860
2861 2009-02-17  Richard Sandiford  <rdsandiford@googlemail.com>
2862
2863         * config/mips/mips.c (mips_override_options): Set flag_dwarf2_cfi_asm
2864         to 0 for EABI64.
2865
2866 2009-02-17  Richard Sandiford  <rdsandiford@googlemail.com>
2867
2868         * config/mips/mips.md (type): Reclassify lui_movf as "unknown".
2869
2870 2009-02-17  Richard Sandiford  <rdsandiford@googlemail.com>
2871
2872         * config/mips/mips.c (mips_gimplify_va_arg_expr): Fix invalid
2873         tree sharing.
2874
2875 2009-02-17  Ruan Beihong  <ruanbeihong@gmail.com>
2876             Richard Sandiford  <rdsandiford@googlemail.com>
2877
2878         * config/mips/mips.c (CODE_FOR_loongson_biadd): Delete.
2879         * config/mips/loongson.md (reduc_uplus_<mode>): Rename to...
2880         (loongson_biadd): ...this.
2881
2882 2009-02-17  Richard Guenther  <rguenther@suse.de>
2883
2884         PR tree-optimization/39202
2885         * tree-ssa-structalias.c (do_structure_copy): Before collapsing
2886         a var make sure to follow existing collapses.
2887
2888 2009-02-17  Richard Guenther  <rguenther@suse.de>
2889
2890         PR middle-end/39214
2891         * langhooks.c (lhd_print_error_function): Check for NULL block.
2892
2893 2009-02-17  Richard Guenther  <rguenther@suse.de>
2894
2895         PR tree-optimization/39204
2896         * tree-ssa-pre.c (phi_translate_1): Lookup the value-number
2897         of the PHI arg.
2898
2899 2009-02-17  Uros Bizjak  <ubizjak@gmail.com>
2900
2901         * config/soft-fp/double.h: Update from glibc CVS.
2902
2903 2009-02-17  Richard Guenther  <rguenther@suse.de>
2904
2905         PR tree-optimization/39207
2906         * tree-ssa-structalias.c (find_what_p_points_to): Do not emit
2907         strict-aliasing warnings for pointers pointing to NULL.
2908
2909 2009-02-16  Joseph Myers  <joseph@codesourcery.com>
2910
2911         PR c/35446
2912         * c-parser.c (c_parser_braced_init): Call pop_init_level when
2913         skipping until next close brace.
2914
2915 2009-02-16  H.J. Lu  <hongjiu.lu@intel.com>
2916
2917         PR target/37049
2918         * config/i386/i386.c (ix86_expand_push): Set memory alignment
2919         to function argument boundary.
2920
2921 2009-02-16  Hariharan Sandanagobalane  <hariharan@picochip.com>
2922
2923         * config/picochip/picochip.md (lea_add): Allow any nonimmediate
2924         in the lea_add. Reload eventually constraints it properly.
2925         * config/picochip/constraints.md : Remove the target constraint
2926         "b", since it is not needed anymore.
2927
2928 2009-02-16  Jakub Jelinek  <jakub@redhat.com>
2929
2930         * gthr-dce.h: Uglify function parameter and local variable names.
2931         * gthr-gnat.h: Likewise.
2932         * gthr-mipssde.h: Likewise.
2933         * gthr-nks.h: Likewise.
2934         * gthr-posix95.h: Likewise.
2935         * gthr-posix.h: Likewise.
2936         * gthr-rtems.h: Likewise.
2937         * gthr-single.h: Likewise.
2938         * gthr-solaris.h: Likewise.
2939         * gthr-tpf.h: Likewise.
2940         * gthr-vxworks.h: Likewise.
2941         * gthr-win32.h: Likewise.
2942
2943 2009-02-15  H.J. Lu  <hongjiu.lu@intel.com>
2944
2945         PR target/39196
2946         * config/i386/i386.md: Restrict the new peephole2 to move
2947         between MMX/SSE registers.
2948
2949 2009-02-15  Richard Guenther  <rguenther@suse.de>
2950
2951         Revert
2952         2009-02-13  Richard Guenther  <rguenther@suse.de>
2953
2954         * configure.ac: Enable LFS.
2955         * configure: Re-generate.
2956         * config.in: Likewise.
2957
2958 2009-02-13  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2959
2960         * config/spu/spu_internals.h (spu_sr, spu_sra, spu_srqw,
2961         spu_srqwbyte, spu_srqwbytebc): Define.
2962         * config/spu/spu-builtins.def (spu_sr, spu_sra, spu_srqw,
2963         spu_srqwbyte, spu_srqwbytebc): New overloaded builtins.
2964         * config/spu/spu.md ("shrqbybi_<mode>", "shrqbi_<mode>",
2965         "shrqby_<mode>"): New insn-and-split patterns.
2966         * config/spu/spu.c (expand_builtin_args): Determine and return
2967         number of operands using spu_builtin_description data.
2968         (spu_expand_builtin_1): Use it.
2969
2970 2009-02-13  Steve Ellcey  <sje@cup.hp.com>
2971
2972         PR target/38056
2973         * config/ia64/ia64.c (ia64_function_ok_for_sibcall): Check
2974         TARGET_CONST_GP.
2975
2976 2009-02-13  H.J. Lu  <hongjiu.lu@intel.com>
2977
2978         PR target/39149
2979         * config/i386/i386.c (override_options): Correct warning
2980         messages for -malign-loops, -malign-jumps and -malign-functions.
2981
2982 2009-02-13  H.J. Lu  <hongjiu.lu@intel.com>
2983
2984         PR target/39152
2985         * config/i386/i386.md: Restrict the new peephole2 to move
2986         between the general purpose registers.
2987
2988 2009-02-13  H.J. Lu  <hongjiu.lu@intel.com>
2989
2990         PR target/39162
2991         * config/i386/i386.c (type_natural_mode): Add a new argument.
2992         Return the original mode and warn ABI change if vector size is 32byte.
2993         (function_arg_advance): Updated.
2994         (function_arg): Likewise.
2995         (ix86_function_value): Likewise.
2996         (ix86_return_in_memory): Likewise.
2997         (ix86_sol10_return_in_memory): Likewise.
2998         (ix86_gimplify_va_arg): Likewise.
2999         (function_arg_32): Don't warn ABX ABI change here.
3000         (function_arg_64): Likewise.
3001
3002 2009-02-13  Bernd Schmidt  <bernd.schmidt@analog.com>
3003
3004         * loop-iv.c (implies_p): In the final case, test that operands 0
3005         of the two comparisons match.
3006
3007         * config/bfin/bfin.c (find_prev_insn_start): New function.
3008         (bfin_optimize_loop): Use it in some cases instead of PREV_INSN.
3009         (find_next_insn_start): Move.
3010
3011 2009-02-13  Richard Guenther  <rguenther@suse.de>
3012
3013         * configure.ac: Enable LFS.
3014         * configure: Re-generate.
3015         * config.in: Likewise.
3016
3017 2009-02-13  Joseph Myers  <joseph@codesourcery.com>
3018
3019         PR c/35444
3020         * c-parser.c (c_parser_parms_list_declarator): Discard pending
3021         sizes on syntax error after some arguments have been parsed.
3022
3023 2009-02-12  Jakub Jelinek  <jakub@redhat.com>
3024
3025         * doc/invoke.texi (-fira): Remove.
3026
3027 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
3028
3029         * caller-save.c: Replace regclass.c with reginfo.c in comments.
3030         * recog.c: Likewise.
3031         * rtl.h: Likewise.
3032
3033 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
3034
3035         * longlong.h (sub_ddmmss): New for ia64. Ported from GMP 4.2.
3036         (umul_ppmm): Likewise.
3037         (count_leading_zeros): Likewise.
3038         (count_trailing_zeros): Likewise.
3039         (UMUL_TIME): Likewise.
3040
3041 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
3042
3043         * config.gcc (ia64*-*-linux*): Add ia64/t-fprules-softfp and
3044         soft-fp/t-softfp to tmake_file.
3045
3046         * config/ia64/ia64.c (ia64_soft_fp_init_libfuncs): New.
3047         (ia64_expand_compare): Use HPUX library for TFmode only for HPUX.
3048         (ia64_builtins) [IA64_BUILTIN_COPYSIGNQ, IA64_BUILTIN_FABSQ,
3049         IA64_BUILTIN_INFQ]: New.
3050         (ia64_init_builtins): Initialize __builtin_infq,
3051         __builtin_fabsq and __builtin_copysignq if not HPUX.
3052         (ia64_expand_builtin): Handle IA64_BUILTIN_COPYSIGNQ,
3053         IA64_BUILTIN_FABSQ and IA64_BUILTIN_INFQ.
3054
3055         * config/ia64/lib1funcs.asm (__divtf3): Define only if
3056         SHARED is defined.
3057         (__fixtfti): Likewise.
3058         (__fixunstfti): Likewise.
3059         (__floattitf): Likewise.
3060
3061         * config/ia64/libgcc-glibc.ver: New.
3062         * config/ia64/t-fprules-softfp: Likewise.
3063         * config/ia64/sfp-machine.h: Likewise.
3064
3065         * config/ia64/linux.h (LIBGCC2_HAS_TF_MODE): New.
3066         (LIBGCC2_TF_CEXT): Likewise.
3067         (TF_SIZE): Likewise.
3068         (TARGET_INIT_LIBFUNCS): Likewise.
3069
3070         * config/ia64/t-glibc (SHLINB_MAPFILES):
3071         Add $(srcdir)/config/ia64/libgcc-glibc.ver.
3072
3073 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
3074
3075         * config/i386/i386.c (construct_container): Rewrite processing
3076         BLKmode with X86_64_SSE_CLASS.
3077
3078 2009-02-12  Paolo Bonzini  <bonzini@gnu.org>
3079
3080         PR target/39152
3081         * config/i386/i386.md: Replace simplify_replace_rtx with
3082         replace_rtx in the new peephole2.
3083
3084 2009-02-12  Nathan Sidwell  <nathan@codesourcery.com>
3085
3086         * doc/invoke.texi (Optimize Options): Stop claiming inlining and
3087         loop unrolling do not happen at -O2.
3088
3089 2009-02-12  Michael Matz  <matz@suse.de>
3090
3091         * gcc.c (ASM_DEBUG_SPEC): Check for -g0.
3092
3093 2009-02-12  Jakub Jelinek  <jakub@redhat.com>
3094
3095         * dwarf2out.c (dwarf2out_finish): Force output of comp_unit_die
3096         for -g3.
3097
3098 2009-02-12  Ben Elliston  <bje@au.ibm.com>
3099
3100         * config/rs6000/rs6000.md (allocate_stack): Use _stack form of
3101         patterns when updating the back chain.  Missed in the 2009-02-10
3102         change.
3103
3104 2009-02-11  Janis Johnson  <janis187@us.ibm.com>
3105
3106         * doc/extend.texi (Decimal Floating Types): Update identifier of
3107         draft TR and list of missing support.
3108
3109 2009-02-11  Jakub Jelinek  <jakub@redhat.com>
3110
3111         PR middle-end/39154
3112         * gimplify.c (omp_notice_variable): If adding GOVD_SEEN
3113         bit to variable length decl's flags, add it also to its
3114         pointer replacement variable.
3115
3116 2009-02-11  Uros Bizjak  <ubizjak@gmail.com>
3117             Jakub Jelinek  <jakub@redhat.com>
3118
3119         PR target/39118
3120         * config/i386/i386.md (UNSPEC_MEMORY_BLOCKAGE): New constant.
3121         (memory_blockage): New expander.
3122         (*memory_blockage): New insn pattern.
3123         * config/i386/i386.c (ix86_expand_prologue): Use memory_blockage
3124         instead of general blockage at the end of function prologue when
3125         frame pointer is used to access red zone area.  Do not emit blockage
3126         when profiling, it is emitted in generic code.
3127         (ix86_expand_epilogue): Emit memory_blockage at the beginning of
3128         function epilogue when frame pointer is used to access red zone area.
3129
3130 2009-02-11  Paolo Bonzini  <bonzini@gnu.org>
3131
3132         PR target/38824
3133         * config/i386/i386.md: Add two new peephole2 to avoid mov followed
3134         by arithmetic with memory operands.
3135         * config/i386/predicates.md (commutative_operator): New.
3136
3137 2009-02-10  Janis Johnson  <janis187@us.ibm.com>
3138
3139         * doc/extend.texi (Fixed-Point Types): Break long paragraphs into
3140         bulleted lists.
3141
3142 2009-02-10  Eric Botcazou  <ebotcazou@adacore.com>
3143
3144         * alias.h (record_alias_subset): Declare.
3145         * alias.c (record_alias_subset): Make global.
3146
3147 2009-02-10  Nick Clifton  <nickc@redhat.com>
3148
3149         * tree-parloops.c: Change license to GPLv3.
3150         * ipa-struct-reorg.c: Change license to GPLv3.
3151         * ipa-struct-reorg.h: Change license to GPLv3.
3152
3153 2009-02-10  Steve Ellcey  <sje@cup.hp.com>
3154
3155         PR c/39084
3156         * c-decl.c (start_struct): Return NULL on error.
3157
3158 2009-02-10  Jakub Jelinek  <jakub@redhat.com>
3159
3160         PR middle-end/39124
3161         * cfgloopmanip.c (remove_path): Call remove_bbs after
3162         cancel_loop_tree, not before it.
3163
3164         PR target/39139
3165         * function.h (struct function): Add has_local_explicit_reg_vars bit.
3166         * gimplify.c (gimplify_bind_expr): Set it if local DECL_HARD_REGISTER
3167         VAR_DECLs were seen.
3168         * tree-ssa-live.c (remove_unused_locals): Recompute
3169         cfun->has_local_explicit_reg_vars.
3170         * tree-ssa-sink.c (statement_sink_location): Don't sink BLKmode
3171         copies or clearings if cfun->has_local_explicit_reg_vars.
3172
3173 2009-02-10  Uros Bizjak  <ubizjak@gmail.com>
3174
3175         PR target/39118
3176         * config/i386/i386.c (expand_prologue): Emit blockage at the end
3177         of function prologue when frame pointer is used to access
3178         red zone area.
3179
3180 2009-02-10  Richard Guenther  <rguenther@suse.de>
3181
3182         PR middle-end/39127
3183         * gimplify.c (gimple_regimplify_operands): Always look if
3184         we need to create a temporary.
3185
3186 2009-02-10  Richard Guenther  <rguenther@suse.de>
3187
3188         PR tree-optimization/39132
3189         * tree-loop-distribution.c (todo): New global var.
3190         (generate_memset_zero): Trigger TODO_rebuild_alias.
3191         (tree_loop_distribution): Return todo.
3192
3193 2009-02-10  H.J. Lu  <hongjiu.lu@intel.com>
3194
3195         PR target/39119
3196         * config/i386/i386.c (x86_64_reg_class): Remove X86_64_AVX_CLASS.
3197         (x86_64_reg_class_name): Removed.
3198         (classify_argument): Return 0 if bytes > 32.  Return 0 if the
3199         first one isn't X86_64_SSE_CLASS or any other ones aren't
3200         X86_64_SSEUP_CLASS when size > 16bytes.  Don't turn
3201         X86_64_SSEUP_CLASS into X86_64_SSE_CLASS if the preceded one
3202         is X86_64_SSEUP_CLASS.  Set AVX modes to 1 X86_64_SSE_CLASS
3203         and 3 X86_64_SSEUP_CLASS.
3204         (construct_container): Remove X86_64_AVX_CLASS.  Handle 4
3205         registers with 1 X86_64_SSE_CLASS and 3 X86_64_SSEUP_CLASS.
3206
3207 2009-02-10  Ben Elliston  <bje@au.ibm.com>
3208
3209         * config/rs6000/rs6000.md (allocate_stack): Always use an update
3210         form instruction to update the stack back chain word, even if the
3211         user has disabled the generation of update instructions.
3212         (movdi_<mode>_update_stack): New.
3213         (movsi_update_stack): Likewise.
3214         * config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Likewise,
3215         always use an update form instruction to update the stack back
3216         chain word.
3217
3218 2009-02-09  Sebastian Pop  <sebastian.pop@amd.com>
3219
3220         PR middle-end/38953
3221         * graphite.c (if_region_set_false_region): After moving a region in
3222         the false branch of a condition, remove the empty dummy basic block.
3223         (gloog): Remove wrong fix for PR38953.
3224
3225 2009-02-09  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3226
3227         * config/spu/spu.c (array_to_constant): Fix (latent) wrong-code
3228         generation due to implicit sign extension.
3229
3230 2009-02-09  Eric Botcazou  <ebotcazou@adacore.com>
3231
3232         PR middle-end/38981
3233         * tree-ssa-coalesce.c (add_coalesce): Cap the costs of coalesce pairs
3234         at MUST_COALESCE_COST-1 instead of MUST_COALESCE_COST.
3235
3236 2009-02-09  Richard Guenther  <rguenther@suse.de>
3237
3238         PR middle-end/35202
3239         * convert.c (convert_to_real): Disable (float)fn((double)x)
3240         to fnf(x) conversion if errno differences may occur and
3241         -fmath-errno is set.
3242
3243 2009-02-07  Anatoly Sokolov  <aesok@post.ru>
3244
3245         * config/avr/avr.c (avr_mcu_t): Add ata6289 device.
3246         * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
3247         * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
3248
3249 2009-02-06  Joseph Myers  <joseph@codesourcery.com>
3250
3251         PR c/35434
3252         * c-common.c (handle_alias_attribute): Disallow attribute for
3253         anything not a FUNCTION_DECL or VAR_DECL.
3254
3255 2009-02-06  Janis Johnson  <janis187@us.ibm.com>
3256
3257         PR c/39035
3258         * real.c (do_compare): Special-case compare of zero against
3259         decimal float value.
3260
3261 2009-02-06  Joseph Myers  <joseph@codesourcery.com>
3262
3263         PR c/36432
3264         * c-decl.c (grokdeclarator): Don't treat [] declarators in fields
3265         as indicating flexible array members unless the field itself is
3266         being declarared as the incomplete array.
3267
3268 2009-02-06  Jan Hubicka  <jh@suse.cz>
3269
3270         PR tree-optimization/38844
3271         * ipa-inline.c (try_inline): Stop inlining recursion when edge
3272         is already inlined.
3273
3274 2009-02-06  Richard Guenther  <rguenther@suse.de>
3275
3276         PR middle-end/38977
3277         * tree-cfg.c (need_fake_edge_p): Force a fake edge for
3278         fork because we may expand it as __gcov_fork.
3279
3280 2009-02-06  Nick Clifton  <nickc@redhat.com>
3281
3282         * config/m32c/m32c.h (PCC_BITFIELD_TYPE_MATTERS): Define to zero.
3283
3284 2009-02-06  Paolo Bonzini  <bonzini@gnu.org>
3285
3286         PR tree-optimization/35659
3287         * tree-ssa-sccvn.c (vn_constant_eq, vn_reference_eq, vn_nary_op_eq
3288         vn_phi_eq): Shortcut if hashcode does not match.
3289         (vn_reference_op_compute_hash): Do not call iterative_hash_expr for
3290         NULL operands.
3291         * tree-ssa-pre.c (pre_expr_hash): Look at hashcode if available,
3292         and avoid iterative_hash_expr.
3293         (FOR_EACH_VALUE_ID_IN_SET): New.
3294         (value_id_compare): Remove.
3295         (sorted_array_from_bitmap_set): Use FOR_EACH_VALUE_ID_IN_SET to
3296         sort expressions by value id.
3297
3298 2009-02-05  Kaz Kojima  <kkojima@gcc.gnu.org>
3299
3300         PR target/38991
3301         * config/sh/predicates.md (general_movsrc_operand): Don't check
3302         the subreg of system registers here.
3303
3304 2009-02-05  Jakub Jelinek  <jakub@redhat.com>
3305
3306         PR c++/39106
3307         * cgraphunit.c (cgraph_function_versioning): Clear also DECL_VIRTUAL_P
3308         on the copied decl.
3309
3310 2009-02-05  Paolo Bonzini  <bonzini@gnu.org>
3311
3312         PR rtl-optimization/39110
3313         * rtlanal.c (rtx_addr_can_trap_p_1): Shortcut unaligned
3314         addresses, not aligned ones.
3315
3316 2009-02-05  Daniel Berlin  <dberlin@dberlin.org>
3317             Richard Guenther  <rguenther@suse.de>
3318
3319         PR tree-optimization/39100
3320         * tree-ssa-structalias.c (do_ds_constraint): Actually do what the
3321         comment says and add edges.
3322
3323 2009-02-05  Joseph Myers  <joseph@codesourcery.com>
3324
3325         PR c/35435
3326         * c-common.c (handle_tls_model_attribute): Ignore attribute for
3327         non-VAR_DECLs without checking DECL_THREAD_LOCAL_P.
3328
3329 2009-02-04  Tobias Grosser  <grosser@fim.uni-passau.de> 
3330
3331         * graphite.c (bb_in_sese_p, sese_build_livein_liveouts_use,
3332         sese_build_livein_liveouts_bb, sese_build_livein_liveouts,
3333         register_bb_in_sese, new_sese, free_sese): Moved.
3334         (dot_scop_1, build_scop_loop_nests, build_loop_iteration_domains,
3335         outermost_loop_in_scop, build_scop_iteration_domain,
3336         expand_scalar_variables_ssa_name, get_vdef_before_scop,
3337         limit_scops): Use bb_in_sese_p instead of bb_in_scop_p.
3338         Use loop_in_sese_p instead of loop_in_scop_p.
3339         (new_graphite_bb, gloog): Do not initialize SCOP_BBS_B.
3340         (new_scop, free_scop): Remove SCOP_LOOP2CLOOG_LOOP and SCOP_BBS_B.
3341         (scopdet_basic_block_info): Fix bug in scop detection.
3342         (new_loop_to_cloog_loop_str, hash_loop_to_cloog_loop,
3343         eq_loop_to_cloog_loop): Remove.
3344         (nb_loops_around_loop_in_scop, nb_loop
3345         ref_nb_loops): Moved here...
3346         * graphite.h (ref_nb_loops): ... from here.
3347         (struct scop): Remove bbs_b bitmap and loop2cloog_loop.
3348         (loop_domain_dim, loop_iteration_vector_dim): Remove.
3349         (SCOP_BBS_B, bb_in_scop_p, loop_in_scop_p): Removed.
3350         * testsuite/gcc.dg/graphite/scop-19.c: New
3351
3352 2009-02-04  Paolo Bonzini  <bonzini@gnu.org>
3353             Hans-Peter Nilsson  <hp@axis.com>
3354
3355         PR rtl-optimization/37889
3356         * rtlanal.c (rtx_addr_can_trap_p_1): Add offset and size arguments.
3357         Move offset handling from PLUS to before the switch.  Use new
3358         arguments when considering SYMBOL_REFs too.
3359         (rtx_addr_can_trap_p): Pass dummy offset and size.
3360         (enum may_trap_p_flags): Remove.
3361         (may_trap_p_1): Pass size from MEM_SIZE.
3362
3363         PR rtl-optimization/38921
3364         * loop-invariant.c (find_invariant_insn): Use may_trap_or_fault_p.
3365         * rtl.h (may_trap_after_code_motion_p): Delete prototype.
3366         * rtlanal.c (may_trap_after_code_motion_p): Delete.
3367         (may_trap_p, may_trap_or_fault_p): Pass 0/1 as flags.
3368
3369 2009-02-04  H.J. Lu  <hongjiu.lu@intel.com>
3370
3371         AVX Programming Reference (January, 2009)
3372         * config/i386/sse.md (*vpclmulqdq): New.
3373
3374 2009-02-04  Jakub Jelinek  <jakub@redhat.com>
3375
3376         PR tree-optimization/38977
3377         PR gcov-profile/38292
3378         * calls.c (special_function_p): Disregard __builtin_ prefix.
3379
3380 2009-02-04  Hariharan Sandanagobalane  <hariharan@picochip.com>
3381
3382         * config/picochip/picochip.c (GO_IF_LEGITIMATE_ADDRESS): Disallow
3383         non-indexable addresses even before reload.
3384
3385 2009-02-03  Joseph Myers  <joseph@codesourcery.com>
3386
3387         PR c/29129
3388         * c-decl.c (grokdeclarator): Mark [*] arrays in field declarators
3389         as having variable size.  Do not give an error for unnamed
3390         parameters with [*] declarators.  Give a warning for type names
3391         with [*] declarators and mark them as variable size.
3392         * c-parser.c (c_parser_sizeof_expression): Do not give an error
3393         for sizeof applied to [*] type names.
3394
3395 2009-02-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
3396
3397         PR C++/36607
3398         * convert.c (convert_to_integer): Treat OFFSET_TYPE like INTEGER_TYPE.
3399
3400 2009-02-03  Jakub Jelinek  <jakub@redhat.com>
3401
3402         * gcc.c (process_command): Update copyright notice dates.
3403         * gcov.c (print_version): Likewise.
3404         * gcov-dump.c (print_version): Likewise.
3405         * mips-tfile.c (main): Likewise.
3406         * mips-tdump.c (main): Likewise.
3407
3408 2009-02-03  Joseph Myers  <joseph@codesourcery.com>
3409
3410         PR c/35433
3411         * c-typeck.c (composite_type): Set TYPE_SIZE and TYPE_SIZE_UNIT
3412         for composite type involving a zero-length array type.
3413
3414 2009-02-03  Jakub Jelinek  <jakub@redhat.com>
3415
3416         PR target/35318
3417         * function.c (match_asm_constraints_1): Skip over
3418         initial optional % in the constraint.
3419
3420         PR inline-asm/39059
3421         * c-parser.c (c_parser_postfix_expression): If fixed point is not
3422         supported, don't accept FIXED_CSTs.
3423         * c-decl.c (finish_declspecs): Error if fixed point is not supported
3424         and _Sat is used without _Fract/_Accum.  Set specs->type to
3425         integer_type_node for cts_fract/cts_accum if fixed point is not
3426         supported.
3427
3428 2009-02-02  Catherine Moore  <clm@codesourcery.com>
3429
3430         * sde.h (SUBTARGET_ARM_SPEC): Don't assemble -fpic code as -mabicalls.
3431
3432 2009-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
3433
3434         * config/mips/mips.h (FILE_HAS_64BIT_SYMBOLS): New macro.
3435         (ABI_HAS_64BIT_SYMBOLS): Use it.
3436         (DWARF2_ADDR_SIZE): Use it instead of ABI_HAS_64BIT_SYMBOLS.
3437
3438 2009-02-02  Paul Brook  <paul@codesourcery.com>
3439
3440         * config/arm/arm.md (arm_addsi3): Add r/r/k alternative.
3441
3442 2009-02-02  Jakub Jelinek  <jakub@redhat.com>
3443
3444         PR inline-asm/39058
3445         * recog.h (asm_operand_ok): Add constraints argument.
3446         * recog.c (asm_operand_ok): Likewise.  If it is set, for digits
3447         recurse on matching constraint.
3448         (check_asm_operands): Pass constraints as 3rd argument to
3449         asm_operand_ok.  Don't look up matching constraint here.
3450         * stmt.c (expand_asm_operands): Pass NULL as 3rd argument
3451         to asm_operand_ok.
3452
3453 2009-02-02  Ben Elliston  <bje@au.ibm.com>
3454
3455         * doc/tm.texi (Storage Layout): Fix TARGET_ALIGN_ANON_BITFIELD and