Paul Thomas
5b440a1cf4
[multiple changes]
...
2006-10-17 Paul Thomas <pault@gcc.gnu.org>
PR fortran/20541
* trans-array.c (gfc_trans_array_bounds): Test for and set
negative stride of a non-constant bound array to zero.
PR fortran/29392
* data.c (create_character_intializer): Copy and simplify
the expressions for the start and end of a sub-string
reference.
2006-10-17 Paul Thomas <pault@gcc.gnu.org>
PR fortran/29392
* gfortran.dg/data_char_3.f90: New test.
PR fortran/20541
* gfortran.dg/negative_automatic_size.f90: New test.
From-SVN: r117797
2006-10-16 22:29:46 +00:00
David Daney
f2523ab3c4
* g++.dg/other/unused1.C : Match on '.ascii\t"name\000"' also.
...
From-SVN: r117796
2006-10-16 20:30:03 +00:00
Eric Christopher
7da35c0f68
asm-4.c: Fix inline asm for darwin x86_64.
...
2006-10-16 Eric Christopher <echristo@apple.com>
* gcc.target/i386/asm-4.c: Fix inline asm for darwin
x86_64.
From-SVN: r117795
2006-10-16 20:07:46 +00:00
Brooks Moses
9292251252
contrib.texi, [...]: Standardize on "GNU Fortran" as the official name of the Fortran compiler.
...
* doc/contrib.texi, doc/install.texi, doc/standards.texi:
Standardize on "GNU Fortran" as the official name of the Fortran
compiler.
From-SVN: r117794
2006-10-16 13:00:56 -07:00
Mike Stump
f475fd3c9e
darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Add -mkernel support.
...
* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Add
-mkernel support.
(C_COMMON_OVERRIDE_OPTIONS): Add -mkernel support. Add
SUBTARGET_C_COMMON_OVERRIDE_OPTIONS callout.
(CC1_SPEC): Don't turn on -fPIC when -mkernel is given.
(OS_MISSING_ALTIVEC): Add.
* config/i386/i386.c (override_options): Add
SUBSUBTARGET_OVERRIDE_OPTIONS callout.
* config/i386/darwin.h (CC1_SPEC): Don't turn on -fPIC when
-mkernel, -static or -mdynamic-no-pic is given.
(C_COMMON_OVERRIDE_OPTIONS): Add.
* config/darwin.opt (fapple-kext): Add.
(mkernel): Add.
* config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Add
-fapple-kext, -findirect-virtual-calls, -fterminated-vtables and
-mkernel support.
(SUBSUBTARGET_OVERRIDE_OPTIONS): Add.
(SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): Add.
(CPP_SPEC): Move defines for __DYNAMIC__ and __STATIC__ from here...
(SUBTARGET_ATTRIBUTE_TABLE): Add apple_kext_compatibility.
(TARGET_CXX_CDTOR_RETURNS_THIS): Add.
(flag_mkernel): Add.
(flag_apple_kext): Add.
(TARGET_KEXTABI): Add.
* config/darwin.c (darwin_handle_kext_attribute): Add.
(DARWIN_VTABLE_P): Add.
(darwin_binds_local_p): Add partial support for rebinding vtables
in kexts.
(darwin_kextabi_p): Add.
(darwin_override_options): Add.
* config/darwin-protos.h (darwin_handle_kext_attribute): Add.
(darwin_kextabi_p): Add.
(darwin_override_options): Add.
* config/darwin-c.c (darwin_cpp_builtins): ... move defines for
__DYNAMIC__ and __STATIC__ here.
From-SVN: r117793
2006-10-16 19:53:29 +00:00
Brooks Moses
cc5c274102
sourcebuild.texi, [...]: Added mention of "make pdf" target, and Texinfo requirements for same.
...
* doc/sourcebuild.texi, doc/makefile.texi, doc/install.texi:
Added mention of "make pdf" target, and Texinfo requirements for
same.
From-SVN: r117792
2006-10-16 12:51:55 -07:00
DJ Delorie
0c6385dccb
s390.c (s390_decompose_address): Allow symbol+offset into the GOT in case we need a subreg of the address.
...
* config/s390/s390.c (s390_decompose_address): Allow symbol+offset
into the GOT in case we need a subreg of the address.
From-SVN: r117791
2006-10-16 15:41:47 -04:00
Douglas Gregor
499c96f56b
Makefile.am (tr1_headers): Add new tuple_defs.h.
...
2006-10-16 Douglas Gregor <doug.gregor@gmail.com>
* include/Makefile.am (tr1_headers): Add new tuple_defs.h.
* include/Makefile.in (tr1_headers): Regenerate.
* include/tr1/tuple (tuple): Move declaration to tuple_defs.h.
(get): Ditto.
(operator==): Ditto.
(operator<): Ditto.
(operator!=): Ditto.
(operator>): Ditto.
(operator<=): Ditto.
(operator>=): Ditto.
(__stripped_tuple_type): Ditto.
Include tuple.defs.h
* include/tr1/tuple_iterate.h (tuple): Use
_GLIBCXX_TUPLE_ALL_TEMPLATE_PARAMS_UNNAMED macro instead of 10
"typename"s.
(tuple_element): Use _GLIBCXX_TUPLE_ALL_TEMPLATE_PARAMS and
_GLIBCXX_TYPLE_ALL_TEMPLATE_ARGS instead of 10
parameters/arguments.
* include/tr1/tuple_defs.h: New header, contains declarations and
definitions for the tuple template with all arguments.
* include/tr1/repeat.h (_GLIBCXX_TUPLE_ALL_TEMPLATE_PARAMS): New.
(_GLIBCXX_TUPLE_ALL_TEMPLATE_PARAMS_UNNAMED): New.
(_GLIBCXX_TUPLE_ALL_TEMPLATE_ARGS): New.
(_GLIBCXX_TEMPLATE_PARAMS_NULL_CLASS): New.
(_GLIBCXX_TEMPLATE_ARGS_STRIPPED): New.
* scripts/gen_includers.pl: Update.
* scripts/gen_includers2.pl: New.
From-SVN: r117790
2006-10-16 19:08:22 +00:00
Benjamin Kosnik
5f90c88f61
PR libstdc++/29095 continued
...
2006-10-16 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/29095 continued
* testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Additions
so that testing not in the build directory works for the "C"
target language.
From-SVN: r117788
2006-10-16 17:22:38 +00:00
Mark Mitchell
1082fd1084
re PR c++/28211 (wrong linkage of template argument, diagnostic could be improved)
...
PR c++/28211
* parser.c (cp_parser_template_argument): Don't consider "&var" a
possible constant-expression.
* pt.c (convert_nontype_argument): Refine handling of arguments of
pointer type.
PR c++/28211
* g++.dg/tc1/dr49.C: Tweak error messages.
* g++.dg/parse/template21.C: New test.
From-SVN: r117787
2006-10-16 17:02:07 +00:00
Kaz Kojima
0573fa421a
io.c (gfc_match_close): Ensure that status is terminated by a NULL element.
...
* io.c (gfc_match_close): Ensure that status is terminated by
a NULL element.
From-SVN: r117785
2006-10-16 12:22:04 +00:00
Tobias Burnus
fa9516946c
trans-stmt.c: Fix a typo
...
2006-10-16 Tobias Burnus <burnus@net-b.de>
* trans-stmt.c: Fix a typo
* invoke.texi: Fix typos
* resolve.c: Fix a comment typo
* trans-decl.c: Fix a comment typo
* primary.c: Fix a comment typo
From-SVN: r117781
2006-10-16 13:17:29 +02:00
Tobias Burnus
018c8d88cb
MAINTAINERS (Write After Approval): Add myself.
...
2006-10-16 Tobias Burnus <burnus@net-b.de>
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r117780
2006-10-16 13:10:49 +02:00
Jakub Jelinek
039f9e35a6
basic_string.tcc (_Rep::_S_create): Call _M_set_sharable() for backwards compatibility.
...
* include/bits/basic_string.tcc (_Rep::_S_create): Call
_M_set_sharable() for backwards compatibility.
From-SVN: r117777
2006-10-16 11:51:14 +02:00
Richard Guenther
d7aa4788df
re PR target/25519 (Intel (SSE/MMX) intrinsics should only be mentioned instead of the builtins)
...
2006-10-16 Richard Guenther <rguenther@suse.de>
PR target/25519
* doc/extend.texi (X86 Built-in Functions): Fix typos in
SSE builtin documentation. Document SSE2 builtins.
From-SVN: r117774
2006-10-16 08:36:03 +00:00
Chen Liqin
95e3c37e30
configure.ac: Enable checking assembler dwarf2 support for score target.
...
* gcc/configure.ac: Enable checking assembler dwarf2 support for score
target.
* gcc/configure: Regenerate.
From-SVN: r117773
2006-10-16 06:47:57 +00:00
Ben Elliston
f6a1687efe
config.guess: Import latest version.
...
* config.guess: Import latest version.
* config.sub: Likewise.
From-SVN: r117772
2006-10-16 13:27:17 +10:00
Tan Shengguo
cf723ae82f
crti.asm: add pic support.
...
* config/score/crti.asm: add pic support.
* config/score/crtn.asm: add pic support.
* config/score/score.h: remove builtin_define("__pic__").
* config/score/score.c: add TARGET_RTX_COST macro.
* config/score/score.md: PIC support for call/sibcall pattern.
* config/score/mul-div.S: add pic support.
* config/score/t-score-elf: update MULTILIB_OPTIONS.
* ChangeLog: add shengguo as another score maintainer.
* config.sub: add score support in it.
From-SVN: r117771
2006-10-16 02:13:06 +00:00
John David Anglin
c05b443868
pa64-hpux.h (LINK_SPEC): Force __cxa_finalize to be an undefined symbol in the output file for...
...
* pa64-hpux.h (LINK_SPEC): Force __cxa_finalize to be an undefined
symbol in the output file for non-shared links when -nostdlib or
-nodefaultlibs isn't specified.
From-SVN: r117769
2006-10-16 01:31:22 +00:00
John David Anglin
0e52074611
re PR middle-end/20491 (internal compiler error: in subreg_regno_offset, at rtlanal.c:3042)
...
PR middle-end/20491
gcc.dg/torture/asm-subreg-1.c: Skip on hppa*64*-*-*.
From-SVN: r117766
2006-10-16 01:05:51 +00:00
Steven G. Kargl
8e9f197690
re PR fortran/29403 ([4.1 only] print ('(a)') not working, print '(a) works)
...
2006-10-15 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/29403
* gfortran.dg/print_1.f90: New test.
From-SVN: r117765
2006-10-16 00:54:01 +00:00
Steven G. Kargl
ff2c6bbbc9
re PR fortran/29403 ([4.1 only] print ('(a)') not working, print '(a) works)
...
2006-10-15 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/29403
* io.c (match_io): Check for a default-char-expr for PRINT format.
From-SVN: r117764
2006-10-16 00:51:46 +00:00
GCC Administrator
b9ebbf5454
Daily bump.
...
From-SVN: r117762
2006-10-16 00:17:19 +00:00
John David Anglin
27ca3a6192
config.gcc (hppa*64*-*-hpux11*, [...]): Default to posix thread support.
...
* config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*): Default to
posix thread support.
From-SVN: r117756
2006-10-15 23:05:31 +00:00
Jan Hubicka
ba19ceaeed
re PR middle-end/29241 ([non unit-at-a-time] ICE with always inline)
...
PR middle-end/29241
* cgraphunit.c (cgraph_preserve_function_body_p): Preserve functions
declared always_inline even when not inlining.
* gcc.c-torture/compile/pr29241.c: New testcase.
From-SVN: r117753
2006-10-15 19:46:26 +00:00
Richard Biener
564738dfd1
cgraphunit.c: Fix goof in previous commit.
...
2006-10-15 Richard Guenther <rguenther@suse.de>
* cgraphunit.c: Fix goof in previous commit.
From-SVN: r117752
2006-10-15 19:08:29 +00:00
Eric Botcazou
6026b73e86
Cosmetic tweak to previous checkin.
...
From-SVN: r117751
2006-10-15 17:16:36 +00:00
Eric Botcazou
af4a46a963
re PR middle-end/29111 (FAIL: gcc.dg/torture/pr26565.c -O0 execution test)
...
PR middle-end/29111
* builtins.c (get_pointer_alignment): Return 0 if TER is not run.
Co-Authored-By: Andrew Pinski <pinskia@gmail.com>
Co-Authored-By: John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
From-SVN: r117750
2006-10-15 16:57:39 +00:00
Andrew Pinski
76c29bf0b2
Fix some whitespace issues in the changelog.
...
From-SVN: r117749
2006-10-15 09:45:15 -07:00
Andrew Pinski
670a1b1f88
Fix some whitespace issues in the changelog.
...
From-SVN: r117748
2006-10-15 09:40:53 -07:00
David Edelsohn
38f1b50d96
re PR target/29250 (internal compiler error: in extract_insn, at recog.c:2084)
...
PR middle-end/29250
* gcc.c-torture/compile/pr29250.c: New test.
From-SVN: r117747
2006-10-15 12:21:14 -04:00
Jan Hubicka
61e00a5e0d
re PR middle-end/29299 (gcc "used" attribute has no effect on local-scope static variables)
...
PR middle-end/29299
* cgraphunit.c (cgraph_finalize_compilation_unit): Call
process_function_and_variable_attributes on all variables, including
those discovered during cgraph construction phase.
From-SVN: r117746
2006-10-15 16:20:06 +00:00
Paolo Carlini
70c99f6c02
istream.tcc (getline(basic_istream<>&, basic_string<>&)): Move...
...
2006-10-15 Paolo Carlini <pcarlini@suse.de>
* include/bits/istream.tcc (getline(basic_istream<>&,
basic_string<>&)): Move...
* include/bits/basic_string.h: ... here.
(operator<<(basic_ostream<>&, const basic_string<>&)): Mark inline.
From-SVN: r117745
2006-10-15 14:43:50 +00:00
Bernhard Fischer
b0efb46ba4
final.c: Update Copyright year.
...
2006-10-15 Bernhard Fischer <aldot@gcc.gnu.org>
* final.c: Update Copyright year. Commentary typo fix. Fix whitespace
From-SVN: r117744
2006-10-15 14:40:07 +02:00
Bernhard Fischer
2e5758e8c1
re PR fortran/24767 (gfortran: -Wno-unused-label does not work properly)
...
fortran/ChangeLog
2006-10-13 Bernhard Fischer <aldot@gcc.gnu.org>
PR fortran/24767
* lang.opt (Wunused-labels): Remove.
* options.c: Remove references to gfc_option.warn_unused_labels.
* gfortran.h: Remove variable warn_unused_labels.
* resolve.c (warn_unused_fortran_label) : Use warn_unused_label
instead of gfc_option.warn_unused_labels.
* invoke.texi: Remove documentation of -Wunused-labels.
testsuite/ChangeLog
2006-10-13 Bernhard Fischer <aldot@gcc.gnu.org>
PR fortran/24767
* gfortran.dg/label_4.f90: Adjust warning flag.
From-SVN: r117743
2006-10-15 14:12:59 +02:00
Geoffrey Keating
9d6968a4da
make_exports.pl: Use -_ rather than --strip-underscores or --strip-underscore.
...
* scripts/make_exports.pl: Use -_ rather than --strip-underscores
or --strip-underscore.
From-SVN: r117742
2006-10-15 07:52:18 +00:00
Geoffrey Keating
5b043f0845
Index: config/ChangeLog
...
2006-10-14 Geoffrey Keating <geoffk@apple.com>
* multi.m4: New file, from automake version 2 branch.
Index: libgomp/ChangeLog
2006-10-14 Geoffrey Keating <geoffk@apple.com>
* aclocal.m4: Regenerate.
* configure: Regenerate.
Index: libstdc++-v3/ChangeLog
2006-10-14 Geoffrey Keating <geoffk@apple.com>
* aclocal.m4: Regenerate.
* configure: Regenerate with released autoconf-2.59.
Index: libobjc/ChangeLog
2006-10-14 Geoffrey Keating <geoffk@apple.com>
* Makefile.in: Use multi_basedir instead of toplevel_srcdir.
* configure.ac: Use multi.m4 from aclocal rather than custom
code. Use multi_basedir instead of toplevel_srcdir.
* aclocal.m4: Regenerate.
* configure: Regenerate.
Index: libssp/ChangeLog
2006-10-14 Geoffrey Keating <geoffk@apple.com>
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r117741
2006-10-15 07:42:57 +00:00
Tobias Burnus
26d2906169
gfortran.texi: Add link to GFortran apps
...
2006-10-14 Tobias Burnus <burnus@net-b.de>
* gfortran.texi: Add link to GFortran apps
* intrinsic.texi: Updated documentation of ACCESS and CHMOD
From-SVN: r117740
2006-10-14 23:32:42 -07:00
GCC Administrator
7a1109bf89
Daily bump.
...
From-SVN: r117738
2006-10-15 00:17:17 +00:00
Keith Seitz
0f546316f4
java-insns.h (enum java_code): Add op_breakpoint.
...
* include/java-insns.h (enum java_code): Add op_breakpoint.
* include/java-interp.h (_Jv_InterpMethod): Declare breakpoint_insn.
[INTERPRETER]: Declare _Jv_InterpMethod::bp_insn_slot.
[!INTERPRETER]: Declare _Jv_InterpMethod::bp_insn_opcode.
(install_break): Declare.
* interpret.cc (breakpoint_insn): Define breakpoint insn.
(compile): Add op_breakpoint to "can't happen" cases.
[INTERPRETER] Initialize breakpoint insn if necessary.
(install_break): New method.
* interpret-run.cc: Add op_breakpoint to insn_targets.
Add insn_breakpoint label.
* verify.cc (branch_prepass): Add op_breakpoint to unrecognized
opcodes section of switch statement.
(verify_instructions_0): Likewise.
From-SVN: r117734
2006-10-14 20:11:12 +00:00
Jerry DeLisle
1526c4b5b6
re PR fortran/19261 (continuation character illegal as first non-blank character in statement)
...
2006-10-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/19261
* scanner.c (load_line): Add checks for illegal use of '&' and issue
warnings. Issue errors with -pedantic.
From-SVN: r117733
2006-10-14 15:06:34 +00:00
Paul Thomas
467f18f389
re PR fortran/29371 (Coredump when using -fbounds-check with pointer & nullify)
...
2006-10-14 Paul Thomas <pault@gcc.gnu.org>
PR fortran/29371
* trans-expr.c (gfc_trans_pointer_assignment): Add the expression
for the assignment of null to the data field to se->pre, rather
than block.
2006-10-14 Paul Thomas <pault@gcc.gnu.org>
PR fortran/29371
* gfortran.dg/nullify_3.f90: New test.
From-SVN: r117732
2006-10-14 13:09:56 +00:00
Paolo Carlini
621048c8f5
index.html: Update.
...
2006-10-14 Paolo Carlini <pcarlini@suse.de>
* docs/html/faq/index.html: Update.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r117731
2006-10-14 11:15:45 +00:00
Paolo Carlini
4fb1953207
ostream.tcc (operator<<(basic_ostream<>&, const char*)): Further fix for throwing widen.
...
2006-10-14 Paolo Carlini <pcarlini@suse.de>
* include/bits/ostream.tcc (operator<<(basic_ostream<>&,
const char*)): Further fix for throwing widen.
From-SVN: r117730
2006-10-14 10:25:35 +00:00
Paolo Carlini
78a438f161
ostream.tcc (operator<<(basic_ostream<>&, const char*)): Fix thinko in change for libstdc++/28277, avoid memory leaks.
...
2006-10-14 Paolo Carlini <pcarlini@suse.de>
* include/bits/ostream.tcc (operator<<(basic_ostream<>&,
const char*)): Fix thinko in change for libstdc++/28277,
avoid memory leaks.
From-SVN: r117729
2006-10-14 09:51:32 +00:00
Eric Botcazou
14ba83a988
pthread-init-2.c (dg-options): Define _POSIX_C_SOURCE=199506L on Solaris 2.5.1 too.
...
* gcc.dg/pthread-init-2.c (dg-options): Define _POSIX_C_SOURCE=199506L
on Solaris 2.5.1 too.
From-SVN: r117728
2006-10-14 09:19:50 +00:00
Uros Bizjak
f6096891a2
* config/i386/athlon.md (athlon_fist): Add fisttp.
...
From-SVN: r117725
2006-10-14 07:22:13 +02:00
David Edelsohn
dc10a47e83
re PR target/29250 (internal compiler error: in extract_insn, at recog.c:2084)
...
2006-10-13 David Edelsohn <edelsohn@gnu.org>
Ian Lance Taylor <ian@airs.com>
PR middle-end/29250
* expr.c (expand_expr_real_1) <NON_LVALUE_EXPR, NOP_EXPR,
CONVERT_EXPR>: Change EXPAND_SUM modifier to EXPAND_NORMAL when
recursing.
Co-Authored-By: Ian Lance Taylor <ian@airs.com>
From-SVN: r117724
2006-10-13 23:03:23 -04:00
Kazu Hirata
875e256a3a
score.c, score.h: Fix comment typos.
...
* config/score/score.c, config/score/score.h: Fix comment
typos.
From-SVN: r117723
2006-10-14 01:55:31 +00:00
Kazu Hirata
b2a433730c
intrinsic.texi: Fix typos.
...
* intrinsic.texi: Fix typos.
* trans-array.c: Fix a comment typo.
From-SVN: r117722
2006-10-14 01:48:07 +00:00