aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-01-112004-01-11 Paolo Carlini <pcarlini@suse.de>Paolo Carlini1-1/+1
* Fix a date in the ChangeLog. From-SVN: r75682
2004-01-11* invoke.texi: Fix syntax error in previous patch.Jan Hubicka2-2/+2
From-SVN: r75681
2004-01-11std_complex.h (std::complex<>::real): Return a reference.Gabriel Dos Reis2-36/+148
* include/std/std_complex.h (std::complex<>::real): Return a reference. Add non-const overload. (std::complex<>::real): Likewise. (std::real): Likewise. (std::imag): Likewise. (std::operator+): Tidy. (std::operator-): Likewise. (std::operator*): Likewise. (std::operator/): Likewise. (std::operator>>): Likewise. From-SVN: r75680
2004-01-11Partial fix for PR opt/10776Jan Hubicka5-2/+29
Partial fix for PR opt/10776 * Makefile.in (reload.o): Include param.h * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter. * reload.c: Include params.h. (find_equiv_reg): Work limiting check. * invoke.texi: Document. From-SVN: r75679
2004-01-11re PR libstdc++/13582 (basic_filebuf::imbue drops characters)Paolo Carlini7-17/+359
2004-01-11 Paolo Carlini <pcarlini@suse.de> PR libstdc++/13582 * include/bits/fstream.tcc (imbue): Exploit the external buffer to imbue 'on the fly' a new locale and convert its remainder with the new codecvt facet. (underflow): Tweak slightly to deal with this special case. * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: New. * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Ditto. * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Ditto. * testsuite/27_io/objects/wchar_t/13582-1_xin.cc: Ditto. * testsuite/27_io/objects/wchar_t/13582-1_xin.in: Ditto. From-SVN: r75677
2004-01-112004-01-11 Michael Koch <konqueror@gmx.de>Michael Koch2-12/+23
* gnu/java/lang/reflect/TypeSignature.java (getEncodingOfClass): Documentation fixed. (getClassForEncoding): Give class loader to Class.forName(). Documentation fixed. From-SVN: r75675
2004-01-11CompoundEdit.java (serialVersionUID): Added.Sascha Brawer2-1/+12
2004-01-11 Sascha Brawer <brawer@dandelis.ch> * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added. From-SVN: r75671
2004-01-11mips.c (mips_symbolic_constant_p): Don't allow out-of-bounds accesses to ↵Richard Sandiford2-5/+19
string constants. * config/mips/mips.c (mips_symbolic_constant_p): Don't allow out-of-bounds accesses to string constants. Simplify mips16 case accordingly. From-SVN: r75670
2004-01-11re PR rtl-optimization/13469 (IRIX 6.5 O32 libjava bootstrap failure: ICE in ↵Richard Sandiford2-0/+10
verify_local_live_at_start, at flow.c:557) PR optimization/13469 * toplev.c (rest_of_compilation): Call purge_all_dead_edges after reload_cse_regs (-fnon-call-exceptions only). From-SVN: r75669
2004-01-11lib1.asm: Fix comment formatting.Kazu Hirata6-32/+40
* config/mcore/lib1.asm: Fix comment formatting. * config/mcore/mcore-elf.h: Likewise. * config/mcore/mcore.c: Likewise. * config/mcore/mcore.h: Likewise. * config/mcore/mcore.md: Likewise. From-SVN: r75668
2004-01-11c-decl.c (duplicate_decls): Break apart into...Zack Weinberg12-593/+565
* c-decl.c (duplicate_decls): Break apart into... (diagnose_arglist_conflict, validate_proto_after_old_defn) (locate_old_defn, diagnose_mismatched_decls, merge_decls): ... these new functions. Restructure for comprehensibility. Remove various archaic special cases. Always report the location of the previous declaration when a diagnostic is issued. (redeclaration_error_message): Fold into diagnose_mismatched_decls. (match_builtin_function_types): Delete unnecessary forward declaration. testsuite: * gcc.dg/Wshadow-1.c, gcc.dg/attr-noinline.c, gcc.dg/decl3.c * gcc.dg/redecl-1.c, gcc.dg/visibility-7.c, gcc.dg/wtr-static-1.c * gcc.dg/noncompile/20020220-1.c, objc.dg/method-1.m: Update dg-error regexps. From-SVN: r75667
2004-01-11genautomata.c (make_automaton, [...]): Print progress bars with '.' ↵Zack Weinberg2-7/+13
characters instead of '*'. * genautomata.c (make_automaton, NDFA_to_DFA): Print progress bars with '.' characters instead of '*'. (build_automaton): Change notes to match. From-SVN: r75664
2004-01-1120021123-2.c: Delete; dup of 20021120-1.c.Zack Weinberg3-18/+5
* gcc.c-torture/compile/20021123-2.c: Delete; dup of 20021120-1.c. * gcc.c-torture/compile/20021123-3.c: Delete; dup of 20021120-2.c. From-SVN: r75663
2004-01-11Daily bump.GCC Administrator2-2/+2
From-SVN: r75659
2004-01-102004-01-11 Michael Koch <konqueror@gmx.de>Michael Koch2-1/+6
* javax/swing/undo/StateEditable.java (RCSID): Removed redundant modifiers. From-SVN: r75657
2004-01-10m32r.md: Use define_constants for unspec and unspec_volatile.Kazu Hirata2-18/+30
* config/m32r/m32r.md: Use define_constants for unspec and unspec_volatile. From-SVN: r75656
2004-01-102004-01-10 Michael Koch <konqueror@gmx.de>Michael Koch6-10/+23
* javax/print/attribute/EnumSyntax.java (getStringTable): Made protected. (getEnumValueTable): Likewise. * javax/print/attribute/standard/JobKOctetsProcessed.java (JobKOctetsProcessed): Don't implement PrintRequestAttribute. * javax/print/attribute/standard/JobMediaSheetsCompleted.java (JobMediaSheetsCompleted): Made class final. * javax/print/attribute/standard/OutputDeviceAssigned.java (getName): Fixed typo. * javax/print/attribute/standard/RequestingUserName.java (serialVersionUID): Fixed value. From-SVN: r75655
2004-01-10BasicButtonUI.java, [...]: Fixed import statements.Michael Koch10-47/+90
2004-01-10 Michael Koch <konqueror@gmx.de> * javax/swing/plaf/basic/BasicButtonUI.java, javax/swing/plaf/basic/BasicCheckBoxUI.java, javax/swing/plaf/basic/BasicListUI.java, javax/swing/plaf/basic/BasicOptionPaneUI.java, javax/swing/plaf/basic/BasicPanelUI.java, javax/swing/plaf/basic/BasicRadioButtonUI.java, javax/swing/plaf/basic/BasicScrollPaneUI.java, javax/swing/plaf/basic/BasicToggleButtonUI.java, javax/swing/plaf/basic/BasicViewportUI.java: Fixed import statements. From-SVN: r75654
2004-01-102004-01-10 Michael Koch <konqueror@gmx.de>Michael Koch4-4/+11
* gnu/java/awt/image/ImageDecoder.java (produce): Made public. * gnu/java/awt/peer/GLightweightPeer.java, gnu/java/awt/peer/gtk/GtkToolkit.java: Reformated. From-SVN: r75653
2004-01-10JRadioButtonMenuItem.java, [...]: Fixed import statements.Michael Koch40-144/+250
2004-01-10 Michael Koch <konqueror@gmx.de> * javax/swing/JRadioButtonMenuItem.java, javax/swing/JSeparator.java, javax/swing/JSplitPane.java, javax/swing/JTextPane.java, javax/swing/JToolBar.java, javax/swing/ListCellRenderer.java, javax/swing/ListModel.java, javax/swing/MenuElement.java, javax/swing/OverlayLayout.java, javax/swing/ProgressMonitor.java, javax/swing/ProgressMonitorInputStream.java, javax/swing/Renderer.java, javax/swing/RootPaneContainer.java, javax/swing/Scrollable.java, javax/swing/SingleSelectionModel.java, javax/swing/ToolTipManager.java, javax/swing/ViewportLayout.java, javax/swing/event/DocumentEvent.java, javax/swing/event/SwingPropertyChangeSupport.java, javax/swing/event/TreeSelectionEvent.java, javax/swing/event/UndoableEditEvent.java, javax/swing/text/AbstractDocument.java, javax/swing/text/AttributeSet.java, javax/swing/text/Caret.java, javax/swing/text/ComponentView.java, javax/swing/text/DefaultCaret.java, javax/swing/text/DefaultEditorKit.java, javax/swing/text/Document.java, javax/swing/text/EditorKit.java, javax/swing/text/GapContent.java, javax/swing/text/Keymap.java, javax/swing/text/MutableAttributeSet.java, javax/swing/text/PlainEditorKit.java, javax/swing/text/Segment.java, javax/swing/text/Style.java, javax/swing/text/StyledDocument.java, javax/swing/text/StyledEditorKit.java, javax/swing/text/TextAction.java, javax/swing/text/View.java: Fixed import statements. From-SVN: r75651
2004-01-10Fix pasto.Jan Hubicka1-0/+1
From-SVN: r75650
2004-01-10* expr.c (expand_expr_real): More curefully expand union casts.Jan Hubicka2-1/+10
From-SVN: r75649
2004-01-10lwg-active.html, [...]: Import Revision 28.Paolo Carlini3-743/+1152
2004-01-10 Paolo Carlini <pcarlini@suse.de> * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html: Import Revision 28. From-SVN: r75648
2004-01-10m32r.md (flush_icache): Use 1 for unspec_volatile.Kazu Hirata2-1/+6
* config/m32r/m32r.md (flush_icache): Use 1 for unspec_volatile. From-SVN: r75647
2004-01-10* MAINTAINERS: Add myself as a MIPS maintainer.Richard Sandiford2-1/+5
From-SVN: r75645
2004-01-10re PR debug/12860 (stabs register number out of range)David Edelsohn2-11/+20
2004-01-10 David Edelsohn <edelsohn@gnu.org> James E Wilson <wilson@specifixinc.com> PR debug/12860 * dbxout.c (dbxout_symbol): Remove initialization of current_sym_code, current_sym_value, and current_sym_addr. (dbxout_symbol_location): Same. (dbxout_prepare_symbol): Zero current_sym_code, current_sym_value, and current_sym_addr. From-SVN: r75644
2004-01-10tree.c (get_unwidened): Reorder conditions so that the null pointer check is ↵Richard Sandiford2-3/+8
done first. * tree.c (get_unwidened): Reorder conditions so that the null pointer check is done first. From-SVN: r75639
2004-01-10* gcc.dg/pragma-re-1.c: Use right pointer type.Eric Botcazou2-1/+5
From-SVN: r75638
2004-01-10* g++.dg/eh/simd-1.c: Ajust line number for dg-error line.Eric Botcazou2-1/+6
From-SVN: r75637
2004-01-10re PR libstdc++/13630 (Wrong type for locale::category)Paolo Carlini3-1/+45
2004-01-10 Paolo Carlini <pcarlini@suse.de> PR libstdc++/13630 * include/bits/locale_classes.h (class locale): Fix category typedef. * testsuite/22_locale/locale/13630.cc: Add. From-SVN: r75635
2004-01-10toplev.c (rest_of_handle_cfg): Add reg_scan pass if we're running ↵Eric Christopher2-14/+24
mark_constant_function. 2004-01-09 Eric Christopher <echristo@redhat.com> * toplev.c (rest_of_handle_cfg): Add reg_scan pass if we're running mark_constant_function. From-SVN: r75634
2004-01-09re PR target/12561 (gcc/config/t-gnu needs updating to work with --with-sysroot)Jeff Bailey2-1/+6
2004-01-09 Jeff Bailey <jbailey@nisa.net> PR target/12561 * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR. From-SVN: r75632
2004-01-10* gcc.dg/rs6000-ldouble-1.c: New.Geoffrey Keating2-0/+27
From-SVN: r75631
2004-01-09re PR libobjc/11904 (Problem in sarray_free() function.)Andrew Ruder2-3/+9
2004-01-09 Andrew Ruder <aeruder@ksu.edu> PR libobjc/11904 * sarray.c (sarray_free): Free array->is_copy_of latter. From-SVN: r75630
2004-01-10darwin-ldouble.c: Add big comment explaining exactly what is expected as a ↵Geoffrey Keating3-88/+47
'long double'. * config/rs6000/darwin-ldouble.c: Add big comment explaining exactly what is expected as a 'long double'. (_xlqadd): When a value to be returned is representable as a 'double', just return it directly, do not construct it using a union. Also, correct final fixup. (_xlqmul): Likewise. (_xlqdiv): Likewise. * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c. From-SVN: r75629
2004-01-09re PR debug/11231 (undefined array size inside struct cause segfault with -g)Andrew Pinski2-0/+11
2004-01-09 Andrew Pinski <pinskia@physics.uc.edu> PR debug/11231 * dbxout.c (dbxout_type_fields): Return if any item is error_mark_node or the type is error_mark_node. From-SVN: r75628
2004-01-10* config/rs6000/rs6000.md (fix_trunctfdi2): Delete.Geoffrey Keating2-16/+4
From-SVN: r75627
2004-01-09* recog.c (constrain_operands): Validate mem operands.Richard Henderson2-6/+23
From-SVN: r75624
2004-01-10configure.in: Rename file to ...Kelley Cook5-179/+224
2004-01-09 Kelley Cook <kcook@gcc.gnu.org> * configure.in: Rename file to ... * configure.ac: ... this. * Makefile.in: Update a comment for above change. * README: Likewise. * config.in: Regenerate. From-SVN: r75623
2004-01-10gcc_update (files_and_dependencies): Update fastjar/configure.in to ↵Kelley Cook2-3/+8
fastjar/configure.ac 2004-01-09 Kelley Cook <kcook@gcc.gnu.org> * gcc_update (files_and_dependencies): Update fastjar/configure.in to fastjar/configure.ac From-SVN: r75622
2004-01-10configure.in: Rename file to ...Kelley Cook5-16/+28
2004-01-09 Kelley Cook <kcook@gcc.gnu.org> * configure.in: Rename file to ... * configure.ac: ... this. Add in AC_PREREQ(2.57) * config.h.in: Regenerate. * aclocal.m4: Regenerate. * Makefile.in: Regenerate. From-SVN: r75621
2004-01-10re PR bootstrap/7817 (Link to gcc man page in g++ man page incorrect)Nathanael Nerode2-3/+9
PR bootstrap/7817 * Make-lang.in: Copy gcc.1 to g++.1 rather than using .so. From-SVN: r75620
2004-01-10DR 337 PR c++/9256Giovanni Bajo2-0/+65
DR 337 PR c++/9256 * g++.dg/other/abstract1.C: New test. From-SVN: r75619
2004-01-10DR 337 PR c++/9256Giovanni Bajo3-2/+30
DR 337 PR c++/9256 * pt.c (tsubst): Substitution must fail if we are attempting to create an array with element type that is an abstract class type. * decl.c (cp_finish_decl): Strip pointers and array types recursively before calling abstract_virtuals_error. From-SVN: r75618
2004-01-10locale_facets.h: Make a name really dependent.Giovanni Bajo2-1/+6
* include/bits/locale_facets.h: Make a name really dependent. This will be needed when Core Issue 224 is implemented. From-SVN: r75617
2004-01-10Daily bump.GCC Administrator2-2/+2
From-SVN: r75614
2004-01-09gcc.c (init_spec): Remove -lunwind from shared case.James E Wilson3-12/+13
2004-01-09 James E Wilson <wilson@specifixinc.com> * gcc.c (init_spec): Remove -lunwind from shared case. * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind. From-SVN: r75611
2004-01-09JLayeredPane.java: Rewrite to accomodate djee@redhat.com's recent inverse ↵Graydon Hoare2-67/+52
ordering of Container... 2004-01-08 Graydon Hoare <graydon@redhat.com> * javax/swing/JLayeredPane.java: Rewrite to accomodate djee@redhat.com's recent inverse ordering of Container elements. From-SVN: r75608
2004-01-09name-lookup.c (qualified_lookup_using_namespace): Consider strong using ↵Alexandre Oliva2-9/+19
directives even if we've already found a binding. * name-lookup.c (qualified_lookup_using_namespace): Consider strong using directives even if we've already found a binding. From-SVN: r75599
2004-01-09* g++.dg/lookup/strong-using-1.C: New.Alexandre Oliva2-0/+20
From-SVN: r75598