Paul Thomas
430f2d1f6f
re PR fortran/42309 (Problem with a pointer array passed to a subroutine)
...
2010-02-05 Paul Thomas <pault@gcc.gnu.org>
PR fortran/42309
* trans-expr.c (gfc_conv_subref_array_arg): Add new argument
'formal_ptr'. If this is true, give returned descriptor unity
lbounds, in all dimensions, and the appropriate offset.
(gfc_conv_procedure_call); If formal is a pointer, set the last
argument of gfc_conv_subref_array_arg to true.
* trans.h : Add last argument for gfc_conv_subref_array_arg.
* trans-io.c (set_internal_unit, gfc_trans_transfer): Set the
new arg of gfc_conv_subref_array_arg to false.
* trans-stmt.c (forall_make_variable_temp): The same.
2010-02-05 Paul Thomas <pault@gcc.gnu.org>
PR fortran/42309
* gfortran.dg/subref_array_pointer_4.f90 : New test.
From-SVN: r156512
2010-02-05 05:28:37 +00:00
GCC Administrator
e7da179e4d
Daily bump.
...
From-SVN: r156506
2010-02-05 00:16:45 +00:00
Benjamin Kosnik
2a60a9f652
re PR libstdc++/42460 (man page errors for generated libstdc++ man pages)
...
2010-02-04 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/42460
* doc/doxygen/user.cfg.in: Update file list.
* include/debug/safe_sequence.h: Doxygen markup fixes for '' and "".
* include/debug/safe_base.h: Same.
* include/debug/macros.h: Same.
* include/tr1_impl/regex: Same.
* include/std/iostream: Same.
* include/std/streambuf: Same.
* include/std/bitset: Same.
* include/std/iosfwd: Same.
* include/std/limits: Same.
* include/std/fstream: Same.
* include/std/istream: Same.
* include/std/ostream: Same.
* include/std/sstream: Same.
* include/parallel/multiway_merge.h: Same.
* include/parallel/for_each.h: Same.
* include/parallel/workstealing.h: Same.
* include/parallel/omp_loop_static.h: Same.
* include/parallel/omp_loop.h: Same.
* include/c_std/csignal: Same.
* include/c_std/cstdlib: Same.
* include/c_std/cstdio: Same.
* include/c_std/cstdarg: Same.
* include/c_std/cctype: Same.
* include/c_std/cerrno: Same.
* include/c_std/cmath: Same.
* include/c_std/ciso646: Same.
* include/c_std/ctime: Same.
* include/c_std/clocale: Same.
* include/c_std/climits: Same.
* include/c_std/cassert: Same.
* include/c_std/csetjmp: Same.
* include/c_std/cwchar: Same.
* include/c_std/cfloat: Same.
* include/c_std/cstring: Same.
* include/c_std/cstddef: Same.
* include/c_std/cwctype: Same.
* include/profile/iterator_tracker.h: Same.
* include/profile/impl/profiler_trace.h: Same.
* include/ext/vstring.h: Same.
* include/ext/algorithm: Same.
* include/ext/pb_ds/detail/pat_trie_/pat_trie_.h.pp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.h.pp: Same.
* include/ext/pb_ds/detail/type_utils.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same
* include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
* include/ext/rc_string_base.h: Same.
* include/ext/stdio_sync_filebuf.h: Same.
* include/ext/functional: Same.
* include/ext/mt_allocator.h: Same.
* include/bits/basic_ios.h: Same.
* include/bits/stl_map.h: Same.
* include/bits/stl_algobase.h: Same.
* include/bits/stl_queue.h: Same.
* include/bits/locale_classes.h: Same.
* include/bits/stl_set.h: Same.
* include/bits/locale_facets.h: Same.
* include/bits/stl_stack.h: Same.
* include/bits/stl_iterator_base_types.h: Same.
* include/bits/basic_string.h: Same.
* include/bits/stl_multimap.h: Same.
* include/bits/ios_base.h: Same.
* include/bits/stl_deque.h: Same.
* include/bits/stl_multiset.h: Same.
* include/bits/stl_iterator_base_funcs.h: Same.
* include/bits/char_traits.h: Same.
* include/bits/stl_algo.h: Same.
* include/bits/stl_iterator.h: Same.
* include/bits/stl_tempbuf.h: Same.
* include/bits/random.tcc: Same.
* include/bits/stl_function.h: Same.
* include/bits/cpp_type_traits.h: Same.
* include/bits/random.h: Same.
* include/bits/allocator.h: Same.
* include/bits/locale_facets_nonio.h: Same.
* include/c_global/csignal: Same.
* include/c_global/cstdlib: Same.
* include/c_global/cstdio: Same.
* include/c_global/cstdarg: Same.
* include/c_global/cctype: Same.
* include/c_global/cerrno: Same.
* include/c_global/cmath: Same.
* include/c_global/ciso646: Same.
* include/c_global/ctime: Same.
* include/c_global/clocale: Same.
* include/c_global/climits: Same.
* include/c_global/cassert: Same.
* include/c_global/csetjmp: Same.
* include/c_global/cwchar: Same.
* include/c_global/cfloat: Same.
* include/c_global/cstring: Same.
* include/c_global/cstddef: Same.
* include/c_global/cwctype: Same.
* include/tr1/hypergeometric.tcc: Same.
* include/tr1/random.tcc: Same.
* include/tr1/functional: Same.
* include/tr1/random.h: Same.
* include/backward/auto_ptr.h: Same.
* include/backward/binders.h: Same.
* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
Adjust line numbers.
* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
Same.
* testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
Same.
From-SVN: r156502
2010-02-04 18:20:34 +00:00
Tom Tromey
2480e18fe0
* testsuite/demangle-expected: Add missing --format=gnu-v3.
...
From-SVN: r156498
2010-02-04 16:54:31 +00:00
Joseph Myers
d1e4b9cbb4
* gcc.pot: Regenerate.
...
From-SVN: r156497
2010-02-04 16:22:03 +00:00
Richard Guenther
b0f19292d2
re PR rtl-optimization/42952 (possible integer wrong code bug)
...
2010-02-04 Richard Guenther <rguenther@suse.de>
PR rtl-optimization/42952
* dse.c (const_or_frame_p): Remove MEM handling.
* gcc.dg/torture/pr42952.c: New testcase.
From-SVN: r156494
2010-02-04 16:14:17 +00:00
Nick Clifton
f7eb48b53d
mn10300.c (TARGET_ASM_OUTPUT_MI_THUNK): Define.
...
* config/mn10300/mn10300.c (TARGET_ASM_OUTPUT_MI_THUNK): Define.
(TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define.
(function_arg): Use NULL_RTX and FIRST_ARGUMENT_REGNUM.
(mn10300_asm_output_mi_thunk): New function.
(mn10300_can_output_mu_thunk): New function.
* config/mn10300/mn10300.h (FIRST_ARGUMENT_REGNUM): Define.
(FUNCTION_ARG_REGNO_P): Fix comment. Accept d0 and d1.
(FUNCTION_ARG): Delete incorrect comment.
From-SVN: r156492
2010-02-04 08:49:55 +00:00
Eric Botcazou
3e5f930fc7
Fix a couple of nits
...
From-SVN: r156491
2010-02-04 08:37:25 +00:00
Jerry DeLisle
a6f4d51d82
re PR fortran/42901 (reading array of structures from namelist fails)
...
2010-02-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/42901
* gfortran.dg/namelist_60.f90: New test.
From-SVN: r156488
2010-02-04 01:53:37 +00:00
Jerry DeLisle
e3e2cdd182
re PR fortran/42901 (reading array of structures from namelist fails)
...
2010-02-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/42901
* io/list_read.c (nml_get_obj_data): Add new qualifier flag, clean up
code, and adjust logic to set namelist info pointer correctly for array
qualifiers of derived type components.
From-SVN: r156487
2010-02-04 01:49:41 +00:00
GCC Administrator
264c5d9a0f
Daily bump.
...
From-SVN: r156486
2010-02-04 00:16:49 +00:00
Jason Merrill
2aac192471
re PR c++/40138 (ICE with invalid va_arg)
...
PR c++/40138
* fold-const.c (operand_equal_p): Handle erroneous types.
From-SVN: r156483
2010-02-03 16:53:41 -05:00
Jason Merrill
f000c6a763
re PR c++/4926 (C++ ABI needs clarification on mangling of complex expressions)
...
PR c++/4926
PR c++/38600
* mangle.c (write_unqualified_id): Split out from write_expression.
(write_unqualified_name): Call it.
(write_member_name): Likewise.
(write_expression): Support TEMPLATE_ID_EXPR.
Disambiguate operator names.
From-SVN: r156482
2010-02-03 15:42:48 -05:00
Jason Merrill
abfe01cec9
re PR c++/12909 (ambiguity in mangling vector types)
...
PR c++/12909
* mangle.c (write_type) [VECTOR_TYPE]: Change mangling.
From-SVN: r156481
2010-02-03 15:42:35 -05:00
Kaushik Phatak
07738b87c4
h8300.md (can_delay): Fix attibute condition.
...
* config/h8300/h8300.md (can_delay): Fix attibute condition.
From-SVN: r156480
2010-02-03 13:18:44 -07:00
Jonathan Wakely
b7200e3fbe
condition_variable (condition_variable_any): Provide definitions for all members.
...
2010-02-03 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/std/condition_variable (condition_variable_any): Provide
definitions for all members.
* src/condition_variable.cc (condition_variable_any): Adjust
definitions.
* config/abi/pre/gnu.ver: Adjust exports for condition_variable_any.
* testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
Adjust dg-error line number.
* testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
Likewise.
* testsuite/30_threads/condition_variable_any/members/1.cc: New.
* testsuite/30_threads/condition_variable_any/members/2.cc: New.
* testsuite/30_threads/condition_variable_any/requirements/
standard_layout.cc: Remove.
* testsuite/30_threads/condition_variable_any/native_handle/
typesizes.cc: Remove.
From-SVN: r156479
2010-02-03 20:16:22 +00:00
Vladimir Makarov
a7f3e500f2
re PR rtl-optimization/42941 (-fsched-pressure -fschedule-insns - valgrind warns about using uninitialized variable)
...
2010-02-03 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimizations/42941
* sched-deps.c (setup_insn_reg_pressure_info): Use xcalloc instead
of xmalloc.
From-SVN: r156472
2010-02-03 19:01:31 +00:00
Jason Merrill
486f3abfba
add missing ChangeLog
...
From-SVN: r156470
2010-02-03 11:29:17 -05:00
Jason Merrill
59d49708b2
re PR c++/35652 (offset warning should be given in the front-end)
...
PR c++/35652
* builtins.c (c_strlen): Use EXPR_LOCATION in diagnostics.
From-SVN: r156469
2010-02-03 11:28:07 -05:00
Alexandre Oliva
5440c0e741
re PR debug/42896 (Random debug generation differences, bootstrap fails)
...
2010-02-03 Alexandre Oliva <aoliva@redhat.com>
PR debug/42896
* cselib.h (struct cselib_val_struct): Add uid. Rename value to
hash.
(cselib_reset_table): Renamed from...
(cselib_reset_table_with_next_value): ... this.
(cselib_get_next_uid): Renamed from...
(cselib_get_next_unknown_value): ... this.
* cselib.c (next_uid): Renamed from...
(next_unknown_value): ... this.
(cselib_clear_table): Adjust.
(cselib_reset_table): Adjust. Renamed from...
(cselib_reset_table_with_next_value): ... this.
(cselib_get_next_uid): Adjust. Renamed from...
(cselib_get_next_unknown_value): ... this.
(get_value_hash): Use hash.
(cselib_hash_rtx): Likewise.
(new_cselib_val): Adjust. Set and dump uid.
(cselib_lookup_mem): Pass next_uid as hash.
(cselib_subst_to_values): Likewise.
(cselib_log_lookup): Dump uid.
(cselib_lookup): Pass next_uid as hash. Adjust.
(cselib_process_insn): Adjust.
(cselib_init): Initialize next_uid.
(cselib_finish): Adjust.
(dump_cselib_table): Likewise.
* dse.c (canon_address): Dump value uid.
* print-rtl.c (print_rtx): Print value uid.
* var-tracking.c (VARIABLE_HASH_VAL): Dropped.
(dvuid): New type.
(dv_uid): New function, sort of renamed from...
(dv_htab_hash): ... this, reimplemented in terms of it and...
(dv_uid2hash): ... this. New.
(variable_htab_eq): Drop excess assertions.
(tie_break_pointers): Removed.
(canon_value_cmp): Compare uids.
(variable_post_merge_New_vals): Print uids.
(vt_add_function_parameters): Adjust.
(vt_initialize): Reset table. Adjust.
From-SVN: r156468
2010-02-03 15:00:33 +00:00
Richard Guenther
e3c70387dc
re PR tree-optimization/42944 (errno misoptimization around malloc call)
...
2010-02-03 Richard Guenther <rguenther@suse.de>
PR tree-optimization/42944
* tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle
calloc.
(call_may_clobber_ref_p_1): Likewise. Properly handle
malloc and calloc clobbering errno.
* gcc.dg/errno-1.c: New testcase.
From-SVN: r156467
2010-02-03 13:03:39 +00:00
Steven Bosscher
4cad6dba07
invoke.texi: Fix name of sched1 dump.
...
* doc/invoke.texi: Fix name of sched1 dump.
* opts.c (decode_options): Set flag_tree_switch_conversion
only conditionally on optimize >= 2.
* gcse.c: Assorted comment fixes in pass description.
From-SVN: r156466
2010-02-03 12:36:27 +00:00
Anthony Green
693ee8cf85
Fix moxie tramponline alignment problem
...
From-SVN: r156465
2010-02-03 11:36:30 +00:00
Richard Guenther
bf8e3b779b
re PR tree-optimization/42927 (type mismatch in shift expression produces ice with -O3)
...
2010-02-03 Richard Guenther <rguenther@suse.de>
PR middle-end/42927
* tree-cfg.c (verify_gimple_assign_binary): Fix shift verification.
* gcc.c-torture/compile/pr42927.c: New testcase.
From-SVN: r156464
2010-02-03 11:13:17 +00:00
Rainer Orth
bde17fdc4d
config.gcc: Reenable check for obsolete targets.
...
* config.gcc: Reenable check for obsolete targets.
Obsolete alpha*-dec-osf4*, alpha*-dec-osf5.0*, mips-sgi-irix5*,
mips-sgi-irix6.[0-4]*.
From-SVN: r156462
2010-02-03 09:03:59 +00:00
Tobias Burnus
d8a8dab31c
re PR fortran/42936 (Result of passing NULL() as actual arg doesn't inherit characteristics from the corresponding dummy arg)
...
2010-02-03 Tobias Burnus <burnus@net-b.de>
PR fortran/42936
* interface.c (compare_parameter): Disable rank-checking
for NULL().
2010-02-03 Tobias Burnus <burnus@net-b.de>
PR fortran/42936
* gfortran.dg/null_4.f90: New test.
From-SVN: r156461
2010-02-03 09:26:08 +01:00
Paolo Carlini
23f8e984b7
vstring.h (__versa_string::shrink_to_fit): Fix for -fno-exceptions.
...
2010-02-02 Paolo Carlini <paolo.carlini@oracle.com>
* include/ext/vstring.h (__versa_string::shrink_to_fit): Fix
for -fno-exceptions.
From-SVN: r156460
2010-02-03 00:38:52 +00:00
Benjamin Kosnik
036c0f63e1
allocator.h: Fix for -fno-exceptions.
...
2010-02-02 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/allocator.h: Fix for -fno-exceptions.
* include/bits/basic_string.h (basic_string::shrink_to_fit): Same.
From-SVN: r156459
2010-02-03 00:20:05 +00:00
GCC Administrator
8ddbc857a7
Daily bump.
...
From-SVN: r156458
2010-02-03 00:16:56 +00:00
Jason Merrill
e6ca6e2a1f
re PR c++/41090 (Using static label reference in c++ class constructor produces wrong code)
...
PR c++/41090
* decl.c (cp_finish_decl): Add local statics to cfun->local_decls.
* optimize.c (clone_body): Remap their initializers when making base
variants.
(maybe_clone_body): Complain if multiple clones aren't safe.
From-SVN: r156455
2010-02-02 19:07:49 -05:00
Paolo Carlini
80ec737fd0
2010-02-02 Paolo Carlini <paolo.carlini@oracle.com>
...
Adjust date of the last ChangeLog entry.
From-SVN: r156452
2010-02-02 15:04:01 +00:00
Paolo Carlini
823268870f
unique_future: Rename to /future.
...
2010-02-01 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/30_threads/unique_future: Rename to /future.
From-SVN: r156451
2010-02-02 14:59:53 +00:00
Tobias Burnus
096bfdb112
re PR fortran/42650 (F90: DT function with in-line DT definition and RESULT is rejected)
...
2010-02-02 Tobias Burnus <burnus@net-b.de>
PR fortran/42650
* parse.c (decode_specification_statement): Use sym->result not
* sym.
2010-02-02 Tobias Burnus <burnus@net-b.de>
PR fortran/42650
* gfortran.dg/func_result_5.f90: New test.
From-SVN: r156449
2010-02-02 14:05:50 +01:00
Nick Clifton
c9c27b723c
rx.c (rx_is_legitimate_constant): Treat a maximum constant size of 4 as being the same as 0.
...
* config/rx/rx.c (rx_is_legitimate_constant): Treat a maximum
constant size of 4 as being the same as 0.
* doc/invoke.texi (RX Options): Document that -mmax-constant-size
can take values in the range 0..4.
From-SVN: r156447
2010-02-02 09:18:04 +00:00
Jack Howarth
4546b861fb
re PR java/41991 (gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9)
...
2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
PR java/41991
* include/posix.h: Redefine _Unwind_FindEnclosingFunction.
From-SVN: r156446
2010-02-02 09:19:26 +01:00
Jack Howarth
1bcb71c459
re PR java/41991 (gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9)
...
2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
PR java/41991
* config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
SHLIB_MAPFILES.
From-SVN: r156445
2010-02-02 09:18:48 +01:00
Jack Howarth
fc15bd0319
re PR java/41991 (gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9)
...
2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
PR java/41991
* unwind-dw2-fde-darwin.c: Re-export _Unwind_FindEnclosingFunction()
as _darwin10_Unwind_FindEnclosingFunction().
* libgcc-libsystem.ver: New.
From-SVN: r156444
2010-02-02 09:18:08 +01:00
GCC Administrator
e2d7bb117c
Daily bump.
...
From-SVN: r156440
2010-02-02 00:17:09 +00:00
Tobias Burnus
ade2062023
re PR fortran/42922 (Wrongly rejected derived types with default initializers in PURE procedures 2)
...
2010-02-01 Tobias Burnus <burnus@net-b.de>
PR fortran/42922
* decl.c (variable_decl): Allow default initializer in
TYPE declarations in PURE functions.
2010-02-01 Tobias Burnus <burnus@net-b.de>
PR fortran/42922
* gfortran.dg/pure_initializer_3.f90: News test.
From-SVN: r156433
2010-02-01 22:37:49 +01:00
Vladimir Makarov
6eeea7a76e
re PR target/41399 (Scheduler gives huge dependence graph compiling fortran/intrinsic.c on ARM)
...
2010-02-01 Vladimir Makarov <vmakarov@redhat.com>
PR target/41399
* sched-deps.c (sched_analyze_insn): Ignore fixed registers for
implicitly set registers.
From-SVN: r156431
2010-02-01 19:52:42 +00:00
Paolo Carlini
15ecdcc6fc
re PR libstdc++/42408 (Missing templatized seed())
...
2010-02-01 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/42408
* include/bits/random.h (linear_congruential_engine<>::
linear_congruential_engine(seed_seq&),
linear_congruential_engine<>::seed(seed_seq&),
mersenne_twister<>::mersenne_twister(seed_seq&),
mersenne_twister<>::seed(seed_seq&),
subtract_with_carry_engine<>::subtract_with_carry_engine(seed_seq&),
subtract_with_carry_engine<>::seed(seed_seq&),
discard_block_engine<>::discard_block_engine(seed_seq&),
discard_block_engine<>::seed(seed_seq&),
independent_bits_engine<>::independent_bits_engine(seed_seq&),
independent_bits_engine<>::seed(seed_seq&),
shuffle_order_engine<>::shuffle_order_engine(seed_seq&),
shuffle_order_engine<>::seed(seed_seq&)): Templatize.
* include/bits/random.tcc: Adjust.
* testsuite/26_numerics/random/subtract_with_carry_engine/cons/
seed_seq.cc: New.
* testsuite/26_numerics/random/mersenne_twister_engine/cons/
seed_seq.cc: Likewise.
* testsuite/26_numerics/random/linear_congruential_engine/
cons/seed_seq.cc: Likewise.
From-SVN: r156430
2010-02-01 19:45:23 +00:00
Richard Earnshaw
87d05b4491
arm.c (FL_FOR_ARCH_7A): is also a superset of ARMv6K.
...
* arm.c (FL_FOR_ARCH_7A): is also a superset of ARMv6K.
(arm_override_options): Allow automatic selection of the thread
pointer register if thumb2.
(legitimize_pic_address): Improve code sequences for Thumb2.
(arm_call_tls_get_addr): Likewise.
(legitimize_tls_address): Likewise.
* arm.md (pic_load_addr_arm): Delete. Replace with ...
(pic_load_addr_32bit): ... this. New named pattern.
* thumb2.md (pic_load_addr_thumb2): Delete.
(pic_load_dot_plus_four): Delete.
(tls_load_dot_plus_four): New named pattern.
From-SVN: r156428
2010-02-01 15:09:20 +00:00
Rainer Orth
cb717ac46c
re PR libgomp/29986 (testsuite failures)
...
PR libgomp/29986
* doc/install.texi (Specific): Add sparc-sun-solaris2.10 entry.
Document fix for TLS bug.
From-SVN: r156427
2010-02-01 13:35:10 +00:00
Paolo Carlini
1e3ca17d52
forward_list.h (forward_list<>::resize(size_type), [...]): Only declare.
...
2010-02-01 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/forward_list.h (forward_list<>::resize(size_type),
forward_list(size_type)): Only declare.
* include/bits/forward_list.tcc (forward_list<>::resize(size_type),
forward_list(size_type)): Define, don't assume CopyConstructible.
* testsuite/23_containers/forward_list/cons/10.cc: New.
* testsuite/23_containers/forward_list/modifiers/6.cc: Likewis.
* testsuite/23_containers/forward_list/requirements/dr438/
assign_neg.cc: Adjust dg-error line numbers.
* testsuite/23_containers/forward_list/requirements/dr438/
insert_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_2_neg.cc: Likewise.
* include/bits/forward_list.h: Use _M_get_Node_allocator throughout.
From-SVN: r156426
2010-02-01 13:10:12 +00:00
Joseph Myers
eb752658bf
* sv.po: Update.
...
From-SVN: r156423
2010-02-01 00:28:40 +00:00
GCC Administrator
ab50bf24f5
Daily bump.
...
From-SVN: r156422
2010-02-01 00:16:39 +00:00
Paolo Carlini
22977dce58
generation_prohibited.c: Remove, swap can indeed throw (DR 774).
...
2010-01-31 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/23_containers/array/requirements/exception/
generation_prohibited.c: Remove, swap can indeed throw (DR 774).
* testsuite/util/exception/safety.h (insert_base<__versa_string>): Fix.
* testsuite/util/testsuite_container_traits.h
(traits<__versa_string>): Enable insert tests.
2010-01-31 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/forward_list.h (forward_list<>::insert_after
(const_iterator, size_type, const _Tp&), insert_after(const_iterator,
_InputIterator, _InputIterator), insert_after(const_iterator,
std::initializer_list<>)): Fix return type per N3000.
* testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
Adjust.
* testsuite/23_containers/forward_list/modifiers/2.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
assign_neg.cc: Adjust dg-error line numbers.
* testsuite/23_containers/forward_list/requirements/dr438/
insert_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_2_neg.cc: Likewise.
From-SVN: r156419
2010-01-31 22:52:25 +00:00
Janus Weil
7adac79a3d
re PR fortran/42888 (ICE in fold_convert_loc, at fold-const.c:2670)
...
gcc/fortran/
2010-01-31 Janus Weil <janus@gcc.gnu.org>
PR fortran/42888
* resolve.c (resolve_allocate_expr): Move default initialization code
here from gfc_trans_allocate.
* trans.c (gfc_trans_code): Call gfc_trans_class_assign also for
EXEC_INIT_ASSIGN.
* trans-expr.c (gfc_trans_class_assign): Handle default initialization
of CLASS variables via memcpy.
* trans-stmt.c (gfc_trans_allocate): Move default initialization code
to resolve_allocate_expr.
gcc/testsuite/
2010-01-31 Janus Weil <janus@gcc.gnu.org>
PR fortran/42888
* gfortran.dg/allocate_derived_2.f90: New test.
From-SVN: r156418
2010-01-31 22:56:02 +01:00
Eric Botcazou
355b1741d9
re PR middle-end/42898 (volatile structures and compound literal initializers)
...
PR middle-end/42898
* gcc.dg/torture/pr42898-2.c: New test.
From-SVN: r156414
2010-01-31 20:00:54 +00:00
Richard Guenther
44f89620d9
tree-sra.c (ptr_parm_has_direct_uses): Rewrite to be conservatively correct.
...
2010-01-31 Richard Guenther <rguenther@suse.de>
* tree-sra.c (ptr_parm_has_direct_uses): Rewrite to be
conservatively correct.
From-SVN: r156413
2010-01-31 19:54:32 +00:00