- 18 Aug, 2006 2 commits
-
-
2006-08-18 Christophe Jaillet <christophe.jaillet@wanadoo.fr> * tree.c (is_attribute_with_length_p): Remove a duplicated assert. From-SVN: r116237
Christophe Jaillet committed -
From-SVN: r116235
GCC Administrator committed
-
- 17 Aug, 2006 22 commits
-
-
2006-08-17 Andreas Tobler <a.tobler@schweiz.ch> * include/ffi_common.h (struct): Revert accidental commit. From-SVN: r116230
Andreas Tobler committed -
2006-08-17 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (install-exec-hook): Support $(DESTDIR). * Makefile.in: Regenerated. From-SVN: r116227
H.J. Lu committed -
From-SVN: r116224
J"orn Rennecke committed -
PR c/28744 * cgraph.h (struct cgraph_node): Remove externally_visible bitfield. * cgraphunit.c (process_function_and_variable_attributes): Set local.externally_visible rather than externally_visible. PR c/28744 * c-common.c (handle_externally_visible_attribute): First look at TREE_CODE and only if it is function or var decl, check for non-public objects. Don't warn for DECL_EXTERNAL. * cgraphunit.c (process_function_and_variable_attributes): Warn if externally_visible attribute is used on non-public object. * gcc.dg/attr-externally-visible-1.c: New test. * gcc.dg/attr-externally-visible-2.c: New test. * g++.dg/parse/attr-externally-visible-1.C: New test. * g++.dg/parse/attr-externally-visible-2.C: New test. From-SVN: r116222
Jakub Jelinek committed -
From-SVN: r116221
Jan Hubicka committed -
PR tree-optimization/27865 * reload1.c (forget_marked_reloads): New function. (forget_old_reloads_1): When data are passed, just mark the registers for later removal. (reload_as_needed): Use the new mechanizm. From-SVN: r116220
Jan Hubicka committed -
PR c++/28606 * parser.c (cp_parser_diagnose_invalid_type_name): Handle BIT_NOT_EXPR. Fix formatting. (cp_parser_parse_and_diagnose_invalid_type_name): Tighten condition for valid type-names. (cp_parser_unqualified_id): Fix error handling for destructors. * g++.dg/parse/dtor11.C: New test. From-SVN: r116217
Volker Reichelt committed -
PR target/28146 * reload.h (reg_equiv_alt_mem_list): New declaration. * reload1.c (reg_equiv_alt_mem_list): New definition. (reload): Initialize it and release it. (delete_output_reload): Use it. * reload.c (push_reg_equiv_alt_mem): New function. (find_reloads_toplev): Call it. (find_reloads_address, find_reloads_address_1): Likewise. (find_reloads_subreg_address): Likewise. From-SVN: r116215
Alexandre Oliva committed -
2006-08-17 Maxim Kuvyrkov <mkuvyrkov@ispras.ru> PR rtl-optimization/28489 * sched-ebb.c (begin_schedule_ready): Create basic block at the right place. (advance_target_bb): Skip empty blocks. * haifa-sched.c (bb_note): Make global. * sched-int.h (bb_note): Add prototype. 2006-08-17 Maxim Kuvyrkov <mkuvyrkov@ispras.ru> PR rtl-optimization/28489 * gcc.c-torture/compile/pr28489.c: New test. From-SVN: r116214
Maxim Kuvyrkov committed -
PR tree-optimization/27865 * tree-vrp.c (adjust_range_with_scev): Do not use TYPE_{MIN,MAX}_VALUE for pointer types. * tree-scalar-evolution.c (fold_used_pointer_cast, pointer_offset_p, fold_used_pointer, pointer_used_p): New functions. (analyze_scalar_evolution_1): Use fold_used_pointer. * tree-chrec.c (convert_affine_scev): Convert no-op casts correctly. * tree-ssa-loop-ivopts.c (generic_type_for): Return integral type for pointers. From-SVN: r116213
Zdenek Dvorak committed -
PR c++/28710 * decl.c (xref_tag): Improve error message. Return early on error. * g++.dg/template/redecl4.C: New test. From-SVN: r116211
Volker Reichelt committed -
PR c++/28711 * pt.c (tsubst_copy_and_build) <case CONSTRUCTOR>: Robustify. * g++.dg/template/ctor8.C: New test. From-SVN: r116210
Volker Reichelt committed -
PR libgomp/28725 * env.c: Include ctype.h. (parse_schedule, parse_unsigned_long, parse_boolean): Allow leading and/or trailing whitespace and compare strings case insensitively. From-SVN: r116209
Jakub Jelinek committed -
2006-08-17 Paolo Bonzini <bonzini@gnu.org> PR c++/28573 * c-common.c (fold_offsetof_1): Add an argument and recurse down to it or the INTEGER_CST. Fail on a CALL_EXPR. (fold_offsetof): Pass new argument to fold_offsetof_1. * c-parser.c (c_parser_postfix_expression): Don't include a NULL operand into an INDIRECT_REF. * c-typeck.c (build_unary_op): Adjust call to fold_offsetof. cp: 2006-08-17 Paolo Bonzini <bonzini@gnu.org> PR c++/28573 * semantics.c (finish_offsetof): Add new argument to fold_offsetof. testsuite: 2006-08-17 Paolo Bonzini <bonzini@gnu.org> PR c++/28573 * g++.dg/parse/offsetof6.C: New test. * g++.dg/parse/offsetof7.C: New test. From-SVN: r116208
Paolo Bonzini committed -
PR testsuite/28602 * gfortran.dg/gomp/gomp.exp: Return if check_effective_target_fopenmp is false. From-SVN: r116207
John David Anglin committed -
From-SVN: r116206
Tom Tromey committed -
2006-08-16 Andrew Pinski <pinskia@physics.uc.edu> PR c++/28302 * typeck.c (build_unary_op <case BIT_NOT_EXPR:>): Don't call perform_integral_promotions for non integral type 2006-08-16 Andrew Pinski <pinskia@physics.uc.edu> PR C++/28302 * g++.dg/ext/vector3.C: New test. From-SVN: r116205
Andrew Pinski committed -
gcc/java/ChangeLog * jvspec.c (lang_specific_driver): Add -s-bc-abi when needed. libjava/ChangeLog * configure, Makefile.in: Rebuilt. * Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj_bc.la. (libgcj_bc_la_SOURCES): New variable. (libgcj_bc_la_LDFLAGS): Likewise. (libgcj_bc_la_LIBADD): Likewise. (libgcj_bc_la_DEPENDENCIES): Likewise. (libgcj_bc_la_LINK): Likewise. (libgcj_bc_dummy_LINK): Likewise. (libgcj_bc.la): New target. (install-exec-hook): Likewise. * libgcj.spec.in (*lib): Use LIBGCJ_SPEC. * libgcj_bc.c: New file. * configure.ac (LIBGCJ_SPEC): New subst. * configure.host (use_libgcj_bc): New variable. Co-Authored-By: Bryce McKinlay <bryce@mckinlay.net.nz> From-SVN: r116204
Jakub Jelinek committed -
PR c++/28385 * pt.c (tsubst) [TEMPLATE_TYPE_PARM]: Ignore quals from template if arg is a function. From-SVN: r116203
Jason Merrill committed -
From-SVN: r116201
GCC Administrator committed -
PR gcov/profile/26570 * value-prof.c (static_values): Removed. (tree_find_values_to_profile): Do not set static_values. (find_values_to_profile): Do not free static_values. * profile.c (instrument_values): Do not free the values. (branch_prob): Free the values. * gcc.dg/pr26570.c: New test. From-SVN: r116197
Zdenek Dvorak committed -
From-SVN: r116196
Naveen.H.S committed
-
- 16 Aug, 2006 8 commits
-
-
PR c/27697 * c-typeck.c (build_component_ref): Combine qualifiers of structure or union and field. testsuite: * gcc.dg/qual-component-1.c: New test. From-SVN: r116194
Joseph Myers committed -
PR c++/28593 * init.c (build_new): Return early on invalid placement. * g++.dg/parse/new3.C: New test. From-SVN: r116191
Volker Reichelt committed -
PR rtl-optimization/28071 * basic-block.h (bb_dom_dfs_in, bb_dom_dfs_out): Declare. * dominance.c (bb_dom_dfs_in, bb_dom_dfs_out): New functions. * tree-into-ssa.c (struct dom_dfsnum): New. (cmp_dfsnum, find_dfsnum_interval, prune_unused_phi_nodes): New functions. (insert_phi_nodes_for): Use prune_unused_phi_nodes instead of compute_global_livein. (prepare_block_for_update, prepare_use_sites_for): Mark the uses in phi nodes in the correct blocks. From-SVN: r116190
Zdenek Dvorak committed -
re PR tree-optimization/28364 (poor optimization choices when iterating over a std::string (probably not c++-specific)) PR tree-optimization/28364 * tree-ssa-loop-ivopts.c (aff_combination_to_tree): Handle zero correctly. (fold_affine_expr): New function. (may_eliminate_iv): Use fold_affine_expr. From-SVN: r116189
Zdenek Dvorak committed -
PR c/27489 * c-typeck.c (c_start_case): Handle invalid orig_type correctly. Clean up. From-SVN: r116188
Volker Reichelt committed -
* doc/invoke.texi (-Wno-deprecated-declarations): Fixup use of pxref. * doc/cppopts.texi (-MD): Likewise. From-SVN: r116187
Mike Stump committed -
Oops - this should have been part of r116159, but I forgot to include it on the commit command line. Doh! From-SVN: r116180
Nick Clifton committed -
From-SVN: r116177
GCC Administrator committed
-
- 15 Aug, 2006 8 commits
-
-
2006-08-15 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/25828 * gfortran.dg/streamio_1.f90: New test. * gfortran.dg/streamio_2.f90: New test. * gfortran.dg/streamio_3.f90: New test. * gfortran.dg/streamio_4.f90: New test. * gfortran.dg/streamio_5.f90: New test. * gfortran.dg/streamio_6.f90: New test. * gfortran.dg/streamio_7.f90: New test. * gfortran.dg/streamio_8.f90: New test. From-SVN: r116173
Jerry DeLisle committed -
2006-08-15 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/25828 * libgfortran.h: Rename GFC_LARGE_IO_INT to GFC_IO_INT. * io/file_pos.c (st_backspace): Ignore if access=STREAM. (st_rewind): Handle case of access=STREAM. * io/open.c (access_opt): Add STREAM_ACCESS. (edit_modes): Set current_record to zero only if not STREAM. (new_unit): Initialize maxrec, recl, and last_record for STREAM. * io/read.c (read_x): Advance file position for STREAM. * io/io.h (enum unit_access): Align IOPARM flags with frontend. Add ACCESS_STREAM. Add prototype for is_stream_io () function. Use GFC_IO_INT. * io/inquire.c (inquire_via_unit): Add text for access = "STREAM". * io/unit.c (is_stream_io): New function to return true if access = STREAM. * io/transfer.c (file_mode): Add modes for unformatted stream and formatted stream. (current_mode): Return appropriate file mode based on access flags. (read_block): Handle formatted stream reads. (read_block_direct): Handle unformatted stream reads. (write_block): Handle formatted stream writes. (write_buf): Handle unformatted stream writes. (unformatted_read): Fix up, use temporary for size. (pre_position): Position file for STREAM access. (data_transfer_init): Initialize for stream access, skip irrelevent error checks. (next_record_r),(next_record_w), and (next_record): Do nothing for stream I/O. (finalize_transfer): Flush when all done if stream I/O. From-SVN: r116172
Jerry DeLisle committed -
2006-08-15 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/25828 * gfortran.h: Add new pointer for stream position to st_inquire. Rename gfc_large_io_int_kind to gfc_intio_kind. * trans-types.c (gfc_init_kinds): use gfc_intio_kind. * io.c: Add new IO tag for file position going in and another for out. (match_dt_element): Match new tag_spos. (gfc_resolve_dt): Resolve new tag_spos. (gfc_free_inquire): Free inquire->strm_pos. (match_inquire_element): Match new tag_strm_out. (gfc_resolve_inquire): Resolve new tag_strm_out. * trans-io.c: Rename IOPARM_type_large_io_int to IOPARM_type_intio. (gfc_build_st_parameter): Same. (gfc_build_io_library_fndecls) Same. and add build pointer type pintio. (gfc_trans_inquire): Translate strm_pos for inquire. * ioparm.def: Reorder flags to accomodate addition of new inquire flag for strm_pos_out and add it in. From-SVN: r116171
Jerry DeLisle committed -
gcc PR c/28287 * c-common.c (handle_weak_attribute): Ignore and warn if not a FUNCTION_ or VAR_DECL testsuite * gcc.dg/attr-invalid.c: Add tests for invalid weak attribute. From-SVN: r116170
Danny Smith committed -
From-SVN: r116169
Kyle Galloway committed -
2006-08-15 Kyle Galloway <kgallowa@redhat.com> * ChangeLog: Added entry for previous patch From-SVN: r116168
Kyle Galloway committed -
2006-08-15 Kyle Galloway <kgallowa@redhat.com> * include/java-interp.h (_Jv_InterpMethod::run_debug): New method. * interpret.cc: Added placeholder for debug variable type info to STORE* macros. (_Jv_InterpMethod::run_debug): New method. (_Jv_InterpMethod::run_sync_object_debug): New method. (_Jv_InterpMethod::run_sync_class_debug): New method. (_Jv_InterpMethod::run_normal_debug): New method. (_Jv_InterpMethod::run_class_debug): New method. (_Jv_InterpMethod::ncode ()): Changed to select either debug or normal versions of these functions. * interpret-run.cc: New file, holds contents of old _Jv_InterpMethod::run method. * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Changed to select appropriate function for debug or normal mode. From-SVN: r116167
Kyle Galloway committed -
PR c/28280 * c-parser.c (c_parser_typeof_specifier): Don't use c_finish_expr_stmt, open code desired semantics instead. From-SVN: r116163
Mike Stump committed
-