- 03 Sep, 2003 14 commits
-
-
* optimize.c (optimize_function): Push/pop ggc context around the call to optimize_inline_calls. From-SVN: r71034
Richard Henderson committed -
* cgraphunit.c (visited_nodes): New static variable. (record_call_1): Use walk_tree with visited_nodes. (cgraph_create_edges): Use walk_tree with visited_nodes. Setup/teardown visited_nodes hashtable. From-SVN: r71033
Jeff Sturm committed -
* toplev.c (flag_rounding_math): New global variable. (f_options): Add to the list of language independent options. * flags.h (flag_rounding_math): Prototype here. (HONOR_SIGN_DEPENDENT_ROUNDING): Use flag_rounding_math instead. * common.opt (frounding-math): New common command line option. * opts.c (common_handle_option): Handle OPT_frounding_math. (set_fast_math_flags): -ffast-math clears flag_rounding_math. * doc/invoke.texi: Document this new command line option. From-SVN: r71032
Roger Sayle committed -
From-SVN: r71030
Rainer Orth committed -
* Makefile.in (c-objc-common.o): Kill gt-c-objc-common.h dependency. * c-decl.c (finish_function): Kill arguments, always use cgraph path. * c-objc-common.c: Kill include of gt-c-objc-common.h (expand_deferred_fns, deffer_fn): Kill function. (deferred_fns): Kill variable. (finish_cdtor): Update finish_function call. (c_objc_common_finish_file): Always call cgraph code. * c-parse.c: Regenerate. * c-parse.y: Regenerate. * c-tree.h (finish_function): Update prototype. * objc-acct.c (build_module_descriptor, finish_method_def): Update call of finish_function. * cgraphunit.c (cgraph_default_inline_p, cgraph_analyze_function): Add forward prototype. (cgraph_finalize_function): In non-unit-at-a-time mode analyze the function and assemble it if needed. (cgraph_finalize_compilation_unit): Do nothing in non-unit-at-a-time mode. (cgraph_optimize): Likewise. (cgraph_expand_function): In non-unit-at-a-time mode keep function body even when it has no inline callees. * c-parse.in: Update calls to finish_function. From-SVN: r71028
Jan Hubicka committed -
2003-09-03 Petur Runolfsson <peturr02@ru.is> PR libstdc++/12048 * include/ext/stdio_sync_filebuf.h (stdio_sync_filebuf::_M_unget_buf): Declare it. (stdio_sync_filebuf::stdio_sync_filebuf): Initialize _M_unget_buf. (stdio_sync_filebuf::uflow): Store the returned character in _M_unget_buf. (stdio_sync_filebuf::pbackfail): If argument is eof(), pass _M_unget_buf to syncungetc(). Set _M_unget_buf to eof(). (stdio_sync_filebuf<char>::xsgetn): Store last read character in _M_unget_buf, if any, else eof(). (stdio_sync_filebuf<wchar_t>::xsgetn: Store last read character in _M_unget_buf, if any, else eof(). * testsuite/27_io/objects/char/12048.cc: Rename to... * testsuite/27_io/objects/char/12048-1.cc: ...this. * testsuite/27_io/objects/char/12048-2.cc: New test. * testsuite/27_io/objects/char/12048-3.cc: New test. * testsuite/27_io/objects/char/12048-4.cc: New test. * testsuite/27_io/objects/char/12048-5.cc: New test. XFAIL. * testsuite/27_io/objects/wchar_t/12048-1.cc: New test. * testsuite/27_io/objects/wchar_t/12048-2.cc: New test. * testsuite/27_io/objects/wchar_t/12048-3.cc: New test. * testsuite/27_io/objects/wchar_t/12048-4.cc: New test. * testsuite/27_io/objects/wchar_t/12048-5.cc: New test. XFAIL. * testsuite/ext/stdio_sync_filebuf_char.cc (test02, test03, test04, test05): New tests. * testsuite/ext/stdio_sync_filebuf_wchar_t.cc (test02, test03, test04, test05): New tests. From-SVN: r71027
Petur Runolfsson committed -
2003-09-03 Petur Runolfsson <peturr02@ru.is> PR libstdc++/12048 * include/ext/stdio_sync_filebuf.h (stdio_sync_filebuf::_M_unget_buf): Declare it. (stdio_sync_filebuf::stdio_sync_filebuf): Initialize _M_unget_buf. (stdio_sync_filebuf::uflow): Store the returned character in _M_unget_buf. (stdio_sync_filebuf::pbackfail): If argument is eof(), pass _M_unget_buf to syncungetc(). Set _M_unget_buf to eof(). (stdio_sync_filebuf<char>::xsgetn): Store last read character in _M_unget_buf, if any, else eof(). (stdio_sync_filebuf<wchar_t>::xsgetn: Store last read character in _M_unget_buf, if any, else eof(). * testsuite/27_io/objects/char/12048.cc: Rename to... * testsuite/27_io/objects/char/12048-1.cc: ...this. * testsuite/27_io/objects/char/12048-2.cc: New test. * testsuite/27_io/objects/char/12048-3.cc: New test. * testsuite/27_io/objects/char/12048-4.cc: New test. * testsuite/27_io/objects/char/12048-5.cc: New test. XFAIL. * testsuite/27_io/objects/wchar_t/12048-1.cc: New test. * testsuite/27_io/objects/wchar_t/12048-2.cc: New test. * testsuite/27_io/objects/wchar_t/12048-3.cc: New test. * testsuite/27_io/objects/wchar_t/12048-4.cc: New test. * testsuite/27_io/objects/wchar_t/12048-5.cc: New test. XFAIL. * testsuite/ext/stdio_sync_filebuf_char.cc (test02, test03, test04, test05): New tests. * testsuite/ext/stdio_sync_filebuf_wchar_t.cc (test02, test03, test04, test05): New tests. 2003-09-03 Petur Runolfsson <peturr02@ru.is> * docs/html/27_io/howto.html: setbuf(0, 0) has no effect on stringbuf or strstreambuf. Fix typos. From-SVN: r71026
Petur Runolfsson committed -
* decl.c (java_expand_body): New function. * expr.c (build_class_init): Set DECL_IGNORED_P. * java-tree.h (start_complete_expand_method, java_expand_body): Declare. * jcf-parse.c (cgraph.h): Include. (java_parse_file): Handle flag_unit_at_a_time. * lang.c (LANG_HOOKS_TREE_INLINING_START_INLINING, LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Define. (java_estimate_num_insns): Use walk_tree_without_duplicates. (java_start_inlining): New function. * parse.h (java_finish_classes): Declare. * parse.y: Include cgraph.h. (block): Don't special-case empty block production. (craft_constructor): Set DECL_INLINE. (source_end_java_method): Handle flag_unit_at_a_time. Replace inline code with call to java_expand_body. (start_complete_expand_method): Remove static modifier. (java_expand_method_bodies): Patch function tree for class initialization and/or synchronization as needed. Don't begin RTL expansion yet. (java_expand_classes): Check flag_unit_at_a_time before calling finish_class. (java_finish_classes): New function. (java_complete_lhs): Ensure COMPOUND_EXPR has non-NULL type. (patch_assignment): Set DECL_CONTEXT on temporary variable. (emit_test_initialization): Set DECL_IGNORED_P. From-SVN: r71024
Jeff Sturm committed -
* builtins.c (enum builtin_type): Delete unused enumeration. * Make-lang.in (java/builtins.o): Remove built-types.def dependency. From-SVN: r71023
Roger Sayle committed -
From-SVN: r71022
Nick Clifton committed -
Use #error to generate the message if TARGET_DEFAULT is not recognised. From-SVN: r71021
Nick Clifton committed -
* config/mips/mips.h (MASK_UNUSED1): Remove. (MASK_XGOT, TARGET_XGOT): Define. (TARGET_SWITCHES): Add an entry for -mxgot. (ASM_SPEC): Map -mxgot to -xgot. * config/mips/mips.c (mips_symbol_insns): Use TARGET_XGOT to decide whether we're using a big-GOT sequences. (mips_legitimize_const_move, mips_expand_call): Likewise. (override_options): Revert 2003-01-09 change. * doc/invoke.texi: Document -mxgot. From-SVN: r71018
Richard Sandiford committed -
* config/sol2.h (NO_IMPLICIT_EXTERN_C): Define here. * config/sparc/sol2.h: Not here. From-SVN: r71017
Jason Merrill committed -
From-SVN: r71015
GCC Administrator committed
-
- 02 Sep, 2003 17 commits
-
-
From-SVN: r71010
DJ Delorie committed -
re PR bootstrap/12100 (time.h:402: error: previous declaration of `clock'evious declaration of `clock') 2003-08-29 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> PR bootstrap/12100 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define. * configure: Rebuilt. From-SVN: r71009
John David Anglin committed -
PR c++/11553 * parser.c (cp_parser_decl_specifier_seq): Add check for a duplicate friend decl-specifier. PR c++/11553 * g++.dg/parse/friend3.C: New test. From-SVN: r71008
Scott Brumbaugh committed -
2003-09-02 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width and height arguments to GtkWindowPeer.create method call. * gnu/java/awt/peer/gtk/GtkWindowPeer.java (create(int,int,int)): New method. (create(int)): Add call to new create method. (create()): Add width and height arguments to create method call. (GtkWindowPeer): Remove call to setBounds. * java/awt/Frame.java (Frame(String)): Initialize visible field to false. (Frame(GraphicsConfiguration)): Likewise. (Frame(String,GraphicsConfiguration)): Likewise. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create): Add width and height parameters. Call gtk_window_set_default_size. (connectHooks): Remove unused name variable. (static setBounds): Call gtk_window_resize not gtk_widget_set_usize. (setBounds): Remove unused nchildren variable. From-SVN: r71007
Thomas Fitzsimmons committed -
expr.c (expand_expr): The code following both_summands performs the same task as simplify_gen_binary. * expr.c (expand_expr): The code following both_summands performs the same task as simplify_gen_binary. Replace all gotos to both_summands with a call to simplify_gen_binary and delete the now unused label. From-SVN: r71006
Roger Sayle committed -
PR c++/7327 * config/sparc/sol2.h (NO_IMPLICIT_EXTERN_C): Define. From-SVN: r71005
Jason Merrill committed -
PR c++/11847 * pt.c (convert_nontype_argument): Correct representation of REFERENCE_TYPE expressions. PR c++/11847 * g++.dg/template/class1.C: New test. From-SVN: r71003
Mark Mitchell committed -
* cgraphunit.c (record_call_1): Use walk_tree_without_duplicates. (cgraph_optimize_function): Set current_function_decl to the fndecl we're integrating from. From-SVN: r71002
Jeff Sturm committed -
2003-09-02 Phil Edwards <phil@codesourcery.com> * acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED appropriately. * config.h.in: Add _GLIBCXX_HOSTED. * libsupc++/eh_term_handler.cc: Test it here; initialize __terminate_handler to std::abort if freestanding. * aclocal.m4, configure: Regenerated. * docs/html/configopts.html: Document --disable-hosted-libstdcxx. From-SVN: r71001
Phil Edwards committed -
* builtins.def: Break out _Complex math functions into their own category. From-SVN: r71000
Kaveh R. Ghazi committed -
PR c++/11808 * cp-tree.h (KOENIG_LOOKUP_P): New macro. (finish_call_expr): Change prototype. * parser.c (cp_parser_postfix_expression): Adjust call to finish_call_expr. * pt.c (tsubst_copy_and_build): Use KOENIG_LOOKUP_P. * semantics.c (finish_call_expr): Add koenig_p parameter. PR c++/11808 * g++.dg/expr/call1.C: New test. From-SVN: r70998
Mark Mitchell committed -
* configure.in: Ensure arguments to sed are properly spaced. * configure: Regenerate. From-SVN: r70997
Kaveh R. Ghazi committed -
From-SVN: r70993
Andreas Jaeger committed -
* cfgbuild.c (compute_outgoing_frequencies): Use NOTE instead of finding the note again. From-SVN: r70992
Josef Zlomek committed -
From-SVN: r70991
Nathanael Nerode committed -
From-SVN: r70989
Mark Mitchell committed -
From-SVN: r70987
GCC Administrator committed
-
- 01 Sep, 2003 8 commits
-
-
PR c++/12114 * g++.dg/init/ref9.C: New test. PR c++/11972 * g++.dg/template/nested4.C: New test. PR c++/12114 * cp-tree.h (initialize_reference): Change prototype. * call.c (initialize_reference): Add cleanup parameter. * decl.c (grok_reference_init): Likewise. (check_initializer): Likewise. (cp_finish_decl): Insert a CLEANUP_STMT if necessary. (duplicate_decls): When replacing an anticipated builtin, do not honor TREE_NOTHROW. * typeck.c (convert_for_initialization): Correct call to initialize_reference. PR c++/11972 * pt.c (dependent_type_p_r): Pass only the innermost template arguments to any_dependent_template_arguments_p. From-SVN: r70981
Mark Mitchell committed -
* Makefile.in (gencheck.o): Remove build commands. (dummy-conditions.o): Likewise. (read-rtl.o): Likewise. (gensupport.o): Likewise. (genconfig$(build_exeext)): Remove rule. (genconfig.o): Remove build commands. (genflags$(build_exeext)): Remove rule. (genflags.o): Remove build commands. (gencodes$(build_exeext)): Remove rule. (gencodes.o): Remove build commands. (genconstants.o): Remove build commands. (genemit$(build_exeext)): Remove rule. (genemit.o): Remove build commands. (genrecog$(build_exeext)): Remove rule. (genrecog.o): Remove build commands. (genextract$(build_exeext)): Remove rule. (genextract.o): Remove build commands. (genpeep$(build_exeext)): Remove rule. (genpeep.o): Remove build commands. (genattr$(build_exeext)): Remove rule. (genattr.o): Remove build commands. (genprognames): New variable. (genprogs): Likewise. (genobjs): Likewise. (genprogs): New rule. (genobjs): Likewise. (genattrtab.o): Remove build commands. (genautomata.o): Likewise. (genoutput$(build_exeext)): Remove rule. (genoutput.o): Remove build commands. (gengenrtl.o): Likewise. (genpreds.o): Likewise. (gengtype.o): Likewise. (genconditions.o): Likewise. (gen-protos.o): Likewise. (scan.o): Likewise. (fix-header.o): Likewise. (scan-decls.o): Likewise. (check-g++): Combine with other check targets. (check-gcc): Likewise. (check-g77): Likewise. (check-objc): Likewise. From-SVN: r70980
Mark Mitchell committed -
* config.gcc: Remove host-specific stuff which is unused here since the introduction of config.host. From-SVN: r70978
Nathanael Nerode committed -
* doc/fragments.texi: Mention config.host. * doc/sourcebuild.texi: Mention config.host. Give brief descriptions of config.build, config.host, and config.gcc. From-SVN: r70977
Nathanael Nerode committed -
* c-decl.c (pushdecl): Don't put variables on C_TYPE_INCOMPLETE_VARS of a type unless that type is itself incomplete. From-SVN: r70976
Zack Weinberg committed -
* config.host: New file. * config.gcc: Remove some host-specific stuff and some logic needed only for repeated invocation. * configure.in: Use config.host. * configure: Regenerate. From-SVN: r70975
Nathanael Nerode committed -
* c-typeck.c (build_binary_op): Kill BIT_ANDTC_EXPR. * convert.c (convert_to_integer): Kill BIT_ANDTC_EXPR. * fold-const.c (int_const_binop): Kill BIT_ANDTC_EXPR. (fold): Kill BIT_ANDTC_EXPR and label bit_and. * tree.def (BIT_ANDTC_EXPR): Kill. * error.c (dump_expr): Kill BIT_ANDTC_EXPR. * lex.c (init_operators): Kill BIT_ANDTC_EXPR. * pt.c (tsubst_copy): Kill BIT_ANDTC_EXPR. * typeck.c (build_binary_op): Kill BIT_ANDTC_EXPR. (tsubst_copy_and_build): Kill BIT_ANDTC_EXPR. * com.c (ffecom_overlap_): Kill BIT_ANDTC_EXPR. (ffecom_tree_canonize_ref_): Kill BIT_ANDTC_EXPR. From-SVN: r70972
Josef Zlomek committed -
From-SVN: r70970
GCC Administrator committed
-
- 31 Aug, 2003 1 commit
-
-
* configure.in: Remove uses of "for x in .. ${foo}" idiom. * configure: Regenerate. From-SVN: r70967
Nathanael Nerode committed
-