- 26 Jun, 2003 3 commits
-
-
From-SVN: r68510
GCC Administrator committed -
re PR c++/10990 (Cannot convert with dynamic_cast<> to a private base class from within a member function) PR c++/10990 * search.c (lookup_base_r): Rely on accessible_p, rather than trying to emulate that logic here. PR c++/10990 * g++.dg/rtti/dyncast1.C: New test. * g++.dg/abi/mangle4.C: Correct base-specifier access. * g++.dg/lookup/scoped1.C: Remove XFAIL. * g++.old-deja/g++.martin/pmf1.C: Correct base-specifier access. From-SVN: r68507
Mark Mitchell committed -
PR c++/10931 * g++.dg/expr/static_cast1.C: New test. PR c++/10931 * call.c (convert_like): Pass issue_conversion_warnings. (convert_like_with_context): Likewise. (convert_like_real): Add issue_conversion_warnings parameter. (perform_direct_initialization_if_possible): New function. * cp-tree.h (perform_direct_initialization_if_possible): Declare it. * typeck.c (check_for_casting_away_constness): New function. (build_static_cast): Rewrite. From-SVN: r68506
Mark Mitchell committed
-
- 25 Jun, 2003 33 commits
-
-
2003-06-25 H.J. Lu <hongjiu.lu@intel.com> * doc/extend.texi: Document new builtin functions for Intel Prescott New Intrunctions. * doc/invoke.texi: Document new command-line options, -mpni and -mno-pni, for Intel Prescott New Intrunctions. * config.gcc (extra_headers): Add pmmintrin.h for i[34567]86-*-*. * config/i386/i386.c (override_options): Turn on MASK_SSE2 for -mpni. Turn on MASK_SSE for -msse2. (bdesc_2arg): Add PNI builtins with 2 args. (bdesc_1arg): Add PNI builtins with 1 arg. (ix86_init_mmx_sse_builtins): Handle PNI builtins. (ix86_expand_builtin): Likewise. * config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A, MASK_128BIT_LONG_DOUBLE, MASK_64BIT, MASK_MS_BITFIELD_LAYOUT, MASK_TLS_DIRECT_SEG_REFS): Renumbered. (TARGET_PNI): New. (TARGET_SWITCHES): Don't enable MASK_SSE for -msse2 here. Add -mpni and -mno-pni. (TARGET_CPU_CPP_BUILTINS): Defined __PNI__ for PNI. (ix86_builtins): Add PNI builtins. (config/i386/i386.md): Add PNI patterns. * config/i386/pmmintrin.h: New file. From-SVN: r68502
H.J. Lu committed -
* config/h8300/h8300.md (call): Fix the insn lengths. (call_value): Likewise. From-SVN: r68501
Kazu Hirata committed -
* c-common.c (handle_used_attribute): Use mark_referenced. * varasm.c (mark_referenced): Break out from ... (assemble_name): ... here. * tree.h (mark_referenced): Declare. From-SVN: r68500
Jan Hubicka committed -
2003-06-25 Wolfgang Bangerth <bangerth@dealii.org> * gccbug.in: Add PCH to list of categories. From-SVN: r68497
Wolfgang Bangerth committed -
* cppfiles.c: Clarify comments. * cpphash.h: Likewise. * cpplib.h: Likewise. * cppmacro.c: Likewise. * mkdeps.h: Likewise. From-SVN: r68496
Martin Schaffner committed -
* c-opts.c (complain_wrong_lang, write_langs): Remove. (c_common_handle_option): Complaints about wrong language are handled in opts.c now. * opts.c (complain_wrong_lang, write_langs, handle_options): New. (find_opt): Fix thinko. (handle_option): Update prototype. Complain about switches for a different front end. * opts.h (lang_names, handle_options): New. (handle_option): Remove. * opts.sh: Write out language names array. * toplev.c (parse_options_and_default_flags): Use handle_options. From-SVN: r68495
Neil Booth committed -
2003-06-25 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (MASK_SSE1): Removed. (MASK_SSE164): Removed. (MASK_SSE264): Removed. (bdesc_2arg): Replace MASK_SSE1 with MASK_SSE. Replace MASK_SSE164 with MASK_SSE | MASK_64BIT. Replace MASK_SSE264 with MASK_SSE2 | MASK_64BIT. (bdesc_1arg): Likewise. (ix86_init_mmx_sse_builtins): Likewise. * config/i386/i386.h (TARGET_SSE): Remove MASK_SSE2. (TARGET_SWITCHES): Enable both MASK_SSE and MASK_SSE2 for -msse2. From-SVN: r68492
H.J. Lu committed -
* hwint.h (HOST_WIDE_INT_PRINT, HOST_WIDE_INT_PRINT_C): New macros. (HOST_WIDE_INT_PRINT_DEC_SPACE, HOST_WIDE_INT_PRINT_UNSIGNED_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE, HOST_WIDEST_INT_PRINT_UNSIGNED_SPACE): Delete. (HOST_WIDE_INT_PRINT_DEC, HOST_WIDE_INT_PRINT_DEC_C, HOST_WIDE_INT_PRINT_UNSIGNED, HOST_WIDE_INT_PRINT_HEX): Define in terms of HOST_WIDE_INT_PRINT and possibly HOST_WIDE_INT_PRINT_C. * final.c (asm_fprintf): Use HOST_WIDE_INT_PRINT. * ra-debug.c (dump_static_insn_cost): Likewise. From-SVN: r68489
Kaveh R. Ghazi committed -
* config/arm/arm.h (BIGGEST_FIELD_ALIGNMENT): Define instead of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS. Replace occurances of '???' with 'XXX' incase they are mistaken for trigraphs. (THUMB_PRINT_OPERAND_ADDRESS): abort if a compound address does not have a register for the first operand. From-SVN: r68487
Nick Clifton committed -
2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org> * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc): Move inline, from here... * include/std/std_streambuf.h: ... to here. * include/std/std_streambuf.h (snextc, sbumpc, sgetc, sputbackc, sungetc, sputc): Use __builtin_expect. From-SVN: r68486
Nathan C. Myers committed -
2003-06-25 Dhananjay Deshpande <dhananjayd@kpitcummins.com> * config/sh/sh.c (sh_register_move_cost): Add case for moving between MAC_REGS. From-SVN: r68484
Dhananjay Deshpande committed -
PR 10178 * langhooks.h (struct lang_hooks): Add no_body_blocks bool. * langhooks-def.h (LANG_HOOKS_NO_BODY_BLOCKS): New; default false. * c-lang.c, objc/objc-lang.c: Override LANG_HOOKS_NO_BODY_BLOCKS to true. * stmt.c (is_body_block): If lang_hooks.no_body_blocks, always return 0. From-SVN: r68483
Zack Weinberg committed -
* Makefile.in (bt-load.o): Depend on $(TM_P_H). * bt-load.c: Include "tm_p.h". From-SVN: r68482
Kaveh R. Ghazi committed -
* Makefile.am (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java. * Makefile.in: Regenerated. From-SVN: r68477
Michael Koch committed -
2003-06-25 Michael Koch <konqueror@gmx.de> * javax/swing/plaf/ActionMapUIResource.java, javax/swing/plaf/BorderUIResource.java, javax/swing/plaf/ButtonUI.java, javax/swing/plaf/ColorChooserUI.java, javax/swing/plaf/ColorUIResource.java, javax/swing/plaf/ComboBoxUI.java, javax/swing/plaf/ComponentInputMapUIResource.java, javax/swing/plaf/ComponentUI.java, javax/swing/plaf/DesktopIconUI.java, javax/swing/plaf/DesktopPaneUI.java, javax/swing/plaf/DimensionUIResource.java, javax/swing/plaf/FileChooserUI.java, javax/swing/plaf/FontUIResource.java, javax/swing/plaf/IconUIResource.java, javax/swing/plaf/InputMapUIResource.java, javax/swing/plaf/InsetsUIResource.java, javax/swing/plaf/InternalFrameUI.java, javax/swing/plaf/LabelUI.java, javax/swing/plaf/ListUI.java, javax/swing/plaf/MenuBarUI.java, javax/swing/plaf/MenuItemUI.java, javax/swing/plaf/OptionPaneUI.java, javax/swing/plaf/PanelUI.java, javax/swing/plaf/ProgressBarUI.java, javax/swing/plaf/RootPaneUI.java, javax/swing/plaf/ScrollBarUI.java, javax/swing/plaf/ScrollPaneUI.java, javax/swing/plaf/SeparatorUI.java, javax/swing/plaf/SliderUI.java, javax/swing/plaf/TableHeaderUI.java, javax/swing/plaf/TableUI.java, javax/swing/plaf/ToolBarUI.java, javax/swing/plaf/ToolTipUI.java, javax/swing/plaf/ViewportUI.java: New versions from classpath. * javax/swing/plaf/SpinnerUI.java: New file from classpath From-SVN: r68476
Michael Koch committed -
* config/h8300/h8300.c (compute_mov_length): Adjust for the new optimization. * config/h8300/h8300.md (*movsi_h8300): Optimize the load of an SImode constant whose upper and lower are the same. From-SVN: r68475
Kazu Hirata committed -
2003-06-25 Michael Koch <konqueror@gmx.de> * java/awt/image/ColorModel.java: New version from classpath. From-SVN: r68474
Michael Koch committed -
* gcc_release: Factor the updating of links and READMEs on the FTP server and sending mail for snapshots into a... (announce_snapshot): ...new function. Add informative output for both. From-SVN: r68473
Gerald Pfeifer committed -
* varasm.c (assemble_name): Mark needed variables even when global info is ready. From-SVN: r68472
Jan Hubicka committed -
PR other/11280 * gcc/doc/invoke.texi (Optimization Options): Remove -Os from -freorder-functions description. From-SVN: r68470
Jerry Quinn committed -
2003-06-25 Michael Koch <konqueror@gmx.de> * java/net/PlainDatagramSocketImpl.java: Partly merged with classpath, this mainly adds documentation. From-SVN: r68468
Michael Koch committed -
* java/io/ObjectInputStream.java (readClassDescriptor): New method. (readObject): Moved functionality to readClassDescriptor(). * java/io/ObjectOutputStream.java (writeClassDescriptor): New method. (writeObject): Moved functionality to writeClassDescriptor(). From-SVN: r68465
Michael Koch committed -
-
From-SVN: r68459
Josef Zlomek committed -
* opts.c (common_handle_option): Add missing break;s. f: * top.c (ffe_handle_option): Add missing break;. From-SVN: r68457
Neil Booth committed -
2003-06-25 Michael Koch <konqueror@gmx.de> * javax/swing/plaf/basic/BasicListUI.java, javax/swing/plaf/basic/BasicOptionPaneUI.java: Added missing methods. From-SVN: r68456
Michael Koch committed -
2003-06-25 Michael Koch <konqueror@gmx.de> * javax/swing/event/AncestorEvent.java javax/swing/event/HyperlinkEvent.java javax/swing/event/InternalFrameEvent.java javax/swing/event/ListDataEvent.java javax/swing/event/TableModelEvent.java: Compile fixes. From-SVN: r68455
Michael Koch committed -
* config/h8300/h8300-protos.h: Add a prototype for compute_mov_length. * config/h8300/h8300.c (compute_mov_length): New. * config/h8300/h8300.md (*movqi_h8300): Use it. (*movqi_h8300hs): Likewise. (movstrictqi): Likewise. (*movhi_h8300): Likewise. (*movhi_h8300hs): Likewise. (movstricthi): Likewise. (*movsi_h8300): Likewise. (*movsf_h8300): Likewise. (*movsi_h8300hs): Likewise. (*movsf_h8300hs): Likewise. From-SVN: r68454
Kazu Hirata committed -
* jump.c (next_nondeleted_insn): Remove. * rtl.h: Remove the prototype for next_nondeleted_insn. From-SVN: r68453
Kazu Hirata committed -
PR optimization/11311 * builtins.c (powi_cost): Fix typo. The number of multiplications required is the number to reduce the argument, result, plus the cost of calculating the residual, val [not n, the original value]. * gcc.c-torture/compile/20030624-1.c: New test case. From-SVN: r68452
Roger Sayle committed -
From-SVN: r68449
Roger Sayle committed -
From-SVN: r68447
GCC Administrator committed -
* real.h (ieee_extended_intel_96_round_53_format): New. * real.c (ieee_extended_intel_96_round_53_format): New. * config/i386/freebsd.h (SUBTARGET_OVERRIDE_OPTIONS): Use it for XFmode and TFmode. From-SVN: r68445
Richard Henderson committed
-
- 24 Jun, 2003 4 commits
-
-
2003-06-24 Phil Edwards <pme@gcc.gnu.org> * docs/doxygen/mainpage.html: Use a useful title. From-SVN: r68441
Phil Edwards committed -
2003-06-24 Benjamin Kosnik <bkoz@redhat.com> * docs/html/documentation.html: Remove assignment info. * docs/html/17_intro/contribute.html: Edits. * docs/html/17_intro/libstdc++-assign.tx: Remove. * docs/html/test.html: Update. * README: Update. From-SVN: r68440
Benjamin Kosnik committed -
2003-06-24 Michael Koch <konqueror@gmx.de> * java/net/URL.java: Renamed "handler" to "ph" in the whole file to match classpaths version. * java/net/URLStreamHandler.java: (equals): Renamed "handler" to "ph". From-SVN: r68439
Michael Koch committed -
2003-06-24 Michael Koch <konqueror@gmx.de> * javax/swing/event/AncestorEvent.java, javax/swing/event/HyperlinkEvent.java, javax/swing/event/InternalFrameEvent.java, javax/swing/event/ListDataEvent.java, javax/swing/event/TableModelEvent.java, javax/swing/event/TreeWillExpandListener.java, javax/swing/plaf/ComponentUI.java, javax/swing/plaf/DesktopIconUI.java, javax/swing/plaf/DesktopPaneUI.java, javax/swing/plaf/DimensionUIResource.java, javax/swing/plaf/FileChooserUI.java, javax/swing/plaf/FontUIResource.java, javax/swing/plaf/IconUIResource.java, javax/swing/plaf/InputMapUIResource.java, javax/swing/plaf/InsetsUIResource.java, javax/swing/plaf/InternalFrameUI.java, javax/swing/plaf/LabelUI.java, javax/swing/plaf/ListUI.java, javax/swing/plaf/MenuBarUI.java, javax/swing/plaf/MenuItemUI.java, javax/swing/plaf/OptionPaneUI.java, javax/swing/plaf/PanelUI.java, javax/swing/plaf/ProgressBarUI.java, javax/swing/plaf/doc-files/ComponentUI-1.dia, javax/swing/plaf/doc-files/ComponentUI-1.png: New versions from classpath. From-SVN: r68438
Michael Koch committed
-