Revital Eres
06ddd8716e
re PR testsuite/40359 (Revision 148211 caused a lot of failures in the vect test suite.)
...
PR40359
From-SVN: r148275
2009-06-08 13:26:44 +00:00
Michael Matz
eb7adebcd8
re PR debug/40012 (Revision 146817 generated bad debug info for local variables)
...
PR debug/40012
* cfgexpand.c (set_rtl): Store place also in DECL_RTL, if all
partitions use the same.
(expand_one_var): Deal with DECL_RTL sometimes begin set also
for basevars of SSA_NAMEs.
(expand_used_vars): Reset TREE_USED for basevars of SSA_NAMEs,
to not expand them twice.
(gimple_expand_cfg): Clear DECL_RTL for those decls that have
multiple places.
From-SVN: r148273
2009-06-08 11:37:12 +00:00
Alexandre Oliva
2153915d0a
common.opt (fcompare-debug=, [...]): New.
...
gcc/ChangeLog:
* common.opt (fcompare-debug=, fcompare-debug-second): New.
(fdump-final-insns=, gtoggle): New.
* doc/invoke.texi: Document them.
* final.c (rest_of_clean_state): Dump final insn stream.
* gcc.c (invoke_as): Hook in -fcompare-debug.
(static_spec_functions): Add compare-debug-dump-opt,
compare-debug-self-opt and compare-debug-auxbase-opt.
(compare_debug, compare_debug_second, compare_debug_opt): New.
(switches_debug_check, n_switches_debug_check): New.
(debug_auxbase_opt, debug_check_temp_file): New.
(process_command): Handle -fno-compare-debug, -fcompare-debug and
-fcompare-debug=*.
(do_self_spec): Handle arguments after switches.
(do_spec_1): Add .gk extension to temp file basenames for compare.
(check_live_switch): Take SWITCH_IGNORE into account, and earlier.
(cc1_options): Use it instead of normal auxbase computation for
the second compare-debug compilation.
(compare_files): New.
(main): Set up and implement compare debug mode.
(compare_debug_dump_opt_spec_function): New.
(compare_debug_self_opt_spec_function): New.
(compare_debug_auxbase_opt_spec_function): New.
* toplev.c (process_options): Handle flag_gtoggle,
flag_dump_final_insns.
* coverage.c (coverage_begin_output): Don't overwrite .gcno file
during -fcompare-debug-second compilation.
gcc/cp/ChangeLog:
* repo.c (get_base_filename): Use aux_base_name rather than
alternate temporary file during second compare debug compilation.
(finish_repo): Skip during -fcompare-debug-second.
gcc/ada/ChangeLog:
* lib-writ.adb (flag_compare_debug): Import.
(Write_ALI): Skip during -fcompare-debug-second.
gcc/fortran/ChangeLog:
* options.c (gfc_post_options): Disable dump_parse_tree
during -fcompare-debug-second.
gcc/objc/ChangeLog:
* objc-act.c (objc_init): Skip print_struct_values during
-fcompare-debug-second.
From-SVN: r148271
2009-06-08 07:46:02 +00:00
Ian Lance Taylor
cdb884681d
dwarf2.h (enum dwarf_location_atom): Add INTERNAL_DW_OP_tls_addr.
...
./: * dwarf2.h (enum dwarf_location_atom): Add
INTERNAL_DW_OP_tls_addr.
* dwarf2out.c (INTERNAL_DW_OP_tls_addr): Don't #define.
* c-common.c (c_do_switch_warnings): Don't exit early for -Wswitch
with no default node. Change warning with %H to warning_at.
Don't clear warn_switch around case checking.
* doc/invoke.texi (Warning Options): Clarify distinction between
-Wswitch and -Wswitch-enum.
java/:
* jcf-parse.c (handle_constant): Change local variable 'kind' to
unsigned int.
testsuite/:
* g++.dg/warn/Wswitch-3.C: New testcase.
* gcc.dg/Wswitch.c: Adjust for -Wswitch change.
* gcc.dg/Wswitch-enum-error.c: Likewise.
* gcc.dg/Wswitch-error.c: Likewise.
From-SVN: r148270
2009-06-08 04:00:50 +00:00
GCC Administrator
36b31e072b
Daily bump.
...
From-SVN: r148269
2009-06-08 00:16:41 +00:00
Bernhard Reutner-Fischer
4fe8e1a2a3
tree-pass.h (TODO_update_ssa_any): Document internal use only.
...
2009-06-07 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
* tree-pass.h (TODO_update_ssa_any): Document internal use only.
From-SVN: r148263
2009-06-07 21:55:47 +02:00
Bernhard Reutner-Fischer
69952c1d4d
gbl-ctors.h: Add header guard.
...
2009-06-07 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
* gbl-ctors.h: Add header guard.
From-SVN: r148262
2009-06-07 21:53:14 +02:00
Bernhard Reutner-Fischer
b2ad028425
tree-flow.h (make_value_handle, [...]): Remove prototypes for removed functions.
...
2009-06-07 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
* tree-flow.h (make_value_handle, set_value_handle, sort_vuses,
sort_vuses_heap, vn_lookup_or_add, vn_lookup_or_add_with_stmt,
vn_lookup_or_add_with_vuses, vn_add, vn_add_with_vuses,
vn_lookup_with_stmt, vn_lookup, vn_lookup_with_vuses): Remove
prototypes for removed functions.
(expressions_equal_p): Move to ...
* tree-ssa-sccvn.h: ... here and ...
* matrix-reorg.c: ... adjust includes.
From-SVN: r148261
2009-06-07 21:44:39 +02:00
Bernhard Reutner-Fischer
c3df55f947
ipa-struct-reorg.c (do_reorg_1): Fix whitespace in dump output.
...
2009-06-07 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
* ipa-struct-reorg.c (do_reorg_1): Fix whitespace in dump output.
From-SVN: r148260
2009-06-07 21:42:54 +02:00
Bernhard Reutner-Fischer
b5a7159f47
c-decl.c (finish_decl): Use bool for variable was_incomplete.
...
2009-06-07 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
* c-decl.c (finish_decl): Use bool for variable was_incomplete.
(finish_function): Remove erroneous whitespace.
From-SVN: r148259
2009-06-07 21:41:06 +02:00
Bernhard Reutner-Fischer
2cd713a0fc
tree-cfg.c (gimple_merge_blocks): Commentary typo fix.
...
2009-06-07 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
* tree-cfg.c (gimple_merge_blocks): Commentary typo fix.
(verify_stmts): Print statement who's gimple_bb is set to a wrong BB
From-SVN: r148258
2009-06-07 21:33:25 +02:00
Bernhard Reutner-Fischer
249eb5068f
errors.c (internal_error): Commentary typo fix.
...
2009-06-07 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
* errors.c (internal_error): Commentary typo fix.
* gimple-iterator.c (gsi_insert_seq_on_edge): Ditto.
* tree-ssa-pre.c: Ditto.
From-SVN: r148257
2009-06-07 21:29:43 +02:00
Bernhard Reutner-Fischer
95bca6b063
basic-block.h (ENTRY_BLOCK, EXIT_BLOCK): Document that neither of them is supposed to hold actual statements.
...
2009-06-07 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
* basic-block.h (ENTRY_BLOCK, EXIT_BLOCK): Document that neither of
them is supposed to hold actual statements.
From-SVN: r148256
2009-06-07 21:26:59 +02:00
Jerry DeLisle
28300f5aa7
re PR fortran/40008 (F2008: Add NEWUNIT= for OPEN statement)
...
2009-06-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/40008
* gfortran.dg/negative_unit.f: Update test.
* gfortran.dg/negative_unit_int8.f: Update test.
* gfortran.dg/newunit_1.f90: New test.
From-SVN: r148255
2009-06-07 19:07:46 +00:00
Jerry DeLisle
82aee54346
Fix date on last entry.
...
From-SVN: r148254
2009-06-07 19:03:30 +00:00
Jerry DeLisle
dcfddbd49c
re PR fortran/40008 (F2008: Add NEWUNIT= for OPEN statement)
...
2009-06-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/40008
* libgfortran.h: Define IOPARM_OPEN_HAS_NEWUNIT.
* io/open.c (st_open): Don't error on negative unit number if NEWUNIT
was specified. If NEWUNIT is specified, call new function to get the
unique unit number and assign it.
* io/io.h (st_parameter_open): Add pointer to newunit. Add prototype for
next_available_newunit. Add prototype for new function,
get_unique_unit_number.
* io/unit.c: Declare next_available_newunit. Define the first newunit
number. (init_units): Initialize next_available_unit.
(get_unique_unit_number): New function. Fix whitespace and comments.
* io/transfer.c (data_transfer_init): Update error message to not be
specific to OPEN statements.
From-SVN: r148253
2009-06-07 19:00:47 +00:00
Jerry DeLisle
9ad55c33ae
re PR fortran/40008 (F2008: Add NEWUNIT= for OPEN statement)
...
2009-05-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/40008
* gfortran.h (gfc_open): Add newunit expression to structure.
* io.c (io_tag): Add new unit tag and fix whitespace.
(match_open_element): Add matching for newunit.
(gfc_free_open): Free the newunit expression.
(gfc_resolve_open): Add newunit to resolution and check constraints.
(gfc_resolve_close): Add check for non-negative unit.
(gfc_resolve_filepos): Likewise.
(gfc_resolve_dt): Likewise.
* trans-io.c (set_parameter_value): Build runtime checks for unit
numbers within range of kind=4 integer. (gfc_trans_open) Set the
newunit parameter.
* ioparm.def (IOPARM): Define the newunit parameter as a pointer
to GFC_INTEGER_4, pint4.
From-SVN: r148252
2009-06-07 18:57:43 +00:00
Jerry DeLisle
690aefeba4
re PR libfortran/40334 (changed BACKSPACE behaviour at end of file.)
...
2009-06-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/40334
* io/list_read.c (list_formatted_read_scalar): Set the end file
conditions after a return from EOF error.
From-SVN: r148251
2009-06-07 17:40:24 +00:00
Daniel Franke
c430a6f9f8
re PR fortran/25104 ([F2003] Non-initialization expr. as case-selector)
...
2009-06-07 Daniel Franke <franke.daniel@gmail.com>
PR fortran/25104
PR fortran/29962
* array.c (gfc_append_constructor): Added NULL-check.
* check.c (gfc_check_spread): Check DIM.
(gfc_check_unpack): Check that the ARRAY arguments provides
enough values for MASK.
* intrinsic.h (gfc_simplify_spread): New prototype.
(gfc_simplify_unpack): Likewise.
* intrinsic.c (add_functions): Added new simplifier callbacks.
* simplify.c (gfc_simplify_spread): New.
(gfc_simplify_unpack): New.
* expr.c (check_transformational): Allow additional
* transformational
intrinsics in initialization expression.
2009-06-07 Daniel Franke <franke.daniel@gmail.com>
PR fortran/25104
PR fortran/29962
* gfortran.dg/spread_init_expr.f03: New.
* gfortran.dg/unpack_init_expr.f03: New.
* gfortran.dg/intrinsic_argument_conformance_2.f90: Adjusted
error message.
From-SVN: r148250
2009-06-07 19:33:34 +02:00
Daniel Franke
a16d978fca
re PR fortran/25104 ([F2003] Non-initialization expr. as case-selector)
...
2009-06-07 Daniel Franke <franke.daniel@gmail.com>
PR fortran/25104
PR fortran/29962
* check.c (gfc_check_all_any): Check rank of DIM.
(gfc_check_count): Likewise.
* intrinsic.h (gfc_simplify_all): New prototype.
(gfc_simplify_any): Likewise.
(gfc_simplify_count): Likewise.
(gfc_simplify_sum): Likewise.
(gfc_simplify_product): Likewise.
* intrinsic.c (add_functions): Added new simplifier callbacks.
* simplify.c (transformational_result): New.
(simplify_transformation_to_scalar): New.
(simplify_transformation_to_array): New.
(gfc_count): New.
(gfc_simplify_all): New.
(gfc_simplify_any): New.
(gfc_simplify_count): New.
(gfc_simplify_sum): New.
(gfc_simplify_product): New.
* expr.c (check_transformational): Allow additional
* transformational
intrinsics in initialization expression.
2009-06-07 Daniel Franke <franke.daniel@gmail.com>
PR fortran/25104
PR fortran/29962
* gfortran.dg/count_init_expr.f03
* gfortran.dg/product_init_expr.f03
* gfortran.dg/sum_init_expr.f03
From-SVN: r148249
2009-06-07 18:35:06 +02:00
Daniel Franke
ca8a87956a
re PR fortran/36874 (Add shape checks to cshift/eoshift)
...
2009-06-07 Daniel Franke <franke.daniel@gmail.com>
* check.c (dim_rank_check): Return SUCCESS if DIM=NULL.
(gfc_check_lbound): Removed (now) redundant check for DIM=NULL.
(gfc_check_minloc_maxloc): Likewise.
(check_reduction): Likewise.
(gfc_check_size): Likewise.
(gfc_check_ubound): Likewise.
(gfc_check_cshift): Added missing shape-conformance checks.
(gfc_check_eoshift): Likewise.
* gfortran.h (gfc_check_conformance): Modified prototype to printf-style.
* expr.c (gfc_check_conformance): Accept error-message chunks in
printf-style. Changed all callers.
2009-06-07 Daniel Franke <franke.daniel@gmail.com>
PR fortran/36874
* gfortran.dg/intrinsic_argument_conformance_2.f90: Adjusted error message.
* gfortran.dg/zero_sized_1.f90: Removed checks with incompatible shapes.
* gfortran.dg/zero_sized_5.f90: Likewise.
From-SVN: r148247
2009-06-07 15:45:47 +02:00
H.J. Lu
014583a13f
re PR middle-end/32950 (ICE with __complex__ double)
...
2009-06-07 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/32950
* g++.dg/torture/pr32950.C: New.
From-SVN: r148244
2009-06-07 06:35:05 -07:00
Daniel Franke
8ec259c12b
re PR fortran/25104 ([F2003] Non-initialization expr. as case-selector)
...
2009-06-07 Daniel Franke <franke.daniel@gmail.com>
PR fortran/25104
PR fortran/29962
* intrinsic.h (gfc_simplify_dot_product): New prototype.
(gfc_simplify_matmul): Likewise.
(gfc_simplify_transpose): Likewise.
* intrinsic.c (add_functions): Added new simplifier callbacks.
* simplify.c (init_result_expr): New.
(compute_dot_product): New.
(gfc_simplify_dot_product): New.
(gfc_simplify_matmul): New.
(gfc_simplify_transpose): New.
* expr.c (check_transformational): Allow transformational
* intrinsics
with simplifier in initialization expression.
2009-06-07 Daniel Franke <franke.daniel@gmail.com>
PR fortran/25104
PR fortran/29962
* gfortran.dg/dot_product_1.f03: New.
* gfortran.dg/matmul_8.f03: New.
* gfortran.dg/transpose_3.f03: New.
From-SVN: r148243
2009-06-07 13:53:21 +02:00
Ian Lance Taylor
5bca4e800b
extend.texi (Attribute Syntax): Document that C++ labels on empty statements can now have attributes.
...
./: * doc/extend.texi (Attribute Syntax): Document that C++ labels on
empty statements can now have attributes.
cp/:
* parser.c (cp_parser_label_for_labeled_statement): Support
attribute on labels if immediately followed by semicolon.
* semantics.c (finish_label_stmt): Return new label.
* pt.c (tsubst_expr): Handle attributes for LABEL_EXPR.
testsuite/:
* gcc.dg/Wunused-label-1.c: New test case.
* g++.dg/warn/Wunused-label-1.C: New test case.
* g++.dg/warn/Wunused-label-2.C: New test case.
* g++.dg/warn/Wunused-label-3.C: New test case.
From-SVN: r148242
2009-06-07 06:39:04 +00:00
GCC Administrator
712b30cf6f
Daily bump.
...
From-SVN: r148241
2009-06-07 00:16:47 +00:00
Daniel Franke
f7cfd28c03
re PR fortran/37203 (Check ORDER= of RESHAPE)
...
2009-06-06 Daniel Franke <franke.daniel@gmail.com>
PR fortran/37203
* simplify.c (gfc_simplify_reshape): Fixed reshaping of empty
* arrays
without padding.
2009-06-06 Daniel Franke <franke.daniel@gmail.com>
PR fortran/37203
* reshape_zerosize_2.f90: New.
From-SVN: r148238
2009-06-06 23:09:57 +02:00
Daniel Franke
7ba8c18c1e
re PR fortran/32890 (Compile-time detect of LHS/RHS missmatch for PACK)
...
fortran/
2009-06-06 Daniel Franke <franke.daniel@gmail.com>
PR fortran/32890
* intrinsic.h (gfc_simplify_pack): New prototype.
* intrinsic.c (add_functions): Added simplifier-callback to PACK.
* simplify.c (is_constant_array_expr): Moved to beginning of file.
(gfc_simplify_pack): New.
* check.c (gfc_check_pack): Check that VECTOR has enough elements.
Added safeguards for empty arrays.
testsuite/
2009-06-06 Daniel Franke <franke.daniel@gmail.com>
PR fortran/32890
* gfortran.dg/pack_assign_1.f90: New.
* gfortran.dg/pack_vector_1.f90: New.
From-SVN: r148237
2009-06-06 20:51:29 +02:00
GCC Administrator
dbb0ce047b
Daily bump.
...
From-SVN: r148233
2009-06-06 00:16:45 +00:00
Shujing Zhao
47ac44d6ba
mips.c: Use REG_P and CONST_INT_P where applicable.
...
2009-06-05 Shujing Zhao <pearly.zhao@oracle.com>
* config/mips/mips.c: Use REG_P and CONST_INT_P where applicable.
* config/mips/mips.md: Ditto.
From-SVN: r148224
2009-06-05 19:08:10 +00:00
Nathan Froyd
19b905ce29
eabi.asm (__eabi_convert): Don't define if _RELOCATABLE.
...
* config/rs6000/eabi.asm (__eabi_convert): Don't define if
_RELOCATABLE.
(__eabi_uconvert): Likewise.
From-SVN: r148223
2009-06-05 18:50:19 +00:00
Benjamin Kosnik
ca462c38d1
aggregate.cc: Remove xfail.
...
2009-06-05 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/29_atomics/atomic_address/cons/aggregate.cc: Remove xfail.
From-SVN: r148222
2009-06-05 18:37:00 +00:00
Nathan Froyd
16702e196e
ppc-asm.h: Protect auto-host.h inclusion and CFI_* definitions with IN_GCC.
...
* config/rs6000/ppc-asm.h: Protect auto-host.h inclusion and
CFI_* definitions with IN_GCC.
From-SVN: r148221
2009-06-05 18:31:28 +00:00
David Edelsohn
a735afd1e9
* xcoffout.h (xcoffout_source_line): Update prototype.
...
From-SVN: r148220
2009-06-05 14:03:09 -04:00
Jakub Jelinek
cd40525330
re PR middle-end/40340 (Fortification warning no longer emitted in inlines)
...
Fix up ChangeLog entries for
PR middle-end/40340
From-SVN: r148215
2009-06-05 18:32:21 +02:00
Kaveh R. Ghazi
26a347c575
builtins.c (do_mpc_ckconv, [...]): Use mpc_realref/mpc_imagref instead of MPC_RE/MPC_IM.
...
* builtins.c (do_mpc_ckconv, do_mpc_arg1): Use
mpc_realref/mpc_imagref instead of MPC_RE/MPC_IM.
fortran:
* simplify.c (call_mpc_func): Use mpc_realref/mpc_imagref
instead of MPC_RE/MPC_IM.
From-SVN: r148213
2009-06-05 16:20:25 +00:00
Jakub Jelinek
9f706f23d1
re PR middle-end/40340 (Fortification warning no longer emitted in inlines)
...
PR middle-end/40340
* tree-ssa-live.c (remove_unused_scope_block_p): Don't prune
inlined_function_outer_scope_p blocks for artificial inlines
even at -g0/-g1.
* tree.c (tree_nonartificial_location): Rewrite using
block_nonartificial_location.
* gcc.dg/pr40340-1.c: New test.
* gcc.dg/pr40340-2.c: New test.
* gcc.dg/pr40340-3.c: New test.
* gcc.dg/pr40340-4.c: New test.
* gcc.dg/pr40340-5.c: New test.
* gcc.dg/pr40340.h: New file.
From-SVN: r148212
2009-06-05 17:35:13 +02:00
Revital Eres
8f439681a9
misaligned store support
...
Co-Authored-By: Leehod Baruch <leehod@il.ibm.com>
From-SVN: r148211
2009-06-05 15:28:50 +00:00
Julian Brown
b89f8e3cf9
ieee754-df.S (cmpdf2): Avoid writing below SP.
...
gcc/
* config/arm/ieee754-df.S (cmpdf2): Avoid writing below SP.
* config/arm/ieee754-sf.S (cmpsf2): Likewise.
From-SVN: r148210
2009-06-05 13:52:36 +00:00
Andrew Haley
56faec5e60
ffitarget.h, ffi.c: Merge stdcall changes from libffi.
...
2009-06-05 Andrew Haley <aph@redhat.com>
* src/x86/ffitarget.h, src/x86/ffi.c: Merge stdcall changes from
libffi.
From-SVN: r148207
2009-06-05 12:55:06 +00:00
Richard Guenther
47d1f19159
re PR bootstrap/40350 (Bootstrap failure indwarf2out.c on i686-apple-darwin9)
...
2009-06-05 Richard Guenther <rguenther@suse.de>
PR bootstrap/40350
* dwarf2out.c (dwarf2out_begin_function): Mark discriminator
as possibly unused.
From-SVN: r148206
2009-06-05 12:10:44 +00:00
Jakub Jelinek
75707b2826
s390.c (global_not_special_regno_p): New static inline.
...
* config/s390/s390.c (global_not_special_regno_p): New static inline.
(save_gprs): Don't tell unwinder when a global register is saved.
(s390_emit_epilogue): Emit needed epilogue unwind info.
From-SVN: r148205
2009-06-05 13:41:45 +02:00
Benjamin Kosnik
5580c6e729
throw_allocator.h: Rework.
...
2009-06-04 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/throw_allocator.h: Rework.
* include/ext/pb_ds/detail/debug_map_base.hpp: Adjust usage.
* include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
* testsuite/23_containers/list/modifiers/insert/25288.cc: Same.
* testsuite/util/regression/rand/priority_queue/
container_rand_regression_test.tcc: Inline functions.
* testsuite/util/regression/rand/assoc/
container_rand_regression_test.tcc: Same.
From-SVN: r148204
2009-06-05 08:45:26 +00:00
Alexander Strange
2771246a53
re PR tree-optimization/36318 (SRA pessimizes struct copies without -Os)
...
2009-06-05 Alexander Strange <astrange@ithinksw.com>
PR tree-optimization/36318
* gcc.dg/tree-ssa/sra-7.c: New test.
From-SVN: r148203
2009-06-05 08:30:21 +00:00
Alexandre Oliva
90f0624882
dwarf2out.c (deferred_asm_name): New.
...
* dwarf2out.c (deferred_asm_name): New.
(add_name_and_src_coords_attributes): Defer creation of
DW_AT_MIPS_linkage_name attribute if DECL_ASSEMBLER_NAME was not
computed yet.
(move_linkage_attr): New.
(dwarf2out_finish): Revisit deferrals and emit attributes at the
right place.
From-SVN: r148199
2009-06-05 06:18:50 +00:00
Alexandre Oliva
c10348e5af
tree-nested.c (finalize_nesting_tree_1): Declare the frame_decl in the binding tree.
...
* tree-nested.c (finalize_nesting_tree_1): Declare the
frame_decl in the binding tree.
From-SVN: r148198
2009-06-05 06:17:51 +00:00
Alexandre Oliva
d560566ab0
trans-decl.c (gfc_build_qualified_array): Don't skip generation of range types.
...
* trans-decl.c (gfc_build_qualified_array): Don't skip generation
of range types.
* trans.h (struct lang_type): Add base_decls.
(GFC_TYPE_ARRAY_BASE_DECL): New.
* trans-types.c (gfc_get_array_type_bounds): Initialize base decls
proactively and excessively.
(gfc_get_array_descr_info): Use existing base decls if available.
From-SVN: r148197
2009-06-05 06:09:43 +00:00
GCC Administrator
faef1e6d29
Daily bump.
...
From-SVN: r148196
2009-06-05 00:16:56 +00:00
Cary Coutant
6c52e687e4
basic-block.h (struct basic_block_def): Add discriminator field.
...
* basic-block.h (struct basic_block_def): Add discriminator field.
* dbxout.c (dbxout_source_line): Add new parameter. Change all
callers.
* debug.c (do_nothing_debug_hooks): Add additional entry.
(debug_nothing_int_charstar_int): New function.
* debug.h (struct gcc_debug_hooks): Add parameter to source_line
hook.
(debug_nothing_int_charstar_int): New declaration.
* dwarf2out.c (dwarf2out_source_line): Add new parameter. Write
discriminator value in .loc directive.
* final.c (last_discriminator): New variable.
(discriminator): New variable.
(final_start_function): Initialize above variables, pass current
discriminator to debug hook.
(notice_source_line): Check for discriminator change.
* gimple-pretty-print.c (dump_bb_header): Print discriminator value.
* sdbout.c (sdbout_source_line): New parameter.
* tree-cfg.c (struct locus_discrim_map): New structure type.
(discriminator_per_locus): New hash table.
(build_gimple_cfg): Allocate and free discriminator hash table.
(make_edges): Call assign_discriminator.
(locus_map_hash): New function.
(locus_map_eq): New function.
(next_discriminator_for_locus): New function.
(same_line_p): New function.
(assign_discriminator): New function.
(make_cond_expr_edges): Call assign_discriminator.
(make_gimple_switch_edges): Likewise.
(first_non_label_stmt): New function.
* vmsdbgout.c (vmsdbgout_source_line): Add new parameter. Change
all callers.
* xcoffout.c (xcoffout_source_line): Add new parameter.
* configure.ac (gcc_cv_as_discriminator): New configury check for
gas support for discriminator.
* configure: Regenerate.
* config.in: Regenerate.
From-SVN: r148191
2009-06-04 16:12:27 -07:00
Daniel Franke
535ff342b7
re PR fortran/37203 (Check ORDER= of RESHAPE)
...
gcc/fortran/
2009-06-04 Daniel Franke <franke.daniel@gmail.com>
PR fortran/37203
* check.c (gfc_check_reshape): Additional checks for the
SHAPE and ORDER arguments.
* simplify.c (gfc_simplify_reshape): Converted argument checks
to asserts.
gcc/testsuite/
2009-06-04 Daniel Franke <franke.daniel@gmail.com>
PR fortran/37203
* gfortran.dg/reshape_order_5.f90: New.
* gfortran.dg/reshape_shape_1.f90: New.
From-SVN: r148190
2009-06-04 23:52:32 +02:00
Jason Merrill
efd7670918
pt.c (dependent_type_p_push): New fn.
...
* pt.c (dependent_type_p_push): New fn.
* cp-tree.h: Declare it.
* tree.c (canonical_type_variant): Use TYPE_CANONICAL.
From-SVN: r148189
2009-06-04 17:39:15 -04:00