Bruce Korb
c8b3863705
clean up fixes
...
From-SVN: r136539
2008-06-07 22:19:45 +00:00
Joseph Myers
cd985f6672
MAINTAINERS (mt port): Remove.
...
* MAINTAINERS (mt port): Remove.
(sco5, unixware, sco udk): Remove.
(Kean Johnston): Add to Write After Approval.
fixincludes:
* inclhack.def (AAB_svr4_replace_byteorder,
AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
solaris_mutex_init_1, solaris_socket, solaris_unistd,
solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
ultrix_strings2, ultrix_sys_time, ultrix_unistd,
unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
windiss_math2, windiss_valist): Remove.
* fixincl.x: Regenerate.
* mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
powerpc-*-eabiaix*): Remove.
* tests/base/math.h: Update.
* tests/base/pthread.h: Update.
* tests/base/stdio.h: Update.
* tests/base/stdlib.h: Update.
* tests/base/string.h: Update.
* tests/base/strings.h: Update.
* tests/base/sys/file.h: Update.
* tests/base/sys/limits.h: Update.
* tests/base/sys/socket.h: Update.
* tests/base/sys/stat.h: Update.
* tests/base/sys/time.h: Update.
* tests/base/testing.h: Update.
* tests/base/unistd.h: Update.
* tests/base/_G_config.h: Remove.
* tests/base/arpa: Remove directory.
* tests/base/fs: Remove directory.
* tests/base/locale.h: Remove.
* tests/base/machine: Remove directory.
* tests/base/rpc/svc.h: Remove.
* tests/base/sys/ioctl.h: Remove.
* tests/base/sys/regset.h: Remove.
* tests/base/sys/times.h: Remove.
* tests/base/sys/utsname.h: Remove.
* tests/base/widec.h: Remove.
gcc:
* config.gcc (Obsolete configurations): Remove list of
configurations.
(Unsupported targets list): Add *-*-linux*aout*, *-*-linux*libc1*,
*-*-solaris2.[0-6], *-*-solaris2.[0-6].*, *-*-sysv*. Remove other
targets matched by those patterns.
(strongarm*-*-*, ep9312*-*-*, xscale-*-*, parisc*-*-*,
m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
vax-*-ultrix*, xscale-*-elf, xscale-*-coff,
i[34567]86-*-linux*aout*, i[34567]86-*-linux*libc1): Remove.
Make code for Solaris 7 and greater unconditional for Solaris.
(ep9312-*-*, parisc1*, m680[012]0-*-*, parisc*-*-*, mt-*-*):
Remove --with-* handling.
* config/rs6000/sysv4.h (-mwindiss): Remove from all specs.
(LIB_WINDISS_SPEC, CPP_OS_WINDISS_SPEC, STARTFILE_WINDISS_SPEC,
ENDFILE_WINDISS_SPEC, LINK_START_WINDISS_SPEC,
LINK_OS_WINDISS_SPEC): Remove.
* config/rs6000/sysv4.opt (mwindiss): Remove.
* configure.ac (strongarm*-*-*, xscale*-*-*): Remove.
* configure: Regenerate.
* doc/cpp.texi: Don't mention BeOS.
* doc/extend.texi (interrupt): Don't mention MS1.
* doc/install.texi: (i386-@var{any}-sysv, m68k-bull-sysv,
m68k-hp-hpux, m68000-hp-hpux, m68000-att-sysv,
alphaev5-cray-unicosmk*, xscale-*-*, i?86-*-linux*aout,
i?86-*-sco3.2v5*, i?86-*-udk, m68k-hp-hpux, powerpc-*-sysv4,
powerpc-*-sysv4, powerpcle-*-sysv4, *-*-sysv*, vax-dec-ultrix):
Remove.
* doc/invoke.texi (MT Options): Remove.
(-mwindiss): Remove.
(CRIS Options): Remove cris-axis-aout references.
(HPPA Options): Don't mention hppa1.1-*-pro.
* doc/md.texi: (MorphoTech family): Remove.
* libgcc2.c: Don't handle UWIN.
* config/alpha/t-unicosmk: Remove.
* config/alpha/unicosmk.h: Remove.
* config/arm/kaos-arm.h: Remove.
* config/arm/kaos-strongarm.h: Remove.
* config/arm/strongarm-coff.h: Remove.
* config/arm/strongarm-elf.h: Remove.
* config/arm/strongarm-pe.h: Remove.
* config/arm/t-strongarm-pe: Remove.
* config/arm/t-xscale-coff: Remove.
* config/arm/t-xscale-elf: Remove.
* config/arm/xscale-coff.h: Remove.
* config/arm/xscale-elf.h: Remove.
* config/chorus.h: Remove.
* config/cris/aout.h: Remove.
* config/cris/aout.opt: Remove.
* config/cris/t-aout: Remove.
* config/i386/beos-elf.h: Remove.
* config/i386/kaos-i386.h: Remove.
* config/i386/ptx4-i.h: Remove.
* config/i386/sco5.h: Remove.
* config/i386/sco5.opt: Remove.
* config/i386/sysv4-cpp.h: Remove.
* config/i386/sysv5.h: Remove.
* config/i386/t-beos: Remove.
* config/i386/t-sco5: Remove.
* config/i386/t-uwin: Remove.
* config/i386/uwin.asm: Remove.
* config/i386/uwin.h: Remove.
* config/kaos.h: Remove.
* config/mips/windiss.h: Remove.
* config/mt: Remove directory.
* config/pa/pa-osf.h: Remove.
* config/pa/pa-pro-end.h: Remove.
* config/pa/t-pro: Remove.
* config/ptx4.h: Remove.
* config/rs6000/beos.h: Remove.
* config/rs6000/kaos-ppc.h: Remove.
* config/rs6000/t-beos: Remove.
* config/rs6000/windiss.h: Remove.
* config/sh/kaos-sh.h: Remove.
* config/sol2-6.h: Remove.
* config/sparc/sol26-sld.h: Remove.
* config/sparc/sysv4-only.h: Remove.
* config/vax/bsd.h: Remove.
* config/vax/t-memfuncs: Remove.
* config/vax/ultrix.h: Remove.
* config/vax/vaxv.h: Remove.
* config/windiss.h: Remove.
gcc/testsuite:
* g++.dg/abi/arm_cxa_vec1.C: Don't handle xscale*-*-*.
* g++.dg/eh/spbp.C: Don't handle *-*-solaris2.[56]*.
* g++.dg/warn/miss-format-1.C: Don't handle Solaris before Solaris
7.
* gcc.c-torture/compile/981006-1.c: Don't handle xscale*-*-*,
strongarm*-*-* and cris-*-aout*.
* gcc.c-torture/execute/941014-1.x: Don't handle xscale*-*-* and
strongarm*-*-*.
* gcc.dg/20030909-1.c: Don't handle xscale*-*-* and
strongarm*-*-*.
* gcc.dg/20031108-1.c: Don't handle xscale*-*-* and
strongarm*-*-*.
* gcc.dg/20040813-1.c: Don't handle *-*-sysv5*.
* gcc.dg/arm-asm.c: Don't handle strongarm*-*-* and xscale*-*-*.
* gcc.dg/arm-scd42-1.c: Use target arm*-*-*.
* gcc.dg/arm-scd42-3.c: Use target arm*-*-*.
* gcc.dg/cpp/assert4.c: Don't handle BeOS.
* gcc.dg/debug/pr35154.c: Don't handle *-*-sysv5*.
* gcc.dg/intmax_t-1.c: Don't handle *-*-solaris2.5.1 and
xscale*-*-elf*.
* gcc.dg/pragma-align.c: Don't handle i?86-*-sco3.2v5*.
* gcc.dg/pthread-init-2.c: Don't handle *-*-solaris2.5.1.
* gcc.misc-tests/arm-isr.exp: Use target arm*-*-*.
* gcc.target/powerpc/ppc-sdata-1.c: Don't handle powerpc-*-sysv*.
* gcc.target/powerpc/ppc-sdata-2.c: Don't handle powerpc-*-sysv*.
* gcc.target/powerpc/ppc-stackalign-1.c: Don't handle
powerpc-*-sysv*.
* gfortran.dg/debug/pr35154-stabs.f: Don't handle *-*-sysv5*.
* lib/target-supports.exp: Don't handle strongarm*-*-elf,
xscale*-*-elf and *-*-windiss.
* obj-c++.dg/dwarf-2.mm: Don't handle *-*-solaris2.[56]*.
* objc.dg/dwarf-1.m: Don't handle *-*-solaris2.[56]*.
* objc.dg/dwarf-2.m: Don't handle *-*-solaris2.[56]*.
* gcc.dg/mt-loopi1.c: Remove.
gnattools:
* configure.ac (xscale*-wrs-vx*, xscale*-wrs-coff): Remove.
* configure: Regenerate.
libcpp:
* configure.ac (parisc*64*-*-*): Remove.
* configure: Regenerate.
libffi:
* configure.ac (parisc*-*-linux*, powerpc-*-sysv*,
powerpc-*-beos*): Remove.
* configure: Regenerate.
libgcc:
* config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
libjava:
* configure.host (strongarm*-elf, xscale*-elf): Remove.
libstdc++-v3:
* configure.host (xscale, ep9312, m680[246]0, solaris2.5,
solaris2.5.[0-9], solaris2.6, windiss*): Remove.
* crossconfig.m4 (*-solaris2.5, *-solaris2.6, *-windiss*): Remove.
* configure: Regenerate.
* config/os/solaris/solaris2.5: Remove directory.
* config/os/solaris/solaris2.6: Remove directory.
* config/os/windiss: Remove directory.
From-SVN: r136534
2008-06-07 19:00:15 +01:00
Kaveh R. Ghazi
7de4b37ef1
inclhack.def (solaris_math_4): Use GCC's __builtin_fpclassify.
...
* inclhack.def (solaris_math_4): Use GCC's __builtin_fpclassify.
* tests/base/iso/math_c99.h: Update.
* fixincl.x: Regenerate.
From-SVN: r135852
2008-05-24 20:52:00 +00:00
Joseph Myers
2627042d9a
inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on posix_types_64.
...
* inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on
posix_types_64.
* fixincl.x: Regenerate.
From-SVN: r135297
2008-05-14 16:13:40 +01:00
Kai Tietz
7f98ca2249
Fixed second typo.
...
From-SVN: r134686
2008-04-26 02:16:36 +02:00
Kai Tietz
d4a1808cf1
fixincl.c (fix_with_system): Fixed typo.
...
2008-04-25 Kai Tietz <kai.tietz@onevision.com>
* fixincl.c (fix_with_system): Fixed typo.
From-SVN: r134684
2008-04-26 02:06:28 +02:00
Kai Tietz
9ae83b8456
fixincl.c (fix_with_system): Cast pointer difference to long.
...
2008-04-25 Kai Tietz <kai.tietz@onvision.com>
* fixincl.c (fix_with_system): Cast pointer difference to long.
* fixlib.c (make_raw_shell_str): Cast compare to avoid sign warning.
From-SVN: r134679
2008-04-25 22:45:10 +02:00
Paolo Bonzini
deb984e6de
re PR other/35457 (Error building GCC trunk on CELL SPU)
...
2008-04-18 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/35457
* configure.ac: Include override.m4.
* configure: Regenerate.
libgomp:
2008-04-18 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/35457
* aclocal.m4: Regenerate.
* configure: Regenerate.
libdecnumber:
2008-04-18 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/35457
* aclocal.m4: Regenerate.
* configure: Regenerate.
gcc:
2008-04-18 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/35457
* aclocal.m4: Regenerate.
* configure: Regenerate.
libstdc++-v3:
2008-04-18 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/35457
* aclocal.m4: Regenerate.
* configure: Regenerate.
libobjc:
2008-04-18 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/35457
* aclocal.m4: Regenerate.
* configure: Regenerate.
intl:
2008-04-18 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/35457
* aclocal.m4: Regenerate.
* configure: Regenerate.
libgfortran:
2008-04-18 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/35457
* aclocal.m4: Regenerate.
* configure: Regenerate.
libmudflap:
2008-04-18 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/35457
* aclocal.m4: Regenerate.
* configure: Regenerate.
boehm-gc:
2008-04-18 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/35457
* aclocal.m4: Regenerate.
* configure: Regenerate.
libiberty:
2008-04-18 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/35457
* aclocal.m4: Add override.m4.
* configure: Regenerate.
libffi:
2008-04-18 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/35457
* aclocal.m4: Regenerate.
* configure: Regenerate.
libssp:
2008-04-18 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/35457
* aclocal.m4: Regenerate.
* configure: Regenerate.
config:
2008-04-18 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/35457
* confsubdir.m4: Rename to...
* override.m4: ... this. Make sure aclocal always picks it.
Add more lenient precious variable check, backported from
autoconf trunk.
libjava/libltdl:
2008-04-18 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/35457
* aclocal.m4: Regenerate.
* configure: Regenerate.
libjava/classpath:
2008-04-18 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/35457
* aclocal.m4: Regenerate.
* configure: Regenerate.
libjava:
2008-04-18 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/35457
* aclocal.m4: Regenerate.
* configure: Regenerate.
libcpp:
2008-04-18 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/35457
* aclocal.m4: Regenerate.
* configure: Regenerate.
fixincludes:
2008-04-18 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/35457
* Makefile.in: Rewrite aclocal.m4 rule.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r134434
2008-04-18 10:28:53 +00:00
Peter O'Gorman
83644cd500
re PR target/20366 (AIX g++ -D_LARGE_FILES fails to compile #include <iostream>)
...
fixincludes/
2008-03-07 Peter O'Gorman <pogma@thewrittenword.com>
PR c++/20366
* inclhack.def (AAB_aix_stdio): Hack stdio.h for -D_LARGE_FILES.
* fixincl.x: Regenerate.
* tests/base/stdio.h: Add test.
gcc/testsuite/
2008-03-07 Peter O'Gorman <pogma@thewrittenword.com>
PR c++/20366
* g++.dg/other/pr20366.C: New test.
From-SVN: r133001
2008-03-07 06:53:59 +00:00
Ben Elliston
98266db06c
re PR other/32948 (five warnings and a patch)
...
fixincludes/
PR other/32948
* fixincl.c (fix_applies): Remove unused variable `name_len'.
gcc/
PR other/32948
* c-decl.c (grokdeclarator): Remove unused local variables
`typedef_type' and `type_as_written'.
* bb-reorder.c
(find_rarely_executed_basic_blocks_and_crossing_edges): Remove
unused local variable `has_hot_blocks'.
(fix_crossing_conditional_branches): Remove unused local variable
`prev_bb'.
From-SVN: r132618
2008-02-25 22:50:17 +11:00
Kaveh R. Ghazi
c951ae4036
inclhack.def (solaris_math_10): New.
...
* inclhack.def (solaris_math_10): New.
* tests/base/iso/math_c99.h: Update.
* fixincl.x: Regenerate.
From-SVN: r132468
2008-02-20 04:20:59 +00:00
Ismail Dönmez
b452c14185
inclhack.def: (bsd_stdio_attrs_conflict...
...
2008-02-04 Ismail Dnmez <ismail@pardus.org.tr>
* inclhack.def: (bsd_stdio_attrs_conflict, freebsd_gcc3_breakage,
freebsd_gcc4_breakage, hppa_hpux_fp_macros, hpux11_abs,
netbsd_c99_inline_1, netbsd_c99_inline_2, netbsd_extra_semicolon): Add
quotes around mach entries.
* fixincl.x: Regenerate with latest autogen (5.9.4), updating license
to GPLv3.
From-SVN: r132110
2008-02-05 02:36:32 +00:00
Hans-Peter Nilsson
8181078a70
re PR other/31405 (fixincludes needed for wchar from glibc 2.3.6)
...
PR other/31405
* inclhack.def: (glibc_c99_inline_1a): Re-add last change.
(glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
__extern_inline|__GNU_STDC_INLINE__.
(glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
<bypass>: Change from __STDC_VERSION__ to
__extern_inline|__GNU_STDC_INLINE__.
<first c_fix_arg>: Change from #ifdef-wrapping the extern part to
appending attribute-gnu_inline.
<second c_fix_arg>: Remove.
<test_text>: Remove __extern_inline line.
* tests/base/features.h: Re-add.
* tests/base/sys/sysmacros.h: Adjust.
* fixincl.x: Regenerate.
(Oops: forgot PR-annotation.)
From-SVN: r132093
2008-02-04 15:33:54 +00:00
Hans-Peter Nilsson
c91e2eaedd
inclhack.def: (glibc_c99_inline_1a): Re-add last change.
...
* inclhack.def: (glibc_c99_inline_1a): Re-add last change.
(glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
__extern_inline|__GNU_STDC_INLINE__.
(glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
<bypass>: Change from __STDC_VERSION__ to
__extern_inline|__GNU_STDC_INLINE__.
<first c_fix_arg>: Change from #ifdef-wrapping the extern part to
appending attribute-gnu_inline.
<second c_fix_arg>: Remove.
<test_text>: Remove __extern_inline line.
* tests/base/features.h: Re-add.
* tests/base/sys/sysmacros.h: Adjust.
* fixincl.x: Regenerate.
From-SVN: r132092
2008-02-04 15:31:25 +00:00
Bruce Korb
44b962f21c
Clarify the second argument usage for "c-fix"-es.
...
From-SVN: r131550
2008-01-15 19:44:03 +00:00
Bruce Korb
5af3679c8c
Clarify the second argument usage for "c-fix"-es.
...
From-SVN: r131549
2008-01-15 19:14:28 +00:00
Hans-Peter Nilsson
b8c9ec3da0
Revert last change.
...
From-SVN: r131363
2008-01-06 20:54:14 +00:00
Hans-Peter Nilsson
b6541c1068
inclhack.def: (glibc_c99_inline_1a, glibc_c99_inline_5): New.
...
* inclhack.def: (glibc_c99_inline_1a, glibc_c99_inline_5): New.
* fixincl.x: Regenerate.
* tests/base/wchar.h: Update.
* tests/base/features.h: New.
From-SVN: r131031
2007-12-18 03:22:37 +00:00
John David Anglin
6f8c175007
re PR target/33700 (FAIL: 17_intro/headers/all_pedantic_errors.cc (test for excess errors))
...
PR target/33700
* inclhack.def (hpux11_pthread_const): New.
* fixincl.x: Regenerate.
* tests/base/sys/pthread.h: Update.
From-SVN: r129304
2007-10-14 22:22:25 +00:00
Kai Tietz
a2085738a9
[patch]: Fix native bootstrap failure for x86_64-pc-mingw32
...
* configure.ac: x86_64 mingw target uses twoprocess.
* mkfixinc.sh: Add x86_64 mingw target.
* configure: Regenerate.
From-SVN: r129260
2007-10-12 13:54:16 +02:00
Geoffrey Keating
b6bbae95ae
inclhack.def (darwin_externc): New.
...
* inclhack.def (darwin_externc): New.
* fixincl.x: Regenerate.
* tests/base/mach-o/swap.h: New.
From-SVN: r129188
2007-10-09 23:22:02 +00:00
Kaveh R. Ghazi
d531cdb15c
inclhack.def (solaris_math_5, [...]): Delete fixes.
...
* inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
Delete fixes.
* tests/base/iso/math_c99.h: Delete associated test baselines.
* fixincl.x: Regenerate.
From-SVN: r127198
2007-08-04 03:44:24 +00:00
Krister Walfridsson
63729d8454
re PR target/30058 (bootstrap broken on i386-unknown-netbsdelf2.0.2)
...
2007-07-24 Krister Walfridsson <cato@df.lth.se>
PR target/30058
* inclhack.def (netbsd_c99_inline_2): New.
* fixincl.x: Regenerate.
* tests/base/signal.h: Update.
From-SVN: r126937
2007-07-25 23:51:47 +00:00
Kaveh R. Ghazi
dadda6caba
re PR target/32641 (C99 fpclassify, isinf, isfinite, isnormal may raise FP exceptions)
...
fixincludes:
PR target/32641
* inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
solaris_math_7): Constify and make FP exception-safe.
* tests/base/iso/math_c99.h: Update.
* fixincl.x: Regenerate.
gcc/testsuite:
* gcc.dg/c99-math-double-1.c: Mark test variables as volatile.
Test negative numbers also.
* gcc.dg/c99-math-float-1.c: Likewise.
* gcc.dg/c99-math-long-double-1.c: Likewise.
* gcc.dg/c99-math.h: Check for FP exceptions. Update for negative
test inputs.
From-SVN: r126730
2007-07-18 20:22:32 +00:00
Rainer Orth
8919fa4a77
re PR libgcj/28190 (libjava bootstrap failure on IRIX 6.5: stdint.h misdetection)
...
PR libgcj/28190
* inclhack.def (irix_stdint_c99): New fix.
* fixincl.x: Regenerate.
* tests/base/stdint.h: New test.
From-SVN: r126377
2007-07-05 18:43:16 +00:00
Steve Ellcey
1fd994f191
re PR testsuite/31828 (FAIL: gcc.dg/float-range-[3-5].c (test for excess errors))
...
PR testsuite/31828
* inclhack.def (hppa_hpux_fp_macros): New.
* fixincl.x: Regenerate.
* * tests/base/math.h: Update.
From-SVN: r125496
2007-06-06 17:48:03 +00:00
Jakub Jelinek
cb3790cb4e
inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES if __extern_inline or __GNUC_GNU_INLINE__ is...
...
* inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
__STDC_VERSION__ < 199901L.
(glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
with #ifdef __GNUC_GNU_INLINE__.
(glibc_c99_inline_3): Add select. Replace __STDC_VERSION__ >= 199901L
with defined(__GNUC_STDC_INLINE__).
(glibc_c99_inline_4): Change select, add second c_fix_arg.
Replace #if __STDC_VERSION__ < 199901L with
#ifdef __GNUC_GNU_INLINE__.
* fixincl.x: Regenerated.
* tests/base/bits/string2.h: Update.
* tests/base/sys/sysmacros.h: Update.
* tests/base/sys/stat.h: Update.
From-SVN: r123216
2007-03-26 15:25:26 +02:00
Krister Walfridsson
7270dd8e8d
re PR target/30058 (bootstrap broken on i386-unknown-netbsdelf2.0.2)
...
2007-03-18 Krister Walfridsson <cato@df.lth.se>
PR target/30058
* inclhack.def (netbsd_c99_inline_1): New.
* fixincl.x: Regenerate.
* tests/base/signal.h: New.
From-SVN: r123065
2007-03-19 17:08:14 +00:00
Brooks Moses
07f1ac6d75
Makefile.in: Add dummy "install-info" target.
...
fixincludes/
* Makefile.in: Add dummy "install-info" target.
<toplevel>
* Makefile.def (fixincludes): Remove unneeded "missing" lines.
* Makefile.in: Regenerate
From-SVN: r122855
2007-03-12 11:58:12 -07:00
Joseph Myers
14da607343
re PR bootstrap/31020 (cannot write in </test/gnu/gcc/objdir/prev-gcc/../gcc/./include>)
...
fixincludes:
* mkheaders.in: Fix headers for each multilib required.
gcc:
PR bootstrap/31020
* configure.ac (CROSS_SYSTEM_HEADER_DIR, build_system_header_dir):
Define using $${sysroot_headers_suffix}.
* configure: Regenerate.
* cppdefault.c (cpp_include_defaults): Make FIXED_INCLUDE_DIR a
multilib-suffixed directory if SYSROOT_HEADERS_SUFFIX_SPEC
defined.
* doc/invoke.texi (-print-sysroot-headers-suffix): Document.
* gcc.c (print_sysroot_headers_suffix): New.
(option_map): Include --print-sysroot-headers-suffix.
(display_help): Mention -print-sysroot-headers-suffix.
(process_command): Handle -print-sysroot-headers-suffix.
(do_spec_1): Append multilib directory to include-fixed path if
sysroot suffixes in use.
(main): Handle -print-sysroot-headers-suffix.
* Makefile.in (start.encap): Don't depend on xlimits.h
(xlimits.h): Remove.
(stmp-int-hdrs): Don't depend on xlimits.h. Inline generation of
limits.h for each multilib in fixinc_list.
(fixinc_list, s-fixinc_list): New.
(stmp-fixinc): Depend on fixinc_list. If not copying headers,
generate them for each multilib in fixinc_list.
(stmp-fixproto): Use include-fixed. Run fixproto for each
multilib in fixinc_list.
(mostlyclean): Don't remove xlimits.h.
(clean): Remove include-fixed.
(real-install-headers-tar, real-install-headers-cpio,
real-install-headers-cp): Don't copy include, only include-fixed.
(install-mkheaders): Depend on fixinc_list. Don't depend on
xlimits.h. Save limits.h files for each multilib in fixinc_list.
Always save mkinstalldirs. Preserve ${sysroot_headers_suffix} in
SYSTEM_HEADER_DIR setting in mkheaders.conf.
From-SVN: r122620
2007-03-06 15:50:28 +00:00
Brooks Moses
b31f84844a
* Makefile.in: Add dummy install-pdf target.
...
From-SVN: r122443
2007-03-01 15:54:44 -08:00
Joseph Myers
f686ec0522
mkheaders.in (incdir): Use include-fixed not include.
...
fixincludes:
* mkheaders.in (incdir): Use include-fixed not include.
gcc:
* Makefile.in (PREPROCESSOR_DEFINES, test-protoize-simple): Define
FIXED_INCLUDE_DIR.
(stmp-int-hdrs, stmp-fixinc, install-headers): Use include-fixed
for fixed headers and limits.h.
(install-include-dir, install-headers-tar, install-headers-cpio,
install-headers-cp, real-install-headers-tar,
real-install-headers-cpio, real-install-headers-cp): Handle
include-fixed as well as include.
(install-mkheaders): Don't install files that go only in include
not include-fixed.
* cppdefault.c (cpp_include_defaults): Separate FIXED_INCLUDE_DIR
from GCC_INCLUDE_DIR.
* gcc.c (process_command): Remove special -BstageN/ handling.
(do_spec_1): Add include-fixed directories.
From-SVN: r122384
2007-02-27 20:32:13 +00:00
Brooks Moses
123ddd683b
* Makefile.in: Added "pdf" target to .PHONY.
...
From-SVN: r122031
2007-02-15 20:31:21 -08:00
Bruce Korb
613698c025
check in required changes for base/sys/sysmacros.h
...
From-SVN: r121636
2007-02-06 01:25:59 +00:00
Richard Guenther
cefde4f5c7
inclhack.def (glibc_c99_inline_4): Adjust selector to cope with older glibc.
...
2007-02-05 Richard Guenther <rguenther@suse.de>
* inclhack.def (glibc_c99_inline_4): Adjust selector to cope
with older glibc. Adjust version number for C99.
* fixincl.x: Regenerated.
From-SVN: r121614
2007-02-05 21:22:48 +00:00
Mike Stump
3c1c7aaea2
* mkheaders.in: Allow optional isysroot parameter.
...
From-SVN: r121590
2007-02-05 00:52:27 +00:00
Bruce Korb
5c4f0f4793
replace "extern" only if surrounded by space characters.
...
From-SVN: r121574
2007-02-04 15:10:08 +00:00
Daniel Franke
a942e89f3a
re PR target/30272 (Build failure under SGI Irix (GFortran))
...
2007-01-25 Daniel Franke <franke.daniel@gmail.com>
PR target/30272
* inclhack.def(broken_cabs): Also remove definition of cabsl.
* fixincl.x: Regenerate.
* tests/base/math.h: Update.
From-SVN: r121182
2007-01-25 14:25:01 -05:00
Bruce Korb
2f82a97b02
Set SKIP_TEST flag if we are not to run a test.
...
Co-Authored-By: Daniel Franke <franke.daniel@gmail.com>
From-SVN: r120529
2007-01-06 20:02:22 +00:00
Bruce Korb
401be4b658
Use fnmatch for name matching.
...
Co-Authored-By: Daniel Franke <franke.daniel@gmail.com>
From-SVN: r120528
2007-01-06 18:03:50 +00:00
Olivier Hainque
da32da74c7
mkfixinc.sh: Add "*-*-vxworks*" to the list of targets for which a no-op fixer is appropriate.
...
2006-12-12 Olivier Hainque <hainque@adacore.com>
* fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
targets for which a no-op fixer is appropriate.
From-SVN: r119769
2006-12-12 09:47:45 +00:00
Richard Guenther
98e06787f5
inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3 systems.
...
2006-11-07 Richard Guenther <rguenther@suse.de>
* inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
systems.
* fixincl.x: Regenerate.
From-SVN: r118558
2006-11-07 17:34:40 +00:00
Geoffrey Keating
502e2a2d24
inclhack.def (glibc_c99_inline_1): New.
...
* inclhack.def (glibc_c99_inline_1): New.
* inclhack.def (glibc_c99_inline_2): New.
* inclhack.def (glibc_c99_inline_3): New.
* inclhack.def (glibc_c99_inline_4): New.
* fixincl.x: Regenerate.
* tests/base/bits/string2.h: New.
* tests/base/sys/sysmacros.h: New.
* tests/base/sys/stat.h: Update.
From-SVN: r118449
2006-11-03 03:11:50 +00:00
Steve Ellcey
b4d24eaad4
* tests/base/sys/socket.h: Update.
...
From-SVN: r118384
2006-11-01 16:25:17 +00:00
Steve Ellcey
be645fd97a
inclhack.def (hpux11_extern_sendfile): New.
...
* inclhack.def (hpux11_extern_sendfile): New.
(hpux11_extern_sendpath): New.
* fixincl.x: Regenerate.
From-SVN: r118343
2006-10-31 22:28:18 +00:00
Joseph Myers
0f45f0f588
config.gcc (i[34567]86-*-linux*): Handle --enable-targets=all.
...
gcc:
* config.gcc (i[34567]86-*-linux*): Handle --enable-targets=all.
Handle tuning for bi-arch i[34567]86-*-linux* like that for
i[34567]86-*-solaris2.1[0-9]*.
* config/i386/linux64.h (TARGET_VERSION, MULTILIB_DEFAULTS):
Define conditionally depending on TARGET_64BIT_DEFAULT.
(SPEC_32, SPEC_64): Define.
(LINK_SPEC): Use them.
* doc/install.texi (--enable-targets=all): Document for x86-linux.
libcpp:
* configure.ac (need_64bit_hwint): Set for i[34567]86-*-linux*
depending on --enable-targets=all.
* configure: Regenerate.
fixincludes:
* inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
* fixincl.x: Regenerate.
From-SVN: r118147
2006-10-29 16:35:50 +00:00
Brooks Moses
b5422ad772
--(top level)--------------------------------------------
...
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Makefile.def: Added pdf target handling.
* Makefile.tpl: Added pdf target handling.
* Makefile.in: Regenerated.
---fixincludes--------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Makefile.in: Added empty "pdf" target.
---gcc----------------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* configure.ac: Added pdf to "Make-hooks"
* Makefile.in: Added TEXI2PDF definition, and various pdf-file
targets and *.pdf file patterns in cleanup targets.
* configure: Regenerated.
---gcc/cp-------------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Make-lang.in: Added "c++.pdf" target support.
---gcc/fortran--------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Make-lang.in: Added "fortran.pdf", "gfortran.pdf" target
support.
---gcc/java-----------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Make-lang.in: Added "java.pdf", "gcj.pdf" target support.
---gcc/objc-----------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Make-lang.in: Added empty "objc.pdf" target.
---gcc/objcp----------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Make-lang.in: Added empty "obj-c++.pdf" target.
---gcc/treelang-------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Make-lang.in: Added "treelang.pdf" target support.
---gnattools----------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Makefile.in: Added empty "pdf" target.
---libcpp-------------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Makefile.in: Added empty "pdf" target.
---libdecnumber-------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Makefile.in: Added empty "pdf" target.
---libiberty----------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Makefile.in: Added "pdf", "libiberty.pdf" target support.
* testsuite/Makefile.in: Added empty "pdf" target.
---libobjc------------------------------------------------
2006-10-10 Brooks Moses <bmoses@stanford.edu>
* Makefile.in: Added empty "pdf" target.
From-SVN: r117618
2006-10-10 16:48:09 -07:00
John David Anglin
6c65aa402b
re PR target/29300 (FAIL: gcc.dg/pthread-init-[12].c (test for excess errors))
...
PR target/29300
* inclhack.def (hpux_pthread_initializers): New hack.
* tests/base/sys/pthread.h: New file.
* fixincl.x: Regenerate.
From-SVN: r117537
2006-10-07 16:35:11 +00:00
Uros Bizjak
36a43def8a
* ChangeLog: Add missing entries to last entry.
...
From-SVN: r117389
2006-10-03 08:33:02 +02:00
Uros Bizjak
4d98def06f
inclhack.def (glibc_mutex_init): Also fix PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and...
...
* inclhack.def (glibc_mutex_init): Also fix
PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
From-SVN: r117386
2006-10-03 07:52:05 +02:00
Uros Bizjak
f6f7aabcd6
inclhack.def (pthread_mutex_init): New fix.
...
* inclhack.def (pthread_mutex_init): New fix.
* tests/base/pthread.h: Update.
* fixincl.x: Regenerate.
From-SVN: r117343
2006-10-01 07:47:33 +02:00
Kaveh R. Ghazi
a77d42cf21
inclhack.def (solaris_mutex_init_2): Update for Solaris9.
...
* inclhack.def (solaris_mutex_init_2): Update for Solaris9.
Prevent it from running on solaris10 or later.
(solaris_once_init_2): Fix comment.
* tests/base/pthread.h: Update.
* fixincl.x: Regenerate.
From-SVN: r117310
2006-09-29 19:14:58 +00:00
Bruce Korb
d7af6698c2
Clarify the fix application tests
...
From-SVN: r117270
2006-09-28 01:59:08 +00:00
Kaveh R. Ghazi
0a1f02df6b
inclhack.def (solaris_once_init_2): New fix.
...
* inclhack.def (solaris_once_init_2): New fix.
* tests/base/pthread.h: Update.
* fixincl.x: Regenerate.
From-SVN: r117265
2006-09-28 00:45:56 +00:00
Kaveh R. Ghazi
2b655a0a4f
inclhack.def (solaris_mutex_init_2): Remove test for PTHREAD_RWLOCK_INITIALIZER.
...
* inclhack.def (solaris_mutex_init_2): Remove test for
PTHREAD_RWLOCK_INITIALIZER.
(solaris_rwlock_init_1): New.
* tests/base/pthread.h: Update.
* inclhack.def (solaris_once_init_1): New.
* tests/base/pthread.h: Adjust for new fix.
* fixincl.x: Regenerate.
From-SVN: r117244
2006-09-27 04:25:34 +00:00
Bruce Korb
4b70772b2e
Clarify how tests are handled
...
From-SVN: r117185
2006-09-24 20:12:50 +00:00
Roger Sayle
582454753d
errno.h: New file.
...
* tests/base/errno.h: New file.
* tests/base/architecture/ppc/math.h: Likewise.
* tests/base/ia64/sys/getppdp.h: Likewise.
From-SVN: r115534
2006-07-17 23:54:22 +00:00
Laurynas Biveinis
c76e55eafd
Fix spaces to tabs in the last commit.
...
From-SVN: r115313
2006-07-10 19:44:48 +00:00
Laurynas Biveinis
b24f7f6b32
re PR bootstrap/20437 (bootstrap --enable-maintainer-mode broken)
...
fixincludes:
2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
PR bootstrap/20437
* Makefile.in (configure, config.h.in): change into $(srcdir)
before autoconf or autoheader call.
gcc:
2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
PR bootstrap/20437
* Makefile.in (configure): add missing aclocal.m4 and acinclude.m4
dependencies.
From-SVN: r115310
2006-07-10 17:58:18 +00:00
Steve Ellcey
e10e3ac826
re PR target/28084 (/usr/include/errno.h:28: error: previous declaration of 'int errno' with 'C++' linkage)
...
PR target/28084
* inclhack.def (hpux_extern_errno): New.
* fixincl.x: Regenerate.
From-SVN: r114939
2006-06-23 16:21:54 +00:00
Carlos O'Donell
ae022d325f
Makefile.in: Add dvi info html and install-html to .PHONY Add install-html target.
...
2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.in: Add dvi info html and install-html to .PHONY
Add install-html target.
From-SVN: r114040
2006-05-24 04:31:06 +00:00
Mike Stump
de1f8a0d82
configure.ac: Add -Wno-overlength-strings.
...
* configure.ac: Add -Wno-overlength-strings.
* configure: Regenerate.
From-SVN: r113836
2006-05-17 00:31:31 +00:00
Bernhard Fischer
fc92a2d4e6
README: Fix typo.
...
2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
* README: Fix typo.
From-SVN: r113757
2006-05-14 12:36:31 +02:00
Steve Ellcey
e084430d3d
re PR target/26189 (Bug in vendor /usr/include/net/if.h needs fixincluding on HPUX)
...
PR target/26189
* inclhack.def (hpux_spu_info): New.
* fixincl.x: Regenerate
From-SVN: r111237
2006-02-18 15:58:06 +00:00
Marcin Dalecki
03e34d09a5
configure.ac: Check for asprintf, basename, vasprintf.
...
2006-01-31 Marcin Dalecki <martin@dalecki.de>
* configure.ac: Check for asprintf, basename, vasprintf.
* config.h.in: Regenerate.
* configure: Regenerate.
From-SVN: r110448
2006-01-31 22:18:59 +01:00
Andrew Pinski
bf73f6d2a0
re PR target/15642 (NAN Is Not a Constant Because __APPLE_CC__ is Not Defined (OK in Apple 3.3.0))
...
2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
PR target/15642
* inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
__APPLE_CC_ as 1345.
(broken_nan): New.
* fixincl.x: Regenerate.
From-SVN: r109973
2006-01-19 09:18:29 -08:00
Bruce Korb
66f788b0b3
Check the last byte for '\n'
...
From-SVN: r107492
2005-11-25 05:57:10 +00:00
Bruce Korb
f375f46240
Regenerate fixincl.x from current template
...
From-SVN: r107491
2005-11-25 05:47:47 +00:00
Andreas Jaeger
42068fd90a
check.tpl: Handle CVS additionally.
...
* check.tpl: Handle CVS additionally.
From-SVN: r106855
2005-11-13 09:43:28 +01:00
Andreas Jaeger
541c886c9f
check.tpl: Adopt for move to subversion.
...
* check.tpl: Adopt for move to subversion.
From-SVN: r106527
2005-11-05 13:21:02 +01:00
Andreas Jaeger
44bcbae366
.cvsignore are not needed for subversion, remove them.
...
From-SVN: r106279
2005-10-31 18:20:58 +01:00
Joseph Myers
77923c2938
re PR target/23139 (-pedantic -ffast-math breaks working code)
...
fixincludes:
PR c++/23139
* inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
fixes.
* fixincl.x: Regenerate.
* tests/base/bits/huge_val.h: New file.
gcc/testsuite:
* g++.dg/warn/huge-val1.C: New test.
From-SVN: r104315
2005-09-15 20:09:27 +01:00
Kelley Cook
df065c820f
All files: Update with new FSF address.
...
2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
* All files: Update with new FSF address.
From-SVN: r103096
2005-08-15 00:50:43 +00:00
Bruce Korb
776c2384b2
Finish checkin of date: 2005/06/14 23:59:47; author: ro;
...
for rev 1.23 of inclhack.def: adjust tests/base/math.h for new
content for AAB_darwin7_9_long_double_funcs_2 fix.
From-SVN: r102833
2005-08-07 19:14:12 +00:00
Kaveh R. Ghazi
87fbb651f8
Makefile.in (WARN_CFLAGS): New.
...
* Makefile.in (WARN_CFLAGS): New.
(.c.o): Add $(WARN_CFLAGS).
* aclocal.m4: Include ../config/warnings.m4.
* configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
ACX_PROG_CC_WARNINGS_ARE_ERRORS.
* fixopts.c (initialize_opts): Fix old-style definintion.
* configure: Regenerate.
From-SVN: r102088
2005-07-16 14:17:51 +00:00
Geoffrey Keating
246e0bd879
inclhack.def (AAB_darwin7_9_long_double_funcs): New.
...
* inclhack.def (AAB_darwin7_9_long_double_funcs): New.
(AAB_darwin7_9_long_double_funcs_2): New.
* fixincl.x: Regenerate.
From-SVN: r101305
2005-06-24 23:43:15 +00:00
Rainer Orth
11f4453b3c
re PR target/15266 (libgfortran doesn't compile on IRIX 5.3)
...
PR libfortran/15266
* inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
Use double quotes in select so \t matches tabs.
Add IRIX testcase.
* fixincl.x: Regenerate.
* tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
From-SVN: r100960
2005-06-14 23:59:48 +00:00
Danny Smith
8ba8f7e557
re PR bootstrap/21683 (build failure on i386-mingw (sys/wait.h header))
...
PR target/21683
* fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
From-SVN: r100066
2005-05-22 17:01:02 +00:00
Eric Botcazou
925a448751
re PR target/19933 (Problem with define of HUGE_VAL in math_c99.)
...
fixincludes/
PR target/19933
PR target/21315
* inclhack.def: New fixes solaris_math_[1-9].
* fixincl.x: Regenerate.
* tests/base/iso/math_c99.h: New.
gcc/testsuite/
* gcc.dg/c99-math.h: New
* gcc.dg/c99-math-float-1.c: New test.
* gcc.dg/c99-math-double-1.c: Likewise.
* gcc.dg/c99-math-long-double-1.c: Likewise.
Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
From-SVN: r99953
2005-05-19 07:05:45 +00:00
Kelley Cook
08862f3c97
aclocal.m4: Remove superfluous reference to accross.m4.
...
2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
* aclocal.m4: Remove superfluous reference to accross.m4.
From-SVN: r99945
2005-05-19 03:38:34 +00:00
Gabriel Dos Reis
03a9fcb862
fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
...
* fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
* server.c (load_data): Likewise.
(run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
* fixincl.c: #include <sys/wait.h>
(run_compiles): Use XCNEWVEC instead of xcalloc.
(fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
* fixfixes.c (FIX_PROC_HEAD, main): Likewise.
From-SVN: r99740
2005-05-15 18:28:36 +00:00
Joseph Myers
5fabfd4cda
inclhack.def (stdio_stdarg_h, [...]): Bypass on *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
...
* inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
*-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
* fixincl.x: Regenerate.
From-SVN: r99487
2005-05-10 01:26:08 +01:00
Bruce Korb
7673b71ce9
Fix backslash expression in here string
...
[[Split portion of a mixed commit.]]
Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
From-SVN: r99322.2
2005-05-06 16:33:18 +00:00
Kaveh R. Ghazi
042630ad4a
system.h (fopen, [...]): Define these to the unlocked libiberty functions.
...
fixincludes:
* system.h (fopen, fdopen, freopen): Define these to the unlocked
libiberty functions.
gcc:
* system.h (fopen, fdopen, freopen): Define these to the unlocked
libiberty functions.
libcpp:
* system.h (fopen, fdopen, freopen): Define these to the unlocked
libiberty functions.
From-SVN: r98407
2005-04-19 12:37:08 +00:00
Kaveh R. Ghazi
0d667716cb
configure.ac (fixincludes_UNLOCKED_FUNCS): New.
...
fixincludes:
* configure.ac (fixincludes_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.h.in: Regenerate.
gcc:
PR/17092
* configure.ac (gcc_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
libcpp:
* configure.ac (libcpp_UNLOCKED_FUNCS): New.
(AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS.
* system.h (putchar, getc, getchar, clearerr, feof, fileno,
fflush, fgetc, fgets, ferror, fread): Redefine to the associated
_unlocked function.
(fwrite_unlocked): Fix prototype.
* configure, config.in: Regenerate.
From-SVN: r97986
2005-04-11 21:46:59 +00:00
Zack Weinberg
90ee136828
Makefile.in: Set gcc_version directly, not via substitution.
...
* Makefile.in: Set gcc_version directly, not via substitution.
(libsubdir): Use $(gcc_version), not $(version).
(mkheaders.almost): New rule.
(mkheaders): Generate from mkheaders.almost.
(clean): Also delete mkheaders.almost.
* aclocal.m4: Do not include ../config/gcc-version.m4.
* configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
mkheaders.almost from mkheaders.in.
* configure: Regenerate.
From-SVN: r96819
2005-03-21 17:50:19 +00:00
Richard Guenther
14bfd7c70d
re PR target/20166 (Bootstrap failure due to lack of fixinclude of pthread problem)
...
2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
PR target/20166
* inclhack.def: Add fix for array of incomplete structures
in function prototype in pthread.h.
* fixincl.x: Regenerate.
* tests/base/pthread.h: Adjust.
From-SVN: r96812
2005-03-21 16:46:09 +00:00
Joseph Myers
7fbdc950de
inclhack.def (hpux_htonl): New fix.
...
* inclhack.def (hpux_htonl): New fix.
* tests/base/netinet/in.h: New test.
* fixincl.x: Regenerate.
From-SVN: r96522
2005-03-15 17:37:03 +00:00
James E Wilson
27f0dff4a2
Fix problem found by CFLAGS=-fmudflap build.
...
* Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
From-SVN: r95475
2005-02-23 14:30:01 -08:00
Andrew Pinski
098b96ab3d
re PR bootstrap/18458 ("make install" -> fixincl missing extension)
...
2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
PR 18458
* Makefile.in (install): Add @EXEEXT@ to the end of the program name,
fixincl.
From-SVN: r92090
2004-12-13 07:42:10 -08:00
Richard Sandiford
afabd8e62c
Introduce and use config/gcc-version.m4.
...
From-SVN: r91625
2004-12-02 11:05:13 +00:00
Mark Mitchell
9fcc7481f8
inclhack.def (gnu_types): Do not use on Solaris 2.1x.
...
2004-11-26 Mark Mitchell <mark@codesourcery.com>
* inclhack.def (gnu_types): Do not use on Solaris 2.1x.
(stdio_va_list): Likewise.
(stdio_stdarg.h): Likewise.
(solaris_stdio_tag): Add bypass.
* fixincl.x: Regenerated.
From-SVN: r91351
2004-11-26 22:00:51 +00:00
Geoffrey Keating
b2cfdb12c2
mkfixinc.sh: Check error code from 'cat'.
...
* mkfixinc.sh: Check error code from 'cat'. Don't try running
built fixincl program.
* mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
up csh from user.
From-SVN: r91109
2004-11-23 22:45:53 +00:00
Roger Sayle
743348ea53
inclhack.def (alpha_pthread_init): Fix technical problems with the last check-in caused by CVS variable substitution.
...
* inclhack.def (alpha_pthread_init): Fix technical problems with
the last check-in caused by CVS variable substitution.
* fixincl.x: Likewise.
* tests/base/pthread.h: Likewise.
From-SVN: r90989
2004-11-21 23:01:44 +00:00
Roger Sayle
1fda9d7bbb
inclhack.def (alpha_pthread_init): New fix.
...
* inclhack.def (alpha_pthread_init): New fix.
* fixincl.x: Regenerate.
* tests/base/pthread.h: Update for new test.
Co-Authored-By: Bruce Korb <bkorb@gnu.org>
From-SVN: r90981
2004-11-21 16:25:07 +00:00
Bruce Korb
ecb0d20e5d
remove confusing and unnecessary backslashes
...
From-SVN: r90790
2004-11-17 05:06:41 +00:00
Bruce Korb
43c1b5d299
correct misuse of variables
...
From-SVN: r90789
2004-11-17 04:20:36 +00:00
Joseph Myers
68f674e990
inclhack.def (hpux_maxint, [...]): Remove.
...
* inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
svr4__p, undefine_null): Remove.
* fixincl.x: Regenerate.
* tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
* tests/base/sys/param.h: Remove.
* tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
tests/base/sys/limits.h: Update.
From-SVN: r90594
2004-11-13 20:41:01 +00:00
Mike Stump
251089a007
* Makefile.in (html): Add html generation support.
...
From-SVN: r90576
2004-11-13 07:33:27 +00:00
Joseph Myers
492d5b4f62
inclhack.def (sco_math): Bypass on __GNUG__.
...
* inclhack.def (sco_math): Bypass on __GNUG__.
(sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
* fixincl.x: Regenerate.
From-SVN: r90550
2004-11-12 22:26:01 +00:00
Joseph Myers
793387fa35
inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
...
* inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
(int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
_CLASSIC_ANSI_TYPES.
(sun_auth_proto): Bypass on __cplusplus.
* fixincl.x: Regenerate.
From-SVN: r90371
2004-11-09 23:14:06 +00:00
Geoffrey Keating
ea595d4ff3
Makefile.in (mostlyclean): Add fixinc.sh.
...
* Makefile.in (mostlyclean): Add fixinc.sh.
(clean): Add mkheaders.
(distclean): New.
(dvi): New.
(info): New.
(installcheck): New.
From-SVN: r90142
2004-11-05 20:42:15 +00:00
Paolo Bonzini
54f88091c5
Makefile.def (host fixincludes): Specify missing targets.
...
2004-11-05 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (host fixincludes): Specify missing targets.
* Makefile.in: Regenerate.
fixincludes/ChangeLog:
2004-11-05 Paolo Bonzini <bonzini@gnu.org>
* Makefile.in (mostlyclean, distclean): New targets.
From-SVN: r90127
2004-11-05 16:35:51 +00:00
Geoffrey Keating
53c7ffe7dd
Index: ChangeLog
...
2004-11-04 Geoffrey Keating <geoffk@apple.com>
* Makefile.def: Build fixincludes for the host, too.
* Makefile.in: Regenerate.
* configure.in (host_tools): Add fixincludes.
* configure: Regenerate.
Index: fixincludes/ChangeLog
2004-11-04 Geoffrey Keating <geoffk@apple.com>
* configure.ac: Add code to determine noncanonical_target,
local_prefix, gcc_version; process mkheaders.in to make mkheaders.
* configure: Regenerate.
* fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
* mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
* mkheaders.in: Move here from gcc/; remove some unnecessary macros;
update for changes to fixinc.in.
* Makefile.in: Add many new macros.
(install): New target.
(mkheaders): New target.
(fixinc.sh): New target.
(all): Add mkheaders and fixinc.sh.
* README-fixinc: Move here from gcc/.
Index: gcc/ChangeLog
2004-11-04 Geoffrey Keating <geoffk@apple.com>
* Makefile.in (distclean): Don't delete nonexistent fixinc/ directory.
(install-mkheaders): Install the version built for the
host, not for the build machine.
* configure.ac: Always run fixincludes.
(all_outputs): Remove mkheaders.
* configure: Regenerate.
* fixinc.in: Move to fixincludes/.
* mkfixinc.sh: Likewise.
* mkheaders.in: Likewise.
* README-fixinc: Likewise.
From-SVN: r90117
2004-11-05 04:49:19 +00:00
Mike Stump
40d0542950
inclhack.def (stdio_va_list): Break out clients from here...
...
* inclhack.def (stdio_va_list): Break out clients from here...
(stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
included or ifdef va_start.
From-SVN: r89954
2004-11-01 19:01:15 +00:00
Mike Stump
976c217af8
Back out controversial fix.
...
From-SVN: r89851
2004-10-29 21:16:51 +00:00
Mike Stump
d1ea459307
inclhack.def (stdio_va_list): Don't fix if stdarg.h is included or ifdef va_start.
...
* inclhack.def (stdio_va_list): Don't fix if stdarg.h is
included or ifdef va_start.
From-SVN: r89803
2004-10-29 02:42:54 +00:00
Mike Stump
31eec874a1
inclhack.def: Avoid changing NULL on C++ friendly systems.
...
* inclhack.def: Avoid changing NULL on C++ friendly systems.
* fixincl.x: Regenerate.
From-SVN: r89786
2004-10-28 21:44:31 +00:00
Geoffrey Keating
005c1a13e5
Index: fixincludes/ChangeLog
...
2004-10-27 Geoffrey Keating <geoffk@apple.com>
* inclhack.def (darwin_gcc4_breakage): New.
* fixincl.x: Regenerate.
Index: gcc/ChangeLog
2004-10-27 Geoffrey Keating <geoffk@apple.com>
* config/rs6000/rs6000.c (rs6000_attribute_table): Add
SUBTARGET_ATTRIBUTE_TABLE.
* config/darwin.h (ASM_WEAKEN_DECL): Handle weak_import.
(SUBTARGET_ATTRIBUTE_TABLE): Define.
* config/darwin.c (darwin_handle_weak_import_attribute): New.
(HAVE_DEAD_STRIP): Delete.
(no_dead_strip): Don't test HAVE_DEAD_STRIP.
* config/darwin-protos.h (darwin_handle_weak_import_attribute):
Prototype.
Index: gcc/testsuite/ChangeLog
2004-10-27 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/darwin-weakimport-1.c: New.
From-SVN: r89716
2004-10-27 23:02:39 +00:00
Aaron W. LaFramboise
13cf7262ac
re PR bootstrap/17832 (Bootstrap broken by fixincludes failures)
...
PR bootstrap/17832
* fixfixes.c (main): Check for _PC_NAME_MAX.
----------------------------------------------------------------------
From-SVN: r89706
2004-10-27 14:13:57 -06:00
Paolo Bonzini
5ae4c56561
re PR other/17991 (Two-process fixincludes broken: pz_mn_name_pat undefined)
...
2004-10-27 Paolo Bonzini <bonzini@gnu.org>
PR other/17991
* configure.ac: Fix typo.
* configure: Regenerate.
* fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
From-SVN: r89680
2004-10-27 14:42:56 +00:00
Aaron W. LaFramboise
f4a8f2791c
re PR bootstrap/17832 (Bootstrap broken by fixincludes failures)
...
PR bootstrap/17832
* fixincl.c (SIGCHLD): Remove definition.
(initialize): Remove SIGIOT and SIGPIPE checks.
(create_file): Fix mkdir() for Win32.
(internal_fix): Use dup2() instead of fcntl().
* fixlib.h (SIGQUIT): Define if undefined.
(SIGIOT): Same.
(SIGPIPE): Same.
(SIGALRM): Same.
(SIGKILL): Same.
* procopen.c (chain_open): Use dup2() instead of fcntl().
From-SVN: r89326
2004-10-20 02:21:09 -06:00
Paolo Bonzini
ad643a75f7
re PR other/17991 (Two-process fixincludes broken: pz_mn_name_pat undefined)
...
2004-08-14 Paolo Bonzini <bonzini@gnu.org>
PR other/17991
* Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
Update copyright year.
* fixfixes.c (main): Call initialize_opts from fixopts.c.
* fixincl.c (initialize): Call initialize_opts from fixopts.c,
do not include code for parsing options (environment vars).
(fix_with_system): Use a search path for applyfix, so that you
can run the test suite with two-process fixincludes.
* fixopts.c: New file.
* configure.ac: Add --enable-twoprocess. Export ac_exeext
to config.h. Default to --enable-twoprocess for MinGW32.
* config.h.in: Regenerate.
* configure: Regenerate.
From-SVN: r89087
2004-10-15 07:58:38 +00:00
Loren J. Rittle
789701151d
* tests/base/sys/cdefs.h: Update from test area.
...
From-SVN: r88542
2004-10-05 03:13:43 +00:00
Roger Sayle
fa71a5c3eb
inclhack.def (linux_ia64_ucontext): New fix.
...
* inclhack.def (linux_ia64_ucontext): New fix.
* fixincl.x: Regenerate.
* tests/base/sys/ucontext.h: New file.
From-SVN: r87677
2004-09-17 22:58:40 +00:00
Roger Sayle
9544bea1fa
time.h: Correct mismatch in 2004-09-10 check-in.
...
* tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
* tests/base/stdlib.h: Likewise.
From-SVN: r87568
2004-09-15 22:12:58 +00:00
Loren J. Rittle
c630383379
* tests/base/sys/cdefs.h: Update for new test.
...
From-SVN: r87479
2004-09-14 03:41:10 +00:00
Loren J. Rittle
28785ddedf
inclhack.def (freebsd_gcc4_breakage): Add.
...
* inclhack.def (freebsd_gcc4_breakage): Add.
* fixincl.x: Regenerate.
From-SVN: r87478
2004-09-14 02:45:08 +00:00
Adam Nemet
d635c70797
inclhack.def (lynx_void_int): Remove.
...
* inclhack.def (lynx_void_int): Remove.
(lynxos_fcntl_proto): Remove.
(lynxos_no_warning_in_sys_time_h): New fix.
(lynxos_missing_putenv): New fix.
* fixincl.x: Regenerate.
* tests/base/fcntl.h: Remove.
* tests/base/sys/time.h: Update from test area.
* tests/base/curses.h: Likewise.
* tests/base/stdlib.h: Likewise.
From-SVN: r87298
2004-09-10 13:56:50 +00:00
Jan Beulich
61fec9ffac
configure.in: Remove target-libstdc++-v3 from noconfigdirs for *-*-netware...
...
/
* configure.in: Remove target-libstdc++-v3 from noconfigdirs for
*-*-netware, but add target-libmudflap.
Consolidate *-*-netware targets (of which really only i?86 exists)
into a single entry.
* configure: Likewise.
gcc/
* config.gcc: Resurrect NetWare as a target. Handle special case of
Novell linker to be used (specified through --with-ld=) and threading
model of either Posix (default) or NKS.
* config/i386/i386.c (ix86_return_pops_args): Conditionalize popping
of incoming hidden argument on KEEP_AGGREGATE_RETURN_POINTER.
* config/i386/i386.h (KEEP_AGGREGATE_RETURN_POINTER): New.
* config/i386/netware.c, config/i386/netware.h: New.
* config/i386/nwld.c, config/i386/nwld.h: New.
* config/i386/netware-crt0.c: New.
* config/i386/netware-libgcc.c: New.
* config/i386/netware-libgcc.def: New.
* config/i386/netware-libgcc.exp: New.
* config/i386/t-netware, config/i386/t-nwld: New.
* gthr-nks.h: New.
* doc/install.texi: Document NKS threading model.
gcc/cp/
* g++spec.c (MATH_LIBRARY_PROFILE): Default to MATH_LIBRARY rather
than "-lm".
gcc/testsuite/
* g++.dg/abi/bitfield5.C: Use -mno-ms-bitfields.
* g++.old-deja/g++.jason/thunk2.C: xfail for NetWare.
* g++.old-deja/g++.law/profile1.C: xfail for NetWare.
* g++.old-deja/g++.other/store-expr1.C: xfail for NetWare.
* gcc.c-torture/compile/20001109-1.c: xfail for NetWare.
* gcc.c-torture/compile/20001109-2.c: xfail for NetWare.
* gcc.c-torture/execute/multi-ix.c: Use __builtin_bzero rather than
the non-portable bzero.
* gcc.dg/20010912-1.c: xfail for NetWare.
* gcc.dg/20020426-2.c: xfail for NetWare.
* gcc.dg/20021014-1.c: xfail for NetWare.
* gcc.dg/20021018-1.c: xfail for NetWare.
* gcc.dg/20030213-1.c: xfail for NetWare.
* gcc.dg/20030225-1.c: xfail for NetWare.
* gcc.dg/20030708-1.c: xfail for NetWare.
* gcc.dg/builtins-config.h: Also exclude NetWare.
* gcc.dg/format/format.h: Define restrict only if not already defined.
* gcc.dg/nest.c: xfail for NetWare.
* gcc.dg/special/gcsec-1.c: Don't pass -static for NetWare.
* lib/target-supports.exp (check_visibility_available): Exclude
NetWare.
fixincludes/
* inclhack.def: Suppress exception_structure and math_exception
for NetWare headers.
* fixincl.x: Regenerate.
libstdc++-v3/
* crossconfig.m4: Add NetWare as a target.
* configure: Regenerate.
From-SVN: r87040
2004-09-03 11:10:08 -07:00
Paolo Bonzini
71b5d516bc
Made fixincludes a toplevel build module.
...
toplevel:
2004-08-31 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (build_modules): Add fixincludes.
(dependencies): Make gcc depend on fixincludes.
* configure.in (build_tools): Add fixincludes.
(build_configdirs): Always include build_libs.
* Makefile.in: Regenerate.
* configure: Regenerate.
contrib:
2004-08-04 Paolo Bonzini <bonzini@gnu.org>
* gcc_update: Add fixincludes.
fixincludes:
2004-08-31 Paolo Bonzini <bonzini@gnu.org>
* .cvsignore: New.
* Makefile.in: From gcc/fixinc/Makefile.in, making it fully
autoconfiscated.
* configure.ac: New.
* config.h.in: Generate.
* configure: Generate.
* aclocal.m4: New.
* fixlib.h: Remove inclusions of gcc files.
* system.h: New.
Other files copied from gcc/fixinc.
gcc:
2004-08-31 Paolo Bonzini <bonzini@gnu.org>
* Makefile.in (build_subdir): New substitution.
(fixinc.sh): Simplify heavily since fixincludes is already built.
(stmp-fixinc): Depend on specs.ready.
(install-mkheaders): Use new location of fixincludes.
(clean): Do not descend into fixinc.
(FORBUILD): Replace with ../$(build_subdir).
* configure.ac (build_subdir): Substitute.
(FORBUILD): Do not set.
(all_outputs): Remove fixinc/Makefile.
(default commands): Do not create links in fixinc.
* mkfixinc.sh: New, from fixinc/mkfixinc.sh without
the fixincludes configuration steps and substituting
@FIXINCL@ in fixinc.in.
* fixinc.in: New, from fixinc/fixincl.sh.
* fixinc/*: Removed.
From-SVN: r86824
2004-08-31 09:27:00 +00:00