Kaveh R. Ghazi
fdd5d9e2ec
builtins.c (expand_builtin_memmove): Delete duplicate code and accept a tree type for the result.
...
* builtins.c (expand_builtin_memmove): Delete duplicate code
and accept a tree type for the result.
(expand_builtin_bcopy): Accept a tree type for the result.
(fold_builtin_memmove): Accept an arglist and tree type for
the result.
From-SVN: r88563
2004-10-05 17:10:42 +00:00
Ranjit Mathew
5544148e92
Prepare for %q, %< and %> in diagnostic message strings.
...
* java-tree.h (parse_error_context): remove ATTRIBUTE_PRINTF_2.
Name second parameter 'msgid'.
* parse.y: Additionally include pretty-print.h and diagnostic.h.
(issue_warning_error_from_context): Use pretty-printer functions
instead of vsprintf for constructing formatted messages. Rename
parameter 'msg' to 'msgid'.
(parse_error_context): Rename parameter 'msg' to 'msgid'.
(parse_warning_context): Likewise.
From-SVN: r88562
2004-10-05 17:07:14 +00:00
Frank Ch. Eigler
73407061a1
* thanks kcook
...
2004-10-05 Frank Ch. Eigler <fche@redhat.com>
* configure.ac: Checking for sys/socket.h once is enough.
* configure: Regenerated.
From-SVN: r88559
2004-10-05 16:15:55 +00:00
Nathan Sidwell
89d594a24d
re PR c++/17829 (wrong error: call of overloaded function is ambiguous)
...
cp:
PR c++/17829
* parser.c (cp_parser_postfix_expression): Inhibit Koenig when
unqualified lookup finds a member function.
testsuite:
PR c++/17829
* g++.dg/lookup/koenig4.C: New.
From-SVN: r88558
2004-10-05 16:08:02 +00:00
Tomer Levi
370f7a47be
configure.in: Enable target-libgloss for crx-*-*.
...
configure: Regenerate.
From-SVN: r88557
2004-10-05 15:52:20 +00:00
Andrew Haley
5789147ff0
[multiple changes]
...
2004-10-05 Andrew Haley <aph@redhat.com>
PR java/17779
* jcf-parse.c (parse_zip_file_entries): If a class has a
superclass and a TYPE_SIZE of zero, lay it out.
2004-09-30 Andrew Haley <aph@redhat.com>
PR java/17733
* jcf-parse.c (compute_class_name): Rewrite.
From-SVN: r88556
2004-10-05 14:55:39 +00:00
Ulrich Weigand
9bb86f4147
s390.c (s390_dump_pool): Remove return value.
...
* config/s390/s390.c (s390_dump_pool): Remove return value.
Use gen_pool_align, gen_pool_section_start/end instead of
gen_pool_start/end_31/64.
* config/s390/s390.md (UNSPECV_POOL_START, UNSPECV_POOL_END): Remove.
(UNSPECV_POOL_SECTION, UNSPECV_POOL_ALIGN): New constants.
("pool_start_31", "pool_end_31"): Remove.
("pool_start_64", "pool_end_64"): Likewise.
("pool_align", "pool_section_start", "pool_section_end": New insns.
* config/s390/s390.c (s390_cannot_copy_insn_p): New function.
(TARGET_CANNOT_COPY_INSN_P): Define.
(s390_cannot_force_const_mem): Handle UNSPEC_INSN.
(struct constant_pool): New member 'execute'.
(s390_add_execute, s390_find_execute): New functions.
(s390_execute_label, s390_execute_target): Likewise.
(s390_dump_pool): Output in-pool execute target templates.
(s390_dump_execute): New function.
(s390_alloc_pool, s390_free_pool): Handle execute templates.
(s390_mainpool_start, s390_mainpool_finish): Likewise.
(s390_chunkify_start, s390_chunkify_finish): Likewise.
* config/s390/s390.md (UNSPEC_INSN, UNSPEC_EXECUTE): New constants.
("*execute"): New insn pattern.
("movmem_short", "*movmem_short"): Use splitters to generate
explicit execute pattern, remove embedded execute.
("clrmem_short", "*clrmem_short"): Likewise.
("cmpmem_short", "*cmpmem_short"): Likewise.
From-SVN: r88555
2004-10-05 14:06:25 +00:00
Daniel Berlin
af16db699d
tree-ssa.c (verify_ssa): Verify phi arguments only contain renamed names.
...
2004-10-05 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa.c (verify_ssa): Verify phi arguments only
contain renamed names.
From-SVN: r88554
2004-10-05 13:57:06 +00:00
Ulrich Weigand
29cb3c21e8
configure.host (abi_baseline_pair): Define for s390-*-linux* and s390x-*-linux*.
...
* configure.host (abi_baseline_pair): Define for s390-*-linux* and
s390x-*-linux*.
* config/abi/s390-linux-gnu/baseline_symbols.txt: Add missing symbols.
* config/abi/s390x-linux-gnu/baseline_symbols.txt: New file.
From-SVN: r88553
2004-10-05 13:45:38 +00:00
Gabriel Dos Reis
2a13a6258b
Convert diagnostics to use quoting flag q 4/n
...
Convert diagnostics to use quoting flag q 4/n
* parser.c (cp_parser_name_lookup_error,
cp_parser_diagnose_invalid_type_name,
cp_parser_primary_expression, cp_parser_unqualified_id,
cp_parser_nested_name_specifier_opt,
cp_parser_labeled_statement,
cp_parser_jump_statement, cp_parser_simple_declaration,
cp_parser_decl_specifier_seq, cp_parser_mem_initializer_id,
cp_parser_type_parameter, cp_parser_template_id,
cp_parser_template_name, cp_parser_direct_declarator,
cp_parser_parameter_declaration_list, cp_parser_class_head,
cp_parser_base_specifier, cp_parser_lookup_name,
cp_parser_late_parsing_default_args,
cp_parser_optional_template_keyword
cp_parser_elaborated_type_specifier,
cp_parser_check_class_key,
cp_parser_check_access_in_redeclaration): Use quoting marks.
* name-lookup.c (supplement_binding, pushdecl,
check_for_out_of_scope_variable,
validate_nonmember_using_decl,
do_nonmember_using_decl, lookup_tag, set_decl_namespace,
push_namespace, do_namespace_alias, do_using_directive,
ambiguous_decl, lookup_namespace_name, add_function):
Likewise.
* method.c (use_thunk): Likewise.
* lex.c (unqualified_name_lookup_error,
unqualified_fn_lookup_error): Likewise.
testsuite/
merlin[1:17]% cd build
~
merlin[1:17]% ls
~/build
3 4 4.0.0 c++0x r tree
merlin[1:17]% cd 4.0.0
~/build
merlin[1:17]% cd gcc
~/build/4.0.0
merlin[1:17]% make check-g++
~/build/4.0.0/gcc
(rootme=`${PWDCMD-pwd}`; export rootme; \
srcdir=`cd /home/gdr/redhat/egcs/gcc; ${PWDCMD-pwd}` ; export srcdir ;
\
cd testsuite; \
EXPECT=`if [ -f ${rootme}/../expect/expect ] ; then echo
${rootme}/../expect/expect ; else echo expect ; fi` ; export EXPECT ;
\
if [ -f ${rootme}/../expect/expect ] ; then \
TCL_LIBRARY=`cd .. ; cd /home/gdr/redhat/egcs/gcc/../tcl/library ;
${PWDCMD-pwd}` ; \
export TCL_LIBRARY ; fi ; \
`if [ -f ${srcdir}/../dejagnu/runtest ] ; then echo
${srcdir}/../dejagnu/runtest ; else echo runtest; fi` --tool g++ )
Test Run By gdr on Tue Oct 5 01:18:04 2004
Native configuration is i686-pc-linux-gnu
=== g++ tests ===
Schedule of variations:
unix
Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file
for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for
target.
Using /home/gdr/redhat/egcs/gcc/testsuite/config/default.exp as
tool-and-target-specific interface file.
Running /home/gdr/redhat/egcs/gcc/testsuite/g++.dg/bprob/bprob.exp ...
Running /home/gdr/redhat/egcs/gcc/testsuite/g++.dg/charset/charset.exp
...Running /home/gdr/redhat/egcs/gcc/testsuite/g++.dg/compat/compat.exp
...Running /home/gdr/redhat/egcs/gcc/testsuite/g++.dg/debug/debug.exp ...
Running /home/gdr/redhat/egcs/gcc/testsuite/g++.dg/dg.exp ...
FAIL: g++.dg/other/classkey1.C (test for errors, line 9)
FAIL: g++.dg/other/classkey1.C (test for errors, line 11)
FAIL: g++.dg/other/classkey1.C (test for errors, line 14)
FAIL: g++.dg/other/classkey1.C (test for errors, line 17)
FAIL: g++.dg/other/classkey1.C (test for excess errors)
FAIL: g++.dg/parse/error15.C (test for errors, line 13)
FAIL: g++.dg/parse/error15.C (test for errors, line 14)
FAIL: g++.dg/parse/error15.C (test for errors, line 15)
FAIL: g++.dg/parse/error15.C (test for errors, line 21)
FAIL: g++.dg/parse/error15.C (test for errors, line 22)
FAIL: g++.dg/parse/error15.C (test for errors, line 23)
FAIL: g++.dg/parse/error15.C (test for errors, line 31)
FAIL: g++.dg/parse/error15.C (test for errors, line 32)
FAIL: g++.dg/parse/error15.C (test for errors, line 33)
FAIL: g++.dg/parse/error15.C (test for excess errors)
XPASS: g++.dg/rtti/tinfo1.C scan-assembler _ZTIP9CTemplateIhE:
XPASS: g++.dg/rtti/tinfo1.C scan-assembler-not .globl[
\t]+_ZTIP9CTemplateIhE
XPASS: g++.dg/rtti/tinfo1.C scan-assembler-not
.section[^\n\r]*_ZTIP9CTemplateIhE[^\n\r]*FAIL: g++.dg/template/meminit2.C (test for errors, line 10)
FAIL: g++.dg/template/meminit2.C (test for errors, line 11)
FAIL: g++.dg/template/meminit2.C (test for excess errors)
Running /home/gdr/redhat/egcs/gcc/testsuite/g++.dg/gcov/gcov.exp ...
FAIL: 102:is -:should be 1
FAIL: g++.dg/gcov/gcov-1.C gcov: 1 failures in line counts, 0 in
branch percentamerlin[1:27]% make check-g++
~/build/4.0.0/gcc
(rootme=`${PWDCMD-pwd}`; export rootme; \
srcdir=`cd /home/gdr/redhat/egcs/gcc; ${PWDCMD-pwd}` ; export srcdir ;
\
cd testsuite; \
EXPECT=`if [ -f ${rootme}/../expect/expect ] ; then echo
${rootme}/../expect/expect ; else echo expect ; fi` ; export EXPECT ;
\
if [ -f ${rootme}/../expect/expect ] ; then \
TCL_LIBRARY=`cd .. ; cd /home/gdr/redhat/egcs/gcc/../tcl/library ;
${PWDCMD-pwd}` ; \
export TCL_LIBRARY ; fi ; \
`if [ -f ${srcdir}/../dejagnu/runtest ] ; then echo
${srcdir}/../dejagnu/runtest ; else echo runtest; fi` --tool g++ )
Test Run By gdr on Tue Oct 5 01:27:39 2004
Native configuration is i686-pc-linux-gnu
=== g++ tests ===
Schedule of variations:
unix
Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file
for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for
tar method.c
cfns.gperf cxx-pretty-print.c method.c.~1.315.~
cfns.h cxx-pretty-print.h name-lookup.c
ChangeLog decl2.c name-lookup.c.~1.85.~
ChangeLog.1 decl.c name-lookup.h
ChangeLog.~1.4404.~ decl.h NEWS
ChangeLog.2 dump.c operators.def
ChangeLog.3 error.c optimize.c
ChangeLog.egcs except.c parser.c
ChangeLog.tree-ssa expr.c parser.c.~1.258.~
class.c friend.c pt.c
config-lang.in g++spec.c ptree.c
cp-gimplify.c init.c repo.c
cp-lang.c init.c.~1.396.~ rtti.c
cp-objcp-common.c lang-specs.h search.c
cp-objcp-common.h lex.c semantics.c
cp-tree.def lex.c.~1.349.~ tree.c
cp-tree.h Make-lang.in typeck2.c
CVS mangle.c typeck.c
merlin[7:37]% cvs -z9 diff -p > ~/d-5.patch
~/redhat/egcs/gcc/cp
Enter passphrase for RSA key '/home/gdr/.ssh/identity': cvs [diff
aborted]: received interrupt signal
merlin[7:37]% cvs -z9 diff -p > ~/d-5.patch
~/redhat/egcs/gcc/cp
Warning: Remote host denied X11 forwarding.
Warning: Remote host denied authentication agent forwarding.
cvs diff: Diffing .
merlin[7:38]% l ~/d-5.patch
~/redhat/egcs/gcc/cp
merlin[7:39]% cvs -z9 diff -p > ~/d-5.patch
~/redhat/egcs/gcc/cp
Warning: Remote host denied X11 forwarding.
Warning: Remote host denied authentication agent forwarding.
cvs diff: Diffing .
merlin[7:40]% l ~/d-5.patch
~/redhat/egcs/gcc/cp
You have new mail.
merlin[8:21]% cvs -z9 commit
~/redhat/egcs/gcc/cp
merlin[8:21]% cd .
~/redhat/egcs/gcc/cp
merlin[8:21]% cvs -z9 commit cp testsuite
~/redhat/egcs/gcc/cp
cvs commit: nothing known about `cp'
cvs commit: nothing known about `testsuite'
cvs [commit aborted]: correct above errors first!
merlin[8:21]% cd ..
~/redhat/egcs/gcc/cp
merlin[8:21]% cvs -z9 commit cp testsuite
~/redhat/egcs/gcc
cvs commit: Examining cp
cvs commit: Examining testsuite
cvs commit: Examining testsuite/ada
cvs commit: Examining testsuite/ada/acats
cvs commit: Examining testsuite/ada/acats/support
cvs commit: Examining testsuite/ada/acats/tests
cvs commit: Examining testsuite/ada/acats/tests/a
cvs commit: Examining testsuite/ada/acats/tests/c2
cvs commit: Examining testsuite/ada/acats/tests/c3
cvs commit: Examining testsuite/ada/acats/tests/c4
cvs commit: Examining testsuite/ada/acats/tests/c5
cvs commit: Examining testsuite/ada/acats/tests/c6
cvs commit: Examining testsuite/ada/acats/tests/c7
cvs commit: Examining testsuite/ada/acats/tests/c8
cvs commit: Examining testsuite/ada/acats/tests/c9
cvs commit: Examining testsuite/ada/acats/tests/ca
cvs commit: Examining testsuite/ada/acats/tests/cb
cvs commit: Examining testsuite/ada/acats/tests/cc
cvs commit: Examining testsuite/ada/acats/tests/cd
cvs commit: Examining testsuite/ada/acats/tests/ce
cvs commit: Examining testsuite/ada/acats/tests/cxa
cvs commit: Examining testsuite/ada/acats/tests/cxb
cvs commit: Examining testsuite/ada/acats/tests/cxf
cvs commit: Examining testsuite/ada/acats/tests/cxg
cvs commit: Examining testsuite/ada/acats/tests/cxh
cvs commit: Examining testsuite/ada/acats/tests/cz
cvs commit: Examining testsuite/ada/acats/tests/d
cvs commit: Examining testsuite/ada/acats/tests/e
cvs commit: Examining testsuite/ada/acats/tests/gcc
cvs commit: Examining testsuite/ada/acats/tests/l
cvs commit: Examining testsuite/config
cvs commit: Examining testsuite/consistency.vlad
cvs commit: Examining testsuite/consistency.vlad/layout
cvs commit: Examining
testsuite/consistency.vlad/layout/i960-97r2-results
cvs commit: Examining testsuite/g++.dg
cvs commit: Examining testsuite/g++.dg/abi
cvs commit: Examining testsuite/g++.dg/bprob
cvs commit: Examining testsuite/g++.dg/charset
cvs commit: Examining testsuite/g++.dg/compat
cvs commit: Examining testsuite/g++.dg/compat/abi
cvs commit: Examinin
From-SVN: r88552
2004-10-05 13:28:07 +00:00
Alan Modra
c4ad648e16
linux.h: Formatting, whitespace.
...
* config/rs6000/linux.h: Formatting, whitespace.
* config/rs6000/linux64.h: Likewise.
* config/rs6000/rs6000-protos.h: Likewise.
* config/rs6000/rs6000.c: Likewise.
(easy_vector_splat_const): Add fall thru comments.
(output_vec_const_move): Likewise.
From-SVN: r88551
2004-10-05 22:13:58 +09:30
Kelley Cook
406176bedc
Makefile.in: Update -Wno-error exceptions for move to build dir.
...
2004-10-05 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in: Update -Wno-error exceptions for move to build dir.
From-SVN: r88550
2004-10-05 11:56:00 +00:00
Christopher Jefferson
575665ff64
stl_algobase.h (iter_swap): delegate to swap via __iter_swap when iterator's value_types are equal.
...
2004-10-05 Christopher Jefferson <caj@cs.york.ac.uk>
* include/bits/stl_algobase.h (iter_swap): delegate to swap via
__iter_swap when iterator's value_types are equal.
(struct __iter_swap): New.
From-SVN: r88549
2004-10-05 10:28:17 +00:00
Vincent Celier
88a6ecb6f2
mlib-tgt.ads: (Build_Dynamic_Library): New parameter Options_2
...
2004-10-05 Vincent Celier <celier@gnat.com>
* mlib-tgt.ads: (Build_Dynamic_Library): New parameter Options_2
From-SVN: r88548
2004-10-05 10:13:11 +02:00
Chao-ying Fu
d840bfd345
invoke.texi (-mpaired-single): Link to the new description of the built-in functions.
...
* doc/invoke.texi (-mpaired-single): Link to the new description of the
built-in functions. Document dependencies.
(-mips3d): Add link here too.
* doc/extend.texi (MIPS Paired-Single Support): New section.
Co-Authored-By: Richard Sandiford <rsandifo@redhat.com>
From-SVN: r88547
2004-10-05 07:15:03 +00:00
Benjamin Kosnik
0e98ac6223
configure.ac (libtool_VERSION): To 6:3:0.
...
2004-10-04 Benjamin Kosnik <bkoz@redhat.com>
* configure.ac (libtool_VERSION): To 6:3:0.
* configure: Regnerate.
* testsuite/testsuite_abi.cc (check_version): Add 3.4.3.
From-SVN: r88545
2004-10-05 05:02:58 +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
Andrew Pinski
1ee3acfb08
mvbits.c: Commit the file.
...
2004-10-04 Andrew Pinski <pinskia@physics.uc.edu>
* intrinsics/mvbits.c: Commit the file.
From-SVN: r88541
2004-10-04 19:31:10 -07:00
Roger Sayle
cfd51eaf34
re PR libstdc++/17505 (<cmath> calls acosf(), ceilf(), and other functions missing from system libraries)
...
PR libstdc++/17505
* config/linker-map.gnu: Synchronize the current list of stub
functions from libmath.
Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr>
From-SVN: r88540
2004-10-05 02:30:48 +00:00
GCC Administrator
b1a1ed7f64
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r88537.2
2004-10-05 00:16:26 +00:00
GCC Administrator
e5d4c86630
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r88536.2
2004-10-05 00:16:20 +00:00
Loren J. Rittle
56d6e6b113
configure.ac (*-*-freebsd[[1234]]*): Refine error message emission rule.
...
* configure.ac (*-*-freebsd[[1234]]*): Refine error message
emission rule.
* configure: Rebuilt.
From-SVN: r88533
2004-10-04 22:26:16 +00:00
Tobias Schlüter
5b1374e965
re PR fortran/17776 (no subroutine system)
...
fortran/
PR fortran/17776
* check.c (gfc_check_system_sub): New function.
* gfortran.h (gfc_generic_isym_id): Add GFC_ISYM_SYSTEM.
* intrinsic.c (add_functions): Add 'system'.
(add_subroutines): Add 'system'.
* intrinsic.h (gfc_check_etime_sub, gfc_check_getcwd_sub):
Move prototypes to other suborutines.
(gfc_check_system_sub, gfc_resolve_system, gfc_resolve_system_sub):
Add prototype.
(gfc_resolve_system_clock): Fix formatting of prototype.
* iresolve.c (gfc_resolve_system, gfc_resolve_system_sub): New
functions.
* trans-intrinsic.c (gfc_conv_intrinsic_function): Deal with
GFC_ISYM_SYSTEM.
libgfortran/
PR fortran/17776
* intrinsics/system.c: New file.
* Makefile.am: Add dependency for the new file.
* Makefile.in: Regenerate.
From-SVN: r88532
2004-10-04 23:30:32 +02:00
Tobias Schlüter
73a014b549
re PR fortran/17708 (gfortran problem with goto inside loop)
...
fortran/
PR fortran/17708
* parse.c (accept_statement): Don't treat END DO like END IF and
END SELECT.
(parse_do_block): Generate possible END DO label inside END DO
block.
also, added ChangeLog entry for previous commit.
testsuite/
PR fortran/17708
* gfortran.dg/pr17708.f90: New test.
From-SVN: r88529
2004-10-04 23:05:07 +02:00
Tobias Schlüter
95638988cb
trans-const.c (gfc_build_cstring_const): New function.
...
* trans-const.c (gfc_build_cstring_const): New function.
(gfc_init_cst): Use new function.
* trans-const.h (gfc_build_cstring_const): Add prototype.
* trans-io.c (set_string, set_error_locus): Use new function.
* trans-stmt.c (gfc_trans_goto): Use new function.
From-SVN: r88528
2004-10-04 22:55:49 +02:00
Tobias Schlüter
ee569894e7
re PR libfortran/17631 (libfortran: intrinsic subroutine MVBITS not implemented)
...
PR fortran/17631
fortran/
* intrinsic.c (add_sym_5): Remove.
(add_subroutines): Add resolution function for MVBITS.
* intrinsic.h (gfc_resolve_mvbits): Declare resolution function for
MVBITS
* iresolve.c (gfc_resolve_mvbits): New function.
(gfc_resolve_random_number): Remove empty line at end of function.
libgfortran/
* Makefile.am (gfor_helper_src): Add intrinsics/mvbits.h.
* intrinsics/mvbits.h: New file.
testsuite/
* gfortran.fortran-torture/execute/intrinsic_mvbits.f90: New test.
From-SVN: r88527
2004-10-04 22:49:39 +02:00
Tobias Schlüter
58c5b409e8
re PR fortran/17283 (UNPACK issues)
...
PR fortran/17283
fortran/
* iresolve.c (gfc_resolve_pack): Choose function depending if mask is
scalar.
libgfortran/
* intrinsics/pack_generic.c (__pack): Allocate memory for return array
if not done by caller.
(__pack_s): New function.
* runtime/memory.c (internal_malloc, internal_malloc64): Allow
allocating zero memory.
testsuite/
* gfortran.fortran-torture/execute/intrinsic_pack.f90: Add more tests.
From-SVN: r88526
2004-10-04 21:27:29 +02:00
Laurent GUERBY
110aba1432
re PR ada/15156 (gnatlink does not link due to undefined symbol _gnat__strings_E)
...
2004-10-04 Laurent GUERBY <laurent@guerby.net>
PR ada/15156
* Makefile.in: Define and use RANLIB_FLAGS.
From-SVN: r88525
2004-10-04 19:10:02 +00:00
Chao-ying Fu
952d9d9ffb
pr16105.c: Enable for mipsisa64*-*-*.
...
2004-10-04 Chao-ying Fu <fu@mips.com>
* gcc.dg/vect/pr16105.c: Enable for mipsisa64*-*-*.
* gcc.dg/vect/vect-4.c: Ditto.
* gcc.dg/vect/vect-5.c: Ditto.
* gcc.dg/vect/vect-6.c: Ditto.
* gcc.dg/vect/vect-8.c: Ditto.
* gcc.dg/vect/vect-16.c: Ditto.
* gcc.dg/vect/vect-30.c: Ditto.
* gcc.dg/vect/vect-40.c: Ditto.
* gcc.dg/vect/vect-41.c: Ditto.
* gcc.dg/vect/vect-42.c: Ditto.
* gcc.dg/vect/vect-43.c: Ditto.
* gcc.dg/vect/vect-44.c: Ditto.
* gcc.dg/vect/vect-45.c: Ditto.
* gcc.dg/vect/vect-46.c: Ditto.
* gcc.dg/vect/vect-47.c: Ditto.
* gcc.dg/vect/vect-48.c: Ditto.
* gcc.dg/vect/vect-49.c: Ditto.
* gcc.dg/vect/vect-50.c: Ditto.
* gcc.dg/vect/vect-51.c: Ditto.
* gcc.dg/vect/vect-52.c: Ditto.
* gcc.dg/vect/vect-53.c: Ditto.
* gcc.dg/vect/vect-54.c: Ditto.
* gcc.dg/vect/vect-55.c: Ditto.
* gcc.dg/vect/vect-56.c: Ditto.
* gcc.dg/vect/vect-57.c: Ditto.
* gcc.dg/vect/vect-58.c: Ditto.
* gcc.dg/vect/vect-59.c: Ditto.
* gcc.dg/vect/vect-60.c: Ditto.
* gcc.dg/vect/vect-74.c: Ditto.
* gcc.dg/vect/vect-79.c: Ditto.
* gcc.dg/vect/vect-80.c: Ditto.
From-SVN: r88523
2004-10-04 18:48:21 +00:00
Chao-ying Fu
a4a827237c
mips.h (UNITS_PER_SIMD_WORD): Define.
...
2004-10-04 Chao-ying Fu <fu@mips.com>
* config/mips/mips.h (UNITS_PER_SIMD_WORD): Define.
From-SVN: r88518
2004-10-04 18:33:16 +00:00
Frank Ch. Eigler
07c2f075fc
configure.ac: Look for more headers & functions.
...
2004-10-04 Frank Ch. Eigler <fche@redhat.com>
* configure.ac: Look for more headers & functions.
* mf-hooks2.c (getmntent, inet_ntoa, getproto*): New wrapper functions.
* mf-runtime.h.in: Add new "#pragma redefine_extname"s for them.
* mf-runtime.c (options): Clean up integer signedness warnings.
(main): Add a declaration to fix a warning.
* mf-hooks3.c (pthread_exit): Add not-reached exit() to wrapper.
* configure, config.h.in: Regenerated.
From-SVN: r88517
2004-10-04 17:33:54 +00:00
Andrew Pinski
8f920ef7f2
unused-7.c: Use the correct option.
...
2004-10-04 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.dg/unused-7.c: Use the correct option.
From-SVN: r88516
2004-10-04 10:08:04 -07:00
Erik Schnetter
d7d528c8c8
scanner.c (preprocessor_line): Accept preprocessor lines without file names.
...
2004-10-04 Erik Schnetter <schnetter@aei.mpg.de>
* scanner.c (preprocessor_line): Accept preprocessor lines without
file names. Check file names for closing quotes. Handle escaped
quotes in file names.
From-SVN: r88514
2004-10-04 15:47:16 +00:00
Paul Brook
06e4f02a16
re PR libfortran/17706 (reading a value of 0.0 gives a value of -0.0)
...
2004-10-04 Paul Brook <paul@codesourcery.com>
Bud Davis <bdavis9659@comcast.net>
PR fortran/17706
PR fortran/16434
* io/format.c (parse_format_list): Set repeat count for S, SP, SS,
BN and BZ formats.
* io/write.c (output_float): Don't output minus zero.
libgfortran/
* gfortran/pr17706.f90: New test.
* gfortran.dg/g77/f77-edit-s-out.f: Remove xfail.
Actually apply the patch this time.
From-SVN: r88513
2004-10-04 15:33:18 +00:00
Paul Brook
f3e4170112
re PR libfortran/17706 (reading a value of 0.0 gives a value of -0.0)
...
2004-10-04 Paul Brook <paul@codesourcery.com>
Bud Davis <bdavis9659@comcast.net>
PR fortran/17706
PR fortran/16434
* io/format.c (parse_format_list): Set repeat count for S, SP, SS,
BN and BZ formats.
* io/write.c (output_float): Don't output minus zero.
libgfortran/
* gfortran/pr17706.f90: New test.
* gfortran.dg/g77/f77-edit-s-out.f: Remove xfail.
Co-Authored-By: Bud Davis <bdavis9659@comcast.net>
From-SVN: r88512
2004-10-04 15:32:13 +00:00
Gabriel Dos Reis
15a7ee2932
Convert diagnostics to use quoting flag q 4/n
...
Convert diagnostics to use quoting flag q 4/n
* except.c (decl_is_java_type, build_throw,
is_admissible_throw_operand, check_handlers_1,
check_handlers):
Use quoting formats.
* friend.c (add_friend, make_friend_class, do_friend):
Likewise.
* init.c (sort_mem_initializers, emit_mem_initializers,
member_init_ok_or_else, expand_member_init, is_aggr_type,
build_offset_ref, build_java_class_ref): Likewise.
From-SVN: r88511
2004-10-04 15:07:50 +00:00
Pascal Obry
0955276329
tracebak.c: Always set LOWEST_ADDR to 0 on Win32 (as done on all other x86 platforms).
...
2004-10-04 Pascal Obry <obry@gnat.com>
* tracebak.c: Always set LOWEST_ADDR to 0 on Win32 (as done on all
other x86 platforms).
From-SVN: r88510
2004-10-04 17:02:29 +02:00
Olivier Hainque
a8e490b7eb
s-tassta.adb (Task_Wrapper): Make it Convention C...
...
2004-10-04 Olivier Hainque <hainque@act-europe.fr>
* s-tassta.adb (Task_Wrapper): Make it Convention C, which makes sense
in general and triggers stack alignment adjustment for thread entry
points on targets where this is necessary.
From-SVN: r88509
2004-10-04 17:02:10 +02:00
Bernard Banner
71c10a83a6
re PR ada/13897 (gnat does not implement tasking on powerpc)
...
2004-10-04 Bernard Banner <banner@gnat.com>
PR ada/13897
* Makefile.in: Add section for powerpc linux
Add variant i-vxwork-x86.ads
* i-vxwork-x86.ads, system-linux-ppc.ads: New files.
From-SVN: r88508
2004-10-04 17:01:52 +02:00
Olivier Hainque
9a03df5556
init.c (__gnat_initialize): Call an Ada subprogram to perform the table registration calls when need be.
...
2004-10-04 Olivier Hainque <hainque@act-europe.fr>
* init.c (__gnat_initialize): Call an Ada subprogram to perform the
table registration calls when need be. Ensures no reference to the crt
ctors symbol are issued in the SJLJ case, which avoids possible
undefined symbol errors in the case of modules to be statically linked
with the kernel.
From-SVN: r88507
2004-10-04 17:01:21 +02:00
Javier Miranda
28d6470f55
sem_ch4.adb (Try_Object_Operation): Reformat the code to expand in-line the code corresponding to subprogram...
...
2004-10-04 Javier Miranda <miranda@gnat.com>
* sem_ch4.adb (Try_Object_Operation): Reformat the code to expand
in-line the code corresponding to subprogram Analyze_Actuals. In
addition, analyze the actuals only in case of subprogram call.
From-SVN: r88506
2004-10-04 17:01:03 +02:00
Ed Falis
06237875d4
s-vxwork-x86.ads: (FP_CONTEXT): Defined to be correct size
...
2004-10-04 Ed Falis <falis@gnat.com>
* s-vxwork-x86.ads: (FP_CONTEXT): Defined to be correct size
From-SVN: r88505
2004-10-04 17:00:43 +02:00
Sergey Rybin
259d6c3aa4
g-dirope.ads (Base_Name): Clarify the meaning of the Suffix parameter in the documentation.
...
2004-10-04 Sergey Rybin <rybin@act-europe.fr>
* g-dirope.ads (Base_Name): Clarify the meaning of the Suffix parameter
in the documentation.
From-SVN: r88504
2004-10-04 17:00:26 +02:00
Robert Dewar
6f21ed26f6
sem_ch5.adb (Unblocked_Exit_Count): Now used for blocks as well as IF and CASE.
...
2004-10-04 Robert Dewar <dewar@gnat.com>
* sem_ch5.adb (Unblocked_Exit_Count): Now used for blocks as well as
IF and CASE.
(Analyze_Block_Statement): Add circuitry to detect following dead code
(Check_Unreachable_Code): Handle case of block exit
From-SVN: r88503
2004-10-04 17:00:06 +02:00
Robert Dewar
4cded177ca
g-spipat.adb: (XMatch): Avoid warning for Logic_Error call
...
2004-10-04 Robert Dewar <dewar@gnat.com>
* g-spipat.adb: (XMatch): Avoid warning for Logic_Error call
(XMatchD): Avoid warning for Logic_Error call
From-SVN: r88502
2004-10-04 16:59:42 +02:00
Robert Dewar
c6a60aa15d
exp_ch4.adb (Is_Procedure_Actual): Correct so that this does not consider expressions buried within a procedure...
...
2004-10-04 Robert Dewar <dewar@gnat.com>
* exp_ch4.adb (Is_Procedure_Actual): Correct so that this does not
consider expressions buried within a procedure actual to be an actual.
This caused some blowups with uses of packed slices within a procedure
actual.
From-SVN: r88501
2004-10-04 16:59:10 +02:00
Robert Dewar
1fdebfe5fd
exp_ch3.adb (Needs_Simple_Initialization): Modular packed arrays no longer need to be initialized to zero.
...
2004-10-04 Robert Dewar <dewar@gnat.com>
* exp_ch3.adb (Needs_Simple_Initialization): Modular packed arrays no
longer need to be initialized to zero.
(Get_Simple_Init_Val): Modular packed arrays no longer need to be
initialized to zero.
* checks.adb (Expr_Known_Valid): Packed arrays are now always
considered valid, even if the representation is modular. That's correct
now that we no longer initialize packed modular arrays to zero.
* exp_dbug.ads: Clarify documentation on handling of PAD and JM
suffixes. These are now documented as the only cases in which the
debugger ignores outer records.
Previously, the spec allowed arbitrary suffixes for this purpose.
Change name of LJM to JM for packed array pad records
Create separate section on packed array handling, and add a whole new
set of comments to this section describing the situation with packed
modular types and justification requirements depending on endianness.
From-SVN: r88500
2004-10-04 16:58:47 +02:00
Robert Dewar
cd91501c62
a-except.adb: Add a comment for last change
...
2004-10-04 Robert Dewar <dewar@gnat.com>
* a-except.adb: Add a comment for last change
* einfo.ads: Minor spelling correction in comment
* exp_pakd.adb, gnatdll.adb, prj-attr.ads: Minor reformatting
* sem_ch11.adb: Fix a case of using | instead of \ for continuation
messages.
* sem_util.ads: Minor comment update
From-SVN: r88499
2004-10-04 16:58:21 +02:00
Ed Schonberg
c71c53a855
sem_ch6.adb (Analyze_Subprogram_Body): Do not treat Inline as Inline_Always when in Configurable_Run_Time mode.
...
2004-10-04 Ed Schonberg <schonberg@gnat.com>
* sem_ch6.adb (Analyze_Subprogram_Body): Do not treat Inline as
Inline_Always when in Configurable_Run_Time mode.
* sem_prag.adb (Process_Convention): If entity is an inherited
subprogram, apply convention to parent subprogram if in same scope.
(Analyze_Pragma, case Inline): Do not treat Inline as Inline_Always
when in Configurable_Run_Time mode.
From-SVN: r88498
2004-10-04 16:57:56 +02:00
Ed Schonberg
71d9e9f213
sem_ch3.adb (Build_Derived_Record_Type): Set First/Last entity of class_wide type after component list has been inherited.
...
2004-10-04 Ed Schonberg <schonberg@gnat.com>
* sem_ch3.adb (Build_Derived_Record_Type): Set First/Last entity of
class_wide type after component list has been inherited.
From-SVN: r88497
2004-10-04 16:57:31 +02:00