spe.md (frob_di_df_2): Handle non-offsettable memory operand.
[gcc.git] / fixincludes / ChangeLog
1 2006-11-07 Richard Guenther <rguenther@suse.de>
2
3 * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
4 systems.
5 * fixincl.x: Regenerate.
6
7 2006-11-02 Geoffrey Keating <geoffk@apple.com>
8
9 * inclhack.def (glibc_c99_inline_1): New.
10 * inclhack.def (glibc_c99_inline_2): New.
11 * inclhack.def (glibc_c99_inline_3): New.
12 * inclhack.def (glibc_c99_inline_4): New.
13 * fixincl.x: Regenerate.
14 * tests/base/bits/string2.h: New.
15 * tests/base/sys/sysmacros.h: New.
16 * tests/base/sys/stat.h: Update.
17
18 2006-11-01 Steve Ellcey <sje@cup.hp.com>
19
20 * tests/base/sys/socket.h: Update.
21
22 2006-10-31 Steve Ellcey <sje@cup.hp.com>
23
24 * inclhack.def (hpux11_extern_sendfile): New.
25 (hpux11_extern_sendpath): New.
26 * fixincl.x: Regenerate.
27
28 2006-10-29 Joseph Myers <joseph@codesourcery.com>
29
30 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
31 * fixincl.x: Regenerate.
32
33 2006-10-10 Brooks Moses <bmoses@stanford.edu>
34
35 * Makefile.in: Added empty "pdf" target.
36
37 2006-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
38
39 PR target/29300
40 * inclhack.def (hpux_pthread_initializers): New hack.
41 * tests/base/sys/pthread.h: New file.
42
43 * fixincl.x: Regenerate.
44
45 2006-10-03 Uros Bizjak <uros@kss-loka.si>
46
47 * inclhack.def (glibc_mutex_init): Also fix
48 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
49 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
50 * tests/base/pthread.h: Update.
51
52 * fixincl.x: Regenerate.
53
54 2006-10-01 Uros Bizjak <uros@kss-loka.si>
55
56 * inclhack.def (glibc_mutex_init): New fix.
57 * tests/base/pthread.h: Update.
58
59 * fixincl.x: Regenerate.
60
61 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
62
63 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
64 Prevent it from running on solaris10 or later.
65 (solaris_once_init_2): Fix comment.
66 * tests/base/pthread.h: Update.
67
68 * fixincl.x: Regenerate.
69
70 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
71
72 * inclhack.def (solaris_once_init_2): New fix.
73 * tests/base/pthread.h: Update.
74
75 * fixincl.x: Regenerate.
76
77 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
78
79 * inclhack.def (solaris_mutex_init_2): Remove test for
80 PTHREAD_RWLOCK_INITIALIZER.
81 (solaris_rwlock_init_1): New.
82 * tests/base/pthread.h: Update.
83
84 * inclhack.def (solaris_once_init_1): New.
85 * tests/base/pthread.h: Adjust for new fix.
86
87 * fixincl.x: Regenerate.
88
89 2006-07-17 Roger Sayle <roger@eyesopen.com>
90
91 * tests/base/errno.h: New file.
92 * tests/base/architecture/ppc/math.h: Likewise.
93 * tests/base/ia64/sys/getppdp.h: Likewise.
94
95 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
96
97 PR bootstrap/20437
98 * Makefile.in (configure, config.h.in): Change into $(srcdir)
99 before autoconf or autoheader call.
100
101 2006-06-23 Steve Ellcey <sje@cup.hp.com>
102
103 PR target/28084
104 * inclhack.def (hpux_extern_errno): New.
105 * fixincl.x: Regenerate.
106
107 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
108
109 * Makefile.in: Add dvi info html and install-html to .PHONY
110 Add install-html target.
111
112 2006-05-16 Mike Stump <mrs@apple.com>
113
114 * configure.ac: Add -Wno-overlength-strings.
115 * configure: Regenerate.
116
117 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
118
119 * README: Fix typo.
120
121 2006-02-18 Steve Ellcey <sje@cup.hp.com>
122
123 PR target/26189
124 * inclhack.def (hpux_spu_info): New.
125 * fixincl.x: Regenerate
126
127 2006-01-31 Marcin Dalecki <martin@dalecki.de>
128
129 * configure.ac: Check for asprintf, basename, vasprintf.
130 * config.h.in: Regenerate.
131 * configure: Regenerate.
132
133 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
134
135 PR target/15642
136 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
137 __APPLE_CC_ as 1345.
138 (broken_nan): New.
139 * fixincl.x: Regenerate.
140
141 2005-11-24 Bruce Korb <bkorb@gnu.org>
142
143 * fixincl.c (write_replacement): "here strings" in AutoGen
144 often/generally don't have a terminating newline. Check the
145 last byte for '\n'.
146
147 2005-11-13 Andreas Jaeger <aj@suse.de>
148
149 * check.tpl: Handle CVS additionally.
150
151 2005-11-05 Andreas Jaeger <aj@suse.de>
152
153 * check.tpl: Adopt for move to subversion.
154
155 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
156
157 PR c++/23139
158 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
159 fixes.
160 * fixincl.x: Regenerate.
161 * tests/base/bits/huge_val.h: New file.
162
163 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
164
165 * All files: Update with new FSF address.
166
167 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
168
169 * Makefile.in (WARN_CFLAGS): New.
170 (.c.o): Add $(WARN_CFLAGS).
171 * aclocal.m4: Include ../config/warnings.m4.
172 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
173 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
174 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
175 * fixopts.c (initialize_opts): Fix old-style definintion.
176
177 * configure: Regenerate.
178
179 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
180
181 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
182 (AAB_darwin7_9_long_double_funcs_2): New.
183 * fixincl.x: Regenerate.
184
185 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
186
187 PR libfortran/15266
188 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
189 Use double quotes in select so \t matches tabs.
190 Add IRIX testcase.
191 * fixincl.x: Regenerate.
192 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
193
194 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
195
196 PR target/21683
197 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
198
199 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
200 Joseph S. Myers <joseph@codesourcery.com>
201
202 PR target/19933
203 PR target/21315
204 * inclhack.def: New fixes solaris_math_[1-9].
205 * fixincl.x: Regenerate.
206 * tests/base/iso/math_c99.h: New.
207
208 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
209
210 * aclocal.m4: Remove superfluous reference to accross.m4.
211
212 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
213
214 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
215 * server.c (load_data): Likewise.
216 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
217 * fixincl.c: #include <sys/wait.h>
218 (run_compiles): Use XCNEWVEC instead of xcalloc.
219 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
220 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
221
222 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
223
224 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
225 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
226 * fixincl.x: Regenerate.
227
228 2005-05-06 Bruce Korb <bkorb@gnu.org>
229 Joseph S. Myers <joseph@codesourcery.com>
230
231 * fixinc/inclhack.def: Correct backslashes
232 * fixinc/fixincl.x: regen
233
234 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
235
236 * system.h (fopen, fdopen, freopen): Define these to the unlocked
237 libiberty functions.
238
239 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
240
241 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
242 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
243 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
244 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
245 _unlocked function.
246 (fwrite_unlocked): Fix prototype.
247
248 * configure, config.h.in: Regenerate.
249
250 2005-03-21 Zack Weinberg <zack@codesourcery.com>
251
252 * Makefile.in: Set gcc_version directly, not via substitution.
253 (libsubdir): Use $(gcc_version), not $(version).
254 (mkheaders.almost): New rule.
255 (mkheaders): Generate from mkheaders.almost.
256 (clean): Also delete mkheaders.almost.
257 * aclocal.m4: Do not include ../config/gcc-version.m4.
258 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
259 mkheaders.almost from mkheaders.in.
260 * configure: Regenerate.
261
262 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
263
264 PR target/20166
265 * inclhack.def: Add fix for array of incomplete structures
266 in function prototype in pthread.h.
267 * fixincl.x: Regenerate.
268 * tests/base/pthread.h: Adjust.
269
270 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
271
272 * inclhack.def (hpux_htonl): New fix.
273 * tests/base/netinet/in.h: New test.
274 * fixincl.x: Regenerate.
275
276 2005-02-23 James E Wilson <wilson@specifixinc.com>
277
278 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
279
280 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
281
282 PR 18458
283 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
284 fixincl.
285
286 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
287
288 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
289 * aclocal.m4: Include ../config/gcc-version.m4.
290 * configure: Regenerate.
291
292 2004-11-26 Mark Mitchell <mark@codesourcery.com>
293
294 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
295 (stdio_va_list): Likewise.
296 (stdio_stdarg.h): Likewise.
297 (solaris_stdio_tag): Add bypass.
298 * fixincl.x: Regenerated.
299
300 2004-11-23 Geoffrey Keating <geoffk@apple.com>
301
302 * mkfixinc.sh: Check error code from 'cat'. Don't try running
303 built fixincl program.
304 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
305 up csh from user.
306
307 2004-11-20 Roger Sayle <roger@eyesopen.com>
308
309 * inclhack.def (alpha_pthread_init): Fix technical problems with
310 the last check-in caused by CVS variable substitution.
311 * fixincl.x: Likewise.
312 * tests/base/pthread.h: Likewise.
313
314 2004-11-20 Roger Sayle <roger@eyesopen.com>
315 Bruce Korb <bkorb@gnu.org>
316
317 * inclhack.def (alpha_pthread_init): New fix.
318 * fixincl.x: Regenerate.
319 * tests/base/pthread.h: Update for new test.
320
321 2004-11-15 Bruce Korb <bkorb@gnu.org>
322
323 * fixincl.c(fix_with_system): correct misuse of variables and
324 incorrect application of "sizeof()".
325
326 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
327
328 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
329 svr4__p, undefine_null): Remove.
330 * fixincl.x: Regenerate.
331 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
332 * tests/base/sys/param.h: Remove.
333 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
334 tests/base/sys/limits.h: Update.
335
336 2004-11-12 Mike Stump <mrs@apple.com>
337
338 * Makefile.in (html): Add html generation support.
339
340 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
341
342 * inclhack.def (sco_math): Bypass on __GNUG__.
343 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
344 * fixincl.x: Regenerate.
345
346 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
347
348 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
349 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
350 _CLASSIC_ANSI_TYPES.
351 (sun_auth_proto): Bypass on __cplusplus.
352 * fixincl.x: Regenerate.
353
354 2004-11-05 Geoffrey Keating <geoffk@apple.com>
355
356 * Makefile.in (mostlyclean): Add fixinc.sh.
357 (clean): Add mkheaders.
358 (distclean): New.
359 (dvi): New.
360 (info): New.
361 (installcheck): New.
362
363 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
364
365 * Makefile.in (mostlyclean, distclean): New targets.
366
367 2004-11-04 Geoffrey Keating <geoffk@apple.com>
368
369 * configure.ac: Add code to determine noncanonical_target,
370 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
371 * configure: Regenerate.
372 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
373 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
374 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
375 update for changes to fixinc.in.
376 * Makefile.in: Add many new macros.
377 (install): New target.
378 (mkheaders): New target.
379 (fixinc.sh): New target.
380 (all): Add mkheaders and fixinc.sh.
381 * README-fixinc: Move here from gcc/.
382
383 2004-11-01 Mike Stump <mrs@apple.com>
384
385 * inclhack.def (stdio_va_list): Break out clients from here...
386 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
387 included or ifdef va_start.
388 * fixincl.x: Regenerate.
389
390 2004-10-28 Mike Stump <mrs@apple.com>
391
392 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
393 systems.
394 * fixincl.x: Regenerate.
395
396 2004-10-27 Geoffrey Keating <geoffk@apple.com>
397
398 * inclhack.def (darwin_gcc4_breakage): New.
399 * fixincl.x: Regenerate.
400
401 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
402
403 PR bootstrap/17832
404
405 * fixfixes.c (main): Check for _PC_NAME_MAX.
406
407 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
408
409 PR other/17991
410
411 * configure.ac: Fix typo.
412 * configure: Regenerate.
413 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
414
415 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
416
417 PR bootstrap/17832
418
419 * fixincl.c (SIGCHLD): Remove definition.
420 (initialize): Remove SIGIOT and SIGPIPE checks.
421 (create_file): Fix mkdir() for Win32.
422 (internal_fix): Use dup2() instead of fcntl().
423
424 * fixlib.h (SIGQUIT): Define if undefined.
425 (SIGIOT): Same.
426 (SIGPIPE): Same.
427 (SIGALRM): Same.
428 (SIGKILL): Same.
429
430 * procopen.c (chain_open): Use dup2() instead of fcntl().
431
432 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
433
434 PR other/17991
435
436 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
437 Update copyright year.
438 * fixfixes.c (main): Call initialize_opts from fixopts.c.
439 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
440 do not include code for parsing options (environment vars).
441 (fix_with_system): Use a search path for applyfix, so that you
442 can run the test suite with two-process fixincludes.
443 * fixopts.c: New file.
444 * configure.ac: Add --enable-twoprocess. Export ac_exeext
445 to config.h. Default to --enable-twoprocess for MinGW32.
446 * config.h.in: Regenerate.
447 * configure: Regenerate.
448
449 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
450
451 * tests/base/sys/cdefs.h: Update from test area.
452
453 2004-09-17 Roger Sayle <roger@eyesopen.com>
454
455 * inclhack.def (linux_ia64_ucontext): New fix.
456 * fixincl.x: Regenerate.
457 * tests/base/sys/ucontext.h: New file.
458
459 2004-09-15 Roger Sayle <roger@eyesopen.com>
460
461 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
462 * tests/base/stdlib.h: Likewise.
463
464 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
465
466 * inclhack.def (freebsd_gcc4_breakage): Add.
467 * fixincl.x: Regenerate.
468 * tests/base/sys/cdefs.h: Update for new test.
469
470 2004-09-10 Adam Nemet <anemet@lnxw.com>
471
472 * inclhack.def (lynx_void_int): Remove.
473 (lynxos_fcntl_proto): Remove.
474 (lynxos_no_warning_in_sys_time_h): New fix.
475 (lynxos_missing_putenv): New fix.
476 * fixincl.x: Regenerate.
477 * tests/base/fcntl.h: Remove.
478 * tests/base/sys/time.h: Update from test area.
479 * tests/base/curses.h: Likewise.
480 * tests/base/stdlib.h: Likewise.
481
482 2004-09-03 Jan Beulich <jbeulich@novell.com>
483
484 * inclhack.def: Suppress exception_structure and math_exception
485 for NetWare headers.
486 * fixincl.x: Regenerate.
487
488 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
489
490 * .cvsignore: New.
491 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
492 autoconfiscated.
493 * configure.ac: New.
494 * config.h.in: Generate.
495 * configure: Generate.
496 * aclocal.m4: New.
497 * fixlib.h: Remove inclusions of gcc files.
498 * system.h: New.
499
500 Other files copied from gcc/fixinc.