OSDN Git Service

pf3gnuchains/gcc-fork.git
16 years ago * config/darwin-c.c (add_framework): Copy the directory name as it
mrs [Wed, 5 May 2004 18:25:52 +0000 (18:25 +0000)]
* config/darwin-c.c (add_framework): Copy the directory name as it
can be freed later.  Also, ensure we always allocate enough room
for the cached framework information.
(find_subframework_header): Keep track of the directory where the
subframework header was found.
(framework_construct_pathname): Speed up by not trying to re-add a
framework.
* cppfiles.c (search_path_exhausted): Arrange for the missing
header callback to be able to set the directory where the header
was found.
(cpp_get_dir): Add.
* cpplib.h (missing_header_cb): Add a parameter.
(cpp_get_dir): Add.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81534 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoRestore partial missing damaged in 1.423.
mrs [Wed, 5 May 2004 17:00:43 +0000 (17:00 +0000)]
Restore partial missing damaged in 1.423.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81530 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * osint.adb (Find_Program_Name): Fix handling of VMS version
charlet [Wed, 5 May 2004 13:47:50 +0000 (13:47 +0000)]
* osint.adb (Find_Program_Name): Fix handling of VMS version
number.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81527 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * doc/invoke.texi (Directory Options): Document -iquote.
mrs [Wed, 5 May 2004 12:20:33 +0000 (12:20 +0000)]
* doc/invoke.texi (Directory Options): Document -iquote.
* doc/cpp.texi: Likewise.
* doc/cppopts.texi: Likewise.
* c-opts.c (c_common_missing_argument): Add -iquote processing.
(c_common_handle_option): Likewise.
* c.opt (iquote): Add.
* gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -iquote.
* c-incpath.c (merge_include_chains): Update comment to use -iquote.

* c-opts.c (case OPT_I): Deprecate -I- support.
* doc/invoke.texi: Likewise.
* doc/cpp.texi: Likewise.
* doc/cppopts.texi: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81521 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * basic-block.h (free_basic_block_vars): Update prototype.
steven [Wed, 5 May 2004 10:53:00 +0000 (10:53 +0000)]
* basic-block.h (free_basic_block_vars): Update prototype.
* flow.c (free_basic_block_vars): Remove the keep_head_end_p
argument.
(life_analysis): Update call.
* ifcvt.c (if_convert): Likewise.
* passes.c (rest_of_handle_final): Likewise.
(rest_of_compilation): Likewise.
* sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
* config/sh/sh.c (sh_output_mi_thunk): Likewise.

* emit-rtl.c (next_real_insn): Use INSN_P.
(prev_real_insn): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81520 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-05 Emmanuel Briot <briot@act-europe.fr>
charlet [Wed, 5 May 2004 10:09:56 +0000 (10:09 +0000)]
2004-05-05  Emmanuel Briot  <briot@act-europe.fr>

* g-os_lib.ads (Invalid_Time): New constant

* adaint.h, adaint.c (__gnat_file_time_name, __gnat_file_time_fd): Now
return OS_Time instead of time_t to match what is imported by Ada.
Now return -1 if the file doesn't exist, instead of a random value

2004-05-05  Robert Dewar  <dewar@gnat.com>

* usage.adb: Add line for -gnatR?s switch

* sem_ch13.adb, exp_ch2.adb: Minor reformatting

* g-regpat.ads, g-regpat.adb: Add documentation on handling of Size
and for Match (Data_First, Data_last)

* lib-writ.adb (Write_With_Lines): Ensure that correct index number is
written when we are dealing with multi-unit files.

2004-05-05  Jerome Guitton  <guitton@act-europe.fr>

* Makefile.in: Remove unused targets and variables.

2004-05-05  Vincent Celier  <celier@gnat.com>

* switch-m.adb: New gnatmake switch -eI

* vms_data.ads: Add VMS equivalents of new gnatclean swith -innn and
of new gnatmake switch -eInnn.

* makegpr.adb: Take into account new parameters Index and Src_Index in
Prj.Util.

* clean.adb: Implement support for multi-unit sources, including new
switch -i.

* gnatcmd.adb (GNATCmd): Call Prj.Util.Value_Of with new parameter
Src_Index.

* make.ads, make.adb (Insert_Q): New parameter Index, defaulted to 0
(Extract_From_Q): New out parameter Index
(Mark, Is_Marked): Subprograms moved to Makeutl
(Switches_Of): New parameter Source_Index
(Add_Switch): New parameter Index
(Check): New parameter Source_Index
(Collect_Arguments): New parameter Source_Index
(Collect_Arguments_And_Compile): New parameter Source_Index
(Compile): New parameter Source_Index
Put subprograms in alphabetical order
Add support for multi-source sources, including in project files.

* makeutl.ads, makeutl.adb (Unit_Index_Of): New function
(Mark, Is_Marked, Delete_All_Marks): New subprograms, moved from
Make.

* makeusg.adb: New gnatmake switch -eInnn

* mlib-prj.adb (Build_Library): Add new parameter Src_Index to call to
Prj.Util.Value_Of.

* opt.ads (Main_Index): New variable, defaulted to 0.

* osint.ads, osinte.adb (Add_File): New parameter Index
(Current_Source_Index): New function

* prj.adb: Take into account new components Index and Src_Index

* prj.ads (String_Element): New component Index
(Variable_Value): New component Index
(Array_Element): New component Src_Index

* prj-attr.adb: Indicate that optional index may be specified for
attributes Main, Executable, Spec, Body and some of Switches.

* prj-attr.ads (Attribute_Kind): New values for optional indexes
(Attribute_Record): New component Optional_Index

* prj-com.ads (File_Name_Data): New component Index

* prj-dect.adb (Parse_Attribute_Declaration): Process optional index

* prj-env.adb (Put): Output optional index

* prj-makr.adb: Put indexes for multi-unit sources in SFN pragmas and
attributes Spec and Body.

* prj-nmsc.adb: Process optional indexes

* prj-pp.adb: Ouput "at" for optional indexes

* prj-proc.adb: Take into account optional indexes

* prj-strt.ads, prj-strt.adb (Terms): New Boolean parameter
Optional_Index. For string literal,
process optional index when Optional_Index is True.
(Parse_Expresion): New Boolean parameter Optional_Index

* prj-tree.ads, prj-tree.adb (Source_Index_Of): New function
(Set_Source_Index_Of): New procedure

* prj-util.adb (Executable_Of, Value_Of): Take into account optional
index.

* prj-util.ads (Executable_Of): New parameter Index
(Value_Of (Name_Id, Array_Element_Id) returning Variable_Value):
New parameter Src_Index, defaulted to 0.

2004-05-05  Ed Schonberg  <schonberg@gnat.com>

PR ada/15257
* sem_ch3.adb (Access_Definition): If this is an access parameter
whose designated type is imported through a limited_with clause, do
not add the enclosing subprogram to the list of private dependents of
the type.

