c-tree.h (C_DECL_FILE_SCOPE): Move ...
[gcc.git] / gcc / ChangeLog
1 2003-08-29 Richard Henderson <rth@redhat.com>
2
3 * c-tree.h (C_DECL_FILE_SCOPE): Move ...
4 * tree.h (DECL_FILE_SCOPE_P): ... here, and rename.
5 * c-decl.c, c-objc-common.c, c-typeck.c: Update to match.
6
7 2003-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8
9 * builtins.def: Fix typos.
10 (ATTR_MATHFN_FPROUNDING_STORE): New macro.
11 (BUILT_IN_FREXP, BUILT_IN_FREXPF, BUILT_IN_FREXPL, BUILT_IN_MODF,
12 BUILT_IN_MODFF, BUILT_IN_MODFL, BUILT_IN_REMQUO, BUILT_IN_REMQUOF,
13 BUILT_IN_REMQUOL, BUILT_IN_SINCOS, BUILT_IN_SINCOSF,
14 BUILT_IN_SINCOSL): Use ATTR_MATHFN_FPROUNDING_STORE.
15
16 * builtins.def (BUILT_IN_ERFC, BUILT_IN_ERFCF, BUILT_IN_ERFCL):
17 Use ATTR_MATHFN_FPROUNDING_ERRNO.
18
19 2003-08-29 Nathanael Nerode <neroden@gcc.gnu.org>
20
21 * config.gcc (i386-*-vsta): Fix obvious bogosity.
22
23 * fixinc/inclhack.def: Remove special cases for unsupported
24 PTX 1 and PTX 2 (including i[34567]86-sequent-sysv3).
25 * fixinc/fixincl.x: Regenerate.
26
27 2003-08-29 Mark Mitchell <mark@codesourcery.com>
28
29 * Makefile.in (cpp.info): Just state dependencies.
30 (gcc.info): Likewise.
31 (gccint.info): Likewise.
32 (gccinstall.info): Likewise.
33 (cppinternals.info): Likewise.
34 (cpp.dvi): Likewise.
35 (gcc.dvi): Likewise.
36 (gccint.dvi): Likewise.
37 (gccinstall.dvi): Likewise.
38 (cppinternals.dvi): Likewise.
39 (gcov.1): Likewise.
40 (cpp.1): Likewise.
41 (gcc.1): Likewise.
42 (gfdl.7): Likewise.
43 (gpl.7): Likewise.
44 (fsf-funding.7): Likewise.
45 ($(objdir)/%.info): New pattern rule.
46 (%.dvi): Likewise.
47
48 2003-08-29 Kelley Cook <kelleycook@wideopenwest.com>
49
50 * Makefile.in (restage1): Pass BOOT_CFLAGS to recursive make.
51 (restage2): Likewise.
52 (restage3): Likewise.
53 (restage4): Likewise.
54 (restageprofile): Likewise.
55 (restagefeedback): Likewise.
56 (bubblestrap): Likewise.
57
58 2003-08-29 Nathanael Nerode <neroden@gcc.gnu.org>
59
60 * config.gcc: Narrow unsupported target match to avoid clobbering
61 i?86-sequent-sysv4*.
62
63 2003-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
64
65 * builtins.c (mathfn_built_in): Handle new math builtins.
66
67 2003-08-28 Per Bothner <per@bothner.com>
68
69 Fix (hopefully temporary) for breakage caused by my 08-21 patch.
70 * cpplex.c (_cpp_get_fresh_line): Check for null buffer.
71 (_cpp_lex_buffer): Likewise.
72 * cpptrad.c (_cpp_read_logical_line_trad): Likewise.
73
74 2003-08-28 Ulrich Weigand <uweigand@de.ibm.com>
75
76 * config/s390/s390.md ("*mulsi3_sign"): New insn.
77 ("mulsidi3" expander, "mulsi_6432" insn): Remove, replace by ...
78 ("mulsidi3"): ... this new insn.
79 ("umulsidi3"): New insn.
80 ("divmoddi3", "divmodtidi3", "divmodtisi3"): Simplify by using
81 mixed-mode matching constraints.
82 ("udivmodsi4", "udivmoddisi3"): New insns.
83 ("udivsi3", "umodsi3"): Use only in ESA/390 mode.
84
85 2003-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
86
87 * builtin-types.def (BT_INT_PTR, BT_FLOAT_PTR, BT_DOUBLE_PTR,
88 BT_LONGDOUBLE_PTR, BT_FN_FLOAT_FLOAT_FLOATPTR,
89 BT_FN_DOUBLE_DOUBLE_DOUBLEPTR,
90 BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLEPTR,
91 BT_FN_FLOAT_FLOAT_INTPTR, BT_FN_DOUBLE_DOUBLE_INTPTR,
92 BT_FN_LONGDOUBLE_LONGDOUBLE_INTPTR,
93 BT_FN_FLOAT_FLOAT_FLOAT_INTPTR, BT_FN_DOUBLE_DOUBLE_DOUBLE_INTPTR,
94 BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE_INTPTR,
95 BT_FN_VOID_FLOAT_FLOATPTR_FLOATPTR,
96 BT_FN_VOID_DOUBLE_DOUBLEPTR_DOUBLEPTR,
97 BT_FN_VOID_LONGDOUBLE_LONGDOUBLEPTR_LONGDOUBLEPTR): New.
98 * builtins.def (BUILT_IN_FREXP, BUILT_IN_FREXPF, BUILT_IN_FREXPL,
99 BUILT_IN_MODF, BUILT_IN_MODFF, BUILT_IN_MODFL, BUILT_IN_REMQUO,
100 BUILT_IN_REMQUOF, BUILT_IN_REMQUOL, BUILT_IN_SINCOS,
101 BUILT_IN_SINCOSF, BUILT_IN_SINCOSL): New.
102 * tree.c: Assign new type_nodes.
103 * tree.h (tree_index): Add TI_FLOAT_PTR_TYPE, TI_DOUBLE_PTR_TYPE,
104 TI_LONG_DOUBLE_PTR_TYPE, TI_INTEGER_PTR_TYPE.
105 (float_ptr_type_node, double_ptr_type_node,
106 long_double_ptr_type_node, integer_ptr_type_node): New type_nodes.
107
108 * doc/extend.texi: Document new builtins.
109
110 2003-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
111
112 * builtin-types.def (BT_FN_FLOAT_INT_FLOAT,
113 BT_FN_DOUBLE_INT_DOUBLE, BT_FN_LONGDOUBLE_INT_LONGDOUBLE): New.
114
115 * builtins.def (BUILT_IN_ERF, BUILT_IN_ERFC, BUILT_IN_ERFCF,
116 BUILT_IN_ERFCL, BUILT_IN_ERFF, BUILT_IN_ERFL, BUILT_IN_GAMMA,
117 BUILT_IN_GAMMAF, BUILT_IN_GAMMAL, BUILT_IN_J0, BUILT_IN_J0F,
118 BUILT_IN_J0L, BUILT_IN_J1, BUILT_IN_J1F, BUILT_IN_J1L,
119 BUILT_IN_JN, BUILT_IN_JNF, BUILT_IN_JNL, BUILT_IN_LGAMMA,
120 BUILT_IN_LGAMMAF, BUILT_IN_LGAMMAL, BUILT_IN_SIGNIFICAND,
121 BUILT_IN_SIGNIFICANDF, BUILT_IN_SIGNIFICANDL, BUILT_IN_TGAMMA,
122 BUILT_IN_TGAMMAF, BUILT_IN_TGAMMAL, BUILT_IN_Y0, BUILT_IN_Y0F,
123 BUILT_IN_Y0L, BUILT_IN_Y1, BUILT_IN_Y1F, BUILT_IN_Y1L,
124 BUILT_IN_YN, BUILT_IN_YNF, BUILT_IN_YNL): New.
125
126 * doc/extend.texi: Document new builtins.
127
128 2003-08-28 Nathanael Nerode <neroden@gcc.gnu.org>
129
130 * fixinc/mkfixinc.sh: Remove special case code for unsupported
131 variants of i?86, powerpcle, and thumb.
132 * fixinc/mkfixinc.sh: Remove special case code for unsupported
133 arm and hppa variants.
134
135 2003-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
136
137 * builtin-types.def (BT_FN_INT_FLOAT, BT_FN_INT_DOUBLE,
138 BT_FN_INT_LONGDOUBLE, BT_FN_LONG_FLOAT, BT_FN_LONG_DOUBLE,
139 BT_FN_LONG_LONGDOUBLE, BT_FN_LONGLONG_FLOAT,
140 BT_FN_LONGLONG_DOUBLE, BT_FN_LONGLONG_LONGDOUBLE,
141 BT_FN_FLOAT_FLOAT_LONGDOUBLE, BT_FN_DOUBLE_DOUBLE_LONGDOUBLE,
142 BT_FN_FLOAT_FLOAT_INT, BT_FN_DOUBLE_DOUBLE_INT,
143 BT_FN_LONGDOUBLE_LONGDOUBLE_INT, BT_FN_FLOAT_FLOAT_LONG,
144 BT_FN_DOUBLE_DOUBLE_LONG, BT_FN_LONGDOUBLE_LONGDOUBLE_LONG,
145 BT_FN_FLOAT_FLOAT_FLOAT_FLOAT, BT_FN_DOUBLE_DOUBLE_DOUBLE_DOUBLE,
146 BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE): New.
147
148 * builtins.def (BUILT_IN_ACOS, BUILT_IN_ACOSF, BUILT_IN_ACOSH,
149 BUILT_IN_ACOSHF, BUILT_IN_ACOSHL, BUILT_IN_ACOSL, BUILT_IN_ASIN,
150 BUILT_IN_ASINF, BUILT_IN_ASINH, BUILT_IN_ASINHF, BUILT_IN_ASINHL,
151 BUILT_IN_ASINL, BUILT_IN_ATANH, BUILT_IN_ATANHF, BUILT_IN_ATANHL,
152 BUILT_IN_CBRT, BUILT_IN_CBRTF, BUILT_IN_CBRTL, BUILT_IN_COPYSIGN,
153 BUILT_IN_COPYSIGNF, BUILT_IN_COPYSIGNL, BUILT_IN_COSH,
154 BUILT_IN_COSHF, BUILT_IN_COSHL, BUILT_IN_DREM, BUILT_IN_DREMF,
155 BUILT_IN_DREML, BUILT_IN_EXP10, BUILT_IN_EXP10F, BUILT_IN_EXP10L,
156 BUILT_IN_EXP2, BUILT_IN_EXP2F, BUILT_IN_EXP2L, BUILT_IN_EXPM1,
157 BUILT_IN_EXPM1F, BUILT_IN_EXPM1L, BUILT_IN_FDIM, BUILT_IN_FDIMF,
158 BUILT_IN_FDIML, BUILT_IN_FMA, BUILT_IN_FMAF, BUILT_IN_FMAL,
159 BUILT_IN_FMAX, BUILT_IN_FMAXF, BUILT_IN_FMAXL, BUILT_IN_FMIN,
160 BUILT_IN_FMINF, BUILT_IN_FMINL, BUILT_IN_HYPOT, BUILT_IN_HYPOTF,
161 BUILT_IN_HYPOTL, BUILT_IN_ILOGB, BUILT_IN_ILOGBF, BUILT_IN_ILOGBL,
162 BUILT_IN_LDEXP, BUILT_IN_LDEXPF, BUILT_IN_LDEXPL, BUILT_IN_LLRINT,
163 BUILT_IN_LLRINTF, BUILT_IN_LLRINTL, BUILT_IN_LLROUND,
164 BUILT_IN_LLROUNDF, BUILT_IN_LLROUNDL, BUILT_IN_LOG10,
165 BUILT_IN_LOG10F, BUILT_IN_LOG10L, BUILT_IN_LOG1P, BUILT_IN_LOG1PF,
166 BUILT_IN_LOG1PL, BUILT_IN_LOG2, BUILT_IN_LOG2F, BUILT_IN_LOG2L,
167 BUILT_IN_LOGB, BUILT_IN_LOGBF, BUILT_IN_LOGBL, BUILT_IN_LRINT,
168 BUILT_IN_LRINTF, BUILT_IN_LRINTL, BUILT_IN_LROUND,
169 BUILT_IN_LROUNDF, BUILT_IN_LROUNDL, BUILT_IN_NEXTAFTER,
170 BUILT_IN_NEXTAFTERF, BUILT_IN_NEXTAFTERL, BUILT_IN_NEXTTOWARD,
171 BUILT_IN_NEXTTOWARDF, BUILT_IN_NEXTTOWARDL, BUILT_IN_POW10,
172 BUILT_IN_POW10F, BUILT_IN_POW10L, BUILT_IN_REMAINDER,
173 BUILT_IN_REMAINDERF, BUILT_IN_REMAINDERL, BUILT_IN_RINT,
174 BUILT_IN_RINTF, BUILT_IN_RINTL, BUILT_IN_SCALB, BUILT_IN_SCALBF,
175 BUILT_IN_SCALBL, BUILT_IN_SCALBLN, BUILT_IN_SCALBLNF,
176 BUILT_IN_SCALBLNL, BUILT_IN_SCALBN, BUILT_IN_SCALBNF,
177 BUILT_IN_SCALBNL, BUILT_IN_SINH, BUILT_IN_SINHF, BUILT_IN_SINHL,
178 BUILT_IN_TANH, BUILT_IN_TANHF, BUILT_IN_TANHL): New.
179
180 * doc/extend.texi: Document new builtins.
181
182 2003-08-28 Ulrich Weigand <uweigand@de.ibm.com>
183
184 * config/s390/s390.c (legitmate_constant_p): Use LARL on
185 zSeries machines even in 31-bit addressing mode.
186 (legitimate_reload_constant_p): Likewise.
187 (legitimize_pic_address): Likewise.
188 (legitimize_tls_address): Likewise.
189 (s390_split_branches): Likewise.
190 (s390_dump_pool): Likewise.
191 (s390_mainpool_finish): Likewise.
192 (s390_chunkify_start): Likewise.
193 (s390_select_rtx_section): Likewise.
194 * config/s390/s390.md ("doloop_si"): Likewise.
195 ("pool_start_31", "pool_end_31"): Likewise.
196 ("pool_start_64", "pool_end_64"): Likewise.
197 ("main_base_31_small", "main_base_31_large"): Likewise.
198 ("main_base_64"): Likewise.
199 ("reload_base_31", "reload_base_64"): Likewise.
200 ("*movsi_larl"): New insn.
201 ("cjump", "icjump"): Use long branches on zSeries machines.
202 ("jump"): Likewise.
203 ("call"): Use BRASL on zSeries machines.
204 ("call_value", "call_value_tls"): Likewise.
205 ("brasl", "bras", "basr_64", "basr_31", "bas_64", "bas_31"): Remove
206 and replace by ...
207 ("*bras", "*brasl", "*basr") ... these new insns.
208 ("brasl_r", "bras_r", "basr_64_r", "basr_31_r", "bas_64_r",
209 "bas_31_r"): Remove and replace by ...
210 ("*bras_r", "*brasl_r", "*basr_r") ... these new insns.
211 ("brasl_tls", "bras_tls", "basr_64_tls", "basr_31_tls",
212 "bas_64_tls", "bas_31_tls"): Remove and replace by ...
213 ("*bras_tls", "*brasl_tls", "*basr_tls") ... these new insns.
214 ("*return_si", "*return_di"): Remove and replace by ...
215 ("*return"): ... this new insn.
216 ("rotlsi3"): Allow on zSeries machines.
217
218 * config/s390/s390.c (legitimize_reload_constant_p): Use
219 LL/LH type instructions in z/Architecture mode.
220 * config/s390/s390.md ("*movsi_lli"): Likewise.
221 ("*andsi3_ni", "*andhi3_ni", "*andqi3_ni"): Likewise.
222 ("*iorsi3_ni", "*iorhi3_ni", "*iorqi3_ni"): Likewise.
223 ("*extendqisi2"): Use LB in z/Architecture mode.
224 ("*zero_extendqisi2_64", "*zero_extendqisi2_31"): Use LLGC in
225 z/Architecture mode.
226 ("zero_extendqihi2", "*zero_extendqihi2_64", "*zero_extendqihi2_31"):
227 Likewise.
228
229 * config/s390/s390.md ("*tmdi_ext"): Allow in both 64-bit
230 and 31-bit mode.
231 ("ptr_extend"): Allow only in 64-bit mode.
232
233 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
234
235 * gcc.c (STANDARD_EXEC_PREFIX, STANDARD_STARTFILE_PREFIX)
236 (TOOLDIR_BASE_PREFIX, STANDARD_BINDIR_PREFIX): Remove unnecessary
237 definitions.
238 (main): Only use standard_startfile_prefix if native.
239 * doc/tm.texi (STANDARD_STARTFILE_PREFIX): Update.
240
241 2003-08-27 Per Bothner <pbothner@apple.com>
242
243 * cpperror.c (print_location): Don't check for !pfile->buffer. That
244 test fails following my 08-21 change, and it seems unnecessary anyway.
245 (cpp_error): Likewise.
246
247 2003-08-27 Jason Merrill <jason@redhat.com>
248
249 * real.c (do_multiply): Initialize with memset.
250
251 2003-08-27 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
252
253 * gcov.c (typedef struct arc_info): New field cs_count.
254 (accumulate_line_counts): Find cycles correctly.
255
256 2003-08-27 Ulrich Weigand <uweigand@de.ibm.com>
257
258 * config/s390/s390.c (struct machine_function): Remove member
259 literal_pool_label.
260 (s390_optimize_prolog): Replace TEMP_REG argument with
261 TEMP_USED and BASE_USED. Do not check get_pool_size ().
262 (general_s_operand): Accept all immediates before reload if
263 ALLOW_IMMEDIATE. If not ALLOW_IMMEDIATE, reject literal pool
264 references.
265 (s390_output_symbolic_const): Remove UNSPEC_LTREL_OFFSET handling.
266 (find_constant_pool_ref): Ignore UNSPECV_POOL_ENTRY insns.
267 (s390_alloc_pool): New function.
268 (s390_new_pool): Call it.
269 (s390_dump_pool): Add REMOTE_LABEL argument.
270 (s390_chunkify_start): Add BASE_REG argument. Do not check
271 get_pool_size ().
272 (s390_chunkify_finish): Add BASE_REG argument. Adapt
273 s390_dump_pool call.
274 (s390_pool_count, s390_nr_constants): Remove.
275 (s390_output_constant_pool): Remove.
276 (s390_mainpool_start): New function.
277 (s390_mainpool_finish): New function.
278 (s390_mainpool_cancel): New function.
279 (s390_reorg): Implement main literal pool handling.
280 (s390_emit_prologue): Emit main_pool placeholder instead of
281 literal_pool_31 / literal_pool_64 insns.
282 * config/s390/s390.h (s390_pool_count, s390_nr_constants): Remove.
283 (ASM_OUTPUT_POOL_PROLOGUE, ASM_OUTPUT_SPECIAL_POOL_ENTRY): Remove.
284 * config/s390/s390.md (UNSPEC_MAIN_BASE): New symbolic constant.
285 ("main_base_31_small", "main_base_31_large"): New insns.
286 ("main_base_64", "main_pool"): New insns.
287 ("literal_pool_31", "literal_pool_64"): Remove.
288
289 2003-08-27 Nathanael Nerode <neroden@gcc.gnu.org>
290
291 * fixinc/inclhack.def (ptx_netswap): New disabled fix, ported from
292 fixinc.ptx.
293 * fixinc/inclhack.def (undefine_null): Don't generate \r characters.
294 Prettify a little.
295 * fixinc/fixincl.x: Regenerate.
296
297 2003-08-27 Richard Earnshaw <rearnsha@arm.com>
298
299 * lib1funcs.asm (L_ieee754_sp): New. Include ieee754-sf.S.
300 (L_ieee754_dp): New. Include ieee754-df.S.
301 * arm/ieee754-sf.S: Rework to allow interworking, calling from Thumb,
302 and compilation in apcs-26 mode.
303 * arm/ieee754-df.S: Likewise.
304 * t-arm-elf (DPBIT, FPBIT, fp-bit.c dp-bit.c): Delete rules
305 (LIB1ASMFUNCS): Add _ieee754_sp and _ieee754_dp targets.
306
307 2003-08-27 Nicolas Pitre <nico@cam.org>
308
309 * arm/ieee754-sf.S: New.
310 * arm/ieee754-df.S: New.
311
312 2003-08-27 Jakub Jelinek <jakub@redhat.com>
313
314 * builtins.c (expand_builtin_expect_jump): Save pending_stack_adjust
315 and restore it if returning NULL.
316
317 2003-08-27 Richard Sandiford <rsandifo@redhat.com>
318
319 * calls.c (initialize_argument_information): If an argument has no
320 stack space associated with it, and BLOCK_REG_PADDING is defined,
321 use it to decide at which end the argument should be padded.
322 * function.c (assign_parms): Allocate BLKmode stack slots.
323 * config/mips/mips-protos.h (mips_pad_arg_upward): Declare.
324 (mips_pad_reg_upward): Declare.
325 * config/mips/mips.h (PAD_VARARGS_DOWN): Use FUNCTION_ARG_PADDING.
326 (CUMULATIVE_ARGS): Remove num_adjusts and adjusts.
327 (FUNCTION_ARG_PADDING): Use mips_pad_arg_upward.
328 (BLOCK_REG_PADDING): Use mips_pad_reg_upward.
329 * config/mips/mips.c (struct mips_arg_info): Remove struct_p.
330 (mips_expand_call): Remove code for generating structure shifts.
331 (mips_arg_info): Don't set struct_p. Don't set fpr_p for non-float
332 types unless using the EABI.
333 (function_arg_advance): Don't generate shift instructions.
334 (function_arg): Don't return them. Don't short-circuit the
335 check for double structure chunks for DFmode arguments.
336 (mips_pad_arg_upward, mips_pad_reg_upward): New functions.
337 (mips_expand_prologue): Remove code to emit structure shifts.
338 * config/mips/irix6-libc-compat.c: Remove workarounds for buggy
339 structure passing (inet_ntoa, inet_lnaof, inet_netof). Update
340 comments to say that only structure returns are a problem.
341
342 2003-08-26 Nathanael Nerode <neroden@gcc.gnu.org>
343
344 * fixinc/tests/base/string.h, fixinc/tests/base/sys/regset.h:
345 Fix to match produced versions.
346 * fixinc/inclhack.def (longlong_t): New disabled test, ported
347 from fixinc.svr4.
348 * fixinc/inclhack.def (ptx_pwd_h): New disabled fix, ported
349 from fixinc.ptx.
350 * fixinc/inclhack.def (ptx_sys_mc_param_h): New disabled fix,
351 ported from fixinc.ptx.
352
353 2003-08-26 Per Bothner <pbothner@apple.com>
354
355 * cpplib.h (struct cpp_token): Change type of field line to fileline.
356 (cpp_error_with_line): Use fileline for appropriate parameter.
357 * cpphash.h (struct cpp_macro): Change type of field line to fileline.
358 (struct cpp_reader): Likewise for fields line and directive_line.
359 (_cpp_begin_message): Use fileline for appropriate parameter.
360 * cpperror.c (print_location, _cpp_begin_message, cpp_error_with_line,
361 cpp_error): Use fileline for appropriate parameters and variables.
362 (print_location): New local lin, since it is not a fileline.
363
364 2003-08-26 Roger Sayle <roger@eyesopen.com>
365
366 PR middle-end/12002
367 * tree.h (SCALAR_FLOAT_TYPE_P, COMPLEX_FLOAT_TYPE_P): New macros.
368 (FLOAT_TYPE_P): Define in terms of these two new macros.
369 * fold-const.c (fold <PLUS_EXPR>): Don't convert x+x into x*2.0
370 for complex floating point types.
371
372 2003-08-26 Ulrich Weigand <uweigand@de.ibm.com>
373
374 * config/s390/s390.c (emit_prologue): Don't check literal pool size.
375 * config/s390/s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Call
376 s390_output_pool_entry.
377
378 2003-08-26 Nathanael Nerode <neroden@gcc.gnu.org>
379
380 * fixinc/inclhack.def (svr4_preproc_lint_on,
381 svr4_preproc_lint_off, svr4_preproc_machine): New disabled
382 fixes, ported from fixinc.svr4.
383
384 2003-08-26 Mark Mitchell <mark@codesourcery.com>
385
386 * doc/install.texi (Prerequisites): Mention GNU make requirement.
387
388 * Makefile.in (AR_FOR_TARGET): Export it.
389 (AR_CREATE_FOR_TARGET): Likewise.
390 (AR_FLAGS_FOR_TARGET): Likewise.
391 (AR_EXTRACT_FOR_TARGET): Likewise.
392 (AWK): Likewise.
393 (BUILD_PREFIX): Likewise.
394 (BUILD_PREFIX_1): Likewise.
395 (DESTDIR): Likewise.
396 (GCC_FOR_TARGET): Likewise.
397 (INCLUDES): Likewise.
398 (INSTALL_DATA): Likewise.
399 (LIB1ASMSRC): Likewise.
400 (LIBGCC2_CFLAGS): Likewise.
401 (MACHMODE_H): Likewise.
402 (NM_FOR_TARGET): Likewise.
403 (RANLIB_FOR_TARGET): Likewise.
404 (libsubdir): Likewise.
405 (slibdir): Likewise.
406 (ORDINARY_FLAGS_TO_PASS): Remove stuff that we're
407 exporting.
408 (libgcc.a): Don't pass them here.
409 (stmp-multilib): Or here.
410 (install-libgcc): Or here.
411 (install-multilib): Or here.
412 (POSTSTAGE1_FLAGS_TO_PASS): Or here.
413 (stage1_build): Or here.
414
415 2003-08-26 Andreas Krebbel <krebbel1@de.ibm.com>
416
417 * config/s390/s390.md ("*llgt_sisi", "*llgt_sisi_split", "*llgt_didi",
418 "*llgt_didi_split", "*llgt_sidi", "*llgt_sidi_split"): New insns.
419
420 2003-08-26 Andreas Krebbel <krebbel1@de.ibm.com>
421
422 * config/s390/s390.md ("*fmadddf", "*fmsubdf",
423 "*fmaddsf", "*fmsubsf"): New insns.
424
425 2003-08-26 Roger Sayle <roger@eyesopen.com>
426
427 * fold-const.c (fold <MULT_EXPR>): Optimize (C1/X)*C2 into
428 (C1*C2)/X when unsafe math optimizations are allowed.
429 (fold <RDIV_EXPR>): Optimize C1/(X*C2) into (C1/C2)/X with unsafe
430 math optimizations. Minor code clean-ups. Recursively call
431 fold when constructing sub-expressions.
432
433 2003-08-26 Roger Sayle <roger@eyesopen.com>
434
435 * builtins.c (fold_builtin_bitop): New function to perform constant
436 folding of ffs, clz, ctz, popcount and parity builtin functions
437 and their long and long long variants (such as ffsl and ffsll).
438 (fold_builtin): fold_builtin_bitop when appropriate.
439 * simplify-rtx.c (simplify_unary_operation): Honor both
440 CLZ_DEFINED_VALUE_AT_ZERO and CTZ_DEFINED_VALUE_AT_ZERO when
441 evaluating clz and ctz at compile-time, for operands wider
442 than HOST_WIDE_INT.
443
444 2003-08-26 Nathan Sidwell <nathan@codesourcery.com>
445
446 * builtins.c (build_function_call_expr): Don't set
447 TREE_SIDE_EFFECTS here.
448 * expr.c (emit_block_move_via_libcall): Likewise.
449 (clear_storage_via_libcall): Likewise.
450 * tree.c (build): Set TREE_SIDE_EFFECTS for non-const, non-pure
451 CALL_EXPRs.
452
453 * gcse.c (is_too_expensive): New function.
454 (gcse_main, delete_null_pointer_checks, bypass_jumps): Use it.
455
456 2003-08-25 Zack Weinberg <zack@codesourcery.com>
457
458 * config.gcc (hppa*-*-hpux11*, ia64*-*-hpux*): Remove
459 commented-out logic to use DCE threads (if present), add
460 support for POSIX threads.
461 * config/ia64/hpux.h: Define CPP_SPEC to set appropriate
462 #defines for -pthread. Add -lpthread to LIB_SPEC when
463 -pthread. In both cases take -mt as a synonym for -pthread
464 for acc compatibility.
465 Define GTHREAD_USE_WEAK to 0.
466 * config/pa/pa-hpux11.h: Likewise for CPP_SPEC and LIB_SPEC.
467 Remove old logic for DCE threads from LIB_SPEC.
468 * config/pa/pa64-hpux.h: Define GTHREAD_USE_WEAK to 0.
469
470 2003-08-25 Roger Sayle <roger@eyesopen.com>
471
472 * builtins.c (expand_builtin_mathfn): Rearrange so that we only
473 return 0 for invalid argument types. Instead drop through to a
474 call of expand_call at the bottom of function. If op is SQRT,
475 try attaching a SQRT rtx as the REQ_EQUAL note of the libcall.
476
477 2003-08-25 Richard Henderson <rth@redhat.com>
478
479 * config/ia64/ia64.c (ia64_expand_tls_address): Properly truncate
480 result when op0 is SImode.
481
482 2003-08-25 Nathanael Nerode <neroden@twcny.rr.com>
483
484 * fixinc/inclhack.def (svr4_sighandler_type): New fix, ported
485 from fixinc.svr4.
486 * fixinc/fixincl.x: Regenerate.
487 * fixinc/tests/base/sys/signal.h: Regenerate.
488
489 2003-08-25 Ulrich Weigand <uweigand@de.ibm.com>
490
491 * combine.c (simplify_comparison): Re-enable widening of comparisons
492 with non-paradoxical subregs of non-REG expressions.
493
494 2003-08-25 Ulrich Weigand <uweigand@de.ibm.com>
495
496 * combine.c (distribute_notes): Handle REG_ALWAYS_RETURN.
497
498 2003-08-25 Ulrich Weigand <uweigand@de.ibm.com>
499
500 * combine.c (combine_simplify_rtx): Fix RTL sharing bug.
501
502 2003-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
503
504 * pretty-print.h (pp_maybe_newline_and_indent): New macro.
505 * c-pretty-print.h (c_pretty_printer): Now typedef to the
506 structure. Be consistent with pretty-print.h abd cxx-pretty-print.h
507 (struct c_pretty_print_info): Document. Add new fields.
508 (pp_type_specifier_seq): Rename from pp_c_type_specifier.
509 (pp_direct_abstract_declarator): New macro.
510 (pp_ptr_operator): Likewise.
511 (pp_simple_type_specifier): Likewise.
512 (pp_expression): Likewise.
513 (pp_parameter_list): Rename from pp_parameter_declaration.
514 * c-pretty-print.c (pp_c_whitespace): Now a function.
515 (pp_c_left_paren): Likewise.
516 (pp_c_right_paren): Likewise.
517 (pp_c_dot): Likewise.
518 (pp_c_ampersand): Likewise.
519 (pp_c_arrow): Likewise.
520 (pp_c_semicolon): Likewise.
521 (pp_c_type_cast): New function.
522 (pp_c_space_for_pointer_operator): Likewise.
523 (pp_c_call_argument_list): Likewise.
524 (pp_c_cv_qualifier): Adjust prototype.
525 (pp_c_type_qualifier_list): Likewise.
526 (pp_c_pointer): Likewise. Handle REFERENCE_TYPE here.
527 (pp_c_type_specifier): Rename from pp_c_simple_type_specifier.
528 Adjust to follow standard grammar.
529 (pp_c_specifier_qualifier_list): Adjusr prototype. Handle
530 REFERENCE_TYPE. Tidy.
531 (pp_c_parameter_type_list): Adjust prototype. Tidy.
532 (pp_c_parameter_declaration): Remove.
533 (pp_c_abstract_declarator): Adjust prototype.
534 (pp_c_direct_abstract_declarator): Likewise.
535 (pp_c_type_id): Likewise.
536 (pp_c_storage_class_specifier): Likewise.
537 (pp_c_function_specifier): Likewise.
538 (pp_c_declaration_specifiers): Likewise.
539 (pp_c_direct_declarator): Likewise.
540 (pp_c_declarator): Likewise.
541 (pp_c_declarator): Likewise.
542 (pp_c_declaration): Likewise.
543 (pp_c_attributes): Likewise. Tidy.
544 (pp_c_function_definition): Adjust prototype.
545 (pp_c_char): Likewise.
546 (pp_c_string_literal): Likewise.
547 (pp_c_integer_constant): Likewise.
548 (pp_c_character_constant): Likewise.
549 (pp_c_bool_constant): Likewise.
550 (pp_c_enumeration_constant): Likewise.
551 (pp_c_floating_constant): Likewise.
552 (pp_c_constant): Likewise.
553 (pp_c_identifier): Likewise.
554 (pp_c_primary_expression): Likewise. Remove TARGET_EXPR case. Tidy.
555 (pp_c_initializer): Adjust prototype.
556 (pp_c_init_declarator): Likewise.
557 (pp_c_initializer_list): Likewise.
558 (pp_c_id_expression): Likewise.
559 (pp_c_postfix_expression): Likewise.
560 (pp_c_expression_list): Likewise.
561 (pp_c_unary_expression): Likewise.
562 (pp_c_cast_expression): Likewise.
563 (pp_c_multiplicative_expression): Likewise.
564 (pp_c_additive_expression): Likewise.
565 (pp_c_shift_expression): Likewise.
566 (pp_c_relational_expression): Likewise.
567 (pp_c_equality_expression): Likewise.
568 (pp_c_and_expression): Likewise.
569 (pp_c_exclusive_or_expression): Likewise.
570 (pp_c_inclusive_or_expression): Likewise.
571 (pp_c_logical_and_expression): Likewise.
572 (pp_c_logical_or_expression): Likewise.
573 (pp_c_conditional_expression): Likewise.
574 (pp_c_assignment_expression): Likewise.
575 (pp_c_expression): Likewise. Tidy.
576 (pp_c_statement): Likewise. Document.
577 (pp_c_pretty_printer_init): Adjust prototype. Tidy.
578
579 * c-lang.c (c_initialize_diagnostics): Update.
580 * c-common.h (strip_pointer_operator): Declare.
581 * c-common.c (strip_pointer_operator): Define.
582
583 2003-08-25 Mark Mitchell <mark@codesourcery.com>
584
585 PR c++/8795
586 * tree.h (build_method_type_directly): Declare.
587 * c-common.c (handle_vector_size_attributes): Handle METHOD_TYPEs.
588 (vector_size_helper): Likewise.
589 * tree.c (build_method_type_directly): New function.
590 (build_method_type): Use it.
591
592 2003-08-24 Richard Henderson <rth@redhat.com>
593
594 * config/i386.i386.c (ix86_return_in_memory): Reformat. Return true
595 for 16-byte vector modes if sse not enabled; warn for abi change.
596 (ix86_value_regno): Only return xmm0 for 16-byte vector types.
597
598 2003-08-24 Kazu Hirata <kazu@cs.umass.edu>
599
600 * rtlanal.c (may_trap_p): Simplify an integer comparison.
601
602 2003-08-24 Nathanael Nerode <neroden@gcc.gnu.org>
603
604 * fixinc/inclhack.def (AAB_svr4_replace_byteorder): Enhance
605 comment. Enable for DYNIX/ptx systems (when they switch to
606 regular fixincludes).
607 * fixinc/fixincl.x: Regenerate.
608
609 2003-08-23 Jason Eckhardt <jle@rice.edu>
610
611 * config/i860/t-i860: New.
612 * config.gcc (i860-*-sysv4*): Add t-i860 to tmake_file.
613
614 2003-08-23 Jakub Jelinek <jakub@redhat.com>
615
616 * c-decl.c (pushdecl): Only put decls which finish_struct will do
617 something about onto incomplete chain.
618 (finish_struct): If not removing type from incomplete
619 list, update prev.
620
621 Wed Aug 20 12:08:55 CEST 2003 Jan Hubicka <jh@suse.cz>
622
623 PR target/11369
624 * i386.c (ix86_expand_carry_flag_compare): Validate operand.
625
626 PR target/11031
627 * i386.c (const_0_to_3_operand, const_0_to_7_operand,
628 const_0_to_15_operand, const_0_to_255_operand): New predicates.
629 * i386.h (PREDICATE_CODES): Add these.
630 * i386.c (pinsrw and pextrw patterns): Use them.
631
632 PR target/10984
633 * i386.c (ix86_expand_binop_builtin): Behave sanely for VOIDmodes.
634
635 PR target/8869
636 * expr.c (convert_modes): Deal properly with integer to vector
637 constant conversion.
638
639 PR target/8871
640 * i386.md (zero_extendsidi2*): Add MMX and SSE alternatives.
641
642 2003-08-23 Ulrich Weigand <uweigand@de.ibm.com>
643
644 * config/s390/s390.h (LOAD_EXTEND_OP): Remove.
645 * config/s390/s390.md ("movhi"): New expander; old insn renamed to ...
646 ("*movhi"): ... this.
647 ("movqi", "*movqi"): Likewise.
648 ("movqi_64"): Remove.
649 ("*zero_extendhisi2_31"): Change predicate to s_operand.
650
651 2003-08-23 Dale Johannesen <dalej@apple.com>
652 * calls.c (emit_library_call_value_1): Fix obvious errors in
653 arguments to emit_group_store.
654
655 2003-08-23 Jason Eckhardt <jle@rice.edu>
656
657 * calls.c (emit_library_call_value_1): Remove code related
658 to LIBGCC_NEEDS_DOUBLE.
659 * config/stormy16/stormy16.h: Remove mention of LIBGCC_NEEDS_DOUBLE.
660 * doc/tm.texi: Likewise.
661 * system.h: Poison the LIBGCC_NEEDS_DOUBLE macro.
662
663 2003-08-23 Richard Sandiford <rsandifo@redhat.com>
664
665 * config/mips/linux64.h (STARTFILE_PREFIX_SPEC): Remove.
666
667 2003-08-23 Richard Sandiford <rsandifo@redhat.com>
668
669 * config/mips/mips.c (mips_setup_incoming_varargs): Handle o32 and o64
670 as well. Put memory references in the varargs alias set.
671 (mips_expand_prologue): Remove varargs handling from here.
672
673 2003-08-23 Ulrich Weigand <uweigand@de.ibm.com>
674
675 * config/s390/s390.c (s390_expand_movstr, s390_expand_clrstr,
676 s390_expand_cmpmem, s390_output_constant_pool, s390_build_va_list,
677 s390_function_profiler, s390_output_mi_thunk): Use ISO C syntax
678 for function pointer calls.
679 * config/s390/s390.md ("*negdi2_31"): Likewise.
680
681 2003-08-23 Roger Sayle <roger@eyesopen.com>
682
683 * combine.c (apply_distributive_law): Correct comment.
684
685 2003-08-23 Jason Eckhardt <jle@rice.edu>
686
687 * config/i860/i860.h: Remove comment mentioning LIBGCC_NEEDS_DOUBLE.
688
689 2003-08-22 Jason Eckhardt <jle@rice.edu>
690
691 * config/i860/i860.c (i860_build_va_list): Create the va_decl
692 declaration. Document the va_list structure.
693 (i860_va_start): Initialize the va_list structure.
694 (i860_va_arg): Rewrite completely.
695 * config/i860/i860.h (LIBGCC_NEEDS_DOUBLE): Don't define.
696 * config/i860/varargs.asm: Do not allocate or initialize
697 a va_list. Return the address of the register save area.
698
699 2003-08-22 Kazu Hirata <kazu@cs.umass.edu>
700
701 * config/iq2000/iq2000.c: Fix comment typos.
702 * config/iq2000/iq2000.md: Likewise.
703
704 2003-08-22 Kazu Hirata <kazu@cs.umass.edu>
705
706 * config/iq2000/iq2000.c: Follow spelling conventions.
707 * config/iq2000/iq2000.h: Likewise.
708 * config/mn10300/mn10300.c: Likewise.
709
710 2003-08-22 Jason Eckhardt <jle@rice.edu>
711
712 * config/i860/i860.c (output_move_double): Don't set latehalf
713 to zero for CONST_INT (since it could be, e.g., -1).
714
715 * config/i860/i860.h (REMSI3_LIBCALL): Replace this macro...
716 (MODSI3_LIBCALL): ...with this one.
717 (UREMSI3_LIBCALL): Replace this macro...
718 (UMODSI3_LIBCALL): ...with this one.
719
720 2003-08-22 Jason Eckhardt <jle@rice.edu>
721
722 * config/i860/i860-protos.h (output_delay_insn): Remove prototype.
723 (output_delayed_branch): Remove prototype.
724 (single_insn_src_p): Remove prototype.
725 * config/i860/i860.c (single_insn_src_p): Remove function.
726 (output_delayed_branch): Remove function.
727 (output_delay_insn): Remove function.
728 (va_start): Remove unconditional test and dead code, re-format.
729 Fix coding style and spelling problems in various comments.
730 * config/i860/i860.md (UNSPECV_BLOCKAGE): Define constant...
731 (blockage pattern): ...and use it here.
732 (all define_peephole patterns related to delayed branches): Remove.
733 Fix coding style and spelling problems in various comments.
734
735 2003-08-22 Jason Eckhardt <jle@rice.edu>
736
737 * config/i860/i860.c: Replace all occurrences of 'GNU CC' with 'GCC'.
738 Remove all uses of the PARAMS macro. Remove superflous prototypes.
739 Convert all function definitions from traditional to ISO C90 syntax.
740 * config/i860/i860-protos.h: Replace all occurrences of 'GNU CC'
741 with 'GCC'. Remove all uses of the PARAMS macro.
742 * config/i860/i860.h: Replace all occurrences of 'GNU CC' with 'GCC'.
743 * config/i860/i860.md: Likewise.
744 * config/i860/sysv4.h: Likewise.
745 * config/i860/varargs.asm: Likewise.
746
747 2003-08-22 Jason Eckhardt <jle@rice.edu>
748
749 * config/i860/i860-protos.h (i860_va_start): Remove 'stdarg_p'
750 argument.
751 (tdesc_section): Add prototype.
752 Update copyright dates.
753 * config/i860/i860.c: Include coretypes.h, tm.h, and toplev.h.
754 (TARGET_ASM_FUNCTION_PROLOGUE): Move definition to end of file.
755 (TARGET_ASM_FUNCTION_EPILOGUE): Likewise.
756 (targetm): Likewise.
757 (i860_output_function_prologue): Substitute HOST_WIDE_INT_PRINT_DEC
758 for '%d' where necessary.
759 (i860_va_start): Remove 'stdarg_p' argument. Make conditional checks
760 on 'stdarg_p' unconditional. Divide current_function_args_info.ints
761 by UNITS_PER_WORD when referencing (likewise for .floats).
762 (I860_SVR4_VARARGS): Rename...
763 (I860_SVR4_VA_LIST): ...to this.
764 Call build() with 't' rather than 'field'.
765 (i860_rtx_costs): New function.
766 (TARGET_RTX_COSTS): Define.
767 (i860_internal_label): New function.
768 (TARGET_ASM_INTERNAL_LABEL): Define.
769 (i860_file_start): New function.
770 Update copyright dates.
771 * config/i860/i860.h (CPP_PREDEFINES): Remove.
772 (TARGET_CPU_CPP_BUILTINS): Define.
773 (EXPAND_BUILTIN_VA_START): Remove 'stdarg' argument.
774 (CONST_COSTS): Remove (and move code to i860_rtx_costs).
775 (ASM_FILE_START): Remove.
776 (ASM_FILE_START_1): Remove.
777 (ASM_GLOBALIZE_LABEL): Remove.
778 (ASM_OUTPUT_INTERNAL_LABEL): Remove.
779 (ASM_OUTPUT_CASE_LABEL): Replace call of ASM_OUTPUT_INTERNAL_LABEL
780 with targetm.asm_out.internal_label.
781 Update copyright dates.
782 * config/i860/sysv4.h (USER_LABEL_PREFIX): Define.
783 (CPP_PREDEFINES): Remove.
784 (TARGET_OS_CPP_BUILTINS): Define.
785 (GLOBAL_ASM_OP): Define.
786 (ASM_FILE_START): Remove.
787 (TARGET_ASM_FILE_START_FILE_DIRECTIVE): Define.
788 (TARGET_ASM_FILE_START): Define.
789 Update copyright dates.
790
791 2003-08-22 Jason Eckhardt <jle@rice.edu>
792
793 * gcc/config.gcc (i860-*-sysv4*): Add target.
794 * config/i860/i860-protos.h: New.
795 * config/i860/i860.c: New.
796 * config/i860/i860.h: New.
797 * config/i860/i860.md: New.
798 * config/i860/sysv4.h: New.
799 * config/i860/varargs.asm: New.
800 * config/i860/x-sysv4: New.
801
802 2003-08-22 Jason Eckhardt <jle@rice.edu>
803
804 * config/pa/pa.c: Replace 'GNU CC' with 'GCC'.
805 Remove all uses of PARAMS macro.
806 Convert all function definitions to ISO C90 syntax.
807 * config/pa/elf.h: Replace 'GNU CC' with 'GCC'.
808 * config/pa/fptr.c: Likewise.
809 * config/pa/lib2funcs.asm: Likewise.
810 * config/pa/long_double.h: Likewise.
811 * config/pa/milli64.S: Likewise.
812 * config/pa/pa-64.h: Likewise.
813 * config/pa/pa-hpux.h: Likewise.
814 * config/pa/pa-hpux10.h: Likewise.
815 * config/pa/pa-hpux11.h: Likewise.
816 * config/pa/pa-linux.h: Likewise.
817 * config/pa/pa-modes.def: Likewise.
818 * config/pa/pa-osf.h: Likewise.
819 * config/pa/pa-pro-end.h: Likewise.
820 * config/pa/pa.md: Likewise.
821 * config/pa/pa32-linux.h: Likewise.
822 * config/pa/pa64-linux.h: Likewise.
823 * config/pa/pa64-hpux.h: Likewise.
824 * config/pa/pa64-regs.h: Likewise.
825 * config/pa/quadlib.c: Likewise.
826 * config/pa/rtems.h: Likewise.
827 * config/pa/pa-protos.h: Replace 'GNU CC' with 'GCC' and remove
828 all uses of the PARAMS macro.
829 * config/pa/pa.h: Likewise.
830 * config/pa/som.h: Likewise.
831
832 * config/iq2000/iq2000.c: Replace 'GNU CC' with 'GCC'.
833 Remove all uses of PARAMS macro.
834 Convert all function definitions to ISO C90 syntax.
835 * config/iq2000-protos.h: Replace 'GNU CC' with 'GCC'.
836 Remove all uses of PARAMS macro.
837 * config/iq2000.h: Remove all uses of PARAMS macro.
838 * config/iq2000/iq2000.md: Replace 'GNU CC' with 'GCC'.
839
840 2003-08-23 Ulrich Weigand <uweigand@de.ibm.com>
841
842 * config/s390/s390-protos.h (s390_output_pool_entry): Declare.
843 * config/s390/s390.c (gen_consttable): Remove.
844 (s390_dump_pool): Use UNSPECV_POOL_ENTRY for pool entry insns.
845 (s390_output_pool_entry): New function.
846 * config/s390/s390.md (UNSPECV_POOL_QI, UNSPECV_POOL_HI,
847 UNSPECV_POOL_SI, UNSPECV_POOL_DI, UNSPECV_POOL_TI,
848 UNSPECV_POOL_SF, UNSPECV_POOL_DF): Remove, replace by ...
849 (UNSPECV_POOL_ENTRY): ... this new constant.
850 ("consttable_qi", "consttable_hi", "consttable_si", "consttable_di",
851 "consttable_ti", "consttable_sf", "consttable_df"): Remove ...
852 ("*pool_entry"): ... and replace by this new insn.
853 ("literal_pool_31"): Do not emit anchor label if pool empty.
854
855 * config/s390/s390.c (struct machine_function): Add save_return_addr_p.
856 (s390_optimize_prolog): Save RETURN_REGNUM if save_return_addr_p.
857 (s390_fixup_clobbered_return_reg): Remove.
858 (s390_reorg): Don't call s390_fixup_clobbered_return_reg.
859 (s390_return_addr_rtx): Always retrieve return address from save area
860 slot. Use save_return_addr_p to force slot to be filled.
861 (s390_emit_prologue): Remove has_hard_reg_initial_val test.
862
863 2003-08-22 Chris Demetriou <cgd@broadcom.com>
864
865 * config/mips/mips.h (MASK_FIX_SB1, TARGET_FIX_SB1): New defines.
866 (TARGET_SWITCHES): Add -mfix-sb1 and -mno-fix-sb1.
867 * config/mips/mips.md (divdf3, divsf3, sqrtdf2, sqrtsf2): Work
868 around SB-1 errata if TARGET_FIX_SB1 is set.
869 (recip.d insn, recip.s insn, rsqrt.d insn, rsqrt.s insn): Likewise.
870 * doc/invoke.texi: Document MIPS -mfix-sb1 and -mno-fix-sb1.
871
872 2003-08-22 Roger Sayle <roger@eyesopen.com>
873
874 * hashtable.c (ht_expand): Avoid calculating rehash for the common
875 case that the first probe hits an empty hash table slot.
876
877 2003-08-22 Mark Mitchell <mark@codesourcery.com>
878
879 * config/ia64/hpux.h (SUPPORTS_INIT_PRIORITY): Define to 0.
880
881 2003-08-22 Mark Mitchell <mark@codesourcery.com>
882
883 * config/ia64/ia64.md (*ptr_extend_plus_1): Rename to ...
884 (ptr_extend_plus_imm): ... this.
885 * config/ia64/ia64.c (addp4_optimize_ok): Do not disable addp4
886 optimization in C++.
887 (ia64_output_mi_thunk): Support ILP32 mode.
888
889 2003-08-22 bernardo innocenti <bernie@develer.com>
890
891 * gcc/config/m68k/m68k.c (m68k_coff_asm_named_section): remove unused
892 function.
893 * gcc/config/m68k/m68k.c (-m68k_svr3_asm_out_constructor): likewise.
894
895 2003-08-22 Kazu Hirata <kazu@cs.umass.edu>
896
897 * config/i386/i386.c (const_int_1_operand): Simplify an
898 integer comparison.
899
900 2003-08-22 Alan Modra <amodra@bigpond.net.au>
901
902 * config/fp-bit.c: Specify config/ dir for include of fp-bit.h.
903 * config/rs6000/ppc64-fp.c: Likewise.
904
905 2003-08-22 Kazu Hirata <kazu@cs.umass.edu>
906
907 * cfgcleanup.c: Fix comment typos.
908 * emit-rtl.c: Likewise.
909 * optabs.c: Likewise.
910 * ra-build.c: Likewise.
911 * rtlanal.c: Likewise.
912 * tree.h: Likewise.
913
914 2003-08-22 Kazu Hirata <kazu@cs.umass.edu>
915
916 * c-decl.c: Fix comment formatting.
917 * cfgrtl.c: Likewise.
918 * combine.c: Likewise.
919 * convert.c: Likewise.
920 * dominance.c: Likewise.
921 * dwarf2out.c: Likewise.
922 * dwarfout.c: Likewise.
923 * expmed.c: Likewise.
924 * fold-const.c: Likewise.
925 * gcov.c: Likewise.
926 * genattrtab.c: Likewise.
927 * ggc-common.c: Likewise.
928 * mips-tfile.c: Likewise.
929 * regmove.c: Likewise.
930
931 2003-08-22 Kazu Hirata <kazu@cs.umass.edu>
932
933 * builtin-attrs.def: Fix comment formatting.
934 * c-pretty-print.c: Likewise.
935 * diagnostic.h: Likewise.
936 * langhooks.h: Likewise.
937 * recog.c: Likewise.
938 * simplify-rtx.c: Likewise.
939 * tree.def: Likewise.
940
941 2003-08-22 Bernardo Innocenti <bernie@develer.com>
942
943 * config/m68k/m68k-protos.h: Convert to ISO C90.
944 * config/m68k/m68k.c: Likewise.
945
946 2003-08-21 Bernardo Innocenti <bernie@develer.com>
947 Paul Dale <pauli@snapgear.com>
948 Peter Barada <peter@baradas.org>
949
950 * config/m68k/m68k.c (m68k_rtx_costs): Adjust mul/div costs for
951 ColdFire cores.
952
953 2003-08-21 Zack Weinberg <zack@codesourcery.com>
954
955 * Makefile.in (INCLUDES): Remove -I$(srcdir)/config.
956 * config.gcc (*-*-openbsd): Don't set tm_file.
957 (alpha*-*-openbsd, arm*-*-coff*, arm*-wince-pe*,
958 arm-*-pe*, avr-*-*, h8300-*-rtems*, h8300-*-elf*,
959 h8300-*-*, hppa*-*-osf*, hppa*-*-bsd*, hppa*-*-hpux*,
960 i370-*-opened*, i370-*-mvs*, i370-*-linux*, i?86-*-openbsd*,
961 i?86-*-lynxos, i?86-*-nto-qnx*, iq2000*-*-elf*, m68000-hp-hpux*,
962 m68k-hp-hpux*, m68k-*-aout*, m68k-*-coff*, m68020-*-elf*,
963 m68k-*-elf*, m68k*-*-netbsd*, m68k*-*-openbsd*, m68k-*-sysv4*,
964 m68k-*-linux*, m68k-*-rtems*, mcore-*-pe*, mips*-*-netbsd*,
965 mips*-*-openbsd*, rs6000-*-lynxos*, sh*-*-elf*, sh*-*-ka,
966 sh-*-rtemself, sparc-*-openbsd*, strongarm-*-pe, vax-*-openbsd*,
967 xscale-*-coff): Use explicit and complete lists of target headers
968 to include. Move definitions to tm_defines where appropriate.
969 (hppa*-*-openbsd*, powerpc-*-openbsd*): Comment out stanza for
970 not-yet-contributed configuration.
971
972 * config/lynx.h, config/alpha/openbsd.h, config/arm/coff.h
973 * config/avr/avr.h, config/frv/frv.h, config/h8300/elf.h
974 * config/i370/linux.h, config/i370/mvs.h, config/i370/oe.h
975 * config/i386/nto.h, config/iq2000/iq2000.h,
976 * config/m68k/coff.h, config/m68k/hp310.h, config/m68k/hp320.h
977 * config/m68k/linux.h, config/m68k/m68k-aout.h
978 * config/m68k/m68k-none.h, config/m68k/m68kv4.h
979 * config/m68k/netbsd.h, config/m68k/openbsd.h
980 * config/m68k/sgs.h, config/mcore/mcore-pe.h,
981 * config/mips/netbsd.h, config/mips/openbsd.h, config/pa/pa.h,
982 * config/rs6000/lynx.h, config/sh/embed-elf.h, config/sparc/openbsd.h:
983 Remove includes of other target config headers, and
984 definitions of macros moved to tm_defines lists. Add #undefs
985 where now necessary to prevent redefinition warnings.
986
987 * config/h8300/coff.h: New file split out of...
988 * config/h8300/elf.h: ...here.
989 * config/m68k/hp320base.h: New file split out of...
990 * config/m68k/hp320.h: ...here.
991 * config/rs6000/lynxbase.h: New file split out of...
992 * config/rs6000/lynx.h: ...here.
993
994 * config/m68k/hp310g.h, config/m68k/hp320g.h, config/m68k/hpux7.h
995 * config/m68k/m68k-coff.h, config/mips/openbsd-be.h: Delete file.
996
997 * config/sol2.h: Remove #if 0-ed #include of sys/mman.h.
998 * config/m68k/m68kelf.h: Remove commented out #include of m68k/sgs.h.
999 * config/mcore/mcore.h: Don't include hwint.h nor machmode.h.
1000 Remove unnecessary #ifndef.
1001 * config/s390/s390.h: Prefix #include of s390/fixdfdi.h
1002 [under IN_LIBGCC2] with config/.
1003
1004 2003-08-21 Per Bothner <pbothner@apple.com>
1005
1006 * cppfiles.c (stack_file): Correctly pass return_at_eof parameter
1007 to cpp_push_buffer.
1008 * cpplex.c (_cpp_get_fresh_line): Don't buffer->prev - handled
1009 by return_at_eof check. Always call _cpp_pop_buffer at end.
1010
1011 2003-08-21 Kazu Hirata <kazu@cs.umass.edu>
1012
1013 PR target/11805
1014 * config/h8300/h8300.md (two anonymous patterns): Remove.
1015
1016 2003-08-21 Richard Sandiford <rsandifo@redhat.com>
1017
1018 * config/mips/mips.h (MUST_PASS_IN_STACK): Remove BLKmode clause.
1019 * config/mips/mips.c (function_arg_pass_by_reference): Never return
1020 true for n32 & n64.
1021
1022 2003-08-21 Josef Zlomek <zlomekj@suse.cz>
1023
1024 * fold-const.c (fold): Fix bug in (A & C) == D where D & ~C != 0
1025 and similarly in (A | C) == D where C & ~D != 0.
1026
1027 2003-08-20 Geoffrey Keating <geoffk@apple.com>
1028
1029 PR 8180
1030 * configure.in: When testing with_libs and with_headers, treat
1031 'no' as unset. Based on a patch by Dan Kegel <dank@kegel.com>.
1032 * configure: Regenerate.
1033
1034 2003-08-20 Peter Barada <peter@baradas.org>
1035
1036 * longlong.h (umul_ppmm): Add ColdFire support.
1037
1038 2003-08-20 Peter Barada <peter@baradas.org>
1039 Bernardo Innocenti <bernie@develer.com>
1040
1041 * config/m68k/m68k-none.h: Introduce new ColdFire archs.
1042 * config/m68k/m68k.h: Likewise.
1043 * config/m68k/lb1sf68.asm: Rename __mcf5200__ to __mcoldfire__.
1044 * config/m68k/coff.h: Rename TARGET_5200 to TARGET_COLDFIRE.
1045 * config/m68k/linux.h: Likewise.
1046 * config/m68k/m68k.c: Likewise.
1047 * config/m68k/m68k.md: Likewise.
1048 * config/m68k/m68kelf.h: Likewise.
1049 * config/m68k/netbsd-elf.h: Likewise.
1050 * config/m68k/t-m68kelf: Add multilib targets for new ColdFire archs.
1051
1052 2003-08-20 Bernardo Innocenti <bernie@develer.com>
1053
1054 * config/m68k/m68k.c: Strip away code depending on NO_ADDSUB_Q definition.
1055 * config/m68k/m68k.md: Likewise.
1056
1057 2003-08-20 Mark Mitchell <mark@codesourcery.com>
1058
1059 PR java/11996
1060 Revert this change:
1061 2003-08-19 Mark Mitchell <mark@codesourcery.com>
1062 * c-common.c (c_common_signed_or_unsigned_type): Correctly handle
1063 types with precisions other than those given by native machine
1064 modes.
1065
1066 2003-08-20 Gunther Nikl <gni@gecko.de>
1067
1068 * config/m68k/m68k.md (anonymous define_insn): remove obsolete code
1069 selected by FSGLMUL_USE_S and FSGLDIV_USE_S
1070 * config/m68k/m68k.c (output_move_himode): remove SGS_NO_LI check
1071 * config/m68k/m68k.md (anonymous define_insn): Likewise
1072 * config/m68k/m68k.md (anonymous define_insn): remove ISI_OV check
1073 * config/m68k/m68k.c (standard_68881_constant_p): remove obsolete
1074 code selected by NO_ASM_FMOVECR
1075
1076 2003-08-20 Gunther Nikl <gni@gecko.de>
1077
1078 * config/m68k/m68k.c (output_move_const_into_data_reg,
1079 output_move_himode): unify MOTOROLA/MIT handling of moveq
1080 * config/m68k/m68k.md (movsi_const0, anonymous define_insn):
1081 Likewise
1082
1083 2003-08-20 Gunther Nikl <gni@gecko.de>
1084
1085 * config/m68k/m68k.c (m68k_output_function_prologue): use %U in
1086 label name
1087 * config/m68k/m68k.c (m68k_output_function_epilogue): replace
1088 HOST_WIDE_INT_PRINT_DEC with %wd
1089
1090 2003-08-20 Loren James Rittle <ljrittle@acm.org>
1091
1092 * config/i386/freebsd.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Handle
1093 redefine warning.
1094
1095 2003-08-20 Roger Sayle <roger@eyesopen.com>
1096
1097 PR middle-end/11984
1098 * fold-const.c (fold <PLUS_EXPR>): Check for integer constant
1099 operands before calling tree_int_cst_lt when performing associative
1100 transformations.
1101
1102 2003-08-20 Jason Merrill <jason@redhat.com>
1103
1104 * tree.h (IS_EXPR_CODE_CLASS): Also include 'r' and 's'.
1105 (EXPR_CHECK): Don't check for 'r' or 's' if we're
1106 checking IS_EXPR_CODE_CLASS.
1107 * calls.c (calls_function_1): Likewise.
1108 * fold-const.c (fold): Likewise.
1109 * tree.c (iterative_hash_expr): Likewise.
1110 * tree-inline.c (walk_tree, copy_tree_r): Likewise.
1111
1112 2003-08-20 Gunther Nikl <gni@gecko.de>
1113
1114 * config/m68k/m68k.c (m68k_output_mi_thunk): delete obsolete code
1115 depending on MOTOROLA_BSR
1116 * config/m68k/m68k.md (anonymous define_insn): Likewise
1117
1118 2003-08-20 Jason Merrill <jason@redhat.com>
1119
1120 * builtins.c (expand_builtin_mathfn): Use get_callee_fndecl.
1121 (expand_builtin_mathfn2, expand_builtin, builtin_mathfn_code,
1122 fold_trunc_transparent_mathfn, fold_builtin): Likewise.
1123 * dojump.c (do_jump): Likewise.
1124 * fold-const.c (operand_equal_p, fold): Likewise.
1125 (tree_expr_nonnegative_p): Likewise.
1126
1127 * stor-layout.c (do_type_align): Only copy DECL_USER_ALIGN from
1128 TYPE_USER_ALIGN for FIELD_DECLs.
1129
1130 * attribs.c (decl_attributes): Rebuild the function pointer type after
1131 changing the target type.
1132 * tree.c (get_qualified_type): Also check that the attributes match.
1133
1134 2003-08-19 Matt Kraai <kraai@alumni.cmu.edu>
1135
1136 * Makefile.in (STAGESTUFF): Move cc1obj$(exeext) from here ...
1137 * objc/config-lang.in (stagestuff): ... to here.
1138
1139 2003-08-19 Mark Mitchell <mark@codesourcery.com>
1140
1141 PR c++/11946
1142 * convert.c (convert_to_integer): Use CONVERT_EXPR (instead of
1143 NOP_EXPR) when necessary.
1144 * c-common.c (c_common_signed_or_unsigned_type): Correctly handle
1145 types with precisions other than those given by native machine
1146 modes.
1147
1148 2003-08-19 Geoffrey Keating <geoffk@apple.com>
1149
1150 * cpppch.c (cpp_valid_state): Re-add warning about PCH not used
1151 because some macro is defined.
1152
1153 * config/darwin.h (LINK_COMMAND_SPEC): Add -arch and -arch_only
1154 options.
1155 * config/i386/darwin.h (ASM_SPEC): New.
1156 (SUBTARGET_EXTRA_SPECS): New.
1157 * config/rs6000/darwin.h (ASM_SPEC): New.
1158 (SUBTARGET_EXTRA_SPECS): New.
1159 * configure.in: Don't set CROSS or SYSTEM_HEADER_DIR when building
1160 a cross-compiler between two different processors on Darwin.
1161 * configure: Regenerate.
1162
1163 2003-08-19 Kazu Hirata <kazu@cs.umass.edu>
1164
1165 * builtins.c: Fix comment typos.
1166 * c-common.c: Likewise.
1167 * c-decl.c: Likewise.
1168 * c-pretty-print.c: Likewise.
1169 * cfgbuild.c: Likewise.
1170 * cfglayout.c: Likewise.
1171 * cfgloopanal.c: Likewise.
1172 * cgraphunit.c: Likewise.
1173 * cppfiles.c: Likewise.
1174 * dwarfout.c: Likewise.
1175 * expr.c: Likewise.
1176 * fold-const.c: Likewise.
1177 * gcse.c: Likewise.
1178 * ggc-page.c: Likewise.
1179 * haifa-sched.c: Likewise.
1180 * pretty-print.c: Likewise.
1181 * tree.c: Likewise.
1182 * tree.h: Likewise.
1183 * value-prof.c: Likewise.
1184
1185 2003-08-19 Kazu Hirata <kazu@cs.umass.edu>
1186
1187 * c-decl.c: Follow spelling conventions.
1188 * cppfiles.c: Likewise.
1189
1190 2003-08-19 Kazu Hirata <kazu@cs.umass.edu>
1191
1192 * c-common.c: Fix comment formatting.
1193 * c-common.h: Likewise.
1194 * c-decl.c: Likewise.
1195 * cppinit.c: Likewise.
1196 * cpplib.h: Likewise.
1197 * emit-rtl.c: Likewise.
1198 * input.h: Likewise.
1199 * line-map.h: Likewise.
1200 * opts.c: Likewise.
1201 * opts.h: Likewise.
1202 * simplify-rtx.c: Likewise.
1203
1204 2003-08-19 Daniel Jacobowitz <drow@mvista.com>
1205
1206 * unwind-c.c: Add libgcc-style exception.
1207 * unwind-dw2.c: Likewise.
1208 * unwind-pe.h: Likewise.
1209 * unwind-sjlj.c: Likewise.
1210 * unwind.inc: Likewise.
1211
1212 2003-08-19 Andrew Pinski <pinskia@physics.uc.edu>
1213
1214 PR c/5582 PR c++/10538
1215 * langhooks-def.h (lhd_decl_uninit): Declare.
1216 (LANG_HOOKS_DECL_UNINIT): New macro.
1217 (LANG_HOOKS_INITIALIZER): Adjust.
1218 * langhooks.h (struct lang_hooks): Add new field
1219 decl_uninit.
1220 * langhooks.c (lhd_decl_uninit): Define.
1221 * c-common.c (c_decl_uninit_1): New function.
1222 (c_decl_uninit): New function.
1223 (warn_init_self): Define.
1224 * c-common.h (c_decl_uninit): Declare.
1225 (warn_init_self): Declare.
1226 * c.opt: Introduce -Winit-self.
1227 * c-opts.c (c_common_handle_options): Set warn_init_self.
1228 * c-lang.c (LANG_HOOKS_DECL_UNINIT): Define.
1229 * objc/objc-lang.c (LANG_HOOKS_DECL_UNINIT): Define.
1230 * function.c (uninitialized_vars_warning): Call the language hook.
1231 * doc/invoke.texi: Document -Winit-self.
1232
1233 2003-08-19 Chris Demetriou <cgd@broadcom.com>
1234
1235 * config/mips/mips.md: Adjust SI-mode "trap_if" instruction
1236 to use better predicates and constraints. Define new
1237 instruction to handle "trap_if" with DI-mode arguments.
1238 (conditional_trap): FAIL if trap code is not 0.
1239
1240 2003-08-19 Andrew Pinski <pinskia@physics.uc.edu>
1241
1242 * config/i386/i386.c (legitimate_pic_address_disp_p): Change the
1243 strstr with $pb to a strcompare with "<pic base>"
1244 (ix86_output_addr_diff_elt): Output the real pic base.
1245
1246 2003-08-19 Gabriel Dos Reis <gdr@integrable-solutions.net>
1247
1248 * langhooks-def.h (LANG_HOOKS_INITIALIZE_DIAGNOSTICS): Fix spelling.
1249 (LANG_HOOKS_INITIALIZER): Correct.
1250 * c-lang.c: Likewise.
1251
1252 2003-08-19 Jan Hubicka <jh@suse.cz>
1253
1254 * cgraph.c (cgraph_mark_needed_node): Call notice_global_symbol.
1255 (cgraph_varpool_mark_needed_node): Likewise.
1256 * cgraph.h (notice_global_symbol): Declare
1257 * varasm.c (notice_global_symbol): Break out from ...
1258 (assemble_start_function): ... here; update for variables.
1259 (assemble_variable): Use notice_global_symbol.
1260
1261 2003-08-19 Richard Sandiford <rsandifo@redhat.com>
1262
1263 * config/mips/mips.c (mips_va_arg): If EABI_FLOAT_VARARGS_P,
1264 expect SFmode and DFmode arguments to be passed in FPRs,
1265 regardless of the underlying type.
1266
1267 2003-08-19 Richard Sandiford <rsandifo@redhat.com>
1268
1269 PR target/11924
1270 * config/mips/mips.c (INTERNAL_SYMBOL_P): New macro.
1271 (mips_classify_symbol, m16_usym8_4, m16_usym5_4): Use it.
1272
1273 2003-08-18 Matt Kraai <kraai@alumni.cmu.edu>
1274
1275 PR c/11207
1276 * c-typeck.c (set_init_index): Check for negative index.
1277
1278 2003-08-18 Bob Wilson <bob.wilson@acm.org>
1279
1280 * config/xtensa/crti.asm (_init, _fini): Add alternate code for new
1281 call0 ABI.
1282 * config/xtensa/crtn.asm (_init, _fini): Likewise.
1283 * config/xtensa/lib1funcs.asm (__mulsi3, __udivsi3, __divsi3,
1284 __umodsi3, __modsi3): Likewise.
1285 * config/xtensa/t-xtensa (crti.o, crtn.o): Add $(GCC_CFLAGS) and
1286 $(INCLUDES).
1287
1288 2003-08-18 Aldy Hernandez <aldyh@redhat.com>
1289
1290 * config/rs6000/spe.md ("*nabssf2_gpr"): New.
1291
1292 2003-08-18 Richard Sandiford <rsandifo@redhat.com>
1293
1294 * config/mips/mips.md: Quote C code in braces. Remove use of
1295 fake const0_rtx operands. Remove double backslashes. Use \;.
1296 Remove workarounds for bogus warnings.
1297
1298 2003-08-18 Richard Sandiford <rsandifo@redhat.com>
1299
1300 * config/mips/mips.md (muldf3, mulsf3): Don't call a gen_* function.
1301 (muldf3_internal, muldf3_r4300): Select based on TARGET_4300_MUL_FIX
1302 rather than TARGET_MIPS4300.
1303 (mulsf3_internal, mulsf3_r4300): Likewise.
1304
1305 2003-08-18 Richard Sandiford <rsandifo@redhat.com>
1306
1307 * config/mips/mips.md: Renumber unspecs. Clean up comments.
1308
1309 2003-08-17 Roger Sayle <roger@eyesopen.com>
1310
1311 * simplify-rtx.c (associative_constant_p): New function to test
1312 whether an RTX expression is an immediate constant.
1313 (simplify_associative_operation): New function to perform some
1314 reassociation optimizations of associative binary expressions.
1315 (simplify_binary_operation): Use simplify_associative_operation
1316 to simplify PLUS, MULT, AND, IOR, XOR, SMIN, SMAX, UMIN and UMAX.
1317 Floating point expressions are only reassociated when unsafe
1318 math optimizations are permitted.
1319
1320 2003-08-17 Andreas Jaeger <aj@suse.de>
1321
1322 * config/alpha/alpha.md: Remove usage of PARAMS.
1323
1324 * config/i386/cygwin.h: Convert K&R prototypes to ISO C90.
1325 * config/i386/i386-interix.h: Likewise.
1326 * config/i386/winnt.c: Likewise.
1327 * config/i386/cygming.h: Likewise.
1328 * config/i386/cygwin2.c: Likewise.
1329 * config/darwin.c: Likewise.
1330 * config/darwin-c.c: Likewise.
1331 * config/darwin-protos.h: Likewise.
1332 * config/darwin.h: Likewise.
1333 * config/s390/s390-protos.h: Likewise.
1334 * config/s390/s390.c: Likewise.
1335 * config/ia64/ia64.c: Likewse
1336 * config/ia64/ia64-protos.h: Likewise.
1337 * config/ia64/ia64-c.c: Likewise.
1338
1339 2003-08-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1340
1341 * config/sparc/sparc.c: Convert to ISO C.
1342
1343 * config/sparc/sparc-protos.h: Don't use the PARAMS macro.
1344 * config/sparc/sparc.c: Likewise.
1345
1346 2003-08-16 Nathan Sidwell <nathan@codesourcery.com>
1347
1348 PR c++/11512
1349 * stmt.c (expand_expr_stmt_value): Don't warn about any void
1350 typed expression.
1351
1352 2003-08-16 Jan Hubicka <jh@suse.cz>
1353
1354 * i386.c (ix86_fntype_regparm): Rename from ...
1355 (ix86_function_regparm): ... this one; add fastcall and local
1356 functions.
1357 (ix86_function_ok_for_sibcall): Update.
1358 (ix86_return_pops_args): Likewise.
1359 (init_cumulative_args): Likewise.
1360 (x86_can_output_mi_thunk): Likewise.
1361 (function_arg): Fix formating.
1362 (x86_this_parameter): Fix fastcall.
1363 (x86_output_mi_thunk): Likewise.
1364
1365 * cgraph.c (cgraph_mark_needed_node): Do not mark functions without
1366 body as reachable; mark nested functions as needed too.
1367 (dump_cgraph): Do not output global.calls.
1368 * cgraph.h (cgraph_global_info): Kill.
1369 * cgraphunit.c (cgraph_finalize_function): Enqueue needed functions.
1370 (record_call_1): Speedup.
1371 (cgraph_analyze_function): Break out from ...; compute inlining
1372 parameters.
1373 (cgraph_finalize_compilation_unit): ... here.
1374 (cgraph_mark_inline): Kill computation of calls.
1375 (cgraph_decide_inlining): Do not compute most of initial values.
1376
1377 2003-08-14 Roger Sayle <roger@eyesopen.com>
1378
1379 * fold-const.c (negate_expr_p): MULT_EXPRs and RDIV_EXPRs are easy
1380 to negate if either operand is easy to negate, if we don't care
1381 about sign-dependent rounding.
1382 (negate_expr): Make the logic to negate a REAL_CST explicit.
1383 Attempt to negate a MULT_EXPR or RDIV_EXPR by negating an operand
1384 that's easy to negate, if we don't honor sign-dependent rounding.
1385 (fold <MULT_EXPR>): Optimize -A * B as A * -B if B is easy to
1386 negate, and the symmetric A * -B as -A * B if A is easy to negate.
1387 (fold <RDIV_EXPR>): Likewise, optimize -A/B and C/-D as A/-B and
1388 -C/D if B and C are cheap to negate. Add an explicit rule to
1389 optimize X/-1.0 as -X when we don't care about signaling NaNs.
1390
1391 2003-08-14 Zack Weinberg <zack@codesourcery.com>
1392
1393 * Makefile.in (tm_file): Rename tm_include_list.
1394 (tm_p_file): Rename tm_p_include_list.
1395 (build_xm_file): Rename build_xm_include_list.
1396 (host_xm_file): Rename host_xm_include_list.
1397 (xm_file): Rename xm_include_list.
1398 (xm_file_list): Add to be substituted.
1399 (cs-config.h, cs-bconfig.h, cs-tconfig.h, cs-tm.h, cs-tm_p.h):
1400 Update to match.
1401 (bt-load.o): Add missing dependency on $(TM_H).
1402 * configure.in: Prefix value of EXTRA_MODES_FILE with config/.
1403 For each of tm_file, tm_p_file, xm_file, host_xm_file, and
1404 build_xm_file, generate both *_file_list and *_include_list
1405 values from it. (xm_file_list was formerly not being generated.)
1406 In *_include_list, prefix the names of all headers found in
1407 $(srcdir)/config with config/. In each loop, consider only
1408 the special case files that can actually appear in that list.
1409 AC_SUBST all *_file_list and all *_include_list variables; do
1410 not AC_SUBST the plain *_file variables.
1411 * configure: Regenerate.
1412
1413 2003-08-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1414
1415 * cfg.c (dump_edge_info): Add name of loop_exit edge flag.
1416
1417 2003-08-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1418
1419 * pa.c (pa_adjust_insn_length): Delete adjustment for delay slot in
1420 direct calls.
1421 (attr_length_call): Include it here. Improve length estimate for
1422 local calls.
1423 (output_call): Use targetm.binds_local_p.
1424
1425 2003-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1426
1427 * builtins.c (CASE_MATHFN): New helper macro.
1428 (mathfn_built_in): Simplify and sort.
1429
1430 * protoize.c (substr): Delete, callers changed to `strstr'.
1431
1432 2003-08-13 Zack Weinberg <zack@codesourcery.com>
1433
1434 * config.gcc (iq2000*-*-elf*): Don't set xm_file.
1435 * config/iq2000/xm-iq2000.h: Delete file.
1436
1437 2003-08-13 Geoffrey Keating <geoffk@apple.com>
1438
1439 * gengtype.c (walk_type): Process a subobject before processing
1440 the pointer that points to the subobject.
1441
1442 2003-08-13 Per Bothner <pbothner@apple.com>
1443
1444 * regclass.c (init_reg_modes): Make non-static.
1445 Rename to init_reg_modes_once per new naming convention.
1446 (init_regs): Don't call init_reg_modes here.
1447 * emit-rtl.c (init_emit_once): Call init_reg_modes_once here instead.
1448 * rtl.h (init_reg_modes_once): New declaration.
1449 * toplev.c (backend_init): Call init_regs after init_emit_once.
1450
1451 2003-08-13 Kaz Kojima <kkojima@gcc.gnu.org>
1452
1453 * config/sh/linux.h (DBX_REGISTER_NUMBER): Define so to map a
1454 special index for MD_FALLBACK_FRAME_STATE_FOR to itself.
1455
1456 2003-08-13 J"orn Rennecke <joern.rennecke@superh.com>
1457
1458 * sh.c (sh_get_pr_initial_val): Always wrap in unspec for TARGET_SH1.
1459 * sh.md (load_ra): Change insn predicate to TARGET_SH1.
1460
1461 2003-08-13 Dale Johannesen <dalej@apple.com>
1462
1463 * config/rs6000/rs6000.md (ctrsi, ctrdi): Reenable
1464 handling of decrement-and-branch farther than 32 bits.
1465
1466 2003-08-12 Kelley Cook <kelleycook@wideopenwest.com>
1467
1468 * configure.in (make_compare_target): Move test to ...
1469 * aclocal.m4 (gcc_AC_PROG_CMP_IGNORE_INITIAL): here.
1470 * configure: Regenerate.
1471
1472 2003-08-12 Richard Sandiford <rsandifo@redhat.com>
1473
1474 * config/mips/iris6.h: Convert to C90 prototypes.
1475 * config/mips/irix6-libc-compat.c: Likewise.
1476 * config/mips/mips-protos.h: Likewise.
1477 * config/mips/mips.c: Likewise.
1478
1479 2003-08-12 Nathanael Nerode <neroden@gcc.gnu.org>
1480
1481 fixinc/inclhack.def (svr4_krnl): Rename from svr4_kernel. Enable
1482 for selected machines. Comment heavily.
1483 fixinc/fixincl.x: Rebuild.
1484 fixinc/tests/base/fs/rfs/rf_cache.h: New file.
1485
1486 2003-08-12 Richard Sandiford <rsandifo@redhat.com>
1487
1488 * config/mips/mips.h: Tweak various comments.
1489 * config/mips/mips.c: Likewise.
1490
1491 2003-08-11 James E Wilson <wilson@tuliptree.org>
1492
1493 PR optimization/11319
1494 PR target/10021
1495 * alias.c (find_base_value, case REG): Return 0 not src if no base
1496 found.
1497
1498 2003-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1499
1500 * gcse.c (gmalloc): Fix last change.
1501
1502 2003-08-11 Roger Sayle <roger@eyesopen.com>
1503
1504 * simplify-rtx.c (simplify_binary_operation): Replace calls to
1505 gen_rtx_NEG and gen_rtx_NOT with calls to simplify_gen_unary,
1506 and calls to gen_rtx_PLUS, gen_rtx_MULT, gen_rtx_LSHIFTRT,
1507 gen_rtx_ASHIFT and gen_rtx_AND with calls to simplify_gen_binary.
1508
1509 2003-08-11 Roger Sayle <roger@eyesopen.com>
1510
1511 * expr.c (expand_expr): If an ABS_EXPR has a complex type, abort.
1512 * c-typeck.c (build_unary_op): COMPLEX_TYPE is not a valid
1513 typecode for an ABS_EXPR.
1514
1515 * doc/c-tree.texi: Document ABS_EXPR.
1516
1517 2003-08-11 Roger Sayle <roger@eyesopen.com>
1518
1519 * fold-const.c (fold): Optimize any associative floating point
1520 operator with -funsafe-math-optimizations, not just MULT_EXPR.
1521
1522 2003-08-11 Kaz Kojima <kkojima@gcc.gnu.org>
1523
1524 * config/sh/lib1funcs.asm (__udivdi3): Add .type and .size
1525 information in SHmedia case too.
1526 (__divdi3, __umoddi3, __moddi3, __init_trampoline, __ic_invalidate):
1527 Likewise.
1528 (__set_fpscr): Use an access via GOT for PIC case.
1529
1530 2003-08-11 Kelley Cook <kelleycook@wideopenwest.com>
1531
1532 * configure.in (intermodule): Make switch test more portable.
1533 * configure: Regenerate.
1534
1535 2003-08-11 Kelley Cook <kelleycook@wideopenwest.com>
1536
1537 * Makefile.in (cleanstrap): Pass BOOT_CFLAGS to bootstrap.
1538 (restrap): Likewise.
1539
1540 2003-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1541
1542 * gcse.c (gmalloc): Argument is a size_t. Add ATTRIBUTE_MALLOC.
1543 (grealloc): Size argument is a size_t.
1544 (gcalloc): New function. Use throughout in lieu of
1545 gmalloc/memset.
1546
1547 * config/avr/avr.c (avr_init_once): Use xcalloc in lieu of
1548 xmalloc/memset.
1549 * config/ia64/ia64.c (ia64_reorg): Likewise.
1550 * conflict.c (conflict_graph_new): Likewise.
1551 * fixinc/fixincl.c (run_compiles): Likewise.
1552 * genattrtab.c (optimize_attrs): Likewise.
1553 * genrecog.c (new_decision): Likewise.
1554 * haifa-sched.c (schedule_block): Likewise.
1555 * hashtable.c (ht_create): Likewise.
1556
1557 2003-08-11 Bob Wilson <bob.wilson@acm.org>
1558
1559 * config/xtensa/lib2funcs.S: Fix whitespace.
1560 * config/xtensa/xtensa.md (all insns and expanders): Use brace block
1561 syntax where appropriate. Remove unnecessary backslash escapes.
1562 Reformat comments and fix some code formatting.
1563 (extendqisi2): Rearrange conditional.
1564 (*btrue, *bfalse, *ubtrue, *ubfalse, *bittrue, *bitfalse, *masktrue,
1565 *maskfalse, movsicc_internal0, movsfcc_internal0): Call abort instead
1566 of fatal_insn.
1567
1568 2003-08-11 Richard Sandiford <rsandifo@redhat.com>
1569
1570 * config/mips/mips.c: Various formatting fixes.
1571 (override_options): Resync -mtune handling with gas.
1572 (mips_issue_rate): Rearrange like mips_use_dfa_pipeline_interface.
1573 * config/mips/mips.h: More formatting fixes.
1574 (mips_abi): Move declaration.
1575 * config/mips/mips.md (exception_receiver): Add mode to
1576 unspec_volatile.
1577
1578 2003-08-11 Aldy Hernandez <aldyh@redhat.com>
1579
1580 * config/rs6000/rs6000.c (spe_init_builtins): Handle evsplati and
1581 evsplatfi here.
1582 (bdesc_1arg): Remove evsplati and evsplatfi.
1583
1584 2003-08-11 J"orn Rennecke <joern.rennecke@superh.com>
1585
1586 * dwarf2asm.c (dw2_output_indirect_constant_1): Take user_label_prefix
1587 into account.
1588
1589 2003-08-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1590
1591 * builtins.c (expand_builtin_strcat): Optimize constant strings.
1592
1593 2003-08-10 Gabriel Dos Reis <gdr@integrable-solutions.net>
1594
1595 * pretty-print.c (pp_base_indent): Rename from pp_indent.
1596 * c-pretty-print.h (pp_c_pretty_print_flag)s: New datatype.
1597 (struct c_pretty_print_info): Add more fields.
1598 (pp_c_left_paren): Move to c-pretty-print.c.
1599 (pp_c_right_paren): Likewise.
1600 (pp_c_left_brace): Likewise.
1601 (pp_c_right_brace): Likewise.
1602 (pp_c_left_bracket): Likewise.
1603 (pp_c_right_bracket): Likewise.
1604 (pp_c_declarator): Declare.
1605 (pp_c_direct_declarator): Likewise.
1606 (pp_c_specifier_qualifier_list): Likewise.
1607 (pp_c_type_id): Likewise.
1608 * c-pretty-print.c (pp_c_cv_qualifier): Change prootype. Rework..
1609 (pp_c_type_qualifier_list): New.
1610 (pp_c_pointer): Likewise.
1611 (pp_c_parameter_type_list): Likewise.
1612 (pp_c_function_definition): Likewise.
1613 (pp_c_id_expression): Likewise.
1614 (pp_c_simple_type_specifier): Tidy.
1615 (pp_c_unary_expression): Likewise.
1616 (pp_c_expression): Likewise.
1617 (pp_c_pretty_printer_init): Likewise.
1618 (pp_c_specifier_qualifier_list): Rework..
1619 (pp_c_abstract_declarator): Likewise.
1620 (pp_c_postfix_expression): Likewise.
1621 (pp_c_primary_expression): Likewise.
1622 (pp_c_cast_expression): Likewise.
1623 (pp_c_direct_abstract_declarator): Likewise.
1624 (pp_c_storage_class_specifier): Likewise.
1625 (pp_c_function_specifier): Likewise.
1626 (pp_c_declaration_specifiers): Likewise.
1627 (pp_c_direct_declarator): Likewise.
1628 (pp_c_declarator): Likewise.
1629 (pp_c_declaration): Likewise.
1630 (pp_c_statement): Likewise.
1631 (pp_c_integer_constant): Rename from pp_c_integer_literal.
1632 (pp_c_character_constant): Rename from pp_c_character_literal.
1633 (pp_c_bool_constant): Rename from pp_c_bool_literal.
1634 (pp_c_enumeration_constant): Rename from pp_c_enumerator.
1635 (pp_c_floating_constant): Rename from pp_c_real_literal.
1636 (pp_c_constant): Rename from pp_c_literal.
1637 * c-lang.c: Include diagnostic.h and c-pretty-print.h
1638 (LANG_HOOKS_INITIALIZE_DIAGNOSTITCS): Define.
1639 (c_initialize_diagnostics): New.
1640 * Makefile.in (c-lang.o): Update dependency.
1641
1642 2003-08-10 Nathan Sidwell <nathan@codesourcery.com>
1643
1644 * c-typeck.c (digest_init): Add conversion for VECTOR_TYPEs.
1645
1646 2003-08-10 Richard Sandiford <rsandifo@redhat.com>
1647
1648 * config/mips/mips.c (mips_no_mips16_string): Remove.
1649 (override_options): Don't handle -mips16 as part of -mipsN.
1650 * config/mips/mips.h (mips_no_mips16_string): Remove declaration.
1651 (TARGET_SWITCHES): Add -mips16 and -mno-mips16 entries.
1652 (TARGET_OPTIONS): Remove -mno-mips16.
1653
1654 2003-08-10 Richard Sandiford <rsandifo@redhat.com>
1655
1656 * config/mips/mips-protos.h (coprocessor_operand): Remove declaration.
1657 (coprocessor2_operand): Likewise.
1658 * config/mips/mips.c (STAB_CODE_TYPE): Remove.
1659 (lookup_name): Remove declaration.
1660 (abort_with_insn): Remove. Replace all uses with fatal_insn.
1661 (mips16, mips_abicalls): Remove.
1662 (mips_char_to_class): Remove initialiser: all entries are NO_REGS.
1663 (arith32_operand, large_int, true_reg_or_0_operand): Remove.
1664 (coprocessor_operand, coprocessor2_operand): Remove.
1665 (override_options): Don't set mips16 or mips_abicalls.
1666 (print_operand): Don't expect SIGN_EXTEND operands.
1667 (mips_secondary_reload_class): Likewise.
1668 (mips_output_conditional_branch): Remove disabled long-branch code.
1669 * config/mips/mips.h (call_used_regs): Remove declaration.
1670 (may_call_alloca): Likewise.
1671 (mips_cpu_attr, mips_abicalls_type, mips_abicalls_attr): Remove.
1672 (mips_abicalls, mips16): Remove declarations.
1673 (ASM_FINAL_SPEC, LIB_SPEC): Remove.
1674 (CC1_SPEC): Remove outdated comment.
1675 (MIPS_VERSION, MACHINE_TYPE): Remove.
1676 (TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove.
1677 (PC_REGNUM, STACK_POINTER_OFFSET): Remove disabled definitions.
1678 (STRUCT_VALUE_RETURN_REGNUM, STACK_DYNAMIC_OFFSET): Likewise.
1679 (PUSH_ROUNDING): Likewise.
1680 (ASSEMBLER_SCRATCH_REGNUM): Remove.
1681 * config/mips/mips.md: Replace mips_cpu_attr with mips_tune
1682 and mips16 with TARGET_MIPS16.
1683
1684 2003-08-09 Per Bothner <pbothner@apple.com>
1685
1686 * cppinit.c (cpp_read_main_file): Split out source-independent
1687 initialization to separate function ...
1688 (cpp_post_options): New function.
1689 * cppfiles.c (cpp_stack_file): Rename public name to ...
1690 (_cpp_stack_file): New internal function name.
1691 * cpplib.h: Update accordingly.
1692 * cppinit.c: (cpp_create_reader): Initialize cpp_readers line here.
1693 (cpp_read_main_file): Don't initialize line here.
1694 * c-opts.c (c_common_post_options): Call cpp_post_options.
1695 (c_common_parse_file): Call cpp_read_main_file, not cpp_stack_file.
1696 * fix-header.c (read_scan_file): Call cpp_post_options.
1697
1698 2003-08-09 Per Bothner <per@bothner.com>
1699
1700 * c-decl.c (SCOPE_LIST_APPEND): Remove bogus line continuation.
1701
1702 2003-08-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1703
1704 * pa.c (pa_asm_output_mi_thunk): Fix typo.
1705
1706 2003-08-09 Neil Booth <neil@daikokuya.co.uk>
1707
1708 PR preprocessor/11839
1709 * cppfiles.c (open_file): Handle ENOTDIR.
1710
1711 2003-08-09 Richard Sandiford <rsandifo@redhat.com>
1712
1713 PR target/11699
1714 * config/mips/mips.c (override_options): Reject -mabi=eabi -mabicalls.
1715
1716 2003-08-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1717
1718 * pa.md (extzv, extv, insv): Fix operand limit checks. Fail if
1719 source/destination is not a register operand.
1720
1721 2003-08-08 Richard Henderson <rth@redhat.com>
1722
1723 PR target/11535
1724 * config/ia64/ia64.c (ia64_initial_elimination_offset): Remove
1725 RETURN_ADDRESS_POINTER_REGNUM.
1726 (ia64_expand_prologue): Don't frob it.
1727 (ia64_output_function_epilogue): Likewise.
1728 (ia64_return_addr_rtx): New.
1729 (ia64_split_return_addr_rtx): New.
1730 * config/ia64/ia64-protos.h: Update.
1731 * config/ia64/ia64.h (FIRST_PSEUDO_REGISTER): Decrement.
1732 (RETURN_ADDRESS_POINTER_REGNUM): Remove.
1733 (GENERAL_REGNO_P): Don't check it.
1734 (AR_*_REGNUM): Renumber.
1735 (FIXED_REGISTERS): Remove RETURN_ADDRESS_POINTER_REGNUM.
1736 (CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS): Likewise.
1737 (REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Likewise.
1738 (ELIMINABLE_REGS, REGISTER_NAMES): Likewise.
1739 (RETURN_ADDR_RTX): Use ia64_return_addr_rtx.
1740 * config/ia64/ia64.md (UNSPEC_RET_ADDR): New.
1741 (movdi_ret_addr): New.
1742
1743 2003-08-08 Geoffrey Keating <geoffk@apple.com>
1744
1745 * config.gcc (powerpc-*-darwin*): Don't build a soft-float multilib.
1746
1747 2003-08-08 Roger Sayle <roger@eyesopen.com>
1748
1749 * tree.h (get_identifier) Define a macro form of get_identifier
1750 that calls get_identifier_with_length when the string is constant.
1751 (get_identifier_with_length): Change type of second argument to
1752 size_t in prototype.
1753 * stringpool.c (get_identifier): Undefine the macro before giving
1754 the function definition.
1755 (get_identifier_with_length): Change type of second argument to
1756 size_t in function definition.
1757 * hashtable.c (calc_hash): Change type of second argument to size_t.
1758 (ht_lookup): Change type of third argument to size_t. Reorganize
1759 to speed-up the cases where the hash table slot is empty, or the
1760 first probe matches (i.e. there isn't a collision).
1761 * hashtable.h (ht_lookup): Adjust function prototype.
1762
1763 2003-08-08 Bernardo Innocenti <bernie@develer.com>
1764
1765 PR target/9697
1766 PR target/11777
1767 * longlong.h (count_leading_zeros): Exclude on __mcpu32__.
1768
1769 2003-08-08 Neil Booth <neil@daikokuya.co.uk>
1770
1771 * common.opt: Add debug switches.
1772 * flags.h (use_gnu_debug_info_extensions): Boolify.
1773 * opts.c (write_symbols, debug_info_level,
1774 use_gnu_debug_info_extensions): Move from toplev.c.
1775 (set_debug_level): New.
1776 (common_handle_options): Handle debug switches.
1777 (print_help): Display target options directly.
1778 * toplev.c (debug_hooks): Don't initialize.
1779 (write_symbols, debug_info_level,
1780 use_gnu_debug_info_extensions): Move to opts.c.
1781 (debug_args, display_help, decode_g_option): Remove.
1782 (process_options): Set no debug if level zero here,
1783 and no-debug-hooks. Error here if impossible debug format selected.
1784 * toplev.h (display_help, decode_g_option): Remove.
1785
1786 2003-08-08 Richard Sandiford <rsandifo@redhat.com>
1787
1788 * tree.c (get_file_function_name_long): Fix size of alloca() area.
1789
1790 2003-08-08 Kelley Cook <kelleycook@wideopenwest.com>
1791
1792 * configure.in (gcc_cv_prog_cmp_skip): Flipflop make_compare_target
1793 and gcc_cv_prog_cmp_skip.
1794 * configure: Regenerate.
1795
1796 2003-08-08 Stan Cox <scox@redhat.com>
1797
1798 * config/iq2000: New port.
1799 * config.gcc (iq2000-*-elf): Added.
1800 * doc/install.texi (Specific): Add iq2000 description.
1801
1802 2003-08-08 Andreas Schwab <schwab@suse.de>
1803
1804 * configure.in (gcc_cv_as_ia64_ltoffx_ldxmov_relocs): Fix quoting
1805 and insert missing empty argument.
1806 * configure: Regenerate.
1807
1808 2003-08-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1809
1810 * pa.c (update_total_code_bytes): Use new macro IN_NAMED_SECTION_P.
1811 (attr_length_millicode_call): Likewise.
1812 (attr_length_call): Likewise. Revise some maximum insn lengths.
1813 (attr_length_indirect_call): Likewise.
1814 (output_call): Fix thinko that added extra nop.
1815 * pa.h (IN_NAMED_SECTION_P): Define.
1816
1817 PR c++/11712
1818 * pa-hpux.h, pa-hpux10.h, pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define
1819 __STDC_EXT__ when using C++ dialect.
1820
1821 2003-08-07 J"orn Rennecke <joern.rennecke@superh.com>
1822
1823 * sh.c (calc_live_regs): If the return address pointer is live,
1824 force pr live.
1825 (sh5_schedule_saves): Exclude PR_MEDIA_REG from being a temp register
1826 for saves / restores.
1827 (sh_expand_epilogue): If sh_media_register_for_return returns a
1828 register number, flag the instructions that restores PR_MEDIA_REG
1829 as possibly dead.
1830 Remove dead update of offset.
1831 (sh_get_pr_initial_val): Use UNSPEC_RA if we don't know yet if
1832 we can use the result of get_hard_reg_initial_val.
1833 * sh.md (UNSPEC_RA): New constant.
1834 (movsi_i_lowpart+1): Changed into a define_insn_and_split, named:
1835 (load_ra). Handle UNSPEC_RA.
1836 (sibcall_media): Use PR_MEDIA_REG.
1837
1838 * sh.h (CALL_USED_REGISTERS): Include PR_REG and PR_MEDIA_REG.
1839 * sh.c (calc_live_regs): Use sh_pr_n_sets to determine if pr
1840 needs saving on SHmedia.
1841
1842 2003-08-07 Ulrich Weigand <uweigand@de.ibm.com>
1843
1844 * config/s390/s390.md: Replace all occurrences of \\t with \t.
1845
1846 2003-08-07 Richard Sandiford <rsandifo@redhat.com>
1847
1848 * local-alloc.c (combine_regs): Fix comment typo.
1849
1850 2003-08-06 Zack Weinberg <zack@codesourcery.com>
1851
1852 * c-decl.c (builtin_decls): Replace with first_builtin_decl
1853 and last_builtin_decl.
1854 (c_init_decl_processing): Initialize both.
1855 (c_reset_state): Iterate from first_builtin_decl to
1856 last_builtin_decl inclusive to reintroduce builtins.
1857
1858 2003-08-06 David Mosberger <davidm@hpl.hp.com>
1859
1860 * doc/extend.texi (Function Attributes): Document the IA-64 version
1861 of the "model" attribute.
1862
1863 * config/ia64/ia64.h (SYMBOL_FLAG_SMALL_ADDR): New macro.
1864 (SYMBOL_REF_SMALL_ADDR_P): Ditto.
1865 (PREDICATE_CODES): Mention "small_addr_symbolic_operand".
1866
1867 * config/ia64/ia64.c (ia64_handle_model_attribute): New function.
1868 (ia64_encode_section_info): Likewise.
1869 (ia64_attribute_table): Add "model" attribute.
1870 (TARGET_ENCODE_SECTION_INFO): Define.
1871 (small_addr_symbolic_operand): New function.
1872 (got_symbolic_operand): Return 0 for a symbolref to an object
1873 in the small address area.
1874 (enum ia64_addr_area): New type.
1875 (small_ident1): New variable.
1876 (small_ident2): Likewise.
1877 (init_idents): New function.
1878 (ia64_get_addr_area): Likewise.
1879 (ia64_encode_addr_area): Likewise.
1880 (ia64_encode_section_info): Likewise.
1881 (ia64_expand_load_address): For symbolic references to objects in
1882 the small-address-area, load the address via gen_rtx_SET() (which,
1883 eventually, will expand into "addl").
1884
1885 2003-08-06 Per Bothner <pbothner@apple.com>
1886
1887 * line-map.h (fileline): New typedef.
1888 (struct line_map, linemap_add, linemap_lookup): Use it.
1889 * input.h (struct location_s): Comment notes that long-term we want
1890 to replace it by fileline.
1891
1892 2003-08-06 J"orn Rennecke <joern.rennecke@superh.com>
1893
1894 Fix SHcompact exception handling:
1895 * sh.c (sh_get_pr_initial_val): If PR is or miight be clobbered
1896 by the prologue, return a MEM with return_address_pointer_rtx
1897 as address.
1898 * sh.h (HARD_REGNO_MODE_OK): PR is OK for SImode.
1899 (RETURN_ADDR_OFFSET): Don't define.
1900 (SH_DBX_REGISTER_NUMBER): Use SHmedia numbers for SHmedia
1901 registers that are visible in compact mode. Show that SHmedia
1902 registers still exist in compact mode, even if there are not
1903 readily accessible.
1904 (ASM_PREFERRED_EH_DATA_FORMAT): Supply DW_EH_PE_indirect
1905 if GLOBAL. Use DW_EH_PE_textrel (nominally) for CODE,
1906 and DW_EH_PE_pcrel for pic data.
1907 (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): If DW_EH_PE_textrel,
1908 set SYMBOL_FLAG_FUNCTION in symbol, and actually use
1909 DW_EH_PE_pcrel / DW_EH_PE_absptr encoding.
1910 (ALLOCATE_INITIAL_VALUE): Put PR on stack if prologue clobbers it.
1911 * sh.md (movsi_media-1): New splitter.
1912
1913 2003-08-06 Graeme Peterson <gp@qnx.com>
1914
1915 * config/i386/nto.h: New.
1916 * config/i386/t-nto: New.
1917 * config.gcc (i[34567]86-*-nto-qnx*): New.
1918
1919 2003-08-06 Phil Edwards <pme@gcc.gnu.org>
1920
1921 * doc/install.texi (*-*-solaris2*): Refine configure instructions.
1922
1923 2003-08-06 Alan Modra <amodra@bigpond.net.au>
1924
1925 * calls.c (load_register_parameters): Arrange for call_fusage to
1926 report the whole register as used when shifting to the msb.
1927
1928 2003-08-05 Roger Sayle <roger@eyesopen.com>
1929
1930 * builtins.c (expand_builtin): When not optimizing, call the library
1931 function for all builtins that have library functions (except alloca).
1932
1933 2003-08-05 Alexandre Oliva <aoliva@redhat.com>
1934
1935 * c.opt: Introduce -fworking-directory.
1936 * doc/cpp.texi, doc/invoke.texi, doc/cppopts.texi: Document it.
1937 * c-common.h (flag_working_directory): Declare.
1938 * c-common.c (flag_working_directory): Define.
1939 * c-opts.c (c_common_handle_options): Set it.
1940 (sanitize_cpp_opts): Set...
1941 * cpplib.h (struct cpp_options): ... working_directory option.
1942 (struct cpp_callbacks): Add dir_change.
1943 * cppinit.c (read_original_filename): Call...
1944 (read_original_directory): New. Look for # 1 "directory//"
1945 and process it.
1946 (cpp_read_main_file): Call dir_change callback if working_directory
1947 option is set.
1948 * gcc.c (cpp_unique_options): Pass -g*.
1949 * c-lex.c (cb_dir_change): New.
1950 (init_c_lex): Set dir_change callback.
1951 * toplev.c (src_pwd): New static variable.
1952 (set_src_pwd, get_src_pwd): New functions.
1953 * toplev.h (get_src_pwd, set_src_pwd): Declare.
1954 * dbxout.c (dbxout_init): Call get_src_pwd() instead of getpwd().
1955 * dwarf2out.c (gen_compile_unit_die): Likewise.
1956 * dwarfout.c (output_compile_unit_die, dwarfout_init): Likewise.
1957
1958 2003-08-05 Gabriel Dos Reis <gdr@integrable-solutions.net>
1959
1960 * pretty-print.h (pp_set_line_maximum_length): Make macro.
1961 (pp_set_prefix): Likewise.
1962 (pp_destroy_prefix): Likewise.
1963 (pp_remaining_character_count_for_line): Likewise.
1964 (pp_clear_output_area): Likewise.
1965 (pp_formatted_text): Likewise.
1966 (pp_last_position_in_text): Likewise.
1967 (pp_emit_prefix): Likewise.
1968 (pp_append_text): Likewise.
1969 (pp_flush): Likewise.
1970 (pp_format_text): Likewise.
1971 (pp_format_verbatim): Likewise.
1972 (pp_tree_identifier): Tidy.
1973 * pretty-print.c (pp_base_format_text): Rename from pp_format_text.
1974 (pp_base_format_verbatim): Rename from pp_format_verbatim.
1975 (pp_base_flush): Rename from pp_flush.
1976 (pp_base_set_line_maximum_length): Rename from
1977 pp_set_line_maximum_length.
1978 (pp_base_clear_output_area): Rename from pp_clear_output_area.
1979 (pp_base_set_prefix): Rename from pp_set_prefix.
1980 (pp_base_destroy_prefix): Rename from pp_destroy_prefix.
1981 (pp_base_emit_prefix): Rename from pp_emit_prefix.
1982 (pp_base_append_text): Rename from pp_append_text.
1983 (pp_base_formatted_text): Rename from pp_formatted_text.
1984 (pp_base_last_position_in_text): Rename from pp_last_position_in_text.
1985 (pp_base_remaining_character_count_for_line): Rename from
1986 pp_remaining_character_count_for_line.
1987 * diagnostic.h (diagnostic_format_decoder): Tidy.
1988 (diagnostic_flush_buffer): Likewise.
1989 * c-pretty-print.h: (pp_c_string_literal): Declare.
1990 (pp_c_real_literal): Likewise.
1991 (pp_c_integer_literal): Likewise.
1992 * c-pretty-print.c (pp_c_char): Use pp_string in lieu of
1993 pp_identifier.
1994 (pp_c_character_literal): Tidy.
1995 (pp_c_string_literal): Make public.
1996 (pp_c_bool_literal): Likewise.
1997 (pp_c_integer_literal): Likewise.
1998 (pp_c_real_literal): Likewise.
1999
2000 * Makefile.in (C_PRETTY_PRINT_H): New variable.
2001 (c-pretty-print.o): Update dependence.
2002
2003 2003-08-05 Chris Demetriou <cgd@broadcom.com>
2004
2005 * config/mips/mips.md (fix_truncdfsi2_macro): Properly restore
2006 ".set nomacro" state.
2007 (fix_truncsfsi2_macro): Likewise.
2008
2009 2003-08-05 Steven Bosscher <steven@gcc.gnu.org>
2010
2011 * tree.h (DID_INLINE_FUNC): Remove macro.
2012 (DECL_DECLARED_INLINE_P): Move from c-tree.h and cp/cp-tree.h,
2013 add tree check for FUNCTION_DECL.
2014 (DECL_ESTIMATED_INSNS): Move from c-common.h and java/java-tree.h.
2015 (struct tree_decl): Rename inlined_function_flag to
2016 declared_inline_flag.
2017 * c-common.h (c_lang_decl): Remove.
2018 (DECL_ESTIMATED_INSNS): Remove.
2019 * c-tree.h (struct lang_decl): Don't include c_lang_decl.
2020 (DECL_DECLARED_INLINE_P): Remove.
2021 * c-decl.c (grokdeclarator): Update comment. With -finline-functions,
2022 do not reset DECL_DECLARED_INLINE_P. Don't use DID_INLINE_FUNC.
2023 (finish_function): Make uninlinable a bool. Fixup call to
2024 tree_inlinable_function_p() and fix some code style issues.
2025 * cgraph.h (disgread_inline_limits): Fix spelling: `disregard'.
2026 * cgraph.c (dump_cgraph): Likewise.
2027 * cgraphunit.c (cgraph_decide_inlining): Likewise
2028 (cgraph_finalize_compilation_unit): Likewise.
2029 Also update call to tree_inlinable_function_p().
2030 (cgraph_default_inline_p): Don't use DID_INLINE_FUNC. Instead
2031 look at DECL_DECLARED_INLINE and reverse logic.
2032 * print-tree.c (print_node): Likewise.
2033 * toplev.c (rest_of_handle_inlining): Don't use DID_INLINE_FUNC.
2034 * tree-inline.h (tree_inlinable_function_p): Make a bool. Update
2035 prototype.
2036 * tree-inline.c (inlinable_function_p): Split up in this function to
2037 check for basic inlining inhibiting conditions, and new
2038 limits_allow_inlining() function. Warn if inlining is impossible
2039 because the inline candidate calls alloca or uses sjlj exceptions.
2040 (limits_allow_inlining): this new function to check if the inlining
2041 limits are satisfied. Throttle from currfn_max_inline_insns, not from
2042 MAX_INLINE_INSNS_SINGLE. The latter only makes sense if
2043 MAX_INLINE_INSNS_AUTO and MAX_INLINE_INSNS_SINGLE are equal.
2044 Update prototypes.
2045 (tree_inlinable_function_p): Make a bool. Update call to
2046 inlinable_function_p
2047 (expand_call_inline): Use limits_allow_inlining() when not in
2048 unit-at-a-time mode to decide on inlining. Don't use DID_INLINE_FUNC,
2049 instead see if the function was declared `inline'.
2050
2051 2003-08-05 Josef Zlomek <zlomekj@suse.cz>
2052
2053 * gcse.c (try_replace_reg): Fix updating of note.
2054
2055 2003-08-04 Roger Sayle <roger@eyesopen.com>
2056
2057 PR middle-end/11771
2058 * fold-const.c (negate_expr_p <MINUS_EXPR>): Change to match the
2059 logic in negate_expr, i.e. we don't invert (A-B) for floating
2060 point types unless flag_unsafe_math_optimizations.
2061
2062 2003-08-04 Roger Sayle <roger@eyesopen.com>
2063
2064 * fold-const.c (fold <PLUS_EXPR>): Transform x+x into x*2.0.
2065 Optimize x*c+x and x+x*c into x*(c+1) and x*c1+x*c2 into x*(c1+c2)
2066 for floating point expressions with -ffast-math.
2067 (fold <MULT_EXPR>): Don't transform x*2.0 into x+x.
2068 * expmed.c (expand_mult): Wrap long line. Expand x*2.0 as x+x.
2069
2070 2003-08-04 Roger Sayle <roger@eyesopen.com>
2071
2072 * c-common.c (flag_noniso_default_format_attributes): Delete.
2073 (built_in_attribute): Don't define/undefine DEF_FN_ATTR.
2074 (c_attrs_initialized): Delete.
2075 (c_common_nodes_and_builtins): Don't test c_attrs_initialized,
2076 always call c_init_attributes.
2077 (c_init_attributes): Don't define/undefine DEF_FN_ATTR. Don't
2078 set c_attrs_initialized when done.
2079 (c_common_insert_default_attributes): Delete.
2080 * c-common.h (flag_noniso_default_format_attributes): Delete.
2081 (c_coomon_insert_default_attributes): Delete prototype.
2082 * c-opts.c (set_std_c89, set_std_c99, set_std_cxx98): Dont set
2083 flag_noniso_default_format_attributes.
2084
2085 * c-decl.c (c_insert_default_attributes): Delete.
2086 * c-tree.h (c_insert_default_attributes): Delete prototype.
2087
2088 * attribs.c (decl_attributes): Don't call insert_default_attributes
2089 langhook. Update function description comment.
2090 * langhooks.h (lang_hooks): Remove insert_default_attributes field.
2091 * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Delete.
2092 * c-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Don't define.
2093 * system.h: Poison LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES macro.
2094
2095 * objc/objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Don't
2096 define.
2097
2098 2003-08-04 Richard Sandiford <rsandif@redhat.com>
2099
2100 * config/mips/mips.c (override_options): Disable -G on targets that
2101 have no .section support.
2102 (mips_select_section): Use default_select_section for such targets.
2103
2104 2003-08-04 Nathanael Nerode <neroden@gcc.gnu.org>
2105
2106 * fixinc/inclhack.def (svr4_undeclared_getrnge): Introduce and enable.
2107 * fixinc/inclhack.def (static_getrnge): Remove disabled hack.
2108 * fixinc/fixincl.x: Rebuild.
2109 * fixinc/tests/base/regexp.h: New test.
2110
2111 2003-08-04 Alexandre Oliva <aoliva@redhat.com>
2112
2113 * c-ppoutput.c (cb_line_change): Don't skip line changing while
2114 parsing macro arguments in the top-level context.
2115
2116 2003-08-04 Neil Booth <neil@daikokuya.co.uk>
2117
2118 * config.in: Remove HAVE_LSTAT.
2119 * configure, configure.in: Don't test for lstat.
2120
2121 2003-08-03 Gabriel Dos Reis <gdr@integrable-solutions.net>
2122
2123 * opts.c (decode_options): Do language-specific initialization for
2124 the global diagnostic context.
2125 * langhooks-def.h (lhd_initialize_diagnostics): Declare.
2126 (LANG_HOOKS_INITIALIZE_DIAGNOSTITCS): New macro.
2127 (LANG_HOOKS_INITIALIZER): Adjust.
2128 * langhooks.h (struct lang_hooks): Add new field
2129 initialize_diagnostics.
2130 * langhooks.c (lhd_initialize_diagnostics): Define.
2131
2132 2003-08-03 Gabriel Dos Reis <gdr@integrable-solutions.net>
2133
2134 * pretty-print.h: Adjust macro definitions.
2135 * pretty-print.c (pp_newline): Rename to pp_base_newline.
2136 (pp_character): Rename to pp_base_character.
2137 (pp_string): Rename to pp_base_string.
2138 * c-pretty-print.c (pp_buffer): Move to pretty-print.h
2139 (pp_newline): Likewise. Adjust.
2140 (pp_c_char): Adjust.
2141
2142 2003-08-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2143
2144 * builtins.def (BUILT_IN_ABS, BUILT_IN_IMAXABS, BUILT_IN_LABS,
2145 BUILT_IN_LLABS): Move to miscellaneous section.
2146
2147 2003-08-03 Neil Booth <neil@daikokuya.co.uk>
2148
2149 PR preprocessor/11534
2150 * cppexp.c (parse_defined): Warn only if -pedantic.
2151
2152 2003-08-03 Neil Booth <neil@daikokuya.co.uk>
2153
2154 * cppfiles.c (stack_file): Use file path.
2155
2156 2003-08-02 Roger Sayle <roger@eyesopen.com>
2157
2158 * builtin-types.def (BT_SSIZE): New primitive type.
2159 (BT_FN_INT_PTR_CONST_STRING_VALIST_ARG,
2160 BT_FN_STRING_CONST_STRING_CONST_STRING_INT,
2161 BT_FN_SIZE_STRING_SIZE_CONST_STRING_CONST_PTR,
2162 BT_FN_SSIZE_STRING_SIZE_CONST_STRING_VAR): New function types.
2163 * builtins.def (BUILT_IN_DCGETTEXT, BUILT_IN_DGETTEXT,
2164 BUILT_IN_FSCANF, BUILT_IN_GETTEXT, BUILT_IN_STRFMON,
2165 BUILT_IN_STRFTIME, BUILT_IN_VFPRINTF, BUILT_IN_VFSCANF): New builtins.
2166 * builtin-attrs.def: Remove DEF_FN_ATTR construct and the last
2167 few functions that define default attributes using it.
2168 * c-common.c (c_common_insert_default_attributes): Do nothing.
2169
2170 * doc/extend.texi: Document these "new" builtins.
2171
2172 2003-08-02 Kaz Kojima <kkojima@gcc.gnu.org>
2173
2174 * config/sh/linux.h (SUBTARGET_LINK_SPEC): Don't set rpath.
2175 (LIB_SPEC): Set -lpthread always when -pthread set. Set -lieee
2176 when -mieee-fp set and -shared not set.
2177 (SH_FALLBACK_FRAME_FLOAT_STATE): Don't define for SH5.
2178
2179 2003-08-02 Neil Booth <neil@daikokuya.co.uk>
2180
2181 * cppfiles.c (struct _cpp_file): Rename once_only_next to
2182 next_file. Remove import and pragma_once, add once_only.
2183 (find_file): Add new file structures to the all_files list.
2184 (should_stack_file): Mark #import-ed files once-only, and
2185 don't stack them if the file has already been stacked.
2186 (_cp_mark_file_once_only): Simplify.
2187 * cpphash.h (struct cpp_reader): Rename once_only_files
2188 to all_files. Rename saw_pragma_once to seen_once_only.
2189 (_cpp_mark_file_once_only): Update prototype.
2190 * cpplib.c (do_pragma_once): Update.
2191
2192 2003-08-02 Neil Booth <neil@daikokuya.co.uk>
2193
2194 * cppfiles.c (ENOTDIR): Remove.
2195 (open_file_in_dir): Rename find_file_in_dir. Handle errors
2196 other than ENOENT here.
2197 (once_only_file_p): Rename should_stack_file.
2198 (find_file, open_file_failed, read_file_guts): Report errors
2199 with full path name.
2200 (read_file): Move pch handling to should_stack_file.
2201 (should_stack_file): Handle PCH and once-only issues, and
2202 reading the file.
2203 (stack_file): Don't do file reads.
2204
2205 2003-08-02 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2206
2207 * libgcov.c (gcov_exit): Cleanup and fix.
2208 * profile.c (compute_value_histograms): Don't try to read profiles
2209 that are not present.
2210
2211 2003-08-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2212
2213 * builtins.def: Categorize.
2214
2215 * builtins.def (BUILT_IN_CABS, BUILT_IN_CABSF, BUILT_IN_CABSL):
2216 Mind fp rounding.
2217 (BUILT_IN_FFSL): Use DEF_EXT_LIB_BUILTIN.
2218
2219 2003-08-02 Andreas Tobler <a.tobler@schweiz.ch>
2220
2221 * config.gcc: Enable posix threads by default on darwin.
2222
2223 2003-08-01 Jakub Jelinek <jakub@redhat.com>
2224
2225 * cfgcleanup.c (outgoing_edges_match): Check REG_EH_REGION notes
2226 even if nehedges1 is 0.
2227
2228 2003-08-01 Nathanael Nerode <neroden@gcc.gnu.org>
2229
2230 * fixinc/fixfixes.c, fixinc/fixlib.c, fixinc/fixlib.h,
2231 fixinc/fixtests.c, fixinc/procopen.c, fixinc/server.c,
2232 fixinc/server.h, fixinc/fixincl.c: ANSIfy function prototypes
2233 and defintions.
2234
2235 * fixinc/inclhack.def (broken_cabs): Make matching more generous.
2236 * fixinc/fixincl.x: Regenerate.
2237 * fixinc/tests/base/math.h: Regenerate to match test_text change.
2238
2239 2003-08-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2240
2241 * ggc-common.c (gt_pch_restore): Case MAP_FAILED to void *.
2242
2243 2003-08-01 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2244
2245 * except.c (sjlj_emit_dispatch_table): Use ptr_mode, not Pmode,
2246 for accesses to exc_ptr.
2247
2248 2003-08-01 Geoffrey Keating <geoffk@apple.com>
2249
2250 * doc/sourcebuild.texi (Front End Directory): Don't make references
2251 to libsubdir, it's not part of the interface to frontends.
2252 * doc/install.texi (Configuration): Help users read faster by saying
2253 that GCC's configure options are the standard autoconf ones.
2254 Mention --libdir. Update the default rules for finding the
2255 assembler. Don't use libsubdir since we haven't said what it means.
2256 (Specific): In the Solaris 7 notes, update the place to put the
2257 assembler.
2258 * doc/invoke.texi: Update lib/gcc-lib to lib/gcc.
2259 * doc/cpp.texi (Search Path): Actually, the search path
2260 depends on libdir, which can relocate with cpp.
2261 * doc/tm.texi (Driver): Don't document STANDARD_EXEC_PREFIX, it's
2262 now a private interface between the Makefile and the driver.
2263
2264 2003-08-01 Richard Henderson <rth@redhat.com>
2265
2266 * system.h: Poison ASM_SIMPLIFY_DWARF_ADDR.
2267
2268 * varasm.c (lookup_constant_def): New function.
2269 * rtl.h (lookup_constant_def): Declare it.
2270 * dwarf2out.c (loc_descriptor_from_tree): Use it.
2271 Use targetm.delegitimize_address, not ASM_SIMPLIFY_DWARF_ADDR.
2272
2273 2003-08-01 Zack Weinberg <zack@codesourcery.com>
2274
2275 * c-decl.c (gettags, pushdecl_function_level): Delete.
2276 (last_function_parm_vars): Rename last_function_parm_others.
2277 (current_function_parm_vars): Rename current_function_parm_others.
2278 (struct c_scope): Rewrite comment explaining this data structure.
2279 Add names_last, blocks_last, parms_last fields. Rename
2280 incomplete_list to incomplete.
2281 (SCOPE_LIST_APPEND, SCOPE_LIST_CONCAT): New macros.
2282 (poplevel): Ignore second argument. No need to nreverse
2283 anything. Restructure such that each list is processed
2284 exactly once. Use 'const location_t *locus' syntactic sugar
2285 variable where useful. Issue unused variable warnings
2286 ourselves, do not rely on function.c.
2287 (insert_block, pushdecl, bind_label): Use SCOPE_LIST_APPEND.
2288 (pushdecl_top_level): Likewise. Don't call duplicate_decls.
2289 (implicitly_declare): decl cannot be error_mark_node.
2290 (undeclared_variable): Manipulate scope structure directly.
2291 (c_make_fname_decl): Likewise.
2292 (getdecls, c_init_decl_processing): Fix comment.
2293 (mark_forward_parm_decls): Use SCOPE_LIST_CONCAT. No need
2294 for 'last' variable.
2295 (grokparms): No need to nreverse parms list.
2296 (store_parm_decls_newstyle): Set up the parms_last and
2297 names_last fields of the new scope too.
2298 (store_parm_decls_oldstyle): Can assume DECL_WEAK is not set
2299 on parms to begin with; check this under ENABLE_CHECKING. Set
2300 up parms_last.
2301 (check_for_loop_decls): Refer directly to current_scope->tags.
2302 Use consistent quote style in diagnostics.
2303 (c_write_global_declarations): The names list is not backward.
2304
2305 * c-common.h: Don't prototype gettags.
2306 * c-parse.in: Call poplevel with second argument 0 always.
2307
2308 2003-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2309
2310 * builtins.def: Resort builtins.
2311
2312 2003-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2313
2314 * builtins.def (DEF_GCC_BUILTIN, DEF_LIB_BUILTIN,
2315 DEF_EXT_LIB_BUILTIN, DEF_C99_BUILTIN, DEF_C99_C90RES_BUILTIN):
2316 Prepend "__builtin_" onto NAME with string concatenation. Remove
2317 explicit "__builtin_" from each macro call.
2318
2319 Reformat entire file.
2320
2321 2003-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2322
2323 * builtins.def (ATTR_MATHFN_ERRNO, ATTR_MATHFN_FPROUNDING,
2324 ATTR_MATHFN_FPROUNDING_ERRNO): New macros. Use throughout.
2325
2326 2003-08-01 Andreas Krebbel <krebbel1@de.ibm.com>
2327
2328 * config/s390/s390.c (s390_select_ccmode): Do not attempt to use CCL,
2329 CCL1, or CCL2 modes with floating point operations.
2330
2331 * config/s390/s390.md ("*addsf3_cc", "*addsf3_cconly", "*adddf3_cc",
2332 "*adddf3_cconly", "*subsf3_cc", "*subsf3_cconly", "*subdf3_cc",
2333 "*subdf3_cconly"): New insns.
2334 ("*negabssi2", "*negabsdi2", "*negabsdf2", "*negabssf2"): Likewise.
2335
2336 2003-08-01 Neil Booth <neil@daikokuya.co.uk>
2337
2338 * Makefile.in: Refine dependencies.
2339 * c-opts.c (c_common_handle_option): Do nothing for -Wimport.
2340 * c.opt: Update help for -Wimport.
2341 * cppfiles.c: Include hashtab.h. Update comments.
2342 (stack_file): Read the file before updating dependencies.
2343 (once_only_file_p): Be smarter about marking once-only files.
2344 (_cpp_mark_file_once_only): Correct the check for existence on
2345 the list.
2346 (open_file_failed): Use name not path, which is NULL.
2347 * cpphash.h: Don't include hashtab.h.
2348 (struct _cpp_file): Remove.
2349 (struct cpp_reader): Update.
2350 * cppinit.c (cpp_create_reader): Don't initialize warn_import.
2351 * cpplib.h (struct cpp_options): Remove warn_import.
2352 (cpp_simplify_path): Remove.
2353
2354 2003-08-01 Nathan Sidwell <nathan@codesourcery.com>
2355
2356 PR c++/11295
2357 * doc/extend.texi (Statement Expressions): Document C++ semantics.
2358
2359 2003-07-31 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
2360
2361 * config.gcc (sh-*-linux*): Do not override sh/t-linux with sh/t-le.
2362
2363 2003-07-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2364
2365 * builtin-types.def: Use `LONGDOUBLE' instead of `LONG_DOUBLE'
2366 throughout.
2367 * builtins.def: Likewise.
2368
2369 2003-07-31 Jason Merrill <jason@redhat.com>
2370
2371 * Makefile.in (bubblestrap): Don't require a previous full
2372 bootstrap.
2373
2374 * expr.c (mostly_zeros_p): No longer static.
2375 * tree.h: Declare it.
2376 * stmt.c (resolve_asm_operand_names): Don't copy the pattern
2377 unless we need to do substitutions.
2378
2379 2003-07-31 Roger Sayle <roger@eyesopen.com>
2380
2381 * fold-const.c (fold <MULT_EXPR>): Optimize both x*pow(x,c) and
2382 pow(x,c)*x as pow(x,c+1) for constant values c. Optimize x*x
2383 as pow(x,2.0) when the latter will be expanded back into x*x.
2384 (fold <RDIV_EXPR>): Optimize pow(x,c)/x as pow(x,c-1).
2385 * builtins.c (expand_builtin_pow): Ignore flag_errno_math as
2386 pow can never set errno when used with an integer exponent.
2387 Always use expand_powi when exponent is -1, 0, 1 or 2.
2388 (fold_builtin): Don't rewrite pow(x,2.0) as x*x nor pow(x,-2.0)
2389 as 1.0/(x*x). This avoids unbounded recursion as we now prefer
2390 the pow forms of these expressions.
2391
2392 2003-07-31 Geoffrey Keating <geoffk@apple.com>
2393
2394 * Makefile.in (libexecdir): New.
2395 (libsubdir): Use gcc instead of gcc-lib.
2396 (libexecsubdir): New.
2397 (ORDINARY_FLAGS_TO_PASS): Add libexecsubdir.
2398 (DRIVER_DEFINES): Add STANDARD_LIBEXEC_PREFIX, use gcc instead of
2399 gcc-lib.
2400 (installdirs): Make libexecsubdir.
2401 (install-common): Put executables in libexecsubdir.
2402 (itoolsdir): Use libexecsubdir.
2403 (itoolsdatadir): New.
2404 (install-mkheaders): Separate data files and executables.
2405 (install-collect2): Put executables in libexecsubdir.
2406 (uninstall): Remove libexecsubdir.
2407 * mkheaders.in: Update for new arrangement of files.
2408 (libexecdir): New.
2409 (libexecsubdir): New.
2410 (itoolsdir): Use libexecsubdir.
2411 (itoolsdatadir): New.
2412 * gcc.c (gcc_libexec_prefix): New.
2413 (STANDARD_LIBEXEC_PREFIX): Use gcc instead of gcc-lib.
2414 (standard_exec_prefix_1): Use libexec.
2415 (standard_exec_prefix_2): New.
2416 (standard_libexec_prefix): New.
2417 (process_command): Update for new arrangement of files. Compute
2418 gcc_libexec_prefix. Update for change from gcc-lib to gcc.
2419
2420 2003-07-31 Nathanael Nerode <neroden@gcc.gnu.org>
2421
2422 * inclhack.def (stdio_va_list): Avoid bogus replacement which
2423 triggers on Interix.
2424 * fixincl.x: Regenerate.
2425
2426 2003-07-31 Jakub Jelinek <jakub@redhat.com>
2427
2428 * config/i386/i386.c (legitimate_pic_address_disp_p): Disallow TLS
2429 SYMBOL_REFs not inside UNSPEC even in PLUS rtx.
2430
2431 2003-07-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2432
2433 * dwarf2out.c (loc_descriptor_from_tree, case CONSTRUCTOR): New case.
2434
2435 2003-07-31 Per Bothner <pbothner@apple.com>
2436
2437 * opts.c (in_fnames, num_in_fnames): Moved here from c-opts.
2438 (add_input_filename): New function.
2439 (handle_options): Call add_input_filename directly instead of
2440 with a lang hook.
2441 * opts.h (in_fnames, num_in_fnames): Moved here.
2442 (add_input_filename): Declare.
2443 * c-decl.c: Need to #include opts.h.
2444 * Makefile.in (c-decl.o): Also depends on opts.h.
2445 * c-opts.c (in_fnames, num_in_fnames): Moved to opts.c.
2446 (c_common_handle_filename): Replaced by add_input_filename.
2447 * c-common.h (in_fnames, num_in_fnames, c_common_handle_filename):
2448 Remove.
2449 * langhooks.h (struct lang_hooks): Remove handle_filename hook.
2450 * langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME): Remove macro.
2451 (LANG_HOOKS_INITIALIZER): Remove use of LANG_HOOKS_HANDLE_FILENAME.
2452 * c-lang.c (LANG_HOOKS_HANDLE_FILENAME): Remove macro.
2453
2454 2003-07-31 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2455
2456 * combine.c (try_combine): Set JUMP_LABEL for newly created
2457 unconditional jump.
2458
2459 2003-07-31 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2460
2461 * fold-const.c (fold): Fold some comparisons of bit operations.
2462
2463 Thu Jul 31 19:49:53 CEST 2003 Jan Hubicka <jh@suse.cz>
2464
2465 * cgraph.c (create_edge): Fix typo.
2466 * i386.c (pic_symbolic_operand): Reorder tests.
2467
2468 2003-07-31 Nathan Sidwell <nathan@codesourcery.com>
2469
2470 * doc/gcov.texi (Invoking Gcov): Describe output name mangling
2471 more fully.
2472 (Gcov Data Files): Update.
2473
2474 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2475
2476 * config.gcc (alpha*-dec-osf[45]*): Enable POSIX thread support by
2477 default.
2478
2479 * gthr-posix.c: New file.
2480 * gthr-posix.h: Define _REENTRANT if missing.
2481 Make _LIBOBJC #pragma weak visible with _LIBOBJC_WEAK.
2482
2483 * config/alpha/t-osf4 (SHLIB_LINK): Hide dummy functions provided
2484 by gthr-posix.o.
2485 * config/alpha/t-osf-pthread: New file.
2486
2487 * fixinc/inclhack.def (alpha_pthread): New fix.
2488 * fixinc/fixincl.x: Regenerate.
2489 * fixinc/tests/base/pthread.h [ALPHA_PTHREAD_CHECK]: New testcase.
2490
2491 * doc/install.texi (alpha*-dec-osf*): Remove --enable-threads
2492 warning.
2493 Fixes PR bootstrap/9330.
2494
2495 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2496
2497 * configure.in (gcc_cv_ld_hidden): Also disable on mips-sgi-irix5*
2498 without GNU ld.
2499 Update comment.
2500 * configure: Regenerate.
2501
2502 2003-07-31 Vladimir Makarov <vmakarov@redhat.com>
2503
2504 * sched-deps.c (sched_analyze_2): Prevent interblock move of CC0
2505 setter.
2506
2507 2003-07-30 Roger Sayle <roger@eyesopen.com>
2508
2509 * builtins.def: Alphabetize.
2510
2511 2003-07-30 Matt Kraai <kraai@alumni.cmu.edu>
2512
2513 * doc/c-tree.texi: Normalize spellings of "lowercase" and
2514 "uppercase".
2515 * doc/cpp.texi: Likewise.
2516 * doc/md.texi: Likewise.
2517 * doc/rtl.texi: Likewise.
2518 * doc/tm.texi: Likewise.
2519
2520 2003-07-30 Matt Kraai <kraai@alumni.cmu.edu>
2521
2522 * objc/Make-lang.in (objc.stage1, objc.stage2, objc.stage3)
2523 (objc.stage4, objc.stageprofile, objc.stagefeedback): Remove moves
2524 of cc1obj.
2525
2526 2003-07-30 Chris Demetriou <cgd@broadcom.com>
2527
2528 * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Undef these
2529 macros before defining them.
2530
2531 2003-07-31 Ulrich Weigand <uweigand@de.ibm.com>
2532
2533 * config/s390/s390.md (UNSPEC_ROUND, UNSPEC_SETHIGH,
2534 UNSPECV_BLOCKAGE): New constants.
2535 ("*sethighqisi", "*sethighhisi", "*sethiqidi_64", "*sethiqidi_31",
2536 "*extractqi", "*extracthi", "*extendqidi2" splitter, "*extendqisi2"
2537 splitter, "fix_truncdfdi2_ieee", "fix_truncdfsi2_ieee",
2538 "fix_truncsfdi2", "fix_truncsfsi2", "blockage"): Use them.
2539
2540 (all insns and expanders): Write output control string as brace block
2541 where appropriate. Remove \-escapes for doublequote characters.
2542
2543 Thu Jul 31 01:04:19 CEST 2003 Jan Hubicka <jh@suse.cz>
2544
2545 * gcse.c (insert_store): Fix typo in previous patch.
2546
2547 2003-07-30 Neil Booth <neil@daikokuya.co.uk>
2548
2549 * cppfiles.c (stack_file, open_file_failed): Use path for deps.
2550
2551 2003-07-30 Andi Kleen <ak@muc.de>
2552
2553 * loop.c (check_dbra_loop): Allow LTU in the loop condition.
2554
2555 2003-07-30 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2556
2557 * combine.c (distribute_notes): Cancel REG_VALUE_PROFILE notes.
2558 * gcov-io.h (GCOV_FIRST_VALUE_COUNTER, GCOV_LAST_VALUE_COUNTER,
2559 GCOV_N_VALUE_COUNTERS): New.
2560 * profile.c (compute_value_histograms): New static function.
2561 (branch_prob): Read back the value histograms.
2562 * rtl.c (reg_note_name): Add name for REG_VALUE_PROFILE note.
2563 * rtl.h (enum reg_note): Add REG_VALUE_PROFILE note.
2564 * value-prof.c: Add comment on reading the profile.
2565 * value-prof.h (COUNTER_FOR_HIST_TYPE, HIST_TYPE_FOR_COUNTER): New.
2566 * doc/invoke.texi (-fprofile-values): Document behavior with
2567 -fbranch-probabilities.
2568
2569 2003-07-30 David Edelsohn <edelsohn@gnu.org>
2570
2571 * longlong.h (PowerPC umul_ppmm): Do not test __vxworks__.
2572
2573 2003-07-30 Ulrich Weigand <uweigand@de.ibm.com>
2574
2575 * config/s390/s390.h (EH_RETURN_HANDLER_RTX): Compute offset
2576 symbolically.
2577
2578 Wed Jul 30 19:12:10 CEST 2003 Jan Hubicka <jh@suse.cz>
2579
2580 * gcse.c (insert_store): Ignore fake edges.
2581
2582 * c-common.c (flag_vtable_gc): Kill.
2583 * c-common.g (flag_vtable_gc): Kill.
2584 * c-opts (c_common_handle_option): Kill.
2585 * c.opt (fvtable-gc): Kill.
2586 * final.c (final_scan_insn): Do not call assemble_vtable_entry.
2587 * output.h (assemble_vtable_entry, assemble_vtable_inherit): Kill.
2588 * varasm.c (assemble_vtable_entry, assemble_vtable_inherit): Kill.
2589
2590 * invoke.texi (-ftable-gc): Kill documentation.
2591
2592 * tree-inline.c (inlinable_function_p): Don't set DECL_UNINLINABLE
2593 just because function body is missing.
2594
2595 * i386.c (pic_symbolic_operand): Properly detect RIP relative unspecs.
2596
2597 2003-07-30 Ranjit Mathew <rmathew@hotmail.com>
2598
2599 * unwind-sjlj.c: Fix typo in file description.
2600
2601 2003-07-30 Alan Modra <amodra@bigpond.net.au>
2602
2603 * calls.c (load_register_parameters): When shifting reg sized values
2604 to the msb, move the value to a reg first.
2605
2606 2003-07-29 Geoffrey Keating <geoffk@apple.com>
2607
2608 * cppfiles.c (stack_file): Leave filename as "" rather than "<stdin>".
2609 * line-map.h (linemap_add): Update comments.
2610 * line-map.c (linemap_add): Update comments, interpret zero-length
2611 filename as "<stdin>".
2612
2613 2003-07-29 Nathanael Nerode <neroden@gcc.gnu.org>
2614
2615 * mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.
2616
2617 2003-07-29 Zack Weinberg <zack@codesourcery.com>
2618
2619 * c-decl.c (last_function_parm_vars, current_function_parm_vars):
2620 New static variables.
2621 (struct c_scope): Add parms and warned_forward_parm_decls
2622 fields; remove parm_order.
2623 (storedecls, storetags): Delete.
2624 (poplevel): Also clear bindings on the parms chain.
2625 (pushdecl): Handle forward declarations of parameters, and
2626 chain PARM_DECLs on the parms list, not the names list.
2627 (lookup_name_current_level): Check for PARM_DECLs on the parms
2628 list too.
2629 (push_parm_decl): Don't update parm_order.
2630 (clear_parm_order): Rename mark_forward_parm_decls. Issue the
2631 warning, only once per parameter list, and set TREE_ASM_WRITTEN
2632 on the decls here. Then move the forward decls to the names list.
2633 (grokparms): Set last_function_parm_vars.
2634 (get_parm_info): Don't use gettags or getdecls. No need to
2635 extract non-parms from the parms list, or reorganize the parms
2636 list. Feed nonparms back in the TREE_TYPE of the list node
2637 returned. Issue only one error per parameter list for "void"
2638 appearing more than once in said parameter list. Collapse
2639 parmlist_tags_warning into this function to avoid double scan
2640 of tags list.
2641 (start_function): Set current_function_parm_vars.
2642 (store_parm_decls_newstyle): Bypass pushdecl, manipulate scope
2643 directly. Get non-parms from current_function_parm_vars; no
2644 need to extract them from the parms chain. Properly bind tags
2645 in the new scope.
2646 (store_parm_decls_oldstyle): No need to extract non-parameters
2647 from the parms chain, nor to store them back afterward. Move
2648 declaration to top of function, restructure code reordering
2649 DECL_ARGUMENTS.
2650 (store_parm_decls): No need to save and restore warn_shadow.
2651 * c-parse.in: Don't call parmlist_tags_warning nor
2652 clear_parm_order. Call mark_forward_parm_decls when forward
2653 parm decls are encountered.
2654 * c-tree.h: Prototype mark_forward_parm_decls; not
2655 clear_parm_order or parmlist_tags_warning.
2656
2657 2003-07-29 Geoffrey Keating <geoffk@apple.com>
2658
2659 * c-common.c (allow_pch): Remove.
2660 * c-common.h (allow_pch): Remove.
2661 (c_common_no_more_pch): Declare.
2662 * c-lex.c (c_lex): Call c_common_no_more_pch when appropriate.
2663 * c-pch.c: Include hosthooks.h.
2664 (c_common_valid_pch): Don't check allow_pch.
2665 (c_common_read_pch): Clear valid_pch to prevent reading PCH files.
2666 (c_common_no_more_pch): New.
2667 * ggc-common.c: Include hosthooks.h.
2668 (gt_pch_save): Call gt_pch_get_address.
2669 (gt_pch_restore): Call gt_pch_use_address.
2670 * hooks.c (hook_voidp_size_t_null): New.
2671 (hook_bool_voidp_size_t_false): New.
2672 * hooks.h (hook_voidp_size_t_null): New.
2673 (hook_bool_voidp_size_t_false): New.
2674 * hosthooks-def.h (HOST_HOOKS_GT_PCH_GET_ADDRESS): New.
2675 (HOST_HOOKS_GT_PCH_USE_ADDRESS): New.
2676 (HOST_HOOKS_INITIALIZER): Add HOST_HOOKS_GT_PCH_GET_ADDRESS,
2677 HOST_HOOKS_GT_PCH_USE_ADDRESS.
2678 * hosthooks.h (struct host_hooks): Add gt_pch_get_address,
2679 gt_pch_use_address.
2680 * doc/hostconfig.texi (Host Common): Document
2681 HOST_HOOKS_GT_PCH_GET_ADDRESS, HOST_HOOKS_GT_PCH_USE_ADDRESS.
2682 * Makefile.in (c-pch.o): Depend on hosthooks.h.
2683 (ggc-common.o): Likewise.
2684
2685 * config/rs6000/host-darwin.c (HOST_HOOKS_GT_PCH_GET_ADDRESS): Define.
2686 (HOST_HOOKS_GT_PCH_USE_ADDRESS): Define.
2687 (pch_address_space): New.
2688 (darwin_rs6000_gt_pch_get_address): New.
2689 (darwin_rs6000_gt_pch_use_address): New.
2690
2691 2003-07-29 Neil Booth <neil@daikokuya.co.uk>
2692
2693 PR preprocessor/11569
2694 PR preprocessor/11649
2695 * Makefile.in (LIBCPP_DEPS): Add HASHTAB_H.
2696 * cppfiles.c: Completely rewritten.
2697 * c-incpath.c (free_path, remove_duplicates, heads, tails, add_path):
2698 struct cpp_path is now struct cpp_dir.
2699 (remove_duplicates): Don't simplify path names.
2700 * c-opts.c (c_common_parse_file): cpp_read_next_file renamed
2701 cpp_stack_file.
2702 * cpphash.h: Include hashtab.h.
2703 (_cpp_file): Declare.
2704 (struct cpp_buffer): struct include_file is now struct _cpp_file,
2705 and struct cpp_path is now struct cpp_dir. Rename members.
2706 (struct cpp_reader): Similarly. New members once_only_files,
2707 file_hash, file_hash_entries, quote_ignores_source_dir,
2708 no_search_path, saw_pragma_once. Remove all_include_files and
2709 max_include_len. Make some members bool.
2710 (_cpp_mark_only_only): Renamed from _cpp_never_reread.
2711 (_cpp_stack_file): Renamed from _cpp_read_file.
2712 (_cpp_stack_include): Renamed from _cpp_execute_include.
2713 (_cpp_init_files): Renamed from _cpp_init_includes.
2714 (_cpp_cleanup_files): Renamed from _cpp_cleanup_includes.
2715 * cppinit.c (cpp_create_reader): Initialize no_search_path. Update.
2716 (cpp_read_next_file): Rename and move to cppfiles.c.
2717 (cpp_read_main_file): Update.
2718 * cpplib.c (run_directive): Update for renamed members.
2719 (do_include_common, _cpp_pop_buffer): Update.
2720 (do_import): Undeprecate #import.
2721 (do_pragma_once): Undeprecate. Use _cpp_mark_file_once_only.
2722 * cpplib.h: Remove file_name_map_list.
2723 (cpp_options): Remove map_list.
2724 (cpp_dir): Rename from cpp_path. New datatype for name_map.
2725 (cpp_set_include_chains, cpp_stack_file, cpp_included): Update.
2726
2727 2003-07-29 Phil Edwards <pme@gcc.gnu.org>
2728
2729 * Makefile.in: Make stamp-objdir safe for parallel builds.
2730
2731 2003-07-29 Phil Edwards <pme@gcc.gnu.org>
2732
2733 * Makefile.in (stmp-docobjdir): New target; ensure $docobjdir exists.
2734 (info): Depend on stmp-docobjdir.
2735
2736 2003-07-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2737
2738 * configure: Regenerate.
2739
2740 Tue Jul 29 19:24:49 CEST 2003 Jan Hubicka <jh@suse.cz>
2741
2742 PR C++/11131
2743 * tree-inline.c (expand_call_inline): Always call inlinable_function_p
2744 in !unit-at-a-time mode.
2745
2746 2003-07-28 Geoffrey Keating <geoffk@apple.com>
2747
2748 * c-decl.c (c_expand_body_1): Use C_DECL_FILE_SCOPE to detect
2749 main function.
2750
2751 2003-07-28 Mark Mitchell <mark@codesourcery.com>
2752
2753 PR c++/11667
2754 * c-common.c (shorten_compare): Take into account differences
2755 between C and C++ representation for enumeration types.
2756 * tree.h (set_min_and_max_values_for_integral_type): Declare.
2757 * stor-layout.c (set_min_and_max_values_for_integral_type): New
2758 function, broken out from ...
2759 (fixup_signed_type): ... here and ...
2760 (fixup_unsigned_type): ... here.
2761
2762 2003-07-28 Zack Weinberg <zack@codesourcery.com>
2763
2764 * c-decl.c: Update commentary, adjust blank lines throughout.
2765 (struct c_scope): Fix indentation. Reorder members so
2766 outer-context pointers come first, booleans last.
2767 (duplicate_decls, define_label): Use a 'locus' variable for
2768 diagnostic locations in a few more places.
2769 (warn_if_shadowing): Un-split a conditional that fits on one line.
2770 (c_init_decl_processing): No need to clear current_scope and
2771 current_function_scope.
2772 (start_decl): Merge if/else if statements with same action.
2773 (push_parm_decl): Rename old_immediate_size_expand to use
2774 save_foo convention; save/restore around entire function.
2775 (grokdeclarator): Remove unnecessary braces.
2776
2777 2003-07-28 Hans-Peter Nilsson <hp@bitrange.com>
2778 Michael Culbertson <Michael.J.Culbertson@wheaton.edu>
2779
2780 * c-parse.in (lineno_stmt_decl_or_labels_ending_decl): Also warn
2781 when warn_declaration_after_statement. Call pedwarn_c90, not
2782 pedwarn. Correct message: it's "ISO C90", not "ISO C89".
2783 * c-common.c (warn_declaration_after_statement): Define.
2784 * c-common.h (warn_declaration_after_statement): Declare.
2785 * c.opt (Wdeclaration-after-statement): New.
2786 * c-errors.c (pedwarn_c90): New function.
2787 * c-opts.c (c_common_handle_option) <case
2788 OPT_Wdeclaration_after_statement>: New.
2789 * c-tree.h (pedwarn_c90): Declare.
2790 * doc/invoke.texi (Option Summary): Document
2791 -Wdeclaration-after-statement.
2792 (Warning Options): Ditto.
2793
2794 Mon Jul 28 20:13:06 CEST 2003 Jan Hubicka <jh@suse.cz>
2795
2796 * i386.md (memory attribute) Avoid accessing uninitialized memory
2797 for ishift1 type instructions.
2798
2799 2003-07-28 Jakub Jelinek <jakub@redhat.com>
2800
2801 * configure.in (--enable-checking): Add fold category.
2802 (ENABLE_FOLD_CHECKING): Define if requested.
2803 * configure: Rebuilt.
2804 * config.in: Rebuilt.
2805 * doc/install.texi: Document it.
2806 * fold-const.c: Include md5.h.
2807 [ENABLE_FOLD_CHECKING] (fold): Define to fold_1.
2808 [ENABLE_FOLD_CHECKING] (fold, fold_checksum_tree, fold_check_failed,
2809 print_fold_checksum): New functions.
2810
2811 * fold-const.c (fold): Never modify argument passed to fold, instead
2812 change a copy and return it.
2813 * convert.c (convert_to_integer): Likewise.
2814
2815 2003-07-27 Nathanael Nerode <neroden@gcc.gnu.org>
2816
2817 * fixinc/fixinc.svr4: Remove dead code. Remove now-unnecessary
2818 cleanup of junk after #else and #endif directives. Collapse repeated
2819 clauses into for statment.
2820
2821 * fixinc/fixincl.sh: GNU C -> GCC. Add usage comment.
2822
2823 2003-07-27 Zack Weinberg <zack@codesourcery.com>
2824
2825 * c-decl.c (struct c_scope): Remove keep_if_subblocks field.
2826 (keep_next_if_subblocks): Rename next_is_function_body.
2827 (pushlevel): Adjust commentary. Always set ->keep on the
2828 outermost level of a function. Don't set ->keep_if_subblocks.
2829 (poplevel): Adjust commentary. Don't look at ->keep_if_subblocks.
2830 (store_parm_decls): Adjust to match.
2831 (finish_function): Adjust to match.
2832 Call poplevel with all three arguments zero.
2833
2834 * c-decl.c (store_parm_decls_newstyle, store_parm_decls_oldstyle):
2835 New functions split out of store_parm_decls.
2836 Avoid unnecessary work. Use local variables consistently.
2837 (store_parm_decls): Likewise.
2838
2839 (finish_function): No need to set functionbody flag on call to
2840 poplevel.
2841 (struct language_function): Remove scope field.
2842 (c_push_function_context, c_pop_function_context): No need to
2843 save and restore current_scope.
2844
2845 2003-07-27 Nathan Sidwell <nathan@codesourcery.com>
2846
2847 * doc/extend.texi (Deprecated Features): Implicit typename is
2848 gone. Default args on types is going.
2849
2850 2003-07-26 J"orn Rennecke <joern.rennecke@superh.com>
2851
2852 * Makefile.in (ifcvt.o): Depend on target.h
2853 * ifcvt.c (target.h): Include.
2854 (if_convert): Don't call mark_loop_exit_edges if we can't
2855 modify jumps.
2856
2857 2003-07-26 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2858
2859 * doc/install.texi (Testing): Adjust required versions of DejaGnu.
2860
2861 2003-07-26 Richard Henderson <rth@redhat.com>
2862
2863 PR inline-asm/11676
2864 * cse.c (count_reg_usage): Handle asm_operands properly.
2865
2866 2003-07-26 Roger Sayle <roger@eyesopen.com>
2867
2868 * builtins.def (DEF_FALLBACK_BUILTIN): Delete.
2869 (DEF_EXT_FALLBACK_BUILTIN): Delete.
2870 (BUILT_IN_BZERO, BUILT_IN_BCOPY, BUILT_IN_BCMP): Declare using
2871 the regular DEF_EXT_LIB_BUILTIN macro.
2872 (BUILT_IN_FPUTC, BUILT_IN_FPUTS, BUILT_IN_FWRITE): Declare using
2873 the regular DEF_LIB_BUILTIN macro.
2874 (BUILT_IN_PUTCHAR_UNLOCKED, BUILT_IN_PUTS_UNLOCKED,
2875 BUILT_IN_FPUTC_UNLOCKED, BUILT_IN_FPUTS_UNLOCKED,
2876 BUILT_IN_FWRITE_UNLOCKED): Declare using the regular
2877 DEF_EXT_LIB_BUILTIN macro.
2878
2879 * c-decl.c (duplicate_decls): Remove code to handle builtin
2880 functions prototyped without an argument list.
2881
2882 2003-07-26 Danny Smith <dannysmith@users.sourceforge.net>
2883
2884 * config/i386/winnt.c: Revert 2003-07-08 change.
2885 (i386_pe_section_type_flags): Remove error_with_decl here too.
2886
2887 2003-07-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
2888
2889 * config/arm/pe.c (arm_mark_dllimport): Don't use xxx_with_decl.
2890 * config/mcore/mcore.c (mcore_mark_dllimport): Likewise.
2891 * config/v850/v850.c (v850_handle_data_area_attribute): Likewise.
2892 (v850_handle_data_area_attribute): Likewise.
2893
2894 2003-07-26 Geoffrey Keating <geoffk@apple.com>
2895
2896 * varasm.c (output_constant_def_contents): Use
2897 ASM_DECLARE_CONSTANT_NAME if defined.
2898 * doc/tm.texi (Label Output): Document ASM_DECLARE_CONSTANT_NAME.
2899 * config/darwin.h (ASM_DECLARE_OBJECT_NAME): Ensure zero-sized
2900 objects get at least one byte to prevent assembler problems.
2901 (ASM_DECLARE_CONSTANT_NAME): New.
2902
2903 * Makefile.in (libbackend.o): Remove options_.h.
2904 (mostlyclean): Likewise.
2905
2906 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Don't
2907 insert a label at the end of an function under Mach-O.
2908
2909 * c-decl.c (c_static_assembler_name): Remove TREE_STATIC test.
2910
2911 2003-07-25 Aldy Hernandez <aldyh@redhat.com>
2912
2913 * config/rs6000/rs6000.c (is_ev64_opaque_type): Only check pointer
2914 equality.
2915 (spe_init_builtins): Declare __ev64_opaque__ as a builtin type.
2916
2917 * config/rs6000/spe.h: Remove __ev64_opaque__ definition.
2918
2919 2003-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
2920
2921 * doc/passes.texi (Passes): Mention pretty-printing and
2922 diagnostic files.
2923
2924 2003-07-25 Nathan Sidwell <nathan@codesourcery.com>
2925
2926 * doc/extend.texi (Function Attributes): GNU C++ does now allow
2927 unused parameter decls.
2928 (Attribute Syntax): GNU C++ does not allow label attributes to be
2929 after the ':'.
2930
2931 2003-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
2932
2933 * objc/objc-act.c (objc_check_decl): Don't use xxx_with_decl.
2934 (objc_declare_class): Likewise.
2935 (error_with_ivar): Likewise.
2936 (start_class): Likewise.
2937 (warn_with_method): Likewise.
2938
2939 2003-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
2940
2941 Remove pedwarn_with_decl, warning_with_decl and error_with_decl
2942 from GCC.
2943 * calls.c (try_to_integrate): Don't use xxx_with_decl.
2944 (expand_call): Likewise.
2945 * dwarfout.c (output_reg_number): Likewise.
2946 * expr.c (expand_expr): Likewise.
2947 * function.c (assign_temp): Likewise.
2948 (uninitialized_vars_warning): Likewise.
2949 (setjmp_args_warning): Likewise.
2950 (expand_function_end): Likewise.
2951 * stmt.c (fixup_gotos): Likewise.
2952 (warn_about_unused_variables): Likewise.
2953 (expand_end_bindings): Likewise.
2954 * stor-layout.c (layout_decl): Likewise.
2955 (place_field): Likewise.
2956 * toplev.c (check_global_declarations): Likewise.
2957 (rest_of_handle_inlining): Likewise.
2958 (default_tree_printer): New function.
2959 (general_init): Initialize diagnostic machinery before routing
2960 signals to the ICE machinery. Set default tree printer.
2961 * toplev.h (pedwarn_with_decl): Remove declaration.
2962 (warning_with_decl): Likewise.
2963 (error_with_decl): Likewise.
2964 (pedwarn): Remove attribute for the time being.
2965 * tree-inline.c (expand_call_inline): Don't use xxx_with_decl.
2966 * varasm.c (named_section): Likewise.
2967 (make_decl_rtl): Likewise.
2968 (assemble_variable): Likewise.
2969 (merge_weak): Likewise.
2970 (declare_weak): Likewise.
2971
2972 * diagnostic.h: Move non-diagnostic stuff into pretty-print.h.
2973 * diagnostic.c: Move non-diagnostic stuff into pretty-print.c.
2974 (format_with_decl): Remove.
2975 (diagnostic_for_decl): Likewise.
2976 (pedwarn_with_decl): Likewise.
2977 (warning_with_decl): Likewise.
2978 (error_with_decl): Likewise.
2979 (diagnostic_initialize): Adjust.
2980 (diagnostic_count_diagnostic): Likewise.
2981 (announce_function): Likewise.
2982 (lhd_print_error_function): Likewise.
2983 (diagnostic_report_current_module): Likewise.
2984 (default_diagnostic_starter): Likewise.
2985 (diagnostic_report_diagnostic): Likewise.
2986 (default_diagnostic_finalizer): Likewise.
2987 (verbatim): Likewise.
2988 (error): Likewise.
2989 (warning): Likewise.
2990 * opts.c (common_handle_option): Likewise.
2991 * pretty-print.c: New file.
2992 * c-pretty-print.h (pp_base): Override.
2993 * c-pretty-print.c: Adjust use of macros throughout.
2994 (pp_buffer): New macro.
2995 (pp_newline): Likewise.
2996 * c-objc-common.c (c_tree_printer): Adjust prototype. Tidy.
2997 * Makefile.in (DIAGNOSTIC_H): New variable.
2998 (c-errors.o): Use it.
2999 (c-objc-common.o): Likewise.
3000 (c-common.o): Likewise.
3001 (c-opts.o): Likewise.
3002 (c-format.o): Likewise.
3003 (diagnostic.o): Likewise.
3004 (opts.o): Likewise.
3005 (toplev.o): Likewise.
3006 (rtl-error.o): Likewise.
3007 (dwarf2out.o): Likewise.
3008 (jump.o): Likewise.
3009 (pretty-print.o): New rule.
3010
3011 2003-07-24 Roger Sayle <roger@eyesopen.com>
3012
3013 * builtins.def (BUILT_IN_PRINTF, BUILT_IN_FPRINTF): Changed from
3014 front-end builtins to normal builtins, using DEF_LIB_BUILTIN.
3015 (BUILT_IN_PRINTF_UNLOCKED, BUILT_IN_FPRINTF_UNLOCKED): Changed
3016 from front-end to normal builtins, using DEF_EXT_LIB_BUILTIN.
3017 (DEF_FRONT_END_LIB_BUILTIN): Delete.
3018 (DEF_EXT_FRONT_END_LIB_BUILTIN): Delete.
3019 (BUILT_IN_FWRITE_UNLOCKED): Wrap long line.
3020
3021 * builtins.c (build_string_literal): New function to construct
3022 a char* pointer to a string literal.
3023 (expand_builtin_fputs): Change 2nd argument from "int ignore" to
3024 "rtx target" to be consistent with other expand_builtin_* functions.
3025 Change 3rd argument from "int unlocked" to "bool unlocked".
3026 (expand_builtin_printf): Rewrite of c_expand_builtin_printf from
3027 c-common.c to avoid front-end dependencies. Optimize printf("")
3028 as a no-op when the result isn't required. Handle embedded NULs
3029 in format string.
3030 (expand_builtin_fprintf): A rewrite of c_expand_builtin_fprintf
3031 from c-common.c to avoid front-end dependencies. Likewise, optimize
3032 fprintf(fp,"") as a no-op when the result isn't required, evaluating
3033 fp for side-effects. Handle embedded NULs in format string.
3034 (expand_builtin_sprintf): Fix typo.
3035 (expand_builtin): Don't expand BUILT_IN_FPRINT{,_UNLOCKED} when not
3036 optimizing. Adjust calls of expand_builtin_fputs to match the API
3037 change. Expand BUILT_IN_PRINTF and BUILT_IN_PRINTF_UNLOCKED using
3038 expand_builtin_printf. Likewise, expand BUILT_IN_FPRINTF_UNLOCKED
3039 and BUILT_IN_FPRINTF using expand_builtin_fprintf.
3040
3041 * c-common.c (is_valid_printf_arglist): Delete.
3042 (c_expand_builtin): Delete.
3043 (c_expand_builtin_printf): Moved to builtins.c. Delete.
3044 (c_expand_builtin_fprintf): Moved to builtins.c. Delete.
3045 (c_expand_expr): No longer treat CALL_EXPRs specially.
3046 (CALLED_AS_BUILT_IN): Delete.
3047
3048 2003-07-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3049
3050 PR optimization/11631
3051 * gcse.c (store_motion): Connect infinite loops to exit.
3052
3053 2003-07-24 Jason Merrill <jason@redhat.com>
3054
3055 * tree.h (boolean_type_node): Move from C/C++/Java frontends.
3056 (boolean_true_node, boolean_false_node): Likewise.
3057 (enum tree_index): Add TI_BOOLEAN_{TYPE,FALSE,TRUE}.
3058 * tree.c (build_common_tree_nodes): Init boolean_type_node.
3059 (build_common_tree_nodes_2): Init boolean_{true,false}_node.
3060 * stor-layout.c (set_sizetype): Handle an early BOOLEAN_TYPE.
3061 * c-common.h (truthvalue_type_node): Renamed from boolean_type_node.
3062 (truthvalue_true_node): Renamed from boolean_true_node.
3063 (truthvalue_false_node): Renamed from boolean_false_node.
3064 * c-decl.c: Just set truthvalue_* to integer_*.
3065 * c-*.[ch]: s/boolean/truthvalue/. s/c_bool/boolean/.
3066
3067 2003-07-24 Roger Sayle <roger@eyesopen.com>
3068
3069 * c-decl.c (match_builtin_function_types): New subroutine of
3070 duplicate_decls to test whether a redeclaration of a builtin
3071 function is suitably close, i.e. the return type and all of
3072 the argument types have the same modes as the builtin expects.
3073 (duplicate_decls): Fuzzy type matching for builtin functions
3074 moved to match_builtin_function_types.
3075
3076 2003-07-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3077
3078 * cfgloopmanip.c (duplicate_loop_to_header_edge): Update irreducible
3079 flag correctly.
3080
3081 2003-07-24 Zack Weinberg <zack@codesourcery.com>
3082
3083 * c-decl.c: Search-and-replace change 'binding level' to
3084 'scope' in commentary.
3085 (struct binding_level): Now struct c_scope.
3086 (current_binding_level): Now current_scope.
3087 (free_binding_level): Now scope_freelist.
3088 (current_function_level): Now current_function_scope.
3089 (global_binding_level): Now global_scope.
3090 (make_binding_level): Now make_scope.
3091 (pop_binding_level): Now pop_scope.
3092
3093 2003-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3094
3095 * configure.in (libgcc_visibility): Add missing whitespace.
3096
3097 2003-07-24 Richard Henderson <rth@redhat.com>
3098
3099 * libgcc-std.ver (GCC_3.3.1): Export __gcc_personality_sj0,
3100 __gcc_personality_v0.
3101
3102 2003-07-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3103
3104 * Makefile.in: Replace pwd by ${PWD_COMMAND}.
3105
3106 2003-07-24 Nathan Sidwell <nathan@codesourcery.com>
3107
3108 * doc/invoke.texi (-fprofile-arcs, -ftest-coverage): Update
3109 documentation missed from my 2003-07-09 patch.
3110
3111 2003-07-24 Nathanael Nerode <neroden@gcc.gnu.org>
3112
3113 * aclocal.m4 (_gcc_COMPUTE_GAS_VERSION): Set patch level to 0 if
3114 it's not provided.
3115 * configure: Rebuild.
3116
3117 2003-07-24 Steven Bosscher <steven@gcc.gnu.org>
3118
3119 PR c/10602
3120 * c-typeck.c (type_lists_compatible_p): Do not compare
3121 arguments if one of them is an error_mark_node
3122
3123 2003-07-24 Alan Modra <amodra@bigpond.net.au>
3124
3125 * config/rs6000/rs6000.c (rs6000_emit_prologue): Save fp regs inline
3126 if current_function_calls_eh_return.
3127
3128 2003-07-23 Mark Mitchell <mark@codesourcery.com>
3129
3130 * doc/c-tree.texi (OFFSET_TYPE): Update description.
3131
3132 2003-07-23 Bob Wilson <bob.wilson@acm.org>
3133
3134 * config/xtensa/crti.asm (_init, _fini): Increase frame size to 64.
3135 * config/xtensa/lib1funcs.asm (__mulsi3, __udivsi3, __divsi3,
3136 __umodsi3, __modsi3): Increase frame size to 32.
3137
3138 2003-07-23 Geoffrey Keating <geoffk@apple.com>
3139
3140 * config/rs6000/host-darwin.c: ANSIfy, update comment for sigaltstack
3141 prototype.
3142
3143 2003-07-23 Mark Mitchell <mark@codesourcery.com>
3144
3145 * doc/c-tree.texi (Types): Update documentation for OFFSET_TYPE.
3146
3147 PR optimization/10679
3148 * tree-inline.c (inlinable_function_p): Honor MIN_INLINE_INSNS.
3149
3150 2003-07-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3151
3152 PR target/11607 and PR target/11516
3153 * pa.md (extzv, extv, insv): Revert latter half of last patch.
3154
3155 2003-07-22 Mark Mitchell <mark@codesourcery.com>
3156
3157 * fold-const.c (force_fit_type): Handle OFFSET_TYPE.
3158 * varasam.c (output_constant): Likewise.
3159
3160 2003-07-22 Kazu Hirata <kazu@cs.umass.edu>
3161
3162 * alias.c: Fix comment formatting.
3163 * c-common.c: Likewise.
3164 * c-decl.c: Likewise.
3165 * c-opts.c: Likewise.
3166 * combine.c: Likewise.
3167 * cpplib.c: Likewise.
3168 * diagnostic.c: Likewise.
3169 * dojump.c: Likewise.
3170 * final.c: Likewise.
3171 * fold-const.c: Likewise.
3172 * gcc.c: Likewise.
3173 * gcse.c: Likewise.
3174 * ggc-page.c: Likewise.
3175 * jump.c: Likewise.
3176 * loop.c: Likewise.
3177 * mips-tfile.c: Likewise.
3178 * recog.c: Likewise.
3179 * regclass.c: Likewise.
3180 * regmove.c: Likewise.
3181 * tree.c: Likewise.
3182 * tree.h: Likewise.
3183
3184 2003-07-22 Per Bothner <pbothner@apple.com>
3185
3186 * line-map.c (add_line_map): Handle invalid LEAVE request.
3187 Fixes PR preprocessor/11361.
3188
3189 2003-07-22 Per Bothner <pbothner@apple.com>
3190
3191 * diagnostic.c.(diagnostic_report_current_module): Update to match
3192 2003-06-05 changes to push_srcloc and pop_srcloc.
3193
3194 2003-07-22 Wolfgang Bangerth <bangerth@dealii.org>
3195
3196 * doc/trouble.texi: Better document two-stage name lookup.
3197
3198 2003-07-22 Eric Christopher <echristo@redhat.com>
3199
3200 * config/s390.c (s390_valid_pointer_mode): New.
3201 (TARGET_VALID_POINTER_MODE): Use.
3202 (s390_emit_prologue): Add tpf profiling hooks.
3203 (s390_emit_epilogue): Ditto.
3204 * config/s390.h (MASK_TPF): New.
3205 (TARGET_TPF): Use.
3206 (POINTERS_EXTEND_UNSIGNED): Define.
3207 * config/s390.md (ptr_extend): New pattern.
3208
3209 2003-07-22 Zack Weinberg <zack@codesourcery.com>
3210
3211 * hashtable.c (approx_sqrt): Make static.
3212 * hashtable.h: Don't prototype approx_sqrt.
3213 * line-map.c (init_line_maps): Rename linemap_init.
3214 (free_line_maps): Rename linemap_free.
3215 (add_line_map): Rename linemap_add.
3216 (lookup_line): Rename linemap_lookup.
3217 (print_containing_files): Rename linemap_print_containing_files.
3218 * linemap.h: Update to match.
3219
3220 * cpperror.c, cppinit.c, cpplib.c, cppmacro.c: Update calls to
3221 linemap routines to use new names.
3222
3223 2003-07-16 Nathan Sidwell <nathan@codesourcery.com>
3224
3225 * c-common.c (handle_packed_attribute): Don't pack a struct via a
3226 typedef. Propagate packedness from a main variant.
3227
3228 2003-07-22 Nathanael Nerode <neroden@gcc.gnu.org>
3229
3230 * Makefile.in (install-common): Add dependency on installdirs.
3231
3232 2003-07-21 Alexandre Oliva <aoliva@redhat.com>
3233
3234 * c-common.c (c_common_type_for_mode): Return integer types for
3235 pointer modes.
3236
3237 2003-07-22 Geoffrey Keating <geoffk@apple.com>
3238
3239 * c-decl.c (start_decl): Don't call maybe_apply_pragma_weak here.
3240 (finish_decl): Call maybe_apply_pragma_weak here.
3241 (grokdeclarator): Check that DECL_ASSEMBLER_NAME isn't set before
3242 TREE_PUBLIC and TREE_STATIC are decided.
3243 (start_function): Move call to maybe_apply_pragma_weak. Check that
3244 DECL_ASSEMBLER_NAME isn't set too early.
3245
3246 * cpplex.c (_cpp_process_line_notes): Mention option name in
3247 trigraphs warning.
3248
3249 2003-07-22 Kazu Hirata <kazu@cs.umass.edu>
3250
3251 * combine.c (if_then_else_cond): Simplify the comparison of
3252 rtx against -1, 0, and 1.
3253 * loop.c (check_dbra_loop): Likewise.
3254 * optabs.c (emit_conditional_move): Likewise.
3255 (emit_conditional_add): Likewise.
3256 * config/i386/i386.md (*movsi_or): Likewise.
3257 (*movdi_or_rex6): Likewise.
3258
3259 Tue Jul 22 00:42:12 CEST 2003 Jan Hubicka <jh@suse.cz>
3260
3261 * cgraphunit.c (cgraph_finalize_compilation_unit): Remove redundant if.
3262
3263 2003-07-21 Neil Booth <neil@daikokuya.co.uk>
3264
3265 * cppfiles.c (open_file_pch): Don't put unused entries in the
3266 splay tree. Remove dead code.
3267
3268 2003-07-21 Geoffrey Keating <geoffk@apple.com>
3269
3270 * c-common.h (num_in_fnames): Declare.
3271 (c_static_assembler_name): Move from here...
3272 * c-tree.h (c_static_assembler_name): ... to here.
3273 * c-opts.c: Don't include langhooks-def.h.
3274 (c_static_assembler_name): Move to c-decl.c.
3275 (num_in_fnames): Make externally visible.
3276 * c-decl.c: Include langhooks-def.h.
3277 (c_static_assembler_name): Move from c-opts.c.
3278 * Makefile.in (c-decl.o): Add $(LANGHOOKS_DEF_H).
3279 (c-opts.o): Remove $(LANGHOOKS_DEF_H).
3280
3281 * c-pragma.c (maybe_apply_pragma_weak): Don't get DECL_ASSEMBLER_NAME
3282 when it's not needed.
3283
3284 2003-07-21 Jakub Jelinek <jakub@redhat.com>
3285
3286 * config/rs6000/rs6000.h (machine_function): Add ra_need_lr.
3287 * config/rs6000/rs6000.c (rs6000_return_addr): Set it.
3288 (rs6000_emit_prologue): Save FPRs inline if set.
3289
3290 2003-07-21 H.J. Lu <hongjiu.lu@intel.com>
3291
3292 * config/ia64/ia64.md (prefetch): Support predicate.
3293
3294 2003-07-21 Josef Zlomek <zlomekj@suse.cz>
3295
3296 * cfgcleanup.c (merge_blocks_move_successor_nojumps): Use tablejump_p.
3297 * rtlanal.c (tablejump_p): Use next_active_insn for finding the jump
3298 table.
3299
3300 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr>
3301
3302 PR optimization/11536
3303 * unroll.c (loop_iterations): Do not replace a register holding
3304 the final value by its equivalent before the loop if it is not
3305 invariant.
3306
3307 2003-07-21 Dave Fluri <dave.fluri@onlink.net>
3308
3309 * doc/extend.texi: Fixes to spelling, grammar, and diction.
3310
3311 2003-07-21 Ben Elliston <bje@wasabisystems.com>
3312
3313 * doc/invoke.texi (Optimize Options): Replace "it's" with "its".
3314 (V850 Options): Spelling fixes.
3315
3316 2003-07-20 Lisa M. Goldstein <opus@gnu.org>
3317
3318 * doc/invoke.texi: Fixes to style, grammar and diction.
3319
3320 2003-07-20 Roger Sayle <roger@eyesopen.com>
3321
3322 * builtins.def (BUILT_IN_ALLOCA): Remove "#if SMALL_STACK" form.
3323 * system.h (SMALL_STACK): Poison obsolete target macro.
3324 * doc/tm.texi (SMALL_STACK): Remove target macro documentation.
3325
3326 2003-07-20 Phil Edwards <pme@gcc.gnu.org>
3327
3328 * configure.in: Cache the results of testing for cmp's capabilities.
3329 * configure: Regenerate.
3330
3331 2003-07-20 Mark Mitchell <mark@codesourcery.com>
3332
3333 PR debug/11279
3334 * dwarf2out.c (gen_enumeration_type_die): Remember that
3335 enumerators can be unsigned.
3336
3337 2003-07-19 Zack Weinberg <zack@codesourcery.com>
3338
3339 * c-decl.c (named_labels, shadowed_labels, label_level_chain)
3340 (push_label_level, pop_label_level): Kill.
3341 (struct binding_level): Rename level_chain to outer.
3342 Add outer_function field. Change parm_flag, function_body,
3343 keep, keep_if_subblocks to 1-bit bitfields of type bool.
3344 (current_function_level): New variable.
3345 (keep_next_level_flag, keep_next_if_subblocks): Change type to bool.
3346 (keep_next_level, declare_parm_level, warn_if_shadowing):
3347 Update to match.
3348 (struct language_function): Kill named_labels, shadowed_labels fields.
3349 (c_init_decl_processing, start_function, c_push__function_context)
3350 (c_pop_function_context): No need to muck with named_labels nor
3351 shadowed_labels.
3352
3353 (make_binding_level): No need to clear the structure here.
3354 (pop_binding_level): Always operate on current_binding_level.
3355 Update current_function_level if necessary.
3356 (pushlevel): Don't clear named_labels. Update current_function_level
3357 if necessary. Use "true" and "false" where appropriate.
3358 (poplevel): Diagnose labels defined but not used, or vice
3359 versa, and clear out label-meanings leaving scope, while
3360 walking down the decls list, for all binding levels.
3361 Handle LABEL_DECLs appearing in the shadowed list.
3362 pop_binding_level takes no arguments.
3363 (pushdecl_function_level): Use current_function_level.
3364
3365 (make_label, bind_label): New static functions.
3366 (declare_label): New exported function.
3367 (lookup_label, define_label): Rewritten for new data structure.
3368 (shadow_label): Kill.
3369
3370 * c-tree.h: Prototype declare_label; don't prototype
3371 push_label_level, pop_label_level, nor shadow_label.
3372 * c-parse.in: Remove all calls to push_label_level and
3373 pop_label_level. Use declare_label for __label__ decls.
3374
3375 * doc/extend.texi: Clarify that __label__ can be used to
3376 declare labels with local scope in any nested block, not
3377 just statement expressions. Cross-reference nested functions
3378 section from local labels section.
3379
3380 2003-07-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3381
3382 * sched-rgn.c (find_rgns): Initialize current_edge correctly.
3383
3384 2003-07-19 Phil Edwards <pme@gcc.gnu.org>
3385
3386 * doc/makefile.texi (restrap, profiledbootstrap): Document targets.
3387
3388 2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3389
3390 * fixinc/fixfixes.c fixinc/fixincl.c fixinc/fixlib.c
3391 fixinc/server.c objc/objc-act.c: Remove unnecessary casts.
3392
3393 2003-07-19 Ulrich Weigand <uweigand@de.ibm.com>
3394
3395 * config/s390/s390.c (legitimize_pic_address): Access local symbols
3396 relative to the GOT instead of relative to the literal pool base.
3397 (s390_output_symbolic_const): Handle new GOT-relative accesses.
3398 * config/s390/s390.md ("call"): Access local functions and PLT stubs
3399 relative to the GOT instead of relative to the literal pool base.
3400 ("call_value"): Likewise.
3401 ("call_value_tls"): Likewise.
3402
3403 * config/s390/s390.c (s390_chunkify_start): Remove pool anchor
3404 reloading. Support LTREL_BASE / LTREL_OFFSET construct.
3405 (s390_chunkify_finish): Likewise.
3406 (s390_chunkify_cancel): Likewise.
3407 (s390_reorg): Adapt caller.
3408 (find_base_register_in_addr,
3409 find_base_register_ref, replace_base_register_ref): Delete.
3410 (find_ltrel_base, replace_ltrel_base): New functions.
3411 (find_constant_pool_ref): Handle LTREL_BASE unspecs.
3412 (s390_decompose_address): Handle LTREL_BASE unspecs. Optimize
3413 base vs. index register usage.
3414 (struct constant_pool): Remove 'anchor'.
3415 (s390_add_anchor): Delete.
3416 (s390_dump_pool): Remove anchor handling.
3417 * config/s390/s390.md ("reload_anchor"): Remove.
3418
3419 * config/s390/s390.c (s390_split_branches): Use LTREL_BASE/OFFSET.
3420 (s390_load_got): New function. Use LTREL_BASE/OFFSET.
3421 (s390_emit_prologue): Use it.
3422 * config/s390/s390.md ("builtin_longjmp", "builtin_setjmp_setup",
3423 "builtin_setjmp_receiver"): Cleanup. Use s390_load_got. Do not
3424 hard-code register 14.
3425 * config/s390/s390-protos.h (s390_load_got): Declare.
3426
3427 * config/s390/s390.c (NR_C_MODES, constant_modes, gen_consttable):
3428 Support TImode constants.
3429 * config/s390/s390.md ("consttable_ti"): New.
3430 ("consttable_si", "consttable_di"): Handle TLS symbols correctly.
3431
3432 * config/s390/s390.md (UNSPEC_LTREL_OFFSET, UNSPEC_LTREL_BASE,
3433 UNSPEC_GOTENT, UNSPEC_GOT, UNSPEC_GOTOFF, UNSPEC_PLT, UNSPEC_PLTOFF,
3434 UNSPEC_RELOAD_BASE, UNSPECV_POOL, UNSPECV_POOL_START, UNSPECV_POOL_END,
3435 UNSPECV_POOL_QI, UNSPECV_POOL_HI, UNSPECV_POOL_SI, UNSPECV_POOL_DI,
3436 UNSPECV_POOL_TI, UNSPECV_POOL_SF, UNSPECV_POOL_DF, UNSPECV_MAIN_POOL):
3437 New symbolic constants.
3438 ("consttable_qi", "consttable_hi", "consttable_si", "consttable_di",
3439 "consttable_sf", "consttable_df", "pool_start_31", "pool_end_31",
3440 "pool_start_64", "pool_end_64", "reload_base_31", "reload_base_64",
3441 "pool", "literal_pool_31", "literal_pool_64"): Cleanup. Use
3442 symbolic UNSPEC values.
3443 * config/s390/s390.c (larl_operand, s390_short_displacement,
3444 bras_sym_operand, s390_cannot_force_const_mem,
3445 s390_delegitimize_address, s390_decompose_address,
3446 legitimize_pic_address, s390_output_symbolic_const,
3447 s390_function_profiler): Use symbolic UNSPEC values.
3448
3449 2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3450
3451 * alias.c alloc-pool.c bitmap.c bitmap.h bt-load.c builtins.c
3452 c-common.c c-decl.c c-incpath.c c-lex.c c-opts.c c-parse.in
3453 c-pragma.c c-typeck.c calls.c cfg.c cfganal.c cfgloop.c cfgrtl.c
3454 collect2.c combine.c conflict.c coverage.c cppexp.c cppfiles.c
3455 cpphash.c cppinit.c cpplex.c cpplib.c cppmacro.c cppspec.c
3456 cpptrad.c cse.c cselib.c dbxout.c defaults.h df.c dominance.c
3457 dwarf2out.c dwarfout.c emit-rtl.c except.c expmed.c expr.c final.c
3458 fix-header.c flow.c fold-const.c function.c gcc.c gccspec.c gcov.c
3459 gcse.c genattr.c genattrtab.c genautomata.c genconditions.c
3460 genemit.c genextract.c genoutput.c genrecog.c gensupport.c
3461 ggc-page.c ggc-simple.c global.c graph.c haifa-sched.c hashtable.c
3462 integrate.c jump.c langhooks.c lcm.c line-map.c local-alloc.c
3463 loop.c mips-tdump.c mips-tfile.c mkdeps.c optabs.c params.c
3464 postreload.c prefix.c print-tree.c protoize.c ra-build.c
3465 ra-colorize.c ra-rewrite.c ra.c recog.c reg-stack.c regclass.c
3466 regmove.c regrename.c reload.c reload1.c reorg.c resource.c
3467 sbitmap.c sched-deps.c sched-rgn.c sched-vis.c sdbout.c
3468 simplify-rtx.c ssa-ccp.c ssa.c stmt.c stor-layout.c timevar.c
3469 tlink.c toplev.c tree-dump.c tree.c unroll.c unwind-dw2-fde.c
3470 varasm.c varray.c vmsdbgout.c xcoffout.c: Remove unnecessary
3471 casts.
3472
3473 2003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net>
3474
3475 * c-pragma.c (apply_pragma_weak): Don't use warning_with_decl.
3476 * toplev.h (warning): Remove attribute.
3477
3478 2003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net>
3479
3480 * c-decl.c (c_finish_incomplete_decl): Don't use xxx_with_decl.
3481 (pop_label_level): Likewise.
3482 (duplicate_decls): Likewise.
3483 (implicitly_declare): Likewise.
3484 (shadow_label): Likewise.
3485 (start_decl): Likewise.
3486 (finish_decl): Likewise.
3487 (grokdeclarator): Likewise.
3488 (get_parm_info): Likewise.
3489 (detect_field_duplicates): Likewise.
3490 (finish_struct): Likewise.
3491 (start_function): Likewise.
3492 (store_parm_decls): Likewise.
3493 (finish_function): Likewise.
3494 (c_expand_body_1): Likewise.
3495 (check_for_loop_decls): Likewise.
3496 (merge_translation_unit_decls): Likewise.
3497
3498 2003-07-19 Neil Booth <neil@daikokuya.co.uk>
3499
3500 * common.opt: Document --param.
3501 * opts.c (columns, undocumented_msg): New.
3502 (print_help): Get number of columns from environment. Print
3503 --param help. Tweak newline handling.
3504 (print_param_help): New.
3505 (print_filtered_help): Better handling of duplicates. Complain
3506 about undocumented switches.
3507 (print_switch): New.
3508 (wrap_help): Improve wrapping, use COLUMNS.
3509 * opts.sh: Ignore comments in records.
3510 * params.def: Fix typos and remove trailing periods.
3511 * toplev.c (display_help): Don't dump --param help.
3512 * doc/sourcebuild.texi: Update.
3513
3514 2003-07-18 Richard Henderson <rth@redhat.com>
3515
3516 PR target/11556
3517 * optabs.c (prepare_operand): Fail gracefully instead of abort
3518 if the predicate doesn't satisfy.
3519 (gen_cond_trap): Allow prepare_operand to fail.
3520
3521 2003-07-19 Gabriel Dos Reis <gdr@integrable-solutions.net>
3522
3523 * c-common.c: Don't undefine GCC_DIAG_STYLE.
3524 (fname_decl): Don't use xxx_with_decl.
3525 (c_add_case_label): Likewise.
3526 (handle_section_attribute): Likewise.
3527 (handle_alias_attribute): Likewise.
3528 (handle_no_instrument_function_attribute): Likewise.
3529 (handle_no_limit_stack_attribute): Likewise.
3530 * c-objc-common.c (c_tree_printer): Print IDENTIFIER_NODEs.
3531 * c-format.c (gcc_cdiag_char_table): Add '%E' format-specifier.
3532
3533 2003-07-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3534
3535 * Makefile.in (ifcvt.o): Add cfgloop.h.
3536 * basic-block.h (EDGE_LOOP_EXIT): New flag.
3537 * cfgrtl.c (rtl_verify_flow_info_1): Handle it correctly.
3538 * ifcvt.c: Include cfgloop.h.
3539 (mark_loop_exit_edges): New static function.
3540 (if_convert): Call it.
3541 (find_if_header): Ignore branches out of loops.
3542
3543 2003-07-18 Kazu Hirata <kazu@cs.umass.edu>
3544
3545 * combine.c (simplify_comparison): Don't share rtx when converting
3546 (ne (and (not X) 1) 0) to (eq (and X 1) 0).
3547
3548 2003-07-18 David Edelsohn <edelsohn@gnu.org>
3549
3550 * config/rs6000/aix.h (AGGREGATE_PADDING_FIXED): Define.
3551 (AGGREGATES_PAD_UPWARD_ALWAYS): Define.
3552 (MUST_PASS_IN_STACK): Define.
3553 (BLOCK_REG_PADDING): Define.
3554
3555 2003-07-18 Richard Henderson <rth@redhat.com>
3556
3557 * cfgrtl.c (force_nonfallthru_and_redirect): Use tablejump_p
3558 to skip the addr_vec.
3559
3560 Fri Jul 18 15:22:28 2003 Alexandre Oliva <aoliva@redhat.com>
3561
3562 * combine.c (combinable_i3pat): Don't forbid occurrences of
3563 i2dest or i1dest in inner_dest if inner_dest is a mem.
3564
3565 Fri Jul 18 17:05:57 CEST 2003 Jan Hubicka <jh@suse.cz>
3566
3567 * cgraph.c (cgraph_remove_node): Clear the hash table slot.
3568
3569 2003-07-17 Jakub Jelinek <jakub@redhat.com>
3570
3571 PR target/11087
3572 * loop.c (basic_induction_var): Check if convert_modes emitted any
3573 instructions. Remove them and return 0 if so.
3574
3575 2003-07-18 Eric Botcazou <ebotcazou@libertysurf.fr>
3576
3577 PR optimization/11083
3578 * toplev.c (rest_of_handle_addresof): Rename into
3579 rest_of_handle_addressof. Delete unreachable blocks
3580 if dead edges were purged after the addressof pass.
3581
3582 2003-07-18 Neil Booth <neil@daikokuya.co.uk>
3583
3584 * Makefile.in, configure, configure.in: Remove handling of
3585 lang-options.h and options_.h.
3586 * toplev.c (struct lang_opt, documented_lang_options): Remove.
3587 (display_help): Don't use documented_lang_options.
3588
3589 2003-07-17 Zack Weinberg <zack@codesourcery.com>
3590
3591 * c-decl.c (pushdecl_function_level): Make static, return nothing.
3592 (kept_level_p): Fold into poplevel.
3593 (undeclared_variable): Moved here from c-typeck.c. Export.
3594 * c-tree.h (KEEP_YES, KEEP_NO, KEEP_MAYBE): New #defines.
3595 (undeclared_variable): Prototype here. Don't prototype
3596 kept_level_p nor pushdecl_function_level.
3597 * c-parse.in: Change first argument to poplevel from
3598 "kept_level_p()" to "KEEP_MAYBE".
3599 * c-typeck.c (undeclared_variable): Moved to c-decl.c.
3600
3601 2003-07-17 Roger Sayle <roger@eyesopen.com>
3602
3603 * simplify-rtx.c (simplify_rtx): Use simplify_gen_binary to swap
3604 commutative operands instead of modifying the RTL in-place.
3605
3606 2003-07-17 Mark Mitchell <mark@codesourcery.com>
3607
3608 PR optimization/11557
3609 * calls.c (flags_from_decl_or_type): Do not set ECF_LIBCALL_BLOCK
3610 unless we know which function is being called.
3611
3612 2003-07-17 Roger Sayle <roger@eyesopen.com>
3613
3614 * cse.c (fold_rtx): Use swap_commutative_operands_p to determine
3615 whether to reorder the operands of a commutative binary operator.
3616
3617 2003-07-17 Roger Sayle <roger@eyesopen.com>
3618
3619 * fold-const.c (const_binop): Avoid performing the FP operation at
3620 compile-time, if either operand is NaN and we honor signaling NaNs,
3621 or if we're dividing by zero and either flag_trapping_math is set
3622 or the desired mode doesn't support infinities.
3623 (fold_initializer): New function to fold an expression ignoring any
3624 potential run-time exceptions or traps.
3625 * tree.h (fold_initializer): Prototype here.
3626 * c-typeck.c (build_binary_op): Move to the end of the file so
3627 that intializer_stack is in scope. If constructing an initializer,
3628 i.e. when initializer_stack is not NULL, use fold_initializer to
3629 fold expressions.
3630 * simplify-rtx.c (simplify_binary_operation): Likewise, avoid
3631 performing FP operations at compile-time, if they would raise an
3632 exception at run-time.
3633
3634 2003-07-17 Geoffrey Keating <geoffk@apple.com>
3635
3636 PR 11498
3637 * Makefile.in (c-opts.o): Add $(LANGHOOKS_DEF_H).
3638 (langhooks.o): Add $(GGC_H), gt-langhooks.h.
3639 (GTFILES): Add langhooks.c.
3640 (gt-langhooks.h): New.
3641 * c-common.h (c_static_assembler_name): Prototype.
3642 * c-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define.
3643 * objc/objc-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Define.
3644 * c-opts.c: Include langhooks-def.h.
3645 (c_static_assembler_name): New.
3646 * langhooks.c: Include ggc.h. Include gt-langhooks.h.
3647 (var_labelno): New.
3648 (lhd_set_decl_assembler_name): Give static objects with context
3649 unique names.
3650 * varasm.c (var_labelno): Delete.
3651 (make_decl_rtl): Don't change the assembler name once it's set.
3652
3653 * c-opts.c (this_input_filename): New.
3654 (finish_options): Take new parameter, name of file being compiled.
3655 Update callers. Set this_input_filename.
3656 (push_command_line_include): Use this_input_filename not
3657 main_input_filename.
3658
3659 2003-07-17 Neil Booth <neil@daikokuya.co.uk>
3660
3661 * Makefile.in: Depend .pot generation on options.c.
3662 * po/exgettext: Add an extra_files variable containing additional
3663 files to scan.
3664
3665 2003-07-17 Zack Weinberg <zack@codesourcery.com>
3666
3667 * objc/objc-lang.c: Override LANG_HOOKS_WRITE_GLOBALS to
3668 c_write_global_declarations.
3669
3670 * c-decl.c: Fix typos in several comments. Remove all
3671 #if 0 blocks; reindent as needed. Remove unused argument
3672 to declare_parm_level; all callers changed.
3673 * c-parse.in: Update calls to declare_parm_level. Avoid
3674 issuing a double warning in some circumstances.
3675 * c-typeck.c: Update calls to declare_parm_level.
3676 * c-tree.h: Update prototype of declare_parm_level.
3677
3678 * c-pragma.c (apply_pragma_weak): Don't complain about a
3679 redundant #pragma weak.
3680
3681 * objc/objc-act.c (forward_declare_categories,
3682 build_selector_reference_decl, build_class_reference_decl,
3683 build_objc_string_decl, synth_forward_declarations,
3684 build_protocol_reference): Set TREE_PUBLIC on synthetic
3685 forward decl to 0, consistent with eventual definition.
3686 Correct comments to match.
3687
3688 * fixinc/inclhack.def (solaris_mutex_init_2): Escape braces
3689 in regexp that don't form a range expression.
3690 * fixinc/fixincl.def: Regenerate.
3691
3692 2003-07-17 Richard Henderson <rth@redhat.com>
3693
3694 PR target/10907
3695 * config/ia64/ia64.c (ia64_epilogue_uses): GP is live at end
3696 even with !TARGET_CONST_GP.
3697 (ia64_function_ok_for_sibcall): Reject non-local functions.
3698
3699 2003-07-17 Steven Bosscher <steven@gcc.gnu.org>
3700
3701 * c-common.c (c_estimate_num_insns_1): Don't handle
3702 METHOD_CALL_EXPR.
3703 * expr.c (safe_from_p): Likewise.
3704 * gengtype.c (adjust_field_tree_exp): Likewise.
3705 * stmt.c (warn_if_unused_value): Likewise
3706 * tree.c (first_rtl_op): Likewise.
3707 * tree.def: Don't define METHOD_CALL_EXPR.
3708 * java/lang.c (java_estimate_num_insns_1): Don't handle
3709 METHOD_CALL_EXPR.
3710
3711 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr>
3712
3713 PR other/11466
3714 * doc/invoke.texi (SPARC Options): Document "-mlittle-endian"
3715 and its restrictions for the SPARC64 port.
3716 Move the entry of "-mimpure-text" before that of "-mv8".
3717
3718 2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr>
3719 Phil Edwards <phil@jaj.com>
3720
3721 * doc/install.texi (*-*-solaris2*): Document the step-by-step
3722 procedure to bootstrap and install.
3723 Document the preference for the legacy Sun tools in /usr/bin
3724 over the POSIX tools in /usr/xpg4/bin for the build process.
3725
3726 2003-07-17 Neil Booth <neil@daikokuya.co.uk>
3727
3728 * c.opt: Document Uncodumented; use it. Document ObjC options.
3729 * opts.c (print_filtered_help): Skip undocumented switches.
3730 * opts.h (CL_UNDOCUMENTED): New.
3731 * opts.sh: Handle Undocumented.
3732 * toplev.c (documented_lang_options): Prevent its becoming empty.
3733 objc:
3734 * lang-options.h: Remove.
3735
3736 2003-07-16 Ulrich Weigand <uweigand@de.ibm.com>
3737
3738 * loop.c (check_ext_dependent_givs): Pass const struct loop *
3739 instead of struct loop_info * as argument. Accept BIVs with
3740 increment +/- 1 provided there is a friendly exit test against
3741 a loop-invariant value.
3742 (strength_reduce): Adapt call to check_ext_dependent_givs.
3743
3744 2003-07-16 J"orn Rennecke <joern.rennecke@superh.com>
3745 Con Bradley <con.bradley@superh.com>
3746
3747 * sh-protos.h (sh_get_pr_initial_val): Declare.
3748 * sh.c (regno_reg_class): Make its elements type enum reg_class.
3749 (output_stack_adjust): Remove emit_fn argument. Add epilogue_p
3750 and live_regs_mask arguments. Changed all callers.
3751 (save_schedule_s): New structure.
3752 (save_schedule): New typedef.
3753 (scavenge_reg, sh5_schedule_saves, sh5_schedule_saves): New functions.
3754 (calc_live_regs): For TARGET_SHMEDIA, use leaf_function_p.
3755 In interrupts handlers, also save registers that are usually
3756 partially saved, and make sure there is at least one general purpose
3757 register saved if a target register needs saving.
3758 Add casts in comparisons to avoid warnings.
3759 (sh_media_register_for_return): return -1 for interrupt handlers.
3760 (MAX_SAVED_REGS, MAX_TEMPS): New defines.
3761 (sh_expand_prologue): Use sh5_schedule_saves. Check that any temp
3762 registers used are available.
3763 Set RTX_FRAME_RELATED_P where appropriate.
3764 Add an REG_FRAME_RELATED_EXPR for r0 + offset addressing.
3765 (sh_expand_epilogue, sh_set_return_address): Use sh5_schedule_saves.
3766 (initial_elimination_offset): Likewise.
3767 * sh.h (DWARF_CIE_DATA_ALIGNMENT): Set to -4.
3768 (LOCAL_ALIGNMENT, GENERAL_REGISTER_P): Add casts to avoid warnings.
3769 (FP_REGISTER_P): Add casts to fix broken handling of unsigned REGNO.
3770 (XD_REGISTER_P, TARGET_REGISTER_P): Likewise.
3771 (HARD_REGNO_CALL_PART_CLOBBERED): Also yield nonzero for r15,
3772 and for target registers.
3773 (RETURN_IN_MEMORY): Add parentheses to avoid warnings.
3774 (regno_reg_class): Make its elements type enum reg_class.
3775 (CONSTRAINT_LEN): Don't use isdigit.
3776 (FUNCTION_ARG_REGNO_P): Add casts to avoid warnings.
3777 (FUNCTION_ARG): Add parentheses to avoid warnings.
3778 (RETURN_ADDR_RTX): Use sh_get_pr_initial_val.
3779 (RETURN_ADDR_OFFSET): Define to -1 for TARGET_SH5.
3780 (SH_DBX_REGISTER_NUMBER): Add casts to avoid warnings.
3781 (EH_RETURN_DATA_REGNO): Use unsigned constants to avoid warnings.
3782 * sh.md (xordi3+1): Remove unused variable regno.
3783 (return_media): Check that tr0 is available before using it.
3784
3785 2003-07-16 Neil Booth <neil@daikokuya.co.uk>
3786
3787 * c.opt: Document more options.
3788
3789 2003-07-16 Roger Sayle <roger@eyesopen.com>
3790
3791 * combine.c (subst): Also handle (subreg (const_double ...)) case
3792 if created by a substitution, by using the original inner mode.
3793
3794 2003-07-16 Roger Sayle <roger@eyesopen.com>
3795
3796 * simplify-rtx.c (simplify_replace_rtx): Convert constant comparisons
3797 to MODE_FLOAT constants if FLOAT_STORE_FLAG_VALUE is defined.
3798 (simplify_rtx): Likewise. Simplify (lo_sum (high X) X) as X.
3799
3800 2003-07-16 Andrew Pinski <pinskia@physics.uc.edu>
3801
3802 * doc/install.texi (--without-headers): New.
3803
3804 Partial Fix PR/10129
3805 * config/darwin.c (machopic_function_base_name): Only Return "<pic base>".
3806 (machopic_output_function_base_name): New; print the true pic label.
3807 (machopic_classify_ident): Pic Base is always a defined data.
3808 * config/darwin.h (ASM_OUTPUT_LABELREF): Support the pic base label.
3809 * config/darwin-proto.h (machopic_output_function_base_name): Prototype.
3810
3811 * gcse.c (gcse_constant_p): COMPARE of the same registers is a constant
3812 if they are not floating point registers.
3813
3814 PR c/10962
3815 * ggc.h: Add header guards.
3816 * c-decl.c (finish_struct): Sort fields if
3817 number greater than 15 and there are no
3818 anonymous structs/unions.
3819 * c-common.h: Include ggc.h.
3820 (sorted_fields_type): New struct.
3821 (field_decl_cmp): New prototype.
3822 (resort_sorted_fields): New prototype.
3823 (DECL_DECLARES_TYPE_NON_TEMPLATE_P): New macro.
3824 * c-tree.h: (lang_type): Use pointer to sorted_fields_type
3825 as s, removing other fields.
3826 * c-typeck.c (lookup_field): Use s in lang_type.
3827 These were mostly moved from cp/class.c:
3828 * c-common.c (field_decl_cmp): New static function.
3829 (field_decl_cmp): New function.
3830 (resort_sorted_fields): New function.
3831
3832 2003-07-16 Geoffrey Keating <geoffk@apple.com>
3833
3834 * config/darwin.c (machopic_select_section): Use decl_readonly_section
3835 to do most of the work.
3836
3837 2003-07-16 Hans-Peter Nilsson <hp@bitrange.com>
3838
3839 * config/mmix/mmix-protos.h: Convert prototypes to ISO C90.
3840 * config/mmix/mmix.c: Convert functions to ISO C90.
3841 (mmix_eh_return_handler_rtx, mmix_output_shifted_value): Tweak
3842 formatting.
3843 (mmix_get_hard_reg_initial_val): Tweak section head comment.
3844
3845 2003-07-16 J"orn Rennecke <joern.rennecke@superh.com>
3846
3847 * c-pragma.h (HANDLE_PRAGMA_WEAK): Always define to SUPPORTS_WEAK.
3848
3849 2003-07-16 Jakub Jelinek <jakub@redhat.com>
3850
3851 * unwind-dw2.c (MD_FROB_UPDATE_CONTEXT): Define.
3852 (uw_update_context_1): Use it.
3853 * config/rs6000/rs6000.c (insn_after_throw): Remove.
3854 (rs6000_aix_emit_builtin_unwind_init): Save $r2 to its location
3855 in parent frame if _Unwind_* called directly instead of through
3856 .plt.
3857 (rs6000_emit_eh_toc_restore): Remove.
3858 (rs6000_emit_prologue): Update stack pointer before doing any saving
3859 if current_function_calls_eh_return. Generate unwind info for $r2.
3860 (rs6000_emit_epilogue): Restore stack pointer after doing all
3861 restoring if current_function_calls_eh_return. Restore $r2.
3862 * config/rs6000/rs6000-protos.h (rs6000_emit_eh_toc_restore): Remove.
3863 * config/rs6000/rs6000.md (eh_return): Remove call to
3864 rs6000_emit_eh_toc_restore.
3865 * config/rs6000/linux64.h (MD_FROB_UPDATE_CONTEXT): Define.
3866 * config/rs6000/aix.h (MD_FROB_UPDATE_CONTEXT): Define.
3867
3868 2003-07-15 Jakub Jelinek <jakub@redhat.com>
3869
3870 * expr.c (emit_block_move): Don't move anything if size is const 0.
3871 (clear_storage): Test against const0_rtx instead of comparing INTVAL
3872 against 0.
3873
3874 2003-07-15 David S. Miller <davem@redhat.com>
3875
3876 * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Only
3877 emit nop if the last real insn is CALL_INSN.
3878
3879 2003-07-16 Danny Smith <dannysmith@users.sourceforge.net>
3880
3881 * config/i386/xm-mingw32.h (HOST_BIT_BUCKET): Define
3882 as "nul".
3883 * config/i386/xm-mingw32.h: Change GNU CC to GCC.
3884
3885 2003-07-16 Danny Smith <dannysmith@users.sourceforge.net>
3886
3887 * config/i386/winnt.c (associated_type): Artificial methods are not
3888 affected by the import/export status of their class unless they are
3889 COMDAT.
3890 (i386_pe_dllimport_p): Do not mark artificial methods as dllimport.
3891
3892 * config/i386/winnt.c: Fix GCC copyright comment.
3893
3894 2003-07-16 Gabriel Dos Reis <gcc@integrable-solutions.net>
3895
3896 PR c++/11531
3897 * diagnostic.c (diagnostic_report_diagnostic): Don't ICE if we're
3898 not recursing on hard error.
3899 (diagnostic_for_decl): Likewise.
3900 * diagnostic.def: Rearrange.
3901
3902 2003-07-15 J"orn Rennecke <joern.rennecke@superh.com>
3903
3904 * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
3905 If DWARF_FRAME_RETURN_COLUMN doesn't have a register mode, use Pmode.
3906
3907 2003-07-15 J"orn Rennecke <joern.rennecke@superh.com>
3908 Richard Henderson <rth@redhat.com>
3909
3910 * unwind-dw2.c (_Unwind_GetGR): Use dwarf_reg_size_table
3911 to decide if to access a _Unwind_Ptr or a _Unwind_Word.
3912 (_Unwind_SetGR): Likewise.
3913 (_Unwind_GetPtr, _Unwind_SetSpColumn): New functions.
3914 (Unwind_SpTmp): New typedef.
3915 (uw_update_context_1): Use _Unwind_SetSpColumn and _Unwind_GetPtr.
3916 (uw_update_context): Use _Unwind_GetPtr.
3917 (init_dwarf_reg_size_table): Move above uw_init_context_1.
3918 (uw_init_context_1): Initialize dwarf_reg_size_table if necessary.
3919 Use _Unwind_SetSpColumn.
3920 (uw_install_context_1): Don't initialize dwarf_reg_size_table.
3921 Use _Unwind_GetPtr.
3922
3923 2003-07-15 Neil Booth <neil@daikokuya.co.uk>
3924
3925 * c.opt: Document more options.
3926 * toplev.c (documented_lang_options): Remove all local help strings.
3927
3928 2003-07-15 Mark Mitchell <mark@codesourcery.com>
3929
3930 PR debug/11473
3931 * dbxout.c (dbxout_type): Use TYPE_SIZE to determine the sizes of
3932 base classes.
3933
3934 2003-07-15 Kazu Hirata <kazu@cs.umass.edu>
3935
3936 PR target/10795
3937 * config/i386/i386.c (ix86_expand_carry_flag_compare): Don't
3938 swap comparison operands if doing so would generate an
3939 unrecognizable insn.
3940
3941 2003-07-15 Eric Botcazou <ebotcazou@libertysurf.fr>
3942
3943 PR optimization/11320
3944 * sched-int.h (struct deps) [reg_conditional_sets]: New field.
3945 (struct sched_info) [compute_jump_reg_dependencies]: New prototype.
3946 * sched-deps.c (sched_analyze_insn) [JUMP_INSN]: Update call to
3947 current_sched_info->compute_jump_reg_dependencies. Record which
3948 registers are used and which registers are set by the jump.
3949 Clear deps->reg_conditional_sets after a barrier.
3950 Set deps->reg_conditional_sets if the insn is a COND_EXEC.
3951 Clear deps->reg_conditional_sets if the insn is not a COND_EXEC.
3952 (init_deps): Initialize reg_conditional_sets.
3953 (free_deps): Clear reg_conditional_sets.
3954 * sched-ebb.c (compute_jump_reg_dependencies): New prototype.
3955 Mark registers live on entry of the fallthrough block and conditionally
3956 set as set by the jump. Mark registers live on entry of non-fallthrough
3957 blocks as used by the jump.
3958 * sched-rgn.c (compute_jump_reg_dependencies): New prototype.
3959 Mark new parameters as unused.
3960
3961 2003-07-15 Richard Sandiford <rsandifo@redhat.com>
3962
3963 * doc/invoke.texi: Resync MIPS -march documentation.
3964
3965 2003-07-15 Richard Sandiford <rsandifo@redhat.com>
3966
3967 * config/mips/mips.h (PROCESSOR_R9000): New processor_type.
3968 (TARGET_MIPS9000, TUNE_MIPS9000): New macros.
3969 (GENERATE_MULT3_SI): True for TARGET_MIPS9000.
3970 * config/mips/mips.c (mips_cpu_info_table): Add rm9000 entry.
3971 (mips_rtx_costs): Adjust integer multiplication costs for the rm9000.
3972 (mips_issue_rate): Handle PROCESSOR_R9000.
3973 (mips_use_dfa_pipeline_interface): Likewise.
3974 * config/mips/9000.md: New file.
3975 * config/mips/mips.md: Include it.
3976 (define_attr cpu): Add r9000.
3977 (mulsi3_mult3): Use "mul" for rm9000 code.
3978
3979 2003-07-15 Stan Cox <scox@redhat.com>
3980
3981 * config/mips/mips.h (PROCESSOR_R7000): New processor_type.
3982 (TARGET_MIPS7000, TUNE_MIPS7000): New macros.
3983 (GENERATE_MULT3_SI): True for TARGET_MIPS7000.
3984 * config/mips/mips.c (mips_cpu_info_table): Add rm7000 entry.
3985 (mips_rtx_costs): Adjust integer multiplication costs for the rm7000.
3986 (mips_issue_rate): Handle PROCESSOR_R7000.
3987 (mips_use_dfa_pipeline_interface): Likewise.
3988 * config/mips/7000.md: New file.
3989 * config/mips/mips.md: Include it.
3990 (define_attr cpu): Add r7000.
3991 (mulsi3_mult3): Use "mul" for rm7000 code.
3992
3993 2003-07-15 Richard Sandiford <rsandifo@redhat.com>
3994
3995 * config/mips/mips.md (define_attr type): Add condmove. Use it for
3996 the conditional move patterns.
3997 * config/mips/5400.md (ir_vr54_move): Rename to ir_vr54_condmove.
3998 Check for condmove type.
3999 (ir_vr54_arith): Add move type.
4000 * config/mips/5500.md (ir_vr55_move, ir_vr55_arith): Likewise.
4001 * config/mips/sr71k.md (ir_sr70_move, ir_sr70_arith): Likewise.
4002
4003 2003-07-15 Neil Booth <neil@daikokuya.co.uk>
4004
4005 * c-opts.c (print_help): Remove.
4006 (c_common_handle_option): Don't handle --help.
4007 * c.opt: Document some options.
4008 (--help): Remove.
4009 * opts.c (print_filtered_help): New.
4010 (print_help): Use it.
4011
4012 2003-07-14 Geoffrey Keating <geoffk@apple.com>
4013
4014 * c-common.c (c_common_type_for_mode): Handle V4DFmode.
4015 * tree.c: (build_common_tree_nodes_2): Likewise.
4016 * tree.h (enum tree_index): Add TI_V4DF_TYPE.
4017 (V4DF_type_node): New.
4018
4019 * c-opts.c (push_command_line_include): Don't free deferred_opts,
4020 we'll need it.
4021 (finish_options): Reset init_cursor.
4022
4023 2003-07-15 Kazu Hirata <kazu@cs.umass.edu>
4024
4025 * expr.c (expand_assignment): Remove an unused argument
4026 SUGGEST_REG.
4027 * expr.h: Update the prototype.
4028 * function.c: Update the callers.
4029 * stmt.c: Likewise.
4030
4031 2003-07-14 Mark Mitchell <mark@codesourcery.com>
4032
4033 PR debug/11098
4034 * integrate.c (copy_decl_for_inlining): Do not mark copied decls
4035 as DECL_ABSTRACT.
4036
4037 2003-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
4038
4039 * fixinc/inclhack.def (avoid_bool_define, avoid_bool_type): Bypass
4040 with __cplusplus, not "we must use the C++ compiler's type"
4041 * fixinc/inclhack.def (void_null): Note that Interix needs this.
4042 * fixinc/fixincl.x: Regenerate.
4043
4044 2003-07-14 Geoffrey Keating <geoffk@apple.com>
4045
4046 * unwind-dw2-fde-darwin.c (live_image_destructor): Get seen_objects
4047 and unseen_objects from the global data before calling
4048 __deregister_frame_info_bases.
4049 (examine_objects): Insert objects into the seen_objects list,
4050 not unseen_objects.
4051 (_Unwind_Find_FDE): Always unlock the global object lists, even if
4052 we couldn't allocate a data structure to put in it.
4053
4054 * objc/objc-act.h (CLASS_SUPER_NAME): Add a little typechecking.
4055 (TYPE_PROTOCOL_LIST): Share use of type.context with C frontend.
4056 (SET_TYPE_PROTOCOL_LIST): New.
4057 * objc/objc-act.c (get_static_reference): Use SET_TYPE_PROTOCOL_LIST.
4058 (get_object_reference): Likewise.
4059
4060 Mon Jul 14 23:14:28 CEST 2003 Jan Hubicka <jh@suse.cz>
4061
4062 * cfglayout.c (locator_file): Break out from ....
4063 (insn_file): ... here.
4064 (locator_line): Break out from ....
4065 (insn_line): ... here.
4066 * rtl.h (locator_file, locator_line): Declare.
4067 (final_start_function): Set proper line/file info.
4068
4069 2003-07-14 Gabriel Dos Reis <gdr@integrable-solutions.net>
4070
4071 * c-pretty-print.c (pp_c_unary_expression): A CONVERT_EXPR is
4072 handled by pp_c_cast_expression.
4073
4074 2003-07-14 Richard Sandiford <rsandifo@redhat.com>
4075
4076 * config/mips/mips.c (mips_expand_prologue): Use a single insn to
4077 allocate 32768 bytes of stack. Use addition rather than subtraction
4078 when a single insn is enough.
4079 * config/mips/mips.md: Remove insns and splitters for subtracting
4080 constants.
4081 (subsi3): Only accept register operands.
4082 (subsi3_internal): Likewise. Use for TARGET_MIPS16 as well.
4083 (subdi3_internal_3, subsi3_internal_2): Likewise.
4084 (casesi): Use expand_binop to subtract the lower bound.
4085
4086 2003-07-14 Richard Sandiford <rsandifo@redhat.com>
4087
4088 * config/mips/mips.c (mips_in_small_data_p): Don't handle
4089 TARGET_MIPS16 specially.
4090
4091 2003-07-14 Richard Sandiford <rsandifo@redhat.com>
4092
4093 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Use
4094 mips_output_aligned_bss.
4095 * config/mips/linux.h: Likewise.
4096 * config/mips/mips-protos.h (mips_output_aligned_bss): Declare.
4097 * config/mips/mips.c (mips_output_aligned_bss): New function.
4098
4099 * config/mips/elf.h (DBX_DEBUGGING_INFO): Delete.
4100 * config/mips/elf64.h: Likewise.
4101
4102 * config/mips/elf.h (ASM_DECLARE_OBJECT_NAME): Use
4103 mips_declare_object_name.
4104 (ASM_FINISH_DECLARE_OBJECT): Likewise mips_finish_declare_object.
4105 * config/mips/elf64.h: As for elf.h.
4106 * config/mips/iris6.h: Likewise.
4107 * config/mips/linux.h (ASM_DECLARE_OBJECT_NAME): As for elf.h.
4108 * config/mips/mips.h (ASM_DECLARE_OBJECT_NAME): Remove unnecessary
4109 do...while (0) block.
4110 * config/mips/mips-protos.h (mips_declare_object_name): Declare.
4111 (mips_finish_declare_object): Declare.
4112 * config/mips/mips.c (mips_declare_object_name): New function.
4113 (mips_finish_declare_object): New function.
4114
4115 * config/mips/elf.h (SBSS_SECTION_ASM_OP): Delete.
4116 * config/mips/linux.h: Likewise.
4117
4118 * config/mips/mips.c (inside_function): Delete.
4119 (file_in_function_warning, ignore_line_number): Delete.
4120 (mips_output_filename): Don't warn about changing filenames within
4121 a function.
4122 (mips_output_lineno): Update accordingly.
4123 (mips_output_function_prologue): Don't reset the deleted variables.
4124 * config/mips/mips.h (inside_function): Delete.
4125 (file_in_function_warning, ignore_line_number): Delete.
4126
4127 * config/mips/elf.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Remove undefs.
4128 * config/mips/elf64.h: Likewise.
4129 * config/mips/openbsd.h: Likewise.
4130 * config/mips/iris5.h (OBJECT_FORMAT_COFF): Remove undefs.
4131 * config/mips/linux.h: Likewise.
4132 * config/mips/mips.h (OBJECT_FORMAT_COFF, EXTENDED_COFF): Delete.
4133 (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, MIPS_UNMARK_STAB): Delete.
4134
4135 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Add mips/sdb.h
4136 to the list of include files when using gas.
4137 (mips*el-*-openbsd*, mips*-*-openbsd*): Add mips/sdb.h unconditionally.
4138 * config/mips/elf.h: Remove #undef SDB_DEBUGGING_INFO.
4139 * config/mips/elf64.h: Likewise.
4140 * config/mips/iris5.h: Likewise.
4141 * config/mips/linux.h: Likewise.
4142 * config/mips/iris5gas.h (SDB_DEBUGGING_INFO): Remove definition.
4143 * config/mips/mips.h (PREFERRED_DEBUGGING_TYPE): Likewise.
4144 (SDB_DEBUGGING_INFO, sdb*, SDB_ALLOW_*, PUT_SDB*): Move to...
4145 * config/mips/sdb.h: ...this new file.
4146
4147 2003-07-14 Douglas Rupp <rupp@gnat.com>
4148
4149 * fixinc/server.c (server_setup): Don't use non-POSIX NULL first
4150 argument to getcwd; use fixed buffer instead.
4151
4152 2003-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
4153
4154 * fixinc/mkfixinc.sh: Treat OpenBSD normally.
4155 * fixinc/fixinc.wrap: Delete.
4156
4157 2003-07-14 Dan Nicolaescu <dann@ics.uci.edu>
4158
4159 * ggc-page.c (extra_order_size_table): Insns have 9 slots. Regs
4160 don't have 2.
4161
4162 2003-07-14 Dan Nicolaescu <dann@ics.uci.edu>
4163
4164 * ggc-page.c (struct globals): Add new fields to keep track of the
4165 total allocated memory and overhead.
4166 (ggc_print_statistics): Print them.
4167 (ggc_alloc): Keep track of the total allocated memory and the
4168 overhead.
4169
4170 * tree.c (dump_tree_statistics): Increase spacing.
4171 (enum tree_node_kind): Move to ...
4172 * tree.h (enum tree_node_kind): ... here.
4173 (tree_node_counts, tree_node_sizes): Declare.
4174
4175 2003-07-14 James A. Morrison <ja2morri@student.math.uwaterloo.ca>
4176
4177 * doc/include/texinfo.tex: Upgrade to texinfo 4.6.
4178
4179 2003-07-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4180
4181 PR optimization/11440
4182 * gcse.c (try_replace_reg): Don't attach notes to ZERO_EXTRACT or
4183 SIGN_EXTRACT SETs.
4184
4185 2003-07-14 Alan Modra <amodra@bigpond.net.au>
4186
4187 * doc/tm.texi (BLOCK_REG_PADDING): Describe.
4188 * expr.h (struct locate_and_pad_arg_data): Add where_pad.
4189 (emit_group_load, emit_group_store): Adjust declarations.
4190 Remove most occurrences of #ifdef TREE_CODE.
4191 * expr.c (emit_group_load): Add "type" param, and use
4192 BLOCK_REG_PADDING to determine need for a shift. Optimize non-
4193 aligned accesses if !SLOW_UNALIGNED_ACCESS.
4194 (emit_group_store): Likewise.
4195 (emit_push_insn, expand_assignment, store_expr, expand_expr): Adjust
4196 emit_group_load and emit_group_store calls.
4197 * calls.c (store_unaligned_arguments_into_pseudos): Tidy. Use
4198 BLOCK_REG_PADDING to determine whether we need endian_correction.
4199 (load_register_parameters): Localize vars. Handle shifting of
4200 small values to the correct end of regs. Adjust emit_group_load
4201 call.
4202 (expand_call, emit_library_call_value_1): Adjust emit_group_load
4203 and emit_group_store calls.
4204 * function.c (assign_parms): Set mem alignment for stack slots.
4205 Adjust emit_group_store call. Store values at the "wrong" end
4206 of regs to the stack. Use BLOCK_REG_PADDING.
4207 (locate_and_pad_parm): Save where_pad.
4208 (expand_function_end): Adjust emit_group_load call.
4209 * stmt.c (expand_value_return): Adjust emit_group_load call.
4210 * Makefile.in (calls.o): Depend on $(OPTABS_H).
4211 * config/rs6000/linux64.h (TARGET_LITTLE_ENDIAN): Redefine as 0.
4212 (AGGREGATE_PADDING_FIXED, AGGREGATES_PAD_UPWARD_ALWAYS): Define.
4213 (MUST_PASS_IN_STACK): Define.
4214 (BLOCK_REG_PADDING): Define.
4215 * config/rs6000/rs6000.h (struct rs6000_args): Remove orig_nargs.
4216 (PAD_VARARGS_DOWN): Define in terms of FUNCTION_ARG_PADDING.
4217 * config/rs6000/rs6000.c (init_cumulative_args): Don't set orig_nargs.
4218 (function_arg_padding): !AGGREGATE_PADDING_FIXED compatibility code.
4219 Act on AGGREGATES_PAD_UPWARD_ALWAYS.
4220
4221 2003-07-13 Aaron W. LaFramboise <awlaframboise@aol.com>
4222
4223 * config/i386/gthr-win32.c (__GTHREAD_HIDE_WIN32API): Define to 1.
4224
4225 2003-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4226
4227 * expr.c (expand_expr, case COMPONENT_REF): If reg, copy OP0 to MEM
4228 both if OFFSET specified and if result BLKmode for ARRAY_RANGE_REF.
4229
4230 2003-07-13 Nathanael Nerode <neroden@gcc.gnu.org>
4231
4232 PR other/11123
4233 * toplev.c: Don't cut off option names.
4234
4235 2003-07-13 Andreas Jaeger <aj@suse.de>
4236
4237 * c-decl.c (link_hash_hash): Avoid warning about casting pointer
4238 to integer of different size.
4239
4240 2003-07-13 Kazu Hirata <kazu@cs.umass.edu>
4241
4242 * combine.c (simplify_comparison): Convert (ne (and (not X) 1) 0)
4243 to (eq (and X 1) 0).
4244
4245 2003-07-13 Andreas Jaeger <aj@suse.de>
4246
4247 * config.gcc: Add pmmintrin.h for x86_64-*-*.
4248
4249 2003-07-13 Zack Weinberg <zack@codesourcery.com>
4250
4251 * Makefile.in (LIBCPP_DEPS): Remove coretypes.h and $(TM_H).
4252 (hashtable.o, line-map.o, mkdeps.o): Likewise, from dependency
4253 list. Move these all together down by cpplib.
4254
4255 * cpplib.h: Don't refer to MAX_WCHAR_TYPE_SIZE when determining
4256 definition of CPPCHAR_SIGNED_T.
4257
4258 * cppcharset.c, cpperror.c, cppexp.c, cppfiles.c, cpphash.c, cppinit.c
4259 * cpplex.c, cpplib.c, cppmacro.c, cpppch.c, cpptrad.c, hashtable.c
4260 * line-map.c, mkdeps.c: Don't include coretypes.h or tm.h.
4261
4262 * cpphash.c (_cpp_init_hashtable): Don't use gcc_obstack_init.
4263 * cppinit.c (cpp_create_reader): Likewise.
4264
4265 * cpphash.h (scan_out_logical_line): Rename _cpp_scan_out_logical_line.
4266 * cpptrad.c: Likewise. All callers changed.
4267 * cpplib.c: All callers changed.
4268 * c-ppoutput.c: Replace 'uchar' with 'unsigned char' throughout.
4269 * hashtable.h: Define GTY(x) to nothing here too.
4270
4271 2003-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4272
4273 * stor-layout.c (compute_record_mode): Remove very obsolete test
4274 that forces BLKmode for records with fields crossing word boundary.
4275
4276 2003-07-13 Zack Weinberg <zack@codesourcery.com>
4277
4278 * Makefile.in: Remove orphan reference to acconfig.h.
4279
4280 2003-07-13 Andreas Jaeger <aj@suse.de>
4281
4282 * cgraphunit.c: Convert prototypes to ISO C90.
4283
4284 2003-07-13 Nathanael Nerode <neroden@gcc.gnu.org>
4285
4286 * fixinc/inclhack.def (avoid_wchar_t_type): Use __cplusplus bypass
4287 (for OpenBSD).
4288 * fixinc/fixincl.x: Rebuild.
4289
4290 2003-07-12 Zack Weinberg <zack@codesourcery.com>
4291
4292 * configure.in: Always define HAVE_AS_GOTOFF_IN_DATA for
4293 i?86-*-*. Use correct name of cache variable.
4294 * configure: Regenerate.
4295
4296 2003-07-12 Kazu Hirata <kazu@cs.umass.edu>
4297
4298 * config/alpha/alpha.c: Fix comment typos.
4299 * config/alpha/alpha.md: Likewise.
4300 * config/arm/arm.c: Likewise.
4301 * config/arm/arm.md: Likewise.
4302 * config/arm/lib1funcs.asm: Likewise.
4303 * config/avr/avr.md: Likewise.
4304 * config/arm/README-interworking: Fix typos.
4305
4306 2003-07-12 Kazu Hirata <kazu@cs.umass.edu>
4307
4308 * c-format.c: Fix comment formatting.
4309 * c-typeck.c: Likewise.
4310 * coverage.c: Likewise.
4311 * cppcharset.c: Likewise.
4312 * cpplib.c: Likewise.
4313 * dbxout.c: Likewise.
4314 * gcov-io.h: Likewise.
4315 * toplev.c: Likewise.
4316
4317 2003-07-12 Nathanael Nerode <neroden@gcc.gnu.org>
4318
4319 * fixinc/inclhack.def (alpha_sbrk): Note that OpenBSD needs this
4320 fix.
4321
4322 2003-07-12 Zack Weinberg <zack@codesourcery.com>
4323
4324 * aclocal.m4 (gcc_AC_CHECK_TYPE): Clone of AC_CHECK_TYPE,
4325 uses three-argument AC_DEFINE so no acconfig.h entries are
4326 needed.
4327 (_gcc_COMPUTE_GAS_VERSION): Also provide gcc_cv_gas_vers
4328 which contains the GAS version number as a scaled integer.
4329 (gcc_GAS_VERSION_GTE_IFELSE): Use gcc_cv_gas_vers. Add
4330 ability to check for ELF assembler.
4331 (gcc_GAS_CHECK_FEATURE): New macro.
4332 * configure.in: Use gcc_AC_CHECK_TYPE. Rewrite all
4333 assembler feature checks using gcc_GAS_CHECK_FEATURE.
4334 Use three-argument AC_DEFINE everywhere.
4335 * acconfig.h: Deleted.
4336 * config.in, configure: Regenerate.
4337
4338 2003-07-12 Nathanael Nerode <neroden@gcc.gnu.org>
4339
4340 * fixinc/inclhack.def (struct_sockaddr): Avoid "fixing" sockaddr_in
4341 (on OpenBSD).
4342 * fixinc/fixincl.x: Regenerate.
4343
4344 * fixinc/inclhack.def (gnu_types): Improve comment.
4345
4346 2003-07-12 Andreas Jaeger <aj@suse.de>
4347
4348 * fp-test.c (main): Use ISO C90 prototype.
4349
4350 * version.c: Remove unneded include of ansidecl.h.
4351
4352 * cgraph.h: Convert prototypes to ISO C90.
4353 * cgraph.c: Likewise.
4354 * fix-header.c: Likewise.
4355 * ra.h: Likewise.
4356 * protoize.c: Likewise.
4357
4358 Sat Jul 12 06:09:38 CEST 2003 Jan Hubicka <jh@suse.cz>
4359
4360 * cgraphunit.c (cgraph_inlined_into, cgraph_inlined_calees): Fix
4361 warning.
4362
4363 Sat Jul 12 03:06:01 CEST 2003 Jan Hubicka <jh@suse.cz>
4364 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4365
4366 * cgraph.c (cgraph_max_uid): New global variable.
4367 (cgraph_node): Set uid field.
4368 (create_edge): Keep inline flags consistent.
4369 (dump_cgraph): Dump more info.
4370 * cgraph.h (struct cgraph_local_info): Remove inline_many and
4371 can_inline_once; add inlinable, disgread_inline_limits, and self_insn
4372 (struct cgraph_global_info): Add insns, calls, cloned_times,
4373 will_be_output.
4374 (struct cgraph_node): Add uid.
4375 (struct cgraph_edge): Add inline_call.
4376 (cgraph_max_uid, cgraph_inline_p): Declare.
4377 * cgraph.c: Include params.h and fibheap.h
4378 (cgraph_mark_functions_to_inline_once): Kill.
4379 (INSNS_PER_CALL): New constant.
4380 (ncalls_inlined, nfunctions_inlined, initial_insns, overall_insns): New
4381 static variables.
4382 (cgraph_finalize_function): Do not analyze inlining.
4383 (cgraph_finalize_compilation_unit): Set inlining attributes.
4384 (cgraph_mark_functions_to_output): More consistency checks.
4385 (cgraph_optimize_function): Set current_function_decl to NULL.
4386 (cgraph_expand_function): Use new inline flags.
4387 (cgraph_postorder): Expand from cgraph_expand_functions.
4388 (INLINED_TIMES, SET_INLINED_TIMES): New macros.
4389 (cgraph_inlined_into, cgraph_inlined_callees,
4390 cgraph_estimate_size_after_inlining, cgraph_estimate_growth,
4391 cgraph_mark_inline, cgraph_check_inline_limits,
4392 cgraph_default_inline_p, cgraph_decide_inling_of_small_functions,
4393 cgraph_decide_inlining, cgraph_inline_p): New functions.
4394 * params.def (PARAM_LARGE_FUNCTION_INSNS, PARAM_LARGE_FUNCTION_GROWTH,
4395 PARAM_INLINE_UNIT_GROWTH): New parameters.
4396 * tree-inline.c (struct inline_data): New field current_decl.
4397 (expand_call_inline): Avoid forward declarations; use
4398 inlinable_function_p.
4399 (optimize_inline_calls): Set id.current_decl.
4400
4401 2003-07-11 Andrew Pinski <pinskia@physics.uc.edu>
4402
4403 * configure.in: Remove wrongly added definition of
4404 local_prefix.
4405 * configure: Regenerate.
4406
4407 2003-07-11 Dan Nicolaescu <dann@ics.uci.edu>
4408
4409 * rtl.def (NOTE): Do not use padding.
4410
4411 2003-07-11 Dara Hazeghi <dhazeghi@yahoo.com>
4412
4413 * doc/install.tex: Update required binutils for i?86-*-linux*
4414
4415 2003-07-11 Richard Henderson <rth@redhat.com>
4416
4417 * Makefile.in (stage1_build): Force OBJS-onestep=OBJS.
4418
4419 2003-07-11 Mark Mitchell <mark@codesourcery.com>
4420
4421 * varasm.c (make_decl_rtl): Treat decls with a DECL_CONTEXT of
4422 TRANSLATION_UNIT_DECL as top_level.
4423
4424 2003-07-11 Jakub Jelinek <jakub@redhat.com>
4425
4426 * optabs.c (prepare_cmp_insn): Try cmpmemM first if it exists,
4427 then fall back to cmpstrM.
4428 * builtins.c (expand_builtin_memcmp): Likewise.
4429 * config/s390/s390-protos.h (s390_expand_cmpstr): Rename to...
4430 (s390_expand_cmpmem): ... this.
4431 * config/s390/s390.md (cmpmemdi, cmpmemsi, cmpmem_short_64,
4432 cmpmem_short_31, cmpmem_long_64, cmpmem_long_31): Renamed
4433 from cmpstr* patterns. Rename call to s390_expand_cmpstr
4434 to s390_expand_cmpmem.
4435 * config/s390/s390.c (s390_expand_cmpstr): Rename to...
4436 (s390_expand_cmpstr): ... this. Rename cmpstr* instructions
4437 to cmpmem*.
4438 * config/i370/i370.md (cmpmemsi, cmpmemsi_1): Renamed from
4439 cmpstr* patterns.
4440 * doc/md.texi (cmpstrM): Describe as String compare insn, not
4441 Block compare insn.
4442 (cmpmemM): Add.
4443
4444 2003-07-11 Loren James Rittle <ljrittle@acm.org>
4445
4446 * config/i386/freebsd.h (SET_ASM_OP): Remove.
4447 (SUBTARGET_OVERRIDE_OPTIONS): Handle TARGET_64BIT case.
4448 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, DBX_REGISTER_NUMBER
4449 MCOUNT_NAME, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE_SIZE): Whitespace.
4450
4451 2003-07-11 Richard Henderson <rth@redhat.com>
4452
4453 * function.c (assign_parms): Don't recombine complex args if
4454 fnargs is unchanged from orig_fnargs.
4455 (split_complex_args): Return args without complex before copying.
4456 Re-layout the modified parameters.
4457
4458 2003-07-11 J"orn Rennecke <joern.rennecke@superh.com>
4459
4460 * regclass.c (choose_hard_reg_mode): Add third argument.
4461 Changed all callers.
4462 * rtl.h (choose_hard_reg_mode): Update declaration.
4463 * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes):
4464 Take HARD_REGNO_CALL_PART_CLOBBERED into account.
4465
4466 2003-07-11 Geoffrey Keating <geoffk@apple.com>
4467
4468 * c-decl.c (finish_decl): Handle 'used' here...
4469 * cgraphunit.c (cgraph_finalize_function): ... and here ...
4470 * c-common.c: (handle_used_attribute): ... not here.
4471
4472 * configure.in (onstep): Support --enable-intermodule.
4473 * Makefile.in (OBJS-common): New.
4474 (OBJS-md): New.
4475 (OBJS-archive): New.
4476 (OBJS): Build from OBJS-common, OBJS-md, OBJS-archive.
4477 (OBJS-onestep): New.
4478 (libbackend.a): Support @onestep@.
4479 (libbackend.o): New.
4480 * configure: Regenerate.
4481
4482 * c-common.h (c_reset_state): New prototype.
4483 (c_parse_file): New prototype.
4484 (finish_file): Move prototype from c-tree.h.
4485 * c-decl.c: Include <hashtab.h>.
4486 (builtin_decls): New.
4487 (current_file_decl): New.
4488 (duplicate_decls): Add extra parameter. Change all callers. Don't
4489 output duplicate common symbols.
4490 (link_hash_hash): New.
4491 (link_hash_eq): New.
4492 (poplevel): Handle popping of the top level.
4493 (warn_if_shadowing): Handle TRANSLATION_UNIT_DECL.
4494 (pushdecl): Set DECL_CONTEXT to TRANSLATION_UNIT_DECL if appropriate.
4495 (pushdecl_top_level): Likewise.
4496 (redeclaration_error_message): Handle TRANSLATION_UNIT_DECL.
4497 (c_init_decl_processing): Create TRANSLATION_UNIT_DECL.
4498 (finish_decl): Handle TRANSLATION_UNIT_DECL.
4499 (merge_translation_unit_decls): New.
4500 (c_write_global_declarations): New.
4501 (c_reset_state): New.
4502 (implicitly_declare): Handle TRANSLATION_UNIT_DECL.
4503 * c-lang.c (LANG_HOOKS_WRITE_GLOBALS): New.
4504 * c-objc-common.c (c_cannot_inline_tree_fn): Handle
4505 TRANSLATION_UNIT_DECL.
4506 (c_objc_common_finish_file): Call merge_translation_unit_decls.
4507 * c-opts.c (in_fnames): Rename from in_fname.
4508 (c_common_decode_option): Handle multiple input filenames.
4509 (c_common_post_options): Likewise.
4510 (c_common_parse_file): Likewise; also, call c_parse_file rather than
4511 yyparse.
4512 * c-parse.in: Move cleanup code to c_parse_file.
4513 (free_parser_stacks): Move contents to c_parse_file.
4514 (c_parse_file): New.
4515 * c-tree.h (union lang_tree_node): Chain along TYPE_NEXT_VARIANT
4516 for integer types.
4517 (C_DECL_FILE_SCOPE): New.
4518 (finish_file): Move prototype to c-common.h.
4519 (merge_translation_unit_decls): New prototype.
4520 (comptypes): Add extra parameter to prototype.
4521 (c_write_global_declarations): New prototype.
4522 * c-typeck.c (tagged_types_tu_compatible_p): New.
4523 (function_types_compatible_p): Add extra parameter, change all callers.
4524 (type_lists_compatible_p): Likewise.
4525 (comptypes): Likewise.
4526 (struct tagged_tu_seen): New.
4527 (tagged_tu_seen_base): New.
4528 (build_unary_op): Handle TRANSLATION_UNIT_DECL.
4529 (c_mark_addressable): Remove #if 0 code.
4530 * calls.c (special_function_p): Handle TRANSLATION_UNIT_DECL, add
4531 comment explaining why it shouldn't have to.
4532 * cgraph.h (struct cgraph_node): Add chain_next and chain_prev GTY
4533 options.
4534 * cppinit.c (cpp_read_next_file): New.
4535 (cpp_read_main_file): Use it.
4536 * cpplib.c (undefine_macros): New.
4537 (cpp_undef_all): New.
4538 * cpplib.h (cpp_read_next_file): Prototype.
4539 (cpp_undef_all): Prototype.
4540 * langhooks-def.h (write_global_declarations): Remove prototype.
4541 * toplev.h (write_global_declarations): Add prototype.
4542 * tree.c (decl_type_context): Use switch statement, handle
4543 TRANSLATION_UNIT_DECL.
4544 * tree.def: Update documentation for TRANSLATION_UNIT_DECL.
4545 (TRANSLATION_UNIT_DECL): New kind of tree.
4546 * tree.h: Update documentation for TRANSLATION_UNIT_DECL.
4547 * Makefile.in (c-decl.o): Add $(HASHTAB_H) to dependencies.
4548 * doc/invoke.texi: Make attempt to document new functionality.
4549
4550 2003-05-19 Per Bothner <bothner@apple.com>
4551
4552 * gcc.c (combine_inputs): New.
4553 (process_command): Set combine_inputs.
4554 (do_spec_1): Handle combine_inputs.
4555 (main): Likewise.
4556
4557 2003-07-10 James E Wilson <wilson@tuliptree.org>
4558
4559 PR optimization/9745
4560 * loop.c (loop_iv_add_mult_emit_before): Call loop_regs_update before
4561 loop_insn_emit_before.
4562 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
4563
4564 2003-07-10 Zack Weinberg <zack@codesourcery.com>
4565
4566 * cppcharset.c: Fix comment.
4567 (iconv_close [!HAVE_ICONV]): #define to (void)0 to prevent warning.
4568 (EILSEQ): #define to EINVAL if not already defined.
4569 (convert_using_iconv): #if out when !HAVE_ICONV.
4570 (init_iconv_desc): Handle !HAVE_ICONV here...
4571 (cpp_init_iconv): ...not here.
4572
4573 2003-07-11 Neil Booth <neil@daikokuya.co.uk>
4574
4575 * common.opt: More --help messages.
4576 * opts.c (print_help): Use puts().
4577 * toplev.c (f_options): Remove help text.
4578 (display_help): Don't dump f_options.
4579
4580 2003-07-11 Nathanael Nerode <neroden@gcc.gnu.org>
4581
4582 * fixinc/mkfixinc.sh: Drop reference to unsupported alpha-*-interix*.
4583 Move i?86-*-interix* to the don't-fix list.
4584 * fixinc/fixinc.interix: Delete with extreme prejudice.
4585
4586 2003-07-10 Dara Hazeghi <dhazeghi@yahoo.com>
4587
4588 PR bootstrap/10758
4589 * doc/install.texi: Document requirements for ia64-*-hpux* target.
4590
4591 2003-07-10 Roger Sayle <roger@eyesopen.com>
4592
4593 * config/ia64/hpux.h (TARGET_C99_FUNCTIONS): Define.
4594
4595 2003-07-10 Zack Weinberg <zack@codesourcery.com>
4596
4597 * cppcharset.c (one_utf8_to_cppchar, one_cppchar_to_utf8,
4598 one_utf8_to_utf32, one_utf32_to_utf8, one_utf8_to_utf16,
4599 one_utf16_to_utf8, conversion_loop, convert_utf8_utf16,
4600 convert_utf8_utf32, convert_utf16_utf8, convert_utf32_utf8,
4601 convert_no_conversion, convert_using_iconv): New functions.
4602 (APPLY_CONVERSION): New macro.
4603 (struct conversion, conversion_tab): New data structure.
4604 (init_iconv_desc): Check conversion_tab for a custom conversion
4605 primitive before trying to use iconv.
4606 (convert_cset): Deleted.
4607 (cpp_init_iconv): Use UTF- terminology, not UCS-.
4608 (_cpp_destroy_iconv): Update to match.
4609 (_cpp_valid_ucn): We don't need iconv to implement UCNs.
4610 (convert_ucn): Use one_cppchar_to_utf8 and APPLY_CONVERSION.
4611 (convert_escape, cpp_interpret_string): Use APPLY_CONVERSION.
4612 (_cpp_interpret_string_notranslate): New function, moved here
4613 from cpplib.c.
4614
4615 * cpphash.h (convert_f, struct cset_converter): New types.
4616 (struct cpp_reader): narrow_cset_desc and wide_cset_desc
4617 are now struct cset_converter, not bare iconv_t.
4618 Update prototypes.
4619 * cpplib.c (interpret_string_notranslate): Moved to cppcharset.c;
4620 all callers changed.
4621
4622 2003-07-10 Kelley Cook <kelleycook@wideopenwest.com>
4623
4624 * Makefile.in (options.h): Depend on Makefile. Add move-if-change
4625 to opts.sh command line.
4626 * opts.sh: Write to temporary files with a move-if-change at the end.
4627
4628 2003-07-10 Denis Chertykov <denisc@overta.ru>
4629 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4630
4631 * combine.c (gen_binary): Handle the CLOBBER rtx and
4632 don't build a binary operation with it.
4633
4634 2003-07-10 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
4635
4636 * gcse.c (load_kills_store, find_loads, store_killed_in_insn,
4637 store_killed_after, store_killed_before): Keep track of the correct
4638 dependency function to use.
4639
4640 2003-07-10 Steven Bosscher <steven@gcc.gnu.org>
4641 * toplev.c (do_compile): Don't try to open dump files before
4642 lang_dependent_init initializes dump_base_name.
4643
4644 2003-07-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4645
4646 * config/arm/arm.c (arm_init_iwmmxt_builtins, arm_expand_builtin):
4647 Use ARRAY_SIZE.
4648 * config/frv/frv.c (frv_expand_builtin): Likewise.
4649 * config/sh/sh.c (sh_media_init_builtins): Likewise.
4650
4651 2003-07-09 Mark Mitchell <mark@codesourcery.com>
4652
4653 PR c++/10032
4654 * doc/invoke.texi (C++ Dialect Options): Change documentation of
4655 -fpermissive.
4656
4657 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
4658
4659 * tm.texi (RETURN_ADDR_OFFSET): Document.
4660
4661 2003-07-10 Nathan Sidwell <nathan@codesourcery.com>
4662
4663 * gcov-io.h: Update documentation.
4664 (GCOV_UNSIGNED2STRING): New.
4665 (GCOV_TAG_FUNCTION_LENGTH, GCOV_TAG_BLOCKS_LENGTH,
4666 GCOV_TAG_ARCS_LENGTH, GCOV_TAG_COUNTER_LENGTH,
4667 GCOV_TAG_SUMMARY_LENGTH): Adjust.
4668 (GCOV_TAG_BLOCKS_NUM, GCOV_TAG_ARCS_NUM,
4669 GCOV_TAG_COUNTER_NUM): New.
4670 (GCOV_BLOCK_SIZE): Number of words.
4671 (gcov_var): Adjust buffer type.
4672 * gcov-io.c (gcov_write_bytes, gcov_read_bytes): Rename to ...
4673 (gcov_write_words, gcov_read_words): ... here. Take a 4-byte word
4674 count, not byte count.
4675 (gcov_open): Adjust overread init.
4676 (gcov_allocate, gcov_write_unsigned, gcov_write_counter,
4677 gcov_write_string, gcov_write_tag, gcov_write_length,
4678 gcov_write_tag_length): Adjust.
4679 (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Adjust.
4680 (gcov_sync, gcov_seek): Adjust.
4681 * gcov-dump.c (print_usage): Show gcc version only.
4682 (dump_file): Use GCOV_UNSIGNED2STRING.
4683 (tag_blocks, tag_arcs, tag_counters): Use GCOV_TAG_*_NUM macros.
4684 * gcov.c (print_version): Show gcc version only.
4685 (read_graph_file): Use GCOV_UNSIGNED2STRING. Use
4686 GCOV_TAG_*_NUM macros.
4687 (read_count_file): Use GCOV_UNSIGNED2STRING. Use
4688 GCOV_TAG_COUNTER_LENGTH.
4689 * coverage.c (read_counts_file): Use GCOV_UNSIGNED2STRING.
4690 Use GCOV_TAG_COUNTER_NUM.
4691 * libgcov.c (gcov_version): Use GCOV_UNSIGNED2STRING.
4692 (__gcov_merge_single, __gcov_merge_delta): Use GCOV_CHECK.
4693
4694 2003-07-10 Andreas Schwab <schwab@suse.de>
4695
4696 * gcov-dump.c (dump_file): Fix missing address operator.
4697
4698 2003-07-10 Kazu Hirata <kazu@cs.umass.edu>
4699
4700 PR c/11449
4701 * fold-const.c (sign_bit_p): Return EXP if VAL is the sign bit
4702 of HOST_WIDE_INT.
4703 (fold_single_bit_test): If sign_bit_p() fails, assume that the
4704 bit being tested is not a sign bit.
4705
4706 2003-07-10 Kazu Hirata <kazu@cs.umass.edu>
4707
4708 * config/h8300/h8300.md (a peephole2): New.
4709
4710 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
4711
4712 2001-12-13 Alexandre Oliva <aoliva@redhat.com>
4713 * config/mn10300/linux.h (LINK_SPEC): Rename the dynamic linker
4714 from ld-linux.so.2 to ld.so.1.
4715 2001-11-18 Alexandre Oliva <aoliva@redhat.com>
4716 * config/mn10300/linux.h (LINK_SPEC): -lpthread, not -lthread.
4717 * config/mn10300/linux.h (LINK_SPEC): Don't handle -Wl,-rpath
4718 nor -Wl,-rpath-link.
4719 (LIB_SPEC): Add -rpath-link if !static.
4720 2001-08-22 Alexandre Oliva <aoliva@redhat.com>
4721 * config/mn10300/mn10300.c (mn10300_protect_label): New
4722 variable.
4723 * config/mn10300/linux.h (PRINT_OPERAND,
4724 PRINT_OPERAND_ADDRESS): Set it during their execution.
4725 (ASM_OUTPUT_LABELREF): Output `+' before symbol name if
4726 mn10300_protect_label is set.
4727 * config/mn10300/linux.h (LINK_SPEC): Recognize -Wl,-rpath and
4728 -Wl,-rpath-link.
4729 (LIB_SPEC, STARTFILE_SPEC): Define.
4730 2001-05-11 Alexandre Oliva <aoliva@redhat.com>
4731 * config/mn10300/t-linux (dp-bit.c, fp-bit.c): Don't define
4732 FLOAT_BIT_ORDER_MISMATCH.
4733 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
4734 * config.gcc (am33_2.0-*-linux*): Added.
4735 * config/mn10300/linux.h: New.
4736 * config/mn10300/t-linux: New.
4737
4738 2003-07-10 Andreas Jaeger <aj@suse.de>
4739
4740 * fold-const.c: Properly wrap prototypes.
4741
4742 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
4743
4744 2003-06-16 Alexandre Oliva <aoliva@redhat.com>
4745 * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter):
4746 Moved from...
4747 * config/mn10300/mn10300.md (GOTaddr2picreg): ... here.
4748 * config/mn10300/mn10300.h: GTY-declare it.
4749 2003-06-11 Alexandre Oliva <aoliva@redhat.com>
4750 * config/mn10300/mn10300.c (mn10300_encode_section_info): Fix
4751 prototype. Use incoming RTL argument.
4752 2002-12-12 Alexandre Oliva <aoliva@redhat.com>
4753 * config/mn10300/mn10300.md (int_label): Move C statements...
4754 (GOTaddr2picreg): ... here.
4755 2002-08-15 Alexandre Oliva <aoliva@redhat.com>
4756 * config/mn10300/mn10300.h (ENCODE_SECTION_INFO): Move...
4757 * config/mn10300/mn10300.c (mn10300_encode_section_info):
4758 ... here. New function.
4759 (TARGET_ENCODE_SECTION_INFO): Define to it.
4760 2001-11-04 Alexandre Oliva <aoliva@redhat.com>
4761 * config/mn10300/mn10300.md (builtin_setjmp_receiver): Fix typo in
4762 pattern name.
4763 (mn10300_loadPC): Define as insn splittable after reload.
4764 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
4765 * config/sh/mn10300.h (JUMP_TABLES_IN_TEXT_SECTION): Let them
4766 be defined in .rodata even in PIC, now that the assembler
4767 supports that.
4768 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
4769 * config/mn10300/mn10300.h (GOT_SYMBOL_NAME): Don't let the
4770 symbol take an underscore prefix.
4771 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
4772 * config/mn10300/mn10300-protos.h (legitimate_pic_operand_p,
4773 legitimize_pic_address): Declare.
4774 * config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): Mark
4775 the PIC register as fixed.
4776 (EXTRA_CONSTRAINT): Match UNSPEC_PLT and UNSPEC_PIC for 'S'.
4777 (GO_IF_LEGITIMATE_ADDRESS): Require legitimate_pic_operand for
4778 PIC.
4779 (LEGITIMATE_PIC_OPERAND_P): Define.
4780 (PIC_OFFSET_TABLE_REGNUM): Define.
4781 (GOT_SYMBOL_NAME): Define.
4782 (SYMBOLIC_CONST_P): Define.
4783 (ENCODE_SECTION_INFO): Use SYMBOL_REF_FLAG to mark local
4784 symbols.
4785 (MN10300_GLOBAL_P): Test it.
4786 (OUTPUT_ADDR_CONST_EXTRA): Handle PIC-related unspecs.
4787 (JUMP_TABLES_IN_TEXT_SECTION): Enable for PIC.
4788 * config/mn10300/mn10300.c (print_operand): Handle unspec.
4789 (expand_prologue): Set PIC register.
4790 (call_address_operand): Don't match SYMBOL_REFs in PIC.
4791 (legitimize_address): Call legitimize_pic_address.
4792 (legitimize_pic_address): New fn.
4793 (legitimate_pic_operand_p): New fn.
4794 * config/mn10300/mn10300.md (PIC_REG, SP_REG): New constants.
4795 (UNSPEC_INT_LABEL, UNSPEC_PIC, UNSPEC_GOT, UNSPEC_GOTOFF,
4796 UNSPEC_PLT): New constants.
4797 (pop_pic_reg): New insn.
4798 (movsi): Adjust non-PIC addresses.
4799 (builtin_setjmp_receiver): Restore the PIC register.
4800 (casesi): New insn.
4801 (call): Adjust non-PIC addresses.
4802 (int_label, GOTaddr2picreg): New expands.
4803 (am33_loadPC): New insn.
4804 (mn10300_loadPC): New expand.
4805 (call_next_insn): New insn.
4806 (add_GOT_to_pic_reg): New expand.
4807 (symGOT2reg, symGOT2reg_i): New expands.
4808 (symGOTOFF2reg, symGOTOFF2reg_i): New expands.
4809 (sym2PIC, sym2PLT): New expands.
4810
4811 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
4812
4813 * config/mn10300/mn10300.h (PREDICATE_CODES): Define.
4814 2001-05-01 Alexandre Oliva <aoliva@redhat.com>
4815 * config/mn10300/mn10300.md (sqrtsf2): flag_fast_math was renamed
4816 to flag_unsafe_math_optimizations.
4817 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
4818 * config/mn10300/mn10300.c (expand_prologue): Mark
4819 FP-register-saving insns as frame-related.
4820 2001-02-13 Alexandre Oliva <aoliva@redhat.com>
4821 * config/mn10300/mn10300.c
4822 (mn10300_get_live_callee_saved_regs): Don't search past
4823 LAST_EXTENDED_REGNUM.
4824 (mn10300_gen_multiple_store, store_multiple_operation): Likewise.
4825 * config/mn10300/mn10300.md: Remove excessive line breaks from
4826 `@' output patterns that were accounted as additional
4827 alternatives.
4828 * config/mn10300/mn10300.md, config/mn10300/mn10300.c:
4829 Re-introduce changes accidentally removed in Richard Sandiford's
4830 2000-12-05's patch.
4831 * config/mn10300/t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
4832 Re-instate am33-2 lost in merge from net GCC.
4833 2000-08-26 Alexandre Oliva <aoliva@redhat.com>
4834 * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Added
4835 floating-point registers.
4836 2000-08-07 Alexandre Oliva <aoliva@redhat.com>
4837 * config/mn10300/mn10300.md (movdf): Revert some am33-specific
4838 pessimizations that had gone in on 2000-05-08.
4839 2000-06-28 Graham Stott <grahams@cygnus.co.uk>
4840 * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Fix typo.
4841 2000-06-22 Graham Stott <grahams@cygnus.co.uk>
4842 * config/mn10300/mn10300.md (movqi): Use nonimmediate_operand for
4843 operand 0.
4844 * (movhi): Likewise.
4845 * (movsi): Likewise.
4846 * (movsf): Likewise.
4847 * (movdi): Likewise.
4848 * (movdf): Likewise.
4849 Wed May 24 13:16:09 2000 Alexandre Oliva <aoliva@cygnus.com>
4850 * config/mn10300/mn10300.c (fp_regs_to_save): New function.
4851 (can_use_return_insn, initial_offset): Add fp_regs_to_save.
4852 (expand_prologue, expand_epilogue): Save and restore FP regs.
4853 2000-05-20 Alexandre Oliva <aoliva@cygnus.com>
4854 * config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up.
4855 2000-05-13 Alexandre Oliva <aoliva@cygnus.com>
4856 * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2, addsf3,
4857 subsf3, mulsf3, divsf3, fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4):
4858 Do not clobber cc0.
4859 2000-05-12 Alexandre Oliva <aoliva@cygnus.com>
4860 * config/mn10300/mn10300.md (abssf2, negsf2, rsqrtsf2):
4861 Discourage the two-argument, longer opcodes.
4862 (addsf3, subsf3, mulsf3, divsf3): Likewise for three-argument
4863 ones.
4864 * config/mn10300/mn10300.h (struct mn10300_cc_status_mdep): New.
4865 (CC_STATUS_MDEP, CC_STATUS_MDEP_INIT): Define.
4866 * config/mn10300/mn10300.md (cmpsf): New pattern.
4867 (branch): Test mdep.fpCC and output fbCC.
4868 * config/mn10300/mn10300.c (print_operand): Output conditions.
4869 (notice_cc_update): Recognize fcmp and set mdep.fpCC.
4870 2000-05-10 Alexandre Oliva <aoliva@cygnus.com>
4871 * config/mn10300/mn10300.md (movsf, movdf, addsf3, subsf3,
4872 mulsf3, divsf3): Use the `F' constraint for FP values.
4873 * config/mn10300/mn10300.c (const_1f_operand): New function.
4874 * config/mn10300/mn10300-protos.h (const_1f_operand): Declare.
4875 * config/mn10300/mn10300.md (sqrtsf2): New expand.
4876 (rsqrtsf2): New insn.
4877 2000-05-09 Alexandre Oliva <aoliva@cygnus.com>
4878 * config/mn10300/mn10300.md (movdf): Oops, I missed it in my
4879 previous check-in.
4880 2000-05-08 Alexandre Oliva <aoliva@cygnus.com>
4881 * config/mn10300/mn10300.md (abssf2, negdf2): On
4882 TARGET_AM33_2, expand to...
4883 (abssf2_am33_2, negdf2_am33_2): New insns.
4884 (addsf3, subsf3, mulsf3, divsf3): Likewise.
4885 (fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4): Likewise.
4886 * config/mn10300/mn10300.md (movqi, movhi, movsi, movsf,
4887 movdi, movdf): Added FP regs.
4888 * invoke.texi (-mam33-2, -mno-am33-2): Document.
4889 2000-04-29 Alexandre Oliva <aoliva@cygnus.com>
4890 * config/mn10300/mn10300.h (FIRST_FP_REGNUM, LAST_FP_REGNUM):
4891 New macros.
4892 (REGNO_AM33_2_FP_P): Renamed to...
4893 (REGNO_FP_P): Redefine in terms of FIRST_* and LAST_*.
4894 (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
4895 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
4896 * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Remove FP
4897 regs from GENERAL_REGS.
4898 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
4899 * config/mn10300/mn10300.h (REGNO_AM33_2_FP_P): New macro.
4900 * config/mn10300/mn10300.c (mn10300_address_cost): Added FP_REGS.
4901 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Added FP_REGS.
4902 2000-04-23 Alexandre Oliva <aoliva@cygnus.com>
4903 * config/mn10300/mn10300.h (CLASS_CANNOT_CHANGE_SIZE): Defined
4904 as FP_REGS.
4905 2000-04-21 Alexandre Oliva <aoliva@cygnus.com>
4906 * config/mn10300/mn10300.h (OK_FOR_Q): New macro.
4907 (EXTRA_CONSTRAINT): Added OK_FOR_Q.
4908 * config/mn10300/mn10300.c (secondary_reload_class): Adjust.
4909 * config/mn10300/mn10300.c (print_operand): Support `D' for doubles.
4910 * config/mn10300/mn10300.h (FIRST_PSEUDO_REGISTER): Adjust.
4911 (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER): Added
4912 AM33/2.0 floating-point registers.
4913 (CONDITIONAL_REGISTER_USAGE): Adjust.
4914 (enum reg_class, REG_CLASS_NAMES): Added FP_REGS and FP_ACC_REGS.
4915 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Adjust.
4916 (REG_CLASS_FROM_LETTER): Added `f' and `A'.
4917 (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Adjust.
4918 * config/mn10300/t-mn10300 (MULTILIB_OPTIONS): Added am33-2.
4919 (MULTILIB_DIRNAMES): Likewise.
4920 * config/mn10300/mn10300.h (CPP_SPEC): Define `__AM33__=2' and
4921 `__AM33_2__' when `-mam33-2' is given.
4922 (TARGET_AM33_2): Define.
4923 (TARGET_SWITCHES): Adjust.
4924 * config/mn10300/mn10300.c (asm_file_start): Print `.am33_2'
4925 when appropriate.
4926
4927 2003-07-09 Matt Kraai <kraai@alumni.cmu.edu>
4928
4929 * doc/install.texi: Add missing @.
4930
4931 2003-07-09 Bob Wilson <bob.wilson@acm.org>
4932
4933 * config/xtensa/xtensa.h (CRT_CALL_STATIC_FUNCTION): Define.
4934
4935 2003-07-09 Aldy Hernandez <aldyh@redhat.com>
4936
4937 PR/11144
4938 * config/i386/i386.c (ix86_function_arg_boundary): Remove abort.
4939
4940 2003-07-09 Nathanael Nerode <neroden@gcc.gnu.org>
4941
4942 PR bootstrap/11043
4943 * config/arc/t-arc: Replace bogus references to "x-crtinit.o",
4944 "x-crtfini.o" with "crtinit.o", "crtfini.o".
4945
4946 * fixinc/inclhack.def (limits_ifndefs): Add select test.
4947 * fixinc/fixincl.x: Rebuild.
4948
4949 * fixinc/inclhack.def (math_exception): Improve bypass and comment.
4950 * fixinc/fixincl.x: Rebuild.
4951
4952 2003-07-09 Hans-Peter Nilsson <hp@bitrange.com>
4953
4954 * doc/install.texi (Configuration): Document the valgrind option
4955 to --enable-checking.
4956
4957 Wed Jul 9 16:16:30 CEST 2003 Jan Hubicka <jh@suse.cz>
4958
4959 * objc-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
4960
4961 2003-07-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4962
4963 * c-lex.c (cb_ident): Cast cstr.text to const char *.
4964
4965 2003-07-09 Nathan Sidwell <nathan@codesourcery.com>
4966
4967 * gcov-io.h: Update documentation.
4968 (GCOV_GRAPH_SUFFIX, GCOV_GRAPH_MAGIC): Rename to GCOV_NOTE_SUFFIX,
4969 GCOV_NOTE_MAGIC.
4970 (GCOV_DATA_SUFFIX, GCOV_NOTE_SUFFIX): Update.
4971 (GCOV_DATA_MAGIC, GCOV_NOTE_MAGIC): Make non-palindromic.
4972 (struct gcov_var): Change buffer's type. Add endian flag.
4973 (gcov_open): Remove mode in libgcov.
4974 (gcov_magic): Prototype.
4975 * gcov-io.c (from_file): New.
4976 (gcov_open): Clear endian flag.
4977 (gcov_magic): New.
4978 (gcov_write_bytes, gcov_read_bytes): Return gcov_unsigned_t
4979 pointers.
4980 (gcov_write_unsigned, gcov_write_counter, gcov_write_string,
4981 gcov_write_tag, gcov_write_length, gcov_write_tag_length): Update.
4982 (gcov_read_unsigned, gcov_read_counter, gcov_read_string): Update.
4983 * gcov-iov.c (main): Correct cast.
4984 * coverage.c (read_counts_file): Use gcov_magic. Remove endianness
4985 conversion.
4986 (gcov_begin_output): Use GCOV_NOTE_MAGIC.
4987 (coverage_init): Use GCOV_NOTE_SUFFIX.
4988 * libgcov.c (gcov_version_mismatch): Remove endianness conversion.
4989 Rename to gcov_version, and return flag.
4990 (gcov_exit): Use gcov_version.
4991 (__gcov_init): Use gcov_version.
4992 * Makefile.in (coverageexts): Update.
4993 * gcov.c (print_version): Remove endianness conversion.
4994 (create_file_names): Use GCOV_NOTE_SUFFIX.
4995 (read_graph_file): Use gcov_magic.
4996 (read_count_file): Likewise.
4997 * gcov-dump.c (dump_file): Remove endianness conversion, use
4998 gcov_magic.
4999
5000 2003-07-09 Nathan Sidwell <nathan@codesourcery.com>
5001
5002 * configure.in (BUILD_PREFIX, BUILD_PREFIX_1): Set if enable
5003 coverage is on.
5004 * configure: Regenerated.
5005 * Makefile.in (ALL_CFLAGS): Correct its comment.
5006
5007 2003-07-08 Mark Mitchell <mark@codesourcery.com>
5008
5009 * fold-const.c (make_range): Do not access operand 1 for a
5010 zero-operand operator.
5011
5012 2003-07-09 Neil Booth <neil@daikokuya.co.uk>
5013
5014 * toplev.c (warn_dummy, W_options): Die.
5015 (display_help): Don't print W_options.
5016 * common.opt: Add W_options help from toplev.c.
5017
5018 2003-07-09 Andreas Jaeger <aj@suse.de>
5019
5020 * opts.c (wrap_help): Only pass int arguments as arguments to
5021 printf's '*' modifier. Change argument of function.
5022
5023 2003-07-08 Matt Kraai <kraai@alumni.cmu.edu>
5024
5025 * doc/invoke.texi: Fix misspelling of "@item".
5026
5027 2003-07-08 Kazu Hirata <kazu@cs.umass.edu>
5028
5029 * config/i386/i386.md: Remove an old comment about
5030 NOTICE_UPDATE_CC.
5031
5032 Wed Jul 9 03:00:10 CEST 2003 Jan Hubicka <jh@suse.cz>
5033
5034 * cgraph.c (cgraph_node_name): New function.
5035 (dump_cgraph): Use it.
5036 * cgraph.h (cgraph_dump_file): Declare.
5037 (cgraph_node_name): Declare.
5038 * cgraphunit.c: Include timevar.h
5039 (cgraph_finalize_compilation_unit): Use timevar; reorganize dumps.
5040 (cgraph_optimize_function): Use TV_INTEGRATION.
5041 (cgraph_mark_local_functions): reorganize dumps.
5042 (cgraph_mark_functions_to_inline_once): Likewise.
5043 (cgraph_optimize): Likewise; use timevar.
5044 * timevar.def (TV_CGRAPH, TV_CGRAPHOPT): New.
5045 * toplev.c (dump_file_index): Add DFI_cgraph.
5046 (dump_file_info): Likewise.
5047 (cgraph_dump_file): New global variable.
5048 (do_compile): Open and close cgraph dump.
5049 * invoke.texi (-d): Document new flag; renumber.
5050
5051 2003-07-08 Roger Sayle <roger@eyesopen.com>
5052
5053 PR c/11370
5054 * calls.c (emit_call_1): Don't bother popping the arguments off of
5055 the stack after a noreturn function call; The adjustment is dead.
5056 (expand_call): Likewise.
5057
5058 2003-07-08 Geoffrey Keating <geoffk@apple.com>
5059
5060 * expr.c (MOVE_MAX_PIECES): Move from here...
5061 * defaults.h (MOVE_MAX_PIECES): ... to here.
5062
5063 2003-07-08 Matt Kraai <kraai@alumni.cmu.edu>
5064
5065 * Makefile.in (stage1-start): Handle an empty SUBDIRS.
5066
5067 2003-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5068
5069 * genattr.c (internal_dfa_insn_code): Don't prototype.
5070 * genattrtab.c (attr_desc): Add `static_p' field.
5071 (expand_units): Make blockage range and ready cost functions
5072 static.
5073 (write_attr_get): Don't add extern prototypes in C file. Mark
5074 static functions as appropriate.
5075 (find_attr, make_internal_attr): Initialize static_p.
5076 * genattrtab.h (ATTR_STATIC): New macro.
5077 * genautomata.c (output_internal_reset_func): Mark output function
5078 as inline.
5079 (make_internal_dfa_insn_code_attr): Mark output function as static.
5080
5081 2003-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5082
5083 * genattrtab.h: Add new macros for attr `special' flags.
5084 * genattrtab.c (attr_desc): Reorder/resize fields better.
5085 Use attr `special' macros in all calls to make_internal_attr.
5086 * genautomata.c: Likewise.
5087
5088 Wed Jul 9 02:25:39 CEST 2003 Jan Hubicka <jh@suse.cz>
5089
5090 * c-common.c (c_estimate_num_insns_1): New static function.
5091 (c_estimate_num_insns): New global function.
5092 * c-common.h (DECL_NUM_STMTS): Rename to...
5093 (DECL_ESTIMATED_INSNS): ... this.
5094 (c_estimate_num_insns): Declare.
5095 * c-decl.c (duplicate_decls): Use DECL_ESTIMATED_INSNS.
5096 * c-lang.c (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): New.
5097 * c-semantics.c (add_stmt): Do not account statements.
5098 * langhooks-def.h (LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS):
5099 New.
5100 * langhooks.h (lang_hooks_for_tree_inlining): Add
5101 estimate_num_insns
5102 * params.def (max-inline-insns-auto, max-inline-insns-auto): set
5103 to 100.
5104 (max-inline-insns): set to 300.
5105 (min-inline-insns): set to 10.
5106 * tree-inline.c (struct inline_data): Rename inlined_stmts to
5107 inlined-insns.
5108 (INSNS_PER_STMT): Kill.
5109 (inlinable_function_p): Compute and store body size.
5110 (expand_call_inline): Likewise.
5111 (optimize_inline_calls): Likewise.
5112
5113 2003-07-08 James E Wilson <wilson@tuliptree.org>
5114
5115 PR target/10021
5116 * emit-rtl.c (set_mem_attribute_minus_bitpos): When handle ARRAY_REF,
5117 loop over new variable t2 instead of t.
5118
5119 2003-07-08 Danny Smith <dannysmith@users.sourceforge.net>
5120
5121 PR bootstrap/11455
5122 * config/i386/winnt.c: Replace use of error(), warning() with
5123 error_with_decl(), warning_with_decl(), throughout.
5124
5125 2003-07-08 Neil Booth <neil@daikokuya.co.uk>
5126
5127 * opts.c (wrap_help): Use unsigned int, not size_t.
5128
5129 2003-07-08 Stephane Carrez <stcarrez@nerim.fr>
5130
5131 * config/m68hc11/m68hc11.h (HAVE_AS_DWARF2_DEBUG_LINE): Don't define
5132 as .file/.loc directives are incompatible with linker relaxation.
5133
5134 2003-07-08 Zack Weinberg <zack@codesourcery.com>
5135
5136 * Makefile.in (fixinc.sh): Remove gnu-regex.[ch] from dependencies.
5137 * fixinc/Makefile.in: Remove all references to gnu-regex.[och].
5138 * fixinc/fixfixes.c, fixinc/fixincl.c, fixinc/fixlib.c
5139 * fixinc/fixtests.c: Use xregexec not regexec, xregcomp not regcomp.
5140 * fixinc/fixlib.h: Include xregex.h not gnu-regex.h.
5141 * fixinc/inclhack.def (hpux10_cpp_pow_inline, hpux11_cpp_pow_inline):
5142 Escape { and } characters which are not part of range expressions.
5143 * fixinc/fixincl.x: Regenerate.
5144 * fixinc/gnu-regex.c, fixinc/gnu-regex.h: Delete file.
5145
5146 2003-07-08 Steven Bosscher <steven@gcc.gnu.org>
5147
5148 PR c/1687
5149 * tree-inline.c (find_alloca_call): Use
5150 walk_tree_without_duplicates, instead of walk_tree.
5151 (find_builtin_longjmp_call): Likewise.
5152 * c-objc-common.c (c_cannot_inline_fn): Likewise.
5153 * c-semantics.c (find_reachable_label): Likewise.
5154
5155 2003-07-08 Jakub Jelinek <jakub@redhat.com>
5156
5157 PR c/11420
5158 * config/i386/i386.c (ix86_check_movabs): New function.
5159 * config/i386/i386-protos.h (ix86_check_movabs): New prototype.
5160 * config/i386/i386.md (movabs[shqd]i_1_rex64): Kill broken alternative.
5161 (movabs[shqd]i_[12]_rex64): Add ix86_check_movabs check to conditions.
5162
5163 2003-07-08 Chris Demetriou <cgd@broadcom.com>
5164
5165 * Makefile.in (install-po): Cope with empty CATALOGS.
5166
5167 2003-07-08 Richard Sandiford <rsandifo@redhat.com>
5168
5169 * config/mips/elf64.h (TARGET_ASM_UNIQUE_SECTION): Delete.
5170 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Delete.
5171 (SECTION_FUNCTION_TEMPLATE): Delete.
5172 * config/mips/elf.h: As for elf64.h.
5173 (ASM_OUTPUT_ALIGNED_BSS): Use named_section rather than sbss_section.
5174 * config/mips/linux.h: As for elf.h
5175 * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
5176 * config/mips/iris6.h (EXTRA_SECTIONS): Delete.
5177 (EXTRA_SECTION_FUNCTIONS): Remove sdata_section. Remove the handling
5178 of in_sdata from current_section_name and current_section_flags.
5179 * config/mips/iris6gld.h (TARGET_ASM_UNIQUE_SECTION): Delete.
5180 * config/mips/mips.h (sdata_section, sbss_section): Remove prototypes.
5181 (MASK_GP_OPT, TARGET_GP_OPT): Delete.
5182 (MASK_NO_FUSED_MADD): Use MASK_GP_OPT's old value.
5183 (TARGET_SWITCHES): Neuter gpOPT, gpopt, no-gpOPT and no-gpopt.
5184 (SMALL_DATA_SECTION, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
5185 * config/mips/mips.c (TARGET_IN_SMALL_DATA_P): Override.
5186 (TARGET_SECTION_TYPE_FLAGS): Override if TARGET_IRIX6.
5187 (mips_classify_symbol): Use SYMBOL_REF_SMALL_P.
5188 (override_options): Remove setting of MASK_GPOPT.
5189 (mips_output_external): Use mips_in_small_data_p to check whether a
5190 symbol needs an .extern directive. Don't emit such directives for
5191 TARGET_EXPLICIT_RELOCS.
5192 (mips_declare_object): Update accordingly.
5193 (mips_select_rtx_section): Call named_section rather than
5194 SMALL_DATA_SECTION.
5195 (mips_select_section): Use default_elf_section_section for everything
5196 except .text string constants.
5197 (mips_in_small_data_p): New function.
5198 (mips_encode_section_info): Remove small data handling.
5199 (mips_unique_section): Delete.
5200 (iris6_section_type_flags): New function.
5201 * doc/tm.texi: Remove documentation of -mgpopt and -mhalf-pic.
5202
5203 2003-07-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5204
5205 PR Target/11453
5206 * pa.md: Disparage all mtsar constraints.
5207 (extzv, extv, insv): Don't fail on length of {32|64}.
5208
5209 2003-07-08 Zack Weinberg <zack@codesourcery.com>
5210
5211 * system.h: Poison MAP_CHARACTER.
5212 * config/i370/i370-protos.h (mvs_map_char): Delete.
5213 * config/i370/i370.c (ascebc, ebcasc, mvs_map_char): Delete.
5214 * config/i370/i370.h (MAP_CHARACTER): Delete definition.
5215 (ASM_OUTPUT_ASCII): Don't use MAP_CHARACTER.
5216
5217 2003-07-08 Danny Smith <dannysmith@users.sourceforge.net>
5218
5219 * toplev.c (randomize): Correct call to time().
5220
5221 2003-07-08 Jakub Jelinek <jakub@redhat.com>
5222
5223 * unroll.c (reg_dead_after_loop): Check for reg in REG_EQUAL and
5224 REG_EQUIV notes as well.
5225
5226 2003-07-08 Kazu Hirata <kazu@cs.umass.edu>
5227
5228 * doc/md.texi: Fix the description of addmodecc.
5229
5230 2003-07-07 Zack Weinberg <zack@codesourcery.com>
5231
5232 * Makefile.in (top_builddir): Set to "..", not ".".
5233 (INTLLIBS, INTLDEPS): Delete.
5234 (LIBINTL, LIBINTL_DEP, LIBICONV_DEP): New variables to be substituted.
5235 (LIBDEPS): Add $(LIBICONV_DEP).
5236 (LIBS): Take out $(INTLLIBS), add $(LIBINTL) and $(LIBICONV).
5237 (INCLUDES): Replace -I../intl with @INCINTL@.
5238 ($(top_builddir)/intl/libintl.a): Delete rule.
5239 (stage2-start, stage3-start, stage4-start, stageprofile-start,
5240 stagefeedback-start): Use $$ for variable to be evaluated by
5241 shell, not make.
5242 * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT,
5243 HAVE_LC_MESSAGES, HAVE_STPCPY): Delete.
5244 * aclocal.m4: sinclude ../config/progtest.m4. Add
5245 contents of lcmessage.m4 from gettext distro.
5246 * configure.in: Check for wchar.h and setlocale. Set
5247 LIBICONV_DEP to the empty string and substitute it.
5248 Call AM_LC_MESSAGES. Delete AC_ARG_ENABLE for --enable-nls;
5249 this is handled elsewhere. Use ZW_GNU_GETTEXT_SISTER_DIR,
5250 not CY_GNU_GETTEXT. Clear $LIBICONV if its text is included
5251 in $LIBINTL, to avoid linking it twice.
5252 * configure, config.in: Regenerate.
5253
5254 2003-07-08 Nathanael Nerode <neroden@gcc.gnu.org>
5255
5256 * fixinc/mkfixinc.sh: Remove winnt support.
5257 * fixinc/fixinc.winnt: Delete with extreme prejudice.
5258
5259 2003-07-08 Neil Booth <neil@daikokuya.co.uk>
5260
5261 * Makefile.in: Update.
5262 * c-opts.c (c_common_handle_option): opt_text now contains the '-'.
5263 * c.opt: Update documentation.
5264 * common.opt: Add some help text.
5265 * opts.c: Include intl.h.
5266 (wrap_help, print_help): New.
5267 (find_opt, handle_option, common_handle_option): opt_text now
5268 contains the '-'. Use print_help to output help.
5269 * opts.h (struct cl_option): New member "help".
5270 * opts.sh: Update to handle help text output and to prepend
5271 options with '-'.
5272 * toplev.c (display_help): Remove some help text.
5273
5274 2003-07-07 David Edelsohn <edelsohn@gnu.org>
5275 Fariborz Jahanian <fjahanian@apple.com>
5276
5277 * configure.in: Test for PowerPC mfcr field support in assembler.
5278 * config.in, configure: Regenderated.
5279
5280 * config/rs6000/power4.md: Add mfcrf reservation.
5281 * config/rs6000/rs6000-protos.h (mfcr_operation): Declare.
5282 * config/rs6000/rs6000.c (mfcr_operation): Define.
5283 (print_operand): Add 'Q' case for mfcrf.
5284 * config/rs6000/rs6000.h (TARGET_MFCRF): New.
5285 * config/rs6000/rs6000.md (attribute "type"): Add mfcrf.
5286 (movcc_internal1): Emit optional field operand for mfcr and set
5287 "type" attribute appropriately.
5288 (mfcr SCC): Likewise.
5289 (movesi_from_cr_one): New.
5290
5291 2003-07-07 Roger Sayle <roger@eyesopen.com>
5292
5293 * config/i386/i386.md: Correct check-in of incorrect version.
5294
5295 2003-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5296
5297 * bitmap.c (debug_bitmap_file): Merge uses of HOST_PTR_PRINTF with
5298 adjacent stdio calls.
5299 * c-decl.c (c_print_identifier): Likewise.
5300 * mips-tfile.c (write_varray, write_object, allocate_cluster): Likewise.
5301 * print-rtl.c (print_rtx): Likewise.
5302 * print-tree.c (print_node_brief, print_node): Likewise.
5303 * system.h (HOST_PTR_PRINTF): Ensure we have a literal string.
5304
5305 * configure.in (AC_COMPILE_CHECK_SIZEOF): Check for `void *'.
5306 * config.in, configure: Regenerated.
5307
5308 2003-07-07 Roger Sayle <roger@eyesopen.com>
5309
5310 PR target/10979
5311 * config/i386/i386.md (atan2df3, atan2sf3, atan2xf3, atan2tf3):
5312 Changed to define_expand patterns that copy operand[1] to prevent
5313 it from being clobbered before emitting an atan2?f3_1 insn.
5314 (atan2df3_1, atan2sf3_1, atan2xf_1, atan2tf3_1): New define_insn
5315 patterns that actually specify the behaviour of x87's FPATAN.
5316
5317 2003-07-07 Jakub Jelinek <jakub@redhat.com>
5318
5319 * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Remove bogus
5320 clearing of SYMBOL_FLAG_LOCAL bit.
5321 If vcall_offset fits into signed 16-bit immediate, use
5322 one instruction for both addition and load.
5323
5324 2003-07-07 Neil Booth <neil@daikokuya.co.uk>
5325
5326 * opts.c (common_handle_option): Correct handling of the
5327 -falign- switches that do and don't take an argument.
5328
5329 2003-07-07 Kazu Hirata <kazu@cs.umass.edu>
5330
5331 * config/h8300/h8300.md (pushqi1_h8300hs): Revert my patch
5332 today.
5333 (pushhi1_h8300hs): Likewise.
5334
5335 2003-07-07 Andreas Jaeger <aj@suse.de>
5336
5337 * genextract.c: Convert remaining prototypes to ISO C90.
5338
5339 * cpplex.c (_cpp_free_buff): Convert prototype to ISO C90.
5340 * fold-const.c (fold_single_bit_test): Likewise.
5341 * diagnostic.c (default_diagnostic_finalizer): Likewise.
5342 * cfgrtl.c (rtl_redirect_edge_and_branch): Likewise.
5343
5344 * gengtype.c (write_array): Generate ISO C90 prototypes.
5345
5346 * genflags.c (gen_proto): Generate ISO C90 prototypes.
5347
5348 2003-07-07 Roger Sayle <roger@eyesopen.com>
5349
5350 PR optimization/11059
5351 * expr.c (can_store_by_pieces): Return true if length is zero.
5352 (store_by_pieces): If length is zero and endp is two, abort,
5353 othwerise, if length is zero and endp is not two, return "to".
5354 (clear_by_pieces): Do nothing if length is zero.
5355 (clear_storage): Do nothing if length is zero.
5356 (store_constructor): Simplify code when size is zero, or the
5357 target has already been cleared. This avoids emitting a
5358 blockage instruction when initializing empty structures.
5359
5360 2003-07-07 Andreas Jaeger <aj@suse.de>
5361
5362 * mips-tfile.c: Convert prototypes to ISO C90.
5363 * mips-tdump.c: Convert prototypes to ISO C90.
5364
5365 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
5366
5367 * rtl.h (emit_line_note): Take a location_t.
5368 (emit_line_note_force): Remove.
5369 (set_file_and_line_for_statement): Take a location_t.
5370 * tree.g (emit_line_note): Take a location_t.
5371 * emit-rtl.c (emit_line_note): Take a location_t.
5372 (emit_line_note_force): Remove.
5373 * function.c (init_function_start): Adjust emit_line_note call.
5374 (expand_function_end): Use force_next_line_note, not
5375 emit_line_note_force.
5376 * c-parse.in (maybe_type_qual): Adjust emit_line_note calls.
5377 * c-semantics.c (genrtl_do_pushlevel, genrtl_goto_stmt,
5378 genrtl_expr_stmt_value, genrtl_decl_stmt, genrtl_if_stmt,
5379 genrtl_while_stmt, genrtl_do_stmt_1, genrtl_return_stmt,
5380 genrtl_for_stmt, genrtl_break_stmt, genrtl_continue_stmt,
5381 genrtl_continue_stmt, genrtl_switch_stmt,
5382 genrtl_asm_stmt): Likewise.
5383 * expr.c (expand_expr): Likewise.
5384 * integrate.c (expand_inline_function): Likewise.
5385 * stmt.c (set_file_and_line_for_stmt): Take a location_t.
5386 (expand_decl_init): Adjust emit_line_note call.
5387
5388 2003-07-07 Dale Johannesen <dalej@apple.com>
5389
5390 * config/rs6000/darwin-tramp.asm: Fix trampolines. PR 10900.
5391
5392 2003-07-07 Andreas Jaeger <aj@suse.de>
5393
5394 * config/i386/i386-protos.h: Convert prototypes to ISO C90.
5395 * config/i386/i386.c: Likewise.
5396
5397 2003-07-07 Kazu Hirata <kazu@cs.umass.edu>
5398
5399 * config/h8300/h8300.md: Use gen_int_mode instead of
5400 GEN_INT (trunc_int_for_mode (...)).
5401
5402 2003-07-07 Kazu Hirata <kazu@cs.umass.edu>
5403
5404 * config/h8300/h8300.md (pushqi1_h8300hs): Optimize by pushing
5405 2 bytes and then subtract 2 from the stack pointer.
5406 (pushhi1_h8300hs): Likewise.
5407
5408 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
5409
5410 * configure.in (enable_coverage): Remove -DSELF_COVERAGE, add
5411 -frandom-seed.
5412 * configure: Regenerated.
5413 * Makefile.in: Remove extraneous comment.
5414 * toplev.c (randomize): Protect against potential multiple calls.
5415 * doc/invoke.texi (-frandom-seed): Document use for in coverage
5416 files.
5417
5418 2003-07-07 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5419 Eric Botcazou <ebotcazou@libertysurf.fr>
5420
5421 PR optimization/11198
5422 * alias.c (objects_must_conflict_p): Return 1 if the types have
5423 the same alias set, not if the alias sets only conflict.
5424
5425 2003-07-07 Andrew Pinski <pinskia@physics.uc.edu>
5426
5427 * cppcharset.c (ICONV_CONST): Define iff !HAVE_ICONV.
5428 (convert_cset): Change inbuf to type ICONV_CONST char.
5429 * Makefile.in (LIBS): Add LIBICONV.
5430
5431 * doc/invoke.texi (-falign-functions): Document that
5432 when n is zero then a machine-dependent default is used.
5433 (-falign-labels): Document that when n is zero then a
5434 machine-dependent default is used and that -falign-labels =1
5435 is equivalent to -fno-align-labels.
5436 (-falign-loops): Likewise.
5437 (-falign-jumps): Likewise.
5438
5439 2003-07-06 Art Haas <ahaas@airmail.net>
5440
5441 * f/global.c (ffeglobal_type_string_): Fix obsolete GCC array
5442 initializer syntax.
5443
5444 2003-07-06 James E Wilson <wilson@tuliptree.org>
5445
5446 PR optimization/9812
5447 * rtl.h (mem_for_const_double): Delete prototype.
5448 * varasm.c (mem_for_const_double): Delete function.
5449 * config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68kelf.h,
5450 config/m68k/m68kv4.h, config/m68k/netbsd-elf.h
5451 (LEGITIMATE_PIC_OPERAND_P): Delete duplicate definitions.
5452 * config/m68k/m68k.h (LEGITIMATE_CONSTANT_P): Disallow XFmode.
5453 (LEGITIMATE_PIC_OPERAND_P): Delete CONST_DOUBLE tests.
5454 * config/m68k/m68k.md (movxf): Add reload_in_progress guard. Add
5455 comment about confused support for XFmode constants.
5456
5457 Mon Jul 7 02:03:56 CEST 2003 Jan Hubicka <jh@suse.cz>
5458
5459 * cfglayout.c (fixup_reorder_chain): Call delete_dead_jumptables.
5460
5461 2003-07-06 Kazu Hirata <kazu@cs.umass.edu>
5462
5463 * config/h8300/h8300.c: Fix comment typos.
5464 * config/h8300/h8300.md: Likewise.
5465 * config/i386/athlon.md: Likewise.
5466 * config/i386/i386.c: Likewise.
5467 * config/i386/pentium.md: Likewise.
5468 * config/ia64/ia64.c: Likewise.
5469 * config/ia64/itanium1.md: Likewise.
5470 * config/ia64/itanium2.md: Likewise.
5471 * config/m32r/m32r.md: Likewise.
5472 * config/m68hc11/m68hc11.c: Likewise.
5473 * config/mcore/mcore.c: Likewise.
5474 * config/mips/sr71k.md: Likewise.
5475 * config/mips/t-iris5-as: Likewise.
5476 * config/mmix/mmix.h: Likewise.
5477 * config/ns32k/ns32k.h: Likewise.
5478 * config/ns32k/NOTES: Fix a typo.
5479
5480 2003-07-06 Andreas Jaeger <aj@suse.de>
5481
5482 * stmt.c: Convert remaining prototypes to ISO C90.
5483 * cfglayout.c: Likewise.
5484 * dbxout.c: Likewise.
5485 * gcc.c: Likewise.
5486 * genemit.c: Likewise.
5487
5488 * basic-block.h: Convert prototypes to ISO C90.
5489 * c-parse.in: Likewise.
5490 * c-pragma.h: Likewise.
5491 * c-typeck.c: Likewise.
5492 * cfghooks.h: Likewise.
5493 * cfgloopanal.c: Likewise.
5494 * dbxout.h: Likewise.
5495 * debug.h: Likewise.
5496 * dwarf2asm.h: Likewise.
5497 * gcov.c: Likewise.
5498 * gengtype-lex.l: Likewise.
5499 * sched-int.h: Likewise.
5500 * timevar.c: Likewise.
5501
5502 2003-07-06 Neil Booth <neil@daikokuya.co.uk>
5503
5504 * c-common.h (c_comon_handle_filename,
5505 c_common_missing_arguement): New.
5506 * c-lang.c (LANG_HOOKS_HANDLE_FILENAME,
5507 LANG_HOOKS_MISSING_ARGUMENT): New.
5508 * c-opts.c (missing_arg): Rename c_common_missing_argument,
5509 update to be an appropriate langhook.
5510 (c_common_handle_option): Don't handle filenames.
5511 (c_common_handle_filename): New.
5512 * hooks.c (hook_void_constcharptr,
5513 hook_bool_constcharptr_size_t_false): New.
5514 * hooks.h (hook_void_constcharptr,
5515 hook_bool_constcharptr_size_t_false): New.
5516 * langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME,
5517 LANG_HOOKS_MISSING_ARGUMENT): New.
5518 (LANG_HOOKS_INITIALIZER): Update.
5519 * langhooks.h (struct lang_hooks): Add handle_filename and
5520 missing_argument.
5521 * opts.c (handle_option): Don't handle filenames here, but ...
5522 (handle_options): ... here.
5523 (common_handle_option): Don't handle missing arguments here.
5524 * objc/objc-lang.c (LANG_HOOKS_HANDLE_FILENAME,
5525 LANG_HOOKS_MISSING_ARGUMENT): New.
5526
5527 2003-07-06 Neil Booth <neil@daikokuya.co.uk>
5528
5529 * Makfile.in: Remove traces of mbchar.
5530 * c-parse.in (MULTIBYTE_CHARS): Remove.
5531 * config.in (MULTIBYTE_CHARS): Remove.
5532 * configure: Remove --enable-mbchar.
5533 * configure.in: Remove --enable-mbchar.
5534 * mbchar.c, mbchar.h: Remove.
5535 * system.h: Poison MULTIBYTE_CHARS.
5536 * config/linux-aout.h (MULTIBYTE_CHARS): Remove.
5537 * config/linux.h (MULTIBYTE_CHARS): Remove.
5538 * config/svr4.h (MULTIBYTE_CHARS): Remove.
5539 * config/sparc/linux.h (MULTIBYTE_CHARS): Remove.
5540
5541 2003-07-06 Andreas Jaeger <aj@suse.de>
5542
5543 * varray.c (varray_check_failed): Fix typo.
5544
5545 * unroll.c: Convert prototypes to ISO C90.
5546 * varasm.c: Likewise.
5547 * varray.c: Likewise.
5548 * varray.h: Likewise.
5549 * vmsdbgout.c: Likewise.
5550 * xcoffout.c: Likewise.
5551 * xcoffout.h: Likewise.
5552
5553 2003-07-06 Nathan Sidwell <nathan@codesourcery.com>
5554
5555 * gcov-io.h: Add a local time stamp.
5556 (struct gcov_info): Add stamp field.
5557 (gcov_truncate): New.
5558 * coverage.c (read_counts_file): Skip the stamp.
5559 (coverage_begin_output): Write the stamp.
5560 (build_gcov_info): Declare and init the stamp.
5561 (coverage_finish): Only unlink data file, if stamp is zero.
5562 * gcov-dump.c (dump_file): Dump the stamp.
5563 * gcov.c (bbg_stamp): New.
5564 (release_structures): Clear bbg_stamp.
5565 (read_graph_file): Read stamp.
5566 (read_count_file): Check stamp.
5567 * libgcov.c (gcov_exit): Check stamp and truncate if needed.
5568
5569 2003-07-06 Nathan Sidwell <nathan@codesourcery.com>
5570
5571 * tree.h (default_flag_random_seed): Remove.
5572 * toplev.h (local_tick): Declare.
5573 * tree.c (flag_random_seed, default_flag_random_seed): Move to
5574 toplev.c.
5575 (append_random_chars): Don't call default_flag_random_seed.
5576 * toplev.c (flag_random_seed): Define here. Set local_tick.
5577 (local_tick): Define.
5578 (randomize): New, moved from tree.c.
5579 (print_switch_values): Adjust.
5580 (toplev_main): Call randomize.
5581
5582 2003-07-06 Nathan Sidwell <nathan@codesourcery.com>
5583
5584 * tree.h (crc32_string): Declare.
5585 * tree.c (append_random_chars): Remove.
5586 (crc32_string): New.
5587 (get_file_function_name_long): Use crc32_string here.
5588
5589 2003-07-06 Andreas Jaeger <aj@suse.de>
5590
5591 * gcc.c: Convert prototypes to ISO C90.
5592 * gcc.h: Likewise.
5593 * gcov-dump.c: Likewise.
5594 * gcov-iov.c: Likewise.
5595 * gcse.c: Likewise.
5596 * genattrtab.h: Likewise.
5597 * ggc.h: Likewise.
5598 * global.c: Likewise.
5599 * graph.c: Likewise.
5600 * graph.h: Likewise.
5601 * hosthooks.h: Likewise.
5602 * hooks.h: Likewise.
5603 * hooks.c: Likewise.
5604 * hashtable.h: Likewise.
5605 * hashtable.c: Likewise.
5606 * haifa-sched.c: Likewise.
5607 * integrate.h: Likewise.
5608 * integrate.c: Likewise.
5609 * input.h: Likewise.
5610 * ifcvt.c: Likewise.
5611 * jump.c: Likewise.
5612 * langhooks-def.h: Likewise. Add extern to prototypes.
5613 * langhooks.c: Likewise.
5614 * langhooks.h: Likewise.
5615 * lcm.c: Likewise.
5616 * local-alloc.c: Likewise.
5617 * loop-init.c: Likewise.
5618 * loop-unroll.c: Likewise.
5619 * loop-unswitch.c: Likewise.
5620 * loop.c: Likewise.
5621 * loop.h: Likewise. Add extern to prototypes.
5622 * machmode.h: Likewise.
5623 * main.c: Likewise.
5624 * mbchar.c: Likewise.
5625 * mbchar.h: Likewise.
5626 * mkdeps.c: Likewise.
5627 * mkdeps.h: Likewise.
5628 * optabs.c: Likewise.
5629 * optabs.h: Likewise.
5630 * output.h: Likewise.
5631 * gccspec.c: Likwise.
5632 * postreload.c: Likewise.
5633 * prefix.c: Likewise.
5634 * prefix.h: Likewise.
5635 * print-rtl.c: Likewise.
5636 * print-tree.c: Likewise.
5637 * profile.c: Likewise.
5638 * read-rtl.c: Likewise.
5639 * real.c: Likewise.
5640 * real.h: Likewise.
5641 * recog.c: Likewise.
5642 * recog.h: Likewise.
5643 * reg-stack.c: Likewise.
5644 * regclass.c: Likewise.
5645 * regmove.c: Likewise.
5646 * regrename.c: Likewise.
5647 * regs.h: Likewise.
5648 * reload.c: Likewise.
5649 * reload.h: Likewise.
5650 * reload1.c: Likewise.
5651 * reorg.c: Likewise.
5652 * resource.c: Likewise.
5653 * resource.h: Likewise.
5654 * rtl-error.c: Likewise.
5655 * rtl.c: Likewise.
5656 * rtl.h: Likewise.
5657 * rtlanal.c: Likewise.
5658 * sbitmap.c: Likewise.
5659 * sbitmap.h: Likewise.
5660 * scan-decls.c: Likewise.
5661 * scan.c: Likewise.
5662 * sched-deps.c: Likewise.
5663 * sched-ebb.c: Likewise.
5664 * sched-int.h: Likewise.
5665 * sched-rgn.c: Likewise.
5666 * sched-vis.c: Likewise.
5667 * sibcall.c: Likewise.
5668 * simplify-rtx.c: Likewise.
5669 * sreal.c: Likewise.
5670 * sreal.h: Likewise.
5671 * ssa-ccp.c: Likewise.
5672 * ssa-dce.c: Likewise.
5673 * ssa.c: Likewise.
5674 * ssa.h: Likewise.
5675 * stack.h: Likewise.
5676 * stmt.c: Likewise.
5677 * stor-layout.c: Likewise.
5678 * stringpool.c: Likewise.
5679 * target.h: Likewise.
5680 * timevar.c: Likewise.
5681 * timevar.h: Likewise.
5682 * tlink.c: Likewise.
5683 * tracer.c: Likewise.
5684 * tree-inline.c: Likewise.
5685 * tree-inline.h: Likewise.
5686 * tree.c: Likewise.
5687 * tree.h: Likewise.
5688
5689 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
5690
5691 * combine.c (nonzero_bits1): Fix a warning.
5692
5693 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
5694
5695 * config/h8300/h8300.c (compute_mov_length): Correct the
5696 length of loading CONST0_RTX (SFmode).
5697
5698 2003-07-05 Nathan Sidwell <nathan@codesourcery.com>
5699
5700 * toplev.c (output_clean_symbol_name): Remove.
5701 * toplev.h (output_clean_symbol_name): Remove.
5702 * config/alpha/alpha.c (unicosmk_output_module_name): Use
5703 lbasename & clean_symbol_name.
5704
5705 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
5706
5707 * ggc.h: Follow spelling conventions.
5708 * config/i386/i386.c: Likewise.
5709 * config/i386/winnt.c: Likewise.
5710 * config/rs6000/rs6000.c: Likewise.
5711
5712 2003-07-05 Kazu Hirata <kazu@cs.umass.edu>
5713
5714 * bt-load.c: Fix comment typos.
5715 * c-incpath.c: Likewise.
5716 * cfg.c: Likewise.
5717 * cfgcleanup.c: Likewise.
5718 * cfgloop.h: Likewise.
5719 * cfgloopmanip.c: Likewise.
5720 * cfgrtl.c: Likewise.
5721 * diagnostic.h: Likewise.
5722 * dwarfout.c: Likewise.
5723 * emit-rtl.c: Likewise.
5724 * et-forest.c: Likewise.
5725 * et-forest.h: Likewise.
5726 * expr.c: Likewise.
5727 * gcse.c: Likewise.
5728 * genattr.c: Likewise.
5729 * jump.c: Likewise.
5730 * langhooks.h: Likewise.
5731 * local-alloc.c: Likewise.
5732 * loop-unroll.c: Likewise.
5733 * loop-unswitch.c: Likewise.
5734 * ra-build.c: Likewise.
5735 * regclass.c: Likewise.
5736 * regmove.c: Likewise.
5737 * rtl.def: Likewise.
5738 * rtlanal.c: Likewise.
5739 * sched-ebb.c: Likewise.
5740 * sched-rgn.c: Likewise.
5741 * simplify-rtx.c: Likewise.
5742 * ssa.c: Likewise.
5743 * tracer.c: Likewise.
5744 * tree.c: Likewise.
5745
5746 2003-07-05 Zack Weinberg <zack@codesourcery.com>
5747
5748 * cppcharset.c: Use the correct return type for the fallback iconv
5749 macro.
5750
5751 Sat Jul 5 16:18:53 CEST 2003 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
5752
5753 Blame to Jan Hubicka <jh@suse.cz>
5754 * cfglayout.c (record_effective_endpoints): Split insns before
5755 first basic block correctly.
5756
5757 2003-07-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5758
5759 * expr.c (expand_expr, case COMPONENT_REF): When seeing if should use
5760 bitfield operations, use STRICT_ALIGNMENT, not SLOW_UNALIGNED_ACCESS
5761 if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER.
5762
5763 2003-07-05 Andreas Jaeger <aj@suse.de>
5764
5765 * genattrtab.c (write_attr_get): Revert part of last patch to
5766 always write out a prototype.
5767
5768 * genemit.c (gen_split): Readd lost unused attributes in last
5769 patch.
5770
5771 2003-07-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
5772
5773 * cfgloopmanip.c (force_single_succ_latches): Force latch to be
5774 different from header.
5775
5776 2003-07-05 Andreas Schwab <schwab@suse.de>
5777
5778 * config/m68k/m68k.c: Remove code protected by CRDS.
5779 * config/m68k/m68k.md: Likewise.
5780
5781 2003-07-05 Neil Booth <neil@daikokuya.co.uk>
5782
5783 PR driver/11417
5784 * c-opts.c (permit_fortran_options): New.
5785 (c_common_init_options): Accept fortran front end options if
5786 it looks like we might be preprocessing Fortran.
5787 (c_common_handle_option): Don't reject switch if permit_fotran_options.
5788
5789 2003-07-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5790
5791 * genattr.c (internal_dfa_insn_code): Output prototype.
5792 * genattrtab.c: Don't output unnecessary decls, output in ISO C.
5793 * genautomata.c: Likewise.
5794 * genconditions.c: Likewise.
5795 * genemit.c: Likewise.
5796 * genextract.c: Likewise.
5797 * gengenrtl.c: Likewise.
5798 * gengtype.c: Likewise.
5799 * genopinit.c: Likewise.
5800 * genoutput.c: Likewise.
5801 * genpeep.c: Likewise.
5802 * genrecog.c: Likewise.
5803
5804 2003-07-04 Zack Weinberg <zack@codesourcery.com>
5805
5806 * cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types.
5807 (struct cpp_options): Add narrow_charset, wide_charset,
5808 bytes_big_endian fields. Remove EBCDIC field.
5809 (cpp_init_iconv, cpp_interpret_string): New external interfaces.
5810
5811 * cpphash.h: Include <iconv.h> if we have it, otherwise
5812 provide a dummy definition of iconv_t.
5813 (struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields.
5814 (_cpp_valid_ucn): Update prototype.
5815 (_cpp_destroy_iconv): New prototype.
5816
5817 * doc/cpp.texi: Document character set handling.
5818 * doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=.
5819 * doc/extend.texi: Delete entire section on multiline strings.
5820 Rewrite section on __FUNCTION__ etc now that these are
5821 variables in C.
5822
5823 * cppucnid.tab, cppucnid.pl: New files.
5824 * cppucnid.h: New generated file.
5825 * cppcharset.c: Include cppucnid.h. Lots of commentary added.
5826 (iconv_open, iconv, iconv_close): Provide dummy definitions
5827 if !HAVE_ICONV.
5828 (SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv,
5829 _cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn,
5830 emit_numeric_escape, convert_hex, convert_oct, convert_escape,
5831 cpp_interpret_string, narrow_str_to_charconst,
5832 wide_str_to_charconst): New.
5833 (ucn_valid_in_identifier): Use a binary search through the
5834 ucnranges table defined in cppucnid.h, not a long chain of if
5835 statements.
5836 (_cpp_valid_ucn): Add a limit pointer. Downgrade "universal
5837 character names are only valid in C++ and C99" to a warning.
5838 Issue the "meaning of \[uU] is different in traditional C"
5839 warning here. Take care not to let iconv see an invalid UCS
5840 value if we get a malformed UCN. Issue an error if we don't
5841 have iconv.
5842 (cpp_interpret_charconst): Moved here from cpplex.c. Use
5843 cpp_interpret_string to do the heavy lifting.
5844
5845 * cppinit.c (cpp_create_reader): Initialize bytes_big_endian,
5846 narrow_charset, wide_charset fields of options structure.
5847 (cpp_destroy): Call _cpp_destroy_iconv.
5848 * cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn.
5849 (maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete.
5850 (cpp_interpret_charconst): Moved to cppcharset.c.
5851 * cpplib.c (dequote_string): Delete.
5852 (interpret_string_notranslate): New.
5853 (do_line, do_linemarker): Use interpret_string_notranslate.
5854
5855 * Makefile.in (cppcharset.o): Depend on cppucnid.h.
5856
5857 * c-common.c (fname_string, combine_strings): Delete.
5858 * c-common.h (fname_string, combine_strings): Delete prototypes.
5859 * c-lex.c (ignore_escape_flag): Delete.
5860 (cb_ident): Use cpp_interpret_string, not lex_string.
5861 (get_nonpadding_token): New function.
5862 (c_lex): Handle Objective-C @-prefixed identifiers and strings here.
5863 Adjust calls to lex_string. Don't write *value twice.
5864 (lex_string): Now handles string constant concatenation.
5865 Most of the work handed off to cpp_interpret_string.
5866 Call fix_string_type here.
5867 * c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with
5868 FUNC_NAME, throughout.
5869 (OBJC_STRING): New token type.
5870 (primary:STRING): No need to call fix_string_type here.
5871 (primary:objc_string): Make that OBJC_STRING.
5872 (objc_string nonterminal): Delete.
5873 (yylexname): Delete code to handle fake string constants.
5874 (yylexstring): Delete entirely.
5875 (_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need
5876 to handle CPP_ATSIGN.
5877
5878 * c.opt (-fexec-charset=, -fwide-exec-charset=): New options.
5879 * c-opts.c (missing_arg, c_common_handle_option): Handle
5880 OPT_fexec_charset_ and OPT_fwide_exec_charset_.
5881 (c_common_init): Set cpp_opts->bytes_big_endian, not
5882 cpp_opts->EBCDIC. Call cpp_init_iconv.
5883 (print_help): Document -fexec-charset= and -fexec-wide-charset=.
5884 (TARGET_EBCDIC): Delete default definition.
5885
5886 * objc/objc-act.c (build_objc_string_object): No need to
5887 handle string constant concatenation.
5888
5889 2003-07-04 Kazu Hirata <kazu@cs.umass.edu>
5890
5891 * doc/install.texi: Fix typos.
5892 * doc/invoke.texi: Likewise.
5893 * doc/tm.texi: Likewise.
5894
5895 2003-07-04 Kazu Hirata <kazu@cs.umass.edu>
5896
5897 * config/pa/fptr.c: Fix comment typos.
5898 * config/pa/pa-64.h: Likewise.
5899 * config/pa/pa.c: Likewise.
5900 * config/pa/pa.h: Likewise.
5901 * config/rs6000/603.md: Likewise.
5902 * config/rs6000/7xx.md: Likewise.
5903 * config/rs6000/darwin.h: Likewise.
5904 * config/rs6000/freebsd.h: Likewise.
5905 * config/rs6000/rs6000.c: Likewise.
5906 * config/rs6000/rs6000.md: Likewise.
5907 * config/rs6000/spe.h: Likewise.
5908
5909 2003-07-04 Ulrich Weigand <uweigand@de.ibm.com>
5910
5911 * config/s390/2064.md: Change GNU CC to GCC.
5912 * config/s390/2084.md: Likewise.
5913 * config/s390/fixdfdi.h: Likewise.
5914 * config/s390/linux.h: Likewise.
5915 * config/s390/s390-modes.def: Likewise.
5916 * config/s390/s390-protos.h: Likewise.
5917 * config/s390/s390.c: Likewise.
5918 * config/s390/s390.h: Likewise.
5919 * config/s390/s390.md: Likewise.
5920 * config/s390/s390x.h: Likewise.
5921
5922 2003-07-04 Jeff Law <law@redhat.com>
5923
5924 PR c/11428
5925 * expr.c (do_store_flag): Pass in the correct result type
5926 when calling fold_single_bit_test.
5927 * fold-const.c (fold_single_bit_test): Use result_type for the
5928 result when folding a sign bit test.
5929
5930 2003-07-04 Neil Booth <neil@daikokuya.co.uk>
5931
5932 * opts.c (common_handle_options): Negate sense of -falign- switches.
5933
5934 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
5935
5936 * Makefile.in: Replace PWD with PWD_COMMAND.
5937
5938 2003-07-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
5939
5940 * cfgloopanal.c (count_strange_loop_iterations): New static function.
5941 (constant_iterations, count_loop_iterations, simple_loop_exit_p):
5942 Handle strange loops.
5943
5944 2003-07-04 Toon Moene <toon@moene.indiv.nluug.nl>
5945
5946 * install.texi: Even the g77 manpage is derived from
5947 the full g77 manual.
5948
5949 2003-07-04 Zack Weinberg <zack@codesourcery.com>
5950
5951 * ABOUT-NLS: Delete.
5952 * intl: Delete entire directory.
5953 * aclocal.m4: Include ../config/gettext.m4. Delete
5954 AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES,
5955 AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT.
5956 * configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT.
5957 Remove intl/Makefile from all_outputs.
5958 * configure, config.in: Regenerate.
5959 * Makefile.in: Expunge all references to intl subdirectory.
5960 Add -I../intl to INCLUDES.
5961 * intl.h: Include libintl.h if and only if ENABLE_NLS is defined.
5962
5963 2003-07-04 Roger Sayle <roger@eyesopen.com>
5964
5965 * config/rs6000/aix51.h (TARGET_C99_FUNCTIONS): Define.
5966 * config/rs6000/aix52.h (TARGET_C99_FUNCTIONS): Likewise.
5967
5968 2003-07-04 Danny Smith <dannysmith@users.sourceforge.net>
5969
5970 PR c++/5287, PR c++/7910, PR c++/11021
5971 * config/i386/winnt.c (ix86_handle_dll_attribute): Don't add
5972 dllimport attribute if function is defined at declaration, but
5973 report error instead. Likewise for dllimport'd variable
5974 definitions. Set implicit TREE_PUBLIC for dllimport'd variables
5975 declared within functions, Report error if dllimport or dllexport
5976 symbol is not global.
5977 (i386_pe_dllimport_p): Ignore dllimport attribute of functions
5978 if defined after declaration or if inlined. Don't allow definition
5979 of static data members of C++ classes. Don't dllimport virtual
5980 methods.
5981 (i386_pe_mark_dllexport): Warn about inconsistent dll attributes.
5982 (i386_pe_mark_dllimport): Remove unnecessary checks.
5983 (i386_pe_encode_section_info): Warn if the dllimport attribute
5984 and symbol prefix have been instantiated and then overridden.
5985
5986 * doc/extend.texi: Document dllimport and dllexport attributes.
5987
5988 * config/i386/winnt.c (i386_pe_output_labelref): Fix indents.
5989
5990 2003-07-03 Uwe Stieber <uwe@kaos-group.de>
5991
5992 * config/kaos.h (CPP_PREDEFINES): Delete.
5993 (TARGET_OS_CPP_BUILTINS): New.
5994
5995 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5996
5997 * c-aux-info.c: Include toplev.h after c-tree.h.
5998 * c-common.c: Likewise.
5999 (GCC_DIAG_STYLE): Undef.
6000 * c-semantics.c (GCC_DIAG_STYLE): Define.
6001 * c-tree.h (GCC_DIAG_STYLE): Likewise.
6002 * diagnostic.h (inform): Move prototype to toplev.h.
6003 * jump.c: Include diagnostic.h before toplev.h.
6004 * toplev.h (GCC_DIAG_STYLE, ATTRIBUTE_GCC_DIAG): Define.
6005 (warning, error, fatal_error, pedwarn, sorry, inform,
6006 error_for_asm, warning_for_asm): Mark with ATTRIBUTE_GCC_CXXDIAG.
6007
6008 2003-07-03 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
6009
6010 * cfglayout.c (cfg_layout_duplicate_bb): Do not update frequencies
6011 at all if edge is not specified.
6012 (can_copy_bbs_p, copy_bbs): New.
6013 * cfglayout.h (can_copy_bbs_p, copy_bbs): Declare.
6014 * cfgloop.c (get_loop_body): Comment more precisely.
6015 * cfgloopmanip.c (copy_bbs, record_exit_edges): Removed.
6016 (scale_bbs_frequencies): Fix comment typo.
6017 (can_duplicate_loop_p): Use can_copy_bbs_p.
6018 (duplicate_loop_to_header_edge): Simplify by using copy_bbs.
6019
6020 2003-07-03 Devang Patel <dpatel@apple.com>
6021
6022 * c-opts.c (c_common_parse_file): Remove extra
6023 debug_hooks->start_source_file call.
6024
6025 2003-07-03 Roger Sayle <roger@eyesopen.com>
6026
6027 * real.c (real_trunc, real_floor, real_ceil): New functions
6028 to implement trunc, floor and ceil respectively.
6029 * real.h (real_trunc, real_floor, real_ceil): Prototype here.
6030 * builtins.c (integer_valued_real_p): New function to test if
6031 a floating point expression has an integer valued result.
6032 (fold_trunc_transparent_mathfn): Optimize foo(foo(x)) as
6033 foo(x) where foo is an integer rounding function. Similarly,
6034 optimize foo(bar(x)) as bar(x), and foo((double)(int)x) as
6035 (double)(int)x when both foo and bar are integer rounding
6036 functions and we don't need to honor errno.
6037 (fold_builtin_trunc, fold_builtin_floor, fold_builtin_ceil):
6038 New functions to fold trunc, floor and ceil.
6039 (fold_builtin): Use fold_builtin_trunc to fold BUILT_IN_TRUNC*,
6040 fold_builtin_floor to fold BUILT_IN_FLOOR* and fold_builtin_ceil
6041 to fold BUILT_IN_CEIL*.
6042 * fold-const.c (tree_expr_nonnegative_p): Handle FLOAT_EXPR and
6043 the remaining integer rounding functions.
6044
6045 2003-07-03 Eric Botcazou <ebotcazou@libertysurf.fr>
6046
6047 * config/sparc/sparc.c (function_arg_partial_nregs): Use
6048 SPARC_INT_ARG_MAX to determine where to split unnamed
6049 complex FP arguments.
6050
6051 Thu Jul 3 20:36:47 CEST 2003 Jan Hubicka <jh@suse.cz>
6052
6053 * basic-block.h (create_basic_block, merge_blocks_nomove): Kill.
6054 * cfgcleanup.c (merge_blocks): Rename to merge_blocks_move.
6055 (merge_blocks_move_predecessor_nojumps,
6056 merge_blocks_move_successor_nojumps): Use merge_blocks.
6057 (try_optimize_cfg): Use merge_blocks_move.
6058 * cfgrtl.c (create_basic_block): Rename to rtl_create_basic_block.
6059 (merge_blocks_nomove): Rename to rtl_merge_blocks.
6060 (cfg_layout_create_basic_block): New.
6061 (rtl_can_merge_blocks): New.
6062 (cfg_layout_split_block): Do not alloc aux by hand.
6063 * cfghooks.h (cfg_hooks): Add create_basic_block, can_merge_blocks_p,
6064 merge_blocks.
6065 (create_basic_block, can_merge_blocks_p, merge_blocks): New macros.
6066 * cfglayout.c (cfg_layout_duplicate_bb): Do not allocate aux by hand.
6067 * cfgloopmanip.c (loop_split_edge_with): Likewise.
6068 * ifcvt.c (merge_if_block): Use merge_blocks_nomove.
6069
6070 * basic-block.h (basic_block_def): Add field 'rbi'.
6071 * bb-reorder.c (find_traces, rotate_loop, mark_bb_visited,
6072 find_traces_1_round, copy_bb, connect_traces): Update use of rbi.
6073 * cfg.c (entry_exit_blocks): Add new field.
6074 * cfglayout.c: Include alloc-pool.h;
6075 (cfg_layout_pool): New.
6076 (record_effective_endpoints, fixup_reorder_chain,
6077 fixup_fallthru_exit_predecessor, cfg_layout_duplicate_bb): Update use
6078 of rbi.
6079 (cfg_layout_initialize_rbi): New function.
6080 (cfg_layout_initialize): Use it.
6081 (cfg_layout_finalize): Clear rbi fields.
6082 * cfglayout.h (RBI): Kill.
6083 (cfg_layout_initialize_rbi): Declare.
6084 * cfgloopmanip.c (copy_bbs): Use rbi.
6085 (record_exit_edges): Likewise.
6086 (duplicate_loop_to_header_edge): Likewise.
6087 * cfgrtl.c (cfg_layout_create_basic_block): Use
6088 cfg_layout_initialize_rbi.
6089 (cfg_layout_split_block): Use rbi.
6090 (cfg_layout_delete_block): Likewise.
6091 * loop-init.c (loop_optimizer_finalize): Likewise.
6092 * loop-unswitch.c (unswitch_loop): Likewise.
6093 * tracer.c (seen, tail_duplicate, layout_superblocks): Likewise.
6094
6095 * cfgrtl.c: Update comments.
6096 (try_redirect_by_replacing_jump): New argument.
6097 (redirect_branch_edge): Break out from ...
6098 (rtl_redirect_edge_and_branch): ... this one.
6099 (update_cfg_after_block_merging): Break out from ...
6100 (rtl_merge_blocks): ... this one.
6101 (cfg_layout_split_edge): New.
6102 (cfg_layout_merge_blocks): New.
6103 (cfg_layout_can_merge_blocks_p): New.
6104 (cfg_layout_redirect_edge_and_branch): Reorganize.
6105 (cfg_layout_rtl_cfg_hooks): Fill in.
6106 (cfg_layout_delete_block): Kill barriers.
6107 * cfganal.c (can_fallthru): Deal with exit blocks
6108 * cfglayout.c (cfg_layout_function_header): New function
6109 (record_effective_endpoints): Record function header.
6110 (fixup_reorder_chain): Fixup dead jumptables; place header
6111
6112 * basic-block.h (CLEANUP_CFGLAYOUT): New flag.
6113 * bb-reorder.c (cfg_layout_initialize): Update call.
6114 * cfgcleanup.c (try_optimize_cfg): Supress optimizations of fallthru
6115 edges in cfglayout mode.
6116 * cfglayout.c (cleanup_unconditional_jumps): Kill.
6117 (cfg_layout_initialize): Kill agrument loops; use cfgcleanup.
6118 * cfglayout.h (cfg_layout_initialize): Update prototype.
6119 * cfgloop.h (CP_INSIDE_CFGLAYOUT): Kill.
6120 * cfgloopmanip.c (loop_split_edge_with): Use split_edge.
6121 * flow.c (propagate_block): Do not crash when basic block ends
6122 by first insn in the chain.
6123 * loop-init.c (loop_optimizer_init): First enter cfglayout mode; later
6124 do loop discovery.
6125 * tracer.c (tracer): Update call of cfg_layout_initialize.
6126
6127 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6128
6129 * Makefile.in: Use dependency variables in lieu of explicit
6130 files throughout.
6131
6132 2003-07-03 Steven Bosscher <steven@gcc.gnu.org>
6133
6134 * rtl.h (ECF_*, flags_from_decl_or_type): Move from here...
6135 * tree.h: ...to here.
6136
6137 2003-07-03 Kazu Hirata <kazu@cs.umass.edu>
6138
6139 * config/s390/2064.md: Fix comment typos.
6140 * config/s390/2084.md: Likewise.
6141 * config/s390/s390.c: Likewise.
6142 * config/s390/s390.md: Likewise.
6143 * config/sh/sh.c: Likewise.
6144 * config/sh/sh.h: Likewise.
6145 * config/sh/sh.md: Likewise.
6146 * config/sparc/sparc.c: Likewise.
6147 * config/sparc/sparc.h: Likewise.
6148 * config/sparc/sparc.md: Likewise.
6149 * config/stormy16/stormy16.c: Likewise.
6150 * config/stormy16/stormy16.h: Likewise.
6151 * config/stormy16/stormy-abi: Fix a typo.
6152
6153 2003-07-03 Kelley Cook <kelleycook@wideopenwest.org>
6154
6155 * Makefile.in (ifcvt.o): Depend on OPTABS_H.
6156
6157 2003-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6158
6159 * config/mips/mips.h (save_argv): Delete.
6160
6161 2003-07-03 Roger Sayle <roger@eyesopen.com>
6162
6163 PR target/10700
6164 * fold-const.c (extract_muldiv_1): There's nothing that can be done
6165 if the expression is a SAVE_EXPR.
6166
6167 2003-07-03 Kazu Hirata <kazu@cs.umass.edu>
6168
6169 * config/m32r/m32r.c: Fix comment typos.
6170 * config/m68hc11/m68hc11.c: Likewise.
6171 * config/m68hc11/m68hc11.h: Likewise.
6172 * config/m68k/m68k.c: Likewise.
6173 * config/mcore/mcore.c: Likewise.
6174 * config/mcore/mcore.h: Likewise.
6175 * config/mcore/mcore.md: Likewise.
6176 * config/mips/mips.c: Likewise.
6177 * config/mips/mips.h: Likewise.
6178 * config/mips/mips.md: Likewise.
6179 * config/mips/netbsd.h: Likewise.
6180 * config/mn10300/mn10300.c: Likewise.
6181
6182 2003-07-03 Andreas Schwab <schwab@suse.de>
6183
6184 * dbxout.c (pending_bincls): Move decl down inside
6185 DBX_DEBUGGING_INFO || XCOFF_DEBUGGING_INFO section.
6186
6187 2003-07-02 Nathan Sidwell <nathan@codesourcery.com>
6188
6189 * rtl.h (NOTE_DATA): Refer to whole union.
6190 * emit-rtl.c (emit_note): Use memset to clear NOTE_DATA.
6191
6192 2003-07-03 Eric Botcazou <ebotcazou@libertysurf.fr>
6193
6194 PR optimization/11381
6195 * simplify-rtx.c (simplify_relational_operation): Check that
6196 two equal operands have no side-effects before simplifying
6197 the comparison.
6198
6199 2003-07-02 Jeff Law <law@redhat.com>
6200
6201 * expr.c (do_store_flag): Remove special case folding for
6202 single bit tests. Instead call back into the commonized folder
6203 routine.
6204 * fold-const.c (fold_single_bit_test): New function, mostly
6205 extracted from do_store_flag, with an additional case extracted
6206 from fold.
6207 (fold): Call fold_single_bit_test appropriately.
6208 * tree.h (fold_single_bit_test): Prototype.
6209
6210 2003-07-02 Zack Weinberg <zack@codesourcery.com>
6211
6212 * system.h: Include filenames.h.
6213 (IS_DIR_SEPARATOR, IS_ABSOLUTE_PATHNAME): Don't define.
6214 (DIR_SEPARATOR, DIR_SEPARATOR_2): If not already defined,
6215 define based on HAVE_DOS_BASED_FILE_SYSTEM.
6216 * config/i386/xm-cygwin.h, config/i386/xm-djgpp.h
6217 * config/i386/xm-mingw32.h: Don't define
6218 HAVE_DOS_BASED_FILE_SYSTEM,
6219 DIR_SEPARATOR, or DIR_SEPARATOR_2.
6220 * doc/hostconfig.texi: Update to match.
6221
6222 * cppfiles.c, gcc.c, gensupport.c, protoize.c,
6223 config/i386/cygwin.h:
6224 Use IS_ABSOLUTE_PATH throughout.
6225 * gcc.c (DIR_UP): Delete, unused.
6226 * protoize.c (IS_SAME_PATH): Define in terms of
6227 FILENAME_CMP.
6228 (is_abspath): Delete.
6229
6230 2003-07-02 Kazu Hirata <kazu@cs.umass.edu>
6231
6232 * config/i386/emmintrin.h: Fix comment typos.
6233 * config/i386/i386.c: Likewise.
6234 * config/i386/i386.h: Likewise.
6235 * config/i386/sco5.h: Likewise.
6236 * config/ia64/ia64.c: Likewise.
6237 * config/ia64/itanium2.md: Likewise.
6238
6239 2003-07-02 H.J. Lu <hongjiu.lu@intel.com>
6240
6241 * dbxout.c (pending_bincls): Replace DBX_USE_BINCLS with
6242 DBX_USE_BINCL.
6243 (emit_bincl_stab): Same.
6244 (emit_pending_bincls): Same.
6245
6246 2003-07-02 Kazu Hirata <kazu@cs.umass.edu>
6247
6248 * config/h8300/h8300.c (compute_mov_length): Fix the length of
6249 loading CONST0_RTX (SFmode).
6250 * config/h8300/h8300.h (CONST_DOUBLE_OK_FOR_LETTER_P): Change
6251 'G' to CONST0_RTX (SFmode).
6252 * config/h8300/h8300.md (movsf_h8300): Change the first
6253 constraint to 'G'.
6254 (movsf_h8300h): Likewise.
6255
6256 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
6257
6258 * c-common.h (c_common_init_options): New prototype.
6259 * c-opts.c (deferred_size): Remove.
6260 (defer_opt): Array is now pre-allocated.
6261 (c_common_init_options): Pre-allocate deferred_opts. Make
6262 lang_flags unsigned.
6263 (push_command_line_options): Free deferred_opts.
6264 * hooks.c (hook_uint_uint_constcharptrptr_0): New.
6265 * hooks.h (hook_uint_uint_constcharptrptr_0): New.
6266 * langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): Update.
6267 * langhooks.h (struct lang_hooks): New prototype for init_options.
6268 * main.c (main): Cast argv.
6269 * opts.c (handle_option, handle_options): Update prototypes.
6270 (decode_options): save_argc, save_argv are not global. Constify.
6271 * opts.h (decode_options): New prototype.
6272 * toplev.c (general_init): New protoype.
6273 (save_argv): Make static.
6274 (save_argc): Remove.
6275 (print_switch_values, general_init): Constify.
6276 (toplev_main): Save argv.
6277 * toplev.h (toplev_main): Update prototype.
6278 (save_argc, save_argv): Remove.
6279
6280 2003-07-02 David Edelsohn <edelsohn@gnu.org>
6281
6282 * dbxout.c (pending_bincls): Guard with DBX_USE_BINCLS.
6283 (emit_bincl_stab): Same.
6284 (emit_pending_bincls): Same.
6285
6286 2003-07-02 Nathan Sidwell <nathan@codesourcery.com>
6287
6288 PR c++/11072
6289 * ginclude/stddef.h (offsetof): Remove cast to 'char &'. Explain why.
6290
6291 2003-07-02 Andreas Schwab <schwab@suse.de>
6292
6293 * dbxout.c (pending_bincls): Only define if DBX_DEBUGGING_INFO.
6294
6295 2003-07-02 Eric Botcazou <ebotcazou@libertysurf.fr>
6296
6297 PR optimization/11210
6298 * expr.c (handled_component_p) [NOP_EXPR]: Add ??? note
6299 about the behaviour with regard to bitfields.
6300 * fold-const (decode_field_reference): Record outermost type in
6301 case the expression is a NOP. Strip all NOPs. Set the signedness
6302 to that of the outermost type (if any) when the bitsize is equal
6303 to the size of the type.
6304
6305 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
6306
6307 * config/mips/mips.md (addsi3): Remove workaround for adds of -32768.
6308 (addsi3_internal, adddi3, adddi3_internal_2): Likewise.
6309 (adddi3_internal_3, addsi3_internal_2): Likewise.
6310
6311 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
6312
6313 * config/mips/mips.c (machine_function): Add new fields:
6314 ignore_hazard_length_p and all_noreorder_p.
6315 (mips_flag_delayed_branch): New variable.
6316 (override_options): Treat '/' as an operand punctuation character.
6317 Set up mips_flag_delayed_branch.
6318 (print_operand): Handle '/'.
6319 (mips_output_function_prologue): Put the whole function in
6320 .set noreorder and .set nomacro if all_noreorder_p is true.
6321 (mips_output_function_epilogue): End the noreorder/nomacro sequence.
6322 (mips16_optimize_gp): Remove "first insn" parameter.
6323 (mips16_lay_out_constants): New function, split out from mips_reorg.
6324 (mips_avoid_hazard, mips_avoid_hazards): New functions.
6325 (mips_reorg): For mips16 code, call mips16_lay_out_constant
6326 and (optionally) mips16_optimize. If TARGET_EXPLICIT_RELOCS,
6327 do delayed-branch scheduling followed by hazard detection.
6328 (mips_adjust_insn_length): Only account for hazards if
6329 !ignore_hazard_length_p.
6330 (mips_output_load_label): Add a nop to the o32 sequence if
6331 the target suffers from load delays.
6332 (mips_output_conditional_branch): Add %/ to the end of branches.
6333 (mips_output_division): Fill the branch delay slot with %#.
6334 * config/mips/mips.md: Remove redundant '%*' from mips16 branch
6335 instructions. End all other %* branches with %/.
6336 (ffssi2, ffsdi2): Fix lengths.
6337 (truncdisi2, truncdihi2, truncdiqi2): Add store attributes.
6338 (fix_truncdfsi2_macro): Turn off .set nomacro if appropriate.
6339 (fix_truncsfsi2_macro): Likewise.
6340 (mov_lwl): Set hazard to "none".
6341 (ashldi3_internal): Fill the branch delay slot with %#.
6342 (ashrdi3_internal, lshrdi3_internal): Likewise.
6343 (exception_receiver): Explicitly set $28.
6344 (hazard_nop): New pattern.
6345
6346 Wed Jul 2 08:12:36 CEST 2003 Jan Hubicka <jh@suse.cz>
6347
6348 * cgraphunit.c (cgraph_finalize_unit): Set current_function_decl
6349 before calling tree_inlinable_function_p.
6350
6351 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6352
6353 * fixinc/inclhack.def (irix_stdio_va_list): Apply to IRIX 6.5
6354 <internal/stdio_core.h> too.
6355 (stdio_va_list): Apply to IRIX 6.5 <internal/stdio_core.h> and
6356 <internal/wchar_core.h> too.
6357 Substitute va_list uses in inline definition.
6358 * fixinc/fixincl.x: Regenerate.
6359
6360 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6361
6362 * config/mips/iris5.h (SET_FILE_NUMBER): Moved here from iris3.h.
6363 Undef before redefinition.
6364 (LABEL_AFTER_LOC): Likewise.
6365 (DEFAULT_SIGNED_CHAR): Likewise.
6366 (ASM_OUTPUT_ASCII): Moved here from iris4.h.
6367 Fix IRIX spelling.
6368
6369 * config/mips/iris3.h: Remove, unused.
6370 * config/mips/iris4.h: Likewise.
6371
6372 * config/mips/mips.h (STACK_ARGS_ADJUST): Remove, unused.
6373
6374 * config/mips/iris5.h (TARGET_DEFAULT): Move ...
6375 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here to
6376 target_cpu_default.
6377
6378 * config/mips/iris5.h: Move explicit includes ...
6379 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here.
6380
6381 * config/mips/iris6.h (MIPS_ISA_DEFAULT, MIPS_ABI_DEFAULT): Move ...
6382 * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
6383 tm_defines.
6384
6385 * config/mips/iris6.h (TARGET_DEFAULT): Move ...
6386 * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
6387 target_cpu_default.
6388
6389 * config/mips/iris6.h: Fix IRIX spelling.
6390 (MULTILIB_DEFAULTS): Undef before redefinition.
6391
6392 * config/mips/iris6.h: Move explicit includes ...
6393 * config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here.
6394
6395 Wed Jul 2 02:16:48 CEST 2003 Jan Hubicka <jh@suse.cz>
6396
6397 * cgraph.c (cgraph_mark_needed_node, cgraph_varpool_mark_needed_node,
6398 cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls):
6399 Use next_needed field instead of aux to maintain the queue.
6400 * cgraph.h (cgraph_node): Add next_needed.
6401 (cgraph_varpool_node): Add next_needed; remove aux.
6402 * cgraphunit.c (cgraph_finalize_compilation_unit): Use next_needed.
6403
6404 Wed Jul 2 02:12:51 CEST 2003 Jan Hubicka <jh@suse.cz>
6405
6406 * cgraphunit.c (cgraph_finalize_function): Set finalized.
6407 (cgraph_finalize_function): Do not examine inlinablility.
6408 (cgraph_finalize_compilation_unit): Do it here.
6409 * cgraph.h (cgraph_local_info): Add finalized field.
6410
6411 2003-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6412
6413 * ggc-common.c (gt_pch_save): Cast MAP_FAILED to void *.
6414 (gt_pch_restore): Likewise.
6415
6416 2003-07-01 Kazu Hirata <kazu@cs.umass.edu>
6417
6418 * config/alpha/alpha.c: Fix comment typos.
6419 * config/alpha/elf.h: Likewise.
6420 * config/arm/arm.c: Likewise.
6421 * config/arm/arm.h: Likewise.
6422 * config/arm/arm.md: Likewise.
6423 * config/arm/t-arm-coff: Likewise.
6424 * config/arm/t-strongarm-pe: Likewise.
6425 * config/arm/xscale-elf.h: Likewise.
6426 * config/avr/avr.h: Likewise.
6427
6428 2003-07-01 Jeff Law <law@redhat.com>
6429
6430 * stmt.c (any_pending_cleanups): Remove another redundant test.
6431
6432 2003-07-01 David Edelsohn <edelsohn@gnu.org>
6433 J"orn Rennecke <joern.rennecke@superh.com>
6434
6435 * config/rs6000/rs6000.md (ctr{s,d}i_internal?): Add earlyclobber
6436 for MEM case.
6437
6438 2003-07-01 Devang Patel <dpatel@apple.com>
6439
6440 * dbxout.c (DBXOUT_DECR_NESTING): Emit pending bincls, if required.
6441 (binclstatus): New.
6442 (struct dbx_file): New members - bincl_status, pending_bincl_name and
6443 prev.
6444 (pending_bincls): New.
6445 (dbxout_init): Initialize new dbx_file members.
6446 (dbxout_start_source_file): Same.
6447 (emit_bincl_stab): New function.
6448 (emit_pending_bincls): Same.
6449 (emit_pending_bincls_if_required): Same.
6450 (dbxout_end_source_file): Emit EINCL stab only if BINCL is already
6451 processed.
6452 (dbxout_begin_block): Emit pending BINCL stabs.
6453 (dbxout_end_block): Same.
6454 (dbxout_function_decl): Same.
6455 (dbxout_continue): Same.
6456 (dbxout_type): Same.
6457 (dbxout_class_name_qualifiers): Same.
6458 (dbxout_symbol): Same.
6459 (dbxout_symbol_location): Same.
6460 (dbxout_parms): Same.
6461
6462 2003-07-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6463
6464 * c-semantics.c (genrtl_case_label): Fix format specifier bug.
6465 * cfgrtl.c (rtl_verify_flow_info_1): Likewise.
6466
6467 2003-07-01 Andreas Jaeger <aj@suse.de>
6468
6469 * fold-const.c: Convert prototypes to ISO C90.
6470 * function.c: Likewise.
6471 * function.h: Likewise.
6472
6473 2003-07-01 Kazu Hirata <kazu@cs.umass.edu>
6474
6475 * doc/contrib.texi: Fix typos.
6476 * doc/invoke.texi: Likewise.
6477 * doc/passes.texi: Likewise.
6478 * doc/sourcebuild.texi: Likewise.
6479 * doc/tm.texi: Likewise.
6480
6481 2003-07-01 Kazu Hirata <kazu@cs.umass.edu>
6482
6483 * basic-block.h: Fix comment typos.
6484 * bb-reorder.c: Likewise.
6485 * c-format.c: Likewise.
6486 * cfgcleanup.c: Likewise.
6487 * cfghooks.h: Likewise.
6488 * cfgloop.c: Likewise.
6489 * cfgloopmanip.c: Likewise.
6490 * cfgrtl.c: Likewise.
6491 * cgraph.h: Likewise.
6492 * cgraphunit.c: Likewise.
6493 * combine.c: Likewise.
6494 * convert.c: Likewise.
6495 * dbxout.c: Likewise.
6496 * df.c: Likewise.
6497 * df.h: Likewise.
6498 * diagnostic.c: Likewise.
6499 * dwarf2out.c: Likewise.
6500 * et-forest.h: Likewise.
6501 * flow.c: Likewise.
6502 * fold-const.c: Likewise.
6503 * function.h: Likewise.
6504 * gcov-io.h: Likewise.
6505 * gcov.c: Likewise.
6506 * gcse.c: Likewise.
6507 * genautomata.c: Likewise.
6508 * ggc-common.c: Likewise.
6509 * ggc-page.c: Likewise.
6510 * loop-unroll.c: Likewise.
6511 * loop-unswitch.c: Likewise.
6512 * loop.c: Likewise.
6513 * mips-tfile.c: Likewise.
6514 * optabs.c: Likewise.
6515 * ra-build.c: Likewise.
6516 * ra-colorize.c: Likewise.
6517 * ra-rewrite.c: Likewise.
6518 * ra.h: Likewise.
6519 * regmove.c: Likewise.
6520 * reload.c: Likewise.
6521 * rtlanal.c: Likewise.
6522 * sched-ebb.c: Likewise.
6523 * sched-int.h: Likewise.
6524 * sched-vis.c: Likewise.
6525 * sreal.c: Likewise.
6526 * ssa-ccp.c: Likewise.
6527 * ssa.c: Likewise.
6528 * toplev.c: Likewise.
6529 * tree-inline.c: Likewise.
6530 * value-prof.c: Likewise.
6531 * value-prof.h: Likewise.
6532
6533 2003-07-01 Nathan Sidwell <nathan@codesourcery.com>
6534
6535 * rtl.h (emit_line_note_after): Remove.
6536 (emit_note_copy_after, emit_note_copy): New.
6537 * emit-rtl.c (reorder_insns_with_line_notes): Replace
6538 emit_line_note_after with emit_note_copy_after.
6539 (emit_insn_after_with_line_notes): Likewise.
6540 (emit_line_note_after): Kill.
6541 (emit_note_copy_after): New.
6542 (emit_note_copy): New.
6543 * function.c (emit_return_into_block): Use emit_note_copy_after.
6544 (thread_prologue_and_epilogue_insns): Likewise.
6545 * integrate.c (expand_inline_function): Use emit_note_copy.
6546 (copy_insn_list): Likewise.
6547 * unroll.c (copy_loop_body): Likewise.
6548 * cfglayout.c (duplicate_insn_chain): Likewise.
6549
6550 2003-07-01 Nathan Sidwell <nathan@codesourcery.com>
6551
6552 * c-tree.h (define_label): Replace filename and lineno arguments
6553 with a location_t.
6554 * c-decl.c (poplevel): Adjust define_label call.
6555 (pop_label_level): Likewise.
6556 (define_label): Replace filename and lineno arguments with a
6557 location_t.
6558 (store_parm_decls): Use DECL_SOURCE_LOCATION.
6559 * c-parse.in (label): Adjust define_label call.
6560
6561 2003-07-01 Neil Booth <neil@daikokuya.co.uk>
6562
6563 * config/sol2.h, config/alpha/alpha.h, config/alpha/linux.h,
6564 config/i386/i386-interix.h, config/ia64/hpux.h, config/mips/iris6.h,
6565 config/mips/linux.h, config/mips/mips.h, config/pa/pa-hpux.h,
6566 config/pa/pa-hpux10.h, config/pa/pa-hpux11.h, config/pa/pa-pro-end.h,
6567 config/pa/pa.h, config/pa/rtems.h: Use c_dialect_ macros.
6568
6569 2003-07-01 Andreas Jaeger <aj@suse.de>
6570
6571 * final.c: Convert prototypes to ISO C90.
6572 * flow.c: Likewise.
6573 * flags.h: Likewise.
6574 * gcov-io.c: Likewise.
6575 * gcov-io.h: Likewise.
6576
6577 See ChangeLog.9 for earlier changes.