J"orn Rennecke
6041dc3ce3
* genopinit.c (gen_insn): Check for MODE_COMPLEX_FLOAT patterns for $F.
...
From-SVN: r85435
2004-08-02 13:07:51 +01:00
Gabriel Dos Reis
9ce88f5e94
rtl.h (union rtunion_def): Have all members start with the prefix "rt_".
...
* rtl.h (union rtunion_def): Have all members start with the
prefix "rt_".
(XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE, XBBDEF, XTMPL,
X0INT, X0UINT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
X0MEMATTR, X0BBDEF, X0REGATTR, XCINT, XCUINT, XCSTR, XCEXP,
XCVEC, XCMODE, XCBITMAP, XCTREE, XCBBDEF, XC2EXP): Adjust
members
access.
* gengtype.c (adjust_field_rtx_def): Likewise.
* rtlanal.c (loc_mentioned_in_p): Likewise.
From-SVN: r85434
2004-08-02 10:29:26 +00:00
Mark Mitchell
b1cc95ce4c
re PR c++/16224 (internal compiler error: in write_unscoped_name (template/namespace))
...
PR c++/16224
* name-lookup.c (decl_namespace): Remove.
(current_decl_namespace): Use decl_namespace_context instead of
decl_namespace.
(push_decl_namespace): Likewise.
(arg_assoc_class): Likewise.
(arg_assoc_type): Likewise.
* pt.c (check_specialization_namespace): New function.
(maybe_process_partial_specialization): Use it.
(register_specialization): Likewise.
PR c++/16224
* g++.dg/template/spec17.C: New test.
* g++.old-deja/g++.ns/template13.C: Remove XFAIL.
* g++.old-deja/g++.pt/lookup10.C: Add dg-error marker.
From-SVN: r85431
2004-08-02 06:25:36 +00:00
Richard Sandiford
e9475fa369
config.gcc (mips*-*-elf*, [...]): Add elfos.h to tm_file.
...
* config.gcc (mips*-*-elf*, mips*-*-rtems*): Add elfos.h to tm_file.
Replace uses of mips/elf64.h with mips/elf.h
* config/mips/elf.h (MAX_OFILE_ALIGNMENT, TARGET_ASM_NAMED_SECTION)
(TYPE_OPERAND_FMT, TYPE_ASM_OP, SIZE_ASM_OP, BSS_SECTION_ASM_OP)
(ASM_OUTPUT_ALIGNED_BSS, ASM_WEAKEN_LABEL, ASM_OUTPUT_WEAK_ALIAS)
(MAKE_DECL_ONE_ONLY, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP)
(HANDLE_SYSV_PRAGMA): Delete.
(ASM_OUTPUT_DEF): Fix formatting.
* config/mips/elf64.h: Delete.
From-SVN: r85430
2004-08-02 06:13:40 +00:00
David Billinghurst
db059566fa
2004-08-02 David Billinghurst
...
PR fortran/16292
* gfortran.dg/g77/cabs.f: xfail on mips-sgi-irix6*
From-SVN: r85429
2004-08-02 06:00:55 +00:00
Matt Austern
f1197ae160
re PR libstdc++/16844 (Explicit instantiation failing)
...
PR libstdc++/16844
* include/bits/stl_list.h (_M_create_node): Remove unused
zero-argument version.
* include/ext/slist (_M_create_node): Pass two arguments to
allocator's construct() member function.
* testsuite/23_containers/deque/explicit_instantiation.cc: New.
* testsuite/23_containers/list/explicit_instantiation.cc: New.
* testsuite/23_containers/vector/explicit_instantiation.cc: New.
* testsuite/23_containers/map/explicit_instantiation.cc: New.
* testsuite/23_containers/set/explicit_instantiation.cc: New.
* testsuite/23_containers/multimap/explicit_instantiation.cc: New.
* testsuite/23_containers/multiset/explicit_instantiation.cc: New.
* testsuite/ext/hash_set_explicit_instantiation.cc: New.
* testsuite/ext/slist_explicit_instantiation.cc: New.
From-SVN: r85428
2004-08-02 04:40:19 +00:00
Zack Weinberg
1f09d3eb5c
ia64.c (got_symbolic_operand): Do require a symbol+offset operand to have its offset be zero mod 0x3fff when...
...
* config/ia64/ia64.c (got_symbolic_operand): Do require a
symbol+offset operand to have its offset be zero mod 0x3fff
when GOT entries are in use. Clarify logic in SYMBOL_REF
case. Clarify comments.
(ia64_expand_load_address): Split a symbol+offset load when
the offset is nonzero mod 0x3fff, not 0x1fff.
testsuite:
* gcc.dg/ia64-got-1.c: New test case.
From-SVN: r85426
2004-08-02 03:23:01 +00:00
Mark Mitchell
72fba2df33
Fix typos in ChangeLog.
...
From-SVN: r85425
2004-08-02 02:04:46 +00:00
Mark Mitchell
6a94b85731
Fix typo in ChangeLog
...
From-SVN: r85422
2004-08-02 02:00:18 +00:00
Mark Mitchell
c30b4add62
re PR c++/16338 (ICE when throwing a compound literal)
...
PR c++/16338
* cp-tree.h (DECL_INTEGRAL_CONSTANT_VAR_P): New macro.
* call.c (null_ptr_cst_p): Handle variables with constant
initializers.
* pt.c (convert_nontype_argument): Use
DECL_INTEGRAL_CONSTANT_VAR_P.
* semantics.c (finish_id_expression): Likewise.
PR c++~/16489
* decl.c (duplicate_decls): Reject duplicate namespace
declarations.
PR c++/16810
* typeck.c (build_ptrmemfunc): Loosen assertion.
PR c++/16338
* g++.dg/init/null1.C: New test.
* g++.dg/tc1/dr76.C: Adjust error marker.
PR c++/16489
* g++.dg/parse/namespace10.C: New test.
PR c++/16810
* g++.dg/inherit/ptrmem2.C: New test.
From-SVN: r85421
2004-08-02 01:58:52 +00:00
Geoffrey Keating
112ccb83bb
rs6000.c (rs6000_split_multireg_move): Just abort if trying to *store* to a non-offsettable address.
...
* config/rs6000/rs6000.c (rs6000_split_multireg_move): Just abort
if trying to *store* to a non-offsettable address.
* config/rs6000/rs6000.md (movtf_internal): Don't move GPRs to
a nonoffsettable address.
(movdi_internal32): Don't move GPRs to a nonoffsettable address.
Clean up.
(movti_string): Don't move GPRs to a nonoffsettable address.
(movti_ppc64): Don't move GPRs to a nonoffsettable address. Clean up.
From-SVN: r85419
2004-08-02 01:46:40 +00:00
Ben Elliston
a4e41fdeec
Patch for PR target/16155.
...
2004-08-02 Ben Elliston <bje@au.ibm.com>
PR target/16155
* config/rs6000/altivec.h: Replace typeof with __typeof__.
[testsuite]
2004-08-02 Ben Elliston <bje@au.ibm.com>
* gcc.dg/pr16155.c: New test.
From-SVN: r85418
2004-08-02 11:05:47 +10:00
GCC Administrator
6a3bc5b1d0
Daily bump.
...
From-SVN: r85416
2004-08-02 00:16:13 +00:00
Roger Sayle
fc2d8429a9
options.c (gfc_init_options): Don't warn about the use GNU extensions by default.
...
* options.c (gfc_init_options): Don't warn about the use GNU
extensions by default.
(gfc_post_options): Warn about GNU extensions with -pedantic.
(gfc_handle_option): Don't warn about GNU extensions with -std=gnu.
From-SVN: r85413
2004-08-01 21:37:21 +00:00
Richard Henderson
dbe4d0704f
expr.c (expand_expr_real_1): Fix crash with variable sized types.
...
* expr.c (expand_expr_real_1) <normal_inner_ref>: Fix crash with
variable sized types.
From-SVN: r85412
2004-08-01 14:12:20 -07:00
Gabriel Dos Reis
ea0ad32920
call.c (z_candidate::template_decl): Rename from template.
...
* call.c (z_candidate::template_decl): Rename from template.
(add_template_candidate_real): Adjust member reference.
(joust): Likewise.
From-SVN: r85411
2004-08-01 18:07:32 +00:00
Roger Sayle
dc6d70957c
decl.c (update_aliases, [...]): Replace calls to build with calls to buildN.
...
* decl.c (update_aliases, initialize_local_variable): Replace calls
to build with calls to buildN.
* java-gimplify.c (java_gimplify_modify_expr): Likewise.
* java-tree.h (BUILD_MONITOR_ENTER, BUILD_MONITOR_EXIT): Likewise.
* parse.h (BUILD_THROW): Likewise.
* parse.y (switch_expression, synchronized_statement,
catch_clause_parameter, array_creation_expression,
conditional_expression, make_qualified_name,
resolve_qualified_expression_name, patch_method_invocation,
patch_invoke, build_method_invocation, build_new_invocation,
build_assignment, patch_assignment, build_binop, patch_binop,
build_string_concatenation, build_incdec, patch_unaryop,
patch_cast, build_array_ref, build_newarray_node, patch_newarray,
patch_return, build_if_else_statement, build_labeled_block,
build_new_loop, build_loop_body, build_bc_statement,
build_assertion, encapsulate_with_try_catch, build_try_statement,
build_try_finally_statement, patch_synchronized_statement,
emit_test_initialization): Likewise, replace build with buildN.
From-SVN: r85410
2004-08-01 18:04:42 +00:00
Roger Sayle
023d776a11
write.c (write_float): Use the slightly more portable isnan in preference to isinf.
...
* io/write.c (write_float): Use the slightly more portable isnan
in preference to isinf.
From-SVN: r85407
2004-08-01 13:40:52 +00:00
Richard Sandiford
12e4afe4e1
invoke.texi: In the MIPS options section...
...
* doc/invoke.texi: In the MIPS options section, remove the passage
saying that -mexplicit-relocs is usually disabled for -mabicalls
-fno-unit-at-a-time.
* config/mips/mips.c (override_options): Remove the code that enforced
this rule.
From-SVN: r85406
2004-08-01 11:36:25 +00:00
Richard Sandiford
b8b044f117
mips.md (cprestore): Provide two alternatives...
...
* config/mips/mips.md (cprestore): Provide two alternatives, one for
an in-range offset and one for an out-of-range offset. Wrap the latter
in .set macro/.set nomacro if it's inside a .set nomacro block.
From-SVN: r85405
2004-08-01 11:30:39 +00:00
Richard Sandiford
b73ce23b1d
mips-protos.h (mips_gp_save_slot): Remove.
...
* config/mips/mips-protos.h (mips_gp_save_slot): Remove.
(mips_restore_gp): Declare.
* config/mips/mips.c (mips_add_offset): Add a scratch register
argument. Reimplement in rtl only, reusing MIPS16 logic from
mips_output_mi_thunk.
(mips_legitimize_address, mips_legitimize_const_move): Adjust calls
to mips_add_offset.
(mips_gp_save_slot): Delete.
(mips_restore_gp): New function.
(mips_set_return_address, mips_output_mi_thunk): Use mips_add_offset.
* config/mips/mips.md (exception_receiver): Turn into a
define_insn_and_split. Use mips_restore_gp to do the split.
(call_internal, call_value_internal, call_value_multiple_internal): Use
mips_restore_gp to restore $gp.
From-SVN: r85404
2004-08-01 11:17:36 +00:00
Andrew John Hughes
b828123e23
Collection.java, [...]: Added additional exceptions to documentation.
...
2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/Collection.java, java/util/List.java,
java/util/Map.java, java/util/Set.java,
java/util/SortedMap.java, java/util/SortedSet.java:
Added additional exceptions to documentation.
From-SVN: r85403
2004-08-01 11:14:42 +00:00
Danny Smith
5b5662eea7
configure.in [...] (SYSTEMSPEC): Remove -lwsock32.
...
* configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
* configure. Regenerate.
* include/win32.h: Explicitly include winsock2.h
* win32.cc (_Jv_platform_initialize): Require version 2.2 of
Winsock api.
From-SVN: r85401
2004-08-01 04:29:31 +00:00
Andrew Pinski
6b3b5f0517
re PR other/16842 (mkheaders can not find mkheaders.conf)
...
2004-07-31 Andrew Pinski <apinski@apple.com>
PR other/16842
* mkheaders.in (libsubdir): s/gcc-lib/gcc/.
From-SVN: r85399
2004-07-31 17:44:43 -07:00
GCC Administrator
c12ebfef94
Daily bump.
...
From-SVN: r85397
2004-08-01 00:16:14 +00:00
Joseph Myers
558d1f815d
c-decl.c (diagnose_mismatched_decls): Give error for external redeclaration of identifier declared with no linkage...
...
* c-decl.c (diagnose_mismatched_decls): Give error for external
redeclaration of identifier declared with no linkage, not just
warning with -Wtraditional. Do not check DECL_CONTEXT to give
error for redeclaration with no linkage.
testsuite:
* gcc.dg/redecl-2.c: New test.
From-SVN: r85386
2004-07-31 18:21:27 +01:00
Paolo Carlini
2347da644d
locale_facets.tcc (num_get<>::_M_extract_float, [...]): In the main parsing loop delay the life of __q to the actual use point.
...
2004-07-30 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
num_get<>::_M_extract_int): In the main parsing loop delay the
life of __q to the actual use point.
From-SVN: r85380
2004-07-31 09:00:09 +00:00
Geoffrey Keating
bdc6aa1b27
Add Fariborz to my last change.
...
From-SVN: r85372
2004-07-31 01:45:16 +00:00
Geoffrey Keating
c1e55850cf
rs6000.c (legitimate_lo_sum_address_p): Permit non-offsettable addresses even for DImode.
...
2004-07-30 Geoffrey Keating <geoffk@apple.com>
* config/rs6000/rs6000.c (legitimate_lo_sum_address_p): Permit
non-offsettable addresses even for DImode.
(rs6000_split_multireg_move): Cope with non-offsettable addresses
being moved into multiple GPRs.
* config/rs6000/rs6000.c (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Default
to 64.
(rs6000_override_options): Use RS6000_DEFAULT_LONG_DOUBLE_SIZE.
* config/rs6000/darwin.h (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Define
to 128.
* config/rs6000/darwin-ldouble.c (isless): New macro.
(inf): New macro.
(nonfinite): New macro.
(FPKINF): Delete.
(_xlqadd): Completely rewrite.
(_xlqmul): Correct overflow handling.
(_xlqdiv): Correct overflow handling.
* config/rs6000/darwin-ldouble-format: New file.
Index: testsuite/ChangeLog
2004-07-30 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/darwin-longdouble.c: New file.
From-SVN: r85371
2004-07-31 01:40:18 +00:00
GCC Administrator
5571d77b5a
Daily bump.
...
From-SVN: r85369
2004-07-31 00:16:14 +00:00
Roger Sayle
cf14e33d62
i386.md: New peephole2's to convert imul by 3, 5 or 9 into the equivalent lea instruction.
...
* config/i386/i386.md: New peephole2's to convert imul by 3, 5 or
9 into the equivalent lea instruction.
Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r85366
2004-07-31 00:03:38 +00:00
Richard Henderson
0534fa5652
gimplify.c (gimplify_expr): Don't replace with DECL_INITIAL if fb_lvalue.
...
* gimplify.c (gimplify_expr) <case CONST_DECL>: Don't replace
with DECL_INITIAL if fb_lvalue.
* tree-gimple.c (is_gimple_id): Add CONST_DECL.
* tree-pretty-print.c (dump_decl_name): Dump unnamed CONST_DECL
with <Cxxx>.
* tree-ssa-ccp.c (maybe_fold_stmt_indirect): Fold CONST_DECL.
fortran/
* trans-expr.c (gfc_conv_expr_reference): Create a CONST_DECL
for TREE_CONSTANTs.
testsuite/
* gfortran.fortran-torture/execute/intrinsic_rrspacing.f90: Fix
write to constant argument.
* gfortran.fortran-torture/execute/intrinsic_scale.f90: Likewise.
From-SVN: r85365
2004-07-30 15:55:30 -07:00
Richard Henderson
782700d4f2
intrinsic_nearest.f90: Disable tests of nearest around zero.
...
* gfortran.fortran-torture/execute/intrinsic_nearest.f90: Disable
tests of nearest around zero.
From-SVN: r85361
2004-07-30 15:31:20 -07:00
Andrew Pinski
d60bebdd50
20040730-1.c: New test.
...
2004-07-30 Andrew Pinski <apinski@apple.com>
* gcc.c-torture/compile/20040730-1.c: New test.
From-SVN: r85360
2004-07-30 15:01:59 -07:00
Diego Novillo
92965c565b
tree-ssa-alias.c (compute_points_to_and_addr_escape): If a pointer escapes through a function call...
...
* tree-ssa-alias.c (compute_points_to_and_addr_escape): If a
pointer escapes through a function call, assume that the
callee will dereference it.
(add_pointed_to_var): Assume that VALUE is always an
ADDR_EXPR.
(collect_points_to_info_r): Only call add_pointed_to_var if
the value is an ADDR_EXPR.
From-SVN: r85353
2004-07-30 15:40:30 -04:00
Aldy Hernandez
9497a3a471
vmx.exp: Explain why we skip tests for powerpc-eabispe.
...
* gcc.dg/vmx/vmx.exp: Explain why we skip tests for
powerpc-eabispe.
From-SVN: r85346
2004-07-30 18:37:03 +00:00
Michael Koch
f370ef24f4
2004-07-30 Michael Koch <konqueror@gmx.de>
...
* java/util/zip/GZIPInputStream.java
(GZIPInputStream): Increase buffer size to 4k.
* java/util/zip/GZIPOutputStream.java
(GZIPOutputStream): Likewise.
* java/util/zip/Inflater.java
(setInput): Merged formating with GNU classpath.
* java/util/zip/InflaterInputStream.java
(InflaterInputStream): Increase buffer size to 4k.
(fill): Throw exception if stream ends early.
(read): Merged endless-loop with GNU classpath.
(skip): Increase buffer size to 2k.
From-SVN: r85340
2004-07-30 17:00:34 +00:00
Diego Novillo
fbc8762793
tree-ssa-alias.c (create_alias_map_for): Do not get the alias set of the inner type of ARRAY_TYPEs.
...
* tree-ssa-alias.c (create_alias_map_for): Do not get the
alias set of the inner type of ARRAY_TYPEs.
From-SVN: r85338
2004-07-30 10:59:46 -04:00
Michael Koch
2afed683ea
2004-07-30 Michael Koch <konqueror@gmx.de>
...
* gnu/java/awt/EmbeddedWindow.java
(addNotify): Use AccessController to allow execution of privileged
code.
From-SVN: r85337
2004-07-30 14:50:50 +00:00
Aldy Hernandez
0a925a32e2
* gcc.dg/vmx/vmx.exp: Disable tests for eabispe.
...
From-SVN: r85331
2004-07-30 13:51:12 +00:00
Richard Sandiford
3a15f566e9
g++.exp (g++_link_flags): Check whether LD_LIBRARY_PATH already contains $ld_library_path.
...
* lib/g++.exp (g++_link_flags): Check whether LD_LIBRARY_PATH already
contains $ld_library_path.
* lib/gfortran.exp (gfortran_link_flags): Likewise.
From-SVN: r85329
2004-07-30 10:34:12 +00:00
GCC Administrator
e109f49acc
Daily bump.
...
From-SVN: r85321
2004-07-30 00:16:56 +00:00
Diego Novillo
4fa204dac6
tree-ssa-ccp.c (visit_assignment): Move code to prevent setting a non-register to UNDEFINED right before the call...
...
* tree-ssa-ccp.c (visit_assignment): Move code to prevent
setting a non-register to UNDEFINED right before the call to
set_lattice_value.
From-SVN: r85318
2004-07-29 20:16:17 -04:00
Kaz Kojima
aac864b08d
* config/sh/lib1funcs.asm: Make aliases movstr* for movmem*.
...
From-SVN: r85316
2004-07-29 22:27:43 +00:00
Paolo Carlini
7c9b102ede
re PR libstdc++/14220 ([3.5] num_put::do_put() undesired float/double behavior)
...
2004-07-29 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/14220
* include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
Don't clip the precision passed down to __convert_from_v:
22.2.2.2.2 nowhere says so.
* testsuite/22_locale/num_put/put/char/14220.cc: New.
* testsuite/22_locale/num_put/put/wchar_t/14220.c: Likewise.
From-SVN: r85315
2004-07-29 22:11:04 +00:00
Diego Novillo
118a8d02ca
tree-ssa.c (verify_flow_sensitive_alias_info): When comparing points-to sets of different pointers...
...
* tree-ssa.c (verify_flow_sensitive_alias_info): When
comparing points-to sets of different pointers, make sure the
second pointer is actually referenced in the code.
From-SVN: r85314
2004-07-29 16:16:26 -04:00
Richard Henderson
4b9a3b371b
stmtexpr2.C (alt1): Rename from expected.
...
* g++.dg/ext/stmtexpr2.C (alt1): Rename from expected.
(alt2, which): New.
(Check): Accept either alternative.
From-SVN: r85313
2004-07-29 11:35:54 -07:00
Richard Henderson
b3b7f0c9df
* g++.dg/template/sizeof8.C: Don't assume 32bit pointers.
...
From-SVN: r85312
2004-07-29 11:32:08 -07:00
Zack Weinberg
13b52b9060
ia64.c (setjmp_operand): Delete, unused.
...
* config/ia64/ia64.c (setjmp_operand): Delete, unused.
(got_symbolic_operand): Remove unreachable code.
* config/ia64/ia64.h (PREDICATE_CODES): Remove entry for
setjmp_operand; add entry for tls_symbolic_operand.
* config/ia64/ia64-protos.h: Remove all prototypes of
predicate functions.
From-SVN: r85311
2004-07-29 18:30:27 +00:00
Paolo Carlini
f70f3f7e9f
lwg-active.html, [...]: Import Revision 31.
...
2004-07-29 Paolo Carlini <pcarlini@suse.de>
* docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 31.
From-SVN: r85310
2004-07-29 18:04:42 +00:00