2004-05-05  Ed Schonberg  <schonberg@gnat.com>

PR ada/15258
* sem_ch6.adb (Base_Types_Match): True if one type is imported through
a limited_with clause, and the other is its non-limited view.

2004-05-05  Thomas Quinot  <quinot@act-europe.fr>

* cstand.adb (Create_Standard): Initialize Stand.Boolean_Literals.

* exp_attr.adb, exp_ch5.adb, exp_ch9.adb, exp_disp.adb,
exp_fixd.adb, sem_attr.adb, sem_dist.adb, sem_util.adb: Use
Stand.Boolean_Literals to produce references to entities
Standard_False and Standard_True from compile-time computed boolean
values.

* stand.ads (Boolean_Literals): New variable, provides the entity
values for False and True, for use by the expander.

2004-05-05  Doug Rupp  <rupp@gnat.com>

* 5vinmaop.adb, 5[vx]system.ads: Add Short_Address subtype
5vinmaop.adb: Unchecked convert Short_Address vice Address

* adaint.c, raise.c: Caste CRTL function return value
to avoid gcc error on 32/64 bit IVMS.

* Makefile.in [VMS]: Use iar archiver if host = Alpha/VMS and
target = IA64/VMS.

* init.c[VMS]: Only call Alpha specific __gnat_error_prehandler IN_RTS.

* 5qsystem.ads (Address): Declare as Long_Integer
(Short_Address): Declare as 32 bit subtype of Address
Declare  abstract address operations to avoid gratuitous ambiguities.

2004-05-05  Jose Ruiz  <ruiz@act-europe.fr>

* gnat_rm.texi: Use the new restriction Simple_Barriers (AI-249)
instead of the old Boolean_Entry_Barriers.
Ditto for No_Task_Attributes_Package instead of No_Task_Attributes.

2004-05-05  GNAT Script  <nobody@gnat.com>

* Make-lang.in: Makefile automatically updated

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81519 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-05 Mark Wielaard <mark@klomp.org>
mkoch [Wed, 5 May 2004 09:53:50 +0000 (09:53 +0000)]
2004-05-05  Mark Wielaard  <mark@klomp.org>

* javax/swing/AbstractButton.java: Replace special HTML entities with
ASCII equivalent.
* javax/swing/DefaultBoundedRangeModel.java: Likewise.
* javax/swing/DefaultButtonModel.java: Likewise.
* javax/swing/DefaultListModel.java: Likewise.
* javax/swing/JList.java: Likewise.
* javax/swing/JSlider.java: Likewise.
* javax/swing/ListModel.java: Likewise.
* javax/swing/Popup.java: Likewise.
* javax/swing/SwingUtilities.java: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81518 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-05 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 5 May 2004 09:16:18 +0000 (09:16 +0000)]
2004-05-05  Michael Koch  <konqueror@gmx.de>

* javax/swing/AbstractButton.java,
javax/swing/ActionMap.java,
javax/swing/DefaultButtonModel.java,
javax/swing/DefaultListModel.java,
javax/swing/ImageIcon.java,
javax/swing/JComboBox.java,
javax/swing/JComponent.java,
javax/swing/JFrame.java,
javax/swing/JInternalFrame.java,
javax/swing/JMenuBar.java,
javax/swing/JMenuItem.java,
javax/swing/JOptionPane.java,
javax/swing/JProgressBar.java,
javax/swing/JRootPane.java,
javax/swing/JScrollBar.java,
javax/swing/JScrollPane.java,
javax/swing/JSeparator.java,
javax/swing/JSlider.java,
javax/swing/JTabbedPane.java,
javax/swing/JTable.java,
javax/swing/JTextField.java,
javax/swing/JToolBar.java,
javax/swing/JToolTip.java,
javax/swing/JTree.java,
javax/swing/JViewport.java,
javax/swing/JWindow.java,
javax/swing/KeyStroke.java,
javax/swing/LookAndFeel.java,
javax/swing/SwingUtilities.java,
javax/swing/Timer.java,
javax/swing/ToolTipManager.java,
javax/swing/UIDefaults.java,
javax/swing/border/TitledBorder.java,
javax/swing/filechooser/FileSystemView.java,
javax/swing/plaf/basic/BasicButtonListener.java,
javax/swing/plaf/basic/BasicButtonUI.java,
javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
javax/swing/plaf/basic/BasicGraphicsUtils.java,
javax/swing/plaf/basic/BasicLabelUI.java,
javax/swing/plaf/basic/BasicMenuItemUI.java,
javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
javax/swing/plaf/basic/BasicRootPaneUI.java,
javax/swing/plaf/basic/BasicScrollBarUI.java,
javax/swing/plaf/basic/BasicScrollPaneUI.java,
javax/swing/plaf/basic/BasicSliderUI.java,
javax/swing/plaf/basic/BasicTabbedPaneUI.java,
javax/swing/plaf/basic/BasicToggleButtonUI.java,
javax/swing/table/JTableHeader.java,
javax/swing/text/AbstractDocument.java,
javax/swing/text/DefaultCaret.java,
javax/swing/text/StyledEditorKit.java,
javax/swing/tree/DefaultTreeCellEditor.java:
Cleaned up imports.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81517 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-03 Tom Tromey <tromey@redhat.com>
mkoch [Wed, 5 May 2004 08:51:04 +0000 (08:51 +0000)]
2004-05-03  Tom Tromey  <tromey@redhat.com>

* java/net/URLStreamHandler.java (toExternalForm): Removed
unused variables.
* java/math/BigDecimal.java (divide): Removed unused variable.
* java/lang/Throwable.java: Cleaned up imports.
* java/lang/ClassLoader.java: Cleaned up imports.
* java/io/FilePermission.java (implies): Removed unused
variable.
* java/awt/TextComponent.java: Removed unused import.
* gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
* gnu/java/util/DoubleEnumeration.java: Removed unused import.
* gnu/java/text/WordBreakIterator.java: Removed unused import.
* gnu/java/text/SentenceBreakIterator.java: Removed unused
import.
* gnu/java/text/LineBreakIterator.java: Removed unused import.
* gnu/java/text/CharacterBreakIterator.java: Removed
unused import.
* gnu/java/security/provider/DSAKeyPairGenerator.java:
Cleaned up imports.
* gnu/java/security/der/DERWriter.java: Cleaned up imports.
* gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
unused method.
* gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
* gnu/java/nio/FileLockImpl.java: Cleaned up imports.
* gnu/java/io/Base64InputStream.java: Cleaned up imports.
* gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
* gnu/classpath/ServiceFactory.java: Cleaned up imports.
(lookupProviders): Removed unused variable.
(loadNextServiceProvider): Likewise.
* gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81516 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-05 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 5 May 2004 08:47:37 +0000 (08:47 +0000)]
2004-05-05  Michael Koch  <konqueror@gmx.de>

