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
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
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
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
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
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
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
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