Jakub Jelinek
4b8ae4dbb7
trans-decl.c (gfc_get_fake_result_decl): Re-add setting of GFC_DECL_RESULT flag.
...
* trans-decl.c (gfc_get_fake_result_decl): Re-add setting of
GFC_DECL_RESULT flag.
From-SVN: r112025
2006-03-13 22:39:35 +01:00
Jakub Jelinek
5b4fc8fb03
re PR middle-end/25989 (gomp ICE with -O2 and schedule(guided))
...
PR middle-end/25989
* omp-low.c (expand_omp_for_generic): Mark istart0
and iend0 as addressable.
* gcc.dg/gomp/pr25989.c: New test.
From-SVN: r112023
2006-03-13 20:36:19 +01:00
Jim Blandy
7d898fa2ca
pex-common.h (struct pex_obj): Doc fixes.
...
2006-03-12 Jim Blandy <jimb@red-bean.com>
* pex-common.h (struct pex_obj): Doc fixes.
From-SVN: r112022
2006-03-13 19:17:46 +00:00
Jim Blandy
ddbbee51ec
functions.texi: Regenerate.
...
2006-03-11 Jim Blandy <jimb@red-bean.com>
* functions.texi: Regenerate.
From-SVN: r112021
2006-03-13 19:15:28 +00:00
Jim Blandy
bed314347e
MAINTAINERS: Update my E-mail address.
...
2006-03-13 Jim Blandy <jimb@red-bean.com>
* MAINTAINERS: Update my E-mail address.
From-SVN: r112020
2006-03-13 19:13:19 +00:00
Paolo Carlini
c4d448b2fb
postypes.h (fpos<>::operator==, operator!=): Remove, exploit conversion to streamoff.
...
2006-03-13 Paolo Carlini <pcarlini@suse.de>
* include/bits/postypes.h (fpos<>::operator==, operator!=): Remove,
exploit conversion to streamoff.
* testsuite/27_io/fpos/mbstate_t/5.cc: New.
From-SVN: r112018
2006-03-13 18:23:26 +00:00
Jie Zhang
792e526bbd
* config/bfin/uclinux.h: Define _GNU_SOURCE in CPLUSPLUS_CPP_SPEC.
...
From-SVN: r112016
2006-03-13 18:04:01 +00:00
Jeff Law
2bbec6d92d
tree-vrp.c (stmt_interesting_for_vrp): Some statements with virtual operands are interesting.
...
* tree-vrp.c (stmt_interesting_for_vrp): Some statements with
virtual operands are interesting.
(vrp_visit_stmt): Corresponding changes.
* gcc.dg/tree-ssa/20030807-2.c: No longer expected to fail.
From-SVN: r112011
2006-03-13 09:32:34 -07:00
Bernd Schmidt
96c30d2afc
bfin.md (call_value_symbol, [...]): Disallow if TARGET_ID_SHARED_LIBRARY, not if flag_pic.
...
* config/bfin/bfin.md (call_value_symbol, sibcall_value_symbol,
call_symbol, sibcall_symbol): Disallow if TARGET_ID_SHARED_LIBRARY,
not if flag_pic.
Lose 'G' modifier for call operand.
* config/bfin/bfin.c (print_operand) <case SYMBOL_REF>: Don't
recognize 'G' modifier.
From-SVN: r112010
2006-03-13 16:30:40 +00:00
Bernd Schmidt
4af990cdc1
bfin.h (TARGET_CPU_CPP_BUILTINS): If TARGET_ID_SHARED_LIBRARY, define __ID_SHARED_LIB__.
...
* config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): If
TARGET_ID_SHARED_LIBRARY, define __ID_SHARED_LIB__.
* config/bfin/crti.S: Use it instead of __PIC__.
* config/bfin/crtn.S: Likewise.
From-SVN: r112006
2006-03-13 16:08:47 +00:00
Bernd Schmidt
a94aa2725e
lib1funcs.asm (___umodsi3): Use stack to save contents of RETS.
...
* config/bfin/lib1funcs.asm (___umodsi3): Use stack to save contents
of RETS.
From-SVN: r112003
2006-03-13 14:54:41 +00:00
Eric Botcazou
3feaea007d
re PR middle-end/18859 (ACATS ICE c37305a at -O0: in tree_low_cst, at tree.c:3839)
...
PR middle-end/18859
* gimplify.c (gimplify_switch_expr): Discard empty ranges.
* stmt.c (expand_case): Likewise.
From-SVN: r112000
2006-03-13 14:18:24 +00:00
Zdenek Dvorak
ba9462095c
re PR rtl-optimization/26254 (FAIL: gcc.c-torture/compile/20011109-1.c,-O1)
...
PR rtl-optimization/26254
* loop-invariant.c (seq_insns_valid_p): New function.
(move_invariant_reg): Only emit new code if it is valid.
From-SVN: r111998
2006-03-13 12:28:09 +00:00
Zdenek Dvorak
96e82e0a8a
cfgrtl.c (last_loop_beg_note, [...]): Removed.
...
* cfgrtl.c (last_loop_beg_note, back_edge_of_syntactic_loop_p):
Removed.
(force_nonfallthru_and_redirect): Do not use last_loop_beg_note.
(rtl_split_edge): Do not use back_edge_of_syntactic_loop_p.
(commit_one_edge_insertion): Do not look for loop notes.
From-SVN: r111997
2006-03-13 12:20:26 +00:00
Zdenek Dvorak
50af63845b
jump.c (follow_jumps): Do not check for loop notes.
...
* jump.c (follow_jumps): Do not check for loop notes. Move check for
flag_test_coverage out of loop.
From-SVN: r111996
2006-03-13 12:16:40 +00:00
Zdenek Dvorak
8083853174
final.c (shorten_branches): Remove outdated comment, and turn the if branch that guards it to continue.
...
* final.c (shorten_branches): Remove outdated comment, and turn
the if branch that guards it to continue.
From-SVN: r111995
2006-03-13 12:08:38 +00:00
Zdenek Dvorak
7490e6c410
cfgloop.c (flow_loop_dump): Do not dump loop->invalid field.
...
* cfgloop.c (flow_loop_dump): Do not dump loop->invalid field.
* cfgloop.h (struct loop): Remove unused fields.
From-SVN: r111994
2006-03-13 12:05:03 +00:00
Kazu Hirata
c607590900
* doc/invoke.texi: Update dump file names.
...
From-SVN: r111993
2006-03-13 09:22:13 +00:00
Kazu Hirata
5abcfa7e79
invoke.texi (-fdump-rtl-loop): Remove.
...
* doc/invoke.texi (-fdump-rtl-loop): Remove.
(-dL, -fdump-rtl-loop2): Update the dump file names
From-SVN: r111991
2006-03-13 09:03:03 +00:00
Richard Biener
0394ea7311
re PR middle-end/26630 (Incorrect result when subtracting, casting to short and back to int, adding and multiplying)
...
2006-03-13 Richard Guenther <rguenther@suse.de>
PR middle-end/26630
* gcc.dg/torture/pr26630.c: New testcase.
From-SVN: r111990
2006-03-13 09:02:40 +00:00
GCC Administrator
76659655d6
Daily bump.
...
From-SVN: r111988
2006-03-13 00:17:04 +00:00
Joseph Myers
8a420cfb9c
be.po, [...]: Update.
...
* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
rw.po, sv.po, tr.po, vi.po, zh_CN.po: Update.
* zh_TW.po: New file.
From-SVN: r111982
2006-03-13 00:13:59 +00:00
Joseph Myers
9be692c5e8
be.po, [...]: Update.
...
* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
rw.po, sv.po, tr.po, zh_CN.po: Update.
From-SVN: r111981
2006-03-13 00:13:22 +00:00
Steven Bosscher
3d47ea88f3
predict.c (estimate_probability): Remove.
...
* predict.c (estimate_probability): Remove.
* profile.c (rest_of_handle_branch_prob, pass_branch_prob): Remove.
* basic-block.h (estimate_probability): Remove prototype.
* passes.c (finish_optimization_passes): Dump branch prediction or
profiling heuristics to the .profile tree dump.
(init_optimization_passes): Unqueue pass_branch_prob.
* doc/invoke.texi (-fdump-rtl-bp): Remove.
From-SVN: r111980
2006-03-12 22:58:22 +00:00
Howard Hinnant
189cd5056d
10097.cc: Fix race condition.
...
2006-03-12 Howard Hinnant <hhinnant@apple.com>
* testsuite/27_io/basic_filebuf/underflow/char/10097.cc:
Fix race condition.
* testsuite/27_io/objects/char/9661-1.cc: Likewise.
* testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
From-SVN: r111978
2006-03-12 10:34:36 +00:00
GCC Administrator
163659ade1
Daily bump.
...
From-SVN: r111975
2006-03-12 00:17:02 +00:00
Roger Sayle
37ad72f254
dependency.c (gfc_dep_compare_expr): Allow unary and binary operators to compare equal if their operands are equal.
...
* dependency.c (gfc_dep_compare_expr) <EXPR_OP>: Allow unary and
binary operators to compare equal if their operands are equal.
<EXPR_FUNCTION>: Allow "constant" intrinsic conversion functions
to compare equal, if their operands are equal.
* gfortran.dg/dependency_10.f90: New test case.
* gfortran.dg/dependency_11.f90: Likewise.
From-SVN: r111970
2006-03-11 22:25:58 +00:00
Steven Bosscher
fc6c490eea
rtl.def (LABEL_REF): Remove the field for LABEL_NEXTREF.
...
* rtl.def (LABEL_REF): Remove the field for LABEL_NEXTREF.
* rtl.h (LABEL_NEXTREF): Remove field accessor.
From-SVN: r111969
2006-03-11 22:14:35 +00:00
Gabriel Dos Reis
920d7bf632
crontab: Don't build snapshot for 3.4.x anymore.
...
* crontab: Don't build snapshot for 3.4.x anymore.
* update_version_svn (IGNORE_BRANCHES): Add 3_4-branch.
From-SVN: r111968
2006-03-11 19:29:41 +00:00
Eric Botcazou
9fb798d76c
function.h (frame_offset_overflow): Declare.
...
* function.h (frame_offset_overflow): Declare.
* function.c (frame_offset_overflow): New function.
(assign_stack_local_1): Call it to detect that the offset overflows.
* cfgexpand.c (alloc_stack_frame_space): Likewise.
From-SVN: r111964
2006-03-11 14:52:57 +00:00
Steven Bosscher
6dd3c0a599
sh.c: Include alloc-pool.h.
...
2006-03-11 Steven Bosscher <stevenb.gcc@gmail.com>
* config/sh/sh.c: Include alloc-pool.h.
(label_ref_list_pool): New alloc pool.
(label_ref_list_t): New type for lists of labels.
(struct pool_node): Make wend a label_ref_list_t.
(add_constant): Use the new type, eradicate LABEL_NEXTREF
references.
(dump_table): Likewise.
(sh_reorg): Set up the alloc pool before using add_constant and
dump_table, and destroy it when finishing.
From-SVN: r111963
2006-03-11 12:52:56 +00:00
Nick Clifton
59e47e7163
Remove accidental commit to this file
...
From-SVN: r111961
2006-03-11 09:16:55 +00:00
Nick Clifton
1348fb1ae9
Do not reference flag_strnegth_reduce
...
From-SVN: r111960
2006-03-11 09:10:22 +00:00
Richard Sandiford
a70ec38645
* config/mips/mips.c: Remove redundant comment.
...
From-SVN: r111959
2006-03-11 07:11:45 +00:00
GCC Administrator
c27e993130
Daily bump.
...
From-SVN: r111956
2006-03-11 00:17:32 +00:00
Erik Edelmann
8e119f1b63
symbol.c (check_conflict): Allow allocatable function results, except for elemental functions.
...
fortran/
2006-03-11 Erik Edelmann <eedelman@gcc.gnu.org>
* symbol.c (check_conflict): Allow allocatable function results,
except for elemental functions.
* trans-array.c (gfc_trans_allocate_temp_array): Rename to ...
(gfc_trans_create_temp_array): ... this, and add new argument callee_alloc.
(gfc_trans_array_constructor, gfc_conv_loop_setup): Update call
to gfc_trans_allocate_temp_array.
* trans-array.h (gfc_trans_allocate_temp_array): Update prototype.
* trans-expr.c (gfc_conv_function_call): Use new arg of
gfc_trans_create_temp_array avoid pre-allocation of temporary
result variables of pointer AND allocatable functions.
(gfc_trans_arrayfunc_assign): Return NULL for allocatable functions.
* resolve.c (resolve_symbol): Copy value of 'allocatable' attribute
from sym->result to sym.
testsuite/
2006-03-08 Paul Thomas <pault@gcc.gnu.org>
Erik Edelmann <eedelman@gcc.gnu.org>
* gfortran.dg/allocatable_function_1.f90: New.
* gfortran.dg/allocatable_function_2.f90: New.
From-SVN: r111951
2006-03-10 23:28:38 +00:00
Tom Tromey
ea725d4524
re PR libgcj/25713 (GZIPOutputStream bad checksum)
...
libjava
PR libgcj/25713:
* java/util/zip/Deflater.java (flush): New method.
* sources.am, Makefile.in: Rebuilt.
* java/util/zip/DeflaterOutputStream.java: Removed.
* java/util/zip/InflaterInputStream.java: Likewise.
* java/util/zip/GZIPInputStream.java: Likewise.
* java/util/zip/GZIPOutputStream.java: Likewise.
libjava/classpath
For PR libgcj/25713:
* java/util/zip/InflaterInputStream.java (read): Replaced with
libgcj implementation.
From-SVN: r111949
2006-03-10 23:09:23 +00:00
Jason Merrill
21f9ec0c6a
re PR middle-end/26004 (gcc errors on valid code [SVO])
...
PR c/26004
* gimplify.c (gimplify_modify_expr_rhs): Don't do return slot opt if
the target was declared 'register'.
From-SVN: r111947
2006-03-10 17:47:08 -05:00
Jason Merrill
e16187d98d
run test
...
From-SVN: r111946
2006-03-10 17:43:10 -05:00
Jason Merrill
229970c41d
PR c++/16387, c++/16389
...
PR c++/16387, c++/16389
* typeck.c (cxx_alignof_expr, cxx_sizeof_expr): New functions.
(cxx_sizeof_or_alignof_expr): Split out from here.
From-SVN: r111945
2006-03-10 17:40:41 -05:00
Andreas Tobler
1a919c5632
powerpc-signal.h: Fix typo in comment.
...
2006-03-10 Andreas Tobler <a.tobler@schweiz.ch>
* include/powerpc-signal.h: Fix typo in comment.
From-SVN: r111944
2006-03-10 23:31:15 +01:00
Mark Wielaard
8aa540d2f7
Imported GNU Classpath 0.90
...
Imported GNU Classpath 0.90
* scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
* gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
* java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
* java/lang/Math.java: New override file.
* java/lang/Character.java: Merged from Classpath.
(start, end): Now 'int's.
(canonicalName): New field.
(CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
(UnicodeBlock): Added argument.
(of): New overload.
(forName): New method.
Updated unicode blocks.
(sets): Updated.
* sources.am: Regenerated.
* Makefile.in: Likewise.
From-SVN: r111942
2006-03-10 21:46:48 +00:00
Aldy Hernandez
27079765d0
configure.in: Handle --disable-<component> generically.
...
* configure.in: Handle --disable-<component> generically.
* configure: Regenerate.
From-SVN: r111941
2006-03-10 21:32:39 +00:00
Adam Nemet
a859786636
genpreds.c (write_insn_constraint_len): Change definition of insn_constraint_len to return size_t to match the declaration.
...
* genpreds.c (write_insn_constraint_len): Change definition of
insn_constraint_len to return size_t to match the declaration.
From-SVN: r111940
2006-03-10 20:22:05 +00:00
DJ Delorie
8e4edce73f
m32c.c (m32c_const_ok_for_constraint_p): Bit numbers start at zero.
...
* config/m32c/m32c.c (m32c_const_ok_for_constraint_p): Bit numbers
start at zero.
(m32c_expand_insv): Fix test for an AND mask.
From-SVN: r111937
2006-03-10 12:49:02 -05:00
Richard Guenther
891c0eeed7
re PR middle-end/26565 (Unaligned accesses with __attribute__(packed) and memcpy)
...
2006-03-10 Richard Guenther <rguenther@suse.de>
PR middle-end/26565
* builtins.c (get_pointer_alignment): Handle component
references for field alignment.
* gcc.dg/torture/pr26565.c: New testcase.
From-SVN: r111934
2006-03-10 16:44:01 +00:00
J"orn Rennecke
8c1aaf261b
config.gcc (sh*-superh-elf, [...]): Use newlib.h when building with libgloss.
...
* config.gcc (sh*-superh-elf, sh*elf (newlib)): Use newlib.h
when building with libgloss.
(sh*elf): Implement --without-fp option.
(sh64-superh-linux*): Don't multilib.
From-SVN: r111933
2006-03-10 16:07:29 +00:00
Paolo Carlini
9a7ab578fb
cmath: Add atan2 and pow bits; add using declarations.
...
2006-03-10 Paolo Carlini <pcarlini@suse.de>
* include/tr1/cmath: Add atan2 and pow bits; add using declarations.
* include/tr1/math.h: Add using declarations.
* include/tr1/complex: Add using declarations.
* testsuite/tr1/8_c_compatibility/cmath/functions.cc: Fully
qualify calls.
* testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Likewise;
add atan2 and pow bits.
* testsuite/tr1/8_c_compatibility/complex/overloads_float.cc: Likewise.
* testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Likewise;
adjust polar bits.
* acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add checks for double_t
and float_t typedefs.
* include/tr1/cmath: Add double_t and float_t.
* testsuite/tr1/8_c_compatibility/cmath/types.cc: New.
* include/tr1/ctgmath: New.
* include/tr1/tgmath.h: Likewise.
* include/Makefile.am: Add.
* testsuite/tr1/headers.cc: Update.
* include/Makefile.in: Regenerate.
* configure: Likewise.
* docs/html/ext/tr1.html: Update.
From-SVN: r111931
2006-03-10 13:24:57 +00:00
J"orn Rennecke
7a6164d4fe
* struct-equiv.c (rtx_equiv_p): Fix POST_MODIFY case.
...
From-SVN: r111929
2006-03-10 10:58:22 +00:00
Jerry DeLisle
5d54b732db
re PR libfortran/26499 (gfortran - End of File incorrectly positioned after binary I/O.)
...
2006-03-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/26499
* gfortran.dg/write_back.f: New test.
* gfortran.dg/write_rewind_1.f: New test.
* gfortran.dg/write_rewind_2.f: New test.
From-SVN: r111925
2006-03-10 03:23:28 +00:00