* java/util/prefs/AbstractPreferences.java
(AbstractPreferences): Added parenthesis for clarity.
Closes classpath bug #7940.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81515 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config/mips/mips.md: Update the madd define_split for new mflo/mfhi
rsandifo [Wed, 5 May 2004 08:37:30 +0000 (08:37 +0000)]
* config/mips/mips.md: Update the madd define_split for new mflo/mfhi
representation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81514 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-05 Tom Tromey <tromey@redhat.com>
mkoch [Wed, 5 May 2004 08:32:19 +0000 (08:32 +0000)]
2004-05-05  Tom Tromey  <tromey@redhat.com>

* javax/naming/CompoundName.java (endsWith): Look at correct
element of source name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81513 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-05 Mark Wielaard <mark@klomp.org>
mkoch [Wed, 5 May 2004 08:28:13 +0000 (08:28 +0000)]
2004-05-05  Mark Wielaard  <mark@klomp.org>

Reported by f.haeglsperger@gmx.de [classpath patch #2485]
* java/util/HashMap.java (rehash): Add entry at start of bucket.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81512 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-05 Tom Tromey <tromey@redhat.com>
mkoch [Wed, 5 May 2004 08:24:13 +0000 (08:24 +0000)]
2004-05-05  Tom Tromey  <tromey@redhat.com>

* java/io/BufferedReader.java (skip): Removed unused
variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81511 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-05 Paolo Bonzini <bonzini@gnu.org>
bonzini [Wed, 5 May 2004 07:42:52 +0000 (07:42 +0000)]
2004-05-05  Paolo Bonzini  <bonzini@gnu.org>

* config/rs6000/rs6000.c (build_opaque_vector_type):
New function.
(rs6000_init_builtins): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81509 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * gcc.dg/torture/mips-hilo-2.c: Provide dummy __mips16 version.
rsandifo [Wed, 5 May 2004 07:41:24 +0000 (07:41 +0000)]
* gcc.dg/torture/mips-hilo-2.c: Provide dummy __mips16 version.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81508 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-05 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 5 May 2004 07:38:57 +0000 (07:38 +0000)]
2004-05-05  Michael Koch  <konqueror@gmx.de>

* java/awt/FileDialog.java: Import java.io.Serializable explicitly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81507 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-05 Dalibor Topic <robilad@kaffe.org>
mkoch [Wed, 5 May 2004 07:35:49 +0000 (07:35 +0000)]
2004-05-05  Dalibor Topic  <robilad@kaffe.org>

* java/text/AttributedString.java,
java/text/AttributedStringIterator.java,
java/text/Collator.java,
java/text/DecimalFormatSymbols.java,
java/text/NumberFormat.java,
java/text/RuleBasedCollator.java:
Cleaned up imports.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81506 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoPatch from Bernard Giroud.
wilson [Wed, 5 May 2004 07:31:05 +0000 (07:31 +0000)]
Patch from Bernard Giroud.
* gcc/gcc/vmsdbgout.c (vms_func_node, vms_func_ref): New.
(func_table): Change type from char ** to vms_func_ref.
(write_rtnbeg):  Update to reflect func_table change.  Use
fde->funcdef_number instead of rtnnum in output.
(write_rtnend, vmxdbgout_begin_function, vmsdbgout_init): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81505 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agogcc/ChangeLog:
bonzini [Wed, 5 May 2004 07:23:00 +0000 (07:23 +0000)]
gcc/ChangeLog:
2004-05-04  Paolo Bonzini  <bonzini@gnu.org>
            Richard Henderson  <rth@redhat.com>

        PR target/14899

        * c-common.c (vector_types_convertible_p): New function.
        * c-typeck.c (comptypes): Recurse on vector types.
        (convert_for_assignment): Use vector_types_convertible_p.
        (digest_init): Use vector_types_convertible_p to check
        validness of constant vector initializers; otherwise treat
        them as scalars.
        * tree.c (make_or_reuse_type): New.
        (build_common_tree_nodes): Use it.
        * cp/call.c (standard_conversion): Likewise.
        * cp/typeck.c (comptypes): Recurse on vector types.
        (convert_for_assignment): Use vector_types_convertible_p.
        * config/rs6000/rs6000.c (build_opaque_vector_type):
        New function.
        (rs6000_init_builtins): Use it.

gcc/testsuite/ChangeLog:
2004-05-04  Paolo Bonzini  <bonzini@gnu.org>

* g++.dg/ext/spe1.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81504 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-05 Tom Tromey <tromey@redhat.com>
mkoch [Wed, 5 May 2004 06:52:56 +0000 (06:52 +0000)]
2004-05-05  Tom Tromey  <tromey@redhat.com>

* java/text/Format.java: Cleaned up imports.
* java/text/DecimalFormat.java: Cleaned up imports.
* java/security/SecureRandom.java: Cleaned up imports.
(SecureRandom): Removed unused variable.
* java/security/UnresolvedPermission.java: Cleaned up imports.
* java/util/Date.java (parse): Removed unused variable.
* java/util/ResourceBundle.java: Cleaned up imports.
(getBundle): Removed unused variable.
(tryBundle): Likewise.
* java/util/regex/Pattern.java (Pattern): Removed unused constructor.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81503 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
mkoch [Wed, 5 May 2004 06:02:37 +0000 (06:02 +0000)]
2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>

