Paolo Carlini
8180951683
boost_shared_ptr.h: Trivial formatting fixes.
...
2005-11-09 Paolo Carlini <pcarlini@suse.de>
* include/tr1/boost_shared_ptr.h: Trivial formatting fixes.
From-SVN: r106689
2005-11-09 11:47:30 +00:00
Andreas Krebbel
fb3712f61f
s390.c (struct s390_frame_layout): New fields first_save_gpr_slot and last_save_gpr_slot.
...
2005-11-09 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.c (struct s390_frame_layout): New fields
first_save_gpr_slot and last_save_gpr_slot.
(cfun_grps_save_area_size, s390_frame_info, s390_emit_prologue,
s390_emit_epilogue, s390_initial_elimination_offset): Replaced
first_save_gpr and last_save_gpr with the _slot variants.
(s390_register_info): Calculate first_save_gpr_slot and
last_save_gpr_slot using regs_ever_live.
* testsuite/gcc.dg/pr24624.c: Testcase added.
From-SVN: r106688
2005-11-09 11:45:01 +00:00
Andreas Krebbel
297a777d47
s390.c (s390_regs_ever_clobbered): Only save live eh regs for a function containing a landing pad.
...
2005-11-09 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.c (s390_regs_ever_clobbered): Only save live eh regs
for a function containing a landing pad.
* testsuite/g++.dg/other/pr24623.C: Testcase added.
From-SVN: r106687
2005-11-09 11:42:38 +00:00
Andreas Krebbel
7221b4a18c
flow.c (mark_set_1): Handle CLOBBERs like SETs if the register is live afterwards.
...
2005-11-09 Andreas Krebbel <krebbel1@de.ibm.com>
* flow.c (mark_set_1): Handle CLOBBERs like SETs if the register
is live afterwards.
From-SVN: r106686
2005-11-09 11:34:56 +00:00
Bernd Schmidt
f98ae2abfb
t-bfin-elf (MULTILIB_OPTIONS, [...]): New.
...
* config/bfin/t-bfin-elf (MULTILIB_OPTIONS, MULTILIB_DEFAULTS,
MULTILIB_DIRNAMES, MULTILIB_EXCEPTIONS): New.
From-SVN: r106684
2005-11-09 11:28:07 +00:00
Erik Edelmann
a01db3bf1a
re PR fortran/22607 (Elemental character functions don't work)
...
fortran/
2005-11-09 Erik Edelmann <eedelman@gcc.gnu.org>
PR fortran/22607
* trans-decl.c(build_function_decl): Don't set
DECL_IS_PURE (fndecl) = 1 for return-by-reference
functions.
testsuite/
2005-11-09 Erik Edelmann <eedelman@gcc.gnu.org>
PR fortran/22607
* gfortran-dg/pure_byref_1.f90: New.
* gfortran-dg/pure_byref_2.f90: New.
From-SVN: r106683
2005-11-09 11:27:56 +00:00
Nathan Sidwell
1508cc4663
Add ms2 support
...
Add ms2 support
* config/ms1/ms1.md (UNSPEC_BLOCKAGE, UNSPEC_EI, UNSPEC_DI): New
constants.
(call,load,store): New insn types.
(mem_access, branch_access): Adjust reservation conditions.
(define_delay): Adjust condition.
(decrement_and_branch_until_zero): Allow for ms2. Set branch
type.
(*decrement_and_rbanch_until_zero_no_clobber): Allow for ms2.
(*movqi_internal,*movsi_internal,*movsf_internal): Use load,store
insn type.
(call_internal, call_value_internal, return_internal,
return_interrupt_internal, eh_return_internal, indirect_jump,
tablejump): Set call insn type.
(blockage, ei, di): Use appropriate unspec const.
* config/ms1/ms1.c (ms1_flag_delayed_branch): New.
(ms1_get_attr_type): Adjust to give load & store types.
(ms1_final_prescan_insn): Adjust for new insn types. Don't look
backwards past a barrier.
(ms1_override_options): Accept ms2 arch. Copy and reset delayed
branch scheduling.
(struct branch_info, struct label_info): New.
(ms1_labels): New.
(ms1_add_branches, ms1_check_delay_slot, ms1_reorg_hazard): New.
(ms1_machine_reorg): New.
(TARGET_MACHINE_DEPENDENT_REORG): Override.
* config/ms1/crtn.asm: Add nop for ms2 JAL hazard.
* config/ms1/ms1.h (processor_type): Add PROCESSOR_MS2.
(ASM_SPEC, LIB_SPEC, STARTFILE_SPEC, ENDFILE_SPEC): Add ms2.
(TARGET_MS2): New.
From-SVN: r106680
2005-11-09 09:34:21 +00:00
Uros Bizjak
456b8ce5db
re PR c/24101 (Segfault with preprocessed source)
...
libcpp/
PR c/24101
* init.c (read_original_filename): Temporarily set
state.in_directive before calling _cpp_lex_direct for
CPP_HASH tokens.
gcc/
PR c/24101
* toplev.c (process_options): Initialize debug_hooks early
in case lang_hooks.post_options ends up calling a debug_hook.
gcc/testsuite/
PR c/24101
* gcc.dg/pr24101-1.i, gcc.dg/pr24101-2.i: New tests.
* gcc.dg/dg.exp: Run main loop also for *.i files.
From-SVN: r106677
2005-11-09 07:30:03 +01:00
GCC Administrator
85e77c2176
Daily bump.
...
From-SVN: r106670
2005-11-09 00:17:22 +00:00
Benjamin Kosnik
797308b2d1
libstdc++.exp (check_v3_target_debug_mode): Use exe as the executable extension.
...
2005-11-08 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): Use
exe as the executable extension.
* acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Change gnu defaults to
new.
(GLIBCXX_ENABLE_PCH): Adjust message order.
* configure: Regenerate.
* scripts/testsuite_flags.in (query): Correct print_usagex typo.
* include/bits/functexcept.h: Remove argument names.
* src/mt_allocator.cc: Adjust comment.
From-SVN: r106665
2005-11-08 23:07:02 +00:00
Eric Botcazou
13bb031a24
init.c: Use the Linux-specific section for the IA-64/Linux target.
...
* init.c: Use the Linux-specific section for the IA-64/Linux target.
(__gnat_adjust_context_for_raise): Add conditional code so that the
IA-64 is also supported.
From-SVN: r106664
2005-11-08 23:00:40 +00:00
Tom Tromey
246b053811
re PR libgcj/24587 (libgcj should set gnu.classpath.version system property)
...
PR libgcj/24587:
* gnu/classpath/SystemProperties.java: Set gnu.classpath.version.
From-SVN: r106659
2005-11-08 21:58:43 +00:00
Jakub Jelinek
f9918968b1
dwarf2out.c (multiple_reg_loc_descriptor): Don't assume DBX_REGISTER_NUMBER being contiguous.
...
* dwarf2out.c (multiple_reg_loc_descriptor): Don't assume
DBX_REGISTER_NUMBER being contiguous.
From-SVN: r106658
2005-11-08 22:47:09 +01:00
Jakub Jelinek
31a7923695
re PR c++/19450 (__thread static class members)
...
PR c++/19450
* decl.c (redeclaration_error_message): Issue diagnostics about
olddecl and newdecl disagreement on __thread property.
(grokdeclarator): Set DECL_TLS_MODEL on class static variables.
* g++.dg/tls/diag-3.C: New test.
* g++.dg/tls/diag-4.C: New test.
* g++.dg/tls/static-1.C: New test.
* g++.dg/tls/static-1a.cc: New file.
From-SVN: r106657
2005-11-08 22:44:58 +01:00
Diego Novillo
da11c5d226
re PR c++/23046 (ICE in set_value_range, at tree-vrp.c:191)
...
2005-11-08 James A. Morrison <phython@gcc.gnu.org>
Diego Novillo <dnovillo@redhat.com>
PR 23046
* tree-vrp.c (register_edge_assert_for): Do not register
always-false predicates.
testsuite/
PR 23046
* g++.dg/tree-ssa/pr23046.C: New test.
From-SVN: r106656
2005-11-08 16:09:51 -05:00
Tom Tromey
230d8ead8c
PR libgcj/23763. From aeby@graeff.com.
...
* java/lang/natPosixProcess.cc (nativeSpawn): Unblock SIGCHLD
before exec.
From-SVN: r106655
2005-11-08 21:00:15 +00:00
Devang Patel
90b11b9814
re PR tree-optimization/23115 (-ftree-vectorize generates wrong code)
...
PR tree-optimization/23115
* tree-if-conv.c (find_phi_replacement_condition): Check domninated_by
relation.
* gcc.dg/tree-ssa/pr23115.c: New.
From-SVN: r106653
2005-11-08 12:21:15 -08:00
Tobias Schlüter
30c0559542
dump-parse-tree.c: Fix comment typo, add a few blank lines.
...
* dump-parse-tree.c: Fix comment typo, add a few blank lines.
Also, reformat previous ChangeLog entry.
From-SVN: r106652
2005-11-08 21:01:50 +01:00
Wil Mahan
1c57e8763b
re PR java/23617 (Out of memory when classpath contains jar file with zip-style comment)
...
2005-11-08 Wil Mahan <wmahan@gmail.com>
PR java/23617
* zextract.c (read_zip_archive): Fix out of memory error when
reading jar files with zip-style comments.
From-SVN: r106648
2005-11-08 19:10:39 +00:00
Joseph Myers
a8bfea9ca9
t-fprules (MULTILIB_MATCHES_FLOAT): Include -mcpu=440.
...
* config/rs6000/t-fprules (MULTILIB_MATCHES_FLOAT): Include
-mcpu=440.
From-SVN: r106646
2005-11-08 18:01:02 +00:00
Daniel Berlin
973162ec9d
re PR tree-optimization/23382 (Does not remove the old HEAP virtual variables in clobbered)
...
2005-11-08 Daniel Berlin <dberlin@dberlin.org>
Fix PR tree-optimization/23382
* tree-ssa-alias.c (compute_may_aliases): Call
delete_old_heap_vars.
* tree-dfa.c (referenced_var_remove): New function.
* tree-ssa.c (delete_tree_ssa): Call delete_old_heap_vars.
* tree-flow.h (referenced_var_remove): Add prototype.
(delete_old_heap_vars): Ditto.
* tree-ssa-structalias.c (heapvars): New variable.
(oldheapvars): Ditto.
(get_constraint_for): Put heap vars on heapvars list.
(delete_old_heap_vars): New function.
From-SVN: r106643
2005-11-08 16:34:48 +00:00
David Edelsohn
e5f5163854
altivec-{1-13}.C: XFAIL on AIX and SPE.
...
* g++.dg/ext/altivec-{1-13}.C: XFAIL on AIX and SPE.
* gcc.target/powerpc/pr16155.c: Same.
* gcc.target/powerpc/altivec-1.c: Same.
* gcc.target/powerpc/altivec-2.c: Same.
* gcc.target/powerpc/altivec-3.c: Same.
* gcc.target/powerpc/altivec-5.c: Same.
* gcc.target/powerpc/altivec-11.c: Same.
* gcc.target/powerpc/altivec-12.c: Same.
* gcc.target/powerpc/altivec-14.c: Same.
* gcc.target/powerpc/altivec-22.c: Same.
* gcc.target/powerpc/altivec-consts.c: Same.
* gcc.target/powerpc/altivec-pr22085.c: Same.
* gcc.target/powerpc/altivec-splat.c: Same.
* gcc.target/powerpc/altivec-varargs-1.c: Same.
* gcc.target/powerpc/altivec-vec-merge.c: Same.
* gcc.target/powerpc/darwin-longlong.c: Same.
From-SVN: r106638
2005-11-08 11:05:15 -05:00
Mark Wielaard
1578900592
* scripts/makemake.tcl: Set package gnu/javax/sound/midi to bc.
...
From-SVN: r106636
2005-11-08 14:56:42 +00:00
Jason Merrill
831d8bd741
re PR c++/21123 (ICE in cp_expr_size, at cp/cp-objcp-common.c:101)
...
PR c++/21123
* cp/method.c (use_thunk): Use build_cplus_new instead of
force_target_expr.
* tree.h (CALL_FROM_THUNK_P): Add CALL_EXPR_CHECK.
From-SVN: r106634
2005-11-08 03:32:26 -05:00
Uros Bizjak
dfea1f6121
re PR target/19340 (Compilation SEGFAULTs with -O1 -fschedule-insns2 -fsched2-use-traces on an x86 architecture.)
...
PR target/19340
* reg-stack.c (reg_to_stack): Update register liveness also
for flag_sched2_use_traces.
testsuite/
PR target/19340
* gcc.dg/pr19340.c: New test.
From-SVN: r106632
2005-11-08 07:21:51 +01:00
Alan Modra
2c9c9afdba
re PR target/23704 (gcc.dg/rs6000-fpint.c fails)
...
PR target/23704
* config/rs6000/rs6000.c (rs6000_handle_option <OPT_m64>): Don't
override prior explicit -mno-powerpc-gfxopt.
From-SVN: r106631
2005-11-08 13:38:43 +10:30
Terry Laurenzo
e263bc9311
Removed decompilation for non-ELF targets.
...
From-SVN: r106628
2005-11-08 00:21:21 +00:00
GCC Administrator
9ed5f107bb
Daily bump.
...
From-SVN: r106625
2005-11-08 00:17:01 +00:00
Terry Laurenzo
ddb1cbea19
Added Terry Laurenzo
...
From-SVN: r106620
2005-11-08 00:13:58 +00:00
David Daney
d8aa672350
mauve-libgcj: Disable javax.rmi.* and java.io.InputStreamReader.getEncoding.
...
* mauve-libgcj: Disable javax.rmi.* and
java.io.InputStreamReader.getEncoding.
From-SVN: r106614
2005-11-07 21:31:50 +00:00
Steven G. Kargl
7accf123b2
* Update ChangeLog with the missing entry from my previous commit.
...
From-SVN: r106611
2005-11-07 20:44:38 +00:00
Eric Botcazou
3ab997e838
expmed.c (extract_bit_field): Do not use insv/extv/extzv patterns if the bitsize is zero.
...
* expmed.c (extract_bit_field): Do not use insv/extv/extzv patterns
if the bitsize is zero.
* doc/md.texi (Standard Pattern Names): Document it.
* config/ia64/ia64.c (ia64_pass_by_reference): Delete.
(TARGET_PASS_BY_REFERENCE): Likewise.
From-SVN: r106605
2005-11-07 19:14:02 +00:00
Ian Lance Taylor
a7297856af
re PR rtl-optimization/24683 (ICE in in extract_insn, at recog.c:2084)
...
./: PR rtl-optimization/24683
* config/i386/i386.c (legitimize_pic_address): If constant operand
to PLUS is too large, put it in a register.
testsuite/:
PR rtl-optimization/24683
* gcc.dg/pr24683.c: New test.
From-SVN: r106601
2005-11-07 18:52:24 +00:00
Jie Zhang
6afdc7412b
configure.ac: Enable checking assembler dwarf2 support for bfin target.
...
* configure.ac: Enable checking assembler dwarf2 support for bfin
target.
* configure: Regenerate.
From-SVN: r106598
2005-11-07 17:06:58 +00:00
Jie Zhang
04b2be4f31
configure.ac: Enable checking assembler dwarf2 support for bfin target.
...
* configure.ac: Enable checking assembler dwarf2 support for bfin
target.
* configure: Regenerate.
From-SVN: r106597
2005-11-07 17:03:16 +00:00
Steven G. Kargl
b3ae6c0f6b
error.c: Use flag_fatal_error.
...
*error.c: Use flag_fatal_error.
*invoke.texi: Remove -Werror from list of options.
From-SVN: r106595
2005-11-07 16:37:10 +00:00
Uros Bizjak
689a90a140
pr24225.c: Add cleanup-coverage-files.
...
* gcc.dg/vect/pr24225.c: Add cleanup-coverage-files.
* gcc.dg/vect/pr24300.c: Add cleanup-tree-dump.
From-SVN: r106592
2005-11-07 15:37:45 +01:00
Uros Bizjak
984774d775
pr23376: Compile with -mmmx.
...
* gcc.target/i386/pr23376: Compile with -mmmx.
From-SVN: r106591
2005-11-07 15:22:07 +01:00
Ulrich Weigand
f209747095
* g++.dg/abi/empty6.C (B): Align to twice pointer size.
...
From-SVN: r106589
2005-11-07 11:56:03 +00:00
Paolo Bonzini
66180ff3fe
re PR target/24230 (ICE in extract_insn with altivec)
...
2005-11-07 Paolo Bonzini <bonzini@gnu.org>
PR target/24230
* config/rs6000/rs6000.c (easy_vector_splat_const, easy_vector_same,
gen_easy_vector_constant_add_self): Delete.
(vspltis_constant, easy_altivec_constant, gen_easy_altivec_constant):
New.
(output_vec_const_move): Use gen_easy_altivec_constant.
(rs6000_expand_vector_init): Do not emit a set of a VEC_DUPLICATE.
* config/rs6000/predicates.md (easy_vector_constant): Reorganize tests.
(easy_vector_constant_add_self): Rewritten.
* config/rs6000/rs6000-protos.h (easy_vector_splat_const,
easy_vector_same, gen_easy_vector_constant_add_self): Remove prototype.
(easy_altivec_constant, gen_easy_altivec_constant): Add prototype.
testsuite:
2005-11-07 Paolo Bonzini <bonzini@gnu.org>
PR target/24230
* gcc.target/powerpc/altivec-consts.c,
gcc.target/powerpc/altivec-splat.c: New testcase.
From-SVN: r106588
2005-11-07 10:39:36 +00:00
Paolo Bonzini
d8e1f97b7e
c-typeck.c (build_c_cast): Try using a shared constant...
...
2005-11-07 Paolo Bonzini <bonzini@gnu.org>
* c-typeck.c (build_c_cast): Try using a shared constant, and see
if TREE_OVERFLOW or TREE_CONSTANT_OVERFLOW really changed.
testsuite:
2005-11-07 Paolo Bonzini <bonzini@gnu.org>
* gcc.dg/overflow-2.c: New testcase.
From-SVN: r106587
2005-11-07 10:34:13 +00:00
Jakub Jelinek
ab900bfa4d
re PR rtl-optimization/23567 (if-conversion causes wrong code)
...
PR rtl-optimization/23567
* ifcvt.c (noce_mem_write_may_trap_or_fault_p): New function.
(noce_process_if_block): Don't do any optimizations except
if (cond) x = x; if !set_b and write into orig_x may trap
or fault. Remove the MEM_READONLY_P check.
* gcc.c-torture/execute/20051104-1.c: New test.
From-SVN: r106585
2005-11-07 09:01:54 +01:00
Richard Guenther
73a08f8717
splay-tree.c (rotate_left): New function.
...
2005-11-07 Richard Guenther <rguenther@suse.de>
* splay-tree.c (rotate_left): New function.
(rotate_right): Likewise.
(splay_tree_splay_helper): Remove.
(splay_tree_splay): Re-implement.
From-SVN: r106584
2005-11-07 07:45:35 +00:00
James A. Morrison
fd159af7b3
Fix PR number.
...
From-SVN: r106583
2005-11-07 06:58:08 +00:00
James A. Morrison
7d4a2fb0d4
re PR ada/21952 (Annoying "attribute directive ignored" warnings)
...
2005-11-07 James A. Morrison <phython@gcc.gnu.org>
PR treelang/21952
* treetree.c (LANG_HOOKS_ATTRIBUTE_TABLE): Set to
treelang_attribute_table.
(handle_attribute): New function.
(treelang_attribute_table): New attribute table.
From-SVN: r106582
2005-11-07 06:54:52 +00:00
Jason Merrill
96c993a890
re PR c++/17256 (undefined but used static or inline functions should be diagnosed)
...
PR c++/17256
* decl2.c (cp_finish_file): Fix conditions for undefined warning.
Set TREE_NO_WARNING instead of TREE_PUBLIC.
* pt.c (instantiate_pending_templates): Set DECL_INITIAL to avoid
a warning on a function we didn't instantiate because of excessive
recursion.
Co-Authored-By: James A. Morrison <phython@gcc.gnu.org>
From-SVN: r106581
2005-11-07 01:17:47 -05:00
Mark Mitchell
c0572427ed
class.c (record_subobject_offsets): Don't record offsets past biggest empty class for non-empty base classes.
...
* class.c (record_subobject_offsets): Don't record offsets past
biggest empty class for non-empty base classes.
(layout_class_type): Use TYPE_SIZE_UNIT, not TYPE_SIZE, when
keeping track of the size of emptyclasses.
From-SVN: r106580
2005-11-07 03:47:34 +00:00
GCC Administrator
405a3684f5
Daily bump.
...
From-SVN: r106577
2005-11-07 00:17:30 +00:00
Janne Blomqvist
9c5141abf2
MAINTAINERS (Write After Approval): Add myself.
...
2005-11-06 Janne Blomqvist <jb@gcc.gnu.org>
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r106569
2005-11-06 22:31:45 +02:00
Tobias Schlüter
e52971132c
Reset svn:executable property for those testcases that had it set.
...
From-SVN: r106568
2005-11-06 21:21:28 +01:00