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