* java/text/DecimalFormat.java
(MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
(applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
(parse): Fixed handling of exponentiation notation and grouping.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81502 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoDaily bump.
gccadmin [Wed, 5 May 2004 00:16:42 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81498 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-04 Chris Demetriou <cgd@broadcom.com>
cgd [Tue, 4 May 2004 23:57:42 +0000 (23:57 +0000)]
2004-05-04  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.c (override_options): Default to no
        generation of branch-likely operations when tuning for
        CPUs where they tend to have a negative performance impact
        (e.g., SB-1).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81494 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
mkoch [Tue, 4 May 2004 22:14:12 +0000 (22:14 +0000)]
2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>

* java/text/SimpleDateFormat.java:
(formatWithAttribute): New method. It implements
the formatting process with attributes.
(format): Use formatWithAttribute.
(formatToCharacterIterator): New method. Use
formatWithAttribute.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81493 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
mkoch [Tue, 4 May 2004 22:05:25 +0000 (22:05 +0000)]
2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>

* java/text/MessageFormat.java:
(class Field): New class.
(formatToCharacterIterator): New method.
(format): Use formatInternal now.
(formatInternal): New method. String formatter should
be done here (with attributes). Attributes merging supported.
(parse): More documentation.
(getFormatsByArgumentIndex): New method.
(setFormatByArgumentIndex): New method.
(setFormatsByArgumentIndex): New method.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81492 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
mkoch [Tue, 4 May 2004 22:00:30 +0000 (22:00 +0000)]
2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>

* java/text/DecimalFormat.java
(MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
(applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
(parse): Fixed handling of exponentiation notation and grouping.

2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>

* java/text/DecimalFormat.java
(scanFix): Build attribute array. Fixed error reporting.
(applyPatternWithSymbols): Store attributes for the prefix and
suffix.
(formatInternal): New method. Changed the way the string is
computed. Implemented attributes. Cleant up rounding in
exponential notation.
(format): Use formatInternal.
(formatToCharacterIterator): New method.
(exponentRound, negativePrefixRanges, positivePrefixRanges,
negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
New fields.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81491 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-04 Dalibor Topic <robilad@kaffe.org>
mkoch [Tue, 4 May 2004 21:40:42 +0000 (21:40 +0000)]
2004-05-04  Dalibor Topic  <robilad@kaffe.org>

* java/security/interfaces/DSAKeyPairGenerator.java,
java/security/interfaces/DSAPrivateKey.java,
java/security/interfaces/DSAPublicKey.java,
java/security/interfaces/RSAPrivateKey.java,
java/security/interfaces/RSAPublicKey.java:
Cleaned up imports.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81490 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-04 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 4 May 2004 21:31:30 +0000 (21:31 +0000)]
2004-05-04  Michael Koch  <konqueror@gmx.de>

* java/nio/ByteBuffer.java,
java/nio/CharBuffer.java,
java/nio/DoubleBuffer.java,
java/nio/FloatBuffer.java,
java/nio/IntBuffer.java,
java/nio/LongBuffer.java,
java/nio/ShortBuffer.java:
(compareTo): Fixed bogus implementation in all buffer classes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81489 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * expr.c (store_constructor_field): Don't call store_constructor
kenner [Tue, 4 May 2004 19:57:35 +0000 (19:57 +0000)]
* expr.c (store_constructor_field): Don't call store_constructor
if bitsize is not a multiple of a byte.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81487 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-04 Ingo Proetel <proetel@aicas.com>
mkoch [Tue, 4 May 2004 19:27:11 +0000 (19:27 +0000)]
2004-05-04  Ingo Proetel  <proetel@aicas.com>

* java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
        32 bit pixels not 8 bit pixels.
(isCompatibleRaster): Added javadoc comment.

2004-05-04  Ingo Proetel  <proetel@aicas.com>

* java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
scanline stride.

2004-05-04  Ingo Proetel  <proetel@aicas.com>

* java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
(getColorModel): Return the actual color model.
(getRaster): Implemented.
(ColorRaster): New inner class.
* java/awt/SystemColor.java (createContext): Use ColorModel when creating
a PaintContext.
* java/awt/Color.java (<init>): Make exception more verbose.
(createContext): Use ColorModel when creating a PaintContext.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81486 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-04 Ziemowit Laski <zlaski@apple.com>
zlaski [Tue, 4 May 2004 19:03:38 +0000 (19:03 +0000)]
2004-05-04  Ziemowit Laski  <zlaski@apple.com>

        * objc.dg/image-info.m: Allow additional attributes
        for __image_info section.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81483 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-04 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 4 May 2004 18:48:53 +0000 (18:48 +0000)]
2004-05-04  Michael Koch  <konqueror@gmx.de>

* gnu/java/text/CharacterBreakIterator.java
(previous): Removed unused variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81482 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * demangle.h: Do not use C++ reserved keyword typename as
aj [Tue, 4 May 2004 18:13:54 +0000 (18:13 +0000)]
* demangle.h: Do not use C++ reserved keyword typename as
parameter for cplus_demangle_fill_builtin_type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81481 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * reload1.c (inherit_piecemeal_p): New function.
rsandifo [Tue, 4 May 2004 17:57:39 +0000 (17:57 +0000)]
* reload1.c (inherit_piecemeal_p): New function.
(emit_reload_insns): When reloading a group of hard registers, use
inherit_piecemeal_p to decide whether the values of individual hard
registers can be inherited.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81480 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
mkoch [Tue, 4 May 2004 16:27:20 +0000 (16:27 +0000)]
2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>

* gnu/java/text/FormatBuffer.java,
gnu/java/text/AttributedFormatBuffer.java,
gnu/java/text/StringFormatBuffer.java: New classes to implement
attributed iterators in java.text.
* gnu/java/text/FormatCharacterIterator.java: Moved
from java/text as it is an internal class.
* java/text/FormatCharacterIterator.java: Removed.
* java/text/Format.java:
Import gnu.java.text.FormatCharacterIterator.
* Makefile.am (java_source_files): Added new files.
* Makefile.in: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81479 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-04 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 4 May 2004 16:09:38 +0000 (16:09 +0000)]
2004-05-04  H.J. Lu  <hongjiu.lu@intel.com>

* config/ia64/t-ia64 (LIB2ADDEH): Remove gthr-gnat.c.
* config/s390/t-tpf (LIB2ADDEHDEP): Likewise.
* config/t-linux (LIB2ADDEHDEP): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81478 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-04 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Tue, 4 May 2004 14:23:18 +0000 (14:23 +0000)]
2004-05-04  Vladimir Makarov  <vmakarov@redhat.com>

        * MAINTAINERS (Various Maintainers): Add myself.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81477 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config/arm/crti.asm: Push an even number of registers.
pbrook [Tue, 4 May 2004 11:33:56 +0000 (11:33 +0000)]
* config/arm/crti.asm: Push an even number of registers.
* config/arm/crtn.asm: And restore them.  Load via sp.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81473 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-04 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 4 May 2004 08:20:31 +0000 (08:20 +0000)]
2004-05-04  Paolo Bonzini  <bonzini@gnu.org>

* ggc-zone.c (ggc_alloc_zone_1): Add MEM_STAT_DECL parameter.
Collect overhead information.
(ggc_alloc_stat): New name of ggc_alloc.  Add MEM_STAT_DECL
parameter and pass it through.
(ggc_alloc_typed_stat): New name of ggc_alloc_typed.  Add
MEM_STAT_DECL parameter and pass it through.
(ggc_alloc_zone_stat): New name of ggc_alloc_zone.  Add
MEM_STAT_DECL parameter and pass it through.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81472 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-02 Mark Wielaard <mark@klomp.org>
mkoch [Tue, 4 May 2004 05:37:32 +0000 (05:37 +0000)]
2004-05-02  Mark Wielaard  <mark@klomp.org>

* gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81470 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-04 Mark Wielaard <mark@klomp.org>
mkoch [Tue, 4 May 2004 05:32:46 +0000 (05:32 +0000)]
2004-05-04  Mark Wielaard  <mark@klomp.org>

* gnu/java/nio/channels/FileChannelImpl.java
(finalize): New method.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81469 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config/rs6000/rs6000-protos.h: Protoize rs6000_hard_regno_nregs.
aldyh [Tue, 4 May 2004 02:24:51 +0000 (02:24 +0000)]
* config/rs6000/rs6000-protos.h: Protoize rs6000_hard_regno_nregs.

* config/rs6000/rs6000.c (rs6000_hard_regno_nregs): New.

* config/rs6000/rs6000.h (HARD_REGNO_NREGS): Call
rs6000_hard_regno_nregs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81467 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-03 Eric Christopher <echristo@redhat.com>
echristo [Tue, 4 May 2004 01:20:40 +0000 (01:20 +0000)]
2004-05-03  Eric Christopher  <echristo@redhat.com>

        * config/s390/s390.c (s390_emit_prologue): Call unspec tpf
        prologue insn instead of setting up call.
        (s390_emit_epilogue): Ditto.
        * config/s390/s390.md (prologue_tpf, epilogue_tpf): New patterns.
        (define_constants): Add numbers for above patterns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81466 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-03 Eric Christopher <echristo@redhat.com>
echristo [Tue, 4 May 2004 01:16:47 +0000 (01:16 +0000)]
2004-05-03  Eric Christopher  <echristo@redhat.com>

* config/s390/s390.h (CONDITIONAL_REGISTER_USAGE): Move body...
* config/s390/s390.c (s390_conditional_register_usage): ...here.
* config/s390/s390-protos.h: Prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81465 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoDaily bump.
gccadmin [Tue, 4 May 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81461 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoPatch from Joe Buck to workaround HP C bug.
wilson [Mon, 3 May 2004 22:59:50 +0000 (22:59 +0000)]
Patch from Joe Buck to workaround HP C bug.
* cppfiles.c (pchf_adder): Eliminate use of |= in d->have_once_only
assignment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81458 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-03 Eric Christopher <echristo@redhat.com>
echristo [Mon, 3 May 2004 22:28:55 +0000 (22:28 +0000)]
2004-05-03  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.md: Fix branch length attribute definition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81457 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config.gcc: Remove --enable-altivec support.
aldyh [Mon, 3 May 2004 21:29:15 +0000 (21:29 +0000)]
* config.gcc: Remove --enable-altivec support.

* config/rs6000/altivec-defs.h: Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81456 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Mon, 3 May 2004 20:53:05 +0000 (20:53 +0000)]
2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>

* Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
* Makefile.in: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81455 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Mon, 3 May 2004 20:48:13 +0000 (20:48 +0000)]
2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>

