aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-01-12[multiple changes]Arnaud Charlet1-3/+25
2004-01-12 Javier Miranda <miranda@gnat.com> * sem_ch12.adb: Addition of Component_Definition node. 2004-01-12 Ed Schonberg <schonberg@gnat.com> PR ada/13417 * sem_ch12.adb (Analyze_Formal_Package): Diagnose properly an attempt to use a generic package G as a formal package for another generic declared within G. From-SVN: r75713
2004-01-12[multiple changes]Arnaud Charlet4-6/+42
2004-01-12 Arnaud Charlet <charlet@act-europe.fr> PR ada/13572 * bld.adb (Recursive_Process): Reference prefix/share/gnat instead of prefix/share/make * Makefile.generic: Update copyright. Add license notice. * Makefile.in (ADA_SHARE_MAKE_DIR): Set to prefix/share/gnat instead of prefix/share/make. * Makefile.prolog: Update copyright. Add license notice. 2004-01-12 Bernard Banner <banner@gnat.com> * Makefile.in: map 86numaux to a-numaux for x86_64 From-SVN: r75712
2004-01-12alias.c: Invlude varray.hJan Hubicka7-68/+51
* alias.c: Invlude varray.h (alias_sets): Turn into varray. (get_alias_set_entry): Use VARRAY; mark inline. (mems_in_disjoint_alias_sets_p): Mark inline. (record_alias_subset): Use varray. (init_alias_once): Initialize varray. (new_alias_set): Grow array. * varray.c: Make VARRAY_GENERIC_PTR non GTYized. From-SVN: r75711
2004-01-12Partial fox for PR opt/10776 IIJan Hubicka5-2/+25
Partial fox for PR opt/10776 II * cselib.c: Include params.h (cselib_invalidate_mem): Limit amount of nonconflicting memory locations. * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New. * Makefile.in (cselib.o): Depend on params.h From-SVN: r75710
2004-01-12combine.c (combine_simplify_rtx): Don't pass VOIDmode to ↵Richard Sandiford2-0/+7
simplify_unary_operation if the operand has a known mode. * combine.c (combine_simplify_rtx): Don't pass VOIDmode to simplify_unary_operation if the operand has a known mode. From-SVN: r75709
2004-01-12rs6000.c (word_offset_memref_operand): New predicate to handle 'ld' conform ↵Hartmut Penner5-9/+54
addresses. * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New predicate to handle 'ld' conform addresses. * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y' contraint. (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint are memory contraints. * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand): New prototype. * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64): Change 'o' to 'Y' constraint. (*movdf_softfloat64): Ditto. From-SVN: r75707
2004-01-12testsuite_hooks.h (__gnu_test::try_mkfifo): Declare it.Mark Mitchell13-31/+55
* testsuite/testsuite_hooks.h (__gnu_test::try_mkfifo): Declare it. * testsuite/testsuite_hooks.cc (__gnu_test::try_mkfifo): Define it. * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use try_mkfifo and remove Cygwin XFAIL. * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise. * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise. * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise. * testsuite/27_io/objects/char/7.cc: Likewise. * testsuite/27_io/objects/char/9661-1.cc: Likewise. * testsuite/27_io/objects/wchar_t/7.cc: Likewise. * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise. From-SVN: r75706
2004-01-12m68k.md: Switch from the "*..." syntax to the brace-enclosed syntax in all C ↵Bernardo Innocenti2-1146/+967
output... * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the brace-enclosed syntax in all C output statements. From-SVN: r75705
2004-01-11re PR target/13401 (Traceback table does not conform to PowerPC 64 ABI)David Edelsohn2-9/+16
PR target/13401 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Objective-C language type value is 14. From-SVN: r75704
2004-01-12re PR target/12148 (longstanding m68k libgcc.a bug when using ` -mshort')Markus F.X.J. Oberhumer2-20/+27
PR c/12148 * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of `int' in a number of places to make sure we always have a SImode and not a HImode. Add a 'L' suffix to a number of constants. From-SVN: r75703
2004-01-12pa.c: Don't include obstack.h.John David Anglin3-2/+7
* pa.c: Don't include obstack.h. * pa.md: Correct constraint in pattern for loading PIC label address. From-SVN: r75702
2004-01-12linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine before defining.Kaz Kojima2-1/+8
* config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine before defining. From-SVN: r75701
2004-01-12Daily bump.GCC Administrator2-2/+2
From-SVN: r75698
2004-01-11New test.Richard Henderson1-0/+9
From-SVN: r75696
2004-01-11re PR fortran/9972 (Failure of g77.f-torture/execute/980520-1.f)Steven Bosscher3-12/+12
PR fortran/9972 * toplev.c (rest_of_handle_inlining): Also consider functions for deferral if the language is GNU F77. testsuite: * 980520-1.x: Removed. From-SVN: r75692
2004-01-11c-decl.c (diagnose_arglist_conflict): Add missing space to diagnostic messages.Zack Weinberg2-2/+7
* c-decl.c (diagnose_arglist_conflict): Add missing space to diagnostic messages. From-SVN: r75691
2004-01-11* gcc.dg/tls/diag-3.c: Tweak dg-error regexp.Zack Weinberg2-1/+5
From-SVN: r75690
2004-01-11re PR c++/3478 (Accepts invalid "enum typename")Ian Lance Taylor3-1/+22
PR c++/3478 * g++.dg/parse/error10.C: New test. * g++.dg/template/arg2.C: Accept "invalid type" error. From-SVN: r75689
2004-01-11re PR c++/3478 (Accepts invalid "enum typename")Ian Lance Taylor2-1/+22
PR c++/3478 * parser.c (cp_parser_decl_specifier_seq): If the first decl_spec is error_mark_node, don't add any more decl_specs. (cp_parser_init_declarator): After committing to a declaration, if the decl_specifiers start with error_mark_node, issue an error and change the type to "int". From-SVN: r75688
2004-01-11Update Copyright year.Jakub Jelinek1-1/+1
From-SVN: r75685
2004-01-11re PR middle-end/13392 (ICE in convert_from_eh_region_ranges_1, at ↵Jakub Jelinek4-35/+34
except.c:1133) PR middle-end/13392 * builtins.c (expand_builtin_expect_jump): Handle conditional jumps to drop through label. Don't fall back to SCC even when conditional jump has not been found. * g++.dg/opt/expect2.C: New test. From-SVN: r75684
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