- 03 Sep, 2003 7 commits
-
-
* 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 8 commits
-
-
* configure.in: Remove uses of "for x in .. ${foo}" idiom. * configure: Regenerate. From-SVN: r70967
Nathanael Nerode committed -
* config.gcc: Remove references to install_headers_dir, now unused since introduction of config.build. * config.gcc (i860-*-sysv4*): Don't set unused USG, SVR3 defines. From-SVN: r70966
Nathanael Nerode committed -
* doc/fragments.texi, doc/sourcebuild.texi: Mention new file config.build. * config.build: New file. * config.gcc: Remove some build-specific stuff. * configure.in: Use config.build. * configure: Regnerate. From-SVN: r70965
Nathanael Nerode committed -
2003-08-31 Ingo Proetel <proetel@aicas.com> * java/util/logging/Logger.java: provide class and method information * java/util/logging/LogManager.java: create handlers * java/util/logging/SimpleFormatter.java: print souceClassName and sourceMethodName From-SVN: r70960
Ingo Proetel committed -
PR middle-end/11823 * stmt.c (expand_end_case_type): Only use jump tables for dense switch statements when optimizing for size. Co-Authored-By: Roger Sayle <roger@eyesopen.com> From-SVN: r70959
Steven Bosscher committed -
* builtins.c (expand_builtin_setjmp): Use emit_jump to jump around the != 0 case, which ensures pending stack adjustments are flushed. From-SVN: r70958
Olivier Hainque committed -
* configure.frag: Delete file. * configure.in: Rename the substitution variables dep_host_xmake_file and dep_tmake_file to xmake_file and tmake_file respectively. Do not expand $srcdir in the value of these; leave that for Make. Introduce a new substitution varaible, all_lang_makefrags, which lists subdirectory Make-lang.in files; exclude these from all_lang_makefiles, which is now only for subdirectory outputs. Do not invoke configure.frag. Do not set nor AC_SUBST_FILE target_overrides, host_overrides, or language_fragments. Create build subdirectories in config.status extra commands. * configure: Regenerate. * Makefile.in: Update substitutions to match changes to configure. Use include directives instead of @-insertions to read in host, target, and language fragments. (Makefile rule): Do not invoke configure.frag. Do not copy config.status to config.run before executing it. Set CONFIG_HEADERS and CONFIG_FILES so that only Makefile gets regenerated. (cstamp-h rule): Set CONFIG_FILES as well as CONFIG_HEADERS. ada: * Makefile.in: Update substitutions to match changes to configure. Use include directives instead of @-insertions to read in host and target fragments. Add a rule to regenerate ada/Makefile. From-SVN: r70957
Zack Weinberg committed -
From-SVN: r70955
GCC Administrator committed
-