* acinclude.m4: Replace -W with more speaking -Wextra.
* aclocal.m4: Regenerate.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81454 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-03 Mark Wielaard <mark@klomp.org>
mkoch [Mon, 3 May 2004 20:23:28 +0000 (20:23 +0000)]
2004-05-03  Mark Wielaard  <mark@klomp.org>

* gnu/java/security/der/DERReader.java: Call static methods staticly.
* java/awt/TextComponent.java (select): Use selectionEnd parameter.
* java/net/URL.java
(set(String, String, int, String, String, String, String, String)):
Assign this.file to path or path + "?" + query.
* java/util/Arrays.java: Call static methods staticly.
* java/util/zip/ZipEntry.java: Likewise.
* javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
dir to this.direction.
* javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
Assign static field only once.
(DefaultTableCellRenderer): Don't reassign noFocusBorder each time.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81453 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-03 Mark Wielaard <mark@klomp.org>
mkoch [Mon, 3 May 2004 20:06:09 +0000 (20:06 +0000)]
2004-05-03  Mark Wielaard  <mark@klomp.org>

* gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
unused variables hScrollbarHeight and vScrollbarWidth.
(preferredSize): Likewise.
* gnu/java/security/provider/DSAParameters.java (engineToString):
Removed unused call to System.getProperty("line.seperator");
* java/security/Security.java (loadProviders): Return result.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81451 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-03 Tom Tromey <tromey@redhat.com>
mkoch [Mon, 3 May 2004 19:52:29 +0000 (19:52 +0000)]
2004-05-03  Tom Tromey  <tromey@redhat.com>

* java/net/URLStreamHandler.java (toExternalForm): Removed
unused variables.
unused constructor.
* java/math/BigDecimal.java (divide): Removed unused variable.
* java/lang/Throwable.java: Cleaned up imports.
* java/lang/ClassLoader.java: Cleaned up imports.
* java/io/FilePermission.java (implies): Removed unused
variable.
* java/awt/TextComponent.java: Removed unused import.
* gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
* gnu/java/util/DoubleEnumeration.java: Removed unused import.
* gnu/java/text/WordBreakIterator.java: Removed unused import.
* gnu/java/text/SentenceBreakIterator.java: Removed unused
import.
* gnu/java/text/LineBreakIterator.java: Removed unused import.
* gnu/java/text/CharacterBreakIterator.java: Removed
unused import.
* gnu/java/security/provider/DSAKeyPairGenerator.java:
Cleaned up imports.
* gnu/java/security/der/DERWriter.java: Cleaned up imports.
* gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
unused method.
* gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
* gnu/java/nio/FileLockImpl.java: Cleaned up imports.
* gnu/java/io/Base64InputStream.java: Cleaned up imports.
* gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
* gnu/classpath/ServiceFactory.java: Cleaned up imports.
(lookupProviders): Removed unused variable.
(loadNextServiceProvider): Likewise.
* gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81450 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Mon, 3 May 2004 19:07:49 +0000 (19:07 +0000)]
2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>

* acinclude.m4: Replace -W with more speaking -Wextra.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81444 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoAdd missing entry for my 2004-04-30 change.
ford [Mon, 3 May 2004 16:56:04 +0000 (16:56 +0000)]
Add missing entry for my 2004-04-30 change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81440 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * fixinc/inclhack.def (svr4_profil): Don't apply on IRIX 5/6.
ro [Mon, 3 May 2004 15:19:16 +0000 (15:19 +0000)]
* fixinc/inclhack.def (svr4_profil): Don't apply on IRIX 5/6.
* fixinc/fixincl.x: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81437 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * 50system.ads, 59system.ads, s-thread.ads: Removed, no longer used.
charlet [Mon, 3 May 2004 15:17:19 +0000 (15:17 +0000)]
* 50system.ads, 59system.ads, s-thread.ads: Removed, no longer used.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81436 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-03 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 3 May 2004 14:40:59 +0000 (14:40 +0000)]
2004-05-03  Michael Koch  <konqueror@gmx.de>

Fixes PR libgcj/14695:
* java/net/NetworkInterface.java
(getByName): Return null when no interface was found.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81434 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config/i386/i386.md (*fyl2x_sfxf3, *fyl2x_dfxf3): Remove insn
uros [Mon, 3 May 2004 13:20:57 +0000 (13:20 +0000)]
    * config/i386/i386.md (*fyl2x_sfxf3, *fyl2x_dfxf3): Remove insn
        definition.
        (log?f2, log10?f2, log2?f2): Reimplement expanders with
        float_truncate insn.
        (*fxtractsf3, *fxtractdf3): Remove insn definition.
        (logb?f2): Reimplement expanders with float_truncate insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81432 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR 14718
