- 10 Mar, 2003 40 commits
-
-
PR/9394 * gcc.c (DEFAULT_SWITCH_TAKES_ARG): Remove. (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove. * gcc.h (DEFAULT_SWITCH_TAKES_ARG): Add. (DEFAULT_WORD_SWITCH_TAKES_ARG): Add. * cppspec.c (DEFAULT_SWTICH_TAKES_ARG): Remove. (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove. cp * g++spec.c (lang_specific_driver): Use DEFAULT_WORD_SWITCH_TAKES_ARG. testsuite * g++.dg/cpp/c++_cmd_1.C: New test. * g++.dg/cpp/c++_cmd_1.h: New file. From-SVN: r64144
Devang Patel committed -
re PR rtl-optimization/7189 (gcc -O2 -Wall does not print ``control reaches end of non-void function'' warning) 2003-03-10 Steven Bosscher <s.bosscher@student.tudelft.nl> PR optimization/7189 * toplev.c (rest_of_compilation): Move check_function_return_warnings up to just after delete_unreachable_blocks. From-SVN: r64143
Steven Bosscher committed -
From-SVN: r64142
Roger Sayle committed -
* config/m68hc11/m68hc11.h (HARD_REGNO_RENAME_OK): Define. * config/m68hc11/m68hc11-protos.h (m68hc11_hard_regno_rename_ok): Declare. * config/m68hc11/m68hc11.c (m68hc11_hard_regno_rename_ok): New function for reg rename optimization to avoid using Z and Y registers. From-SVN: r64134
Stephane Carrez committed -
re PR c++/9798 (Infinite recursion (segfault) in cp/decl.c:push_using_directive with recusive using directives) PR c++/9798 * decl.c (push_using_directive): Push before recursing. From-SVN: r64133
Jason Merrill committed -
From-SVN: r64131
Jason Merrill committed -
* config/m68hc11/m68hc11.md ("*addhi3_68hc12"): Accept any constant when adding to X and Y since leax/leay are fast. ("*addhi3"): Accept 'I' constraint when adding to address register. ("rotlhi3"): Operand 1 must be a register_operand. (peephole2): New peephole to optimize some adds. * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_P): Use 'I' constraint to represent -2 .. 2 small integer range. From-SVN: r64127
Stephane Carrez committed -
* config/m68hc11/m68hc11.c (m68hc11_gen_rotate): Set carry before each 16-bit rotation. From-SVN: r64125
Stephane Carrez committed -
PR c++/9868 * call.c (resolve_scoped_fn_name): Handle the case of a function pointer member. From-SVN: r64124
Jason Merrill committed -
PR c++/9868 * call.c (resolve_scoped_fn_name): Handle the case of a function pointer member. From-SVN: r64122
Jason Merrill committed -
2003-03-10 Segher Boessenkool <segher@koffie.nl> * testsuite/gcc.dg/altivec-9.c: New file. From-SVN: r64120
Segher Boessenkool committed -
2003-03-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * gcc.dg/ppc-sdata-1.c: New test. * gcc.dg/ppc-sdata-2.c: New test. From-SVN: r64119
Franz Sirl committed -
* c-opts.c (add_prefixed_path): Don't use concat. When prefixing with cpp_GCC_INCLUDE_DIR, copy only the first cpp_GCC_INCLUDE_DIR_len characters. From-SVN: r64114
Zack Weinberg committed -
2003-03-10 Mohan Embar <gnustuff@thisiscool.com> * dostime.c: add #include <stddef.h> for definition of NULL From-SVN: r64112
Mohan Embar committed -
2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com> * include/jvm.h: removed declaration of _Jv_ThisExecutable() setter; made return value of getter const char* instead of char* * prims.cc: removed all references to _Jv_ThisExecutable(). These are in the platform-specific sections now. * posix.cc: define platform-specific _Jv_ThisExecutable(). Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases * win32.cc: define platform-specific _Jv_ThisExecutable() using GetModuleFilename() * java/lang/natRuntime.cc: set gnu.gcj.progname property to argv[0] instead of _Jv_ThisExecutable() 2003-03-10 Ranjit Mathew <rmathew@hotmail.com> * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag that is set if we are using addr2name.awk instead of addr2line. (NameFinder): Set usingAddr2name if using addr2name.awk. (getExternalLabel): New native method to convert a method name to an external label. (lookup): Convert name given by addr2line to an external label before demangling. * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string constant representing the prefix attached to method names to convert them to an external label. (gnu::gcj::runtime::NameFinder::getExternalLabel): Define using LABEL_PREFIX. From-SVN: r64111
Andrew Haley committed -
2003-03-10 Ranjit Mathew <rmathew@hotmail.com> * jcf-io.c (caching_stat): Account for both DIR_SEPARATOR and DIR_SEPARATOR_2 for a target. Correct minor typos. * jcf-write.c (make_class_file_name): Take both DIR_SEPARATOR and DIR_SEPARATOR_2 for a target into account. From-SVN: r64110
Ranjit Mathew committed -
2003-03-10 Segher Boessenkool <segher@koffie.nl> * testsuite/gcc.dg/altivec-9.c: New file. * config/rs6000/rs6000.c (altivec_frame_fixup): Remove. (rs6000_emit_prologue): Use rs6000_frame_related instead. From-SVN: r64109
Segher Boessenkool committed -
* src/powerpc/darwin_closure.S: Recode to fit dynamic libraries. From-SVN: r64106
Andreas Tobler committed -
2003-03-10 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/spe.h: Define __ev64_*64__ to use single element vectors. (__ev_convert_u64): Remove macro. Define as inline. (__ev_convert_s64): Same. From-SVN: r64104
Aldy Hernandez committed -
From-SVN: r64103
Jan Hubicka committed -
2003-03-10 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.h (DWARF_FRAME_REGISTERS): Define. (rs6000_stack_t): Add spe_64bit_regs_used. * config/rs6000/rs6000.c (rs6000_stack_info): Calculate spe_64bit_regs_used, and use it to determine the size of the frame. (spe_func_has_64bit_regs_p): New. (spe_synthesize_frame_save): New. (rs6000_frame_related): Handle SPE synthetic registers. (rs6000_emit_prologue): Only save in 64-bits if the function used any registers in 64-bit mode. (rs6000_emit_epilogue): Same, but for restore. From-SVN: r64102
Aldy Hernandez committed -
* arm.h (enum floating_point_type): Delete. Replace with... (enum fputype): ... new. (FPUTYPE_DEFAULT): Renamed from FP_DEFAULT. Values reworked. * linux-elf.h (FPUTYPE_DEFAULT): Likewise. * arm.md (attr fpu): Reworked for new underlying enum values. * arm.c (arm_fpu_arch): Now enum fputype. (arm_fpu_tune): Renamed from arm_fpu. Now enum fputype. (arm_override_options, arm_output_epilogue, arm_expand_prologue): Update uses of arm_fpu_arch and arm_fpu_tune. From-SVN: r64099
Richard Earnshaw committed -
* Makefile.in: Rebuilt. * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated. (JC1FLAGS): Removed -Wno-deprecated. From-SVN: r64097
Tom Tromey committed -
* cfgcleanup.c (outgoing_edges_match): Compare the jump tables. (try_crossjump_to_edge): Replace refereces to one jump table by references to identical jump table. * loop.c (load_mems): Moved setting the JUMP_LABEL to replace_label. (replace_label): Moved to rtlanal.c. (struct rtx_pair): Moved to rtl.h. * rtl.h (struct rtx_pair): Moved from loop.c. (replace_label): New extern function. (subrtx_p): New extern function. (tablejump_p): New extern function. * rtlanal.c (replace_label): Moved from loop.c. (subrtx_p_1): New static function. (subrtx_p): New function. (tablejump_p): New function. From-SVN: r64096
Josef Zlomek committed -
From-SVN: r64093
Tom Tromey committed -
* java/nio/ByteOrder.java (nativeOrder): Working implementation, added documentation. (toString): Added documentation. From-SVN: r64085
Michael Koch committed -
From-SVN: r64084
Michael Koch committed -
2003-03-10 Michael Koch <konqueror@gmx.de> * java/net/DatagramSocket.java, java/net/MulticastSocket.java, java/net/Socket.java, java/net/URL.java, java/net/URLConnection.java: Fixed some documentation tags to make javadoc and friends happy. From-SVN: r64083
Michael Koch committed -
2003-03-10 Michael Koch <koqnueror@gmx.de> * java/beans/beancontext/BeanContextServicesSupport.java, java/beans/beancontext/BeanContextSupport.java: New files. * Makefile.am (awt_source_files): Added new files. * Makefile.in: Regenerated. From-SVN: r64080
Michael Koch committed -
* cfgcleanup.c (merge_blocks): Return where to iterate next. (try_optimize_cfg): Use return value of merge_blocks From-SVN: r64079
Jan Hubicka committed -
* java/awt/FocusTraversalPolicy.java (FocusTraversalPolicy): Documentation added. (getComponentAfter): Documentation added. (getComponentBefore): Documentation added. (getFirstComponent): Documentation added. (getLastComponent): Documentation added. (getDefaultComponent): Documentation added. (getInitialComponent): Documentation added. * java/awt/ScrollPaneAdjustable.java (sp): New member variable. (orientation): New member variable. (value): New member variable. (minimum): New member variable. (maximum): New member variable. (visibleAmount): New member variable. (unitIncrement): New member variable. (blockIncrement): New member variable. (adjustmentListener): New member variable. (ScrollPaneAdjustable): Rewrote. (addAdjustmentListener): New method. (removeAdjustmentListener): New method. (getAdjustmentListeners): New method. (getBlockIncrement): New method. (getMaximum): New method. (getMinimum): New method. (getOrientation): New method. (getUnitIncrement): New method. (getValue): New method. (getVisibleAmount): New method. (setBlockIncrement): New method. (setUnitIncrement): New method. (setMaximum): Implemented. (setMinimum): Implemented. (setValue): New method. (setVisibleAmount): Implemented. (paramString): New method. * java/awt/Window.java (show): Use setVisible(true) instead of super.show(). (hide): Use sevVisible(false) instead of super.hide(). (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED. (postEvent): Deprecated. (applyResourceBundle): Deprecated. (processWindowFocusEvent): New method. (processWindowStateEvent): New method. * java/awt/datatransfer/DataFlavor.java: Reindented. * java/awt/font/TextHitInfo.java (charIndex): New member variable. (leadingEdge): New member variable. (TextHitInfo): New constructor. (getCharIndex): Implemented. (isLeadingEdge): Implemented. (getInsertionIndex): Implemented. (hashCode): Access charIndex directly. (equals): Reformated. (leading): Implemented. (trailing): Implemented. (beforeOffset): Implemented. (afterOffset): Implemented. (getOtherHit): Implemented. (getOffsetHit): Implemented. (toString): Implemented. * java/awt/image/BufferedImage.java (BufferedImage): Implements WritableRenderedImage. (observers): New member variable. (addTileObserver): New method. (removeTileObserver): New method. From-SVN: r64078
Michael Koch committed -
* cfg.c (unchecked_make_edge): New. (cached_make_edge): Use it. * basic-block.h (unchecked_make_edge): Declare. * cfglayout.c (cfg_layout_duplicate_bb): Use it. From-SVN: r64077
Michael Matz committed -
re PR rtl-optimization/7189 (gcc -O2 -Wall does not print ``control reaches end of non-void function'' warning) 2003-03-10 Steven Bosscher <s.bosscher@student.tudelft.nl> PR optimization/7189 * toplev.c (rest_of_compilation): Move check_function_return_warnings up to just after delete_unreachable_blocks. From-SVN: r64076
Steven Bosscher committed -
* fpa.md: New file. Move all patterns relating to FPA co-processor to here... * arm.md: ... from here. (cirrus.md, fpa.md): Include at end of description. (divsf3, divdf3, modsf3, movdf3, sqrtsf2, sqrtdf2): New expands. (pic_load_addr_based): Remove register constraint from expander. (seq, sne, sgt, sle, slt, sge, sgeu, sleu, sgtu, sltu, sunordered) (sordered, sungt, sunle, sunge, sunlt): Likewise. (eh_epilogue, tablejump): Likewise. From-SVN: r64075
Richard Earnshaw committed -
PR c++/9373 * g++.dg/opt/ptrmem2.C: New test. PR c++/9373 * cp-lang.c (cxx_get_alias_set): Use alias set zero for pointers to member functions. From-SVN: r64070
Mark Mitchell committed -
2003-03-09 Paolo Carlini <pcarlini@unitus.it> * config/io/basic_file_stdio.cc: include <unistd.h>. From-SVN: r64069
Paolo Carlini committed -
PR c++/8534 * decl.c (build_ptrmemfunc_type): Do not allow default arugments in pointer-to-member-function types. PR c++/8534 * g++.dg/opt/ptrmem1.C: New test. From-SVN: r64066
Mark Mitchell committed -
* expr.c (cplus_expand_constant): Use C90 prototype style. (cxx_expand_expr): Likewise. From-SVN: r64064
Gabriel Dos Reis committed -
2003-03-10 Ben Elliston <bje@wasabisystems.com> * MAINTAINERS: Update my mail address. From-SVN: r64063
Ben Elliston committed -
From-SVN: r64062
GCC Administrator committed
-