]>
Commit | Line | Data |
---|---|---|
5a195cb5 DJ |
1 | 2003-08-13 Dale Johannesen <dalej@apple.com> |
2 | ||
3 | * config/rs6000/rs6000.md (ctrsi, ctrdi): Reenable | |
4 | handling of decrement-and-branch farther than 32 bits. | |
5 | ||
3a000df0 KC |
6 | 2003-08-12 Kelley Cook <kelleycook@wideopenwest.com> |
7 | ||
8 | * configure.in (make_compare_target): Move test to ... | |
9 | * aclocal.m4 (gcc_AC_PROG_CMP_IGNORE_INITIAL): here. | |
10 | * configure: Regenerate. | |
11 | ||
b4966b1b RS |
12 | 2003-08-12 Richard Sandiford <rsandifo@redhat.com> |
13 | ||
14 | * config/mips/iris6.h: Convert to C90 prototypes. | |
15 | * config/mips/irix6-libc-compat.c: Likewise. | |
16 | * config/mips/mips-protos.h: Likewise. | |
17 | * config/mips/mips.c: Likewise. | |
18 | ||
825d7d64 NN |
19 | 2003-08-12 Nathanael Nerode <neroden@gcc.gnu.org> |
20 | ||
21 | fixinc/inclhack.def (svr4_krnl): Rename from svr4_kernel. Enable | |
22 | for selected machines. Comment heavily. | |
23 | fixinc/fixincl.x: Rebuild. | |
24 | fixinc/tests/base/fs/rfs/rf_cache.h: New file. | |
25 | ||
dfad12b5 RS |
26 | 2003-08-12 Richard Sandiford <rsandifo@redhat.com> |
27 | ||
28 | * config/mips/mips.h: Tweak various comments. | |
29 | * config/mips/mips.c: Likewise. | |
30 | ||
e3f049a8 JW |
31 | 2003-08-11 James E Wilson <wilson@tuliptree.org> |
32 | ||
33 | PR optimization/11319 | |
34 | PR target/10021 | |
35 | * alias.c (find_base_value, case REG): Return 0 not src if no base | |
36 | found. | |
37 | ||
4ac11022 KG |
38 | 2003-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
39 | ||
40 | * gcse.c (gmalloc): Fix last change. | |
41 | ||
ae351e1e RS |
42 | 2003-08-11 Roger Sayle <roger@eyesopen.com> |
43 | ||
44 | * simplify-rtx.c (simplify_binary_operation): Replace calls to | |
45 | gen_rtx_NEG and gen_rtx_NOT with calls to simplify_gen_unary, | |
46 | and calls to gen_rtx_PLUS, gen_rtx_MULT, gen_rtx_LSHIFTRT, | |
47 | gen_rtx_ASHIFT and gen_rtx_AND with calls to simplify_gen_binary. | |
48 | ||
11017cc7 RS |
49 | 2003-08-11 Roger Sayle <roger@eyesopen.com> |
50 | ||
51 | * expr.c (expand_expr): If an ABS_EXPR has a complex type, abort. | |
52 | * c-typeck.c (build_unary_op): COMPLEX_TYPE is not a valid | |
53 | typecode for an ABS_EXPR. | |
54 | ||
55 | * doc/c-tree.texi: Document ABS_EXPR. | |
56 | ||
af7b5c1c RS |
57 | 2003-08-11 Roger Sayle <roger@eyesopen.com> |
58 | ||
59 | * fold-const.c (fold): Optimize any associative floating point | |
60 | operator with -funsafe-math-optimizations, not just MULT_EXPR. | |
61 | ||
e3bf220a KK |
62 | 2003-08-11 Kaz Kojima <kkojima@gcc.gnu.org> |
63 | ||
64 | * config/sh/lib1funcs.asm (__udivdi3): Add .type and .size | |
65 | information in SHmedia case too. | |
66 | (__divdi3, __umoddi3, __moddi3, __init_trampoline, __ic_invalidate): | |
67 | Likewise. | |
68 | (__set_fpscr): Use an access via GOT for PIC case. | |
69 | ||
0c46c5c7 KC |
70 | 2003-08-11 Kelley Cook <kelleycook@wideopenwest.com> |
71 | ||
72 | * configure.in (intermodule): Make switch test more portable. | |
73 | * configure: Regenerate. | |
74 | ||
727793cb KC |
75 | 2003-08-11 Kelley Cook <kelleycook@wideopenwest.com> |
76 | ||
77 | * Makefile.in (cleanstrap): Pass BOOT_CFLAGS to bootstrap. | |
78 | (restrap): Likewise. | |
79 | ||
29da5c92 KG |
80 | 2003-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
81 | ||
9fe15a12 KG |
82 | * gcse.c (gmalloc): Argument is a size_t. Add ATTRIBUTE_MALLOC. |
83 | (grealloc): Size argument is a size_t. | |
84 | (gcalloc): New function. Use throughout in lieu of | |
85 | gmalloc/memset. | |
86 | ||
29da5c92 KG |
87 | * config/avr/avr.c (avr_init_once): Use xcalloc in lieu of |
88 | xmalloc/memset. | |
89 | * config/ia64/ia64.c (ia64_reorg): Likewise. | |
90 | * conflict.c (conflict_graph_new): Likewise. | |
91 | * fixinc/fixincl.c (run_compiles): Likewise. | |
92 | * genattrtab.c (optimize_attrs): Likewise. | |
93 | * genrecog.c (new_decision): Likewise. | |
94 | * haifa-sched.c (schedule_block): Likewise. | |
95 | * hashtable.c (ht_create): Likewise. | |
96 | ||
13fb3a61 BW |
97 | 2003-08-11 Bob Wilson <bob.wilson@acm.org> |
98 | ||
99 | * config/xtensa/lib2funcs.S: Fix whitespace. | |
100 | * config/xtensa/xtensa.md (all insns and expanders): Use brace block | |
101 | syntax where appropriate. Remove unnecessary backslash escapes. | |
102 | Reformat comments and fix some code formatting. | |
103 | (extendqisi2): Rearrange conditional. | |
104 | (*btrue, *bfalse, *ubtrue, *ubfalse, *bittrue, *bitfalse, *masktrue, | |
105 | *maskfalse, movsicc_internal0, movsfcc_internal0): Call abort instead | |
106 | of fatal_insn. | |
107 | ||
f1d5187e RS |
108 | 2003-08-11 Richard Sandiford <rsandifo@redhat.com> |
109 | ||
110 | * config/mips/mips.c: Various formatting fixes. | |
111 | (override_options): Resync -mtune handling with gas. | |
112 | (mips_issue_rate): Rearrange like mips_use_dfa_pipeline_interface. | |
113 | * config/mips/mips.h: More formatting fixes. | |
114 | (mips_abi): Move declaration. | |
115 | * config/mips/mips.md (exception_receiver): Add mode to | |
116 | unspec_volatile. | |
117 | ||
00332c9f AH |
118 | 2003-08-11 Aldy Hernandez <aldyh@redhat.com> |
119 | ||
120 | * config/rs6000/rs6000.c (spe_init_builtins): Handle evsplati and | |
121 | evsplatfi here. | |
122 | (bdesc_1arg): Remove evsplati and evsplatfi. | |
123 | ||
a5c414e0 R |
124 | 2003-08-11 J"orn Rennecke <joern.rennecke@superh.com> |
125 | ||
126 | * dwarf2asm.c (dw2_output_indirect_constant_1): Take user_label_prefix | |
127 | into account. | |
128 | ||
0235f855 KG |
129 | 2003-08-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
130 | ||
131 | * builtins.c (expand_builtin_strcat): Optimize constant strings. | |
132 | ||
4b780675 GDR |
133 | 2003-08-10 Gabriel Dos Reis <gdr@integrable-solutions.net> |
134 | ||
135 | * pretty-print.c (pp_base_indent): Rename from pp_indent. | |
136 | * c-pretty-print.h (pp_c_pretty_print_flag)s: New datatype. | |
137 | (struct c_pretty_print_info): Add more fields. | |
138 | (pp_c_left_paren): Move to c-pretty-print.c. | |
139 | (pp_c_right_paren): Likewise. | |
140 | (pp_c_left_brace): Likewise. | |
141 | (pp_c_right_brace): Likewise. | |
142 | (pp_c_left_bracket): Likewise. | |
143 | (pp_c_right_bracket): Likewise. | |
144 | (pp_c_declarator): Declare. | |
145 | (pp_c_direct_declarator): Likewise. | |
146 | (pp_c_specifier_qualifier_list): Likewise. | |
147 | (pp_c_type_id): Likewise. | |
148 | * c-pretty-print.c (pp_c_cv_qualifier): Change prootype. Rework.. | |
149 | (pp_c_type_qualifier_list): New. | |
150 | (pp_c_pointer): Likewise. | |
151 | (pp_c_parameter_type_list): Likewise. | |
152 | (pp_c_function_definition): Likewise. | |
153 | (pp_c_id_expression): Likewise. | |
154 | (pp_c_simple_type_specifier): Tidy. | |
155 | (pp_c_unary_expression): Likewise. | |
156 | (pp_c_expression): Likewise. | |
157 | (pp_c_pretty_printer_init): Likewise. | |
158 | (pp_c_specifier_qualifier_list): Rework.. | |
159 | (pp_c_abstract_declarator): Likewise. | |
160 | (pp_c_postfix_expression): Likewise. | |
161 | (pp_c_primary_expression): Likewise. | |
162 | (pp_c_cast_expression): Likewise. | |
163 | (pp_c_direct_abstract_declarator): Likewise. | |
164 | (pp_c_storage_class_specifier): Likewise. | |
165 | (pp_c_function_specifier): Likewise. | |
166 | (pp_c_declaration_specifiers): Likewise. | |
167 | (pp_c_direct_declarator): Likewise. | |
168 | (pp_c_declarator): Likewise. | |
169 | (pp_c_declaration): Likewise. | |
170 | (pp_c_statement): Likewise. | |
171 | (pp_c_integer_constant): Rename from pp_c_integer_literal. | |
172 | (pp_c_character_constant): Rename from pp_c_character_literal. | |
173 | (pp_c_bool_constant): Rename from pp_c_bool_literal. | |
174 | (pp_c_enumeration_constant): Rename from pp_c_enumerator. | |
175 | (pp_c_floating_constant): Rename from pp_c_real_literal. | |
176 | (pp_c_constant): Rename from pp_c_literal. | |
177 | * c-lang.c: Include diagnostic.h and c-pretty-print.h | |
178 | (LANG_HOOKS_INITIALIZE_DIAGNOSTITCS): Define. | |
179 | (c_initialize_diagnostics): New. | |
180 | * Makefile.in (c-lang.o): Update dependency. | |
181 | ||
bae39a73 NS |
182 | 2003-08-10 Nathan Sidwell <nathan@codesourcery.com> |
183 | ||
184 | * c-typeck.c (digest_init): Add conversion for VECTOR_TYPEs. | |
185 | ||
3372178c RS |
186 | 2003-08-10 Richard Sandiford <rsandifo@redhat.com> |
187 | ||
188 | * config/mips/mips.c (mips_no_mips16_string): Remove. | |
189 | (override_options): Don't handle -mips16 as part of -mipsN. | |
190 | * config/mips/mips.h (mips_no_mips16_string): Remove declaration. | |
191 | (TARGET_SWITCHES): Add -mips16 and -mno-mips16 entries. | |
192 | (TARGET_OPTIONS): Remove -mno-mips16. | |
193 | ||
1d5565cd RS |
194 | 2003-08-10 Richard Sandiford <rsandifo@redhat.com> |
195 | ||
196 | * config/mips/mips-protos.h (coprocessor_operand): Remove declaration. | |
197 | (coprocessor2_operand): Likewise. | |
198 | * config/mips/mips.c (STAB_CODE_TYPE): Remove. | |
199 | (lookup_name): Remove declaration. | |
200 | (abort_with_insn): Remove. Replace all uses with fatal_insn. | |
201 | (mips16, mips_abicalls): Remove. | |
202 | (mips_char_to_class): Remove initialiser: all entries are NO_REGS. | |
203 | (arith32_operand, large_int, true_reg_or_0_operand): Remove. | |
204 | (coprocessor_operand, coprocessor2_operand): Remove. | |
205 | (override_options): Don't set mips16 or mips_abicalls. | |
206 | (print_operand): Don't expect SIGN_EXTEND operands. | |
207 | (mips_secondary_reload_class): Likewise. | |
208 | (mips_output_conditional_branch): Remove disabled long-branch code. | |
209 | * config/mips/mips.h (call_used_regs): Remove declaration. | |
210 | (may_call_alloca): Likewise. | |
211 | (mips_cpu_attr, mips_abicalls_type, mips_abicalls_attr): Remove. | |
212 | (mips_abicalls, mips16): Remove declarations. | |
213 | (ASM_FINAL_SPEC, LIB_SPEC): Remove. | |
214 | (CC1_SPEC): Remove outdated comment. | |
215 | (MIPS_VERSION, MACHINE_TYPE): Remove. | |
216 | (TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove. | |
217 | (PC_REGNUM, STACK_POINTER_OFFSET): Remove disabled definitions. | |
218 | (STRUCT_VALUE_RETURN_REGNUM, STACK_DYNAMIC_OFFSET): Likewise. | |
219 | (PUSH_ROUNDING): Likewise. | |
220 | (ASSEMBLER_SCRATCH_REGNUM): Remove. | |
221 | * config/mips/mips.md: Replace mips_cpu_attr with mips_tune | |
222 | and mips16 with TARGET_MIPS16. | |
223 | ||
4169c321 PB |
224 | 2003-08-09 Per Bothner <pbothner@apple.com> |
225 | ||
226 | * cppinit.c (cpp_read_main_file): Split out source-independent | |
227 | initialization to separate function ... | |
228 | (cpp_post_options): New function. | |
229 | * cppfiles.c (cpp_stack_file): Rename public name to ... | |
230 | (_cpp_stack_file): New internal function name. | |
231 | * cpplib.h: Update accordingly. | |
232 | * cppinit.c: (cpp_create_reader): Initialize cpp_readers line here. | |
233 | (cpp_read_main_file): Don't initialize line here. | |
234 | * c-opts.c (c_common_post_options): Call cpp_post_options. | |
235 | (c_common_parse_file): Call cpp_read_main_file, not cpp_stack_file. | |
236 | * fix-header.c (read_scan_file): Call cpp_post_options. | |
237 | ||
3d93cdfa PB |
238 | 2003-08-09 Per Bothner <per@bothner.com> |
239 | ||
240 | * c-decl.c (SCOPE_LIST_APPEND): Remove bogus line continuation. | |
241 | ||
dfd8db86 JDA |
242 | 2003-08-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
243 | ||
244 | * pa.c (pa_asm_output_mi_thunk): Fix typo. | |
245 | ||
a54c550f NB |
246 | 2003-08-09 Neil Booth <neil@daikokuya.co.uk> |
247 | ||
248 | PR preprocessor/11839 | |
249 | * cppfiles.c (open_file): Handle ENOTDIR. | |
250 | ||
142ee136 RS |
251 | 2003-08-09 Richard Sandiford <rsandifo@redhat.com> |
252 | ||
253 | PR target/11699 | |
254 | * config/mips/mips.c (override_options): Reject -mabi=eabi -mabicalls. | |
255 | ||
561af708 JDA |
256 | 2003-08-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
257 | ||
258 | * pa.md (extzv, extv, insv): Fix operand limit checks. Fail if | |
259 | source/destination is not a register operand. | |
260 | ||
af1e5518 RH |
261 | 2003-08-08 Richard Henderson <rth@redhat.com> |
262 | ||
263 | PR target/11535 | |
264 | * config/ia64/ia64.c (ia64_initial_elimination_offset): Remove | |
265 | RETURN_ADDRESS_POINTER_REGNUM. | |
266 | (ia64_expand_prologue): Don't frob it. | |
267 | (ia64_output_function_epilogue): Likewise. | |
268 | (ia64_return_addr_rtx): New. | |
269 | (ia64_split_return_addr_rtx): New. | |
270 | * config/ia64/ia64-protos.h: Update. | |
271 | * config/ia64/ia64.h (FIRST_PSEUDO_REGISTER): Decrement. | |
272 | (RETURN_ADDRESS_POINTER_REGNUM): Remove. | |
273 | (GENERAL_REGNO_P): Don't check it. | |
274 | (AR_*_REGNUM): Renumber. | |
275 | (FIXED_REGISTERS): Remove RETURN_ADDRESS_POINTER_REGNUM. | |
276 | (CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS): Likewise. | |
277 | (REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Likewise. | |
278 | (ELIMINABLE_REGS, REGISTER_NAMES): Likewise. | |
279 | (RETURN_ADDR_RTX): Use ia64_return_addr_rtx. | |
280 | * config/ia64/ia64.md (UNSPEC_RET_ADDR): New. | |
281 | (movdi_ret_addr): New. | |
282 | ||
5dddb920 GK |
283 | 2003-08-08 Geoffrey Keating <geoffk@apple.com> |
284 | ||
285 | * config.gcc (powerpc-*-darwin*): Don't build a soft-float multilib. | |
286 | ||
7bb3fbbb RS |
287 | 2003-08-08 Roger Sayle <roger@eyesopen.com> |
288 | ||
289 | * tree.h (get_identifier) Define a macro form of get_identifier | |
290 | that calls get_identifier_with_length when the string is constant. | |
291 | (get_identifier_with_length): Change type of second argument to | |
292 | size_t in prototype. | |
293 | * stringpool.c (get_identifier): Undefine the macro before giving | |
294 | the function definition. | |
295 | (get_identifier_with_length): Change type of second argument to | |
296 | size_t in function definition. | |
297 | * hashtable.c (calc_hash): Change type of second argument to size_t. | |
298 | (ht_lookup): Change type of third argument to size_t. Reorganize | |
299 | to speed-up the cases where the hash table slot is empty, or the | |
300 | first probe matches (i.e. there isn't a collision). | |
301 | * hashtable.h (ht_lookup): Adjust function prototype. | |
302 | ||
32247ce9 BI |
303 | 2003-08-08 Bernardo Innocenti <bernie@develer.com> |
304 | ||
305 | PR target/9697 | |
306 | PR target/11777 | |
307 | * longlong.h (count_leading_zeros): Exclude on __mcpu32__. | |
308 | ||
df38ffef NB |
309 | 2003-08-08 Neil Booth <neil@daikokuya.co.uk> |
310 | ||
311 | * common.opt: Add debug switches. | |
312 | * flags.h (use_gnu_debug_info_extensions): Boolify. | |
313 | * opts.c (write_symbols, debug_info_level, | |
314 | use_gnu_debug_info_extensions): Move from toplev.c. | |
315 | (set_debug_level): New. | |
316 | (common_handle_options): Handle debug switches. | |
317 | (print_help): Display target options directly. | |
318 | * toplev.c (debug_hooks): Don't initialize. | |
319 | (write_symbols, debug_info_level, | |
320 | use_gnu_debug_info_extensions): Move to opts.c. | |
321 | (debug_args, display_help, decode_g_option): Remove. | |
322 | (process_options): Set no debug if level zero here, | |
323 | and no-debug-hooks. Error here if impossible debug format selected. | |
324 | * toplev.h (display_help, decode_g_option): Remove. | |
325 | ||
679c4092 RS |
326 | 2003-08-08 Richard Sandiford <rsandifo@redhat.com> |
327 | ||
328 | * tree.c (get_file_function_name_long): Fix size of alloca() area. | |
329 | ||
c8b5beb8 KC |
330 | 2003-08-08 Kelley Cook <kelleycook@wideopenwest.com> |
331 | ||
332 | * configure.in (gcc_cv_prog_cmp_skip): Flipflop make_compare_target | |
333 | and gcc_cv_prog_cmp_skip. | |
334 | * configure: Regenerate. | |
335 | ||
6b3d1e47 SC |
336 | 2003-08-08 Stan Cox <scox@redhat.com> |
337 | ||
338 | * config/iq2000: New port. | |
339 | * config.gcc (iq2000-*-elf): Added. | |
340 | * doc/install.texi (Specific): Add iq2000 description. | |
341 | ||
cfa9ee99 AS |
342 | 2003-08-08 Andreas Schwab <schwab@suse.de> |
343 | ||
7ce27ffb | 344 | * configure.in (gcc_cv_as_ia64_ltoffx_ldxmov_relocs): Fix quoting |
cfa9ee99 AS |
345 | and insert missing empty argument. |
346 | * configure: Regenerate. | |
347 | ||
cb99b61a JDA |
348 | 2003-08-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
349 | ||
62910663 JDA |
350 | * pa.c (update_total_code_bytes): Use new macro IN_NAMED_SECTION_P. |
351 | (attr_length_millicode_call): Likewise. | |
352 | (attr_length_call): Likewise. Revise some maximum insn lengths. | |
353 | (attr_length_indirect_call): Likewise. | |
354 | (output_call): Fix thinko that added extra nop. | |
355 | * pa.h (IN_NAMED_SECTION_P): Define. | |
356 | ||
cb99b61a JDA |
357 | PR c++/11712 |
358 | * pa-hpux.h, pa-hpux10.h, pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define | |
359 | __STDC_EXT__ when using C++ dialect. | |
360 | ||
97b3d0f0 R |
361 | 2003-08-07 J"orn Rennecke <joern.rennecke@superh.com> |
362 | ||
7d73a2ba R |
363 | * sh.c (calc_live_regs): If the return address pointer is live, |
364 | force pr live. | |
365 | (sh5_schedule_saves): Exclude PR_MEDIA_REG from being a temp register | |
366 | for saves / restores. | |
367 | (sh_expand_epilogue): If sh_media_register_for_return returns a | |
368 | register number, flag the instructions that restores PR_MEDIA_REG | |
369 | as possibly dead. | |
370 | Remove dead update of offset. | |
371 | (sh_get_pr_initial_val): Use UNSPEC_RA if we don't know yet if | |
372 | we can use the result of get_hard_reg_initial_val. | |
373 | * sh.md (UNSPEC_RA): New constant. | |
374 | (movsi_i_lowpart+1): Changed into a define_insn_and_split, named: | |
375 | (load_ra). Handle UNSPEC_RA. | |
376 | (sibcall_media): Use PR_MEDIA_REG. | |
377 | ||
97b3d0f0 R |
378 | * sh.h (CALL_USED_REGISTERS): Include PR_REG and PR_MEDIA_REG. |
379 | * sh.c (calc_live_regs): Use sh_pr_n_sets to determine if pr | |
380 | needs saving on SHmedia. | |
381 | ||
d40c829f UW |
382 | 2003-08-07 Ulrich Weigand <uweigand@de.ibm.com> |
383 | ||
384 | * config/s390/s390.md: Replace all occurrences of \\t with \t. | |
385 | ||
a5342656 RS |
386 | 2003-08-07 Richard Sandiford <rsandifo@redhat.com> |
387 | ||
388 | * local-alloc.c (combine_regs): Fix comment typo. | |
389 | ||
fdc49e10 ZW |
390 | 2003-08-06 Zack Weinberg <zack@codesourcery.com> |
391 | ||
392 | * c-decl.c (builtin_decls): Replace with first_builtin_decl | |
393 | and last_builtin_decl. | |
394 | (c_init_decl_processing): Initialize both. | |
395 | (c_reset_state): Iterate from first_builtin_decl to | |
396 | last_builtin_decl inclusive to reintroduce builtins. | |
397 | ||
a32767e4 DM |
398 | 2003-08-06 David Mosberger <davidm@hpl.hp.com> |
399 | ||
fdc49e10 ZW |
400 | * doc/extend.texi (Function Attributes): Document the IA-64 version |
401 | of the "model" attribute. | |
402 | ||
403 | * config/ia64/ia64.h (SYMBOL_FLAG_SMALL_ADDR): New macro. | |
404 | (SYMBOL_REF_SMALL_ADDR_P): Ditto. | |
405 | (PREDICATE_CODES): Mention "small_addr_symbolic_operand". | |
406 | ||
407 | * config/ia64/ia64.c (ia64_handle_model_attribute): New function. | |
408 | (ia64_encode_section_info): Likewise. | |
409 | (ia64_attribute_table): Add "model" attribute. | |
410 | (TARGET_ENCODE_SECTION_INFO): Define. | |
411 | (small_addr_symbolic_operand): New function. | |
412 | (got_symbolic_operand): Return 0 for a symbolref to an object | |
413 | in the small address area. | |
414 | (enum ia64_addr_area): New type. | |
415 | (small_ident1): New variable. | |
416 | (small_ident2): Likewise. | |
417 | (init_idents): New function. | |
418 | (ia64_get_addr_area): Likewise. | |
419 | (ia64_encode_addr_area): Likewise. | |
420 | (ia64_encode_section_info): Likewise. | |
421 | (ia64_expand_load_address): For symbolic references to objects in | |
422 | the small-address-area, load the address via gen_rtx_SET() (which, | |
423 | eventually, will expand into "addl"). | |
a32767e4 | 424 | |
8b82c528 PB |
425 | 2003-08-06 Per Bothner <pbothner@apple.com> |
426 | ||
427 | * line-map.h (fileline): New typedef. | |
fdc49e10 | 428 | (struct line_map, linemap_add, linemap_lookup): Use it. |
8b82c528 PB |
429 | * input.h (struct location_s): Comment notes that long-term we want |
430 | to replace it by fileline. | |
431 | ||
b869f904 R |
432 | 2003-08-06 J"orn Rennecke <joern.rennecke@superh.com> |
433 | ||
434 | Fix SHcompact exception handling: | |
435 | * sh.c (sh_get_pr_initial_val): If PR is or miight be clobbered | |
436 | by the prologue, return a MEM with return_address_pointer_rtx | |
437 | as address. | |
438 | * sh.h (HARD_REGNO_MODE_OK): PR is OK for SImode. | |
439 | (RETURN_ADDR_OFFSET): Don't define. | |
440 | (SH_DBX_REGISTER_NUMBER): Use SHmedia numbers for SHmedia | |
441 | registers that are visible in compact mode. Show that SHmedia | |
442 | registers still exist in compact mode, even if there are not | |
443 | readily accessible. | |
444 | (ASM_PREFERRED_EH_DATA_FORMAT): Supply DW_EH_PE_indirect | |
445 | if GLOBAL. Use DW_EH_PE_textrel (nominally) for CODE, | |
446 | and DW_EH_PE_pcrel for pic data. | |
447 | (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): If DW_EH_PE_textrel, | |
448 | set SYMBOL_FLAG_FUNCTION in symbol, and actually use | |
449 | DW_EH_PE_pcrel / DW_EH_PE_absptr encoding. | |
450 | (ALLOCATE_INITIAL_VALUE): Put PR on stack if prologue clobbers it. | |
451 | * sh.md (movsi_media-1): New splitter. | |
452 | ||
f2feed2c GP |
453 | 2003-08-06 Graeme Peterson <gp@qnx.com> |
454 | ||
455 | * config/i386/nto.h: New. | |
456 | * config/i386/t-nto: New. | |
457 | * config.gcc (i[34567]86-*-nto-qnx*): New. | |
458 | ||
1cba0a4e PE |
459 | 2003-08-06 Phil Edwards <pme@gcc.gnu.org> |
460 | ||
461 | * doc/install.texi (*-*-solaris2*): Refine configure instructions. | |
462 | ||
980f6e8e AM |
463 | 2003-08-06 Alan Modra <amodra@bigpond.net.au> |
464 | ||
465 | * calls.c (load_register_parameters): Arrange for call_fusage to | |
466 | report the whole register as used when shifting to the msb. | |
467 | ||
d25225de RS |
468 | 2003-08-05 Roger Sayle <roger@eyesopen.com> |
469 | ||
470 | * builtins.c (expand_builtin): When not optimizing, call the library | |
471 | function for all builtins that have library functions (except alloca). | |
472 | ||
b20d9f0c AO |
473 | 2003-08-05 Alexandre Oliva <aoliva@redhat.com> |
474 | ||
475 | * c.opt: Introduce -fworking-directory. | |
476 | * doc/cpp.texi, doc/invoke.texi, doc/cppopts.texi: Document it. | |
477 | * c-common.h (flag_working_directory): Declare. | |
478 | * c-common.c (flag_working_directory): Define. | |
479 | * c-opts.c (c_common_handle_options): Set it. | |
480 | (sanitize_cpp_opts): Set... | |
481 | * cpplib.h (struct cpp_options): ... working_directory option. | |
482 | (struct cpp_callbacks): Add dir_change. | |
483 | * cppinit.c (read_original_filename): Call... | |
484 | (read_original_directory): New. Look for # 1 "directory//" | |
485 | and process it. | |
486 | (cpp_read_main_file): Call dir_change callback if working_directory | |
487 | option is set. | |
488 | * gcc.c (cpp_unique_options): Pass -g*. | |
489 | * c-lex.c (cb_dir_change): New. | |
490 | (init_c_lex): Set dir_change callback. | |
491 | * toplev.c (src_pwd): New static variable. | |
492 | (set_src_pwd, get_src_pwd): New functions. | |
493 | * toplev.h (get_src_pwd, set_src_pwd): Declare. | |
494 | * dbxout.c (dbxout_init): Call get_src_pwd() instead of getpwd(). | |
495 | * dwarf2out.c (gen_compile_unit_die): Likewise. | |
496 | * dwarfout.c (output_compile_unit_die, dwarfout_init): Likewise. | |
497 | ||
e1a4dd13 GDR |
498 | 2003-08-05 Gabriel Dos Reis <gdr@integrable-solutions.net> |
499 | ||
500 | * pretty-print.h (pp_set_line_maximum_length): Make macro. | |
501 | (pp_set_prefix): Likewise. | |
502 | (pp_destroy_prefix): Likewise. | |
503 | (pp_remaining_character_count_for_line): Likewise. | |
504 | (pp_clear_output_area): Likewise. | |
505 | (pp_formatted_text): Likewise. | |
506 | (pp_last_position_in_text): Likewise. | |
507 | (pp_emit_prefix): Likewise. | |
508 | (pp_append_text): Likewise. | |
509 | (pp_flush): Likewise. | |
510 | (pp_format_text): Likewise. | |
511 | (pp_format_verbatim): Likewise. | |
512 | (pp_tree_identifier): Tidy. | |
513 | * pretty-print.c (pp_base_format_text): Rename from pp_format_text. | |
514 | (pp_base_format_verbatim): Rename from pp_format_verbatim. | |
515 | (pp_base_flush): Rename from pp_flush. | |
516 | (pp_base_set_line_maximum_length): Rename from | |
517 | pp_set_line_maximum_length. | |
518 | (pp_base_clear_output_area): Rename from pp_clear_output_area. | |
519 | (pp_base_set_prefix): Rename from pp_set_prefix. | |
520 | (pp_base_destroy_prefix): Rename from pp_destroy_prefix. | |
521 | (pp_base_emit_prefix): Rename from pp_emit_prefix. | |
522 | (pp_base_append_text): Rename from pp_append_text. | |
523 | (pp_base_formatted_text): Rename from pp_formatted_text. | |
524 | (pp_base_last_position_in_text): Rename from pp_last_position_in_text. | |
525 | (pp_base_remaining_character_count_for_line): Rename from | |
526 | pp_remaining_character_count_for_line. | |
527 | * diagnostic.h (diagnostic_format_decoder): Tidy. | |
528 | (diagnostic_flush_buffer): Likewise. | |
529 | * c-pretty-print.h: (pp_c_string_literal): Declare. | |
530 | (pp_c_real_literal): Likewise. | |
531 | (pp_c_integer_literal): Likewise. | |
532 | * c-pretty-print.c (pp_c_char): Use pp_string in lieu of | |
fdc49e10 | 533 | pp_identifier. |
e1a4dd13 GDR |
534 | (pp_c_character_literal): Tidy. |
535 | (pp_c_string_literal): Make public. | |
536 | (pp_c_bool_literal): Likewise. | |
537 | (pp_c_integer_literal): Likewise. | |
538 | (pp_c_real_literal): Likewise. | |
539 | ||
540 | * Makefile.in (C_PRETTY_PRINT_H): New variable. | |
541 | (c-pretty-print.o): Update dependence. | |
542 | ||
8c98b170 CD |
543 | 2003-08-05 Chris Demetriou <cgd@broadcom.com> |
544 | ||
545 | * config/mips/mips.md (fix_truncdfsi2_macro): Properly restore | |
546 | ".set nomacro" state. | |
547 | (fix_truncsfsi2_macro): Likewise. | |
548 | ||
b3c3af2f SB |
549 | 2003-08-05 Steven Bosscher <steven@gcc.gnu.org> |
550 | ||
551 | * tree.h (DID_INLINE_FUNC): Remove macro. | |
552 | (DECL_DECLARED_INLINE_P): Move from c-tree.h and cp/cp-tree.h, | |
553 | add tree check for FUNCTION_DECL. | |
554 | (DECL_ESTIMATED_INSNS): Move from c-common.h and java/java-tree.h. | |
555 | (struct tree_decl): Rename inlined_function_flag to | |
556 | declared_inline_flag. | |
557 | * c-common.h (c_lang_decl): Remove. | |
558 | (DECL_ESTIMATED_INSNS): Remove. | |
559 | * c-tree.h (struct lang_decl): Don't include c_lang_decl. | |
560 | (DECL_DECLARED_INLINE_P): Remove. | |
561 | * c-decl.c (grokdeclarator): Update comment. With -finline-functions, | |
562 | do not reset DECL_DECLARED_INLINE_P. Don't use DID_INLINE_FUNC. | |
563 | (finish_function): Make uninlinable a bool. Fixup call to | |
564 | tree_inlinable_function_p() and fix some code style issues. | |
565 | * cgraph.h (disgread_inline_limits): Fix spelling: `disregard'. | |
566 | * cgraph.c (dump_cgraph): Likewise. | |
567 | * cgraphunit.c (cgraph_decide_inlining): Likewise | |
568 | (cgraph_finalize_compilation_unit): Likewise. | |
569 | Also update call to tree_inlinable_function_p(). | |
570 | (cgraph_default_inline_p): Don't use DID_INLINE_FUNC. Instead | |
571 | look at DECL_DECLARED_INLINE and reverse logic. | |
572 | * print-tree.c (print_node): Likewise. | |
573 | * toplev.c (rest_of_handle_inlining): Don't use DID_INLINE_FUNC. | |
574 | * tree-inline.h (tree_inlinable_function_p): Make a bool. Update | |
575 | prototype. | |
576 | * tree-inline.c (inlinable_function_p): Split up in this function to | |
577 | check for basic inlining inhibiting conditions, and new | |
578 | limits_allow_inlining() function. Warn if inlining is impossible | |
579 | because the inline candidate calls alloca or uses sjlj exceptions. | |
580 | (limits_allow_inlining): this new function to check if the inlining | |
581 | limits are satisfied. Throttle from currfn_max_inline_insns, not from | |
582 | MAX_INLINE_INSNS_SINGLE. The latter only makes sense if | |
583 | MAX_INLINE_INSNS_AUTO and MAX_INLINE_INSNS_SINGLE are equal. | |
584 | Update prototypes. | |
585 | (tree_inlinable_function_p): Make a bool. Update call to | |
586 | inlinable_function_p | |
587 | (expand_call_inline): Use limits_allow_inlining() when not in | |
588 | unit-at-a-time mode to decide on inlining. Don't use DID_INLINE_FUNC, | |
589 | instead see if the function was declared `inline'. | |
590 | ||
ed8395a0 JZ |
591 | 2003-08-05 Josef Zlomek <zlomekj@suse.cz> |
592 | ||
593 | * gcse.c (try_replace_reg): Fix updating of note. | |
594 | ||
02a1994c RS |
595 | 2003-08-04 Roger Sayle <roger@eyesopen.com> |
596 | ||
597 | PR middle-end/11771 | |
598 | * fold-const.c (negate_expr_p <MINUS_EXPR>): Change to match the | |
599 | logic in negate_expr, i.e. we don't invert (A-B) for floating | |
600 | point types unless flag_unsafe_math_optimizations. | |
601 | ||
f2593a66 RS |
602 | 2003-08-04 Roger Sayle <roger@eyesopen.com> |
603 | ||
604 | * fold-const.c (fold <PLUS_EXPR>): Transform x+x into x*2.0. | |
605 | Optimize x*c+x and x+x*c into x*(c+1) and x*c1+x*c2 into x*(c1+c2) | |
606 | for floating point expressions with -ffast-math. | |
607 | (fold <MULT_EXPR>): Don't transform x*2.0 into x+x. | |
608 | * expmed.c (expand_mult): Wrap long line. Expand x*2.0 as x+x. | |
609 | ||
03aa99d4 RS |
610 | 2003-08-04 Roger Sayle <roger@eyesopen.com> |
611 | ||
612 | * c-common.c (flag_noniso_default_format_attributes): Delete. | |
613 | (built_in_attribute): Don't define/undefine DEF_FN_ATTR. | |
614 | (c_attrs_initialized): Delete. | |
615 | (c_common_nodes_and_builtins): Don't test c_attrs_initialized, | |
616 | always call c_init_attributes. | |
617 | (c_init_attributes): Don't define/undefine DEF_FN_ATTR. Don't | |
618 | set c_attrs_initialized when done. | |
619 | (c_common_insert_default_attributes): Delete. | |
620 | * c-common.h (flag_noniso_default_format_attributes): Delete. | |
621 | (c_coomon_insert_default_attributes): Delete prototype. | |
622 | * c-opts.c (set_std_c89, set_std_c99, set_std_cxx98): Dont set | |
623 | flag_noniso_default_format_attributes. | |
624 | ||
625 | * c-decl.c (c_insert_default_attributes): Delete. | |
626 | * c-tree.h (c_insert_default_attributes): Delete prototype. | |
627 | ||
628 | * attribs.c (decl_attributes): Don't call insert_default_attributes | |
629 | langhook. Update function description comment. | |
630 | * langhooks.h (lang_hooks): Remove insert_default_attributes field. | |
631 | * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Delete. | |
632 | * c-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Don't define. | |
633 | * system.h: Poison LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES macro. | |
634 | ||
635 | * objc/objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Don't | |
636 | define. | |
637 | ||
38e596df RS |
638 | 2003-08-04 Richard Sandiford <rsandif@redhat.com> |
639 | ||
640 | * config/mips/mips.c (override_options): Disable -G on targets that | |
641 | have no .section support. | |
642 | (mips_select_section): Use default_select_section for such targets. | |
643 | ||
76d2e2c5 NN |
644 | 2003-08-04 Nathanael Nerode <neroden@gcc.gnu.org> |
645 | ||
646 | * fixinc/inclhack.def (svr4_undeclared_getrnge): Introduce and enable. | |
647 | * fixinc/inclhack.def (static_getrnge): Remove disabled hack. | |
648 | * fixinc/fixincl.x: Rebuild. | |
649 | * fixinc/tests/base/regexp.h: New test. | |
650 | ||
b2734c68 AO |
651 | 2003-08-04 Alexandre Oliva <aoliva@redhat.com> |
652 | ||
653 | * c-ppoutput.c (cb_line_change): Don't skip line changing while | |
654 | parsing macro arguments in the top-level context. | |
655 | ||
4e87a651 NB |
656 | 2003-08-04 Neil Booth <neil@daikokuya.co.uk> |
657 | ||
658 | * config.in: Remove HAVE_LSTAT. | |
659 | * configure, configure.in: Don't test for lstat. | |
660 | ||
21ecc5a7 GDR |
661 | 2003-08-03 Gabriel Dos Reis <gdr@integrable-solutions.net> |
662 | ||
663 | * opts.c (decode_options): Do language-specific initialization for | |
664 | the global diagnostic context. | |
665 | * langhooks-def.h (lhd_initialize_diagnostics): Declare. | |
666 | (LANG_HOOKS_INITIALIZE_DIAGNOSTITCS): New macro. | |
667 | (LANG_HOOKS_INITIALIZER): Adjust. | |
fdc49e10 ZW |
668 | * langhooks.h (struct lang_hooks): Add new field |
669 | initialize_diagnostics. | |
21ecc5a7 GDR |
670 | * langhooks.c (lhd_initialize_diagnostics): Define. |
671 | ||
672 | 2003-08-03 Gabriel Dos Reis <gdr@integrable-solutions.net> | |
673 | ||
674 | * pretty-print.h: Adjust macro definitions. | |
675 | * pretty-print.c (pp_newline): Rename to pp_base_newline. | |
676 | (pp_character): Rename to pp_base_character. | |
677 | (pp_string): Rename to pp_base_string. | |
678 | * c-pretty-print.c (pp_buffer): Move to pretty-print.h | |
679 | (pp_newline): Likewise. Adjust. | |
680 | (pp_c_char): Adjust. | |
681 | ||
d82f81dd KG |
682 | 2003-08-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
683 | ||
684 | * builtins.def (BUILT_IN_ABS, BUILT_IN_IMAXABS, BUILT_IN_LABS, | |
685 | BUILT_IN_LLABS): Move to miscellaneous section. | |
686 | ||
335d03ec NB |
687 | 2003-08-03 Neil Booth <neil@daikokuya.co.uk> |
688 | ||
cb6eb88a | 689 | PR preprocessor/11534 |
335d03ec NB |
690 | * cppexp.c (parse_defined): Warn only if -pedantic. |
691 | ||
76bf2c97 NB |
692 | 2003-08-03 Neil Booth <neil@daikokuya.co.uk> |
693 | ||
694 | * cppfiles.c (stack_file): Use file path. | |
695 | ||
178b2b9f RS |
696 | 2003-08-02 Roger Sayle <roger@eyesopen.com> |
697 | ||
698 | * builtin-types.def (BT_SSIZE): New primitive type. | |
699 | (BT_FN_INT_PTR_CONST_STRING_VALIST_ARG, | |
700 | BT_FN_STRING_CONST_STRING_CONST_STRING_INT, | |
701 | BT_FN_SIZE_STRING_SIZE_CONST_STRING_CONST_PTR, | |
702 | BT_FN_SSIZE_STRING_SIZE_CONST_STRING_VAR): New function types. | |
703 | * builtins.def (BUILT_IN_DCGETTEXT, BUILT_IN_DGETTEXT, | |
704 | BUILT_IN_FSCANF, BUILT_IN_GETTEXT, BUILT_IN_STRFMON, | |
705 | BUILT_IN_STRFTIME, BUILT_IN_VFPRINTF, BUILT_IN_VFSCANF): New builtins. | |
706 | * builtin-attrs.def: Remove DEF_FN_ATTR construct and the last | |
707 | few functions that define default attributes using it. | |
708 | * c-common.c (c_common_insert_default_attributes): Do nothing. | |
709 | ||
710 | * doc/extend.texi: Document these "new" builtins. | |
711 | ||
469146c1 KK |
712 | 2003-08-02 Kaz Kojima <kkojima@gcc.gnu.org> |
713 | ||
714 | * config/sh/linux.h (SUBTARGET_LINK_SPEC): Don't set rpath. | |
715 | (LIB_SPEC): Set -lpthread always when -pthread set. Set -lieee | |
716 | when -mieee-fp set and -shared not set. | |
717 | (SH_FALLBACK_FRAME_FLOAT_STATE): Don't define for SH5. | |
718 | ||
49634b3a NB |
719 | 2003-08-02 Neil Booth <neil@daikokuya.co.uk> |
720 | ||
721 | * cppfiles.c (struct _cpp_file): Rename once_only_next to | |
722 | next_file. Remove import and pragma_once, add once_only. | |
723 | (find_file): Add new file structures to the all_files list. | |
724 | (should_stack_file): Mark #import-ed files once-only, and | |
725 | don't stack them if the file has already been stacked. | |
726 | (_cp_mark_file_once_only): Simplify. | |
727 | * cpphash.h (struct cpp_reader): Rename once_only_files | |
728 | to all_files. Rename saw_pragma_once to seen_once_only. | |
729 | (_cpp_mark_file_once_only): Update prototype. | |
730 | * cpplib.c (do_pragma_once): Update. | |
731 | ||
cf1ee30c NB |
732 | 2003-08-02 Neil Booth <neil@daikokuya.co.uk> |
733 | ||
734 | * cppfiles.c (ENOTDIR): Remove. | |
735 | (open_file_in_dir): Rename find_file_in_dir. Handle errors | |
736 | other than ENOENT here. | |
737 | (once_only_file_p): Rename should_stack_file. | |
738 | (find_file, open_file_failed, read_file_guts): Report errors | |
739 | with full path name. | |
740 | (read_file): Move pch handling to should_stack_file. | |
741 | (should_stack_file): Handle PCH and once-only issues, and | |
742 | reading the file. | |
743 | (stack_file): Don't do file reads. | |
744 | ||
50612a04 ZD |
745 | 2003-08-02 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
746 | ||
747 | * libgcov.c (gcov_exit): Cleanup and fix. | |
748 | * profile.c (compute_value_histograms): Don't try to read profiles | |
749 | that are not present. | |
750 | ||
f6a46818 KG |
751 | 2003-08-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
752 | ||
f53b62e1 KG |
753 | * builtins.def: Categorize. |
754 | ||
f6a46818 KG |
755 | * builtins.def (BUILT_IN_CABS, BUILT_IN_CABSF, BUILT_IN_CABSL): |
756 | Mind fp rounding. | |
757 | (BUILT_IN_FFSL): Use DEF_EXT_LIB_BUILTIN. | |
758 | ||
12550591 AT |
759 | 2003-08-02 Andreas Tobler <a.tobler@schweiz.ch> |
760 | ||
761 | * config.gcc: Enable posix threads by default on darwin. | |
762 | ||
5f77fbd4 JJ |
763 | 2003-08-01 Jakub Jelinek <jakub@redhat.com> |
764 | ||
765 | * cfgcleanup.c (outgoing_edges_match): Check REG_EH_REGION notes | |
766 | even if nehedges1 is 0. | |
767 | ||
f4dbf936 NN |
768 | 2003-08-01 Nathanael Nerode <neroden@gcc.gnu.org> |
769 | ||
770 | * fixinc/fixfixes.c, fixinc/fixlib.c, fixinc/fixlib.h, | |
771 | fixinc/fixtests.c, fixinc/procopen.c, fixinc/server.c, | |
772 | fixinc/server.h, fixinc/fixincl.c: ANSIfy function prototypes | |
773 | and defintions. | |
774 | ||
775 | * fixinc/inclhack.def (broken_cabs): Make matching more generous. | |
776 | * fixinc/fixincl.x: Regenerate. | |
777 | * fixinc/tests/base/math.h: Regenerate to match test_text change. | |
778 | ||
c76becbd RO |
779 | 2003-08-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
780 | ||
781 | * ggc-common.c (gt_pch_restore): Case MAP_FAILED to void *. | |
782 | ||
f920765d RK |
783 | 2003-08-01 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
784 | ||
785 | * except.c (sjlj_emit_dispatch_table): Use ptr_mode, not Pmode, | |
786 | for accesses to exc_ptr. | |
787 | ||
8e5f33ff GK |
788 | 2003-08-01 Geoffrey Keating <geoffk@apple.com> |
789 | ||
790 | * doc/sourcebuild.texi (Front End Directory): Don't make references | |
791 | to libsubdir, it's not part of the interface to frontends. | |
792 | * doc/install.texi (Configuration): Help users read faster by saying | |
793 | that GCC's configure options are the standard autoconf ones. | |
794 | Mention --libdir. Update the default rules for finding the | |
795 | assembler. Don't use libsubdir since we haven't said what it means. | |
796 | (Specific): In the Solaris 7 notes, update the place to put the | |
797 | assembler. | |
798 | * doc/invoke.texi: Update lib/gcc-lib to lib/gcc. | |
799 | * doc/cpp.texi (Search Path): Actually, the search path | |
800 | depends on libdir, which can relocate with cpp. | |
801 | * doc/tm.texi (Driver): Don't document STANDARD_EXEC_PREFIX, it's | |
802 | now a private interface between the Makefile and the driver. | |
803 | ||
75c20980 RH |
804 | 2003-08-01 Richard Henderson <rth@redhat.com> |
805 | ||
806 | * system.h: Poison ASM_SIMPLIFY_DWARF_ADDR. | |
807 | ||
808 | * varasm.c (lookup_constant_def): New function. | |
809 | * rtl.h (lookup_constant_def): Declare it. | |
fdc49e10 | 810 | * dwarf2out.c (loc_descriptor_from_tree): Use it. |
75c20980 RH |
811 | Use targetm.delegitimize_address, not ASM_SIMPLIFY_DWARF_ADDR. |
812 | ||
f91f41b2 ZW |
813 | 2003-08-01 Zack Weinberg <zack@codesourcery.com> |
814 | ||
815 | * c-decl.c (gettags, pushdecl_function_level): Delete. | |
816 | (last_function_parm_vars): Rename last_function_parm_others. | |
817 | (current_function_parm_vars): Rename current_function_parm_others. | |
818 | (struct c_scope): Rewrite comment explaining this data structure. | |
819 | Add names_last, blocks_last, parms_last fields. Rename | |
820 | incomplete_list to incomplete. | |
821 | (SCOPE_LIST_APPEND, SCOPE_LIST_CONCAT): New macros. | |
822 | (poplevel): Ignore second argument. No need to nreverse | |
823 | anything. Restructure such that each list is processed | |
824 | exactly once. Use 'const location_t *locus' syntactic sugar | |
825 | variable where useful. Issue unused variable warnings | |
826 | ourselves, do not rely on function.c. | |
827 | (insert_block, pushdecl, bind_label): Use SCOPE_LIST_APPEND. | |
828 | (pushdecl_top_level): Likewise. Don't call duplicate_decls. | |
829 | (implicitly_declare): decl cannot be error_mark_node. | |
830 | (undeclared_variable): Manipulate scope structure directly. | |
831 | (c_make_fname_decl): Likewise. | |
832 | (getdecls, c_init_decl_processing): Fix comment. | |
833 | (mark_forward_parm_decls): Use SCOPE_LIST_CONCAT. No need | |
834 | for 'last' variable. | |
835 | (grokparms): No need to nreverse parms list. | |
836 | (store_parm_decls_newstyle): Set up the parms_last and | |
837 | names_last fields of the new scope too. | |
838 | (store_parm_decls_oldstyle): Can assume DECL_WEAK is not set | |
839 | on parms to begin with; check this under ENABLE_CHECKING. Set | |
840 | up parms_last. | |
841 | (check_for_loop_decls): Refer directly to current_scope->tags. | |
842 | Use consistent quote style in diagnostics. | |
843 | (c_write_global_declarations): The names list is not backward. | |
844 | ||
845 | * c-common.h: Don't prototype gettags. | |
846 | * c-parse.in: Call poplevel with second argument 0 always. | |
847 | ||
a8eb1db5 KG |
848 | 2003-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
849 | ||
850 | * builtins.def: Resort builtins. | |
851 | ||
da7cfe13 KG |
852 | 2003-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
853 | ||
854 | * builtins.def (DEF_GCC_BUILTIN, DEF_LIB_BUILTIN, | |
855 | DEF_EXT_LIB_BUILTIN, DEF_C99_BUILTIN, DEF_C99_C90RES_BUILTIN): | |
856 | Prepend "__builtin_" onto NAME with string concatenation. Remove | |
857 | explicit "__builtin_" from each macro call. | |
858 | ||
859 | Reformat entire file. | |
860 | ||
ea8eb0b9 KG |
861 | 2003-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
862 | ||
863 | * builtins.def (ATTR_MATHFN_ERRNO, ATTR_MATHFN_FPROUNDING, | |
864 | ATTR_MATHFN_FPROUNDING_ERRNO): New macros. Use throughout. | |
865 | ||
61152e48 | 866 | 2003-08-01 Andreas Krebbel <krebbel1@de.ibm.com> |
3ef093a8 AK |
867 | |
868 | * config/s390/s390.c (s390_select_ccmode): Do not attempt to use CCL, | |
869 | CCL1, or CCL2 modes with floating point operations. | |
870 | ||
871 | * config/s390/s390.md ("*addsf3_cc", "*addsf3_cconly", "*adddf3_cc", | |
872 | "*adddf3_cconly", "*subsf3_cc", "*subsf3_cconly", "*subdf3_cc", | |
873 | "*subdf3_cconly"): New insns. | |
874 | ("*negabssi2", "*negabsdi2", "*negabsdf2", "*negabssf2"): Likewise. | |
875 | ||
bf42e45b NB |
876 | 2003-08-01 Neil Booth <neil@daikokuya.co.uk> |
877 | ||
878 | * Makefile.in: Refine dependencies. | |
879 | * c-opts.c (c_common_handle_option): Do nothing for -Wimport. | |
880 | * c.opt: Update help for -Wimport. | |
881 | * cppfiles.c: Include hashtab.h. Update comments. | |
882 | (stack_file): Read the file before updating dependencies. | |
883 | (once_only_file_p): Be smarter about marking once-only files. | |
884 | (_cpp_mark_file_once_only): Correct the check for existence on | |
885 | the list. | |
886 | (open_file_failed): Use name not path, which is NULL. | |
887 | * cpphash.h: Don't include hashtab.h. | |
888 | (struct _cpp_file): Remove. | |
889 | (struct cpp_reader): Update. | |
890 | * cppinit.c (cpp_create_reader): Don't initialize warn_import. | |
891 | * cpplib.h (struct cpp_options): Remove warn_import. | |
892 | (cpp_simplify_path): Remove. | |
893 | ||
a5bcc582 NS |
894 | 2003-08-01 Nathan Sidwell <nathan@codesourcery.com> |
895 | ||
896 | PR c++/11295 | |
897 | * doc/extend.texi (Statement Expressions): Document C++ semantics. | |
898 | ||
2fdd01a0 ST |
899 | 2003-07-31 SUGIOKA Toshinobu <sugioka@itonet.co.jp> |
900 | ||
901 | * config.gcc (sh-*-linux*): Do not override sh/t-linux with sh/t-le. | |
902 | ||
3c260e1d KG |
903 | 2003-07-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
904 | ||
905 | * builtin-types.def: Use `LONGDOUBLE' instead of `LONG_DOUBLE' | |
906 | throughout. | |
907 | * builtins.def: Likewise. | |
908 | ||
40209195 JM |
909 | 2003-07-31 Jason Merrill <jason@redhat.com> |
910 | ||
911 | * Makefile.in (bubblestrap): Don't require a previous full | |
912 | bootstrap. | |
913 | ||
914 | * expr.c (mostly_zeros_p): No longer static. | |
915 | * tree.h: Declare it. | |
916 | * stmt.c (resolve_asm_operand_names): Don't copy the pattern | |
917 | unless we need to do substitutions. | |
918 | ||
2598550f RS |
919 | 2003-07-31 Roger Sayle <roger@eyesopen.com> |
920 | ||
921 | * fold-const.c (fold <MULT_EXPR>): Optimize both x*pow(x,c) and | |
922 | pow(x,c)*x as pow(x,c+1) for constant values c. Optimize x*x | |
923 | as pow(x,2.0) when the latter will be expanded back into x*x. | |
924 | (fold <RDIV_EXPR>): Optimize pow(x,c)/x as pow(x,c-1). | |
925 | * builtins.c (expand_builtin_pow): Ignore flag_errno_math as | |
926 | pow can never set errno when used with an integer exponent. | |
927 | Always use expand_powi when exponent is -1, 0, 1 or 2. | |
928 | (fold_builtin): Don't rewrite pow(x,2.0) as x*x nor pow(x,-2.0) | |
929 | as 1.0/(x*x). This avoids unbounded recursion as we now prefer | |
930 | the pow forms of these expressions. | |
931 | ||
a8ee6e2d GK |
932 | 2003-07-31 Geoffrey Keating <geoffk@apple.com> |
933 | ||
934 | * Makefile.in (libexecdir): New. | |
935 | (libsubdir): Use gcc instead of gcc-lib. | |
936 | (libexecsubdir): New. | |
937 | (ORDINARY_FLAGS_TO_PASS): Add libexecsubdir. | |
938 | (DRIVER_DEFINES): Add STANDARD_LIBEXEC_PREFIX, use gcc instead of | |
939 | gcc-lib. | |
940 | (installdirs): Make libexecsubdir. | |
941 | (install-common): Put executables in libexecsubdir. | |
942 | (itoolsdir): Use libexecsubdir. | |
943 | (itoolsdatadir): New. | |
944 | (install-mkheaders): Separate data files and executables. | |
945 | (install-collect2): Put executables in libexecsubdir. | |
946 | (uninstall): Remove libexecsubdir. | |
947 | * mkheaders.in: Update for new arrangement of files. | |
948 | (libexecdir): New. | |
949 | (libexecsubdir): New. | |
950 | (itoolsdir): Use libexecsubdir. | |
951 | (itoolsdatadir): New. | |
952 | * gcc.c (gcc_libexec_prefix): New. | |
953 | (STANDARD_LIBEXEC_PREFIX): Use gcc instead of gcc-lib. | |
954 | (standard_exec_prefix_1): Use libexec. | |
955 | (standard_exec_prefix_2): New. | |
956 | (standard_libexec_prefix): New. | |
957 | (process_command): Update for new arrangement of files. Compute | |
958 | gcc_libexec_prefix. Update for change from gcc-lib to gcc. | |
959 | ||
631099c9 NN |
960 | 2003-07-31 Nathanael Nerode <neroden@gcc.gnu.org> |
961 | ||
962 | * inclhack.def (stdio_va_list): Avoid bogus replacement which | |
963 | triggers on Interix. | |
964 | * fixincl.x: Regenerate. | |
965 | ||
a132b6a8 JJ |
966 | 2003-07-31 Jakub Jelinek <jakub@redhat.com> |
967 | ||
968 | * config/i386/i386.c (legitimate_pic_address_disp_p): Disallow TLS | |
969 | SYMBOL_REFs not inside UNSPEC even in PLUS rtx. | |
970 | ||
c67b2a58 RK |
971 | 2003-07-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
972 | ||
973 | * dwarf2out.c (loc_descriptor_from_tree, case CONSTRUCTOR): New case. | |
974 | ||
40e941af PB |
975 | 2003-07-31 Per Bothner <pbothner@apple.com> |
976 | ||
977 | * opts.c (in_fnames, num_in_fnames): Moved here from c-opts. | |
978 | (add_input_filename): New function. | |
979 | (handle_options): Call add_input_filename directly instead of | |
980 | with a lang hook. | |
981 | * opts.h (in_fnames, num_in_fnames): Moved here. | |
982 | (add_input_filename): Declare. | |
983 | * c-decl.c: Need to #include opts.h. | |
984 | * Makefile.in (c-decl.o): Also depends on opts.h. | |
985 | * c-opts.c (in_fnames, num_in_fnames): Moved to opts.c. | |
986 | (c_common_handle_filename): Replaced by add_input_filename. | |
987 | * c-common.h (in_fnames, num_in_fnames, c_common_handle_filename): | |
988 | Remove. | |
989 | * langhooks.h (struct lang_hooks): Remove handle_filename hook. | |
990 | * langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME): Remove macro. | |
991 | (LANG_HOOKS_INITIALIZER): Remove use of LANG_HOOKS_HANDLE_FILENAME. | |
992 | * c-lang.c (LANG_HOOKS_HANDLE_FILENAME): Remove macro. | |
993 | ||
9143c6b7 ZD |
994 | 2003-07-31 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
995 | ||
996 | * combine.c (try_combine): Set JUMP_LABEL for newly created | |
997 | unconditional jump. | |
998 | ||
b7de5864 ZD |
999 | 2003-07-31 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1000 | ||
1001 | * fold-const.c (fold): Fold some comparisons of bit operations. | |
1002 | ||
fdacb904 JH |
1003 | Thu Jul 31 19:49:53 CEST 2003 Jan Hubicka <jh@suse.cz> |
1004 | ||
1005 | * cgraph.c (create_edge): Fix typo. | |
1006 | * i386.c (pic_symbolic_operand): Reorder tests. | |
1007 | ||
8100063e NS |
1008 | 2003-07-31 Nathan Sidwell <nathan@codesourcery.com> |
1009 | ||
1010 | * doc/gcov.texi (Invoking Gcov): Describe output name mangling | |
1011 | more fully. | |
1012 | (Gcov Data Files): Update. | |
1013 | ||
2a4e8ebc RO |
1014 | 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1015 | ||
1016 | * config.gcc (alpha*-dec-osf[45]*): Enable POSIX thread support by | |
1017 | default. | |
1018 | ||
1019 | * gthr-posix.c: New file. | |
1020 | * gthr-posix.h: Define _REENTRANT if missing. | |
1021 | Make _LIBOBJC #pragma weak visible with _LIBOBJC_WEAK. | |
1022 | ||
1023 | * config/alpha/t-osf4 (SHLIB_LINK): Hide dummy functions provided | |
1024 | by gthr-posix.o. | |
1025 | * config/alpha/t-osf-pthread: New file. | |
1026 | ||
1027 | * fixinc/inclhack.def (alpha_pthread): New fix. | |
1028 | * fixinc/fixincl.x: Regenerate. | |
1029 | * fixinc/tests/base/pthread.h [ALPHA_PTHREAD_CHECK]: New testcase. | |
1030 | ||
1031 | * doc/install.texi (alpha*-dec-osf*): Remove --enable-threads | |
1032 | warning. | |
1033 | Fixes PR bootstrap/9330. | |
1034 | ||
689a714d RO |
1035 | 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1036 | ||
1037 | * configure.in (gcc_cv_ld_hidden): Also disable on mips-sgi-irix5* | |
1038 | without GNU ld. | |
1039 | Update comment. | |
1040 | * configure: Regenerate. | |
1041 | ||
caf819ae VM |
1042 | 2003-07-31 Vladimir Makarov <vmakarov@redhat.com> |
1043 | ||
f91f41b2 ZW |
1044 | * sched-deps.c (sched_analyze_2): Prevent interblock move of CC0 |
1045 | setter. | |
caf819ae | 1046 | |
1aa0a5f6 RS |
1047 | 2003-07-30 Roger Sayle <roger@eyesopen.com> |
1048 | ||
1049 | * builtins.def: Alphabetize. | |
1050 | ||
4bd0bee9 MK |
1051 | 2003-07-30 Matt Kraai <kraai@alumni.cmu.edu> |
1052 | ||
1053 | * doc/c-tree.texi: Normalize spellings of "lowercase" and | |
1054 | "uppercase". | |
1055 | * doc/cpp.texi: Likewise. | |
1056 | * doc/md.texi: Likewise. | |
1057 | * doc/rtl.texi: Likewise. | |
1058 | * doc/tm.texi: Likewise. | |
1059 | ||
7f02cb5c MK |
1060 | 2003-07-30 Matt Kraai <kraai@alumni.cmu.edu> |
1061 | ||
1062 | * objc/Make-lang.in (objc.stage1, objc.stage2, objc.stage3) | |
1063 | (objc.stage4, objc.stageprofile, objc.stagefeedback): Remove moves | |
1064 | of cc1obj. | |
1065 | ||
498887c8 CD |
1066 | 2003-07-30 Chris Demetriou <cgd@broadcom.com> |
1067 | ||
1068 | * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Undef these | |
1069 | macros before defining them. | |
1070 | ||
10bbf137 UW |
1071 | 2003-07-31 Ulrich Weigand <uweigand@de.ibm.com> |
1072 | ||
f91f41b2 | 1073 | * config/s390/s390.md (UNSPEC_ROUND, UNSPEC_SETHIGH, |
10bbf137 UW |
1074 | UNSPECV_BLOCKAGE): New constants. |
1075 | ("*sethighqisi", "*sethighhisi", "*sethiqidi_64", "*sethiqidi_31", | |
1076 | "*extractqi", "*extracthi", "*extendqidi2" splitter, "*extendqisi2" | |
1077 | splitter, "fix_truncdfdi2_ieee", "fix_truncdfsi2_ieee", | |
1078 | "fix_truncsfdi2", "fix_truncsfsi2", "blockage"): Use them. | |
1079 | ||
1080 | (all insns and expanders): Write output control string as brace block | |
1081 | where appropriate. Remove \-escapes for doublequote characters. | |
1082 | ||
3f2eae23 JH |
1083 | Thu Jul 31 01:04:19 CEST 2003 Jan Hubicka <jh@suse.cz> |
1084 | ||
1085 | * gcse.c (insert_store): Fix typo in previous patch. | |
1086 | ||
f0babc9a NB |
1087 | 2003-07-30 Neil Booth <neil@daikokuya.co.uk> |
1088 | ||
1089 | * cppfiles.c (stack_file, open_file_failed): Use path for deps. | |
1090 | ||
edeac5de AK |
1091 | 2003-07-30 Andi Kleen <ak@muc.de> |
1092 | ||
1093 | * loop.c (check_dbra_loop): Allow LTU in the loop condition. | |
1094 | ||
6e885ee3 ZD |
1095 | 2003-07-30 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1096 | ||
1097 | * combine.c (distribute_notes): Cancel REG_VALUE_PROFILE notes. | |
1098 | * gcov-io.h (GCOV_FIRST_VALUE_COUNTER, GCOV_LAST_VALUE_COUNTER, | |
1099 | GCOV_N_VALUE_COUNTERS): New. | |
1100 | * profile.c (compute_value_histograms): New static function. | |
1101 | (branch_prob): Read back the value histograms. | |
1102 | * rtl.c (reg_note_name): Add name for REG_VALUE_PROFILE note. | |
1103 | * rtl.h (enum reg_note): Add REG_VALUE_PROFILE note. | |
1104 | * value-prof.c: Add comment on reading the profile. | |
1105 | * value-prof.h (COUNTER_FOR_HIST_TYPE, HIST_TYPE_FOR_COUNTER): New. | |
1106 | * doc/invoke.texi (-fprofile-values): Document behavior with | |
1107 | -fbranch-probabilities. | |
1108 | ||
0e6cb2cb DE |
1109 | 2003-07-30 David Edelsohn <edelsohn@gnu.org> |
1110 | ||
1111 | * longlong.h (PowerPC umul_ppmm): Do not test __vxworks__. | |
1112 | ||
656ec3b1 UW |
1113 | 2003-07-30 Ulrich Weigand <uweigand@de.ibm.com> |
1114 | ||
1115 | * config/s390/s390.h (EH_RETURN_HANDLER_RTX): Compute offset | |
1116 | symbolically. | |
1117 | ||
a0c8285b JH |
1118 | Wed Jul 30 19:12:10 CEST 2003 Jan Hubicka <jh@suse.cz> |
1119 | ||
1120 | * gcse.c (insert_store): Ignore fake edges. | |
1121 | ||
1122 | * c-common.c (flag_vtable_gc): Kill. | |
1123 | * c-common.g (flag_vtable_gc): Kill. | |
1124 | * c-opts (c_common_handle_option): Kill. | |
1125 | * c.opt (fvtable-gc): Kill. | |
1126 | * final.c (final_scan_insn): Do not call assemble_vtable_entry. | |
1127 | * output.h (assemble_vtable_entry, assemble_vtable_inherit): Kill. | |
1128 | * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): Kill. | |
1129 | ||
1130 | * invoke.texi (-ftable-gc): Kill documentation. | |
1131 | ||
1132 | * tree-inline.c (inlinable_function_p): Don't set DECL_UNINLINABLE | |
1133 | just because function body is missing. | |
1134 | ||
1135 | * i386.c (pic_symbolic_operand): Properly detect RIP relative unspecs. | |
1136 | ||
b2e863b8 RM |
1137 | 2003-07-30 Ranjit Mathew <rmathew@hotmail.com> |
1138 | ||
1139 | * unwind-sjlj.c: Fix typo in file description. | |
1140 | ||
9206d736 AM |
1141 | 2003-07-30 Alan Modra <amodra@bigpond.net.au> |
1142 | ||
1143 | * calls.c (load_register_parameters): When shifting reg sized values | |
1144 | to the msb, move the value to a reg first. | |
1145 | ||
9074464c GK |
1146 | 2003-07-29 Geoffrey Keating <geoffk@apple.com> |
1147 | ||
1148 | * cppfiles.c (stack_file): Leave filename as "" rather than "<stdin>". | |
1149 | * line-map.h (linemap_add): Update comments. | |
1150 | * line-map.c (linemap_add): Update comments, interpret zero-length | |
1151 | filename as "<stdin>". | |
1152 | ||
e55e4f68 NN |
1153 | 2003-07-29 Nathanael Nerode <neroden@gcc.gnu.org> |
1154 | ||
1155 | * mkinstalldirs: Import autoconf 2.57 / automake 1.7 version. | |
1156 | ||
55d54003 ZW |
1157 | 2003-07-29 Zack Weinberg <zack@codesourcery.com> |
1158 | ||
1159 | * c-decl.c (last_function_parm_vars, current_function_parm_vars): | |
1160 | New static variables. | |
1161 | (struct c_scope): Add parms and warned_forward_parm_decls | |
1162 | fields; remove parm_order. | |
1163 | (storedecls, storetags): Delete. | |
1164 | (poplevel): Also clear bindings on the parms chain. | |
1165 | (pushdecl): Handle forward declarations of parameters, and | |
1166 | chain PARM_DECLs on the parms list, not the names list. | |
1167 | (lookup_name_current_level): Check for PARM_DECLs on the parms | |
1168 | list too. | |
1169 | (push_parm_decl): Don't update parm_order. | |
1170 | (clear_parm_order): Rename mark_forward_parm_decls. Issue the | |
1171 | warning, only once per parameter list, and set TREE_ASM_WRITTEN | |
1172 | on the decls here. Then move the forward decls to the names list. | |
1173 | (grokparms): Set last_function_parm_vars. | |
1174 | (get_parm_info): Don't use gettags or getdecls. No need to | |
1175 | extract non-parms from the parms list, or reorganize the parms | |
1176 | list. Feed nonparms back in the TREE_TYPE of the list node | |
1177 | returned. Issue only one error per parameter list for "void" | |
1178 | appearing more than once in said parameter list. Collapse | |
1179 | parmlist_tags_warning into this function to avoid double scan | |
1180 | of tags list. | |
1181 | (start_function): Set current_function_parm_vars. | |
1182 | (store_parm_decls_newstyle): Bypass pushdecl, manipulate scope | |
1183 | directly. Get non-parms from current_function_parm_vars; no | |
1184 | need to extract them from the parms chain. Properly bind tags | |
1185 | in the new scope. | |
1186 | (store_parm_decls_oldstyle): No need to extract non-parameters | |
1187 | from the parms chain, nor to store them back afterward. Move | |
1188 | declaration to top of function, restructure code reordering | |
1189 | DECL_ARGUMENTS. | |
1190 | (store_parm_decls): No need to save and restore warn_shadow. | |
1191 | * c-parse.in: Don't call parmlist_tags_warning nor | |
1192 | clear_parm_order. Call mark_forward_parm_decls when forward | |
1193 | parm decls are encountered. | |
1194 | * c-tree.h: Prototype mark_forward_parm_decls; not | |
1195 | clear_parm_order or parmlist_tags_warning. | |
1196 | ||
18c81520 GK |
1197 | 2003-07-29 Geoffrey Keating <geoffk@apple.com> |
1198 | ||
1199 | * c-common.c (allow_pch): Remove. | |
1200 | * c-common.h (allow_pch): Remove. | |
1201 | (c_common_no_more_pch): Declare. | |
1202 | * c-lex.c (c_lex): Call c_common_no_more_pch when appropriate. | |
1203 | * c-pch.c: Include hosthooks.h. | |
1204 | (c_common_valid_pch): Don't check allow_pch. | |
1205 | (c_common_read_pch): Clear valid_pch to prevent reading PCH files. | |
1206 | (c_common_no_more_pch): New. | |
1207 | * ggc-common.c: Include hosthooks.h. | |
1208 | (gt_pch_save): Call gt_pch_get_address. | |
1209 | (gt_pch_restore): Call gt_pch_use_address. | |
1210 | * hooks.c (hook_voidp_size_t_null): New. | |
1211 | (hook_bool_voidp_size_t_false): New. | |
1212 | * hooks.h (hook_voidp_size_t_null): New. | |
1213 | (hook_bool_voidp_size_t_false): New. | |
1214 | * hosthooks-def.h (HOST_HOOKS_GT_PCH_GET_ADDRESS): New. | |
1215 | (HOST_HOOKS_GT_PCH_USE_ADDRESS): New. | |
1216 | (HOST_HOOKS_INITIALIZER): Add HOST_HOOKS_GT_PCH_GET_ADDRESS, | |
1217 | HOST_HOOKS_GT_PCH_USE_ADDRESS. | |
1218 | * hosthooks.h (struct host_hooks): Add gt_pch_get_address, | |
1219 | gt_pch_use_address. | |
1220 | * doc/hostconfig.texi (Host Common): Document | |
1221 | HOST_HOOKS_GT_PCH_GET_ADDRESS, HOST_HOOKS_GT_PCH_USE_ADDRESS. | |
1222 | * Makefile.in (c-pch.o): Depend on hosthooks.h. | |
1223 | (ggc-common.o): Likewise. | |
1224 | ||
1225 | * config/rs6000/host-darwin.c (HOST_HOOKS_GT_PCH_GET_ADDRESS): Define. | |
1226 | (HOST_HOOKS_GT_PCH_USE_ADDRESS): Define. | |
1227 | (pch_address_space): New. | |
1228 | (darwin_rs6000_gt_pch_get_address): New. | |
1229 | (darwin_rs6000_gt_pch_use_address): New. | |
1230 | ||
8f9b4009 NB |
1231 | 2003-07-29 Neil Booth <neil@daikokuya.co.uk> |
1232 | ||
cb6eb88a NB |
1233 | PR preprocessor/11569 |
1234 | PR preprocessor/11649 | |
8f9b4009 NB |
1235 | * Makefile.in (LIBCPP_DEPS): Add HASHTAB_H. |
1236 | * cppfiles.c: Completely rewritten. | |
1237 | * c-incpath.c (free_path, remove_duplicates, heads, tails, add_path): | |
1238 | struct cpp_path is now struct cpp_dir. | |
1239 | (remove_duplicates): Don't simplify path names. | |
1240 | * c-opts.c (c_common_parse_file): cpp_read_next_file renamed | |
1241 | cpp_stack_file. | |
1242 | * cpphash.h: Include hashtab.h. | |
1243 | (_cpp_file): Declare. | |
1244 | (struct cpp_buffer): struct include_file is now struct _cpp_file, | |
1245 | and struct cpp_path is now struct cpp_dir. Rename members. | |
1246 | (struct cpp_reader): Similarly. New members once_only_files, | |
1247 | file_hash, file_hash_entries, quote_ignores_source_dir, | |
1248 | no_search_path, saw_pragma_once. Remove all_include_files and | |
1249 | max_include_len. Make some members bool. | |
1250 | (_cpp_mark_only_only): Renamed from _cpp_never_reread. | |
1251 | (_cpp_stack_file): Renamed from _cpp_read_file. | |
1252 | (_cpp_stack_include): Renamed from _cpp_execute_include. | |
1253 | (_cpp_init_files): Renamed from _cpp_init_includes. | |
1254 | (_cpp_cleanup_files): Renamed from _cpp_cleanup_includes. | |
1255 | * cppinit.c (cpp_create_reader): Initialize no_search_path. Update. | |
1256 | (cpp_read_next_file): Rename and move to cppfiles.c. | |
1257 | (cpp_read_main_file): Update. | |
1258 | * cpplib.c (run_directive): Update for renamed members. | |
1259 | (do_include_common, _cpp_pop_buffer): Update. | |
1260 | (do_import): Undeprecate #import. | |
1261 | (do_pragma_once): Undeprecate. Use _cpp_mark_file_once_only. | |
1262 | * cpplib.h: Remove file_name_map_list. | |
1263 | (cpp_options): Remove map_list. | |
1264 | (cpp_dir): Rename from cpp_path. New datatype for name_map. | |
1265 | (cpp_set_include_chains, cpp_stack_file, cpp_included): Update. | |
1266 | ||
a6400add PE |
1267 | 2003-07-29 Phil Edwards <pme@gcc.gnu.org> |
1268 | ||
1269 | * Makefile.in: Make stamp-objdir safe for parallel builds. | |
1270 | ||
b2790407 PE |
1271 | 2003-07-29 Phil Edwards <pme@gcc.gnu.org> |
1272 | ||
1273 | * Makefile.in (stmp-docobjdir): New target; ensure $docobjdir exists. | |
1274 | (info): Depend on stmp-docobjdir. | |
1275 | ||
8e3940b2 RO |
1276 | 2003-07-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1277 | ||
1278 | * configure: Regenerate. | |
1279 | ||
987bf56f JH |
1280 | Tue Jul 29 19:24:49 CEST 2003 Jan Hubicka <jh@suse.cz> |
1281 | ||
1282 | PR C++/11131 | |
1283 | * tree-inline.c (expand_call_inline): Always call inlinable_function_p | |
1284 | in !unit-at-a-time mode. | |
1285 | ||
5f0eabcc GK |
1286 | 2003-07-28 Geoffrey Keating <geoffk@apple.com> |
1287 | ||
1288 | * c-decl.c (c_expand_body_1): Use C_DECL_FILE_SCOPE to detect | |
1289 | main function. | |
1290 | ||
7b6d72fc MM |
1291 | 2003-07-28 Mark Mitchell <mark@codesourcery.com> |
1292 | ||
1293 | PR c++/11667 | |
1294 | * c-common.c (shorten_compare): Take into account differences | |
1295 | between C and C++ representation for enumeration types. | |
1296 | * tree.h (set_min_and_max_values_for_integral_type): Declare. | |
1297 | * stor-layout.c (set_min_and_max_values_for_integral_type): New | |
1298 | function, broken out from ... | |
1299 | (fixup_signed_type): ... here and ... | |
1300 | (fixup_unsigned_type): ... here. | |
1301 | ||
14077d68 ZW |
1302 | 2003-07-28 Zack Weinberg <zack@codesourcery.com> |
1303 | ||
1304 | * c-decl.c: Update commentary, adjust blank lines throughout. | |
1305 | (struct c_scope): Fix indentation. Reorder members so | |
1306 | outer-context pointers come first, booleans last. | |
1307 | (duplicate_decls, define_label): Use a 'locus' variable for | |
1308 | diagnostic locations in a few more places. | |
1309 | (warn_if_shadowing): Un-split a conditional that fits on one line. | |
1310 | (c_init_decl_processing): No need to clear current_scope and | |
1311 | current_function_scope. | |
1312 | (start_decl): Merge if/else if statements with same action. | |
1313 | (push_parm_decl): Rename old_immediate_size_expand to use | |
1314 | save_foo convention; save/restore around entire function. | |
1315 | (grokdeclarator): Remove unnecessary braces. | |
1316 | ||
85617eba HPN |
1317 | 2003-07-28 Hans-Peter Nilsson <hp@bitrange.com> |
1318 | Michael Culbertson <Michael.J.Culbertson@wheaton.edu> | |
1319 | ||
1320 | * c-parse.in (lineno_stmt_decl_or_labels_ending_decl): Also warn | |
1321 | when warn_declaration_after_statement. Call pedwarn_c90, not | |
1322 | pedwarn. Correct message: it's "ISO C90", not "ISO C89". | |
1323 | * c-common.c (warn_declaration_after_statement): Define. | |
1324 | * c-common.h (warn_declaration_after_statement): Declare. | |
1325 | * c.opt (Wdeclaration-after-statement): New. | |
1326 | * c-errors.c (pedwarn_c90): New function. | |
1327 | * c-opts.c (c_common_handle_option) <case | |
1328 | OPT_Wdeclaration_after_statement>: New. | |
1329 | * c-tree.h (pedwarn_c90): Declare. | |
1330 | * doc/invoke.texi (Option Summary): Document | |
1331 | -Wdeclaration-after-statement. | |
1332 | (Warning Options): Ditto. | |
1333 | ||
f527d196 JH |
1334 | Mon Jul 28 20:13:06 CEST 2003 Jan Hubicka <jh@suse.cz> |
1335 | ||
1336 | * i386.md (memory attribute) Avoid accessing uninitialized memory | |
1337 | for ishift1 type instructions. | |
1338 | ||
5dfa45d0 JJ |
1339 | 2003-07-28 Jakub Jelinek <jakub@redhat.com> |
1340 | ||
1341 | * configure.in (--enable-checking): Add fold category. | |
1342 | (ENABLE_FOLD_CHECKING): Define if requested. | |
1343 | * configure: Rebuilt. | |
1344 | * config.in: Rebuilt. | |
1345 | * doc/install.texi: Document it. | |
1346 | * fold-const.c: Include md5.h. | |
1347 | [ENABLE_FOLD_CHECKING] (fold): Define to fold_1. | |
1348 | [ENABLE_FOLD_CHECKING] (fold, fold_checksum_tree, fold_check_failed, | |
1349 | print_fold_checksum): New functions. | |
1350 | ||
1351 | * fold-const.c (fold): Never modify argument passed to fold, instead | |
1352 | change a copy and return it. | |
1353 | * convert.c (convert_to_integer): Likewise. | |
1354 | ||
447673de NN |
1355 | 2003-07-27 Nathanael Nerode <neroden@gcc.gnu.org> |
1356 | ||
14077d68 | 1357 | * fixinc/fixinc.svr4: Remove dead code. Remove now-unnecessary |
447673de NN |
1358 | cleanup of junk after #else and #endif directives. Collapse repeated |
1359 | clauses into for statment. | |
1360 | ||
1361 | * fixinc/fixincl.sh: GNU C -> GCC. Add usage comment. | |
1362 | ||
66db6b62 ZW |
1363 | 2003-07-27 Zack Weinberg <zack@codesourcery.com> |
1364 | ||
a8ccdffe ZW |
1365 | * c-decl.c (struct c_scope): Remove keep_if_subblocks field. |
1366 | (keep_next_if_subblocks): Rename next_is_function_body. | |
1367 | (pushlevel): Adjust commentary. Always set ->keep on the | |
1368 | outermost level of a function. Don't set ->keep_if_subblocks. | |
1369 | (poplevel): Adjust commentary. Don't look at ->keep_if_subblocks. | |
1370 | (store_parm_decls): Adjust to match. | |
1371 | (finish_function): Adjust to match. | |
1372 | Call poplevel with all three arguments zero. | |
1373 | ||
66db6b62 ZW |
1374 | * c-decl.c (store_parm_decls_newstyle, store_parm_decls_oldstyle): |
1375 | New functions split out of store_parm_decls. | |
1376 | Avoid unnecessary work. Use local variables consistently. | |
1377 | (store_parm_decls): Likewise. | |
1378 | ||
1379 | (finish_function): No need to set functionbody flag on call to | |
1380 | poplevel. | |
1381 | (struct language_function): Remove scope field. | |
1382 | (c_push_function_context, c_pop_function_context): No need to | |
1383 | save and restore current_scope. | |
1384 | ||
90ea7324 NS |
1385 | 2003-07-27 Nathan Sidwell <nathan@codesourcery.com> |
1386 | ||
1387 | * doc/extend.texi (Deprecated Features): Implicit typename is | |
1388 | gone. Default args on types is going. | |
1389 | ||
11a004ef R |
1390 | 2003-07-26 J"orn Rennecke <joern.rennecke@superh.com> |
1391 | ||
1392 | * Makefile.in (ifcvt.o): Depend on target.h | |
1393 | * ifcvt.c (target.h): Include. | |
1394 | (if_convert): Don't call mark_loop_exit_edges if we can't | |
1395 | modify jumps. | |
1396 | ||
6cbf57c9 GP |
1397 | 2003-07-26 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
1398 | ||
1399 | * doc/install.texi (Testing): Adjust required versions of DejaGnu. | |
1400 | ||
a6c14a64 RH |
1401 | 2003-07-26 Richard Henderson <rth@redhat.com> |
1402 | ||
1403 | PR inline-asm/11676 | |
1404 | * cse.c (count_reg_usage): Handle asm_operands properly. | |
1405 | ||
cc42f5f5 RS |
1406 | 2003-07-26 Roger Sayle <roger@eyesopen.com> |
1407 | ||
1408 | * builtins.def (DEF_FALLBACK_BUILTIN): Delete. | |
1409 | (DEF_EXT_FALLBACK_BUILTIN): Delete. | |
1410 | (BUILT_IN_BZERO, BUILT_IN_BCOPY, BUILT_IN_BCMP): Declare using | |
1411 | the regular DEF_EXT_LIB_BUILTIN macro. | |
1412 | (BUILT_IN_FPUTC, BUILT_IN_FPUTS, BUILT_IN_FWRITE): Declare using | |
1413 | the regular DEF_LIB_BUILTIN macro. | |
1414 | (BUILT_IN_PUTCHAR_UNLOCKED, BUILT_IN_PUTS_UNLOCKED, | |
1415 | BUILT_IN_FPUTC_UNLOCKED, BUILT_IN_FPUTS_UNLOCKED, | |
1416 | BUILT_IN_FWRITE_UNLOCKED): Declare using the regular | |
1417 | DEF_EXT_LIB_BUILTIN macro. | |
1418 | ||
1419 | * c-decl.c (duplicate_decls): Remove code to handle builtin | |
1420 | functions prototyped without an argument list. | |
1421 | ||
92e7a6ef DS |
1422 | 2003-07-26 Danny Smith <dannysmith@users.sourceforge.net> |
1423 | ||
1424 | * config/i386/winnt.c: Revert 2003-07-08 change. | |
1425 | (i386_pe_section_type_flags): Remove error_with_decl here too. | |
1426 | ||
ba9cfcb5 GDR |
1427 | 2003-07-26 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1428 | ||
1429 | * config/arm/pe.c (arm_mark_dllimport): Don't use xxx_with_decl. | |
1430 | * config/mcore/mcore.c (mcore_mark_dllimport): Likewise. | |
1431 | * config/v850/v850.c (v850_handle_data_area_attribute): Likewise. | |
1432 | (v850_handle_data_area_attribute): Likewise. | |
1433 | ||
0e5da0be GK |
1434 | 2003-07-26 Geoffrey Keating <geoffk@apple.com> |
1435 | ||
66db6b62 | 1436 | * varasm.c (output_constant_def_contents): Use |
18f3e349 GK |
1437 | ASM_DECLARE_CONSTANT_NAME if defined. |
1438 | * doc/tm.texi (Label Output): Document ASM_DECLARE_CONSTANT_NAME. | |
1439 | * config/darwin.h (ASM_DECLARE_OBJECT_NAME): Ensure zero-sized | |
1440 | objects get at least one byte to prevent assembler problems. | |
1441 | (ASM_DECLARE_CONSTANT_NAME): New. | |
1442 | ||
d2908a50 GK |
1443 | * Makefile.in (libbackend.o): Remove options_.h. |
1444 | (mostlyclean): Likewise. | |
1445 | ||
0e5da0be GK |
1446 | * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Don't |
1447 | insert a label at the end of an function under Mach-O. | |
863d3dfb GK |
1448 | |
1449 | * c-decl.c (c_static_assembler_name): Remove TREE_STATIC test. | |
1450 | ||
36252949 AH |
1451 | 2003-07-25 Aldy Hernandez <aldyh@redhat.com> |
1452 | ||
1453 | * config/rs6000/rs6000.c (is_ev64_opaque_type): Only check pointer | |
1454 | equality. | |
1455 | (spe_init_builtins): Declare __ev64_opaque__ as a builtin type. | |
1456 | ||
1457 | * config/rs6000/spe.h: Remove __ev64_opaque__ definition. | |
1458 | ||
0fe37f68 GDR |
1459 | 2003-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1460 | ||
1461 | * doc/passes.texi (Passes): Mention pretty-printing and | |
1462 | diagnostic files. | |
1463 | ||
50fc59e7 NS |
1464 | 2003-07-25 Nathan Sidwell <nathan@codesourcery.com> |
1465 | ||
1466 | * doc/extend.texi (Function Attributes): GNU C++ does now allow | |
1467 | unused parameter decls. | |
1468 | (Attribute Syntax): GNU C++ does not allow label attributes to be | |
1469 | after the ':'. | |
1470 | ||
cd475805 GDR |
1471 | 2003-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1472 | ||
1473 | * objc/objc-act.c (objc_check_decl): Don't use xxx_with_decl. | |
1474 | (objc_declare_class): Likewise. | |
1475 | (error_with_ivar): Likewise. | |
1476 | (start_class): Likewise. | |
1477 | (warn_with_method): Likewise. | |
1478 | ||
b6fe0bb8 GDR |
1479 | 2003-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1480 | ||
1481 | Remove pedwarn_with_decl, warning_with_decl and error_with_decl | |
66db6b62 | 1482 | from GCC. |
b6fe0bb8 GDR |
1483 | * calls.c (try_to_integrate): Don't use xxx_with_decl. |
1484 | (expand_call): Likewise. | |
1485 | * dwarfout.c (output_reg_number): Likewise. | |
1486 | * expr.c (expand_expr): Likewise. | |
1487 | * function.c (assign_temp): Likewise. | |
1488 | (uninitialized_vars_warning): Likewise. | |
1489 | (setjmp_args_warning): Likewise. | |
1490 | (expand_function_end): Likewise. | |
1491 | * stmt.c (fixup_gotos): Likewise. | |
1492 | (warn_about_unused_variables): Likewise. | |
1493 | (expand_end_bindings): Likewise. | |
1494 | * stor-layout.c (layout_decl): Likewise. | |
1495 | (place_field): Likewise. | |
1496 | * toplev.c (check_global_declarations): Likewise. | |
1497 | (rest_of_handle_inlining): Likewise. | |
1498 | (default_tree_printer): New function. | |
1499 | (general_init): Initialize diagnostic machinery before routing | |
1500 | signals to the ICE machinery. Set default tree printer. | |
1501 | * toplev.h (pedwarn_with_decl): Remove declaration. | |
1502 | (warning_with_decl): Likewise. | |
1503 | (error_with_decl): Likewise. | |
66db6b62 | 1504 | (pedwarn): Remove attribute for the time being. |
b6fe0bb8 GDR |
1505 | * tree-inline.c (expand_call_inline): Don't use xxx_with_decl. |
1506 | * varasm.c (named_section): Likewise. | |
1507 | (make_decl_rtl): Likewise. | |
1508 | (assemble_variable): Likewise. | |
1509 | (merge_weak): Likewise. | |
1510 | (declare_weak): Likewise. | |
1511 | ||
1512 | * diagnostic.h: Move non-diagnostic stuff into pretty-print.h. | |
1513 | * diagnostic.c: Move non-diagnostic stuff into pretty-print.c. | |
1514 | (format_with_decl): Remove. | |
1515 | (diagnostic_for_decl): Likewise. | |
1516 | (pedwarn_with_decl): Likewise. | |
1517 | (warning_with_decl): Likewise. | |
1518 | (error_with_decl): Likewise. | |
1519 | (diagnostic_initialize): Adjust. | |
1520 | (diagnostic_count_diagnostic): Likewise. | |
1521 | (announce_function): Likewise. | |
1522 | (lhd_print_error_function): Likewise. | |
1523 | (diagnostic_report_current_module): Likewise. | |
1524 | (default_diagnostic_starter): Likewise. | |
1525 | (diagnostic_report_diagnostic): Likewise. | |
1526 | (default_diagnostic_finalizer): Likewise. | |
1527 | (verbatim): Likewise. | |
1528 | (error): Likewise. | |
1529 | (warning): Likewise. | |
1530 | * opts.c (common_handle_option): Likewise. | |
1531 | * pretty-print.c: New file. | |
1532 | * c-pretty-print.h (pp_base): Override. | |
1533 | * c-pretty-print.c: Adjust use of macros throughout. | |
1534 | (pp_buffer): New macro. | |
1535 | (pp_newline): Likewise. | |
1536 | * c-objc-common.c (c_tree_printer): Adjust prototype. Tidy. | |
1537 | * Makefile.in (DIAGNOSTIC_H): New variable. | |
1538 | (c-errors.o): Use it. | |
1539 | (c-objc-common.o): Likewise. | |
1540 | (c-common.o): Likewise. | |
1541 | (c-opts.o): Likewise. | |
1542 | (c-format.o): Likewise. | |
1543 | (diagnostic.o): Likewise. | |
1544 | (opts.o): Likewise. | |
1545 | (toplev.o): Likewise. | |
1546 | (rtl-error.o): Likewise. | |
1547 | (dwarf2out.o): Likewise. | |
1548 | (jump.o): Likewise. | |
1549 | (pretty-print.o): New rule. | |
1550 | ||
868b8cda RS |
1551 | 2003-07-24 Roger Sayle <roger@eyesopen.com> |
1552 | ||
1553 | * builtins.def (BUILT_IN_PRINTF, BUILT_IN_FPRINTF): Changed from | |
1554 | front-end builtins to normal builtins, using DEF_LIB_BUILTIN. | |
1555 | (BUILT_IN_PRINTF_UNLOCKED, BUILT_IN_FPRINTF_UNLOCKED): Changed | |
1556 | from front-end to normal builtins, using DEF_EXT_LIB_BUILTIN. | |
1557 | (DEF_FRONT_END_LIB_BUILTIN): Delete. | |
1558 | (DEF_EXT_FRONT_END_LIB_BUILTIN): Delete. | |
1559 | (BUILT_IN_FWRITE_UNLOCKED): Wrap long line. | |
1560 | ||
1561 | * builtins.c (build_string_literal): New function to construct | |
1562 | a char* pointer to a string literal. | |
1563 | (expand_builtin_fputs): Change 2nd argument from "int ignore" to | |
1564 | "rtx target" to be consistent with other expand_builtin_* functions. | |
1565 | Change 3rd argument from "int unlocked" to "bool unlocked". | |
1566 | (expand_builtin_printf): Rewrite of c_expand_builtin_printf from | |
1567 | c-common.c to avoid front-end dependencies. Optimize printf("") | |
1568 | as a no-op when the result isn't required. Handle embedded NULs | |
1569 | in format string. | |
1570 | (expand_builtin_fprintf): A rewrite of c_expand_builtin_fprintf | |
1571 | from c-common.c to avoid front-end dependencies. Likewise, optimize | |
1572 | fprintf(fp,"") as a no-op when the result isn't required, evaluating | |
1573 | fp for side-effects. Handle embedded NULs in format string. | |
1574 | (expand_builtin_sprintf): Fix typo. | |
1575 | (expand_builtin): Don't expand BUILT_IN_FPRINT{,_UNLOCKED} when not | |
1576 | optimizing. Adjust calls of expand_builtin_fputs to match the API | |
1577 | change. Expand BUILT_IN_PRINTF and BUILT_IN_PRINTF_UNLOCKED using | |
1578 | expand_builtin_printf. Likewise, expand BUILT_IN_FPRINTF_UNLOCKED | |
1579 | and BUILT_IN_FPRINTF using expand_builtin_fprintf. | |
1580 | ||
1581 | * c-common.c (is_valid_printf_arglist): Delete. | |
1582 | (c_expand_builtin): Delete. | |
1583 | (c_expand_builtin_printf): Moved to builtins.c. Delete. | |
1584 | (c_expand_builtin_fprintf): Moved to builtins.c. Delete. | |
1585 | (c_expand_expr): No longer treat CALL_EXPRs specially. | |
1586 | (CALLED_AS_BUILT_IN): Delete. | |
1587 | ||
2a868ea4 ZD |
1588 | 2003-07-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1589 | ||
1590 | PR optimization/11631 | |
1591 | * gcse.c (store_motion): Connect infinite loops to exit. | |
1592 | ||
de7df9eb JM |
1593 | 2003-07-24 Jason Merrill <jason@redhat.com> |
1594 | ||
1595 | * tree.h (boolean_type_node): Move from C/C++/Java frontends. | |
1596 | (boolean_true_node, boolean_false_node): Likewise. | |
1597 | (enum tree_index): Add TI_BOOLEAN_{TYPE,FALSE,TRUE}. | |
1598 | * tree.c (build_common_tree_nodes): Init boolean_type_node. | |
1599 | (build_common_tree_nodes_2): Init boolean_{true,false}_node. | |
1600 | * stor-layout.c (set_sizetype): Handle an early BOOLEAN_TYPE. | |
1601 | * c-common.h (truthvalue_type_node): Renamed from boolean_type_node. | |
1602 | (truthvalue_true_node): Renamed from boolean_true_node. | |
1603 | (truthvalue_false_node): Renamed from boolean_false_node. | |
1604 | * c-decl.c: Just set truthvalue_* to integer_*. | |
1605 | * c-*.[ch]: s/boolean/truthvalue/. s/c_bool/boolean/. | |
1606 | ||
6907ddd3 RS |
1607 | 2003-07-24 Roger Sayle <roger@eyesopen.com> |
1608 | ||
1609 | * c-decl.c (match_builtin_function_types): New subroutine of | |
1610 | duplicate_decls to test whether a redeclaration of a builtin | |
1611 | function is suitably close, i.e. the return type and all of | |
1612 | the argument types have the same modes as the builtin expects. | |
1613 | (duplicate_decls): Fuzzy type matching for builtin functions | |
1614 | moved to match_builtin_function_types. | |
1615 | ||
84d45ad1 ZD |
1616 | 2003-07-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1617 | ||
1618 | * cfgloopmanip.c (duplicate_loop_to_header_edge): Update irreducible | |
1619 | flag correctly. | |
1620 | ||
f8521984 ZW |
1621 | 2003-07-24 Zack Weinberg <zack@codesourcery.com> |
1622 | ||
1623 | * c-decl.c: Search-and-replace change 'binding level' to | |
1624 | 'scope' in commentary. | |
1625 | (struct binding_level): Now struct c_scope. | |
1626 | (current_binding_level): Now current_scope. | |
1627 | (free_binding_level): Now scope_freelist. | |
1628 | (current_function_level): Now current_function_scope. | |
1629 | (global_binding_level): Now global_scope. | |
1630 | (make_binding_level): Now make_scope. | |
1631 | (pop_binding_level): Now pop_scope. | |
1632 | ||
0f31374d RO |
1633 | 2003-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1634 | ||
1635 | * configure.in (libgcc_visibility): Add missing whitespace. | |
1636 | ||
270606ac RH |
1637 | 2003-07-24 Richard Henderson <rth@redhat.com> |
1638 | ||
1639 | * libgcc-std.ver (GCC_3.3.1): Export __gcc_personality_sj0, | |
1640 | __gcc_personality_v0. | |
f8521984 | 1641 | |
5f08e44f RO |
1642 | 2003-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1643 | ||
1644 | * Makefile.in: Replace pwd by ${PWD_COMMAND}. | |
1645 | ||
a4878735 NS |
1646 | 2003-07-24 Nathan Sidwell <nathan@codesourcery.com> |
1647 | ||
1648 | * doc/invoke.texi (-fprofile-arcs, -ftest-coverage): Update | |
1649 | documentation missed from my 2003-07-09 patch. | |
1650 | ||
5aaaf0e8 NN |
1651 | 2003-07-24 Nathanael Nerode <neroden@gcc.gnu.org> |
1652 | ||
1653 | * aclocal.m4 (_gcc_COMPUTE_GAS_VERSION): Set patch level to 0 if | |
1654 | it's not provided. | |
1655 | * configure: Rebuild. | |
1656 | ||
8f5b6d29 SB |
1657 | 2003-07-24 Steven Bosscher <steven@gcc.gnu.org> |
1658 | ||
1659 | PR c/10602 | |
1660 | * c-typeck.c (type_lists_compatible_p): Do not compare | |
1661 | arguments if one of them is an error_mark_node | |
1662 | ||
acd0b319 AM |
1663 | 2003-07-24 Alan Modra <amodra@bigpond.net.au> |
1664 | ||
1665 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Save fp regs inline | |
1666 | if current_function_calls_eh_return. | |
1667 | ||
28b619b2 MM |
1668 | 2003-07-23 Mark Mitchell <mark@codesourcery.com> |
1669 | ||
1670 | * doc/c-tree.texi (OFFSET_TYPE): Update description. | |
1671 | ||
07154156 BW |
1672 | 2003-07-23 Bob Wilson <bob.wilson@acm.org> |
1673 | ||
1674 | * config/xtensa/crti.asm (_init, _fini): Increase frame size to 64. | |
1675 | * config/xtensa/lib1funcs.asm (__mulsi3, __udivsi3, __divsi3, | |
1676 | __umodsi3, __modsi3): Increase frame size to 32. | |
1677 | ||
5f5bfdd0 GK |
1678 | 2003-07-23 Geoffrey Keating <geoffk@apple.com> |
1679 | ||
1680 | * config/rs6000/host-darwin.c: ANSIfy, update comment for sigaltstack | |
1681 | prototype. | |
1682 | ||
11b8e71c MM |
1683 | 2003-07-23 Mark Mitchell <mark@codesourcery.com> |
1684 | ||
28b619b2 MM |
1685 | * doc/c-tree.texi (Types): Update documentation for OFFSET_TYPE. |
1686 | ||
11b8e71c MM |
1687 | PR optimization/10679 |
1688 | * tree-inline.c (inlinable_function_p): Honor MIN_INLINE_INSNS. | |
1689 | ||
9d6b7c09 JDA |
1690 | 2003-07-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1691 | ||
1692 | PR target/11607 and PR target/11516 | |
1693 | * pa.md (extzv, extv, insv): Revert latter half of last patch. | |
1694 | ||
a5ac359a MM |
1695 | 2003-07-22 Mark Mitchell <mark@codesourcery.com> |
1696 | ||
1697 | * fold-const.c (force_fit_type): Handle OFFSET_TYPE. | |
1698 | * varasam.c (output_constant): Likewise. | |
1699 | ||
938d968e KH |
1700 | 2003-07-22 Kazu Hirata <kazu@cs.umass.edu> |
1701 | ||
1702 | * alias.c: Fix comment formatting. | |
1703 | * c-common.c: Likewise. | |
1704 | * c-decl.c: Likewise. | |
1705 | * c-opts.c: Likewise. | |
1706 | * combine.c: Likewise. | |
1707 | * cpplib.c: Likewise. | |
1708 | * diagnostic.c: Likewise. | |
1709 | * dojump.c: Likewise. | |
1710 | * final.c: Likewise. | |
1711 | * fold-const.c: Likewise. | |
1712 | * gcc.c: Likewise. | |
1713 | * gcse.c: Likewise. | |
1714 | * ggc-page.c: Likewise. | |
1715 | * jump.c: Likewise. | |
1716 | * loop.c: Likewise. | |
1717 | * mips-tfile.c: Likewise. | |
1718 | * recog.c: Likewise. | |
1719 | * regclass.c: Likewise. | |
1720 | * regmove.c: Likewise. | |
1721 | * tree.c: Likewise. | |
1722 | * tree.h: Likewise. | |
1723 | ||
b3147029 PB |
1724 | 2003-07-22 Per Bothner <pbothner@apple.com> |
1725 | ||
1726 | * line-map.c (add_line_map): Handle invalid LEAVE request. | |
1727 | Fixes PR preprocessor/11361. | |
1728 | ||
53f72d60 PB |
1729 | 2003-07-22 Per Bothner <pbothner@apple.com> |
1730 | ||
1731 | * diagnostic.c.(diagnostic_report_current_module): Update to match | |
1732 | 2003-06-05 changes to push_srcloc and pop_srcloc. | |
1733 | ||
5cf0212f WB |
1734 | 2003-07-22 Wolfgang Bangerth <bangerth@dealii.org> |
1735 | ||
1736 | * doc/trouble.texi: Better document two-stage name lookup. | |
1737 | ||
c7453384 EC |
1738 | 2003-07-22 Eric Christopher <echristo@redhat.com> |
1739 | ||
1740 | * config/s390.c (s390_valid_pointer_mode): New. | |
1741 | (TARGET_VALID_POINTER_MODE): Use. | |
1742 | (s390_emit_prologue): Add tpf profiling hooks. | |
1743 | (s390_emit_epilogue): Ditto. | |
1744 | * config/s390.h (MASK_TPF): New. | |
1745 | (TARGET_TPF): Use. | |
1746 | (POINTERS_EXTEND_UNSIGNED): Define. | |
1747 | * config/s390.md (ptr_extend): New pattern. | |
1748 | ||
a2f7be91 ZW |
1749 | 2003-07-22 Zack Weinberg <zack@codesourcery.com> |
1750 | ||
1751 | * hashtable.c (approx_sqrt): Make static. | |
1752 | * hashtable.h: Don't prototype approx_sqrt. | |
1753 | * line-map.c (init_line_maps): Rename linemap_init. | |
1754 | (free_line_maps): Rename linemap_free. | |
1755 | (add_line_map): Rename linemap_add. | |
1756 | (lookup_line): Rename linemap_lookup. | |
1757 | (print_containing_files): Rename linemap_print_containing_files. | |
1758 | * linemap.h: Update to match. | |
1759 | ||
1760 | * cpperror.c, cppinit.c, cpplib.c, cppmacro.c: Update calls to | |
1761 | linemap routines to use new names. | |
1762 | ||
c6e4cc53 NS |
1763 | 2003-07-16 Nathan Sidwell <nathan@codesourcery.com> |
1764 | ||
1765 | * c-common.c (handle_packed_attribute): Don't pack a struct via a | |
1766 | typedef. Propagate packedness from a main variant. | |
1767 | ||
55de4f08 NN |
1768 | 2003-07-22 Nathanael Nerode <neroden@gcc.gnu.org> |
1769 | ||
1770 | * Makefile.in (install-common): Add dependency on installdirs. | |
1771 | ||
fb5d2a87 AO |
1772 | 2003-07-21 Alexandre Oliva <aoliva@redhat.com> |
1773 | ||
1774 | * c-common.c (c_common_type_for_mode): Return integer types for | |
1775 | pointer modes. | |
1776 | ||
905bd7b5 GK |
1777 | 2003-07-22 Geoffrey Keating <geoffk@apple.com> |
1778 | ||
d05cc98e GK |
1779 | * c-decl.c (start_decl): Don't call maybe_apply_pragma_weak here. |
1780 | (finish_decl): Call maybe_apply_pragma_weak here. | |
1781 | (grokdeclarator): Check that DECL_ASSEMBLER_NAME isn't set before | |
1782 | TREE_PUBLIC and TREE_STATIC are decided. | |
1783 | (start_function): Move call to maybe_apply_pragma_weak. Check that | |
1784 | DECL_ASSEMBLER_NAME isn't set too early. | |
1785 | ||
905bd7b5 GK |
1786 | * cpplex.c (_cpp_process_line_notes): Mention option name in |
1787 | trigraphs warning. | |
1788 | ||
87d9741e KH |
1789 | 2003-07-22 Kazu Hirata <kazu@cs.umass.edu> |
1790 | ||
1791 | * combine.c (if_then_else_cond): Simplify the comparison of | |
1792 | rtx against -1, 0, and 1. | |
1793 | * loop.c (check_dbra_loop): Likewise. | |
1794 | * optabs.c (emit_conditional_move): Likewise. | |
1795 | (emit_conditional_add): Likewise. | |
1796 | * config/i386/i386.md (*movsi_or): Likewise. | |
1797 | (*movdi_or_rex6): Likewise. | |
1798 | ||
b67d7f4a JH |
1799 | Tue Jul 22 00:42:12 CEST 2003 Jan Hubicka <jh@suse.cz> |
1800 | ||
1801 | * cgraphunit.c (cgraph_finalize_compilation_unit): Remove redundant if. | |
1802 | ||
8d973a83 NB |
1803 | 2003-07-21 Neil Booth <neil@daikokuya.co.uk> |
1804 | ||
1805 | * cppfiles.c (open_file_pch): Don't put unused entries in the | |
1806 | splay tree. Remove dead code. | |
1807 | ||
49a64b24 GK |
1808 | 2003-07-21 Geoffrey Keating <geoffk@apple.com> |
1809 | ||
48873ed2 GK |
1810 | * c-common.h (num_in_fnames): Declare. |
1811 | (c_static_assembler_name): Move from here... | |
1812 | * c-tree.h (c_static_assembler_name): ... to here. | |
1813 | * c-opts.c: Don't include langhooks-def.h. | |
1814 | (c_static_assembler_name): Move to c-decl.c. | |
1815 | (num_in_fnames): Make externally visible. | |
1816 | * c-decl.c: Include langhooks-def.h. | |
1817 | (c_static_assembler_name): Move from c-opts.c. | |
1818 | * Makefile.in (c-decl.o): Add $(LANGHOOKS_DEF_H). | |
1819 | (c-opts.o): Remove $(LANGHOOKS_DEF_H). | |
1820 | ||
49a64b24 GK |
1821 | * c-pragma.c (maybe_apply_pragma_weak): Don't get DECL_ASSEMBLER_NAME |
1822 | when it's not needed. | |
1823 | ||
8c29550d JJ |
1824 | 2003-07-21 Jakub Jelinek <jakub@redhat.com> |
1825 | ||
1826 | * config/rs6000/rs6000.h (machine_function): Add ra_need_lr. | |
1827 | * config/rs6000/rs6000.c (rs6000_return_addr): Set it. | |
1828 | (rs6000_emit_prologue): Save FPRs inline if set. | |
1829 | ||
92cbea22 L |
1830 | 2003-07-21 H.J. Lu <hongjiu.lu@intel.com> |
1831 | ||
1832 | * config/ia64/ia64.md (prefetch): Support predicate. | |
1833 | ||
ee735eef JZ |
1834 | 2003-07-21 Josef Zlomek <zlomekj@suse.cz> |
1835 | ||
1836 | * cfgcleanup.c (merge_blocks_move_successor_nojumps): Use tablejump_p. | |
1837 | * rtlanal.c (tablejump_p): Use next_active_insn for finding the jump | |
1838 | table. | |
1839 | ||
bbda30a4 EB |
1840 | 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr> |
1841 | ||
a2f7be91 | 1842 | PR optimization/11536 |
bbda30a4 EB |
1843 | * unroll.c (loop_iterations): Do not replace a register holding |
1844 | the final value by its equivalent before the loop if it is not | |
1845 | invariant. | |
1846 | ||
64c18e57 DF |
1847 | 2003-07-21 Dave Fluri <dave.fluri@onlink.net> |
1848 | ||
1849 | * doc/extend.texi: Fixes to spelling, grammar, and diction. | |
1850 | ||
b222f49a BE |
1851 | 2003-07-21 Ben Elliston <bje@wasabisystems.com> |
1852 | ||
1853 | * doc/invoke.texi (Optimize Options): Replace "it's" with "its". | |
1854 | (V850 Options): Spelling fixes. | |
1855 | ||
9eff22bc LG |
1856 | 2003-07-20 Lisa M. Goldstein <opus@gnu.org> |
1857 | ||
a2f7be91 | 1858 | * doc/invoke.texi: Fixes to style, grammar and diction. |
9eff22bc | 1859 | |
6a6c0154 RS |
1860 | 2003-07-20 Roger Sayle <roger@eyesopen.com> |
1861 | ||
1862 | * builtins.def (BUILT_IN_ALLOCA): Remove "#if SMALL_STACK" form. | |
1863 | * system.h (SMALL_STACK): Poison obsolete target macro. | |
1864 | * doc/tm.texi (SMALL_STACK): Remove target macro documentation. | |
1865 | ||
d38b3a8d PE |
1866 | 2003-07-20 Phil Edwards <pme@gcc.gnu.org> |
1867 | ||
1868 | * configure.in: Cache the results of testing for cmp's capabilities. | |
1869 | * configure: Regenerate. | |
1870 | ||
35dc2bd8 MM |
1871 | 2003-07-20 Mark Mitchell <mark@codesourcery.com> |
1872 | ||
1873 | PR debug/11279 | |
1874 | * dwarf2out.c (gen_enumeration_type_die): Remember that | |
1875 | enumerators can be unsigned. | |
1876 | ||
14e33ee8 ZW |
1877 | 2003-07-19 Zack Weinberg <zack@codesourcery.com> |
1878 | ||
1879 | * c-decl.c (named_labels, shadowed_labels, label_level_chain) | |
1880 | (push_label_level, pop_label_level): Kill. | |
1881 | (struct binding_level): Rename level_chain to outer. | |
1882 | Add outer_function field. Change parm_flag, function_body, | |
1883 | keep, keep_if_subblocks to 1-bit bitfields of type bool. | |
1884 | (current_function_level): New variable. | |
1885 | (keep_next_level_flag, keep_next_if_subblocks): Change type to bool. | |
1886 | (keep_next_level, declare_parm_level, warn_if_shadowing): | |
1887 | Update to match. | |
1888 | (struct language_function): Kill named_labels, shadowed_labels fields. | |
1889 | (c_init_decl_processing, start_function, c_push__function_context) | |
1890 | (c_pop_function_context): No need to muck with named_labels nor | |
1891 | shadowed_labels. | |
1892 | ||
1893 | (make_binding_level): No need to clear the structure here. | |
1894 | (pop_binding_level): Always operate on current_binding_level. | |
1895 | Update current_function_level if necessary. | |
1896 | (pushlevel): Don't clear named_labels. Update current_function_level | |
1897 | if necessary. Use "true" and "false" where appropriate. | |
1898 | (poplevel): Diagnose labels defined but not used, or vice | |
1899 | versa, and clear out label-meanings leaving scope, while | |
1900 | walking down the decls list, for all binding levels. | |
1901 | Handle LABEL_DECLs appearing in the shadowed list. | |
1902 | pop_binding_level takes no arguments. | |
1903 | (pushdecl_function_level): Use current_function_level. | |
1904 | ||
1905 | (make_label, bind_label): New static functions. | |
1906 | (declare_label): New exported function. | |
1907 | (lookup_label, define_label): Rewritten for new data structure. | |
1908 | (shadow_label): Kill. | |
1909 | ||
1910 | * c-tree.h: Prototype declare_label; don't prototype | |
1911 | push_label_level, pop_label_level, nor shadow_label. | |
1912 | * c-parse.in: Remove all calls to push_label_level and | |
1913 | pop_label_level. Use declare_label for __label__ decls. | |
1914 | ||
1915 | * doc/extend.texi: Clarify that __label__ can be used to | |
1916 | declare labels with local scope in any nested block, not | |
1917 | just statement expressions. Cross-reference nested functions | |
1918 | section from local labels section. | |
1919 | ||
8a6b9b7f ZD |
1920 | 2003-07-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1921 | ||
1922 | * sched-rgn.c (find_rgns): Initialize current_edge correctly. | |
1923 | ||
026fe6c8 PE |
1924 | 2003-07-19 Phil Edwards <pme@gcc.gnu.org> |
1925 | ||
1926 | * doc/makefile.texi (restrap, profiledbootstrap): Document targets. | |
1927 | ||
c68b0a84 KG |
1928 | 2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1929 | ||
1930 | * fixinc/fixfixes.c fixinc/fixincl.c fixinc/fixlib.c | |
1931 | fixinc/server.c objc/objc-act.c: Remove unnecessary casts. | |
1932 | ||
fd7643fb UW |
1933 | 2003-07-19 Ulrich Weigand <uweigand@de.ibm.com> |
1934 | ||
14e33ee8 | 1935 | * config/s390/s390.c (legitimize_pic_address): Access local symbols |
fd7643fb UW |
1936 | relative to the GOT instead of relative to the literal pool base. |
1937 | (s390_output_symbolic_const): Handle new GOT-relative accesses. | |
1938 | * config/s390/s390.md ("call"): Access local functions and PLT stubs | |
1939 | relative to the GOT instead of relative to the literal pool base. | |
1940 | ("call_value"): Likewise. | |
1941 | ("call_value_tls"): Likewise. | |
1942 | ||
14e33ee8 | 1943 | * config/s390/s390.c (s390_chunkify_start): Remove pool anchor |
fd7643fb UW |
1944 | reloading. Support LTREL_BASE / LTREL_OFFSET construct. |
1945 | (s390_chunkify_finish): Likewise. | |
1946 | (s390_chunkify_cancel): Likewise. | |
1947 | (s390_reorg): Adapt caller. | |
1948 | (find_base_register_in_addr, | |
1949 | find_base_register_ref, replace_base_register_ref): Delete. | |
1950 | (find_ltrel_base, replace_ltrel_base): New functions. | |
1951 | (find_constant_pool_ref): Handle LTREL_BASE unspecs. | |
1952 | (s390_decompose_address): Handle LTREL_BASE unspecs. Optimize | |
1953 | base vs. index register usage. | |
1954 | (struct constant_pool): Remove 'anchor'. | |
1955 | (s390_add_anchor): Delete. | |
1956 | (s390_dump_pool): Remove anchor handling. | |
1957 | * config/s390/s390.md ("reload_anchor"): Remove. | |
1958 | ||
1959 | * config/s390/s390.c (s390_split_branches): Use LTREL_BASE/OFFSET. | |
1960 | (s390_load_got): New function. Use LTREL_BASE/OFFSET. | |
1961 | (s390_emit_prologue): Use it. | |
14e33ee8 ZW |
1962 | * config/s390/s390.md ("builtin_longjmp", "builtin_setjmp_setup", |
1963 | "builtin_setjmp_receiver"): Cleanup. Use s390_load_got. Do not | |
fd7643fb UW |
1964 | hard-code register 14. |
1965 | * config/s390/s390-protos.h (s390_load_got): Declare. | |
1966 | ||
14e33ee8 | 1967 | * config/s390/s390.c (NR_C_MODES, constant_modes, gen_consttable): |
fd7643fb UW |
1968 | Support TImode constants. |
1969 | * config/s390/s390.md ("consttable_ti"): New. | |
1970 | ("consttable_si", "consttable_di"): Handle TLS symbols correctly. | |
1971 | ||
1972 | * config/s390/s390.md (UNSPEC_LTREL_OFFSET, UNSPEC_LTREL_BASE, | |
1973 | UNSPEC_GOTENT, UNSPEC_GOT, UNSPEC_GOTOFF, UNSPEC_PLT, UNSPEC_PLTOFF, | |
1974 | UNSPEC_RELOAD_BASE, UNSPECV_POOL, UNSPECV_POOL_START, UNSPECV_POOL_END, | |
1975 | UNSPECV_POOL_QI, UNSPECV_POOL_HI, UNSPECV_POOL_SI, UNSPECV_POOL_DI, | |
1976 | UNSPECV_POOL_TI, UNSPECV_POOL_SF, UNSPECV_POOL_DF, UNSPECV_MAIN_POOL): | |
1977 | New symbolic constants. | |
1978 | ("consttable_qi", "consttable_hi", "consttable_si", "consttable_di", | |
1979 | "consttable_sf", "consttable_df", "pool_start_31", "pool_end_31", | |
1980 | "pool_start_64", "pool_end_64", "reload_base_31", "reload_base_64", | |
1981 | "pool", "literal_pool_31", "literal_pool_64"): Cleanup. Use | |
1982 | symbolic UNSPEC values. | |
14e33ee8 | 1983 | * config/s390/s390.c (larl_operand, s390_short_displacement, |
fd7643fb UW |
1984 | bras_sym_operand, s390_cannot_force_const_mem, |
1985 | s390_delegitimize_address, s390_decompose_address, | |
1986 | legitimize_pic_address, s390_output_symbolic_const, | |
1987 | s390_function_profiler): Use symbolic UNSPEC values. | |
1988 | ||
703ad42b KG |
1989 | 2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
1990 | ||
1991 | * alias.c alloc-pool.c bitmap.c bitmap.h bt-load.c builtins.c | |
1992 | c-common.c c-decl.c c-incpath.c c-lex.c c-opts.c c-parse.in | |
1993 | c-pragma.c c-typeck.c calls.c cfg.c cfganal.c cfgloop.c cfgrtl.c | |
1994 | collect2.c combine.c conflict.c coverage.c cppexp.c cppfiles.c | |
1995 | cpphash.c cppinit.c cpplex.c cpplib.c cppmacro.c cppspec.c | |
1996 | cpptrad.c cse.c cselib.c dbxout.c defaults.h df.c dominance.c | |
1997 | dwarf2out.c dwarfout.c emit-rtl.c except.c expmed.c expr.c final.c | |
1998 | fix-header.c flow.c fold-const.c function.c gcc.c gccspec.c gcov.c | |
1999 | gcse.c genattr.c genattrtab.c genautomata.c genconditions.c | |
2000 | genemit.c genextract.c genoutput.c genrecog.c gensupport.c | |
2001 | ggc-page.c ggc-simple.c global.c graph.c haifa-sched.c hashtable.c | |
2002 | integrate.c jump.c langhooks.c lcm.c line-map.c local-alloc.c | |
2003 | loop.c mips-tdump.c mips-tfile.c mkdeps.c optabs.c params.c | |
2004 | postreload.c prefix.c print-tree.c protoize.c ra-build.c | |
2005 | ra-colorize.c ra-rewrite.c ra.c recog.c reg-stack.c regclass.c | |
2006 | regmove.c regrename.c reload.c reload1.c reorg.c resource.c | |
2007 | sbitmap.c sched-deps.c sched-rgn.c sched-vis.c sdbout.c | |
2008 | simplify-rtx.c ssa-ccp.c ssa.c stmt.c stor-layout.c timevar.c | |
2009 | tlink.c toplev.c tree-dump.c tree.c unroll.c unwind-dw2-fde.c | |
2010 | varasm.c varray.c vmsdbgout.c xcoffout.c: Remove unnecessary | |
2011 | casts. | |
2012 | ||
308ca868 GDR |
2013 | 2003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net> |
2014 | ||
2015 | * c-pragma.c (apply_pragma_weak): Don't use warning_with_decl. | |
2016 | * toplev.h (warning): Remove attribute. | |
2017 | ||
435ab236 GDR |
2018 | 2003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net> |
2019 | ||
2020 | * c-decl.c (c_finish_incomplete_decl): Don't use xxx_with_decl. | |
2021 | (pop_label_level): Likewise. | |
2022 | (duplicate_decls): Likewise. | |
2023 | (implicitly_declare): Likewise. | |
2024 | (shadow_label): Likewise. | |
2025 | (start_decl): Likewise. | |
2026 | (finish_decl): Likewise. | |
2027 | (grokdeclarator): Likewise. | |
2028 | (get_parm_info): Likewise. | |
2029 | (detect_field_duplicates): Likewise. | |
2030 | (finish_struct): Likewise. | |
2031 | (start_function): Likewise. | |
2032 | (store_parm_decls): Likewise. | |
2033 | (finish_function): Likewise. | |
2034 | (c_expand_body_1): Likewise. | |
2035 | (check_for_loop_decls): Likewise. | |
2036 | (merge_translation_unit_decls): Likewise. | |
2037 | ||
2cc98056 NB |
2038 | 2003-07-19 Neil Booth <neil@daikokuya.co.uk> |
2039 | ||
2040 | * common.opt: Document --param. | |
2041 | * opts.c (columns, undocumented_msg): New. | |
2042 | (print_help): Get number of columns from environment. Print | |
2043 | --param help. Tweak newline handling. | |
2044 | (print_param_help): New. | |
2045 | (print_filtered_help): Better handling of duplicates. Complain | |
2046 | about undocumented switches. | |
2047 | (print_switch): New. | |
2048 | (wrap_help): Improve wrapping, use COLUMNS. | |
2049 | * opts.sh: Ignore comments in records. | |
2050 | * params.def: Fix typos and remove trailing periods. | |
2051 | * toplev.c (display_help): Don't dump --param help. | |
2052 | * doc/sourcebuild.texi: Update. | |
2053 | ||
d893ccde RH |
2054 | 2003-07-18 Richard Henderson <rth@redhat.com> |
2055 | ||
0e38b30b | 2056 | PR target/11556 |
d893ccde RH |
2057 | * optabs.c (prepare_operand): Fail gracefully instead of abort |
2058 | if the predicate doesn't satisfy. | |
2059 | (gen_cond_trap): Allow prepare_operand to fail. | |
2060 | ||
eb8221ea GDR |
2061 | 2003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net> |
2062 | ||
2063 | * c-common.c: Don't undefine GCC_DIAG_STYLE. | |
2064 | (fname_decl): Don't use xxx_with_decl. | |
2065 | (c_add_case_label): Likewise. | |
2066 | (handle_section_attribute): Likewise. | |
2067 | (handle_alias_attribute): Likewise. | |
2068 | (handle_no_instrument_function_attribute): Likewise. | |
2069 | (handle_no_limit_stack_attribute): Likewise. | |
2070 | * c-objc-common.c (c_tree_printer): Print IDENTIFIER_NODEs. | |
2071 | * c-format.c (gcc_cdiag_char_table): Add '%E' format-specifier. | |
2072 | ||
65f43cdf ZD |
2073 | 2003-07-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
2074 | ||
2075 | * Makefile.in (ifcvt.o): Add cfgloop.h. | |
2076 | * basic-block.h (EDGE_LOOP_EXIT): New flag. | |
2077 | * cfgrtl.c (rtl_verify_flow_info_1): Handle it correctly. | |
2078 | * ifcvt.c: Include cfgloop.h. | |
2079 | (mark_loop_exit_edges): New static function. | |
2080 | (if_convert): Call it. | |
2081 | (find_if_header): Ignore branches out of loops. | |
2082 | ||
e5686da7 KH |
2083 | 2003-07-18 Kazu Hirata <kazu@cs.umass.edu> |
2084 | ||
14e33ee8 | 2085 | * combine.c (simplify_comparison): Don't share rtx when converting |
e5686da7 KH |
2086 | (ne (and (not X) 1) 0) to (eq (and X 1) 0). |
2087 | ||
8d05ebaa DE |
2088 | 2003-07-18 David Edelsohn <edelsohn@gnu.org> |
2089 | ||
2090 | * config/rs6000/aix.h (AGGREGATE_PADDING_FIXED): Define. | |
2091 | (AGGREGATES_PAD_UPWARD_ALWAYS): Define. | |
2092 | (MUST_PASS_IN_STACK): Define. | |
2093 | (BLOCK_REG_PADDING): Define. | |
2094 | ||
79019985 RH |
2095 | 2003-07-18 Richard Henderson <rth@redhat.com> |
2096 | ||
2097 | * cfgrtl.c (force_nonfallthru_and_redirect): Use tablejump_p | |
2098 | to skip the addr_vec. | |
2099 | ||
0595d388 AO |
2100 | Fri Jul 18 15:22:28 2003 Alexandre Oliva <aoliva@redhat.com> |
2101 | ||
2102 | * combine.c (combinable_i3pat): Don't forbid occurrences of | |
2103 | i2dest or i1dest in inner_dest if inner_dest is a mem. | |
2104 | ||
2ee1067b JH |
2105 | Fri Jul 18 17:05:57 CEST 2003 Jan Hubicka <jh@suse.cz> |
2106 | ||
2107 | * cgraph.c (cgraph_remove_node): Clear the hash table slot. | |
2108 | ||
16f6812f JJ |
2109 | 2003-07-17 Jakub Jelinek <jakub@redhat.com> |
2110 | ||
2111 | PR target/11087 | |
2112 | * loop.c (basic_induction_var): Check if convert_modes emitted any | |
2113 | instructions. Remove them and return 0 if so. | |
2114 | ||
f129791c EB |
2115 | 2003-07-18 Eric Botcazou <ebotcazou@libertysurf.fr> |
2116 | ||
2117 | PR optimization/11083 | |
2118 | * toplev.c (rest_of_handle_addresof): Rename into | |
2119 | rest_of_handle_addressof. Delete unreachable blocks | |
2120 | if dead edges were purged after the addressof pass. | |
2121 | ||
b2e608ca NB |
2122 | 2003-07-18 Neil Booth <neil@daikokuya.co.uk> |
2123 | ||
2124 | * Makefile.in, configure, configure.in: Remove handling of | |
2125 | lang-options.h and options_.h. | |
2126 | * toplev.c (struct lang_opt, documented_lang_options): Remove. | |
2127 | (display_help): Don't use documented_lang_options. | |
2128 | ||
9cd51ef6 ZW |
2129 | 2003-07-17 Zack Weinberg <zack@codesourcery.com> |
2130 | ||
2131 | * c-decl.c (pushdecl_function_level): Make static, return nothing. | |
2132 | (kept_level_p): Fold into poplevel. | |
2133 | (undeclared_variable): Moved here from c-typeck.c. Export. | |
2134 | * c-tree.h (KEEP_YES, KEEP_NO, KEEP_MAYBE): New #defines. | |
2135 | (undeclared_variable): Prototype here. Don't prototype | |
2136 | kept_level_p nor pushdecl_function_level. | |
2137 | * c-parse.in: Change first argument to poplevel from | |
2138 | "kept_level_p()" to "KEEP_MAYBE". | |
2139 | * c-typeck.c (undeclared_variable): Moved to c-decl.c. | |
2140 | ||
cf6bcbd0 RS |
2141 | 2003-07-17 Roger Sayle <roger@eyesopen.com> |
2142 | ||
2143 | * simplify-rtx.c (simplify_rtx): Use simplify_gen_binary to swap | |
2144 | commutative operands instead of modifying the RTL in-place. | |
2145 | ||
2b187c63 MM |
2146 | 2003-07-17 Mark Mitchell <mark@codesourcery.com> |
2147 | ||
2148 | PR optimization/11557 | |
2149 | * calls.c (flags_from_decl_or_type): Do not set ECF_LIBCALL_BLOCK | |
2150 | unless we know which function is being called. | |
2151 | ||
c715abdd RS |
2152 | 2003-07-17 Roger Sayle <roger@eyesopen.com> |
2153 | ||
2154 | * cse.c (fold_rtx): Use swap_commutative_operands_p to determine | |
2155 | whether to reorder the operands of a commutative binary operator. | |
2156 | ||
3e4093b6 RS |
2157 | 2003-07-17 Roger Sayle <roger@eyesopen.com> |
2158 | ||
2159 | * fold-const.c (const_binop): Avoid performing the FP operation at | |
2160 | compile-time, if either operand is NaN and we honor signaling NaNs, | |
2161 | or if we're dividing by zero and either flag_trapping_math is set | |
2162 | or the desired mode doesn't support infinities. | |
2163 | (fold_initializer): New function to fold an expression ignoring any | |
2164 | potential run-time exceptions or traps. | |
2165 | * tree.h (fold_initializer): Prototype here. | |
2166 | * c-typeck.c (build_binary_op): Move to the end of the file so | |
2167 | that intializer_stack is in scope. If constructing an initializer, | |
2168 | i.e. when initializer_stack is not NULL, use fold_initializer to | |
2169 | fold expressions. | |
2170 | * simplify-rtx.c (simplify_binary_operation): Likewise, avoid | |
2171 | performing FP operations at compile-time, if they would raise an | |
2172 | exception at run-time. | |
2173 | ||
89e9faee GK |
2174 | 2003-07-17 Geoffrey Keating <geoffk@apple.com> |
2175 | ||
26e0dcb3 GK |
2176 | PR 11498 |
2177 | * Makefile.in (c-opts.o): Add $(LANGHOOKS_DEF_H). | |
2178 | (langhooks.o): Add $(GGC_H), gt-langhooks.h. | |
2179 | (GTFILES): Add langhooks.c. | |
2180 | (gt-langhooks.h): New. | |
2181 | * c-common.h (c_static_assembler_name): Prototype. | |
2182 | * c-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define. | |
2183 | * objc/objc-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define. | |
2184 | * c-opts.c: Include langhooks-def.h. | |
2185 | (c_static_assembler_name): New. | |
2186 | * langhooks.c: Include ggc.h. Include gt-langhooks.h. | |
2187 | (var_labelno): New. | |
2188 | (lhd_set_decl_assembler_name): Give static objects with context | |
2189 | unique names. | |
2190 | * varasm.c (var_labelno): Delete. | |
2191 | (make_decl_rtl): Don't change the assembler name once it's set. | |
2192 | ||
89e9faee GK |
2193 | * c-opts.c (this_input_filename): New. |
2194 | (finish_options): Take new parameter, name of file being compiled. | |
2195 | Update callers. Set this_input_filename. | |
2196 | (push_command_line_include): Use this_input_filename not | |
2197 | main_input_filename. | |
2198 | ||
6ec3f553 NB |
2199 | 2003-07-17 Neil Booth <neil@daikokuya.co.uk> |
2200 | ||
2201 | * Makefile.in: Depend .pot generation on options.c. | |
2202 | * po/exgettext: Add an extra_files variable containing additional | |
2203 | files to scan. | |
2204 | ||
78ff95dc ZW |
2205 | 2003-07-17 Zack Weinberg <zack@codesourcery.com> |
2206 | ||
36c6d174 ZW |
2207 | * objc/objc-lang.c: Override LANG_HOOKS_WRITE_GLOBALS to |
2208 | c_write_global_declarations. | |
2209 | ||
eb1dfbb2 ZW |
2210 | * c-decl.c: Fix typos in several comments. Remove all |
2211 | #if 0 blocks; reindent as needed. Remove unused argument | |
2212 | to declare_parm_level; all callers changed. | |
2213 | * c-parse.in: Update calls to declare_parm_level. Avoid | |
2214 | issuing a double warning in some circumstances. | |
2215 | * c-typeck.c: Update calls to declare_parm_level. | |
2216 | * c-tree.h: Update prototype of declare_parm_level. | |
2217 | ||
2218 | * c-pragma.c (apply_pragma_weak): Don't complain about a | |
2219 | redundant #pragma weak. | |
2220 | ||
2221 | * objc/objc-act.c (forward_declare_categories, | |
2222 | build_selector_reference_decl, build_class_reference_decl, | |
2223 | build_objc_string_decl, synth_forward_declarations, | |
2224 | build_protocol_reference): Set TREE_PUBLIC on synthetic | |
2225 | forward decl to 0, consistent with eventual definition. | |
2226 | Correct comments to match. | |
2227 | ||
78ff95dc ZW |
2228 | * fixinc/inclhack.def (solaris_mutex_init_2): Escape braces |
2229 | in regexp that don't form a range expression. | |
2230 | * fixinc/fixincl.def: Regenerate. | |
2231 | ||
b23ba0b8 RH |
2232 | 2003-07-17 Richard Henderson <rth@redhat.com> |
2233 | ||
78ff95dc ZW |
2234 | PR target/10907 |
2235 | * config/ia64/ia64.c (ia64_epilogue_uses): GP is live at end | |
2236 | even with !TARGET_CONST_GP. | |
2237 | (ia64_function_ok_for_sibcall): Reject non-local functions. | |
b23ba0b8 | 2238 | |
d944c82d SB |
2239 | 2003-07-17 Steven Bosscher <steven@gcc.gnu.org> |
2240 | ||
2241 | * c-common.c (c_estimate_num_insns_1): Don't handle | |
2242 | METHOD_CALL_EXPR. | |
2243 | * expr.c (safe_from_p): Likewise. | |
2244 | * gengtype.c (adjust_field_tree_exp): Likewise. | |
2245 | * stmt.c (warn_if_unused_value): Likewise | |
2246 | * tree.c (first_rtl_op): Likewise. | |
2247 | * tree.def: Don't define METHOD_CALL_EXPR. | |
2248 | * java/lang.c (java_estimate_num_insns_1): Don't handle | |
2249 | METHOD_CALL_EXPR. | |
2250 | ||
54284728 EB |
2251 | 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr> |
2252 | ||
2253 | PR other/11466 | |
2254 | * doc/invoke.texi (SPARC Options): Document "-mlittle-endian" | |
2255 | and its restrictions for the SPARC64 port. | |
2256 | Move the entry of "-mimpure-text" before that of "-mv8". | |
2257 | ||
bc890961 | 2258 | 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr> |
78ff95dc | 2259 | Phil Edwards <phil@jaj.com> |
bc890961 EB |
2260 | |
2261 | * doc/install.texi (*-*-solaris2*): Document the step-by-step | |
2262 | procedure to bootstrap and install. | |
2263 | Document the preference for the legacy Sun tools in /usr/bin | |
2264 | over the POSIX tools in /usr/xpg4/bin for the build process. | |
2265 | ||
f2ac9964 NB |
2266 | 2003-07-17 Neil Booth <neil@daikokuya.co.uk> |
2267 | ||
2268 | * c.opt: Document Uncodumented; use it. Document ObjC options. | |
2269 | * opts.c (print_filtered_help): Skip undocumented switches. | |
2270 | * opts.h (CL_UNDOCUMENTED): New. | |
2271 | * opts.sh: Handle Undocumented. | |
2272 | * toplev.c (documented_lang_options): Prevent its becoming empty. | |
2273 | objc: | |
2274 | * lang-options.h: Remove. | |
2275 | ||
03988cac UW |
2276 | 2003-07-16 Ulrich Weigand <uweigand@de.ibm.com> |
2277 | ||
2278 | * loop.c (check_ext_dependent_givs): Pass const struct loop * | |
2279 | instead of struct loop_info * as argument. Accept BIVs with | |
2280 | increment +/- 1 provided there is a friendly exit test against | |
2281 | a loop-invariant value. | |
2282 | (strength_reduce): Adapt call to check_ext_dependent_givs. | |
2283 | ||
fada1961 R |
2284 | 2003-07-16 J"orn Rennecke <joern.rennecke@superh.com> |
2285 | Con Bradley <con.bradley@superh.com> | |
2286 | ||
2287 | * sh-protos.h (sh_get_pr_initial_val): Declare. | |
2288 | * sh.c (regno_reg_class): Make its elements type enum reg_class. | |
2289 | (output_stack_adjust): Remove emit_fn argument. Add epilogue_p | |
2290 | and live_regs_mask arguments. Changed all callers. | |
2291 | (save_schedule_s): New structure. | |
2292 | (save_schedule): New typedef. | |
2293 | (scavenge_reg, sh5_schedule_saves, sh5_schedule_saves): New functions. | |
2294 | (calc_live_regs): For TARGET_SHMEDIA, use leaf_function_p. | |
2295 | In interrupts handlers, also save registers that are usually | |
2296 | partially saved, and make sure there is at least one general purpose | |
2297 | register saved if a target register needs saving. | |
2298 | Add casts in comparisons to avoid warnings. | |
2299 | (sh_media_register_for_return): return -1 for interrupt handlers. | |
2300 | (MAX_SAVED_REGS, MAX_TEMPS): New defines. | |
2301 | (sh_expand_prologue): Use sh5_schedule_saves. Check that any temp | |
2302 | registers used are available. | |
2303 | Set RTX_FRAME_RELATED_P where appropriate. | |
2304 | Add an REG_FRAME_RELATED_EXPR for r0 + offset addressing. | |
2305 | (sh_expand_epilogue, sh_set_return_address): Use sh5_schedule_saves. | |
2306 | (initial_elimination_offset): Likewise. | |
2307 | * sh.h (DWARF_CIE_DATA_ALIGNMENT): Set to -4. | |
2308 | (LOCAL_ALIGNMENT, GENERAL_REGISTER_P): Add casts to avoid warnings. | |
2309 | (FP_REGISTER_P): Add casts to fix broken handling of unsigned REGNO. | |
2310 | (XD_REGISTER_P, TARGET_REGISTER_P): Likewise. | |
2311 | (HARD_REGNO_CALL_PART_CLOBBERED): Also yield nonzero for r15, | |
2312 | and for target registers. | |
2313 | (RETURN_IN_MEMORY): Add parentheses to avoid warnings. | |
2314 | (regno_reg_class): Make its elements type enum reg_class. | |
2315 | (CONSTRAINT_LEN): Don't use isdigit. | |
2316 | (FUNCTION_ARG_REGNO_P): Add casts to avoid warnings. | |
2317 | (FUNCTION_ARG): Add parentheses to avoid warnings. | |
2318 | (RETURN_ADDR_RTX): Use sh_get_pr_initial_val. | |
2319 | (RETURN_ADDR_OFFSET): Define to -1 for TARGET_SH5. | |
2320 | (SH_DBX_REGISTER_NUMBER): Add casts to avoid warnings. | |
2321 | (EH_RETURN_DATA_REGNO): Use unsigned constants to avoid warnings. | |
2322 | * sh.md (xordi3+1): Remove unused variable regno. | |
2323 | (return_media): Check that tr0 is available before using it. | |
2324 | ||
bae92bf3 NB |
2325 | 2003-07-16 Neil Booth <neil@daikokuya.co.uk> |
2326 | ||
2327 | * c.opt: Document more options. | |
2328 | ||
cc8c96fd RS |
2329 | 2003-07-16 Roger Sayle <roger@eyesopen.com> |
2330 | ||
2331 | * combine.c (subst): Also handle (subreg (const_double ...)) case | |
2332 | if created by a substitution, by using the original inner mode. | |
2333 | ||
d41ba56f RS |
2334 | 2003-07-16 Roger Sayle <roger@eyesopen.com> |
2335 | ||
2336 | * simplify-rtx.c (simplify_replace_rtx): Convert constant comparisons | |
2337 | to MODE_FLOAT constants if FLOAT_STORE_FLAG_VALUE is defined. | |
2338 | (simplify_rtx): Likewise. Simplify (lo_sum (high X) X) as X. | |
2339 | ||
264d65c1 | 2340 | 2003-07-16 Andrew Pinski <pinskia@physics.uc.edu> |
78ff95dc | 2341 | |
264d65c1 | 2342 | * doc/install.texi (--without-headers): New. |
1622229c AP |
2343 | |
2344 | Partial Fix PR/10129 | |
2345 | * config/darwin.c (machopic_function_base_name): Only Return "<pic base>". | |
2346 | (machopic_output_function_base_name): New; print the true pic label. | |
2347 | (machopic_classify_ident): Pic Base is always a defined data. | |
2348 | * config/darwin.h (ASM_OUTPUT_LABELREF): Support the pic base label. | |
2349 | * config/darwin-proto.h (machopic_output_function_base_name): Prototype. | |
2350 | ||
db2f435b AP |
2351 | * gcse.c (gcse_constant_p): COMPARE of the same registers is a constant |
2352 | if they are not floating point registers. | |
2353 | ||
d07605f5 AP |
2354 | PR c/10962 |
2355 | * ggc.h: Add header guards. | |
2356 | * c-decl.c (finish_struct): Sort fields if | |
2357 | number greater than 15 and there are no | |
2358 | anonymous structs/unions. | |
2359 | * c-common.h: Include ggc.h. | |
2360 | (sorted_fields_type): New struct. | |
2361 | (field_decl_cmp): New prototype. | |
2362 | (resort_sorted_fields): New prototype. | |
2363 | (DECL_DECLARES_TYPE_NON_TEMPLATE_P): New macro. | |
2364 | * c-tree.h: (lang_type): Use pointer to sorted_fields_type | |
2365 | as s, removing other fields. | |
2366 | * c-typeck.c (lookup_field): Use s in lang_type. | |
2367 | These were mostly moved from cp/class.c: | |
2368 | * c-common.c (field_decl_cmp): New static function. | |
2369 | (field_decl_cmp): New function. | |
2370 | (resort_sorted_fields): New function. | |
2371 | ||
3d7964d5 GK |
2372 | 2003-07-16 Geoffrey Keating <geoffk@apple.com> |
2373 | ||
2374 | * config/darwin.c (machopic_select_section): Use decl_readonly_section | |
2375 | to do most of the work. | |
2376 | ||
4e58524e HPN |
2377 | 2003-07-16 Hans-Peter Nilsson <hp@bitrange.com> |
2378 | ||
2379 | * config/mmix/mmix-protos.h: Convert prototypes to ISO C90. | |
2380 | * config/mmix/mmix.c: Convert functions to ISO C90. | |
2381 | (mmix_eh_return_handler_rtx, mmix_output_shifted_value): Tweak | |
2382 | formatting. | |
2383 | (mmix_get_hard_reg_initial_val): Tweak section head comment. | |
2384 | ||
1e0343dd R |
2385 | 2003-07-16 J"orn Rennecke <joern.rennecke@superh.com> |
2386 | ||
2387 | * c-pragma.h (HANDLE_PRAGMA_WEAK): Always define to SUPPORTS_WEAK. | |
2388 | ||
fc4767bb JJ |
2389 | 2003-07-16 Jakub Jelinek <jakub@redhat.com> |
2390 | ||
2391 | * unwind-dw2.c (MD_FROB_UPDATE_CONTEXT): Define. | |
2392 | (uw_update_context_1): Use it. | |
2393 | * config/rs6000/rs6000.c (insn_after_throw): Remove. | |
2394 | (rs6000_aix_emit_builtin_unwind_init): Save $r2 to its location | |
2395 | in parent frame if _Unwind_* called directly instead of through | |
2396 | .plt. | |
2397 | (rs6000_emit_eh_toc_restore): Remove. | |
2398 | (rs6000_emit_prologue): Update stack pointer before doing any saving | |
2399 | if current_function_calls_eh_return. Generate unwind info for $r2. | |
2400 | (rs6000_emit_epilogue): Restore stack pointer after doing all | |
2401 | restoring if current_function_calls_eh_return. Restore $r2. | |
2402 | * config/rs6000/rs6000-protos.h (rs6000_emit_eh_toc_restore): Remove. | |
2403 | * config/rs6000/rs6000.md (eh_return): Remove call to | |
2404 | rs6000_emit_eh_toc_restore. | |
2405 | * config/rs6000/linux64.h (MD_FROB_UPDATE_CONTEXT): Define. | |
2406 | * config/rs6000/aix.h (MD_FROB_UPDATE_CONTEXT): Define. | |
2407 | ||
6972c506 JJ |
2408 | 2003-07-15 Jakub Jelinek <jakub@redhat.com> |
2409 | ||
2410 | * expr.c (emit_block_move): Don't move anything if size is const 0. | |
2411 | (clear_storage): Test against const0_rtx instead of comparing INTVAL | |
2412 | against 0. | |
2413 | ||
ac59ed37 DM |
2414 | 2003-07-15 David S. Miller <davem@redhat.com> |
2415 | ||
2416 | * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Only | |
2417 | emit nop if the last real insn is CALL_INSN. | |
2418 | ||
b828d124 DS |
2419 | 2003-07-16 Danny Smith <dannysmith@users.sourceforge.net> |
2420 | ||
2421 | * config/i386/xm-mingw32.h (HOST_BIT_BUCKET): Define | |
2422 | as "nul". | |
2423 | * config/i386/xm-mingw32.h: Change GNU CC to GCC. | |
2424 | ||
d5648e12 DS |
2425 | 2003-07-16 Danny Smith <dannysmith@users.sourceforge.net> |
2426 | ||
2427 | * config/i386/winnt.c (associated_type): Artificial methods are not | |
2428 | affected by the import/export status of their class unless they are | |
2429 | COMDAT. | |
2430 | (i386_pe_dllimport_p): Do not mark artificial methods as dllimport. | |
2431 | ||
2432 | * config/i386/winnt.c: Fix GCC copyright comment. | |
2433 | ||
b0e3f7ec GDR |
2434 | 2003-07-16 Gabriel Dos Reis <gcc@integrable-solutions.net> |
2435 | ||
2436 | PR c++/11531 | |
2437 | * diagnostic.c (diagnostic_report_diagnostic): Don't ICE if we're | |
2438 | not recursing on hard error. | |
2439 | (diagnostic_for_decl): Likewise. | |
2440 | * diagnostic.def: Rearrange. | |
2441 | ||
71628aa0 R |
2442 | 2003-07-15 J"orn Rennecke <joern.rennecke@superh.com> |
2443 | ||
2444 | * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): | |
2445 | If DWARF_FRAME_RETURN_COLUMN doesn't have a register mode, use Pmode. | |
2446 | ||
2447 | 2003-07-15 J"orn Rennecke <joern.rennecke@superh.com> | |
2448 | Richard Henderson <rth@redhat.com> | |
2449 | ||
2450 | * unwind-dw2.c (_Unwind_GetGR): Use dwarf_reg_size_table | |
2451 | to decide if to access a _Unwind_Ptr or a _Unwind_Word. | |
2452 | (_Unwind_SetGR): Likewise. | |
2453 | (_Unwind_GetPtr, _Unwind_SetSpColumn): New functions. | |
2454 | (Unwind_SpTmp): New typedef. | |
2455 | (uw_update_context_1): Use _Unwind_SetSpColumn and _Unwind_GetPtr. | |
2456 | (uw_update_context): Use _Unwind_GetPtr. | |
2457 | (init_dwarf_reg_size_table): Move above uw_init_context_1. | |
2458 | (uw_init_context_1): Initialize dwarf_reg_size_table if necessary. | |
2459 | Use _Unwind_SetSpColumn. | |
2460 | (uw_install_context_1): Don't initialize dwarf_reg_size_table. | |
2461 | Use _Unwind_GetPtr. | |
2462 | ||
5a170a05 NB |
2463 | 2003-07-15 Neil Booth <neil@daikokuya.co.uk> |
2464 | ||
2465 | * c.opt: Document more options. | |
2466 | * toplev.c (documented_lang_options): Remove all local help strings. | |
2467 | ||
b0afa2fc MM |
2468 | 2003-07-15 Mark Mitchell <mark@codesourcery.com> |
2469 | ||
2470 | PR debug/11473 | |
2471 | * dbxout.c (dbxout_type): Use TYPE_SIZE to determine the sizes of | |
2472 | base classes. | |
2473 | ||
5df90541 KH |
2474 | 2003-07-15 Kazu Hirata <kazu@cs.umass.edu> |
2475 | ||
2476 | PR target/10795 | |
2477 | * config/i386/i386.c (ix86_expand_carry_flag_compare): Don't | |
2478 | swap comparison operands if doing so would generate an | |
2479 | unrecognizable insn. | |
2480 | ||
5a257872 EB |
2481 | 2003-07-15 Eric Botcazou <ebotcazou@libertysurf.fr> |
2482 | ||
2483 | PR optimization/11320 | |
2484 | * sched-int.h (struct deps) [reg_conditional_sets]: New field. | |
2485 | (struct sched_info) [compute_jump_reg_dependencies]: New prototype. | |
2486 | * sched-deps.c (sched_analyze_insn) [JUMP_INSN]: Update call to | |
2487 | current_sched_info->compute_jump_reg_dependencies. Record which | |
2488 | registers are used and which registers are set by the jump. | |
2489 | Clear deps->reg_conditional_sets after a barrier. | |
2490 | Set deps->reg_conditional_sets if the insn is a COND_EXEC. | |
2491 | Clear deps->reg_conditional_sets if the insn is not a COND_EXEC. | |
2492 | (init_deps): Initialize reg_conditional_sets. | |
2493 | (free_deps): Clear reg_conditional_sets. | |
2494 | * sched-ebb.c (compute_jump_reg_dependencies): New prototype. | |
2495 | Mark registers live on entry of the fallthrough block and conditionally | |
2496 | set as set by the jump. Mark registers live on entry of non-fallthrough | |
2497 | blocks as used by the jump. | |
2498 | * sched-rgn.c (compute_jump_reg_dependencies): New prototype. | |
2499 | Mark new parameters as unused. | |
2500 | ||
3cec3f83 RS |
2501 | 2003-07-15 Richard Sandiford <rsandifo@redhat.com> |
2502 | ||
2503 | * doc/invoke.texi: Resync MIPS -march documentation. | |
2504 | ||
98450f0d RS |
2505 | 2003-07-15 Richard Sandiford <rsandifo@redhat.com> |
2506 | ||
2507 | * config/mips/mips.h (PROCESSOR_R9000): New processor_type. | |
2508 | (TARGET_MIPS9000, TUNE_MIPS9000): New macros. | |
2509 | (GENERATE_MULT3_SI): True for TARGET_MIPS9000. | |
2510 | * config/mips/mips.c (mips_cpu_info_table): Add rm9000 entry. | |
2511 | (mips_rtx_costs): Adjust integer multiplication costs for the rm9000. | |
2512 | (mips_issue_rate): Handle PROCESSOR_R9000. | |
2513 | (mips_use_dfa_pipeline_interface): Likewise. | |
2514 | * config/mips/9000.md: New file. | |
2515 | * config/mips/mips.md: Include it. | |
2516 | (define_attr cpu): Add r9000. | |
2517 | (mulsi3_mult3): Use "mul" for rm9000 code. | |
2518 | ||
5fe25f47 SC |
2519 | 2003-07-15 Stan Cox <scox@redhat.com> |
2520 | ||
2521 | * config/mips/mips.h (PROCESSOR_R7000): New processor_type. | |
2522 | (TARGET_MIPS7000, TUNE_MIPS7000): New macros. | |
2523 | (GENERATE_MULT3_SI): True for TARGET_MIPS7000. | |
2524 | * config/mips/mips.c (mips_cpu_info_table): Add rm7000 entry. | |
2525 | (mips_rtx_costs): Adjust integer multiplication costs for the rm7000. | |
2526 | (mips_issue_rate): Handle PROCESSOR_R7000. | |
2527 | (mips_use_dfa_pipeline_interface): Likewise. | |
2528 | * config/mips/7000.md: New file. | |
2529 | * config/mips/mips.md: Include it. | |
2530 | (define_attr cpu): Add r7000. | |
2531 | (mulsi3_mult3): Use "mul" for rm7000 code. | |
2532 | ||
5a2515e6 RS |
2533 | 2003-07-15 Richard Sandiford <rsandifo@redhat.com> |
2534 | ||
2535 | * config/mips/mips.md (define_attr type): Add condmove. Use it for | |
2536 | the conditional move patterns. | |
2537 | * config/mips/5400.md (ir_vr54_move): Rename to ir_vr54_condmove. | |
2538 | Check for condmove type. | |
2539 | (ir_vr54_arith): Add move type. | |
2540 | * config/mips/5500.md (ir_vr55_move, ir_vr55_arith): Likewise. | |
2541 | * config/mips/sr71k.md (ir_sr70_move, ir_sr70_arith): Likewise. | |
2542 | ||
72de27ea NB |
2543 | 2003-07-15 Neil Booth <neil@daikokuya.co.uk> |
2544 | ||
2545 | * c-opts.c (print_help): Remove. | |
2546 | (c_common_handle_option): Don't handle --help. | |
2547 | * c.opt: Document some options. | |
2548 | (--help): Remove. | |
2549 | * opts.c (print_filtered_help): New. | |
2550 | (print_help): Use it. | |
2551 | ||
e6ebd07b GK |
2552 | 2003-07-14 Geoffrey Keating <geoffk@apple.com> |
2553 | ||
2d799c09 GK |
2554 | * c-common.c (c_common_type_for_mode): Handle V4DFmode. |
2555 | * tree.c: (build_common_tree_nodes_2): Likewise. | |
2556 | * tree.h (enum tree_index): Add TI_V4DF_TYPE. | |
2557 | (V4DF_type_node): New. | |
2558 | ||
e6ebd07b GK |
2559 | * c-opts.c (push_command_line_include): Don't free deferred_opts, |
2560 | we'll need it. | |
2561 | (finish_options): Reset init_cursor. | |
2562 | ||
b90f141a KH |
2563 | 2003-07-15 Kazu Hirata <kazu@cs.umass.edu> |
2564 | ||
2565 | * expr.c (expand_assignment): Remove an unused argument | |
2566 | SUGGEST_REG. | |
2567 | * expr.h: Update the prototype. | |
2568 | * function.c: Update the callers. | |
2569 | * stmt.c: Likewise. | |
2570 | ||
1e7ee6ad MM |
2571 | 2003-07-14 Mark Mitchell <mark@codesourcery.com> |
2572 | ||
2573 | PR debug/11098 | |
2574 | * integrate.c (copy_decl_for_inlining): Do not mark copied decls | |
2575 | as DECL_ABSTRACT. | |
2576 | ||
bf66f7b0 NN |
2577 | 2003-07-14 Nathanael Nerode <neroden@gcc.gnu.org> |
2578 | ||
2579 | * fixinc/inclhack.def (avoid_bool_define, avoid_bool_type): Bypass | |
2580 | with __cplusplus, not "we must use the C++ compiler's type" | |
2581 | * fixinc/inclhack.def (void_null): Note that Interix needs this. | |
2582 | * fixinc/fixincl.x: Regenerate. | |
2583 | ||
18009d03 GK |
2584 | 2003-07-14 Geoffrey Keating <geoffk@apple.com> |
2585 | ||
ea00486e GK |
2586 | * unwind-dw2-fde-darwin.c (live_image_destructor): Get seen_objects |
2587 | and unseen_objects from the global data before calling | |
2588 | __deregister_frame_info_bases. | |
2589 | (examine_objects): Insert objects into the seen_objects list, | |
2590 | not unseen_objects. | |
2591 | (_Unwind_Find_FDE): Always unlock the global object lists, even if | |
2592 | we couldn't allocate a data structure to put in it. | |
2593 | ||
18009d03 GK |
2594 | * objc/objc-act.h (CLASS_SUPER_NAME): Add a little typechecking. |
2595 | (TYPE_PROTOCOL_LIST): Share use of type.context with C frontend. | |
2596 | (SET_TYPE_PROTOCOL_LIST): New. | |
2597 | * objc/objc-act.c (get_static_reference): Use SET_TYPE_PROTOCOL_LIST. | |
2598 | (get_object_reference): Likewise. | |
2599 | ||
9ae130f8 JH |
2600 | Mon Jul 14 23:14:28 CEST 2003 Jan Hubicka <jh@suse.cz> |
2601 | ||
2602 | * cfglayout.c (locator_file): Break out from .... | |
2603 | (insn_file): ... here. | |
2604 | (locator_line): Break out from .... | |
2605 | (insn_line): ... here. | |
2606 | * rtl.h (locator_file, locator_line): Declare. | |
2607 | (final_start_function): Set proper line/file info. | |
2608 | ||
e07d4821 GDR |
2609 | 2003-07-14 Gabriel Dos Reis <gdr@integrable-solutions.net> |
2610 | ||
2611 | * c-pretty-print.c (pp_c_unary_expression): A CONVERT_EXPR is | |
2612 | handled by pp_c_cast_expression. | |
2613 | ||
121d69e6 RS |
2614 | 2003-07-14 Richard Sandiford <rsandifo@redhat.com> |
2615 | ||
2616 | * config/mips/mips.c (mips_expand_prologue): Use a single insn to | |
2617 | allocate 32768 bytes of stack. Use addition rather than subtraction | |
2618 | when a single insn is enough. | |
2619 | * config/mips/mips.md: Remove insns and splitters for subtracting | |
2620 | constants. | |
2621 | (subsi3): Only accept register operands. | |
2622 | (subsi3_internal): Likewise. Use for TARGET_MIPS16 as well. | |
2623 | (subdi3_internal_3, subsi3_internal_2): Likewise. | |
2624 | (casesi): Use expand_binop to subtract the lower bound. | |
2625 | ||
3485245e RS |
2626 | 2003-07-14 Richard Sandiford <rsandifo@redhat.com> |
2627 | ||
2628 | * config/mips/mips.c (mips_in_small_data_p): Don't handle | |
2629 | TARGET_MIPS16 specially. | |
2630 | ||
6627b7f9 RS |
2631 | 2003-07-14 Richard Sandiford <rsandifo@redhat.com> |
2632 | ||
6d0b50a4 RS |
2633 | * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Use |
2634 | mips_output_aligned_bss. | |
2635 | * config/mips/linux.h: Likewise. | |
2636 | * config/mips/mips-protos.h (mips_output_aligned_bss): Declare. | |
2637 | * config/mips/mips.c (mips_output_aligned_bss): New function. | |
2638 | ||
8d50bd19 RS |
2639 | * config/mips/elf.h (DBX_DEBUGGING_INFO): Delete. |
2640 | * config/mips/elf64.h: Likewise. | |
2641 | ||
c1115ccd RS |
2642 | * config/mips/elf.h (ASM_DECLARE_OBJECT_NAME): Use |
2643 | mips_declare_object_name. | |
2644 | (ASM_FINISH_DECLARE_OBJECT): Likewise mips_finish_declare_object. | |
2645 | * config/mips/elf64.h: As for elf.h. | |
2646 | * config/mips/iris6.h: Likewise. | |
2647 | * config/mips/linux.h (ASM_DECLARE_OBJECT_NAME): As for elf.h. | |
2648 | * config/mips/mips.h (ASM_DECLARE_OBJECT_NAME): Remove unnecessary | |
2649 | do...while (0) block. | |
2650 | * config/mips/mips-protos.h (mips_declare_object_name): Declare. | |
2651 | (mips_finish_declare_object): Declare. | |
2652 | * config/mips/mips.c (mips_declare_object_name): New function. | |
2653 | (mips_finish_declare_object): New function. | |
2654 | ||
060ff934 RS |
2655 | * config/mips/elf.h (SBSS_SECTION_ASM_OP): Delete. |
2656 | * config/mips/linux.h: Likewise. | |
2657 | ||
d82783b6 RS |
2658 | * config/mips/mips.c (inside_function): Delete. |
2659 | (file_in_function_warning, ignore_line_number): Delete. | |
2660 | (mips_output_filename): Don't warn about changing filenames within | |
2661 | a function. | |
2662 | (mips_output_lineno): Update accordingly. | |
2663 | (mips_output_function_prologue): Don't reset the deleted variables. | |
2664 | * config/mips/mips.h (inside_function): Delete. | |
2665 | (file_in_function_warning, ignore_line_number): Delete. | |
2666 | ||
373f8df7 RS |
2667 | * config/mips/elf.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Remove undefs. |
2668 | * config/mips/elf64.h: Likewise. | |
2669 | * config/mips/openbsd.h: Likewise. | |
2670 | * config/mips/iris5.h (OBJECT_FORMAT_COFF): Remove undefs. | |
2671 | * config/mips/linux.h: Likewise. | |
2672 | * config/mips/mips.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Delete. | |
2673 | (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, MIPS_UNMARK_STAB): Delete. | |
2674 | ||
6627b7f9 RS |
2675 | * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Add mips/sdb.h |
2676 | to the list of include files when using gas. | |
2677 | (mips*el-*-openbsd*, mips*-*-openbsd*): Add mips/sdb.h unconditionally. | |
2678 | * config/mips/elf.h: Remove #undef SDB_DEBUGGING_INFO. | |
2679 | * config/mips/elf64.h: Likewise. | |
2680 | * config/mips/iris5.h: Likewise. | |
2681 | * config/mips/linux.h: Likewise. | |
2682 | * config/mips/iris5gas.h (SDB_DEBUGGING_INFO): Remove definition. | |
2683 | * config/mips/mips.h (PREFERRED_DEBUGGING_TYPE): Likewise. | |
2684 | (SDB_DEBUGGING_INFO, sdb*, SDB_ALLOW_*, PUT_SDB*): Move to... | |
2685 | * config/mips/sdb.h: ...this new file. | |
2686 | ||
c18b00c0 NN |
2687 | 2003-07-14 Douglas Rupp <rupp@gnat.com> |
2688 | ||
2689 | * fixinc/server.c (server_setup): Don't use non-POSIX NULL first | |
2690 | argument to getcwd; use fixed buffer instead. | |
2691 | ||
2692 | 2003-07-14 Nathanael Nerode <neroden@gcc.gnu.org> | |
2693 | ||
2694 | * fixinc/mkfixinc.sh: Treat OpenBSD normally. | |
2695 | * fixinc/fixinc.wrap: Delete. | |
2696 | ||
adc4adcd GP |
2697 | 2003-07-14 Dan Nicolaescu <dann@ics.uci.edu> |
2698 | ||
2699 | * ggc-page.c (extra_order_size_table): Insns have 9 slots. Regs | |
2700 | don't have 2. | |
2701 | ||
2702 | 2003-07-14 Dan Nicolaescu <dann@ics.uci.edu> | |
2703 | ||
2704 | * ggc-page.c (struct globals): Add new fields to keep track of the | |
2705 | total allocated memory and overhead. | |
2706 | (ggc_print_statistics): Print them. | |
2707 | (ggc_alloc): Keep track of the total allocated memory and the | |
2708 | overhead. | |
2709 | ||
2710 | * tree.c (dump_tree_statistics): Increase spacing. | |
2711 | (enum tree_node_kind): Move to ... | |
2712 | * tree.h (enum tree_node_kind): ... here. | |
2713 | (tree_node_counts, tree_node_sizes): Declare. | |
2714 | ||
2715 | 2003-07-14 James A. Morrison <ja2morri@student.math.uwaterloo.ca> | |
2716 | ||
2717 | * doc/include/texinfo.tex: Upgrade to texinfo 4.6. | |
2718 | ||
bbd288a4 FS |
2719 | 2003-07-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
2720 | ||
2721 | PR optimization/11440 | |
2722 | * gcse.c (try_replace_reg): Don't attach notes to ZERO_EXTRACT or | |
2723 | SIGN_EXTRACT SETs. | |
2724 | ||
6e985040 AM |
2725 | 2003-07-14 Alan Modra <amodra@bigpond.net.au> |
2726 | ||
2727 | * doc/tm.texi (BLOCK_REG_PADDING): Describe. | |
2728 | * expr.h (struct locate_and_pad_arg_data): Add where_pad. | |
2729 | (emit_group_load, emit_group_store): Adjust declarations. | |
2730 | Remove most occurrences of #ifdef TREE_CODE. | |
2731 | * expr.c (emit_group_load): Add "type" param, and use | |
2732 | BLOCK_REG_PADDING to determine need for a shift. Optimize non- | |
2733 | aligned accesses if !SLOW_UNALIGNED_ACCESS. | |
2734 | (emit_group_store): Likewise. | |
2735 | (emit_push_insn, expand_assignment, store_expr, expand_expr): Adjust | |
2736 | emit_group_load and emit_group_store calls. | |
2737 | * calls.c (store_unaligned_arguments_into_pseudos): Tidy. Use | |
2738 | BLOCK_REG_PADDING to determine whether we need endian_correction. | |
2739 | (load_register_parameters): Localize vars. Handle shifting of | |
2740 | small values to the correct end of regs. Adjust emit_group_load | |
2741 | call. | |
2742 | (expand_call, emit_library_call_value_1): Adjust emit_group_load | |
2743 | and emit_group_store calls. | |
2744 | * function.c (assign_parms): Set mem alignment for stack slots. | |
2745 | Adjust emit_group_store call. Store values at the "wrong" end | |
2746 | of regs to the stack. Use BLOCK_REG_PADDING. | |
2747 | (locate_and_pad_parm): Save where_pad. | |
2748 | (expand_function_end): Adjust emit_group_load call. | |
2749 | * stmt.c (expand_value_return): Adjust emit_group_load call. | |
2750 | * Makefile.in (calls.o): Depend on $(OPTABS_H). | |
2751 | * config/rs6000/linux64.h (TARGET_LITTLE_ENDIAN): Redefine as 0. | |
2752 | (AGGREGATE_PADDING_FIXED, AGGREGATES_PAD_UPWARD_ALWAYS): Define. | |
2753 | (MUST_PASS_IN_STACK): Define. | |
2754 | (BLOCK_REG_PADDING): Define. | |
2755 | * config/rs6000/rs6000.h (struct rs6000_args): Remove orig_nargs. | |
2756 | (PAD_VARARGS_DOWN): Define in terms of FUNCTION_ARG_PADDING. | |
2757 | * config/rs6000/rs6000.c (init_cumulative_args): Don't set orig_nargs. | |
2758 | (function_arg_padding): !AGGREGATE_PADDING_FIXED compatibility code. | |
2759 | Act on AGGREGATES_PAD_UPWARD_ALWAYS. | |
2760 | ||
4fab535e AL |
2761 | 2003-07-13 Aaron W. LaFramboise <awlaframboise@aol.com> |
2762 | ||
2763 | * config/i386/gthr-win32.c (__GTHREAD_HIDE_WIN32API): Define to 1. | |
2764 | ||
8d2e5f72 RK |
2765 | 2003-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2766 | ||
2767 | * expr.c (expand_expr, case COMPONENT_REF): If reg, copy OP0 to MEM | |
2768 | both if OFFSET specified and if result BLKmode for ARRAY_RANGE_REF. | |
2769 | ||
7eaab492 NN |
2770 | 2003-07-13 Nathanael Nerode <neroden@gcc.gnu.org> |
2771 | ||
2772 | PR other/11123 | |
2773 | * toplev.c: Don't cut off option names. | |
2774 | ||
9d4a30f2 AJ |
2775 | 2003-07-13 Andreas Jaeger <aj@suse.de> |
2776 | ||
2777 | * c-decl.c (link_hash_hash): Avoid warning about casting pointer | |
2778 | to integer of different size. | |
2779 | ||
34ed3bb0 KH |
2780 | 2003-07-13 Kazu Hirata <kazu@cs.umass.edu> |
2781 | ||
2782 | * combine.c (simplify_comparison): Convert (ne (and (not X) 1) 0) | |
2783 | to (eq (and X 1) 0). | |
2784 | ||
1a7d0840 AJ |
2785 | 2003-07-13 Andreas Jaeger <aj@suse.de> |
2786 | ||
2787 | * config.gcc: Add pmmintrin.h for x86_64-*-*. | |
2788 | ||
43839642 ZW |
2789 | 2003-07-13 Zack Weinberg <zack@codesourcery.com> |
2790 | ||
2791 | * Makefile.in (LIBCPP_DEPS): Remove coretypes.h and $(TM_H). | |
2792 | (hashtable.o, line-map.o, mkdeps.o): Likewise, from dependency | |
2793 | list. Move these all together down by cpplib. | |
2794 | ||
2795 | * cpplib.h: Don't refer to MAX_WCHAR_TYPE_SIZE when determining | |
2796 | definition of CPPCHAR_SIGNED_T. | |
2797 | ||
2798 | * cppcharset.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c, cppinit.c | |
2799 | * cpplex.c, cpplib.c, cppmacro.c, cpppch.c, cpptrad.c, hashtable.c | |
2800 | * line-map.c, mkdeps.c: Don't include coretypes.h or tm.h. | |
2801 | ||
2802 | * cpphash.c (_cpp_init_hashtable): Don't use gcc_obstack_init. | |
2803 | * cppinit.c (cpp_create_reader): Likewise. | |
2804 | ||
2805 | * cpphash.h (scan_out_logical_line): Rename _cpp_scan_out_logical_line. | |
2806 | * cpptrad.c: Likewise. All callers changed. | |
2807 | * cpplib.c: All callers changed. | |
2808 | * c-ppoutput.c: Replace 'uchar' with 'unsigned char' throughout. | |
2809 | * hashtable.h: Define GTY(x) to nothing here too. | |
2810 | ||
0acf4f88 RK |
2811 | 2003-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2812 | ||
2813 | * stor-layout.c (compute_record_mode): Remove very obsolete test | |
2814 | that forces BLKmode for records with fields crossing word boundary. | |
2815 | ||
46db61e7 ZW |
2816 | 2003-07-13 Zack Weinberg <zack@codesourcery.com> |
2817 | ||
2818 | * Makefile.in: Remove orphan reference to acconfig.h. | |
2819 | ||
db0e878d AJ |
2820 | 2003-07-13 Andreas Jaeger <aj@suse.de> |
2821 | ||
2822 | * cgraphunit.c: Convert prototypes to ISO C90. | |
2823 | ||
4146d8d0 NN |
2824 | 2003-07-13 Nathanael Nerode <neroden@gcc.gnu.org> |
2825 | ||
2826 | * fixinc/inclhack.def (avoid_wchar_t_type): Use __cplusplus bypass | |
2827 | (for OpenBSD). | |
2828 | * fixinc/fixincl.x: Rebuild. | |
2829 | ||
6f3ca281 ZW |
2830 | 2003-07-12 Zack Weinberg <zack@codesourcery.com> |
2831 | ||
2832 | * configure.in: Always define HAVE_AS_GOTOFF_IN_DATA for | |
2833 | i?86-*-*. Use correct name of cache variable. | |
2834 | * configure: Regenerate. | |
2835 | ||
9a9f7594 KH |
2836 | 2003-07-12 Kazu Hirata <kazu@cs.umass.edu> |
2837 | ||
2838 | * config/alpha/alpha.c: Fix comment typos. | |
2839 | * config/alpha/alpha.md: Likewise. | |
2840 | * config/arm/arm.c: Likewise. | |
2841 | * config/arm/arm.md: Likewise. | |
2842 | * config/arm/lib1funcs.asm: Likewise. | |
2843 | * config/avr/avr.md: Likewise. | |
2844 | * config/arm/README-interworking: Fix typos. | |
2845 | ||
4ed43216 KH |
2846 | 2003-07-12 Kazu Hirata <kazu@cs.umass.edu> |
2847 | ||
2848 | * c-format.c: Fix comment formatting. | |
2849 | * c-typeck.c: Likewise. | |
2850 | * coverage.c: Likewise. | |
2851 | * cppcharset.c: Likewise. | |
2852 | * cpplib.c: Likewise. | |
2853 | * dbxout.c: Likewise. | |
2854 | * gcov-io.h: Likewise. | |
2855 | * toplev.c: Likewise. | |
2856 | ||
c3a5b1e9 NN |
2857 | 2003-07-12 Nathanael Nerode <neroden@gcc.gnu.org> |
2858 | ||
6f3ca281 | 2859 | * fixinc/inclhack.def (alpha_sbrk): Note that OpenBSD needs this |
c3a5b1e9 NN |
2860 | fix. |
2861 | ||
8ada417f ZW |
2862 | 2003-07-12 Zack Weinberg <zack@codesourcery.com> |
2863 | ||
2864 | * aclocal.m4 (gcc_AC_CHECK_TYPE): Clone of AC_CHECK_TYPE, | |
2865 | uses three-argument AC_DEFINE so no acconfig.h entries are | |
2866 | needed. | |
2867 | (_gcc_COMPUTE_GAS_VERSION): Also provide gcc_cv_gas_vers | |
2868 | which contains the GAS version number as a scaled integer. | |
2869 | (gcc_GAS_VERSION_GTE_IFELSE): Use gcc_cv_gas_vers. Add | |
2870 | ability to check for ELF assembler. | |
2871 | (gcc_GAS_CHECK_FEATURE): New macro. | |
2872 | * configure.in: Use gcc_AC_CHECK_TYPE. Rewrite all | |
2873 | assembler feature checks using gcc_GAS_CHECK_FEATURE. | |
2874 | Use three-argument AC_DEFINE everywhere. | |
2875 | * acconfig.h: Deleted. | |
2876 | * config.in, configure: Regenerate. | |
2877 | ||
d5d16b5f NN |
2878 | 2003-07-12 Nathanael Nerode <neroden@gcc.gnu.org> |
2879 | ||
3b57c563 NN |
2880 | * fixinc/inclhack.def (struct_sockaddr): Avoid "fixing" sockaddr_in |
2881 | (on OpenBSD). | |
d33fb69b | 2882 | * fixinc/fixincl.x: Regenerate. |
3b57c563 | 2883 | |
d5d16b5f NN |
2884 | * fixinc/inclhack.def (gnu_types): Improve comment. |
2885 | ||
439f7bc3 AJ |
2886 | 2003-07-12 Andreas Jaeger <aj@suse.de> |
2887 | ||
2888 | * fp-test.c (main): Use ISO C90 prototype. | |
2889 | ||
2890 | * version.c: Remove unneded include of ansidecl.h. | |
2891 | ||
2892 | * cgraph.h: Convert prototypes to ISO C90. | |
2893 | * cgraph.c: Likewise. | |
2894 | * fix-header.c: Likewise. | |
2895 | * ra.h: Likewise. | |
2896 | * protoize.c: Likewise. | |
2897 | ||
1a5c5701 JH |
2898 | Sat Jul 12 06:09:38 CEST 2003 Jan Hubicka <jh@suse.cz> |
2899 | ||
2900 | * cgraphunit.c (cgraph_inlined_into, cgraph_inlined_calees): Fix | |
2901 | warning. | |
2902 | ||
b58b1157 JH |
2903 | Sat Jul 12 03:06:01 CEST 2003 Jan Hubicka <jh@suse.cz> |
2904 | Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> | |
2905 | ||
2906 | * cgraph.c (cgraph_max_uid): New global variable. | |
2907 | (cgraph_node): Set uid field. | |
2908 | (create_edge): Keep inline flags consistent. | |
2909 | (dump_cgraph): Dump more info. | |
2910 | * cgraph.h (struct cgraph_local_info): Remove inline_many and | |
2911 | can_inline_once; add inlinable, disgread_inline_limits, and self_insn | |
2912 | (struct cgraph_global_info): Add insns, calls, cloned_times, | |
2913 | will_be_output. | |
2914 | (struct cgraph_node): Add uid. | |
2915 | (struct cgraph_edge): Add inline_call. | |
2916 | (cgraph_max_uid, cgraph_inline_p): Declare. | |
2917 | * cgraph.c: Include params.h and fibheap.h | |
2918 | (cgraph_mark_functions_to_inline_once): Kill. | |
2919 | (INSNS_PER_CALL): New constant. | |
2920 | (ncalls_inlined, nfunctions_inlined, initial_insns, overall_insns): New | |
2921 | static variables. | |
2922 | (cgraph_finalize_function): Do not analyze inlining. | |
2923 | (cgraph_finalize_compilation_unit): Set inlining attributes. | |
2924 | (cgraph_mark_functions_to_output): More consistency checks. | |
2925 | (cgraph_optimize_function): Set current_function_decl to NULL. | |
2926 | (cgraph_expand_function): Use new inline flags. | |
2927 | (cgraph_postorder): Expand from cgraph_expand_functions. | |
2928 | (INLINED_TIMES, SET_INLINED_TIMES): New macros. | |
2929 | (cgraph_inlined_into, cgraph_inlined_callees, | |
2930 | cgraph_estimate_size_after_inlining, cgraph_estimate_growth, | |
2931 | cgraph_mark_inline, cgraph_check_inline_limits, | |
439f7bc3 | 2932 | cgraph_default_inline_p, cgraph_decide_inling_of_small_functions, |
b58b1157 JH |
2933 | cgraph_decide_inlining, cgraph_inline_p): New functions. |
2934 | * params.def (PARAM_LARGE_FUNCTION_INSNS, PARAM_LARGE_FUNCTION_GROWTH, | |
2935 | PARAM_INLINE_UNIT_GROWTH): New parameters. | |
2936 | * tree-inline.c (struct inline_data): New field current_decl. | |
2937 | (expand_call_inline): Avoid forward declarations; use | |
2938 | inlinable_function_p. | |
2939 | (optimize_inline_calls): Set id.current_decl. | |
2940 | ||
27b8e366 AP |
2941 | 2003-07-11 Andrew Pinski <pinskia@physics.uc.edu> |
2942 | ||
2943 | * configure.in: Remove wrongly added definition of | |
2944 | local_prefix. | |
2945 | * configure: Regenerate. | |
2946 | ||
80fa0b4c DN |
2947 | 2003-07-11 Dan Nicolaescu <dann@ics.uci.edu> |
2948 | ||
2949 | * rtl.def (NOTE): Do not use padding. | |
2950 | ||
1ea6f4c8 DH |
2951 | 2003-07-11 Dara Hazeghi <dhazeghi@yahoo.com> |
2952 | ||
2953 | * doc/install.tex: Update required binutils for i?86-*-linux* | |
2954 | ||
ed2d8944 RH |
2955 | 2003-07-11 Richard Henderson <rth@redhat.com> |
2956 | ||
2957 | * Makefile.in (stage1_build): Force OBJS-onestep=OBJS. | |
2958 | ||
a44cea75 MM |
2959 | 2003-07-11 Mark Mitchell <mark@codesourcery.com> |
2960 | ||
2961 | * varasm.c (make_decl_rtl): Treat decls with a DECL_CONTEXT of | |
2962 | TRANSLATION_UNIT_DECL as top_level. | |
2963 | ||
358b8f01 JJ |
2964 | 2003-07-11 Jakub Jelinek <jakub@redhat.com> |
2965 | ||
2966 | * optabs.c (prepare_cmp_insn): Try cmpmemM first if it exists, | |
2967 | then fall back to cmpstrM. | |
2968 | * builtins.c (expand_builtin_memcmp): Likewise. | |
2969 | * config/s390/s390-protos.h (s390_expand_cmpstr): Rename to... | |
2970 | (s390_expand_cmpmem): ... this. | |
2971 | * config/s390/s390.md (cmpmemdi, cmpmemsi, cmpmem_short_64, | |
2972 | cmpmem_short_31, cmpmem_long_64, cmpmem_long_31): Renamed | |
2973 | from cmpstr* patterns. Rename call to s390_expand_cmpstr | |
2974 | to s390_expand_cmpmem. | |
2975 | * config/s390/s390.c (s390_expand_cmpstr): Rename to... | |
2976 | (s390_expand_cmpstr): ... this. Rename cmpstr* instructions | |
2977 | to cmpmem*. | |
2978 | * config/i370/i370.md (cmpmemsi, cmpmemsi_1): Renamed from | |
2979 | cmpstr* patterns. | |
2980 | * doc/md.texi (cmpstrM): Describe as String compare insn, not | |
2981 | Block compare insn. | |
2982 | (cmpmemM): Add. | |
2983 | ||
8634e925 LR |
2984 | 2003-07-11 Loren James Rittle <ljrittle@acm.org> |
2985 | ||
2986 | * config/i386/freebsd.h (SET_ASM_OP): Remove. | |
2987 | (SUBTARGET_OVERRIDE_OPTIONS): Handle TARGET_64BIT case. | |
2988 | (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, DBX_REGISTER_NUMBER | |
2989 | MCOUNT_NAME, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE_SIZE): Whitespace. | |
2990 | ||
48144cd4 RH |
2991 | 2003-07-11 Richard Henderson <rth@redhat.com> |
2992 | ||
2993 | * function.c (assign_parms): Don't recombine complex args if | |
2994 | fnargs is unchanged from orig_fnargs. | |
2995 | (split_complex_args): Return args without complex before copying. | |
2996 | Re-layout the modified parameters. | |
2997 | ||
fee226d2 R |
2998 | 2003-07-11 J"orn Rennecke <joern.rennecke@superh.com> |
2999 | ||
3000 | * regclass.c (choose_hard_reg_mode): Add third argument. | |
3001 | Changed all callers. | |
3002 | * rtl.h (choose_hard_reg_mode): Update declaration. | |
3003 | * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): | |
3004 | Take HARD_REGNO_CALL_PART_CLOBBERED into account. | |
3005 | ||
d1bd0ded GK |
3006 | 2003-07-11 Geoffrey Keating <geoffk@apple.com> |
3007 | ||
3008 | * c-decl.c (finish_decl): Handle 'used' here... | |
3009 | * cgraphunit.c (cgraph_finalize_function): ... and here ... | |
3010 | * c-common.c: (handle_used_attribute): ... not here. | |
439f7bc3 | 3011 | |
d1bd0ded GK |
3012 | * configure.in (onstep): Support --enable-intermodule. |
3013 | * Makefile.in (OBJS-common): New. | |
3014 | (OBJS-md): New. | |
3015 | (OBJS-archive): New. | |
3016 | (OBJS): Build from OBJS-common, OBJS-md, OBJS-archive. | |
3017 | (OBJS-onestep): New. | |
3018 | (libbackend.a): Support @onestep@. | |
3019 | (libbackend.o): New. | |
3020 | * configure: Regenerate. | |
439f7bc3 | 3021 | |
d1bd0ded GK |
3022 | * c-common.h (c_reset_state): New prototype. |
3023 | (c_parse_file): New prototype. | |
3024 | (finish_file): Move prototype from c-tree.h. | |
3025 | * c-decl.c: Include <hashtab.h>. | |
3026 | (builtin_decls): New. | |
3027 | (current_file_decl): New. | |
3028 | (duplicate_decls): Add extra parameter. Change all callers. Don't | |
3029 | output duplicate common symbols. | |
3030 | (link_hash_hash): New. | |
3031 | (link_hash_eq): New. | |
3032 | (poplevel): Handle popping of the top level. | |
3033 | (warn_if_shadowing): Handle TRANSLATION_UNIT_DECL. | |
3034 | (pushdecl): Set DECL_CONTEXT to TRANSLATION_UNIT_DECL if appropriate. | |
3035 | (pushdecl_top_level): Likewise. | |
3036 | (redeclaration_error_message): Handle TRANSLATION_UNIT_DECL. | |
3037 | (c_init_decl_processing): Create TRANSLATION_UNIT_DECL. | |
3038 | (finish_decl): Handle TRANSLATION_UNIT_DECL. | |
3039 | (merge_translation_unit_decls): New. | |
3040 | (c_write_global_declarations): New. | |
3041 | (c_reset_state): New. | |
3042 | (implicitly_declare): Handle TRANSLATION_UNIT_DECL. | |
3043 | * c-lang.c (LANG_HOOKS_WRITE_GLOBALS): New. | |
3044 | * c-objc-common.c (c_cannot_inline_tree_fn): Handle | |
3045 | TRANSLATION_UNIT_DECL. | |
3046 | (c_objc_common_finish_file): Call merge_translation_unit_decls. | |
3047 | * c-opts.c (in_fnames): Rename from in_fname. | |
3048 | (c_common_decode_option): Handle multiple input filenames. | |
3049 | (c_common_post_options): Likewise. | |
3050 | (c_common_parse_file): Likewise; also, call c_parse_file rather than | |
3051 | yyparse. | |
3052 | * c-parse.in: Move cleanup code to c_parse_file. | |
3053 | (free_parser_stacks): Move contents to c_parse_file. | |
3054 | (c_parse_file): New. | |
3055 | * c-tree.h (union lang_tree_node): Chain along TYPE_NEXT_VARIANT | |
3056 | for integer types. | |
3057 | (C_DECL_FILE_SCOPE): New. | |
3058 | (finish_file): Move prototype to c-common.h. | |
3059 | (merge_translation_unit_decls): New prototype. | |
3060 | (comptypes): Add extra parameter to prototype. | |
3061 | (c_write_global_declarations): New prototype. | |
3062 | * c-typeck.c (tagged_types_tu_compatible_p): New. | |
3063 | (function_types_compatible_p): Add extra parameter, change all callers. | |
3064 | (type_lists_compatible_p): Likewise. | |
3065 | (comptypes): Likewise. | |
3066 | (struct tagged_tu_seen): New. | |
3067 | (tagged_tu_seen_base): New. | |
3068 | (build_unary_op): Handle TRANSLATION_UNIT_DECL. | |
3069 | (c_mark_addressable): Remove #if 0 code. | |
3070 | * calls.c (special_function_p): Handle TRANSLATION_UNIT_DECL, add | |
3071 | comment explaining why it shouldn't have to. | |
3072 | * cgraph.h (struct cgraph_node): Add chain_next and chain_prev GTY | |
3073 | options. | |
3074 | * cppinit.c (cpp_read_next_file): New. | |
3075 | (cpp_read_main_file): Use it. | |
3076 | * cpplib.c (undefine_macros): New. | |
3077 | (cpp_undef_all): New. | |
3078 | * cpplib.h (cpp_read_next_file): Prototype. | |
3079 | (cpp_undef_all): Prototype. | |
3080 | * langhooks-def.h (write_global_declarations): Remove prototype. | |
3081 | * toplev.h (write_global_declarations): Add prototype. | |
3082 | * tree.c (decl_type_context): Use switch statement, handle | |
3083 | TRANSLATION_UNIT_DECL. | |
3084 | * tree.def: Update documentation for TRANSLATION_UNIT_DECL. | |
3085 | (TRANSLATION_UNIT_DECL): New kind of tree. | |
3086 | * tree.h: Update documentation for TRANSLATION_UNIT_DECL. | |
3087 | * Makefile.in (c-decl.o): Add $(HASHTAB_H) to dependencies. | |
3088 | * doc/invoke.texi: Make attempt to document new functionality. | |
3089 | ||
3090 | 2003-05-19 Per Bothner <bothner@apple.com> | |
3091 | ||
3092 | * gcc.c (combine_inputs): New. | |
3093 | (process_command): Set combine_inputs. | |
3094 | (do_spec_1): Handle combine_inputs. | |
3095 | (main): Likewise. | |
3096 | ||
ac8354b1 JW |
3097 | 2003-07-10 James E Wilson <wilson@tuliptree.org> |
3098 | ||
3099 | PR optimization/9745 | |
3100 | * loop.c (loop_iv_add_mult_emit_before): Call loop_regs_update before | |
3101 | loop_insn_emit_before. | |
3102 | (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise. | |
439f7bc3 | 3103 | |
dea55da5 ZW |
3104 | 2003-07-10 Zack Weinberg <zack@codesourcery.com> |
3105 | ||
3106 | * cppcharset.c: Fix comment. | |
3107 | (iconv_close [!HAVE_ICONV]): #define to (void)0 to prevent warning. | |
3108 | (EILSEQ): #define to EINVAL if not already defined. | |
3109 | (convert_using_iconv): #if out when !HAVE_ICONV. | |
3110 | (init_iconv_desc): Handle !HAVE_ICONV here... | |
3111 | (cpp_init_iconv): ...not here. | |
3112 | ||
f3fdaec4 NB |
3113 | 2003-07-11 Neil Booth <neil@daikokuya.co.uk> |
3114 | ||
3115 | * common.opt: More --help messages. | |
3116 | * opts.c (print_help): Use puts(). | |
3117 | * toplev.c (f_options): Remove help text. | |
3118 | (display_help): Don't dump f_options. | |
3119 | ||
7ebbf1ea NN |
3120 | 2003-07-11 Nathanael Nerode <neroden@gcc.gnu.org> |
3121 | ||
3122 | * fixinc/mkfixinc.sh: Drop reference to unsupported alpha-*-interix*. | |
3123 | Move i?86-*-interix* to the don't-fix list. | |
3124 | * fixinc/fixinc.interix: Delete with extreme prejudice. | |
3125 | ||
959a73a4 DH |
3126 | 2003-07-10 Dara Hazeghi <dhazeghi@yahoo.com> |
3127 | ||
3128 | PR bootstrap/10758 | |
3129 | * doc/install.texi: Document requirements for ia64-*-hpux* target. | |
3130 | ||
9959901c RS |
3131 | 2003-07-10 Roger Sayle <roger@eyesopen.com> |
3132 | ||
3133 | * config/ia64/hpux.h (TARGET_C99_FUNCTIONS): Define. | |
3134 | ||
6b88314c ZW |
3135 | 2003-07-10 Zack Weinberg <zack@codesourcery.com> |
3136 | ||
3137 | * cppcharset.c (one_utf8_to_cppchar, one_cppchar_to_utf8, | |
3138 | one_utf8_to_utf32, one_utf32_to_utf8, one_utf8_to_utf16, | |
3139 | one_utf16_to_utf8, conversion_loop, convert_utf8_utf16, | |
3140 | convert_utf8_utf32, convert_utf16_utf8, convert_utf32_utf8, | |
3141 | convert_no_conversion, convert_using_iconv): New functions. | |
3142 | (APPLY_CONVERSION): New macro. | |
3143 | (struct conversion, conversion_tab): New data structure. | |
3144 | (init_iconv_desc): Check conversion_tab for a custom conversion | |
3145 | primitive before trying to use iconv. | |
3146 | (convert_cset): Deleted. | |
3147 | (cpp_init_iconv): Use UTF- terminology, not UCS-. | |
3148 | (_cpp_destroy_iconv): Update to match. | |
3149 | (_cpp_valid_ucn): We don't need iconv to implement UCNs. | |
3150 | (convert_ucn): Use one_cppchar_to_utf8 and APPLY_CONVERSION. | |
3151 | (convert_escape, cpp_interpret_string): Use APPLY_CONVERSION. | |
3152 | (_cpp_interpret_string_notranslate): New function, moved here | |
3153 | from cpplib.c. | |
3154 | ||
3155 | * cpphash.h (convert_f, struct cset_converter): New types. | |
3156 | (struct cpp_reader): narrow_cset_desc and wide_cset_desc | |
3157 | are now struct cset_converter, not bare iconv_t. | |
3158 | Update prototypes. | |
3159 | * cpplib.c (interpret_string_notranslate): Moved to cppcharset.c; | |
3160 | all callers changed. | |
3161 | ||
38f4680f | 3162 | 2003-07-10 Kelley Cook <kelleycook@wideopenwest.com> |
6b88314c | 3163 | |
38f4680f KC |
3164 | * Makefile.in (options.h): Depend on Makefile. Add move-if-change |
3165 | to opts.sh command line. | |
3166 | * opts.sh: Write to temporary files with a move-if-change at the end. | |
3167 | ||
2a868fac | 3168 | 2003-07-10 Denis Chertykov <denisc@overta.ru> |
6b88314c | 3169 | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9db367b4 DC |
3170 | |
3171 | * combine.c (gen_binary): Handle the CLOBBER rtx and | |
3172 | don't build a binary operation with it. | |
3173 | ||
3b14e3af ZD |
3174 | 2003-07-10 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
3175 | ||
3176 | * gcse.c (load_kills_store, find_loads, store_killed_in_insn, | |
3177 | store_killed_after, store_killed_before): Keep track of the correct | |
3178 | dependency function to use. | |
3179 | ||
a9189cc0 SB |
3180 | 2003-07-10 Steven Bosscher <steven@gcc.gnu.org> |
3181 | * toplev.c (do_compile): Don't try to open dump files before | |
3182 | lang_dependent_init initializes dump_base_name. | |
3183 | ||
e97a46ce KG |
3184 | 2003-07-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3185 | ||
3186 | * config/arm/arm.c (arm_init_iwmmxt_builtins, arm_expand_builtin): | |
3187 | Use ARRAY_SIZE. | |
3188 | * config/frv/frv.c (frv_expand_builtin): Likewise. | |
3189 | * config/sh/sh.c (sh_media_init_builtins): Likewise. | |
3190 | ||
4a386498 MM |
3191 | 2003-07-09 Mark Mitchell <mark@codesourcery.com> |
3192 | ||
3193 | PR c++/10032 | |
3194 | * doc/invoke.texi (C++ Dialect Options): Change documentation of | |
3195 | -fpermissive. | |
3196 | ||
1e60c057 R |
3197 | 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com> |
3198 | ||
3199 | * tm.texi (RETURN_ADDR_OFFSET): Document. | |
3200 | ||
330d2e2a NS |
3201 | 2003-07-10 Nathan Sidwell <nathan@codesourcery.com> |
3202 | ||
3203 | * gcov-io.h: Update documentation. | |
3204 | (GCOV_UNSIGNED2STRING): New. | |
3205 | (GCOV_TAG_FUNCTION_LENGTH, GCOV_TAG_BLOCKS_LENGTH, | |
3206 | GCOV_TAG_ARCS_LENGTH, GCOV_TAG_COUNTER_LENGTH, | |
3207 | GCOV_TAG_SUMMARY_LENGTH): Adjust. | |
3208 | (GCOV_TAG_BLOCKS_NUM, GCOV_TAG_ARCS_NUM, | |
3209 | GCOV_TAG_COUNTER_NUM): New. | |
3210 | (GCOV_BLOCK_SIZE): Number of words. | |
3211 | (gcov_var): Adjust buffer type. | |
3212 | * gcov-io.c (gcov_write_bytes, gcov_read_bytes): Rename to ... | |
3213 | (gcov_write_words, gcov_read_words): ... here. Take a 4-byte word | |
3214 | count, not byte count. | |
3215 | (gcov_open): Adjust overread init. | |
3216 | (gcov_allocate, gcov_write_unsigned, gcov_write_counter, | |
3217 | gcov_write_string, gcov_write_tag, gcov_write_length, | |
3218 | gcov_write_tag_length): Adjust. | |
3219 | (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Adjust. | |
3220 | (gcov_sync, gcov_seek): Adjust. | |
3221 | * gcov-dump.c (print_usage): Show gcc version only. | |
3222 | (dump_file): Use GCOV_UNSIGNED2STRING. | |
3223 | (tag_blocks, tag_arcs, tag_counters): Use GCOV_TAG_*_NUM macros. | |
3224 | * gcov.c (print_version): Show gcc version only. | |
3225 | (read_graph_file): Use GCOV_UNSIGNED2STRING. Use | |
3226 | GCOV_TAG_*_NUM macros. | |
3227 | (read_count_file): Use GCOV_UNSIGNED2STRING. Use | |
3228 | GCOV_TAG_COUNTER_LENGTH. | |
3229 | * coverage.c (read_counts_file): Use GCOV_UNSIGNED2STRING. | |
3230 | Use GCOV_TAG_COUNTER_NUM. | |
3231 | * libgcov.c (gcov_version): Use GCOV_UNSIGNED2STRING. | |
3232 | (__gcov_merge_single, __gcov_merge_delta): Use GCOV_CHECK. | |
3233 | ||
3dbb446e AS |
3234 | 2003-07-10 Andreas Schwab <schwab@suse.de> |
3235 | ||
3236 | * gcov-dump.c (dump_file): Fix missing address operator. | |
3237 | ||
11791dbc KH |
3238 | 2003-07-10 Kazu Hirata <kazu@cs.umass.edu> |
3239 | ||
3240 | PR c/11449 | |
3241 | * fold-const.c (sign_bit_p): Return EXP if VAL is the sign bit | |
3242 | of HOST_WIDE_INT. | |
3243 | (fold_single_bit_test): If sign_bit_p() fails, assume that the | |
3244 | bit being tested is not a sign bit. | |
3245 | ||
ae12c666 KH |
3246 | 2003-07-10 Kazu Hirata <kazu@cs.umass.edu> |
3247 | ||
3248 | * config/h8300/h8300.md (a peephole2): New. | |
3249 | ||
2beef00e AO |
3250 | 2003-07-10 Alexandre Oliva <aoliva@redhat.com> |
3251 | ||
3252 | 2001-12-13 Alexandre Oliva <aoliva@redhat.com> | |
3253 | * config/mn10300/linux.h (LINK_SPEC): Rename the dynamic linker | |
3254 | from ld-linux.so.2 to ld.so.1. | |
3255 | 2001-11-18 Alexandre Oliva <aoliva@redhat.com> | |
3256 | * config/mn10300/linux.h (LINK_SPEC): -lpthread, not -lthread. | |
3257 | * config/mn10300/linux.h (LINK_SPEC): Don't handle -Wl,-rpath | |
3258 | nor -Wl,-rpath-link. | |
3259 | (LIB_SPEC): Add -rpath-link if !static. | |
3260 | 2001-08-22 Alexandre Oliva <aoliva@redhat.com> | |
3261 | * config/mn10300/mn10300.c (mn10300_protect_label): New | |
3262 | variable. | |
3263 | * config/mn10300/linux.h (PRINT_OPERAND, | |
3264 | PRINT_OPERAND_ADDRESS): Set it during their execution. | |
3265 | (ASM_OUTPUT_LABELREF): Output `+' before symbol name if | |
3266 | mn10300_protect_label is set. | |
3267 | * config/mn10300/linux.h (LINK_SPEC): Recognize -Wl,-rpath and | |
3268 | -Wl,-rpath-link. | |
3269 | (LIB_SPEC, STARTFILE_SPEC): Define. | |
3270 | 2001-05-11 Alexandre Oliva <aoliva@redhat.com> | |
3271 | * config/mn10300/t-linux (dp-bit.c, fp-bit.c): Don't define | |
3272 | FLOAT_BIT_ORDER_MISMATCH. | |
3273 | 2001-05-09 Alexandre Oliva <aoliva@redhat.com> | |
3274 | * config.gcc (am33_2.0-*-linux*): Added. | |
3275 | * config/mn10300/linux.h: New. | |
3276 | * config/mn10300/t-linux: New. | |
3277 | ||
75040a04 AJ |
3278 | 2003-07-10 Andreas Jaeger <aj@suse.de> |
3279 | ||
3280 | * fold-const.c: Properly wrap prototypes. | |
3281 | ||
d1776069 AO |
3282 | 2003-07-09 Alexandre Oliva <aoliva@redhat.com> |
3283 | ||
3284 | 2003-06-16 Alexandre Oliva <aoliva@redhat.com> | |
3285 | * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter): | |
3286 | Moved from... | |
3287 | * config/mn10300/mn10300.md (GOTaddr2picreg): ... here. | |
3288 | * config/mn10300/mn10300.h: GTY-declare it. | |
3289 | 2003-06-11 Alexandre Oliva <aoliva@redhat.com> | |
3290 | * config/mn10300/mn10300.c (mn10300_encode_section_info): Fix | |
3291 | prototype. Use incoming RTL argument. | |
3292 | 2002-12-12 Alexandre Oliva <aoliva@redhat.com> | |
3293 | * config/mn10300/mn10300.md (int_label): Move C statements... | |
3294 | (GOTaddr2picreg): ... here. | |
3295 | 2002-08-15 Alexandre Oliva <aoliva@redhat.com> | |
3296 | * config/mn10300/mn10300.h (ENCODE_SECTION_INFO): Move... | |
3297 | * config/mn10300/mn10300.c (mn10300_encode_section_info): | |
3298 | ... here. New function. | |
3299 | (TARGET_ENCODE_SECTION_INFO): Define to it. | |
3300 | 2001-11-04 Alexandre Oliva <aoliva@redhat.com> | |
3301 | * config/mn10300/mn10300.md (builtin_setjmp_receiver): Fix typo in | |
3302 | pattern name. | |
3303 | (mn10300_loadPC): Define as insn splittable after reload. | |
3304 | 2001-05-13 Alexandre Oliva <aoliva@redhat.com> | |
3305 | * config/sh/mn10300.h (JUMP_TABLES_IN_TEXT_SECTION): Let them | |
3306 | be defined in .rodata even in PIC, now that the assembler | |
3307 | supports that. | |
3308 | 2001-05-09 Alexandre Oliva <aoliva@redhat.com> | |
3309 | * config/mn10300/mn10300.h (GOT_SYMBOL_NAME): Don't let the | |
3310 | symbol take an underscore prefix. | |
3311 | 2001-04-14 Alexandre Oliva <aoliva@redhat.com> | |
3312 | * config/mn10300/mn10300-protos.h (legitimate_pic_operand_p, | |
3313 | legitimize_pic_address): Declare. | |
3314 | * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Mark | |
3315 | the PIC register as fixed. | |
3316 | (EXTRA_CONSTRAINT): Match UNSPEC_PLT and UNSPEC_PIC for 'S'. | |
3317 | (GO_IF_LEGITIMATE_ADDRESS): Require legitimate_pic_operand for | |
3318 | PIC. | |
3319 | (LEGITIMATE_PIC_OPERAND_P): Define. | |
3320 | (PIC_OFFSET_TABLE_REGNUM): Define. | |
3321 | (GOT_SYMBOL_NAME): Define. | |
3322 | (SYMBOLIC_CONST_P): Define. | |
3323 | (ENCODE_SECTION_INFO): Use SYMBOL_REF_FLAG to mark local | |
3324 | symbols. | |
3325 | (MN10300_GLOBAL_P): Test it. | |
3326 | (OUTPUT_ADDR_CONST_EXTRA): Handle PIC-related unspecs. | |
3327 | (JUMP_TABLES_IN_TEXT_SECTION): Enable for PIC. | |
3328 | * config/mn10300/mn10300.c (print_operand): Handle unspec. | |
3329 | (expand_prologue): Set PIC register. | |
3330 | (call_address_operand): Don't match SYMBOL_REFs in PIC. | |
3331 | (legitimize_address): Call legitimize_pic_address. | |
3332 | (legitimize_pic_address): New fn. | |
3333 | (legitimate_pic_operand_p): New fn. | |
3334 | * config/mn10300/mn10300.md (PIC_REG, SP_REG): New constants. | |
3335 | (UNSPEC_INT_LABEL, UNSPEC_PIC, UNSPEC_GOT, UNSPEC_GOTOFF, | |
3336 | UNSPEC_PLT): New constants. | |
3337 | (pop_pic_reg): New insn. | |
3338 | (movsi): Adjust non-PIC addresses. | |
3339 | (builtin_setjmp_receiver): Restore the PIC register. | |
3340 | (casesi): New insn. | |
3341 | (call): Adjust non-PIC addresses. | |
3342 | (int_label, GOTaddr2picreg): New expands. | |
3343 | (am33_loadPC): New insn. | |
3344 | (mn10300_loadPC): New expand. | |
3345 | (call_next_insn): New insn. | |
3346 | (add_GOT_to_pic_reg): New expand. | |
3347 | (symGOT2reg, symGOT2reg_i): New expands. | |
3348 | (symGOTOFF2reg, symGOTOFF2reg_i): New expands. | |
3349 | (sym2PIC, sym2PLT): New expands. | |
3350 | ||
18e9d2f9 AO |
3351 | 2003-07-09 Alexandre Oliva <aoliva@redhat.com> |
3352 | ||
3353 | * config/mn10300/mn10300.h (PREDICATE_CODES): Define. | |
3354 | 2001-05-01 Alexandre Oliva <aoliva@redhat.com> | |
3355 | * config/mn10300/mn10300.md (sqrtsf2): flag_fast_math was renamed | |
3356 | to flag_unsafe_math_optimizations. | |
3357 | 2001-04-14 Alexandre Oliva <aoliva@redhat.com> | |
3358 | * config/mn10300/mn10300.c (expand_prologue): Mark | |
3359 | FP-register-saving insns as frame-related. | |
3360 | 2001-02-13 Alexandre Oliva <aoliva@redhat.com> | |
3361 | * config/mn10300/mn10300.c | |
3362 | (mn10300_get_live_callee_saved_regs): Don't search past | |
3363 | LAST_EXTENDED_REGNUM. | |
3364 | (mn10300_gen_multiple_store, store_multiple_operation): Likewise. | |
3365 | * config/mn10300/mn10300.md: Remove excessive line breaks from | |
3366 | `@' output patterns that were accounted as additional | |
3367 | alternatives. | |
3368 | * config/mn10300/mn10300.md, config/mn10300/mn10300.c: | |
3369 | Re-introduce changes accidentally removed in Richard Sandiford's | |
3370 | 2000-12-05's patch. | |
3371 | * config/mn10300/t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): | |
3372 | Re-instate am33-2 lost in merge from net GCC. | |
3373 | 2000-08-26 Alexandre Oliva <aoliva@redhat.com> | |
3374 | * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Added | |
3375 | floating-point registers. | |
3376 | 2000-08-07 Alexandre Oliva <aoliva@redhat.com> | |
3377 | * config/mn10300/mn10300.md (movdf): Revert some am33-specific | |
3378 | pessimizations that had gone in on 2000-05-08. | |
3379 | 2000-06-28 Graham Stott <grahams@cygnus.co.uk> | |
3380 | * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Fix typo. | |
3381 | 2000-06-22 Graham Stott <grahams@cygnus.co.uk> | |
3382 | * config/mn10300/mn10300.md (movqi): Use nonimmediate_operand for | |
3383 | operand 0. | |
3384 | * (movhi): Likewise. | |
3385 | * (movsi): Likewise. | |
3386 | * (movsf): Likewise. | |
3387 | * (movdi): Likewise. | |
3388 | * (movdf): Likewise. | |
3389 | Wed May 24 13:16:09 2000 Alexandre Oliva <aoliva@cygnus.com> | |
3390 | * config/mn10300/mn10300.c (fp_regs_to_save): New function. | |
3391 | (can_use_return_insn, initial_offset): Add fp_regs_to_save. | |
3392 | (expand_prologue, expand_epilogue): Save and restore FP regs. | |
3393 | 2000-05-20 Alexandre Oliva <aoliva@cygnus.com> | |
3394 | * config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up. | |
3395 | 2000-05-13 Alexandre Oliva <aoliva@cygnus.com> | |
3396 | * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2, addsf3, | |
3397 | subsf3, mulsf3, divsf3, fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4): | |
3398 | Do not clobber cc0. | |
3399 | 2000-05-12 Alexandre Oliva <aoliva@cygnus.com> | |
3400 | * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2): | |
3401 | Discourage the two-argument, longer opcodes. | |
3402 | (addsf3, subsf3, mulsf3, divsf3): Likewise for three-argument | |
3403 | ones. | |
3404 | * config/mn10300/mn10300.h (struct mn10300_cc_status_mdep): New. | |
3405 | (CC_STATUS_MDEP, CC_STATUS_MDEP_INIT): Define. | |
3406 | * config/mn10300/mn10300.md (cmpsf): New pattern. | |
3407 | (branch): Test mdep.fpCC and output fbCC. | |
3408 | * config/mn10300/mn10300.c (print_operand): Output conditions. | |
3409 | (notice_cc_update): Recognize fcmp and set mdep.fpCC. | |
3410 | 2000-05-10 Alexandre Oliva <aoliva@cygnus.com> | |
3411 | * config/mn10300/mn10300.md (movsf, movdf, addsf3, subsf3, | |
3412 | mulsf3, divsf3): Use the `F' constraint for FP values. | |
3413 | * config/mn10300/mn10300.c (const_1f_operand): New function. | |
3414 | * config/mn10300/mn10300-protos.h (const_1f_operand): Declare. | |
3415 | * config/mn10300/mn10300.md (sqrtsf2): New expand. | |
3416 | (rsqrtsf2): New insn. | |
3417 | 2000-05-09 Alexandre Oliva <aoliva@cygnus.com> | |
3418 | * config/mn10300/mn10300.md (movdf): Oops, I missed it in my | |
3419 | previous check-in. | |
3420 | 2000-05-08 Alexandre Oliva <aoliva@cygnus.com> | |
3421 | * config/mn10300/mn10300.md (abssf2, negdf2): On | |
3422 | TARGET_AM33_2, expand to... | |
3423 | (abssf2_am33_2, negdf2_am33_2): New insns. | |
3424 | (addsf3, subsf3, mulsf3, divsf3): Likewise. | |
3425 | (fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4): Likewise. | |
3426 | * config/mn10300/mn10300.md (movqi, movhi, movsi, movsf, | |
3427 | movdi, movdf): Added FP regs. | |
3428 | * invoke.texi (-mam33-2, -mno-am33-2): Document. | |
3429 | 2000-04-29 Alexandre Oliva <aoliva@cygnus.com> | |
3430 | * config/mn10300/mn10300.h (FIRST_FP_REGNUM, LAST_FP_REGNUM): | |
3431 | New macros. | |
3432 | (REGNO_AM33_2_FP_P): Renamed to... | |
3433 | (REGNO_FP_P): Redefine in terms of FIRST_* and LAST_*. | |
3434 | (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise. | |
3435 | 2000-04-27 Alexandre Oliva <aoliva@cygnus.com> | |
3436 | * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Remove FP | |
3437 | regs from GENERAL_REGS. | |
3438 | 2000-04-27 Alexandre Oliva <aoliva@cygnus.com> | |
3439 | * config/mn10300/mn10300.h (REGNO_AM33_2_FP_P): New macro. | |
3440 | * config/mn10300/mn10300.c (mn10300_address_cost): Added FP_REGS. | |
3441 | * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Added FP_REGS. | |
3442 | 2000-04-23 Alexandre Oliva <aoliva@cygnus.com> | |
3443 | * config/mn10300/mn10300.h (CLASS_CANNOT_CHANGE_SIZE): Defined | |
3444 | as FP_REGS. | |
3445 | 2000-04-21 Alexandre Oliva <aoliva@cygnus.com> | |
3446 | * config/mn10300/mn10300.h (OK_FOR_Q): New macro. | |
3447 | (EXTRA_CONSTRAINT): Added OK_FOR_Q. | |
3448 | * config/mn10300/mn10300.c (secondary_reload_class): Adjust. | |
3449 | * config/mn10300/mn10300.c (print_operand): Support `D' for doubles. | |
3450 | * config/mn10300/mn10300.h (FIRST_PSEUDO_REGISTER): Adjust. | |
3451 | (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER): Added | |
3452 | AM33/2.0 floating-point registers. | |
3453 | (CONDITIONAL_REGISTER_USAGE): Adjust. | |
3454 | (enum reg_class, REG_CLASS_NAMES): Added FP_REGS and FP_ACC_REGS. | |
3455 | (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Adjust. | |
3456 | (REG_CLASS_FROM_LETTER): Added `f' and `A'. | |
3457 | (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Adjust. | |
3458 | * config/mn10300/t-mn10300 (MULTILIB_OPTIONS): Added am33-2. | |
3459 | (MULTILIB_DIRNAMES): Likewise. | |
3460 | * config/mn10300/mn10300.h (CPP_SPEC): Define `__AM33__=2' and | |
3461 | `__AM33_2__' when `-mam33-2' is given. | |
3462 | (TARGET_AM33_2): Define. | |
3463 | (TARGET_SWITCHES): Adjust. | |
3464 | * config/mn10300/mn10300.c (asm_file_start): Print `.am33_2' | |
3465 | when appropriate. | |
3466 | ||
2ff16718 MK |
3467 | 2003-07-09 Matt Kraai <kraai@alumni.cmu.edu> |
3468 | ||
3469 | * doc/install.texi: Add missing @. | |
3470 | ||
a7bda3d5 BW |
3471 | 2003-07-09 Bob Wilson <bob.wilson@acm.org> |
3472 | ||
3473 | * config/xtensa/xtensa.h (CRT_CALL_STATIC_FUNCTION): Define. | |
3474 | ||
bb498ea3 AH |
3475 | 2003-07-09 Aldy Hernandez <aldyh@redhat.com> |
3476 | ||
3477 | PR/11144 | |
3478 | * config/i386/i386.c (ix86_function_arg_boundary): Remove abort. | |
3479 | ||
a401fd60 NN |
3480 | 2003-07-09 Nathanael Nerode <neroden@gcc.gnu.org> |
3481 | ||
21f3dbfc | 3482 | PR bootstrap/11043 |
6b88314c | 3483 | * config/arc/t-arc: Replace bogus references to "x-crtinit.o", |
21f3dbfc NN |
3484 | "x-crtfini.o" with "crtinit.o", "crtfini.o". |
3485 | ||
15e4ea18 NN |
3486 | * fixinc/inclhack.def (limits_ifndefs): Add select test. |
3487 | * fixinc/fixincl.x: Rebuild. | |
3488 | ||
a401fd60 NN |
3489 | * fixinc/inclhack.def (math_exception): Improve bypass and comment. |
3490 | * fixinc/fixincl.x: Rebuild. | |
3491 | ||
c2f82a84 HPN |
3492 | 2003-07-09 Hans-Peter Nilsson <hp@bitrange.com> |
3493 | ||
3494 | * doc/install.texi (Configuration): Document the valgrind option | |
3495 | to --enable-checking. | |
3496 | ||
1f66e2a0 JH |
3497 | Wed Jul 9 16:16:30 CEST 2003 Jan Hubicka <jh@suse.cz> |
3498 | ||
3499 | * objc-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New. | |
3500 | ||
d0974745 RO |
3501 | 2003-07-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3502 | ||
3503 | * c-lex.c (cb_ident): Cast cstr.text to const char *. | |
3504 | ||
160e2e4f NS |
3505 | 2003-07-09 Nathan Sidwell <nathan@codesourcery.com> |
3506 | ||
3507 | * gcov-io.h: Update documentation. | |
3508 | (GCOV_GRAPH_SUFFIX, GCOV_GRAPH_MAGIC): Rename to GCOV_NOTE_SUFFIX, | |
3509 | GCOV_NOTE_MAGIC. | |
3510 | (GCOV_DATA_SUFFIX, GCOV_NOTE_SUFFIX): Update. | |
3511 | (GCOV_DATA_MAGIC, GCOV_NOTE_MAGIC): Make non-palindromic. | |
3512 | (struct gcov_var): Change buffer's type. Add endian flag. | |
3513 | (gcov_open): Remove mode in libgcov. | |
3514 | (gcov_magic): Prototype. | |
3515 | * gcov-io.c (from_file): New. | |
3516 | (gcov_open): Clear endian flag. | |
3517 | (gcov_magic): New. | |
3518 | (gcov_write_bytes, gcov_read_bytes): Return gcov_unsigned_t | |
3519 | pointers. | |
3520 | (gcov_write_unsigned, gcov_write_counter, gcov_write_string, | |
3521 | gcov_write_tag, gcov_write_length, gcov_write_tag_length): Update. | |
3522 | (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Update. | |
3523 | * gcov-iov.c (main): Correct cast. | |
3524 | * coverage.c (read_counts_file): Use gcov_magic. Remove endianness | |
3525 | conversion. | |
3526 | (gcov_begin_output): Use GCOV_NOTE_MAGIC. | |
3527 | (coverage_init): Use GCOV_NOTE_SUFFIX. | |
3528 | * libgcov.c (gcov_version_mismatch): Remove endianness conversion. | |
3529 | Rename to gcov_version, and return flag. | |
3530 | (gcov_exit): Use gcov_version. | |
3531 | (__gcov_init): Use gcov_version. | |
3532 | * Makefile.in (coverageexts): Update. | |
3533 | * gcov.c (print_version): Remove endianness conversion. | |
3534 | (create_file_names): Use GCOV_NOTE_SUFFIX. | |
3535 | (read_graph_file): Use gcov_magic. | |
3536 | (read_count_file): Likewise. | |
3537 | * gcov-dump.c (dump_file): Remove endianness conversion, use | |
3538 | gcov_magic. | |
3539 | ||
83599948 NS |
3540 | 2003-07-09 Nathan Sidwell <nathan@codesourcery.com> |
3541 | ||
3542 | * configure.in (BUILD_PREFIX, BUILD_PREFIX_1): Set if enable | |
3543 | coverage is on. | |
3544 | * configure: Regenerated. | |
3545 | * Makefile.in (ALL_CFLAGS): Correct its comment. | |
3546 | ||
d17811fd MM |
3547 | 2003-07-08 Mark Mitchell <mark@codesourcery.com> |
3548 | ||
3549 | * fold-const.c (make_range): Do not access operand 1 for a | |
3550 | zero-operand operator. | |
3551 | ||
28786366 NB |
3552 | 2003-07-09 Neil Booth <neil@daikokuya.co.uk> |
3553 | ||
3554 | * toplev.c (warn_dummy, W_options): Die. | |
3555 | (display_help): Don't print W_options. | |
3556 | * common.opt: Add W_options help from toplev.c. | |
3557 | ||
fbdb0453 AJ |
3558 | 2003-07-09 Andreas Jaeger <aj@suse.de> |
3559 | ||
3560 | * opts.c (wrap_help): Only pass int arguments as arguments to | |
3561 | printf's '*' modifier. Change argument of function. | |
3562 | ||
c80e4c17 MK |
3563 | 2003-07-08 Matt Kraai <kraai@alumni.cmu.edu> |
3564 | ||
3565 | * doc/invoke.texi: Fix misspelling of "@item". | |
3566 | ||
2c5a64c6 KH |
3567 | 2003-07-08 Kazu Hirata <kazu@cs.umass.edu> |
3568 | ||
3569 | * config/i386/i386.md: Remove an old comment about | |
3570 | NOTICE_UPDATE_CC. | |
3571 | ||
a194aa56 JH |
3572 | Wed Jul 9 03:00:10 CEST 2003 Jan Hubicka <jh@suse.cz> |
3573 | ||
3574 | * cgraph.c (cgraph_node_name): New function. | |
3575 | (dump_cgraph): Use it. | |
3576 | * cgraph.h (cgraph_dump_file): Declare. | |
3577 | (cgraph_node_name): Declare. | |
3578 | * cgraphunit.c: Include timevar.h | |
3579 | (cgraph_finalize_compilation_unit): Use timevar; reorganize dumps. | |
3580 | (cgraph_optimize_function): Use TV_INTEGRATION. | |
3581 | (cgraph_mark_local_functions): reorganize dumps. | |
3582 | (cgraph_mark_functions_to_inline_once): Likewise. | |
3583 | (cgraph_optimize): Likewise; use timevar. | |
3584 | * timevar.def (TV_CGRAPH, TV_CGRAPHOPT): New. | |
3585 | * toplev.c (dump_file_index): Add DFI_cgraph. | |
3586 | (dump_file_info): Likewise. | |
3587 | (cgraph_dump_file): New global variable. | |
3588 | (do_compile): Open and close cgraph dump. | |
3589 | * invoke.texi (-d): Document new flag; renumber. | |
3590 | ||
8af61113 RS |
3591 | 2003-07-08 Roger Sayle <roger@eyesopen.com> |
3592 | ||
3593 | PR c/11370 | |
3594 | * calls.c (emit_call_1): Don't bother popping the arguments off of | |
3595 | the stack after a noreturn function call; The adjustment is dead. | |
3596 | (expand_call): Likewise. | |
3597 | ||
436bcda1 GK |
3598 | 2003-07-08 Geoffrey Keating <geoffk@apple.com> |
3599 | ||
3600 | * expr.c (MOVE_MAX_PIECES): Move from here... | |
3601 | * defaults.h (MOVE_MAX_PIECES): ... to here. | |
3602 | ||
6f3fcc0b MK |
3603 | 2003-07-08 Matt Kraai <kraai@alumni.cmu.edu> |
3604 | ||
3605 | * Makefile.in (stage1-start): Handle an empty SUBDIRS. | |
3606 | ||
ec049fdb KG |
3607 | 2003-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3608 | ||
3609 | * genattr.c (internal_dfa_insn_code): Don't prototype. | |
3610 | * genattrtab.c (attr_desc): Add `static_p' field. | |
3611 | (expand_units): Make blockage range and ready cost functions | |
3612 | static. | |
3613 | (write_attr_get): Don't add extern prototypes in C file. Mark | |
3614 | static functions as appropriate. | |
3615 | (find_attr, make_internal_attr): Initialize static_p. | |
3616 | * genattrtab.h (ATTR_STATIC): New macro. | |
3617 | * genautomata.c (output_internal_reset_func): Mark output function | |
3618 | as inline. | |
3619 | (make_internal_dfa_insn_code_attr): Mark output function as static. | |
3620 | ||
11597bc9 KG |
3621 | 2003-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3622 | ||
3623 | * genattrtab.h: Add new macros for attr `special' flags. | |
3624 | * genattrtab.c (attr_desc): Reorder/resize fields better. | |
3625 | Use attr `special' macros in all calls to make_internal_attr. | |
3626 | * genautomata.c: Likewise. | |
3627 | ||
084c1779 JH |
3628 | Wed Jul 9 02:25:39 CEST 2003 Jan Hubicka <jh@suse.cz> |
3629 | ||
3630 | * c-common.c (c_estimate_num_insns_1): New static function. | |
3631 | (c_estimate_num_insns): New global function. | |
3632 | * c-common.h (DECL_NUM_STMTS): Rename to... | |
3633 | (DECL_ESTIMATED_INSNS): ... this. | |
3634 | (c_estimate_num_insns): Declare. | |
3635 | * c-decl.c (duplicate_decls): Use DECL_ESTIMATED_INSNS. | |
3636 | * c-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New. | |
3637 | * c-semantics.c (add_stmt): Do not account statements. | |
3638 | * langhooks-def.h (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): | |
3639 | New. | |
3640 | * langhooks.h (lang_hooks_for_tree_inlining): Add | |
3641 | estimate_num_insns | |
3642 | * params.def (max-inline-insns-auto, max-inline-insns-auto): set | |
3643 | to 100. | |
3644 | (max-inline-insns): set to 300. | |
3645 | (min-inline-insns): set to 10. | |
3646 | * tree-inline.c (struct inline_data): Rename inlined_stmts to | |
3647 | inlined-insns. | |
3648 | (INSNS_PER_STMT): Kill. | |
3649 | (inlinable_function_p): Compute and store body size. | |
3650 | (expand_call_inline): Likewise. | |
3651 | (optimize_inline_calls): Likewise. | |
3652 | ||
1b1838b6 JW |
3653 | 2003-07-08 James E Wilson <wilson@tuliptree.org> |
3654 | ||
3655 | PR target/10021 | |
3656 | * emit-rtl.c (set_mem_attribute_minus_bitpos): When handle ARRAY_REF, | |
3657 | loop over new variable t2 instead of t. | |
3658 | ||
81a6341d DS |
3659 | 2003-07-08 Danny Smith <dannysmith@users.sourceforge.net> |
3660 | ||
3661 | PR bootstrap/11455 | |
3662 | * config/i386/winnt.c: Replace use of error(), warning() with | |
3663 | error_with_decl(), warning_with_decl(), throughout. | |
3664 | ||
21789816 NB |
3665 | 2003-07-08 Neil Booth <neil@daikokuya.co.uk> |
3666 | ||
3667 | * opts.c (wrap_help): Use unsigned int, not size_t. | |
3668 | ||
f6423302 SC |
3669 | 2003-07-08 Stephane Carrez <stcarrez@nerim.fr> |
3670 | ||
3671 | * config/m68hc11/m68hc11.h (HAVE_AS_DWARF2_DEBUG_LINE): Don't define | |
3672 | as .file/.loc directives are incompatible with linker relaxation. | |
3673 | ||
ab747408 ZW |
3674 | 2003-07-08 Zack Weinberg <zack@codesourcery.com> |
3675 | ||
3676 | * Makefile.in (fixinc.sh): Remove gnu-regex.[ch] from dependencies. | |
3677 | * fixinc/Makefile.in: Remove all references to gnu-regex.[och]. | |
3678 | * fixinc/fixfixes.c, fixinc/fixincl.c, fixinc/fixlib.c | |
3679 | * fixinc/fixtests.c: Use xregexec not regexec, xregcomp not regcomp. | |
3680 | * fixinc/fixlib.h: Include xregex.h not gnu-regex.h. | |
3681 | * fixinc/inclhack.def (hpux10_cpp_pow_inline, hpux11_cpp_pow_inline): | |
3682 | Escape { and } characters which are not part of range expressions. | |
3683 | * fixinc/fixincl.x: Regenerate. | |
a27531fb | 3684 | * fixinc/gnu-regex.c, fixinc/gnu-regex.h: Delete file. |
ab747408 | 3685 | |
51657442 SB |
3686 | 2003-07-08 Steven Bosscher <steven@gcc.gnu.org> |
3687 | ||
3688 | PR c/1687 | |
3689 | * tree-inline.c (find_alloca_call): Use | |
3690 | walk_tree_without_duplicates, instead of walk_tree. | |
3691 | (find_builtin_longjmp_call): Likewise. | |
3692 | * c-objc-common.c (c_cannot_inline_fn): Likewise. | |
3693 | * c-semantics.c (find_reachable_label): Likewise. | |
3694 | ||
7e6dc358 JJ |
3695 | 2003-07-08 Jakub Jelinek <jakub@redhat.com> |
3696 | ||
3697 | PR c/11420 | |
3698 | * config/i386/i386.c (ix86_check_movabs): New function. | |
3699 | * config/i386/i386-protos.h (ix86_check_movabs): New prototype. | |
3700 | * config/i386/i386.md (movabs[shqd]i_1_rex64): Kill broken alternative. | |
3701 | (movabs[shqd]i_[12]_rex64): Add ix86_check_movabs check to conditions. | |
3702 | ||
318b7749 CD |
3703 | 2003-07-08 Chris Demetriou <cgd@broadcom.com> |
3704 | ||
3705 | * Makefile.in (install-po): Cope with empty CATALOGS. | |
3706 | ||
b8898790 RS |
3707 | 2003-07-08 Richard Sandiford <rsandifo@redhat.com> |
3708 | ||
3709 | * config/mips/elf64.h (TARGET_ASM_UNIQUE_SECTION): Delete. | |
3710 | (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Delete. | |
3711 | (SECTION_FUNCTION_TEMPLATE): Delete. | |
3712 | * config/mips/elf.h: As for elf64.h. | |
3713 | (ASM_OUTPUT_ALIGNED_BSS): Use named_section rather than sbss_section. | |
3714 | * config/mips/linux.h: As for elf.h | |
3715 | * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete. | |
3716 | * config/mips/iris6.h (EXTRA_SECTIONS): Delete. | |
3717 | (EXTRA_SECTION_FUNCTIONS): Remove sdata_section. Remove the handling | |
3718 | of in_sdata from current_section_name and current_section_flags. | |
3719 | * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete. | |
3720 | * config/mips/mips.h (sdata_section, sbss_section): Remove prototypes. | |
3721 | (MASK_GP_OPT, TARGET_GP_OPT): Delete. | |
3722 | (MASK_NO_FUSED_MADD): Use MASK_GP_OPT's old value. | |
3723 | (TARGET_SWITCHES): Neuter gpOPT, gpopt, no-gpOPT and no-gpopt. | |
3724 | (SMALL_DATA_SECTION, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove. | |
3725 | * config/mips/mips.c (TARGET_IN_SMALL_DATA_P): Override. | |
3726 | (TARGET_SECTION_TYPE_FLAGS): Override if TARGET_IRIX6. | |
3727 | (mips_classify_symbol): Use SYMBOL_REF_SMALL_P. | |
3728 | (override_options): Remove setting of MASK_GPOPT. | |
3729 | (mips_output_external): Use mips_in_small_data_p to check whether a | |
3730 | symbol needs an .extern directive. Don't emit such directives for | |
3731 | TARGET_EXPLICIT_RELOCS. | |
3732 | (mips_declare_object): Update accordingly. | |
3733 | (mips_select_rtx_section): Call named_section rather than | |
3734 | SMALL_DATA_SECTION. | |
3735 | (mips_select_section): Use default_elf_section_section for everything | |
3736 | except .text string constants. | |
3737 | (mips_in_small_data_p): New function. | |
3738 | (mips_encode_section_info): Remove small data handling. | |
3739 | (mips_unique_section): Delete. | |
3740 | (iris6_section_type_flags): New function. | |
3741 | * doc/tm.texi: Remove documentation of -mgpopt and -mhalf-pic. | |
3742 | ||
f5d1c3de JDA |
3743 | 2003-07-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3744 | ||
3745 | PR Target/11453 | |
3746 | * pa.md: Disparage all mtsar constraints. | |
3747 | (extzv, extv, insv): Don't fail on length of {32|64}. | |
3748 | ||
ce1bb65b ZW |
3749 | 2003-07-08 Zack Weinberg <zack@codesourcery.com> |
3750 | ||
3751 | * system.h: Poison MAP_CHARACTER. | |
3752 | * config/i370/i370-protos.h (mvs_map_char): Delete. | |
3753 | * config/i370/i370.c (ascebc, ebcasc, mvs_map_char): Delete. | |
3754 | * config/i370/i370.h (MAP_CHARACTER): Delete definition. | |
3755 | (ASM_OUTPUT_ASCII): Don't use MAP_CHARACTER. | |
3756 | ||
c163ddca DS |
3757 | 2003-07-08 Danny Smith <dannysmith@users.sourceforge.net> |
3758 | ||
3759 | * toplev.c (randomize): Correct call to time(). | |
3760 | ||
8df63efa JJ |
3761 | 2003-07-08 Jakub Jelinek <jakub@redhat.com> |
3762 | ||
3763 | * unroll.c (reg_dead_after_loop): Check for reg in REG_EQUAL and | |
3764 | REG_EQUIV notes as well. | |
3765 | ||
4b5cc2b3 KH |
3766 | 2003-07-08 Kazu Hirata <kazu@cs.umass.edu> |
3767 | ||
3768 | * doc/md.texi: Fix the description of addmodecc. | |
3769 | ||
56694dd9 ZW |
3770 | 2003-07-07 Zack Weinberg <zack@codesourcery.com> |
3771 | ||
3772 | * Makefile.in (top_builddir): Set to "..", not ".". | |
3773 | (INTLLIBS, INTLDEPS): Delete. | |
3774 | (LIBINTL, LIBINTL_DEP, LIBICONV_DEP): New variables to be substituted. | |
3775 | (LIBDEPS): Add $(LIBICONV_DEP). | |
3776 | (LIBS): Take out $(INTLLIBS), add $(LIBINTL) and $(LIBICONV). | |
3777 | (INCLUDES): Replace -I../intl with @INCINTL@. | |
3778 | ($(top_builddir)/intl/libintl.a): Delete rule. | |
3779 | (stage2-start, stage3-start, stage4-start, stageprofile-start, | |
3780 | stagefeedback-start): Use $$ for variable to be evaluated by | |
3781 | shell, not make. | |
3782 | * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, | |
3783 | HAVE_LC_MESSAGES, HAVE_STPCPY): Delete. | |
3784 | * aclocal.m4: sinclude ../config/progtest.m4. Add | |
3785 | contents of lcmessage.m4 from gettext distro. | |
3786 | * configure.in: Check for wchar.h and setlocale. Set | |
3787 | LIBICONV_DEP to the empty string and substitute it. | |
3788 | Call AM_LC_MESSAGES. Delete AC_ARG_ENABLE for --enable-nls; | |
3789 | this is handled elsewhere. Use ZW_GNU_GETTEXT_SISTER_DIR, | |
3790 | not CY_GNU_GETTEXT. Clear $LIBICONV if its text is included | |
3791 | in $LIBINTL, to avoid linking it twice. | |
3792 | * configure, config.in: Regenerate. | |
3793 | ||
a294c4cf NN |
3794 | 2003-07-08 Nathanael Nerode <neroden@gcc.gnu.org> |
3795 | ||
3796 | * fixinc/mkfixinc.sh: Remove winnt support. | |
3797 | * fixinc/fixinc.winnt: Delete with extreme prejudice. | |
3798 | ||
979312a4 NB |
3799 | 2003-07-08 Neil Booth <neil@daikokuya.co.uk> |
3800 | ||
3801 | * Makefile.in: Update. | |
3802 | * c-opts.c (c_common_handle_option): opt_text now contains the '-'. | |
3803 | * c.opt: Update documentation. | |
3804 | * common.opt: Add some help text. | |
3805 | * opts.c: Include intl.h. | |
3806 | (wrap_help, print_help): New. | |
3807 | (find_opt, handle_option, common_handle_option): opt_text now | |
3808 | contains the '-'. Use print_help to output help. | |
3809 | * opts.h (struct cl_option): New member "help". | |
3810 | * opts.sh: Update to handle help text output and to prepend | |
3811 | options with '-'. | |
3812 | * toplev.c (display_help): Remove some help text. | |
3813 | ||
2c4a9cff DE |
3814 | 2003-07-07 David Edelsohn <edelsohn@gnu.org> |
3815 | Fariborz Jahanian <fjahanian@apple.com> | |
3816 | ||
3817 | * configure.in: Test for PowerPC mfcr field support in assembler. | |
3818 | * config.in, configure: Regenderated. | |
3819 | ||
3820 | * config/rs6000/power4.md: Add mfcrf reservation. | |
3821 | * config/rs6000/rs6000-protos.h (mfcr_operation): Declare. | |
3822 | * config/rs6000/rs6000.c (mfcr_operation): Define. | |
3823 | (print_operand): Add 'Q' case for mfcrf. | |
3824 | * config/rs6000/rs6000.h (TARGET_MFCRF): New. | |
3825 | * config/rs6000/rs6000.md (attribute "type"): Add mfcrf. | |
3826 | (movcc_internal1): Emit optional field operand for mfcr and set | |
3827 | "type" attribute appropriately. | |
3828 | (mfcr SCC): Likewise. | |
3829 | (movesi_from_cr_one): New. | |
3830 | ||
923c4cf2 RS |
3831 | 2003-07-07 Roger Sayle <roger@eyesopen.com> |
3832 | ||
3833 | * config/i386/i386.md: Correct check-in of incorrect version. | |
3834 | ||
75b6f3fd KG |
3835 | 2003-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3836 | ||
3837 | * bitmap.c (debug_bitmap_file): Merge uses of HOST_PTR_PRINTF with | |
3838 | adjacent stdio calls. | |
3839 | * c-decl.c (c_print_identifier): Likewise. | |
3840 | * mips-tfile.c (write_varray, write_object, allocate_cluster): Likewise. | |
3841 | * print-rtl.c (print_rtx): Likewise. | |
3842 | * print-tree.c (print_node_brief, print_node): Likewise. | |
3843 | * system.h (HOST_PTR_PRINTF): Ensure we have a literal string. | |
56694dd9 | 3844 | |
75b6f3fd KG |
3845 | * configure.in (AC_COMPILE_CHECK_SIZEOF): Check for `void *'. |
3846 | * config.in, configure: Regenerated. | |
3847 | ||
afeeac3f RS |
3848 | 2003-07-07 Roger Sayle <roger@eyesopen.com> |
3849 | ||
3850 | PR target/10979 | |
3851 | * config/i386/i386.md (atan2df3, atan2sf3, atan2xf3, atan2tf3): | |
3852 | Changed to define_expand patterns that copy operand[1] to prevent | |
3853 | it from being clobbered before emitting an atan2?f3_1 insn. | |
3854 | (atan2df3_1, atan2sf3_1, atan2xf_1, atan2tf3_1): New define_insn | |
3855 | patterns that actually specify the behaviour of x87's FPATAN. | |
3856 | ||
eeff9307 JJ |
3857 | 2003-07-07 Jakub Jelinek <jakub@redhat.com> |
3858 | ||
3859 | * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Remove bogus | |
3860 | clearing of SYMBOL_FLAG_LOCAL bit. | |
3861 | If vcall_offset fits into signed 16-bit immediate, use | |
3862 | one instruction for both addition and load. | |
3863 | ||
0fcd5dda NB |
3864 | 2003-07-07 Neil Booth <neil@daikokuya.co.uk> |
3865 | ||
3866 | * opts.c (common_handle_option): Correct handling of the | |
3867 | -falign- switches that do and don't take an argument. | |
3868 | ||
b275810a KH |
3869 | 2003-07-07 Kazu Hirata <kazu@cs.umass.edu> |
3870 | ||
3871 | * config/h8300/h8300.md (pushqi1_h8300hs): Revert my patch | |
3872 | today. | |
3873 | (pushhi1_h8300hs): Likewise. | |
3874 | ||
5671bf27 AJ |
3875 | 2003-07-07 Andreas Jaeger <aj@suse.de> |
3876 | ||
3877 | * genextract.c: Convert remaining prototypes to ISO C90. | |
3878 | ||
3879 | * cpplex.c (_cpp_free_buff): Convert prototype to ISO C90. | |
3880 | * fold-const.c (fold_single_bit_test): Likewise. | |
3881 | * diagnostic.c (default_diagnostic_finalizer): Likewise. | |
3882 | * cfgrtl.c (rtl_redirect_edge_and_branch): Likewise. | |
3883 | ||
3884 | * gengtype.c (write_array): Generate ISO C90 prototypes. | |
3885 | ||
3886 | * genflags.c (gen_proto): Generate ISO C90 prototypes. | |
3887 | ||
2c430630 RS |
3888 | 2003-07-07 Roger Sayle <roger@eyesopen.com> |
3889 | ||
3890 | PR optimization/11059 | |
3891 | * expr.c (can_store_by_pieces): Return true if length is zero. | |
3892 | (store_by_pieces): If length is zero and endp is two, abort, | |
3893 | othwerise, if length is zero and endp is not two, return "to". | |
3894 | (clear_by_pieces): Do nothing if length is zero. | |
3895 | (clear_storage): Do nothing if length is zero. | |
3896 | (store_constructor): Simplify code when size is zero, or the | |
3897 | target has already been cleared. This avoids emitting a | |
3898 | blockage instruction when initializing empty structures. | |
3899 | ||
cf633f5b AJ |
3900 | 2003-07-07 Andreas Jaeger <aj@suse.de> |
3901 | ||
3902 | * mips-tfile.c: Convert prototypes to ISO C90. | |
3903 | * mips-tdump.c: Convert prototypes to ISO C90. | |
3904 | ||
0cea056b NS |
3905 | 2003-07-07 Nathan Sidwell <nathan@codesourcery.com> |
3906 | ||
3907 | * rtl.h (emit_line_note): Take a location_t. | |
3908 | (emit_line_note_force): Remove. | |
3909 | (set_file_and_line_for_statement): Take a location_t. | |
3910 | * tree.g (emit_line_note): Take a location_t. | |
3911 | * emit-rtl.c (emit_line_note): Take a location_t. | |
3912 | (emit_line_note_force): Remove. | |
3913 | * function.c (init_function_start): Adjust emit_line_note call. | |
3914 | (expand_function_end): Use force_next_line_note, not | |
3915 | emit_line_note_force. | |
3916 | * c-parse.in (maybe_type_qual): Adjust emit_line_note calls. | |
3917 | * c-semantics.c (genrtl_do_pushlevel, genrtl_goto_stmt, | |
3918 | genrtl_expr_stmt_value, genrtl_decl_stmt, genrtl_if_stmt, | |
3919 | genrtl_while_stmt, genrtl_do_stmt_1, genrtl_return_stmt, | |
3920 | genrtl_for_stmt, genrtl_break_stmt, genrtl_continue_stmt, | |
3921 | genrtl_continue_stmt, genrtl_switch_stmt, | |
3922 | genrtl_asm_stmt): Likewise. | |
3923 | * expr.c (expand_expr): Likewise. | |
3924 | * integrate.c (expand_inline_function): Likewise. | |
3925 | * stmt.c (set_file_and_line_for_stmt): Take a location_t. | |
3926 | (expand_decl_init): Adjust emit_line_note call. | |
3927 | ||
8eb910fc DJ |
3928 | 2003-07-07 Dale Johannesen <dalej@apple.com> |
3929 | ||
56694dd9 | 3930 | * config/rs6000/darwin-tramp.asm: Fix trampolines. PR 10900. |
8eb910fc | 3931 | |
b96a374d AJ |
3932 | 2003-07-07 Andreas Jaeger <aj@suse.de> |
3933 | ||
3934 | * config/i386/i386-protos.h: Convert prototypes to ISO C90. | |
3935 | * config/i386/i386.c: Likewise. | |
3936 | ||
273fc01e KH |
3937 | 2003-07-07 Kazu Hirata <kazu@cs.umass.edu> |
3938 | ||
3939 | * config/h8300/h8300.md: Use gen_int_mode instead of | |
3940 | GEN_INT (trunc_int_for_mode (...)). | |
3941 | ||
fb7d7712 KH |
3942 | 2003-07-07 Kazu Hirata <kazu@cs.umass.edu> |
3943 | ||
3944 | * config/h8300/h8300.md (pushqi1_h8300hs): Optimize by pushing | |
3945 | 2 bytes and then subtract 2 from the stack pointer. | |
3946 | (pushhi1_h8300hs): Likewise. | |
3947 | ||
e61a2eb7 NS |
3948 | 2003-07-07 Nathan Sidwell <nathan@codesourcery.com> |
3949 | ||
3950 | * configure.in (enable_coverage): Remove -DSELF_COVERAGE, add | |
3951 | -frandom-seed. | |
3952 | * configure: Regenerated. | |
3953 | * Makefile.in: Remove extraneous comment. | |
3954 | * toplev.c (randomize): Protect against potential multiple calls. | |
3955 | * doc/invoke.texi (-frandom-seed): Document use for in coverage | |
3956 | files. | |
3957 | ||
82d610ec | 3958 | 2003-07-07 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
56694dd9 | 3959 | Eric Botcazou <ebotcazou@libertysurf.fr> |
82d610ec RK |
3960 | |
3961 | PR optimization/11198 | |
3962 | * alias.c (objects_must_conflict_p): Return 1 if the types have | |
3963 | the same alias set, not if the alias sets only conflict. | |
3964 | ||
5beadb33 AP |
3965 | 2003-07-07 Andrew Pinski <pinskia@physics.uc.edu> |
3966 | ||
3967 | * cppcharset.c (ICONV_CONST): Define iff !HAVE_ICONV. | |
3968 | (convert_cset): Change inbuf to type ICONV_CONST char. | |
3969 | * Makefile.in (LIBS): Add LIBICONV. | |
3970 | ||
9bb34f3c AJ |
3971 | * doc/invoke.texi (-falign-functions): Document that |
3972 | when n is zero then a machine-dependent default is used. | |
3973 | (-falign-labels): Document that when n is zero then a | |
3974 | machine-dependent default is used and that -falign-labels =1 | |
3975 | is equivalent to -fno-align-labels. | |
3976 | (-falign-loops): Likewise. | |
3977 | (-falign-jumps): Likewise. | |
3978 | ||
1dbb6ce8 AH |
3979 | 2003-07-06 Art Haas <ahaas@airmail.net> |
3980 | ||
3981 | * f/global.c (ffeglobal_type_string_): Fix obsolete GCC array | |
3982 | initializer syntax. | |
3983 | ||
8338d44d JW |
3984 | 2003-07-06 James E Wilson <wilson@tuliptree.org> |
3985 | ||
3986 | PR optimization/9812 | |
3987 | * rtl.h (mem_for_const_double): Delete prototype. | |
3988 | * varasm.c (mem_for_const_double): Delete function. | |
3989 | * config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68kelf.h, | |
3990 | config/m68k/m68kv4.h, config/m68k/netbsd-elf.h | |
3991 | (LEGITIMATE_PIC_OPERAND_P): Delete duplicate definitions. | |
3992 | * config/m68k/m68k.h (LEGITIMATE_CONSTANT_P): Disallow XFmode. | |
3993 | (LEGITIMATE_PIC_OPERAND_P): Delete CONST_DOUBLE tests. | |
3994 | * config/m68k/m68k.md (movxf): Add reload_in_progress guard. Add | |
3995 | comment about confused support for XFmode constants. | |
3996 | ||
9efd34a5 JH |
3997 | Mon Jul 7 02:03:56 CEST 2003 Jan Hubicka <jh@suse.cz> |
3998 | ||
3999 | * cfglayout.c (fixup_reorder_chain): Call delete_dead_jumptables. | |
4000 | ||
2a43945f KH |
4001 | 2003-07-06 Kazu Hirata <kazu@cs.umass.edu> |
4002 | ||
4003 | * config/h8300/h8300.c: Fix comment typos. | |
4004 | * config/h8300/h8300.md: Likewise. | |
4005 | * config/i386/athlon.md: Likewise. | |
4006 | * config/i386/i386.c: Likewise. | |
4007 | * config/i386/pentium.md: Likewise. | |
4008 | * config/ia64/ia64.c: Likewise. | |
4009 | * config/ia64/itanium1.md: Likewise. | |
4010 | * config/ia64/itanium2.md: Likewise. | |
4011 | * config/m32r/m32r.md: Likewise. | |
4012 | * config/m68hc11/m68hc11.c: Likewise. | |
4013 | * config/mcore/mcore.c: Likewise. | |
4014 | * config/mips/sr71k.md: Likewise. | |
4015 | * config/mips/t-iris5-as: Likewise. | |
4016 | * config/mmix/mmix.h: Likewise. | |
4017 | * config/ns32k/ns32k.h: Likewise. | |
4018 | * config/ns32k/NOTES: Fix a typo. | |
4019 | ||
ceee09f7 AJ |
4020 | 2003-07-06 Andreas Jaeger <aj@suse.de> |
4021 | ||
7e51717c AJ |
4022 | * stmt.c: Convert remaining prototypes to ISO C90. |
4023 | * cfglayout.c: Likewise. | |
4024 | * dbxout.c: Likewise. | |
4025 | * gcc.c: Likewise. | |
4026 | * genemit.c: Likewise. | |
4027 | ||
ceee09f7 AJ |
4028 | * basic-block.h: Convert prototypes to ISO C90. |
4029 | * c-parse.in: Likewise. | |
4030 | * c-pragma.h: Likewise. | |
4031 | * c-typeck.c: Likewise. | |
4032 | * cfghooks.h: Likewise. | |
4033 | * cfgloopanal.c: Likewise. | |
4034 | * dbxout.h: Likewise. | |
4035 | * debug.h: Likewise. | |
4036 | * dwarf2asm.h: Likewise. | |
4037 | * gcov.c: Likewise. | |
4038 | * gengtype-lex.l: Likewise. | |
4039 | * sched-int.h: Likewise. | |
4040 | * timevar.c: Likewise. | |
4041 | ||
cb66e385 NB |
4042 | 2003-07-06 Neil Booth <neil@daikokuya.co.uk> |
4043 | ||
4044 | * c-common.h (c_comon_handle_filename, | |
4045 | c_common_missing_arguement): New. | |
4046 | * c-lang.c (LANG_HOOKS_HANDLE_FILENAME, | |
4047 | LANG_HOOKS_MISSING_ARGUMENT): New. | |
4048 | * c-opts.c (missing_arg): Rename c_common_missing_argument, | |
4049 | update to be an appropriate langhook. | |
4050 | (c_common_handle_option): Don't handle filenames. | |
4051 | (c_common_handle_filename): New. | |
4052 | * hooks.c (hook_void_constcharptr, | |
4053 | hook_bool_constcharptr_size_t_false): New. | |
4054 | * hooks.h (hook_void_constcharptr, | |
4055 | hook_bool_constcharptr_size_t_false): New. | |
4056 | * langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME, | |
4057 | LANG_HOOKS_MISSING_ARGUMENT): New. | |
4058 | (LANG_HOOKS_INITIALIZER): Update. | |
4059 | * langhooks.h (struct lang_hooks): Add handle_filename and | |
4060 | missing_argument. | |
4061 | * opts.c (handle_option): Don't handle filenames here, but ... | |
4062 | (handle_options): ... here. | |
4063 | (common_handle_option): Don't handle missing arguments here. | |
4064 | * objc/objc-lang.c (LANG_HOOKS_HANDLE_FILENAME, | |
4065 | LANG_HOOKS_MISSING_ARGUMENT): New. | |
4066 | ||
ade4289c NB |
4067 | 2003-07-06 Neil Booth <neil@daikokuya.co.uk> |
4068 | ||
4069 | * Makfile.in: Remove traces of mbchar. | |
4070 | * c-parse.in (MULTIBYTE_CHARS): Remove. | |
4071 | * config.in (MULTIBYTE_CHARS): Remove. | |
4072 | * configure: Remove --enable-mbchar. | |
4073 | * configure.in: Remove --enable-mbchar. | |
4074 | * mbchar.c, mbchar.h: Remove. | |
4075 | * system.h: Poison MULTIBYTE_CHARS. | |
4076 | * config/linux-aout.h (MULTIBYTE_CHARS): Remove. | |
4077 | * config/linux.h (MULTIBYTE_CHARS): Remove. | |
4078 | * config/svr4.h (MULTIBYTE_CHARS): Remove. | |
4079 | * config/sparc/linux.h (MULTIBYTE_CHARS): Remove. | |
4080 | ||
2e1eedd6 AJ |
4081 | 2003-07-06 Andreas Jaeger <aj@suse.de> |
4082 | ||
11dc5cc6 AJ |
4083 | * varray.c (varray_check_failed): Fix typo. |
4084 | ||
4085 | * unroll.c: Convert prototypes to ISO C90. | |
2e1eedd6 AJ |
4086 | * varasm.c: Likewise. |
4087 | * varray.c: Likewise. | |
4088 | * varray.h: Likewise. | |
4089 | * vmsdbgout.c: Likewise. | |
4090 | * xcoffout.c: Likewise. | |
4091 | * xcoffout.h: Likewise. | |
4092 | ||
dd486eb2 NS |
4093 | 2003-07-06 Nathan Sidwell <nathan@codesourcery.com> |
4094 | ||
4095 | * gcov-io.h: Add a local time stamp. | |
4096 | (struct gcov_info): Add stamp field. | |
4097 | (gcov_truncate): New. | |
4098 | * coverage.c (read_counts_file): Skip the stamp. | |
4099 | (coverage_begin_output): Write the stamp. | |
4100 | (build_gcov_info): Declare and init the stamp. | |
4101 | (coverage_finish): Only unlink data file, if stamp is zero. | |
4102 | * gcov-dump.c (dump_file): Dump the stamp. | |
4103 | * gcov.c (bbg_stamp): New. | |
4104 | (release_structures): Clear bbg_stamp. | |
4105 | (read_graph_file): Read stamp. | |
4106 | (read_count_file): Check stamp. | |
4107 | * libgcov.c (gcov_exit): Check stamp and truncate if needed. | |
4108 | ||
c07e5477 NS |
4109 | 2003-07-06 Nathan Sidwell <nathan@codesourcery.com> |
4110 | ||
4111 | * tree.h (default_flag_random_seed): Remove. | |
4112 | * toplev.h (local_tick): Declare. | |
4113 | * tree.c (flag_random_seed, default_flag_random_seed): Move to | |
4114 | toplev.c. | |
4115 | (append_random_chars): Don't call default_flag_random_seed. | |
4116 | * toplev.c (flag_random_seed): Define here. Set local_tick. | |
4117 | (local_tick): Define. | |
4118 | (randomize): New, moved from tree.c. | |
4119 | (print_switch_values): Adjust. | |
4120 | (toplev_main): Call randomize. | |
4121 | ||
2aab7ceb NS |
4122 | 2003-07-06 Nathan Sidwell <nathan@codesourcery.com> |
4123 | ||
4124 | * tree.h (crc32_string): Declare. | |
4125 | * tree.c (append_random_chars): Remove. | |
4126 | (crc32_string): New. | |
4127 | (get_file_function_name_long): Use crc32_string here. | |
4128 | ||
1d088dee AJ |
4129 | 2003-07-06 Andreas Jaeger <aj@suse.de> |
4130 | ||
4131 | * gcc.c: Convert prototypes to ISO C90. | |
4132 | * gcc.h: Likewise. | |
4133 | * gcov-dump.c: Likewise. | |
4134 | * gcov-iov.c: Likewise. | |
4135 | * gcse.c: Likewise. | |
4136 | * genattrtab.h: Likewise. | |
4137 | * ggc.h: Likewise. | |
4138 | * global.c: Likewise. | |
4139 | * graph.c: Likewise. | |
4140 | * graph.h: Likewise. | |
4141 | * hosthooks.h: Likewise. | |
4142 | * hooks.h: Likewise. | |
4143 | * hooks.c: Likewise. | |
4144 | * hashtable.h: Likewise. | |
4145 | * hashtable.c: Likewise. | |
4146 | * haifa-sched.c: Likewise. | |
4147 | * integrate.h: Likewise. | |
4148 | * integrate.c: Likewise. | |
4149 | * input.h: Likewise. | |
4150 | * ifcvt.c: Likewise. | |
f8ec47c7 | 4151 | * jump.c: Likewise. |
0c20a65f AJ |
4152 | * langhooks-def.h: Likewise. Add extern to prototypes. |
4153 | * langhooks.c: Likewise. | |
4154 | * langhooks.h: Likewise. | |
4155 | * lcm.c: Likewise. | |
4156 | * local-alloc.c: Likewise. | |
4157 | * loop-init.c: Likewise. | |
4158 | * loop-unroll.c: Likewise. | |
4159 | * loop-unswitch.c: Likewise. | |
4160 | * loop.c: Likewise. | |
4161 | * loop.h: Likewise. Add extern to prototypes. | |
4162 | * machmode.h: Likewise. | |
4163 | * main.c: Likewise. | |
4164 | * mbchar.c: Likewise. | |
4165 | * mbchar.h: Likewise. | |
4166 | * mkdeps.c: Likewise. | |
4167 | * mkdeps.h: Likewise. | |
4168 | * optabs.c: Likewise. | |
4169 | * optabs.h: Likewise. | |
4170 | * output.h: Likewise. | |
4171 | * gccspec.c: Likwise. | |
4172 | * postreload.c: Likewise. | |
4173 | * prefix.c: Likewise. | |
4174 | * prefix.h: Likewise. | |
4175 | * print-rtl.c: Likewise. | |
4176 | * print-tree.c: Likewise. | |
4177 | * profile.c: Likewise. | |
4178 | * read-rtl.c: Likewise. | |
4179 | * real.c: Likewise. | |
4180 | * real.h: Likewise. | |
4181 | * recog.c: Likewise. | |
4182 | * recog.h: Likewise. | |
4183 | * reg-stack.c: Likewise. | |
4184 | * regclass.c: Likewise. | |
4185 | * regmove.c: Likewise. | |
4186 | * regrename.c: Likewise. | |
4187 | * regs.h: Likewise. | |
4188 | * reload.c: Likewise. | |
4189 | * reload.h: Likewise. | |
4190 | * reload1.c: Likewise. | |
4191 | * reorg.c: Likewise. | |
4192 | * resource.c: Likewise. | |
4193 | * resource.h: Likewise. | |
4194 | * rtl-error.c: Likewise. | |
4195 | * rtl.c: Likewise. | |
4196 | * rtl.h: Likewise. | |
4197 | * rtlanal.c: Likewise. | |
46c5ad27 AJ |
4198 | * sbitmap.c: Likewise. |
4199 | * sbitmap.h: Likewise. | |
4200 | * scan-decls.c: Likewise. | |
4201 | * scan.c: Likewise. | |
4202 | * sched-deps.c: Likewise. | |
4203 | * sched-ebb.c: Likewise. | |
4204 | * sched-int.h: Likewise. | |
4205 | * sched-rgn.c: Likewise. | |
4206 | * sched-vis.c: Likewise. | |
4207 | * sibcall.c: Likewise. | |
4208 | * simplify-rtx.c: Likewise. | |
4209 | * sreal.c: Likewise. | |
4210 | * sreal.h: Likewise. | |
4211 | * ssa-ccp.c: Likewise. | |
4212 | * ssa-dce.c: Likewise. | |
4213 | * ssa.c: Likewise. | |
4214 | * ssa.h: Likewise. | |
4215 | * stack.h: Likewise. | |
4216 | * stmt.c: Likewise. | |
4217 | * stor-layout.c: Likewise. | |
4218 | * stringpool.c: Likewise. | |
4219 | * target.h: Likewise. | |
4220 | * timevar.c: Likewise. | |
4221 | * timevar.h: Likewise. | |
4222 | * tlink.c: Likewise. | |
4223 | * tracer.c: Likewise. | |
4224 | * tree-inline.c: Likewise. | |
4225 | * tree-inline.h: Likewise. | |
4226 | * tree.c: Likewise. | |
4227 | * tree.h: Likewise. | |
1d088dee | 4228 | |
4f649bc1 KH |
4229 | 2003-07-05 Kazu Hirata <kazu@cs.umass.edu> |
4230 | ||
4231 | * combine.c (nonzero_bits1): Fix a warning. | |
4232 | ||
4233 | 2003-07-05 Kazu Hirata <kazu@cs.umass.edu> | |
2c4a71b3 KH |
4234 | |
4235 | * config/h8300/h8300.c (compute_mov_length): Correct the | |
4236 | length of loading CONST0_RTX (SFmode). | |
4237 | ||
f5924ac1 NS |
4238 | 2003-07-05 Nathan Sidwell <nathan@codesourcery.com> |
4239 | ||
4240 | * toplev.c (output_clean_symbol_name): Remove. | |
4241 | * toplev.h (output_clean_symbol_name): Remove. | |
4242 | * config/alpha/alpha.c (unicosmk_output_module_name): Use | |
4243 | lbasename & clean_symbol_name. | |
4244 | ||
39e3f58c KH |
4245 | 2003-07-05 Kazu Hirata <kazu@cs.umass.edu> |
4246 | ||
4247 | * ggc.h: Follow spelling conventions. | |
4248 | * config/i386/i386.c: Likewise. | |
4249 | * config/i386/winnt.c: Likewise. | |
4250 | * config/rs6000/rs6000.c: Likewise. | |
4251 | ||
4d6922ee KH |
4252 | 2003-07-05 Kazu Hirata <kazu@cs.umass.edu> |
4253 | ||
4254 | * bt-load.c: Fix comment typos. | |
4255 | * c-incpath.c: Likewise. | |
4256 | * cfg.c: Likewise. | |
4257 | * cfgcleanup.c: Likewise. | |
4258 | * cfgloop.h: Likewise. | |
4259 | * cfgloopmanip.c: Likewise. | |
4260 | * cfgrtl.c: Likewise. | |
4261 | * diagnostic.h: Likewise. | |
4262 | * dwarfout.c: Likewise. | |
4263 | * emit-rtl.c: Likewise. | |
4264 | * et-forest.c: Likewise. | |
4265 | * et-forest.h: Likewise. | |
4266 | * expr.c: Likewise. | |
4267 | * gcse.c: Likewise. | |
4268 | * genattr.c: Likewise. | |
4269 | * jump.c: Likewise. | |
4270 | * langhooks.h: Likewise. | |
4271 | * local-alloc.c: Likewise. | |
4272 | * loop-unroll.c: Likewise. | |
4273 | * loop-unswitch.c: Likewise. | |
4274 | * ra-build.c: Likewise. | |
4275 | * regclass.c: Likewise. | |
4276 | * regmove.c: Likewise. | |
4277 | * rtl.def: Likewise. | |
4278 | * rtlanal.c: Likewise. | |
4279 | * sched-ebb.c: Likewise. | |
4280 | * sched-rgn.c: Likewise. | |
4281 | * simplify-rtx.c: Likewise. | |
4282 | * ssa.c: Likewise. | |
4283 | * tracer.c: Likewise. | |
4284 | * tree.c: Likewise. | |
4285 | ||
f1c4bc4f ZW |
4286 | 2003-07-05 Zack Weinberg <zack@codesourcery.com> |
4287 | ||
4288 | * cppcharset.c: Use the correct return type for the fallback iconv | |
4289 | macro. | |
4290 | ||
65c6f1b4 ZD |
4291 | Sat Jul 5 16:18:53 CEST 2003 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
4292 | ||
4293 | Blame to Jan Hubicka <jh@suse.cz> | |
4294 | * cfglayout.c (record_effective_endpoints): Split insns before | |
4295 | first basic block correctly. | |
4296 | ||
a8f3bf52 RK |
4297 | 2003-07-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4298 | ||
f1c4bc4f | 4299 | * expr.c (expand_expr, case COMPONENT_REF): When seeing if should use |
a8f3bf52 RK |
4300 | bitfield operations, use STRICT_ALIGNMENT, not SLOW_UNALIGNED_ACCESS |
4301 | if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER. | |
4302 | ||
0641776c AJ |
4303 | 2003-07-05 Andreas Jaeger <aj@suse.de> |
4304 | ||
4305 | * genattrtab.c (write_attr_get): Revert part of last patch to | |
4306 | always write out a prototype. | |
4307 | ||
4308 | * genemit.c (gen_split): Readd lost unused attributes in last | |
4309 | patch. | |
4310 | ||
977129f6 ZD |
4311 | 2003-07-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
4312 | ||
4313 | * cfgloopmanip.c (force_single_succ_latches): Force latch to be | |
4314 | different from header. | |
4315 | ||
5ee084df AS |
4316 | 2003-07-05 Andreas Schwab <schwab@suse.de> |
4317 | ||
4318 | * config/m68k/m68k.c: Remove code protected by CRDS. | |
4319 | * config/m68k/m68k.md: Likewise. | |
4320 | ||
33de9573 NB |
4321 | 2003-07-05 Neil Booth <neil@daikokuya.co.uk> |
4322 | ||
4323 | PR driver/11417 | |
4324 | * c-opts.c (permit_fortran_options): New. | |
4325 | (c_common_init_options): Accept fortran front end options if | |
4326 | it looks like we might be preprocessing Fortran. | |
4327 | (c_common_handle_option): Don't reject switch if permit_fotran_options. | |
4328 | ||
6906ba40 KG |
4329 | 2003-07-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4330 | ||
4331 | * genattr.c (internal_dfa_insn_code): Output prototype. | |
4332 | * genattrtab.c: Don't output unnecessary decls, output in ISO C. | |
4333 | * genautomata.c: Likewise. | |
4334 | * genconditions.c: Likewise. | |
4335 | * genemit.c: Likewise. | |
4336 | * genextract.c: Likewise. | |
4337 | * gengenrtl.c: Likewise. | |
4338 | * gengtype.c: Likewise. | |
4339 | * genopinit.c: Likewise. | |
4340 | * genoutput.c: Likewise. | |
4341 | * genpeep.c: Likewise. | |
4342 | * genrecog.c: Likewise. | |
4343 | ||
e6cc3a24 ZW |
4344 | 2003-07-04 Zack Weinberg <zack@codesourcery.com> |
4345 | ||
4346 | * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types. | |
4347 | (struct cpp_options): Add narrow_charset, wide_charset, | |
4348 | bytes_big_endian fields. Remove EBCDIC field. | |
4349 | (cpp_init_iconv, cpp_interpret_string): New external interfaces. | |
4350 | ||
4351 | * cpphash.h: Include <iconv.h> if we have it, otherwise | |
4352 | provide a dummy definition of iconv_t. | |
4353 | (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields. | |
4354 | (_cpp_valid_ucn): Update prototype. | |
4355 | (_cpp_destroy_iconv): New prototype. | |
4356 | ||
4357 | * doc/cpp.texi: Document character set handling. | |
4358 | * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=. | |
4359 | * doc/extend.texi: Delete entire section on multiline strings. | |
4360 | Rewrite section on __FUNCTION__ etc now that these are | |
4361 | variables in C. | |
4362 | ||
4363 | * cppucnid.tab, cppucnid.pl: New files. | |
4364 | * cppucnid.h: New generated file. | |
4365 | * cppcharset.c: Include cppucnid.h. Lots of commentary added. | |
4366 | (iconv_open, iconv, iconv_close): Provide dummy definitions | |
4367 | if !HAVE_ICONV. | |
4368 | (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv, | |
4369 | _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn, | |
4370 | emit_numeric_escape, convert_hex, convert_oct, convert_escape, | |
4371 | cpp_interpret_string, narrow_str_to_charconst, | |
4372 | wide_str_to_charconst): New. | |
4373 | (ucn_valid_in_identifier): Use a binary search through the | |
4374 | ucnranges table defined in cppucnid.h, not a long chain of if | |
4375 | statements. | |
4376 | (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal | |
4377 | character names are only valid in C++ and C99" to a warning. | |
4378 | Issue the "meaning of \[uU] is different in traditional C" | |
4379 | warning here. Take care not to let iconv see an invalid UCS | |
4380 | value if we get a malformed UCN. Issue an error if we don't | |
4381 | have iconv. | |
4382 | (cpp_interpret_charconst): Moved here from cpplex.c. Use | |
4383 | cpp_interpret_string to do the heavy lifting. | |
4384 | ||
4385 | * cppinit.c (cpp_create_reader): Initialize bytes_big_endian, | |
4386 | narrow_charset, wide_charset fields of options structure. | |
4387 | (cpp_destroy): Call _cpp_destroy_iconv. | |
4388 | * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn. | |
4389 | (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete. | |
4390 | (cpp_interpret_charconst): Moved to cppcharset.c. | |
4391 | * cpplib.c (dequote_string): Delete. | |
4392 | (interpret_string_notranslate): New. | |
4393 | (do_line, do_linemarker): Use interpret_string_notranslate. | |
4394 | ||
4395 | * Makefile.in (cppcharset.o): Depend on cppucnid.h. | |
4396 | ||
4397 | * c-common.c (fname_string, combine_strings): Delete. | |
4398 | * c-common.h (fname_string, combine_strings): Delete prototypes. | |
4399 | * c-lex.c (ignore_escape_flag): Delete. | |
4400 | (cb_ident): Use cpp_interpret_string, not lex_string. | |
4401 | (get_nonpadding_token): New function. | |
4402 | (c_lex): Handle Objective-C @-prefixed identifiers and strings here. | |
4403 | Adjust calls to lex_string. Don't write *value twice. | |
4404 | (lex_string): Now handles string constant concatenation. | |
4405 | Most of the work handed off to cpp_interpret_string. | |
4406 | Call fix_string_type here. | |
4407 | * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with | |
4408 | FUNC_NAME, throughout. | |
4409 | (OBJC_STRING): New token type. | |
4410 | (primary:STRING): No need to call fix_string_type here. | |
4411 | (primary:objc_string): Make that OBJC_STRING. | |
4412 | (objc_string nonterminal): Delete. | |
4413 | (yylexname): Delete code to handle fake string constants. | |
4414 | (yylexstring): Delete entirely. | |
4415 | (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need | |
4416 | to handle CPP_ATSIGN. | |
4417 | ||
4418 | * c.opt (-fexec-charset=, -fwide-exec-charset=): New options. | |
4419 | * c-opts.c (missing_arg, c_common_handle_option): Handle | |
4420 | OPT_fexec_charset_ and OPT_fwide_exec_charset_. | |
4421 | (c_common_init): Set cpp_opts->bytes_big_endian, not | |
4422 | cpp_opts->EBCDIC. Call cpp_init_iconv. | |
4423 | (print_help): Document -fexec-charset= and -fexec-wide-charset=. | |
4424 | (TARGET_EBCDIC): Delete default definition. | |
4425 | ||
4426 | * objc/objc-act.c (build_objc_string_object): No need to | |
4427 | handle string constant concatenation. | |
4428 | ||
61aeb06f KH |
4429 | 2003-07-04 Kazu Hirata <kazu@cs.umass.edu> |
4430 | ||
4431 | * doc/install.texi: Fix typos. | |
4432 | * doc/invoke.texi: Likewise. | |
4433 | * doc/tm.texi: Likewise. | |
4434 | ||
c1207243 KH |
4435 | 2003-07-04 Kazu Hirata <kazu@cs.umass.edu> |
4436 | ||
4437 | * config/pa/fptr.c: Fix comment typos. | |
4438 | * config/pa/pa-64.h: Likewise. | |
4439 | * config/pa/pa.c: Likewise. | |
4440 | * config/pa/pa.h: Likewise. | |
4441 | * config/rs6000/603.md: Likewise. | |
4442 | * config/rs6000/7xx.md: Likewise. | |
4443 | * config/rs6000/darwin.h: Likewise. | |
4444 | * config/rs6000/freebsd.h: Likewise. | |
4445 | * config/rs6000/rs6000.c: Likewise. | |
4446 | * config/rs6000/rs6000.md: Likewise. | |
4447 | * config/rs6000/spe.h: Likewise. | |
4448 | ||
58add37a UW |
4449 | 2003-07-04 Ulrich Weigand <uweigand@de.ibm.com> |
4450 | ||
4451 | * config/s390/2064.md: Change GNU CC to GCC. | |
4452 | * config/s390/2084.md: Likewise. | |
4453 | * config/s390/fixdfdi.h: Likewise. | |
4454 | * config/s390/linux.h: Likewise. | |
4455 | * config/s390/s390-modes.def: Likewise. | |
4456 | * config/s390/s390-protos.h: Likewise. | |
4457 | * config/s390/s390.c: Likewise. | |
4458 | * config/s390/s390.h: Likewise. | |
4459 | * config/s390/s390.md: Likewise. | |
4460 | * config/s390/s390x.h: Likewise. | |
4461 | ||
60cd4dae JL |
4462 | 2003-07-04 Jeff Law <law@redhat.com> |
4463 | ||
a38825d2 | 4464 | PR c/11428 |
60cd4dae JL |
4465 | * expr.c (do_store_flag): Pass in the correct result type |
4466 | when calling fold_single_bit_test. | |
4467 | * fold-const.c (fold_single_bit_test): Use result_type for the | |
4468 | result when folding a sign bit test. | |
4469 | ||
5e14ae7e NB |
4470 | 2003-07-04 Neil Booth <neil@daikokuya.co.uk> |
4471 | ||
4472 | * opts.c (common_handle_options): Negate sense of -falign- switches. | |
4473 | ||
8c90b13a L |
4474 | 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> |
4475 | ||
c3b3975a | 4476 | * Makefile.in: Replace PWD with PWD_COMMAND. |
8c90b13a | 4477 | |
72d4a2ad ZD |
4478 | 2003-07-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
4479 | ||
4480 | * cfgloopanal.c (count_strange_loop_iterations): New static function. | |
4481 | (constant_iterations, count_loop_iterations, simple_loop_exit_p): | |
4482 | Handle strange loops. | |
4483 | ||
8e9a4a45 TM |
4484 | 2003-07-04 Toon Moene <toon@moene.indiv.nluug.nl> |
4485 | ||
4486 | * install.texi: Even the g77 manpage is derived from | |
4487 | the full g77 manual. | |
4488 | ||
6eb95e99 ZW |
4489 | 2003-07-04 Zack Weinberg <zack@codesourcery.com> |
4490 | ||
4491 | * ABOUT-NLS: Delete. | |
4492 | * intl: Delete entire directory. | |
4493 | * aclocal.m4: Include ../config/gettext.m4. Delete | |
4494 | AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES, | |
4495 | AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT. | |
4496 | * configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT. | |
4497 | Remove intl/Makefile from all_outputs. | |
4498 | * configure, config.in: Regenerate. | |
4499 | * Makefile.in: Expunge all references to intl subdirectory. | |
4500 | Add -I../intl to INCLUDES. | |
4501 | * intl.h: Include libintl.h if and only if ENABLE_NLS is defined. | |
4502 | ||
bcd5d841 RS |
4503 | 2003-07-04 Roger Sayle <roger@eyesopen.com> |
4504 | ||
4505 | * config/rs6000/aix51.h (TARGET_C99_FUNCTIONS): Define. | |
4506 | * config/rs6000/aix52.h (TARGET_C99_FUNCTIONS): Likewise. | |
4507 | ||
6b6cb52e DS |
4508 | 2003-07-04 Danny Smith <dannysmith@users.sourceforge.net> |
4509 | ||
4510 | PR c++/5287, PR c++/7910, PR c++/11021 | |
4511 | * config/i386/winnt.c (ix86_handle_dll_attribute): Don't add | |
4512 | dllimport attribute if function is defined at declaration, but | |
4513 | report error instead. Likewise for dllimport'd variable | |
4514 | definitions. Set implicit TREE_PUBLIC for dllimport'd variables | |
4515 | declared within functions, Report error if dllimport or dllexport | |
4516 | symbol is not global. | |
4517 | (i386_pe_dllimport_p): Ignore dllimport attribute of functions | |
4518 | if defined after declaration or if inlined. Don't allow definition | |
4519 | of static data members of C++ classes. Don't dllimport virtual | |
4520 | methods. | |
4521 | (i386_pe_mark_dllexport): Warn about inconsistent dll attributes. | |
4522 | (i386_pe_mark_dllimport): Remove unnecessary checks. | |
4523 | (i386_pe_encode_section_info): Warn if the dllimport attribute | |
4524 | and symbol prefix have been instantiated and then overridden. | |
4525 | ||
4526 | * doc/extend.texi: Document dllimport and dllexport attributes. | |
4527 | ||
4528 | * config/i386/winnt.c (i386_pe_output_labelref): Fix indents. | |
4529 | ||
cc2f5d34 US |
4530 | 2003-07-03 Uwe Stieber <uwe@kaos-group.de> |
4531 | ||
4532 | * config/kaos.h (CPP_PREDEFINES): Delete. | |
4533 | (TARGET_OS_CPP_BUILTINS): New. | |
4534 | ||
5f1989e6 KG |
4535 | 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4536 | ||
4537 | * c-aux-info.c: Include toplev.h after c-tree.h. | |
4538 | * c-common.c: Likewise. | |
4539 | (GCC_DIAG_STYLE): Undef. | |
4540 | * c-semantics.c (GCC_DIAG_STYLE): Define. | |
4541 | * c-tree.h (GCC_DIAG_STYLE): Likewise. | |
4542 | * diagnostic.h (inform): Move prototype to toplev.h. | |
4543 | * jump.c: Include diagnostic.h before toplev.h. | |
4544 | * toplev.h (GCC_DIAG_STYLE, ATTRIBUTE_GCC_DIAG): Define. | |
4545 | (warning, error, fatal_error, pedwarn, sorry, inform, | |
4546 | error_for_asm, warning_for_asm): Mark with ATTRIBUTE_GCC_CXXDIAG. | |
4547 | ||
8d28e87d ZD |
4548 | 2003-07-03 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
4549 | ||
4550 | * cfglayout.c (cfg_layout_duplicate_bb): Do not update frequencies | |
4551 | at all if edge is not specified. | |
4552 | (can_copy_bbs_p, copy_bbs): New. | |
4553 | * cfglayout.h (can_copy_bbs_p, copy_bbs): Declare. | |
4554 | * cfgloop.c (get_loop_body): Comment more precisely. | |
4555 | * cfgloopmanip.c (copy_bbs, record_exit_edges): Removed. | |
4556 | (scale_bbs_frequencies): Fix comment typo. | |
4557 | (can_duplicate_loop_p): Use can_copy_bbs_p. | |
4558 | (duplicate_loop_to_header_edge): Simplify by using copy_bbs. | |
4559 | ||
694abeb6 DP |
4560 | 2003-07-03 Devang Patel <dpatel@apple.com> |
4561 | ||
4562 | * c-opts.c (c_common_parse_file): Remove extra | |
4563 | debug_hooks->start_source_file call. | |
6eb95e99 | 4564 | |
0a9530a9 RS |
4565 | 2003-07-03 Roger Sayle <roger@eyesopen.com> |
4566 | ||
4567 | * real.c (real_trunc, real_floor, real_ceil): New functions | |
4568 | to implement trunc, floor and ceil respectively. | |
4569 | * real.h (real_trunc, real_floor, real_ceil): Prototype here. | |
4570 | * builtins.c (integer_valued_real_p): New function to test if | |
4571 | a floating point expression has an integer valued result. | |
4572 | (fold_trunc_transparent_mathfn): Optimize foo(foo(x)) as | |
4573 | foo(x) where foo is an integer rounding function. Similarly, | |
4574 | optimize foo(bar(x)) as bar(x), and foo((double)(int)x) as | |
4575 | (double)(int)x when both foo and bar are integer rounding | |
4576 | functions and we don't need to honor errno. | |
4577 | (fold_builtin_trunc, fold_builtin_floor, fold_builtin_ceil): | |
4578 | New functions to fold trunc, floor and ceil. | |
4579 | (fold_builtin): Use fold_builtin_trunc to fold BUILT_IN_TRUNC*, | |
4580 | fold_builtin_floor to fold BUILT_IN_FLOOR* and fold_builtin_ceil | |
4581 | to fold BUILT_IN_CEIL*. | |
4582 | * fold-const.c (tree_expr_nonnegative_p): Handle FLOAT_EXPR and | |
4583 | the remaining integer rounding functions. | |
4584 | ||
c3427c7d EB |
4585 | 2003-07-03 Eric Botcazou <ebotcazou@libertysurf.fr> |
4586 | ||
4587 | * config/sparc/sparc.c (function_arg_partial_nregs): Use | |
4588 | SPARC_INT_ARG_MAX to determine where to split unnamed | |
4589 | complex FP arguments. | |
4590 | ||
bc35512f JH |
4591 | Thu Jul 3 20:36:47 CEST 2003 Jan Hubicka <jh@suse.cz> |
4592 | ||
4593 | * basic-block.h (create_basic_block, merge_blocks_nomove): Kill. | |
4594 | * cfgcleanup.c (merge_blocks): Rename to merge_blocks_move. | |
4595 | (merge_blocks_move_predecessor_nojumps, | |
4596 | merge_blocks_move_successor_nojumps): Use merge_blocks. | |
4597 | (try_optimize_cfg): Use merge_blocks_move. | |
4598 | * cfgrtl.c (create_basic_block): Rename to rtl_create_basic_block. | |
4599 | (merge_blocks_nomove): Rename to rtl_merge_blocks. | |
4600 | (cfg_layout_create_basic_block): New. | |
4601 | (rtl_can_merge_blocks): New. | |
4602 | (cfg_layout_split_block): Do not alloc aux by hand. | |
4603 | * cfghooks.h (cfg_hooks): Add create_basic_block, can_merge_blocks_p, | |
4604 | merge_blocks. | |
4605 | (create_basic_block, can_merge_blocks_p, merge_blocks): New macros. | |
4606 | * cfglayout.c (cfg_layout_duplicate_bb): Do not allocate aux by hand. | |
4607 | * cfgloopmanip.c (loop_split_edge_with): Likewise. | |
4608 | * ifcvt.c (merge_if_block): Use merge_blocks_nomove. | |
4609 | ||
4610 | * basic-block.h (basic_block_def): Add field 'rbi'. | |
4611 | * bb-reorder.c (find_traces, rotate_loop, mark_bb_visited, | |
4612 | find_traces_1_round, copy_bb, connect_traces): Update use of rbi. | |
4613 | * cfg.c (entry_exit_blocks): Add new field. | |
4614 | * cfglayout.c: Include alloc-pool.h; | |
4615 | (cfg_layout_pool): New. | |
4616 | (record_effective_endpoints, fixup_reorder_chain, | |
4617 | fixup_fallthru_exit_predecessor, cfg_layout_duplicate_bb): Update use | |
4618 | of rbi. | |
4619 | (cfg_layout_initialize_rbi): New function. | |
4620 | (cfg_layout_initialize): Use it. | |
4621 | (cfg_layout_finalize): Clear rbi fields. | |
4622 | * cfglayout.h (RBI): Kill. | |
4623 | (cfg_layout_initialize_rbi): Declare. | |
4624 | * cfgloopmanip.c (copy_bbs): Use rbi. | |
4625 | (record_exit_edges): Likewise. | |
4626 | (duplicate_loop_to_header_edge): Likewise. | |
4627 | * cfgrtl.c (cfg_layout_create_basic_block): Use | |
4628 | cfg_layout_initialize_rbi. | |
4629 | (cfg_layout_split_block): Use rbi. | |
4630 | (cfg_layout_delete_block): Likewise. | |
4631 | * loop-init.c (loop_optimizer_finalize): Likewise. | |
4632 | * loop-unswitch.c (unswitch_loop): Likewise. | |
4633 | * tracer.c (seen, tail_duplicate, layout_superblocks): Likewise. | |
4634 | ||
4635 | * cfgrtl.c: Update comments. | |
4636 | (try_redirect_by_replacing_jump): New argument. | |
4637 | (redirect_branch_edge): Break out from ... | |
4638 | (rtl_redirect_edge_and_branch): ... this one. | |
4639 | (update_cfg_after_block_merging): Break out from ... | |
4640 | (rtl_merge_blocks): ... this one. | |
4641 | (cfg_layout_split_edge): New. | |
4642 | (cfg_layout_merge_blocks): New. | |
4643 | (cfg_layout_can_merge_blocks_p): New. | |
4644 | (cfg_layout_redirect_edge_and_branch): Reorganize. | |
4645 | (cfg_layout_rtl_cfg_hooks): Fill in. | |
4646 | (cfg_layout_delete_block): Kill barriers. | |
4647 | * cfganal.c (can_fallthru): Deal with exit blocks | |
4648 | * cfglayout.c (cfg_layout_function_header): New function | |
4649 | (record_effective_endpoints): Record function header. | |
4650 | (fixup_reorder_chain): Fixup dead jumptables; place header | |
4651 | ||
4652 | * basic-block.h (CLEANUP_CFGLAYOUT): New flag. | |
4653 | * bb-reorder.c (cfg_layout_initialize): Update call. | |
4654 | * cfgcleanup.c (try_optimize_cfg): Supress optimizations of fallthru | |
4655 | edges in cfglayout mode. | |
4656 | * cfglayout.c (cleanup_unconditional_jumps): Kill. | |
4657 | (cfg_layout_initialize): Kill agrument loops; use cfgcleanup. | |
4658 | * cfglayout.h (cfg_layout_initialize): Update prototype. | |
4659 | * cfgloop.h (CP_INSIDE_CFGLAYOUT): Kill. | |
4660 | * cfgloopmanip.c (loop_split_edge_with): Use split_edge. | |
4661 | * flow.c (propagate_block): Do not crash when basic block ends | |
4662 | by first insn in the chain. | |
4663 | * loop-init.c (loop_optimizer_init): First enter cfglayout mode; later | |
4664 | do loop discovery. | |
4665 | * tracer.c (tracer): Update call of cfg_layout_initialize. | |
4666 | ||
dd220c49 KG |
4667 | 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4668 | ||
4669 | * Makefile.in: Use dependency variables in lieu of explicit | |
4670 | files throughout. | |
4671 | ||
fa5b060f SB |
4672 | 2003-07-03 Steven Bosscher <steven@gcc.gnu.org> |
4673 | ||
4674 | * rtl.h (ECF_*, flags_from_decl_or_type): Move from here... | |
4675 | * tree.h: ...to here. | |
4676 | ||
fae778eb KH |
4677 | 2003-07-03 Kazu Hirata <kazu@cs.umass.edu> |
4678 | ||
4679 | * config/s390/2064.md: Fix comment typos. | |
4680 | * config/s390/2084.md: Likewise. | |
4681 | * config/s390/s390.c: Likewise. | |
4682 | * config/s390/s390.md: Likewise. | |
4683 | * config/sh/sh.c: Likewise. | |
4684 | * config/sh/sh.h: Likewise. | |
4685 | * config/sh/sh.md: Likewise. | |
4686 | * config/sparc/sparc.c: Likewise. | |
4687 | * config/sparc/sparc.h: Likewise. | |
4688 | * config/sparc/sparc.md: Likewise. | |
4689 | * config/stormy16/stormy16.c: Likewise. | |
4690 | * config/stormy16/stormy16.h: Likewise. | |
4691 | * config/stormy16/stormy-abi: Fix a typo. | |
4692 | ||
58eabcb1 KC |
4693 | 2003-07-03 Kelley Cook <kelleycook@wideopenwest.org> |
4694 | ||
4695 | * Makefile.in (ifcvt.o): Depend on OPTABS_H. | |
4696 | ||
af261903 KG |
4697 | 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4698 | ||
4699 | * config/mips/mips.h (save_argv): Delete. | |
4700 | ||
a11c61d2 RS |
4701 | 2003-07-03 Roger Sayle <roger@eyesopen.com> |
4702 | ||
4703 | PR target/10700 | |
4704 | * fold-const.c (extract_muldiv_1): There's nothing that can be done | |
4705 | if the expression is a SAVE_EXPR. | |
4706 | ||
dab66575 KH |
4707 | 2003-07-03 Kazu Hirata <kazu@cs.umass.edu> |
4708 | ||
4709 | * config/m32r/m32r.c: Fix comment typos. | |
4710 | * config/m68hc11/m68hc11.c: Likewise. | |
4711 | * config/m68hc11/m68hc11.h: Likewise. | |
4712 | * config/m68k/m68k.c: Likewise. | |
4713 | * config/mcore/mcore.c: Likewise. | |
4714 | * config/mcore/mcore.h: Likewise. | |
4715 | * config/mcore/mcore.md: Likewise. | |
4716 | * config/mips/mips.c: Likewise. | |
4717 | * config/mips/mips.h: Likewise. | |
4718 | * config/mips/mips.md: Likewise. | |
4719 | * config/mips/netbsd.h: Likewise. | |
4720 | * config/mn10300/mn10300.c: Likewise. | |
4721 | ||
8837d828 AS |
4722 | 2003-07-03 Andreas Schwab <schwab@suse.de> |
4723 | ||
4724 | * dbxout.c (pending_bincls): Move decl down inside | |
4725 | DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO section. | |
4726 | ||
dd107e66 NS |
4727 | 2003-07-02 Nathan Sidwell <nathan@codesourcery.com> |
4728 | ||
4729 | * rtl.h (NOTE_DATA): Refer to whole union. | |
4730 | * emit-rtl.c (emit_note): Use memset to clear NOTE_DATA. | |
4731 | ||
8821d091 EB |
4732 | 2003-07-03 Eric Botcazou <ebotcazou@libertysurf.fr> |
4733 | ||
4734 | PR optimization/11381 | |
4735 | * simplify-rtx.c (simplify_relational_operation): Check that | |
4736 | two equal operands have no side-effects before simplifying | |
4737 | the comparison. | |
4738 | ||
7960bf22 JL |
4739 | 2003-07-02 Jeff Law <law@redhat.com> |
4740 | ||
4741 | * expr.c (do_store_flag): Remove special case folding for | |
4742 | single bit tests. Instead call back into the commonized folder | |
4743 | routine. | |
4744 | * fold-const.c (fold_single_bit_test): New function, mostly | |
4745 | extracted from do_store_flag, with an additional case extracted | |
4746 | from fold. | |
4747 | (fold): Call fold_single_bit_test appropriately. | |
4748 | * tree.h (fold_single_bit_test): Prototype. | |
4749 | ||
3dce1408 ZW |
4750 | 2003-07-02 Zack Weinberg <zack@codesourcery.com> |
4751 | ||
4752 | * system.h: Include filenames.h. | |
4753 | (IS_DIR_SEPARATOR, IS_ABSOLUTE_PATHNAME): Don't define. | |
4754 | (DIR_SEPARATOR, DIR_SEPARATOR_2): If not already defined, | |
4755 | define based on HAVE_DOS_BASED_FILE_SYSTEM. | |
4756 | * config/i386/xm-cygwin.h, config/i386/xm-djgpp.h | |
4757 | * config/i386/xm-mingw32.h: Don't define | |
4758 | HAVE_DOS_BASED_FILE_SYSTEM, | |
4759 | DIR_SEPARATOR, or DIR_SEPARATOR_2. | |
4760 | * doc/hostconfig.texi: Update to match. | |
4761 | ||
4762 | * cppfiles.c, gcc.c, gensupport.c, protoize.c, | |
4763 | config/i386/cygwin.h: | |
4764 | Use IS_ABSOLUTE_PATH throughout. | |
4765 | * gcc.c (DIR_UP): Delete, unused. | |
4766 | * protoize.c (IS_SAME_PATH): Define in terms of | |
4767 | FILENAME_CMP. | |
4768 | (is_abspath): Delete. | |
4769 | ||
c51e6d85 KH |
4770 | 2003-07-02 Kazu Hirata <kazu@cs.umass.edu> |
4771 | ||
4772 | * config/i386/emmintrin.h: Fix comment typos. | |
4773 | * config/i386/i386.c: Likewise. | |
4774 | * config/i386/i386.h: Likewise. | |
4775 | * config/i386/sco5.h: Likewise. | |
4776 | * config/ia64/ia64.c: Likewise. | |
4777 | * config/ia64/itanium2.md: Likewise. | |
4778 | ||
5ec3a5a7 L |
4779 | 2003-07-02 H.J. Lu <hongjiu.lu@intel.com> |
4780 | ||
4781 | * dbxout.c (pending_bincls): Replace DBX_USE_BINCLS with | |
4782 | DBX_USE_BINCL. | |
4783 | (emit_bincl_stab): Same. | |
4784 | (emit_pending_bincls): Same. | |
4785 | ||
fad37371 KH |
4786 | 2003-07-02 Kazu Hirata <kazu@cs.umass.edu> |
4787 | ||
4788 | * config/h8300/h8300.c (compute_mov_length): Fix the length of | |
4789 | loading CONST0_RTX (SFmode). | |
4790 | * config/h8300/h8300.h (CONST_DOUBLE_OK_FOR_LETTER_P): Change | |
4791 | 'G' to CONST0_RTX (SFmode). | |
4792 | * config/h8300/h8300.md (movsf_h8300): Change the first | |
4793 | constraint to 'G'. | |
4794 | (movsf_h8300h): Likewise. | |
4795 | ||
b86f6cd9 NB |
4796 | 2003-07-02 Neil Booth <neil@daikokuya.co.uk> |
4797 | ||
4798 | * c-common.h (c_common_init_options): New prototype. | |
4799 | * c-opts.c (deferred_size): Remove. | |
4800 | (defer_opt): Array is now pre-allocated. | |
4801 | (c_common_init_options): Pre-allocate deferred_opts. Make | |
4802 | lang_flags unsigned. | |
4803 | (push_command_line_options): Free deferred_opts. | |
4804 | * hooks.c (hook_uint_uint_constcharptrptr_0): New. | |
4805 | * hooks.h (hook_uint_uint_constcharptrptr_0): New. | |
4806 | * langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): Update. | |
4807 | * langhooks.h (struct lang_hooks): New prototype for init_options. | |
4808 | * main.c (main): Cast argv. | |
4809 | * opts.c (handle_option, handle_options): Update prototypes. | |
4810 | (decode_options): save_argc, save_argv are not global. Constify. | |
4811 | * opts.h (decode_options): New prototype. | |
4812 | * toplev.c (general_init): New protoype. | |
4813 | (save_argv): Make static. | |
4814 | (save_argc): Remove. | |
4815 | (print_switch_values, general_init): Constify. | |
4816 | (toplev_main): Save argv. | |
4817 | * toplev.h (toplev_main): Update prototype. | |
4818 | (save_argc, save_argv): Remove. | |
4819 | ||
f23b9d52 DE |
4820 | 2003-07-02 David Edelsohn <edelsohn@gnu.org> |
4821 | ||
4822 | * dbxout.c (pending_bincls): Guard with DBX_USE_BINCLS. | |
4823 | (emit_bincl_stab): Same. | |
4824 | (emit_pending_bincls): Same. | |
4825 | ||
300e89a2 NS |
4826 | 2003-07-02 Nathan Sidwell <nathan@codesourcery.com> |
4827 | ||
4828 | PR c++/11072 | |
4829 | * ginclude/stddef.h (offsetof): Remove cast to 'char &'. Explain why. | |
4830 | ||
eaac6968 AS |
4831 | 2003-07-02 Andreas Schwab <schwab@suse.de> |
4832 | ||
4833 | * dbxout.c (pending_bincls): Only define if DBX_DEBUGGING_INFO. | |
4834 | ||
1a8c4ca6 EB |
4835 | 2003-07-02 Eric Botcazou <ebotcazou@libertysurf.fr> |
4836 | ||
4837 | PR optimization/11210 | |
4838 | * expr.c (handled_component_p) [NOP_EXPR]: Add ??? note | |
4839 | about the behaviour with regard to bitfields. | |
4840 | * fold-const (decode_field_reference): Record outermost type in | |
4841 | case the expression is a NOP. Strip all NOPs. Set the signedness | |
4842 | to that of the outermost type (if any) when the bitsize is equal | |
4843 | to the size of the type. | |
4844 | ||
23cdfcf7 RS |
4845 | 2003-07-02 Richard Sandiford <rsandifo@redhat.com> |
4846 | ||
4847 | * config/mips/mips.md (addsi3): Remove workaround for adds of -32768. | |
4848 | (addsi3_internal, adddi3, adddi3_internal_2): Likewise. | |
4849 | (adddi3_internal_3, addsi3_internal_2): Likewise. | |
4850 | ||
6f2993e5 RS |
4851 | 2003-07-02 Richard Sandiford <rsandifo@redhat.com> |
4852 | ||
4853 | * config/mips/mips.c (machine_function): Add new fields: | |
4854 | ignore_hazard_length_p and all_noreorder_p. | |
4855 | (mips_flag_delayed_branch): New variable. | |
4856 | (override_options): Treat '/' as an operand punctuation character. | |
4857 | Set up mips_flag_delayed_branch. | |
4858 | (print_operand): Handle '/'. | |
4859 | (mips_output_function_prologue): Put the whole function in | |
4860 | .set noreorder and .set nomacro if all_noreorder_p is true. | |
4861 | (mips_output_function_epilogue): End the noreorder/nomacro sequence. | |
4862 | (mips16_optimize_gp): Remove "first insn" parameter. | |
4863 | (mips16_lay_out_constants): New function, split out from mips_reorg. | |
4864 | (mips_avoid_hazard, mips_avoid_hazards): New functions. | |
4865 | (mips_reorg): For mips16 code, call mips16_lay_out_constant | |
4866 | and (optionally) mips16_optimize. If TARGET_EXPLICIT_RELOCS, | |
4867 | do delayed-branch scheduling followed by hazard detection. | |
4868 | (mips_adjust_insn_length): Only account for hazards if | |
4869 | !ignore_hazard_length_p. | |
4870 | (mips_output_load_label): Add a nop to the o32 sequence if | |
4871 | the target suffers from load delays. | |
4872 | (mips_output_conditional_branch): Add %/ to the end of branches. | |
4873 | (mips_output_division): Fill the branch delay slot with %#. | |
4874 | * config/mips/mips.md: Remove redundant '%*' from mips16 branch | |
4875 | instructions. End all other %* branches with %/. | |
4876 | (ffssi2, ffsdi2): Fix lengths. | |
4877 | (truncdisi2, truncdihi2, truncdiqi2): Add store attributes. | |
4878 | (fix_truncdfsi2_macro): Turn off .set nomacro if appropriate. | |
4879 | (fix_truncsfsi2_macro): Likewise. | |
4880 | (mov_lwl): Set hazard to "none". | |
4881 | (ashldi3_internal): Fill the branch delay slot with %#. | |
4882 | (ashrdi3_internal, lshrdi3_internal): Likewise. | |
4883 | (exception_receiver): Explicitly set $28. | |
4884 | (hazard_nop): New pattern. | |
4885 | ||
0184bd46 JH |
4886 | Wed Jul 2 08:12:36 CEST 2003 Jan Hubicka <jh@suse.cz> |
4887 | ||
4888 | * cgraphunit.c (cgraph_finalize_unit): Set current_function_decl | |
4889 | before calling tree_inlinable_function_p. | |
4890 | ||
1a78e5a7 RO |
4891 | 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
4892 | ||
4893 | * fixinc/inclhack.def (irix_stdio_va_list): Apply to IRIX 6.5 | |
4894 | <internal/stdio_core.h> too. | |
4895 | (stdio_va_list): Apply to IRIX 6.5 <internal/stdio_core.h> and | |
4896 | <internal/wchar_core.h> too. | |
4897 | Substitute va_list uses in inline definition. | |
4898 | * fixinc/fixincl.x: Regenerate. | |
4899 | ||
4c82f12b RO |
4900 | 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
4901 | ||
4902 | * config/mips/iris5.h (SET_FILE_NUMBER): Moved here from iris3.h. | |
4903 | Undef before redefinition. | |
4904 | (LABEL_AFTER_LOC): Likewise. | |
4905 | (DEFAULT_SIGNED_CHAR): Likewise. | |
4906 | (ASM_OUTPUT_ASCII): Moved here from iris4.h. | |
4907 | Fix IRIX spelling. | |
3dce1408 | 4908 | |
4c82f12b RO |
4909 | * config/mips/iris3.h: Remove, unused. |
4910 | * config/mips/iris4.h: Likewise. | |
4911 | ||
4912 | * config/mips/mips.h (STACK_ARGS_ADJUST): Remove, unused. | |
4913 | ||
4914 | * config/mips/iris5.h (TARGET_DEFAULT): Move ... | |
4915 | * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here to | |
4916 | target_cpu_default. | |
4917 | ||
4918 | * config/mips/iris5.h: Move explicit includes ... | |
4919 | * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here. | |
3dce1408 | 4920 | |
4c82f12b RO |
4921 | * config/mips/iris6.h (MIPS_ISA_DEFAULT, MIPS_ABI_DEFAULT): Move ... |
4922 | * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to | |
4923 | tm_defines. | |
4924 | ||
4925 | * config/mips/iris6.h (TARGET_DEFAULT): Move ... | |
4926 | * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to | |
4927 | target_cpu_default. | |
4928 | ||
4929 | * config/mips/iris6.h: Fix IRIX spelling. | |
4930 | (MULTILIB_DEFAULTS): Undef before redefinition. | |
3dce1408 | 4931 | |
4c82f12b RO |
4932 | * config/mips/iris6.h: Move explicit includes ... |
4933 | * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here. | |
4934 | ||
8bd87c4e JH |
4935 | Wed Jul 2 02:16:48 CEST 2003 Jan Hubicka <jh@suse.cz> |
4936 | ||
4937 | * cgraph.c (cgraph_mark_needed_node, cgraph_varpool_mark_needed_node, | |
4938 | cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls): | |
4939 | Use next_needed field instead of aux to maintain the queue. | |
4940 | * cgraph.h (cgraph_node): Add next_needed. | |
4941 | (cgraph_varpool_node): Add next_needed; remove aux. | |
4942 | * cgraphunit.c (cgraph_finalize_compilation_unit): Use next_needed. | |
4943 | ||
f6981e16 JH |
4944 | Wed Jul 2 02:12:51 CEST 2003 Jan Hubicka <jh@suse.cz> |
4945 | ||
4946 | * cgraphunit.c (cgraph_finalize_function): Set finalized. | |
4947 | (cgraph_finalize_function): Do not examine inlinablility. | |
4948 | (cgraph_finalize_compilation_unit): Do it here. | |
4949 | * cgraph.h (cgraph_local_info): Add finalized field. | |
4950 | ||
d1c60855 RO |
4951 | 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
4952 | ||
4953 | * ggc-common.c (gt_pch_save): Cast MAP_FAILED to void *. | |
4954 | (gt_pch_restore): Likewise. | |
4955 | ||
093354e0 KH |
4956 | 2003-07-01 Kazu Hirata <kazu@cs.umass.edu> |
4957 | ||
4958 | * config/alpha/alpha.c: Fix comment typos. | |
4959 | * config/alpha/elf.h: Likewise. | |
4960 | * config/arm/arm.c: Likewise. | |
4961 | * config/arm/arm.h: Likewise. | |
4962 | * config/arm/arm.md: Likewise. | |
4963 | * config/arm/t-arm-coff: Likewise. | |
4964 | * config/arm/t-strongarm-pe: Likewise. | |
4965 | * config/arm/xscale-elf.h: Likewise. | |
4966 | * config/avr/avr.h: Likewise. | |
4967 | ||
ce47ca44 JL |
4968 | 2003-07-01 Jeff Law <law@redhat.com> |
4969 | ||
4970 | * stmt.c (any_pending_cleanups): Remove another redundant test. | |
4971 | ||
43b68ce5 DE |
4972 | 2003-07-01 David Edelsohn <edelsohn@gnu.org> |
4973 | J"orn Rennecke <joern.rennecke@superh.com> | |
4974 | ||
4975 | * config/rs6000/rs6000.md (ctr{s,d}i_internal?): Add earlyclobber | |
4976 | for MEM case. | |
4977 | ||
33e9d2aa DP |
4978 | 2003-07-01 Devang Patel <dpatel@apple.com> |
4979 | ||
4980 | * dbxout.c (DBXOUT_DECR_NESTING): Emit pending bincls, if required. | |
4981 | (binclstatus): New. | |
3dce1408 | 4982 | (struct dbx_file): New members - bincl_status, pending_bincl_name and |
33e9d2aa DP |
4983 | prev. |
4984 | (pending_bincls): New. | |
4985 | (dbxout_init): Initialize new dbx_file members. | |
4986 | (dbxout_start_source_file): Same. | |
4987 | (emit_bincl_stab): New function. | |
4988 | (emit_pending_bincls): Same. | |
4989 | (emit_pending_bincls_if_required): Same. | |
3dce1408 | 4990 | (dbxout_end_source_file): Emit EINCL stab only if BINCL is already |
33e9d2aa DP |
4991 | processed. |
4992 | (dbxout_begin_block): Emit pending BINCL stabs. | |
4993 | (dbxout_end_block): Same. | |
4994 | (dbxout_function_decl): Same. | |
4995 | (dbxout_continue): Same. | |
4996 | (dbxout_type): Same. | |
4997 | (dbxout_class_name_qualifiers): Same. | |
4998 | (dbxout_symbol): Same. | |
4999 | (dbxout_symbol_location): Same. | |
5000 | (dbxout_parms): Same. | |
3dce1408 | 5001 | |
0108ae51 KG |
5002 | 2003-07-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5003 | ||
5004 | * c-semantics.c (genrtl_case_label): Fix format specifier bug. | |
5005 | * cfgrtl.c (rtl_verify_flow_info_1): Likewise. | |
5006 | ||
54ced33d AJ |
5007 | 2003-07-01 Andreas Jaeger <aj@suse.de> |
5008 | ||
5009 | * fold-const.c: Convert prototypes to ISO C90. | |
5010 | * function.c: Likewise. | |
5011 | * function.h: Likewise. | |
5012 | ||
c0cbdbd9 KH |
5013 | 2003-07-01 Kazu Hirata <kazu@cs.umass.edu> |
5014 | ||
5015 | * doc/contrib.texi: Fix typos. | |
5016 | * doc/invoke.texi: Likewise. | |
5017 | * doc/passes.texi: Likewise. | |
5018 | * doc/sourcebuild.texi: Likewise. | |
5019 | * doc/tm.texi: Likewise. | |
5020 | ||
e0bb17a8 KH |
5021 | 2003-07-01 Kazu Hirata <kazu@cs.umass.edu> |
5022 | ||
5023 | * basic-block.h: Fix comment typos. | |
5024 | * bb-reorder.c: Likewise. | |
5025 | * c-format.c: Likewise. | |
5026 | * cfgcleanup.c: Likewise. | |
5027 | * cfghooks.h: Likewise. | |
5028 | * cfgloop.c: Likewise. | |
5029 | * cfgloopmanip.c: Likewise. | |
5030 | * cfgrtl.c: Likewise. | |
5031 | * cgraph.h: Likewise. | |
5032 | * cgraphunit.c: Likewise. | |
5033 | * combine.c: Likewise. | |
5034 | * convert.c: Likewise. | |
5035 | * dbxout.c: Likewise. | |
5036 | * df.c: Likewise. | |
5037 | * df.h: Likewise. | |
5038 | * diagnostic.c: Likewise. | |
5039 | * dwarf2out.c: Likewise. | |
5040 | * et-forest.h: Likewise. | |
5041 | * flow.c: Likewise. | |
5042 | * fold-const.c: Likewise. | |
5043 | * function.h: Likewise. | |
5044 | * gcov-io.h: Likewise. | |
5045 | * gcov.c: Likewise. | |
5046 | * gcse.c: Likewise. | |
5047 | * genautomata.c: Likewise. | |
5048 | * ggc-common.c: Likewise. | |
5049 | * ggc-page.c: Likewise. | |
5050 | * loop-unroll.c: Likewise. | |
5051 | * loop-unswitch.c: Likewise. | |
5052 | * loop.c: Likewise. | |
5053 | * mips-tfile.c: Likewise. | |
5054 | * optabs.c: Likewise. | |
5055 | * ra-build.c: Likewise. | |
5056 | * ra-colorize.c: Likewise. | |
5057 | * ra-rewrite.c: Likewise. | |
5058 | * ra.h: Likewise. | |
5059 | * regmove.c: Likewise. | |
5060 | * reload.c: Likewise. | |
5061 | * rtlanal.c: Likewise. | |
5062 | * sched-ebb.c: Likewise. | |
5063 | * sched-int.h: Likewise. | |
5064 | * sched-vis.c: Likewise. | |
5065 | * sreal.c: Likewise. | |
5066 | * ssa-ccp.c: Likewise. | |
5067 | * ssa.c: Likewise. | |
5068 | * toplev.c: Likewise. | |
5069 | * tree-inline.c: Likewise. | |
5070 | * value-prof.c: Likewise. | |
5071 | * value-prof.h: Likewise. | |
5072 | ||
5f2fc772 NS |
5073 | 2003-07-01 Nathan Sidwell <nathan@codesourcery.com> |
5074 | ||
5075 | * rtl.h (emit_line_note_after): Remove. | |
5076 | (emit_note_copy_after, emit_note_copy): New. | |
5077 | * emit-rtl.c (reorder_insns_with_line_notes): Replace | |
5078 | emit_line_note_after with emit_note_copy_after. | |
5079 | (emit_insn_after_with_line_notes): Likewise. | |
5080 | (emit_line_note_after): Kill. | |
5081 | (emit_note_copy_after): New. | |
5082 | (emit_note_copy): New. | |
5083 | * function.c (emit_return_into_block): Use emit_note_copy_after. | |
5084 | (thread_prologue_and_epilogue_insns): Likewise. | |
5085 | * integrate.c (expand_inline_function): Use emit_note_copy. | |
5086 | (copy_insn_list): Likewise. | |
5087 | * unroll.c (copy_loop_body): Likewise. | |
5088 | * cfglayout.c (duplicate_insn_chain): Likewise. | |
5089 | ||
5b030314 NS |
5090 | 2003-07-01 Nathan Sidwell <nathan@codesourcery.com> |
5091 | ||
5092 | * c-tree.h (define_label): Replace filename and lineno arguments | |
5093 | with a location_t. | |
5094 | * c-decl.c (poplevel): Adjust define_label call. | |
5095 | (pop_label_level): Likewise. | |
5096 | (define_label): Replace filename and lineno arguments with a | |
5097 | location_t. | |
5098 | (store_parm_decls): Use DECL_SOURCE_LOCATION. | |
5099 | * c-parse.in (label): Adjust define_label call. | |
5100 | ||
04df6730 NB |
5101 | 2003-07-01 Neil Booth <neil@daikokuya.co.uk> |
5102 | ||
5103 | * config/sol2.h, config/alpha/alpha.h, config/alpha/linux.h, | |
5104 | config/i386/i386-interix.h, config/ia64/hpux.h, config/mips/iris6.h, | |
5105 | config/mips/linux.h, config/mips/mips.h, config/pa/pa-hpux.h, | |
5106 | config/pa/pa-hpux10.h, config/pa/pa-hpux11.h, config/pa/pa-pro-end.h, | |
5107 | config/pa/pa.h, config/pa/rtems.h: Use c_dialect_ macros. | |
5108 | ||
6cf9ac28 AJ |
5109 | 2003-07-01 Andreas Jaeger <aj@suse.de> |
5110 | ||
5111 | * final.c: Convert prototypes to ISO C90. | |
5112 | * flow.c: Likewise. | |
5113 | * flags.h: Likewise. | |
5114 | * gcov-io.c: Likewise. | |
5115 | * gcov-io.h: Likewise. | |
5116 | ||
2a868fac | 5117 | See ChangeLog.9 for earlier changes. |