grahams [Mon, 3 May 2004 13:13:15 +0000 (13:13 +0000)]
PR 14718
* dwarf2out.c (dwarf2out_imported_module_or_decl): Use
force_type_die for CONST_DECL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81431 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-03 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 3 May 2004 12:14:07 +0000 (12:14 +0000)]
2004-05-03  Paolo Carlini  <pcarlini@suse.de>

Optimize locale::_M_impl->_M_names for the most common cases:
!_M_names[0] means unnamed; !_M_names[1] means all the categories
the same name (_M_names[0] && _M_names[1] means that the full set
of _M_names must be processed, the general case).
* include/bits/locale_classes.h (locale::_Impl::_M_check_same_name):
Tweak, saving work when !_M_names[1].
(locale::locale(const locale&, _Facet*): Simplify: now just setting
_M_names[0] = 0 means unnamed.
* src/locale.cc (locale::operator==): Deal first with the common,
easy cases, otherwise fall back to locale::name().
(locale::name()): Tweak, if !_M_names[0] just return "*".
(locale::_Impl::_Impl(const _Impl&, size_t): Tweak, early stop
copying __imp._M_names if !__imp._M_names[0] or !__imp._M_names[1].
* src/locale_init.cc (locale::_Impl::_Impl(size_t)): Tweak.
* src/localename.cc (locale::_Impl::_Impl(const char*, size_t):
Simplify when !std::strchr, just updating _M_names[0]; clean up.
(locale::_Impl::_M_replace_categories): When !_M_names[1] prepare
for the general case (full set of names), then do the usual work;
clean up.

* src/locale.cc (locale::name()): Reserve space in __ret.
* src/locale_init.cc (locale::global(const locale&)): Save
the name in a temporary.
* src/localename.cc (locale::locale(const char*)): Reserve space
in __str.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81430 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-03 Olivier Hainque <hainque@act-europe.fr>
charlet [Mon, 3 May 2004 11:58:34 +0000 (11:58 +0000)]
2004-05-03  Olivier Hainque  <hainque@act-europe.fr>

PR ada/15152

* exp_ch2.adb (Expand_Current_Value): Leave Machine_Code Asm arguments
alone. Replacing object references by literals is inappropriate in a
so low level context.

2004-05-03  Arnaud Charlet  <charlet@act-europe.fr>

* a-exexpr.adb: Add comments

2004-05-03  Joel Brobecker  <brobecker@gnat.com>

* a-tags.adb (Tag_Table): Add Index_Check pragma Suppress. Allows us to
declare the Ancestor_Tags array in Type_Specific_Data with a small size
without risking a bounds check error when accessing one of its
components.
(Type_Specific_Data): Define Ancestor_Tags as a small array.
This prevents us from hitting a limitation during the debug info
generation when using stabs.

* a-tags.adb (Dispatch_Table): Define the Prims_Ptr component as a
small array.
This prevents us from hitting a limitation during the debug info
generation when using stabs.

2004-05-03  Eric Botcazou  <ebotcazou@act-europe.fr>

lang-specs.h: Remove -gnatz* from specs.

2004-05-03  Vincent Celier  <celier@gnat.com>

* gprmake.adb, makegpr.ads, makegpr.adb: New files.

* Make-lang.in, Makefile.in: Add gprmake

2004-05-03  Thomas Quinot  <quinot@act-europe.fr>

* sem_aggr.adb: Fix typo in comment.

2004-05-03  Robert Dewar  <dewar@gnat.com>

* make.adb: Minor reformatting

* rtsfind.ads, rtsfind.adb: (RTU_Loaded): New function

* sem_attr.adb (Eval_Attribute, case Type_Class): Fix check for address
so that it works when address is not a private type.

* sem_ch13.adb (Check_Expr_Constants, case N_Integer_Literal): Deal
properly with rewritten unchecked conversions. This prevents
order-of-elaboration issues that can otherwise arise.
(Minimum_Size): Don't check size of access types under VMS

* sem_ch4.adb (Remove_Address_Interpretation): New circuit to remove
interpretations of integer literals as type System.Address.

* sem_util.ads, sem_util.adb (Is_Descendent_Of_Address): New function
(Is_Descendent_Of): New function

2004-05-03  Jose Ruiz  <ruiz@act-europe.fr>

* sem_prag.adb: Boolean_Entry_Barriers is a synonym of Simple_Barriers.
Max_Entry_Queue_Depth is a synonym of Max_Entry_Queue_Length.
No_Dynamic_Interrupts is a synonym of No_Dynamic_Attachment.

* sem_res.adb: Use the new restriction Max_Entry_Queue_Length instead
of the old Max_Entry_Queue_Depth.

* snames.adb: Boolean_Entry_Barriers is a synonym of Simple_Barriers.
Max_Entry_Queue_Depth is a synonym of Max_Entry_Queue_Length
No_Dynamic_Interrupts is a synonym of No_Dynamic_Attachment

* snames.ads: New entry for proper handling of Boolean_Entry_Barriers.
New entry for proper handling of Max_Entry_Queue_Depth.
New entry for proper handling of No_Dynamic_Interrupts.

* s-rident.ads: Adding restriction Simple_Barriers (AI-00249) that
supersedes the GNAT specific restriction Boolean_Entry_Barriers.
Adding restriction Max_Entry_Queue_Length (AI-00249) that supersedes
the GNAT specific restriction Max_Entry_Queue_Depth.
Adding restriction No_Dynamic_Attachment (AI-00249) that supersedes
the GNAT specific restriction No_Dynamic_Interrupts.

* restrict.ads, restrict.adb: Use the new restriction Simple_Barriers
instead of the old Boolean_Entry_Barriers.
Use the new restriction No_Dynamic_Attachment instead of the old
No_Dynamic_Interrupts.

* exp_ch9.adb: Check restriction Simple_Barriers (AI-00249) that
supersedes the GNAT specific restriction Boolean_Entry_Barriers.

* gnatbind.adb: Use the new restriction Max_Entry_Queue_Length instead
of the old Max_Entry_Queue_Depth.

2004-05-03  GNAT Script  <nobody@gnat.com>

* Make-lang.in: Makefile automatically updated

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81429 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config.gcc (sparc64-*-solaris2*, sparcv9-*-solaris2*): Add
ebotcazou [Mon, 3 May 2004 10:24:02 +0000 (10:24 +0000)]
* config.gcc (sparc64-*-solaris2*, sparcv9-*-solaris2*): Add
tm-dwarf2.h to tm_file.
(sparc-*-solaris2*): Add tm-dwarf2.h to tm_file for Solaris 7+.
* config/sparc/sol2-bi.h (PREFERRED_DEBUGGING_TYPE): Delete.
(ASM_DEBUG_SPEC): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81428 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoChangeLog missed in my previous commit
giovannibajo [Mon, 3 May 2004 10:13:26 +0000 (10:13 +0000)]
ChangeLog missed in my previous commit

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81427 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR c++/14389
giovannibajo [Mon, 3 May 2004 10:11:19 +0000 (10:11 +0000)]
PR c++/14389
* decl2.c (check_classfn): For member templates, compare also the
template parameters to match the declaration.
* cp-tree.h: Adjust declaration of check_classfn.
* decl.c (start_decl, grokfndecl): Adjust callers of check_classfn.
* friend.c (do_friend): Likewise.
* pt.c (tsubst_friend_function): Likewise.

PR c++/14389
* g++.dg/template/member5.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81426 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-03 Uros Bizjak <uros@kss-loka.si>
uros [Mon, 3 May 2004 05:31:45 +0000 (05:31 +0000)]
2004-05-03  Uros Bizjak  <uros@kss-loka.si>

* optabs.h (enum optab_index): Add new OTI_expm1.
(expm1_optab): Define corresponding macro.
* optabs.c (init_optabs): Initialize expm1_optab.
* genopinit.c (optabs): Implement expm1_optab using expm1?f2
patterns.
* builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXPM1{,F,L}
using expm1_optab.
(expand_builtin): Expand BUILT_IN_EXPM1{,F,L} using
expand_builtin_mathfn if flag_unsafe_math_optimizations is set.

* config/i386/i386.md (expm1df2, expm1sf2, expm1xf2): New expanders
to implement expm1, expm1f and expm1l built-ins as inline x87
intrinsics.

testsuite:

        * gcc.dg/builtins-34.c: Also check expm1*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81425 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2003-11-19 Richard Sandiford <rsandifo@redhat.com>
aoliva [Mon, 3 May 2004 02:16:16 +0000 (02:16 +0000)]
2003-11-19  Richard Sandiford  <rsandifo@redhat.com>
* config/frv/frv.md (*return_true, *return_false): New patterns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81424 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * rtl.h (PHI_NODE_P): Remove.
kazu [Mon, 3 May 2004 01:27:55 +0000 (01:27 +0000)]
* rtl.h (PHI_NODE_P): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81423 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoDaily bump.
gccadmin [Mon, 3 May 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81420 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoRevert my previous store_constructor* change
kenner [Sun, 2 May 2004 22:54:03 +0000 (22:54 +0000)]
Revert my previous store_constructor* change

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81417 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * crontab: Move GCC 3.4 snapshots from Wednesday afternoon to
gerald [Sun, 2 May 2004 17:38:33 +0000 (17:38 +0000)]
* crontab: Move GCC 3.4 snapshots from Wednesday afternoon to
Friday night, where gcc.gnu.org has less load.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81413 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR middle-end/14988
ebotcazou [Sun, 2 May 2004 13:46:23 +0000 (13:46 +0000)]
PR middle-end/14988
* function.c (assign_stack_local_1): Use BITS_PER_UNIT alignment
when passed -2 as 'align'.
(put_var_into_stack): Use 'bool' as the type for the three local
predicates.  Adjust calls to put_reg_into_stack.
When passed a CONCAT, instruct put_reg_into_stack to use
a consecutive stack slot for the second part.
(put_reg_into_stack): Remove 'promoted_mode' parameter, add
'consecutive_p' parameter.  Turn the three predicates into 'bool'
parameters.  Retrieve the register mode from 'reg'.
When consecutive_p is true, instruct assign_stack_local_1 to use
BITS_PER_UNIT alignment.
(put_addressof_into_stack): Use 'bool' as the type for the two
local predicates. Adjust call to put_reg_into_stack.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81411 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * fold-const.c (fold_convert_const, fold): Add missing
ghazi [Sun, 2 May 2004 13:41:20 +0000 (13:41 +0000)]
* fold-const.c (fold_convert_const, fold): Add missing
FIX_ROUND_EXPR case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81410 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * crontab: Adjust temporary directory used for snapshot generation.
gerald [Sun, 2 May 2004 12:44:11 +0000 (12:44 +0000)]
* crontab: Adjust temporary directory used for snapshot generation.
Move GCC 3.3 snapshots to Wednesday 22:32, where gcc.gnu.org has
less load.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81409 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago* configure.ac (FLEX, BISON): Only use tools from the build tree
aoliva [Sun, 2 May 2004 07:48:53 +0000 (07:48 +0000)]
* configure.ac (FLEX, BISON): Only use tools from the build tree
if build equals host.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81406 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago* config/frv/frv-protos.h (frv_expand_epilogue,
aoliva [Sun, 2 May 2004 04:57:47 +0000 (04:57 +0000)]
* config/frv/frv-protos.h (frv_expand_epilogue,
frv_expand_fdpic_call): Add bool argument.
* config/frv/frv.c (frv_function_ok_for_sibcall): New.
(TARGET_FUNCTION_OK_FOR_SIBCALL): Define to it.
(frv_expand_epilogue): Use new argument to decide whether to emit
return instruction or copy the return address to LR.
(frv_expand_fdpic_call): Inline PLT entry when emitting direct
sibcalls.
(sibcall_operand): New.
* config/frv/frv.h (PREDICATE_CODES): call_operand doesn't match
PLUS nor LABEL_REF.  Add sibcall_operand.
* config/frv/frv.md (call, call_value): Pass false to
frv_expand_fdpic_call.
(call_fdpicdi, call_value_fdpicdi): Insert %i0 in calll.
(sibcall, sibcall_internal, sibcall_fdpicdi, sibcall_value,
sibcall_value_internal, sibcall_value_fdpicdi): New.
(return_unsigned_true, return_unsigned_false): New.
(epilogue): Adjust call to frv_expand_epilogue.
(sibcall_epilogue): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81405 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago* config/frv/frv.h (ASM_SPEC): Pass -mno-fdpic as -mnopic.
aoliva [Sun, 2 May 2004 04:50:04 +0000 (04:50 +0000)]
* config/frv/frv.h (ASM_SPEC): Pass -mno-fdpic as -mnopic.
(CPP_SPEC, CPP_SIMPLE_SPEC): Undefine __FRV_ACC__ and __FRV_FPR__
before redefining them.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81404 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * builtins.c (fold_fixed_mathfn): New function.
ghazi [Sun, 2 May 2004 02:53:05 +0000 (02:53 +0000)]
* builtins.c (fold_fixed_mathfn): New function.
(fold_builtin_lround, fold_builtin): Use it.

testsuite:
* gcc.dg/torture/builtin-integral-1.c: Reorg and add more cases.
* gcc.dg/torture/builtin-convert-3.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81403 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoDaily bump.
gccadmin [Sun, 2 May 2004 00:16:10 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81400 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config/sparc/linux64.h (TARGET_DEFAULT): Make 64-bit by default
jakub [Sat, 1 May 2004 21:12:55 +0000 (21:12 +0000)]
* config/sparc/linux64.h (TARGET_DEFAULT): Make 64-bit by default
also for TARGET_CPU_DEFAULT == TARGET_CPU_ultrasparc3.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81396 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * decl.c (reshape_init): Do not apply TYPE_DOMAIN to a VECTOR_TYPE.
zack [Sat, 1 May 2004 19:12:46 +0000 (19:12 +0000)]
* decl.c (reshape_init): Do not apply TYPE_DOMAIN to a VECTOR_TYPE.
Instead, dig into the representation type to find the array bound.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81393 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config/cris/cris.h: Revert my "fix comment typos" patch.
kazu [Sat, 1 May 2004 16:27:45 +0000 (16:27 +0000)]
* config/cris/cris.h: Revert my "fix comment typos" patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81392 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoTARGET->TUNE in last entry.
rsandifo [Sat, 1 May 2004 12:57:13 +0000 (12:57 +0000)]
TARGET->TUNE in last entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81391 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config/mips/mips.h (TARGET_MACC_CHAINS): Fix comment.
rsandifo [Sat, 1 May 2004 12:55:23 +0000 (12:55 +0000)]
* config/mips/mips.h (TARGET_MACC_CHAINS): Fix comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81390 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config/alpha/alpha.md (builtin_insbl, builtin_inswl,
falk [Sat, 1 May 2004 12:26:28 +0000 (12:26 +0000)]
* config/alpha/alpha.md (builtin_insbl, builtin_inswl,
builtin_insll): Disallow 0 as first input operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81387 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config/alpha/alpha.c (alpha_rtx_costs): Fix shiftadd costs.
falk [Sat, 1 May 2004 12:21:51 +0000 (12:21 +0000)]
* config/alpha/alpha.c (alpha_rtx_costs): Fix shiftadd costs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81386 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR middle-end/15054
uweigand [Sat, 1 May 2004 11:37:39 +0000 (11:37 +0000)]
PR middle-end/15054
* expr.c (expand_expr_real): Do not call preserve_temp_slots
on a TARGET_EXPR temp.
* function.c (assign_stack_temp_for_type): Set 'keep' flag for
TARGET_EXPR temp slots.

PR middle-end/15054
* g++.dg/opt/pr15054.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81384 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-05-01 Paolo Bonzini <bonzini@gnu.org>
bonzini [Sat, 1 May 2004 09:36:55 +0000 (09:36 +0000)]
2004-05-01  Paolo Bonzini  <bonzini@gnu.org>

        * simplify-rtx.c (simplify_ternary_operation): When
        converting an IF_THEN_ELSE to a relational op, return
        correct mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81383 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * builtins.c (fold_builtin_round): Fix comment typo.
ghazi [Sat, 1 May 2004 01:51:33 +0000 (01:51 +0000)]
* builtins.c (fold_builtin_round): Fix comment typo.
(fold_builtin_lround): New function.
(fold_builtin): Use it.

testsuite:
* gcc.dg/torture/builtin-rounding-1.c: New test.
* gcc.dg/builtins-25.c: Delete.
* gcc.dg/builtins-29.c: Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81380 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago2004-04-20 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sat, 1 May 2004 00:48:33 +0000 (00:48 +0000)]
2004-04-20  Andrew Pinski  <pinskia@physics.uc.edu>

        PR target/11608
        * config/sh/elf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Update and make it
        more like the one in config/dbxelf.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81379 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoDaily bump.
gccadmin [Sat, 1 May 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81376 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * tree.h (SET_ARRAY_OR_VECTOR_CHECK): Rename to SET_OR_ARRAY_CHECK
zack [Sat, 1 May 2004 00:08:17 +0000 (00:08 +0000)]
* tree.h (SET_ARRAY_OR_VECTOR_CHECK): Rename to SET_OR_ARRAY_CHECK
and adjust definition accordingly.
(TYPE_DOMAIN): Allow only SET_TYPE and ARRAY_TYPE.
(TYPE_DEBUG_REPRESENTATION_TYPE): Allow only VECTOR_TYPE.
* expr.c (store_constructor): Do not access TYPE_DOMAIN of a
VECTOR_TYPE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81373 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR c++/14587
jason [Fri, 30 Apr 2004 22:26:48 +0000 (22:26 +0000)]
    PR c++/14587
        * config/i386/winnt.c (associated_type): Look for attributes on
        the TYPE_MAIN_VARIANT of *this.
        * attribs.c (decl_attributes): If ATTR_FLAG_TYPE_IN_PLACE, also
        apply the attributes to the variants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81369 138bc75d-0d04-0410-961f-82ee72b054a4

16 years agoTrivial comment typo in previous change.
pbrook [Fri, 30 Apr 2004 20:35:15 +0000 (20:35 +0000)]
Trivial comment typo in previous change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81367 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config.gcc: Simplify arm --with-{cpu,tune} test.
pbrook [Fri, 30 Apr 2004 20:29:23 +0000 (20:29 +0000)]
* config.gcc: Simplify arm --with-{cpu,tune} test.
* config/arm/arm-cores.def: Document whitespace restrictions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81365 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago PR other/1963
ro [Fri, 30 Apr 2004 20:09:51 +0000 (20:09 +0000)]
PR other/1963
* config/alpha/osf.h (SWITCHES_NEED_SPACES): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81363 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * config/i386/cygming.h [HAVE_GAS_PE_SECREL32_RELOC]
ford [Fri, 30 Apr 2004 18:50:28 +0000 (18:50 +0000)]
* config/i386/cygming.h [HAVE_GAS_PE_SECREL32_RELOC]
(DWARF2_DEBUGGING_INFO): Define to enable.
(DBX_REGISTER_NUMBER): Define to use the svr4 register map for
DWARF2.
* configure.ac (Target-specific assembler checks)
<i[34567]86-*-[cygwin*|pe|mingw32*]>: New test for .secrel32
relocs.
* configure: Regenerate.
* config.in: Likewise.

* config/i386/cygming.h [HAVE_GAS_PE_SECREL32_RELOC]
(ASM_OUPUT_DWARF_OFFSET): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81359 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
rmathew [Fri, 30 Apr 2004 18:19:37 +0000 (18:19 +0000)]
* testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
additional option "-Wmissing-prototypes" for compiling C sources.
Print actual filename for pass/fail rather than $name.c.
* testsuite/libjava.jni/PR15133.java: New testcase file.
* testsuite/libjava.jni/PR15133.c: Likewise.
* testsuite/libjava.jni/PR15133.out: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81358 138bc75d-0d04-0410-961f-82ee72b054a4

16 years ago Fixes PR java/15133
rmathew [Fri, 30 Apr 2004 18:14:07 +0000 (18:14 +0000)]
Fixes PR java/15133
* gjavah.c (struct method_name): Add member is_native.
(overloaded_jni_method_exists_p): Match candidate method only if
it is native.
(print_method_info): Initialise is_native flag from the method's
access flags.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81357 138bc75d-0d04-0410-961f-82ee72b054a4