]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
20 years agore PR c/456 (constant expressions constraints (gcc.dg/c90-const-expr-1))
Joseph Myers [Wed, 11 Feb 2004 23:50:45 +0000 (23:50 +0000)] 
re PR c/456 (constant expressions constraints (gcc.dg/c90-const-expr-1))

PR c/456
* cppexp.c (num_binary_op): Don't allow comma operators in #if
constant expressions at all outside C99 mode if pedantic.

testsuite:
* gcc.dg/cpp/c90-if-comma-1.c, gcc.dg/cpp/c99-if-comma-1.c:
New tests.

From-SVN: r77676

20 years agooptabs.h (enum optab_index): Add new OTI_log10 and OTI_log2.
Uros Bizjak [Wed, 11 Feb 2004 23:39:41 +0000 (00:39 +0100)] 
optabs.h (enum optab_index): Add new OTI_log10 and OTI_log2.

2004-02-11  Uros Bizjak  <uros@kss-loka.si>

* optabs.h (enum optab_index): Add new OTI_log10 and OTI_log2.
(log10_optab, log2_optab): Define corresponding macros.
* optabs.c (init_optabs): Initialize log10_optab and log2_optab.
* genopinit.c (optabs): Implement log10_optab and log2_optab
using log10?f2 and log2?f2 patterns.
* builtins.c (expand_builtin_mathfn): Handle BUILT_IN_LOG10{,F,L}
using log10_optab, and BUILT_IN_LOG2{,F,L} using log2_optab.
(expand_builtin): Expand BUILT_IN_LOG10{,F,L} and BUILT_IN_LOG2{,F,L}
using expand_builtin_mathfn if flag_unsafe_math_optimizations is set.

* config/i386/i386.md (log10sf2, log10df2, log10xf2, log2sf2,
log2df2, log2xf2): New patterns to implement log10, log10f, log10l,
log2, log2f and log2l built-ins as inline x87 intrinsics.

* gcc.dg/builtins-33.c: New test.

From-SVN: r77675

20 years agoflow.c (insn_dead_p): A clobber of a dead hard register is a dead insn after reload.
Richard Henderson [Wed, 11 Feb 2004 22:05:08 +0000 (14:05 -0800)] 
flow.c (insn_dead_p): A clobber of a dead hard register is a dead insn after reload.

* flow.c (insn_dead_p): A clobber of a dead hard register is a
dead insn after reload.

From-SVN: r77674

20 years agotree.h (frame_base_decl): Add GTY marker.
Ulrich Weigand [Wed, 11 Feb 2004 20:16:07 +0000 (20:16 +0000)] 
tree.h (frame_base_decl): Add GTY marker.

* tree.h (frame_base_decl): Add GTY marker.
* var-tracking.c (frame_base_decl): Likewise.

From-SVN: r77671

20 years ago2004-02-11 Michael Koch <konqueror@gmx.de>
Michael Koch [Wed, 11 Feb 2004 18:22:09 +0000 (18:22 +0000)] 
2004-02-11  Michael Koch  <konqueror@gmx.de>

* java/net/DatagramSocket.java
(setReuseAddress): Use Boolean.valueOf() instead of creating a new
Boolean object.
(setBroadcast): Likewise.
* java/net/MulticastSocket.java
(setLoopbackMode): Likewise.
* java/net/ServerSocket.java
(setReuseAddress): Likewise.
* java/net/Socket.java
(setTcpNoDelay): Likewise.
(setSoLinger): Likewise.
(setOOBInline): Likewise.
(setKeepAlive): Likewise.
(setReuseAddress): Likewise.
* java/net/URLConnection.java
(setContentHandler): Replace == with equals().
* java/net/URLStreamHandler.java
(hostSEquals): Fix checking host addresses.
(toExternalForm): Dont check protocol for null. We know already its
not null.

From-SVN: r77670

20 years agodwarf2out.c (output_loc_list): Remove no longer necessary, and now incorrect, hunk.
Daniel Berlin [Wed, 11 Feb 2004 18:10:49 +0000 (18:10 +0000)] 
dwarf2out.c (output_loc_list): Remove no longer necessary, and now incorrect, hunk.

2004-02-11  Daniel Berlin  <dberlin@dberlin.org>

* dwarf2out.c (output_loc_list): Remove no longer necessary, and now
incorrect, hunk.
(add_location_or_const_value_attribute): Use text_section_label,
not TEXT_SECTION_NAME.

From-SVN: r77669

20 years agoconfigure.in (powerpc-*-aix*): Add target-libada to noconfigdirs.
David Edelsohn [Wed, 11 Feb 2004 17:31:24 +0000 (17:31 +0000)] 
configure.in (powerpc-*-aix*): Add target-libada to noconfigdirs.

        * configure.in (powerpc-*-aix*): Add target-libada to noconfigdirs.
        (rs6000-*-aix*): Same.
        * configure: Regenerate.

From-SVN: r77668

20 years agoconfigure.in (host): Add in missing $noconfigdirs to defines.
Kelley Cook [Wed, 11 Feb 2004 15:49:55 +0000 (15:49 +0000)] 
configure.in (host): Add in missing $noconfigdirs to defines.

2004-02-11  Kelley Cook  <kcook@gcc.gnu.org>

* configure.in (host): Add in missing $noconfigdirs to defines.
* configure: Regenerate.

From-SVN: r77665

20 years ago* g++.dg/simd-2.C: Set -maltivec for ppc64.
Hartmut Penner [Wed, 11 Feb 2004 15:43:28 +0000 (15:43 +0000)] 
* g++.dg/simd-2.C: Set -maltivec for ppc64.

From-SVN: r77664

20 years agoRepresent column numbers using line-map's source_location.
Per Bothner [Wed, 11 Feb 2004 15:29:30 +0000 (07:29 -0800)] 
Represent column numbers using line-map's source_location.

The "next available source_location" is now managed internally by
line-maps.c rather than by clients.
* line-map.h (struct line_map):  New field column_bits.
<from_line>:  Rename field to start_location.
(struct line_maps):  New fields highest_location and max_column_hint.
(linemap_check_files_exited):  New declaration.
(linemap_line_start):  New declaration.
(linemap_add):  Remove from_line parameter; use highest_location field.
(SOURCE_LINE, LAST_SOURCE_LINE):  Modify to use column_bits.
(SOURCE_COLUMN, LAST_SOURCE_LINE_LOCATION):  New macros.
(CURRENT_LINE_MAP):  Remove macro.
(linemap_position_for_column):  New inline function.
* line-map.c (linemap_init):  Clear new fields.
(linemap_check_files_exited):  New function, extracted from ...
(linemap_free):  Use linemap_check_files_exited.
(linemap_add):  Remove from_line parameter.  Various updates.
(linemap_line_start):  New function.
(linemap_lookeup):  Update for new field names.
* cpphash.h (struct cpp_reader) <map>:  Field removed.  Because
linemap_position_for_column may unpredictably change the current map,
it is cleaner and simpler for us to not cache it in cpp_reader.
(struct cpp_buffer):  New sysp field.
Changed warned_cplusplus_comments and from_stage3 to bitfields.
* cppinit.c (cpp_read_min_file):  pfile->map no longer exists.
* cpplib.c (do_line, do_linemarker, _cpp_do_file_change):  Get
current map using linemap_lookup.
(do_linemarker):  Also set buffer's sysp field.
(destringize_and_run):  No longer need to decrement current line.
* cppfiles.c (_cpp_stack_file):  Set sysp from and in buffer.
(search_path_head, open_file_failed):  Use buffer's sysp.
(cpp_make_system_header):  Get current map using linemap_lookup.
Also set buffer's sysp flag.
* cppmacro.c (_cpp_builtin_macro_text):  Likewise use linemap_lookup.
* cpphash.h (CPP_INCREMENT_LINE):  New macro.
(struct cpp_buffer):  Moved fields saved_cur, saved_rlimit to ...
(struct cpp_reader):  ... and adding saved_line_base field.
* cpptrad.c (_cpp_overlay_buffer, _cpp_remove_overlay):
Update accordingly.  Don't adjust line.
(_cpp_scan_out_logical_line):  Use CPP_INCREMENT_LINE.
* cpphash.c (CPP_IN_SYSTEM_HEADER):  Replaced macro by ...
(cpp_in_system_header):  ... new inline function, using buffer's sysp.
* cpperror.c (_cpp_begin_message):  Update to use cpp_in_system_header.
* cpplex.c (_cpp_lex_direct):  Likewise.
* cppmacro.c (_cpp_builtin_macro_text):  Likewise.
* cppmacro.c (_cpp_create_definition):  Use buffer's sysp field.
* cpplib.h (struct cpp_token):  Rename line field to src_loc.
Remove col field as it is now subsumed by src_loc.
* cpperror.c:  Update various field, parameter, and macro names.
(print_location):  If col==0, try SOURCE_COLUMN of line.
(cpp_error):  Use cur_token's src_loc field, rather than line+col.
* cpplib.c (do_diagnostic):  Token's src_loc fields replaces line+col.
* cpplex.c (_cpp_process_line_notes, _cpp_lex_direct,
_cpp_skip_block_comment):  Use CPP_INCREMENT_LINE.
(_cpp_temp_token):  Replace cpp_token's line+col fields by src_loc.
(_cpp_get_fresh_line):  Don't need to adjust line for missing newline.
(_cpp_lex_direct):  Use linemap_position_for_column.
* c-ppoutput.c (maybe_print_line, print_line):  Don't take map
parameter.  Instead get it from the line_table global.  Adjust callers.
(print):  Remove map field.  Replace line field to src_line.
(init_pp_output, account_for_newlines, maybe_print_line):  Adjust.
(cb_line_change):  Use SOURCE_COLUMN.  Minor optimizations.
(pp_file_change):  Use MAIN_FILE_P since we cannot checked print.map.
Use LAST_SOURCE_LINE_LOCATION to "catch up" after #include.
* cpptrad.c (copy_comment):  Rename variable.
* c-lex.c (map):  Remove static variable, for same reason we removed
cpp_reader's map field.
(cb_line_change, cb_def_pragma, cb_define, cb_undef):  Hence we need
to call linemap_lookup.
(cb_line_change):  Token's line field replaced by src_loc.
(fe_file_change):  Use MAINFILE_P and LAST_SOURCE_LINE macros.
Don't save new_map.

* cpphash.h, cpperror.c, cpplib.h:  Some renames of fileline to
source_location.

From-SVN: r77663

20 years agofix changelog entry
Aldy Hernandez [Wed, 11 Feb 2004 15:05:23 +0000 (15:05 +0000)] 
fix changelog entry

From-SVN: r77660

20 years agoaltivec.md (*movv4si_internal): At least one operand must be register_operand.
Hartmut Penner [Wed, 11 Feb 2004 14:30:13 +0000 (14:30 +0000)] 
altivec.md (*movv4si_internal): At least one operand must be register_operand.

     * config/rs6000/altivec.md (*movv4si_internal): At least one
       operand must be register_operand.
       (*movv8hi_internal1): Likewise.
       (*movv16qi_internal1): Likewise.
       (*movv4sf_internal1): Likewise.

From-SVN: r77654

20 years agospe.md ("*movv2si_internal"): Check for register operand.
Aldy Hernandez [Wed, 11 Feb 2004 12:37:21 +0000 (12:37 +0000)] 
spe.md ("*movv2si_internal"): Check for register operand.

        * config/rs6000/spe.md ("*movv2si_internal"): Check for register
        operand.

From-SVN: r77651

20 years agore PR libstdc++/14078 (Manipulators are slow)
Paolo Carlini [Wed, 11 Feb 2004 12:08:23 +0000 (12:08 +0000)] 
re PR libstdc++/14078 (Manipulators are slow)

2004-02-10  Paolo Carlini  <pcarlini@suse.de>
    Petur Runolfsson  <peturr02@ru.is>

PR libstdc++/14078
* include/std/std_istream.h (operator>>(__istream_type& (*)
(__istream_type&)), operator>>(__ios_type& (*)(__ios_type&)),
operator>>(ios_base& (*)(ios_base&))): Declare inline.
* include/std/std_ostream.h (operator<<(__ostream_type& (*)
(__ostream_type&)), operator<<(__ios_type& (*)(__ios_type&)),
operator<<(ios_base& (*) (ios_base&))): Likewise.
* testsuite/performance/27_io/fmtflags_manipulators.cc: New.

Co-Authored-By: Petur Runolfsson <peturr02@ru.is>
From-SVN: r77650

20 years ago* gcc.dg/pr14092-1.c: Use intptr_t for the cast.
Paolo Bonzini [Wed, 11 Feb 2004 11:53:38 +0000 (11:53 +0000)] 
* gcc.dg/pr14092-1.c: Use intptr_t for the cast.

From-SVN: r77649

20 years agoFix typo in last entry.
Richard Sandiford [Wed, 11 Feb 2004 10:45:57 +0000 (10:45 +0000)] 
Fix typo in last entry.

From-SVN: r77646

20 years agomips.h (TARGET_OLDABI): Define.
Thiemo Seufer [Wed, 11 Feb 2004 10:15:17 +0000 (10:15 +0000)] 
mips.h (TARGET_OLDABI): Define.

* config/mips/mips.h (TARGET_OLDABI): Define. Use TARGET_NEWABI and
TARGET_LODABI consistently.
* config/mips/mips.c (function_arg,mips_setup_incoming_varargs,
mips_va_arg,override_options,compute_frame_size,
mips_initial_elimination_offset,mips16_fp_args,build_mips16_call_stub
,mips_return_in_memory,mips_strict_argument_naming): Use TARGET_NEWABI
and TARGET_LODABI consistently.
* config/mips/mips.md (exception_receiver): Likewise.
* config/mips/linux64.h: Likewise.

From-SVN: r77643

20 years ago* gcc/config/rs6000/rs6000.c (rs6000_override_options)
Hartmut Penner [Wed, 11 Feb 2004 09:00:08 +0000 (09:00 +0000)] 
* gcc/config/rs6000/rs6000.c (rs6000_override_options)
       Set AltiVec ABI and vrsave as default for ppc64 linux.
       (init_cumulative_args): Post error, if try to return
       value in AltiVec register without enable AltiVec.
       (function_arg_advance): Ditto for passing arguments.

From-SVN: r77642

20 years agoemit-rtl.c (mark_label_nuses): Check that a LABEL_REF refers to a label before updati...
Richard Sandiford [Wed, 11 Feb 2004 08:06:00 +0000 (08:06 +0000)] 
emit-rtl.c (mark_label_nuses): Check that a LABEL_REF refers to a label before updating its usage count.

* emit-rtl.c (mark_label_nuses): Check that a LABEL_REF refers to
a label before updating its usage count.

From-SVN: r77640

20 years agore PR libstdc++/14097 ([3.4 only] Severe disparity between stdio_filebuf and stdio_sy...
Loren J. Rittle [Wed, 11 Feb 2004 05:21:57 +0000 (05:21 +0000)] 
re PR libstdc++/14097 ([3.4 only] Severe disparity between stdio_filebuf and stdio_sync_filebuf.)

PR libstdc++/14097
* config/linker-map.gnu: Add typeinfo and typeinfo name for
__gnu_cxx::stdio_filebuf<char, std::char_traits<char> >.

From-SVN: r77636

20 years agore PR libstdc++/14098 ([3.4 only] typeinfo issue with __gnu_cxx::stdio_sync_filebuf)
Loren J. Rittle [Wed, 11 Feb 2004 05:03:13 +0000 (05:03 +0000)] 
re PR libstdc++/14098 ([3.4 only] typeinfo issue with __gnu_cxx::stdio_sync_filebuf)

PR libstdc++/14098
* config/linker-map.gnu: Add typeinfo and typeinfo name for
__gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >.

From-SVN: r77635

20 years ago* doc/install.texi: Remove extra cd.
Matt Kraai [Wed, 11 Feb 2004 03:59:35 +0000 (03:59 +0000)] 
* doc/install.texi: Remove extra cd.

From-SVN: r77634

20 years agoc-common.c (vector_size_helper): Remove; call reconstruct_complex_type() instead.
Ziemowit Laski [Wed, 11 Feb 2004 01:55:29 +0000 (01:55 +0000)] 
c-common.c (vector_size_helper): Remove; call reconstruct_complex_type() instead.

2004-02-10  Ziemowit Laski  <zlaski@apple.com>

* c-common.c (vector_size_helper): Remove; call
reconstruct_complex_type() instead.
* tree.c (reconstruct_complex_type): New function
(formerly vector_size_helper() in c-common.c).
(make_vector): Make externally visible.
* tree.h (reconstruct_complex_type, make_vector): Add prototypes.

From-SVN: r77632

20 years ago* typeck.c (lookup_destructor): Fix typo in error message.
Mark Mitchell [Wed, 11 Feb 2004 01:47:06 +0000 (01:47 +0000)] 
* typeck.c (lookup_destructor): Fix typo in error message.

From-SVN: r77630

20 years agoDaily bump.
GCC Administrator [Wed, 11 Feb 2004 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r77627

20 years agoh8300-protos.h: Add a prototype for h8300_regs_ok_for_stm.
Kazu Hirata [Tue, 10 Feb 2004 23:58:59 +0000 (23:58 +0000)] 
h8300-protos.h: Add a prototype for h8300_regs_ok_for_stm.

* config/h8300/h8300-protos.h: Add a prototype for
h8300_regs_ok_for_stm.
* config/h8300/h8300.c (h8300_regs_ok_for_stm): New.
* config/h8300/h8300.md (stm_h8300s_2_advanced,
stm_h8300s_2_normal, stm_h8300s_2, stm_h8300s_3_advanced,
stm_h8300s_3_normal, stm_h8300s_3, stm_h8300s_4_advanced,
stm_h8300s_4_normal, stm_h8300s_4, ldm_h8300s_2_advanced,
ldm_h8300s_2_normal, ldm_h8300s_2, ldm_h8300s_3_advanced,
ldm_h8300s_3_normal, ldm_h8300s_3, ldm_h8300s_4_advanced,
ldm_h8300s_4_normal, ldm_h8300s_4): Use
h8300_regs_ok_for_stm().

From-SVN: r77624

20 years ago* Makefile.in (gnattools): Depend on gnatlib.
Ulrich Weigand [Tue, 10 Feb 2004 23:14:58 +0000 (23:14 +0000)] 
* Makefile.in (gnattools): Depend on gnatlib.

From-SVN: r77621

20 years agore PR c/14088 (Hexfloat constants with uppercase 0X prefix fail)
Danny Smith [Tue, 10 Feb 2004 23:05:58 +0000 (23:05 +0000)] 
re PR c/14088 (Hexfloat constants  with uppercase 0X prefix fail)

PR c/14088
real.c (real_from_string): Look for 'X' as well as 'x' in
hexfloat strings.

From-SVN: r77619

20 years agoh8300.md: Remove an incorrect comment about peephole2.
Kazu Hirata [Tue, 10 Feb 2004 22:40:30 +0000 (22:40 +0000)] 
h8300.md: Remove an incorrect comment about peephole2.

* config/h8300/h8300.md: Remove an incorrect comment about
peephole2.  Add comments.

From-SVN: r77618

20 years agogjavah.c: Include "intl.h".
Joseph Myers [Tue, 10 Feb 2004 19:12:34 +0000 (19:12 +0000)] 
gjavah.c: Include "intl.h".

* gjavah.c: Include "intl.h".
(error): New function.
(main): Call gcc_init_libintl.
(get_field_name, throwable_p, print_c_decl, print_full_cxx_name,
print_stub_or_jni, process_file, main): Use error rather than
fprintf.
(print_method_info, usage, help, version, main): Mark strings for
translation with _.  Avoid splitting up sentences.  Send
information messages to stdout.
* jcf-dump.c: Include "intl.h".
(main): Call gcc_init_libintl.
(process_class, usage, help, version, main, CHECK_PC_IN_RANGE):
Mark error, usage and version messages for translation with _.
Avoid splitting up sentences.
* jv-scan.c: Include "intl.h".
(fatal_error, warning): Change parameter s to msgid.  Translate
messages.
(main): Call gcc_init_libintl.
(usage, help, version): Mark error, usage and version messages for
translation with _.  Avoid splitting up sentences.
* jvgenmain.c: Include "intl.h".
(main): Call gcc_init_libintl.
(usage, main): Mark error messages for translation with _.
* Make-lang.in (GCJH_OBJS, JVSCAN_OBJS, JCFDUMP_OBJS,
JVGENMAIN_OBJS): Add intl.o.
(java/jcf-dump.o, java/gjavah.o, java/jv-scan.o,
java/jvgenmain.o): Update dependencies.

From-SVN: r77614

20 years ago2004-02-10 David Jee <djee@redhat.com>
David Jee [Tue, 10 Feb 2004 18:57:22 +0000 (18:57 +0000)] 
2004-02-10  David Jee  <djee@redhat.com>

* java/awt/BorderLayout.java
(calcCompSize): Invisible components get zero dimensions.
* java/awt/Button.java
(setLabel): Set actionCommand.
* java/awt/Component.java
(show): Invalidate component and parent container.
(hide): Likewise.

From-SVN: r77613

20 years ago2004-02-10 David Jee <djee@redhat.com>
David Jee [Tue, 10 Feb 2004 18:54:25 +0000 (18:54 +0000)] 
2004-02-10  David Jee  <djee@redhat.com>

* java/awt/GridBagLayout.java
(GridBagLayout): New private field, internalcomptable.
(lookupInternalConstraints): New method.
(ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
(GetLayoutInfo): Reimplement.
(calcCellSizes): Ignore rows/columns with size 0.

From-SVN: r77612

20 years agoemit-rtl.c (set_decl_incoming_rtl): New.
Josef Zlomek [Tue, 10 Feb 2004 18:38:19 +0000 (19:38 +0100)] 
emit-rtl.c (set_decl_incoming_rtl): New.

PR/14058
* emit-rtl.c (set_decl_incoming_rtl): New.
* tree.h (set_decl_incoming_rtl): New.
* function.c (assign_parms): Use set_decl_incoming_rtl for setting
DECL_INCOMING_RTL.
* ada/misc.c (adjust_decl_rtl): Likewise.

From-SVN: r77611

20 years agoc-opts.c (c_common_post_options): Don't emit working directory in cpp output if ...
Per Bothner [Tue, 10 Feb 2004 18:18:57 +0000 (10:18 -0800)] 
c-opts.c (c_common_post_options): Don't emit working directory in cpp output if -P was specified.

* c-opts.c (c_common_post_options):   Don't emit working directory
in cpp output if -P was specified.

From-SVN: r77607

20 years ago2004-02-10 Michael Koch <konqueror@gmx.de>
Michael Koch [Tue, 10 Feb 2004 17:46:28 +0000 (17:46 +0000)] 
2004-02-10  Michael Koch  <konqueror@gmx.de>

* gnu/java/awt/EmbeddedWindow.java
(setHandle): Use java.awt.Component.getPeer() instead of
java.awt.Component.peer directly.

From-SVN: r77605

20 years ago2004-02-10 David Jee <djee@redhat.com>
David Jee [Tue, 10 Feb 2004 17:12:09 +0000 (17:12 +0000)] 
2004-02-10  David Jee  <djee@redhat.com>

* gnu/java/awt/peer/gtk/GtkButtonPeer.java
(gtkSetLabel): New native method definition.
(setLabel): Use gtkSetLabel.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
(Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.

From-SVN: r77604

20 years agore PR middle-end/14092 (fold strips conversion from pointer to integer)
Paolo Bonzini [Tue, 10 Feb 2004 13:41:16 +0000 (13:41 +0000)] 
re PR middle-end/14092 (fold strips conversion from pointer to integer)

PR c/14092
* gcc.dg/pr14092-1.c: New testcase.
* fold-const.c (fold) <NEGATE_EXPR>: Convert result of
negate_expr back to the original type.

From-SVN: r77602

20 years agolinux64.h (MD_FALLBACK_FRAME_STATE_FOR): Don't bump retaddr here.
Alan Modra [Tue, 10 Feb 2004 13:27:43 +0000 (13:27 +0000)] 
linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Don't bump retaddr here.

* config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Don't
bump retaddr here.

* include/powerpc-signal.h: Revert 2004-01-21 change.
(INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
from syscall for ppc32 versions.

From-SVN: r77601

20 years ago* de.po: Update.
Joseph Myers [Tue, 10 Feb 2004 11:43:40 +0000 (11:43 +0000)] 
* de.po: Update.

From-SVN: r77598

20 years agortl.h (schedule_insns, [...]): Move under the file in which they are actually declared.
Paolo Bonzini [Tue, 10 Feb 2004 11:38:12 +0000 (11:38 +0000)] 
rtl.h (schedule_insns, [...]): Move under the file in which they are actually declared.

* rtl.h (schedule_insns, schedule_ebbs, fix_sched_param,
gen_lowpart_SUBREG): Move under the file in which they
are actually declared.

From-SVN: r77597

20 years agosourcebuild.texi: Add libada documentation.
Arnaud Charlet [Tue, 10 Feb 2004 11:32:44 +0000 (12:32 +0100)] 
sourcebuild.texi: Add libada documentation.

* doc/sourcebuild.texi: Add libada documentation.

* doc/install.texi: Update documentation on Ada build, now
that the GNAT lib and tools are built automatically.

From-SVN: r77596

20 years ago* gcc_release: Add libada as part of ADA_DIRS.
Arnaud Charlet [Tue, 10 Feb 2004 11:23:20 +0000 (12:23 +0100)] 
* gcc_release: Add libada as part of ADA_DIRS.

From-SVN: r77595

20 years agoPR ada/6637, PR ada/5911
Arnaud Charlet [Tue, 10 Feb 2004 10:54:48 +0000 (11:54 +0100)] 
PR ada/6637, PR ada/5911

PR ada/6637, PR ada/5911
Merge with libada-branch:
* configure.in, Makefile.tpl, Makefile.def: Add target-libada,
with appropriate dependencies. Add --enable-libada configure switch.
* configure, Makefile.in: Regenerate.

Co-Authored-By: Nathanael Nerode <neroden@gcc.gnu.org>
From-SVN: r77594

20 years agoPR ada/6637, PR ada/5911
Arnaud Charlet [Tue, 10 Feb 2004 10:51:33 +0000 (11:51 +0100)] 
PR ada/6637, PR ada/5911

PR ada/6637, PR ada/5911
Merge with libada-branch:
* config-lang.in: Build libada only when ada is built.

Co-Authored-By: Nathanael Nerode <neroden@gcc.gnu.org>
From-SVN: r77593

20 years agoPR ada/6637, PR ada/5911
Arnaud Charlet [Tue, 10 Feb 2004 10:44:14 +0000 (11:44 +0100)] 
PR ada/6637, PR ada/5911

2003-02-10  Arnaud Charlet  <charlet@act-europe.fr>

PR ada/6637, PR ada/5911
* configure.in, Makefile.in, configure: Merge with libada-branch

From-SVN: r77592

20 years agomips.h (TARGET_GPWORD): Return false for TARGET_NEWABI && TARGET_IRIX.
Richard Sandiford [Tue, 10 Feb 2004 10:17:47 +0000 (10:17 +0000)] 
mips.h (TARGET_GPWORD): Return false for TARGET_NEWABI && TARGET_IRIX.

* config/mips/mips.h (TARGET_GPWORD): Return false for TARGET_NEWABI
&& TARGET_IRIX.

From-SVN: r77589

20 years ago* gcc.dg/cpp/assert4.c: Fix typo last change.
Alan Modra [Tue, 10 Feb 2004 07:23:23 +0000 (07:23 +0000)] 
* gcc.dg/cpp/assert4.c: Fix typo last change.

From-SVN: r77587

20 years agoobjc-act.c (get_super_receiver): Move '#ifdef OBJCPLUS' boundaries outside build_comp...
Ziemowit Laski [Tue, 10 Feb 2004 02:48:07 +0000 (02:48 +0000)] 
objc-act.c (get_super_receiver): Move '#ifdef OBJCPLUS' boundaries outside build_component_ref() call (a macro...

2004-02-09  Ziemowit Laski  <zlaski@apple.com>

        * objc/objc-act.c (get_super_receiver): Move '#ifdef OBJCPLUS'
        boundaries outside build_component_ref() call (a macro in ObjC++).

From-SVN: r77584

20 years agoxtensa-protos.h (xtensa_copy_incoming_a7): Update.
Bob Wilson [Tue, 10 Feb 2004 01:35:53 +0000 (01:35 +0000)] 
xtensa-protos.h (xtensa_copy_incoming_a7): Update.

* config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Update.
(init_cumulative_args): Likewise.
(a7_overlap_mentioned_p): Delete prototype.
* config/xtensa/xtensa.c (struct machine_function): Replace
incoming_a7_copied field with need_a7_copy and vararg_a7 flags.
Add set_frame_ptr_insn field.
(xtensa_emit_move_sequence): Update call to xtensa_copy_incoming_a7.
(xtensa_copy_incoming_a7): Rewrite to check need_a7_copy flag and check
if the operand is an argument in a7.  If so, copy a7 to a new pseudo
at the function entry and replace the operand with the pseudo.
(init_cumulative_args): Remove unused arguments.  Add new "incoming"
argument and record this flag in CUMULATIVE_ARGS.
(function_arg): Remove result_mode and special-case code to handle
arguments in a7.  Instead, set need_a7_copy flag when there is an
incoming argument in a7.
(xtensa_expand_prologue): Remove code to search for set_frame_ptr insn
and use the value recorded in cfun->machine->set_frame_ptr_insn.
(xtensa_builtin_saveregs): Check for negative gp_left value.  Set
need_a7_copy and vararg_a7 flags.  Use move_block_from_reg instead of
special-case code.
(a7_overlap_mentioned_p): Delete.
* config/xtensa/xtensa.h (CUMULATIVE_ARGS): Add "incoming" flag.
(INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Remove useless
arguments to init_cumulative_args and pass "incoming" flag instead.
(BLOCK_REG_PADDING): Delete.
* config/xtensa/xtensa.md (movdi, movsf, movdf): Remove unnecessary
checks for reload_in_progress and reload_completed.  Update calls to
xtensa_copy_incoming_a7.
(ashlsi3): Rename existing insn to ashlsi3_internal.  Add expander
to call xtensa_copy_incoming_a7.

From-SVN: r77583

20 years agodarwin-longlong.c: Only use r0 in asm for darwin.
Alan Modra [Tue, 10 Feb 2004 00:43:24 +0000 (00:43 +0000)] 
darwin-longlong.c: Only use r0 in asm for darwin.

* gcc.dg/darwin-longlong.c: Only use r0 in asm for darwin.
* gcc.dg/cpp/assert4.c: Handle powerpc64.

From-SVN: r77578

20 years ago* include/ext/pool_allocator.h: Include c++config.h.
Loren J. Rittle [Tue, 10 Feb 2004 00:43:04 +0000 (00:43 +0000)] 
* include/ext/pool_allocator.h: Include c++config.h.

From-SVN: r77577

20 years agomt_allocator.h: thread_id is unused in non threaded applications and now has a ifdef...
Stefan Olsson [Tue, 10 Feb 2004 00:31:53 +0000 (01:31 +0100)] 
mt_allocator.h: thread_id is unused in non threaded applications and now has a ifdef to remove...

2004-02-09  Stefan Olsson  <stefan@xapa.se>

* include/ext/mt_allocator.h: thread_id is unused in non threaded
applications and now has a ifdef to remove it completely on
compilers without thread support. Include stdlib.h due to a
compiler warning on getenv().

From-SVN: r77576

20 years agoDaily bump.
GCC Administrator [Tue, 10 Feb 2004 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r77573

20 years agoconfigure.host: Explicitly check for atomicity.h file.
Paul Brook [Mon, 9 Feb 2004 23:51:02 +0000 (23:51 +0000)] 
configure.host: Explicitly check for atomicity.h file.

2004-02-09  Paul Brook  <paul@codesourcery.com>

* libstdc++-v3/configure.host: Explicitly check for atomicity.h file.

From-SVN: r77570

20 years agore PR libstdc++/14071 (locale::global doesn't always call setlocale)
Paolo Carlini [Mon, 9 Feb 2004 23:10:47 +0000 (23:10 +0000)] 
re PR libstdc++/14071 (locale::global doesn't always call setlocale)

2004-02-09  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/14071
* src/locale_init.cc (locale::global(const locale&)): Use
locale::name() in order to decide whether calling setlocale.
* testsuite/22_locale/locale/global_locale_objects/14071.cc: New.

* include/bits/locale_classes.h (locale::_Impl::_M_check_same_name()):
Avoid computing &= unnecessarily.

From-SVN: r77568

20 years ago* de.po: Update.
Joseph Myers [Mon, 9 Feb 2004 23:04:49 +0000 (23:04 +0000)] 
* de.po: Update.

From-SVN: r77566

20 years ago* gcc.dg/debug/20020327-1.c: xfail for powerpc64.
Alan Modra [Mon, 9 Feb 2004 22:50:17 +0000 (22:50 +0000)] 
* gcc.dg/debug/20020327-1.c: xfail for powerpc64.

From-SVN: r77564

20 years agoxm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): No longer modify standard_exec_prefix...
DJ Delorie [Mon, 9 Feb 2004 22:33:45 +0000 (17:33 -0500)] 
xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): No longer modify standard_exec_prefix...

* config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): No
longer modify standard_exec_prefix, standard_bindir_prefix, or
standard_startfile_prefix.

From-SVN: r77562

20 years agore PR c++/11295 (ICE when using a non-trivial object in a compound statement expression)
James E Wilson [Mon, 9 Feb 2004 21:32:37 +0000 (21:32 +0000)] 
re PR c++/11295 (ICE when using a non-trivial object in a compound statement expression)

PR c++/11295
* c-common.c (c_expand_expr, case STMT_EXPR): Change expand_expr call
to expand_expr_real call, and pass in alt_rtl as last argument.

From-SVN: r77557

20 years agore PR libstdc++/5625 ([mips] exception unwinding creates invalid pointer on mips)
James E Wilson [Mon, 9 Feb 2004 21:20:33 +0000 (21:20 +0000)] 
re PR libstdc++/5625 ([mips] exception unwinding creates invalid pointer on mips)

PR libstdc++/5625
* libsuspc++/eh_personality.cc (PERSONALITY_FUNCTION): Use
__builtin_extend_pointer.

From-SVN: r77555

20 years agore PR libstdc++/5625 ([mips] exception unwinding creates invalid pointer on mips)
James E Wilson [Mon, 9 Feb 2004 21:18:45 +0000 (21:18 +0000)] 
re PR libstdc++/5625 ([mips] exception unwinding creates invalid pointer on mips)

PR libstdc++/5625
* builtin-types.def (BT_WORD, BT_FN_WORD_PTR): New.
* builtins.c (expand_builtin): Handle BUILT_IN_EXTEND_POINTER.
* builtins.def (BUILT_IN_EXTEND_POINTER): New.
* except.c (expand_builtin_extend_pointer): New.
* except.h (expand_builtin_extend_pointer): Declare.

From-SVN: r77554

20 years agors6000.c (rs6000_emit_move): Remove splitting slow unaligned loads and stores.
David Edelsohn [Mon, 9 Feb 2004 19:58:18 +0000 (19:58 +0000)] 
rs6000.c (rs6000_emit_move): Remove splitting slow unaligned loads and stores.

        * config/rs6000/rs6000.c (rs6000_emit_move): Remove splitting slow
        unaligned loads and stores.

From-SVN: r77549

20 years agoiris5.h (BSS_SECTION_ASM_OP): Define.
Rainer Orth [Mon, 9 Feb 2004 17:54:47 +0000 (17:54 +0000)] 
iris5.h (BSS_SECTION_ASM_OP): Define.

* config/mips/iris5.h (BSS_SECTION_ASM_OP): Define.
* config/mips/iris6.h (BSS_SECTION_ASM_OP): Undef.

* config/mips/iris6.h (TARGET_ASM_NAMED_SECTION): Moved ...
* config/mips/iris5.h: ... here.
* config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Remove.

* config/mips/iris6.h (EXTRA_SECTION_FUNCTIONS): Move ...
* config/mips/iris5.h: ... here.

From-SVN: r77546

20 years agoconfigure.ac: Remove default executable files before AC_PROG_CC.
Rainer Orth [Mon, 9 Feb 2004 17:40:32 +0000 (17:40 +0000)] 
configure.ac: Remove default executable files before AC_PROG_CC.

* configure.ac: Remove default executable files before AC_PROG_CC.
* configure: Regenerate.

From-SVN: r77542

20 years agore PR target/13721 (SEGV on inline-asm)
Kazu Hirata [Mon, 9 Feb 2004 17:23:25 +0000 (17:23 +0000)] 
re PR target/13721 (SEGV on inline-asm)

PR target/13721
* config/h8300/h8300.c (byte_reg): Call abort() if asked to
print a operand other than a register.

From-SVN: r77539

20 years ago[multiple changes]
Arnaud Charlet [Mon, 9 Feb 2004 14:56:05 +0000 (15:56 +0100)] 
[multiple changes]

2004-02-09  Ed Schonberg  <schonberg@gnat.com>

* exp_ch4.adb (Expand_N_Op_Eq): When looking for the primitive equality
for a tagged type, verify that both formals have the same type.

* exp_ch6.adb (Add_Call_By_Copy_Code): Initialize properly the
temporary when the formal is an in-parameter and the actual a possibly
unaligned slice.

* exp_ch9.adb (Expand_Entry_Barrier): Resolve barrier expression even
when expansion is disabled, to ensure proper name capture with
overloaded literals.  Condition can be of any boolean type, resolve
accordingly.

* sem_ch8.adb (Analyze_Subprogram_Renaming): Emit warning if the
renaming is for a formal subprogram with a default operator name, and
there is a usable operator that is visible at the point of
instantiation.

2004-02-09  Robert Dewar  <dewar@gnat.com>

* ali.adb (Scan_Ali) Add Ignore_Errors argument. This is a major
rewrite to ignore errors in ali files, intended to allow tools downward
compatibility with new versions of ali files.

* ali.ads: Add new parameter Ignore_Errors

* bcheck.adb (Check_Consistent_Restrictions): Fix error of sometimes
duplicating the error message giving the file with restrictions.

* debug.adb: Add debug flag I for gnatbind

* errout.adb (Set_Msg_Insertion_Node): Suppress extra quotes around
operators for the case where the operator is a defining operator.

* exp_ch3.adb: Minor reformatting (new function spec format).

* exp_ch4.adb: Add comment for previous change, and make minor
adjustment to loop to always check for improper loop termination.
Minor reformatting throughout (new function spec format).

* gnatbind.adb: Implement -di debug flag for gnatbind

* gnatlink.adb: Call Scan_ALI with Ignore_Errors set to True

* gnatls.adb: Call Scan_ALI with Ignore_Errors set to True

* lib-load.adb: Fix bad assertion.
Found by testing and code reading.
Minor reformatting.

* lib-load.ads: Minor reformatting.

* lib-writ.adb: There is only one R line now.

* lib-writ.ads: Add documentation on making downward compatible changes
to ali files so old tools work with new ali files.
There is only one R line now.
Add documentation on format incompatibilities (with special GPS note)

* namet.ads, namet.adb: (Is_Operator_Name): New procedure

* par-load.adb: Minor reformatting

* sem_ch8.adb: Fix to error message from last update
Minor reformatting and restructuring of code from last update

* par-prag.adb, snames.adb, snames.ads, snames.h,
sem_prag.adb: Implement pragma Profile.

* stylesw.adb: Implement -gnatyN switch to turn off all style check
options.

* usage.adb: Add line for -gnatyN switch

* vms_data.ads: Add entry STYLE_CHECKS=NONE for -gnatyN

From-SVN: r77537

20 years ago* call.c, parser.c, tree.c: Fix comment typos.
Kazu Hirata [Mon, 9 Feb 2004 14:56:00 +0000 (14:56 +0000)] 
* call.c, parser.c, tree.c: Fix comment typos.

From-SVN: r77536

20 years agofold-const.c (fold): Use the original type conversion tree code rather than call...
Roger Sayle [Mon, 9 Feb 2004 14:00:36 +0000 (14:00 +0000)] 
fold-const.c (fold): Use the original type conversion tree code rather than call fold_convert...

* fold-const.c (fold) <NOP_EXPR>: Use the original type conversion
tree code rather than call fold_convert, which doesn't specify a
default floating point to integer conversion.

* gcc.c-torture/compile/20040209-1.c: New test case.

From-SVN: r77535

20 years ago* src/types.c (pointer): POWERPC64 has 8 byte pointers.
Alan Modra [Mon, 9 Feb 2004 13:10:37 +0000 (13:10 +0000)] 
* src/types.c (pointer): POWERPC64 has 8 byte pointers.

From-SVN: r77533

20 years ago[multiple changes]
Arnaud Charlet [Mon, 9 Feb 2004 10:44:13 +0000 (11:44 +0100)] 
[multiple changes]

2004-02-09  Albert Lee  <lee@gnat.com>

* errno.c: define _SGI_MP_SOURCE for task-safe errno on IRIX

2004-02-09  Ed Schonberg  <schonberg@gnat.com>

* exp_ch3.adb (Build_Slice_Assignment): Handle properly case of null
slices.

* exp_ch6.adb (Expand_Call): Do not inline a call when the subprogram
is nested in an instance that is not frozen yet, to avoid
order-of-elaboration problems in gigi.

* sem_attr.adb (Analyze_Attribute, case 'Access): Within an inlined
body the attribute is legal.

2004-02-09  Robert Dewar  <dewar@gnat.com>

* s-rident.ads: Minor comment correction

* targparm.adb: Remove dependence on uintp completely. There was
always a bug in Make in that it called Targparm before initializing
the Uint package. The old code appeared to get away with this, but
the new code did not! This caused an assertion error in gnatmake.

* targparm.ads: Fix bad comment, restriction pragmas with parameters
are indeed fully supported.

From-SVN: r77531

20 years agoMAINTAINERS: Add myself to write-after-approval.
Paolo Bonzini [Mon, 9 Feb 2004 10:35:15 +0000 (10:35 +0000)] 
MAINTAINERS: Add myself to write-after-approval.

2004-02-09  Paolo Bonzini  <bonzini@gnu.org>

* MAINTAINERS: Add myself to write-after-approval.

From-SVN: r77530

20 years agore PR libstdc++/14072 (basic_ios::imbue leaves dangling pointers)
Paolo Carlini [Mon, 9 Feb 2004 09:02:52 +0000 (09:02 +0000)] 
re PR libstdc++/14072 (basic_ios::imbue leaves dangling pointers)

2004-02-09  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/14072
* include/bits/basic_ios.tcc (basic_ios<>::_M_cache_locale):
Don't leave dangling pointers.
* testsuite/27_io/basic_ios/imbue/14072.cc: New.
* testsuite/22_locale/numpunct/members/pod/2.cc: Tweak, the num_put
facet is needed in the final test.

From-SVN: r77526

20 years agoparse.y (resolve_qualified_expression_name): In case of inaccessible class don't...
Per Bothner [Mon, 9 Feb 2004 07:41:55 +0000 (23:41 -0800)] 
parse.y (resolve_qualified_expression_name): In case of inaccessible class don't use not_accessible_field_error...

* parse.y (resolve_qualified_expression_name):  In case of inaccessible
class don't use not_accessible_field_error, which can get confused.

From-SVN: r77525

20 years agocrossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*.
Bernardo Innocenti [Mon, 9 Feb 2004 07:06:35 +0000 (08:06 +0100)] 
crossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*.

* crossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*.
* configure: Regenerate.

From-SVN: r77523

20 years agoffi.c (ffi_prep_args64): Correct long double handling.
Alan Modra [Mon, 9 Feb 2004 03:39:48 +0000 (03:39 +0000)] 
ffi.c (ffi_prep_args64): Correct long double handling.

* src/powerpc/ffi.c (ffi_prep_args64): Correct long double handling.
(ffi_closure_helper_LINUX64): Fix typo.
* testsuite/libffi.call/cls_align_longdouble.c: Pass -mlong-double-128
for powerpc64-*-*.
* testsuite/libffi.call/float.c: Likewise.
* testsuite/libffi.call/float2.c: Likewise.

From-SVN: r77522

20 years agom68k.c, m68k.md (SGS, [...]): Remove code to support SGS assembler.
Bernardo Innocenti [Mon, 9 Feb 2004 00:48:13 +0000 (01:48 +0100)] 
m68k.c, m68k.md (SGS, [...]): Remove code to support SGS assembler.

* config/m68k/m68k.c, config/m68k/m68k.md (SGS, SGS_CMP_ORDER): Remove
code to support SGS assembler.  Reformat adjacent code where possible.
* config/m68k/m68k.c (switch_table_difference_label_flag): Remove definition.
* config/m68k/m68k.h (PRINT_OPERAND_PUNCT_VALID_P): Remove support for '%#'.
* config/m68k/linux.h, config/m68k/m68k.c,
* config/m68k/math-68881.h: Replace `%#' with `#' in inline asm macros and
asm_printf() format strings.
* config/m68k/m68kelf.h (ASM_OUTPUT_CASE_END): Remove macro definition.
* config/m68k/linux.h: Update copyright.
* config/m68k/linux.h, config/m68k/m68k.c: Remove traling whitespace.

From-SVN: r77518

20 years agoDaily bump.
GCC Administrator [Mon, 9 Feb 2004 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r77515

20 years agom68k.h (REGISTER_NAMES): Prefix each name with REGISTER_PREFIX.
Bernardo Innocenti [Sun, 8 Feb 2004 23:30:49 +0000 (00:30 +0100)] 
m68k.h (REGISTER_NAMES): Prefix each name with REGISTER_PREFIX.

* config/m68k/m68k.h (REGISTER_NAMES): Prefix each name with
REGISTER_PREFIX.
* (M68K_FP_REG_NAME): New macro to specify an alternate name for the
frame pointer register, overridable by OS targets.
* (M68K_REGNAME): Macro to obtain register name for asm output,
eventually replacing %a6 with M68K_FP_REG_NAME.
* config/m68k/coff.h (REGISTER_NAMES): Don't redefine.
* config/m68k/linux.h (REGISTER_NAMES): Likewise.
* config/m68k/m68kelf.h (REGISTER_NAMES): Likewise.
* config/m68k/netbsd-elf.h (REGISTER_NAMES): Likewise.
* config/m68k/m68k.c: Use M68K_REGNAME(x) in place of reg_names[x].

From-SVN: r77511

20 years agom68k.h (REGISTER_NAMES): Prefix each name with REGISTER_PREFIX.
Andreas Schwab [Sun, 8 Feb 2004 23:30:49 +0000 (23:30 +0000)] 
m68k.h (REGISTER_NAMES): Prefix each name with REGISTER_PREFIX.

* config/m68k/m68k.h (REGISTER_NAMES): Prefix each name with
REGISTER_PREFIX.
* (M68K_FP_REG_NAME): New macro to specify an alternate name for the
frame pointer register, overridable by OS targets.
* (M68K_REGNAME): Macro to obtain register name for asm output,
eventually replacing %a6 with M68K_FP_REG_NAME.
* config/m68k/coff.h (REGISTER_NAMES): Don't redefine.
* config/m68k/linux.h (REGISTER_NAMES): Likewise.
* config/m68k/m68kelf.h (REGISTER_NAMES): Likewise.
* config/m68k/netbsd-elf.h (REGISTER_NAMES): Likewise.
* config/m68k/m68k.c: Use M68K_REGNAME(x) in place of reg_names[x].

Co-Authored-By: Bernardo Innocenti <bernie@develer.com>
From-SVN: r77510

20 years agoFixed a typo in ChangeLog.
Kazu Hirata [Sun, 8 Feb 2004 23:16:26 +0000 (23:16 +0000)] 
Fixed a typo in ChangeLog.

From-SVN: r77507

20 years agotarget-def.h (TARGET_STRUCT_VALUE_RTX): Define as hook_rtx_tree_int_null.
Kazu Hirata [Sun, 8 Feb 2004 23:08:48 +0000 (23:08 +0000)] 
target-def.h (TARGET_STRUCT_VALUE_RTX): Define as hook_rtx_tree_int_null.

* target-def.h (TARGET_STRUCT_VALUE_RTX): Define as
hook_rtx_tree_int_null.
* targhooks.c (default_struct_value_rtx): Remove.
* targhooks.h: Remove the prototype for
default_struct_value_rtx.
* config/alpha/alpha.c, config/arc/arc.c, config/avr/avr.c,
config/fr30/fr30.c, config/h8300/h8300.c, config/i386/i386.c,
config/ip2k/ip2k.c, config/iq2000/iq2000.c,
config/m32r/m32r.c, config/mcore/mcore.c, config/mips/mips.c,
config/mn10300/mn10300.c, config/pdp11/pdp11.c,
config/rs6000/rs6000.c, config/s390/s390.c,
config/stormy16/stormy16.c, config/v850/v850.c,
config/xtensa/xtensa.c (TARGET_STRUCT_VALUE_RTX): Remove.
* doc/tm.texi (TARGET_STRUCT_VALUE_RTX): Document the default.

From-SVN: r77505

20 years agoByteBuffer.java (shiftDown): New helper method.
Per Bothner [Sun, 8 Feb 2004 21:02:53 +0000 (13:02 -0800)] 
ByteBuffer.java (shiftDown): New helper method.

* java/nio/ByteBuffer.java (shiftDown):  New helper method.
* java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
* java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
* sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
Pass ByteOrder parameter to most methods, since the underlying
ByteBuffer's order isn't always what we should use.
* java/nio/ByteBufferImpl.java:  Pass byte-order various places.
* java/nio/DirectByteBufferImpl.java:  Likewise.
Use ByteBufferHelper methods.
* java/nio/MappedByteBufferImpl.java:  Likewise.
(compact):  Use shiftDown.
* java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
(get, put):  Use ByteBufferHelper.
(compact):  Use new shiftDown method.
(duplicate(boolean)):  New helper method.
(duplicate, asReadOnlyBuffer):  Use it.
(order):  Return endian field.
* java/nio/DoubleViewBufferImpl.java:  Likewise.
* java/nio/FloatViewBufferImpl.java:  Likewise.
* java/nio/IntViewBufferImpl.java:  Likewise.
* java/nio/LongViewBufferImpl.java:  Likewise.
* java/nio/ShortViewBufferImpl.java:  Likewise.
* java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
* java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
(compact):  Re-implement using shiftDown.

From-SVN: r77501

20 years agoREADME.Portability: Change "ISO C89" to "ISO C90".
Joseph Myers [Sun, 8 Feb 2004 20:55:34 +0000 (20:55 +0000)] 
README.Portability: Change "ISO C89" to "ISO C90".

* README.Portability: Change "ISO C89" to "ISO C90".
* c-parse.in (primary, initelt): Likewise.

testsuite:
* gcc.dg/c90-init-1.c: Adjust expected error messages.

From-SVN: r77499

20 years agoreal.c (encode_ibm_extended): Normalize the input value before converting it to a...
Richard Sandiford [Sun, 8 Feb 2004 20:00:30 +0000 (20:00 +0000)] 
real.c (encode_ibm_extended): Normalize the input value before converting it to a double.

* real.c (encode_ibm_extended): Normalize the input value before
converting it to a double.  Handle the case where a normal value
rounds to infinity.

From-SVN: r77498

20 years agoc-objc-common.c (): Fix a typo in a warning.
Kazu Hirata [Sun, 8 Feb 2004 19:45:46 +0000 (19:45 +0000)] 
c-objc-common.c (): Fix a typo in a warning.

* c-objc-common.c (): Fix a typo in a warning.
* cse.c (preferrable): Change to preferable. Update all of its
callers.
* genautomata.c (ainsn): Change
first_ainsn_with_given_equialence_num to
first_ainsn_with_given_equivalence_num.  Update all of its
references.

From-SVN: r77497

20 years ago* g++.dg/eh/simd-2.C: Adjust line numbers for SPARC.
Eric Botcazou [Sun, 8 Feb 2004 18:32:35 +0000 (19:32 +0100)] 
* g++.dg/eh/simd-2.C: Adjust line numbers for SPARC.

From-SVN: r77495

20 years agore PR libstdc++/14026 (std::uncaught_exception is true although there are no uncaught...
Richard Henderson [Sun, 8 Feb 2004 18:01:23 +0000 (10:01 -0800)] 
re PR libstdc++/14026 (std::uncaught_exception is true although there are no uncaught exceptions (rethrow, ghost exception))

        PR libstdc++/14026
        * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't adjust
        uncaughtExceptions during nested catch rethrow.
        * testsuite/18_support/14026.cc: New.

From-SVN: r77492

20 years ago* include/x86_64-signal.h: Fix typo.
Andreas Jaeger [Sun, 8 Feb 2004 17:35:52 +0000 (18:35 +0100)] 
* include/x86_64-signal.h: Fix typo.

From-SVN: r77491

20 years agoi386-signal.h (HANDLE_DIVIDE_OVERFLOW): Add volatile qualifier to _regs.
Diego Novillo [Sun, 8 Feb 2004 17:13:50 +0000 (12:13 -0500)] 
i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Add volatile qualifier to _regs.

* include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Add volatile
qualifier to _regs.

From-SVN: r77489

20 years agoi386-signal.h (HANDLE_DIVIDE_OVERFLOW): Add volatile qualifier to _regs.
Diego Novillo [Sun, 8 Feb 2004 17:13:49 +0000 (12:13 -0500)] 
i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Add volatile qualifier to _regs.

* include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Add volatile
qualifier to _regs.

[[Split portion of a mixed commit.]]

From-SVN: r77488.2

20 years agobasic_string.tcc (assign(const _CharT*, size_type)): When working in place remember...
Paolo Carlini [Sun, 8 Feb 2004 17:11:07 +0000 (17:11 +0000)] 
basic_string.tcc (assign(const _CharT*, size_type)): When working in place remember to set the state to sharable (otherwise...

2004-02-08  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.tcc (assign(const _CharT*, size_type)):
When working in place remember to set the state to sharable
(otherwise, _M_mutate does it).

From-SVN: r77487

20 years ago* gcc.c-torture/execute/va-arg-25.x: XFAIL only on SPARC 64-bit.
Eric Botcazou [Sun, 8 Feb 2004 17:00:29 +0000 (18:00 +0100)] 
* gcc.c-torture/execute/va-arg-25.x: XFAIL only on SPARC 64-bit.

From-SVN: r77485

20 years agoi386-signal.h (MAKE_THROW_FRAME): Add volatile qualifier to _regs.
Diego Novillo [Sun, 8 Feb 2004 16:51:03 +0000 (16:51 +0000)] 
i386-signal.h (MAKE_THROW_FRAME): Add volatile qualifier to _regs.

* include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
qualifier to _regs.

From-SVN: r77484

20 years agoffi.c (ffi_prep_cif_machdep <FFI_LINUX64>): Correct long double function return and...
Alan Modra [Sun, 8 Feb 2004 12:11:25 +0000 (12:11 +0000)] 
ffi.c (ffi_prep_cif_machdep <FFI_LINUX64>): Correct long double function return and long double arg handling.

* src/powerpc/ffi.c (ffi_prep_cif_machdep <FFI_LINUX64>): Correct
long double function return and long double arg handling.
(ffi_closure_helper_LINUX64): Formatting.  Delete unused "ng" var.
Use "end_pfr" instead of "nf".  Correct long double handling.
Localise "temp".
* src/powerpc/linux64.S (ffi_call_LINUX64): Save f2 long double
return value.
* src/powerpc/linux64_closure.S (ffi_closure_LINUX64): Allocate
space for long double return value.  Adjust stack frame and offsets.
Load f2 long double return.

From-SVN: r77481

20 years ago* schedule-ebb.c (schedule_ebbs): Do not allocate reg life data.
Jan Hubicka [Sun, 8 Feb 2004 09:40:17 +0000 (10:40 +0100)] 
* schedule-ebb.c (schedule_ebbs): Do not allocate reg life data.

From-SVN: r77480

20 years agoRemove trailing whitespace (see ChangeLog for longwinded description).
Bernardo Innocenti [Sun, 8 Feb 2004 04:46:42 +0000 (05:46 +0100)] 
Remove trailing whitespace (see ChangeLog for longwinded description).

From-SVN: r77479

20 years ago* function.c (assign_parms): Fix formatting.
David Edelsohn [Sun, 8 Feb 2004 02:48:34 +0000 (02:48 +0000)] 
* function.c (assign_parms): Fix formatting.

From-SVN: r77478

20 years agodefault.h (PROMOTE_PROTOTYPES): Remove.
Kazu Hirata [Sun, 8 Feb 2004 02:13:29 +0000 (02:13 +0000)] 
default.h (PROMOTE_PROTOTYPES): Remove.

* default.h (PROMOTE_PROTOTYPES): Remove.
* system.h (PROMOTE_FUNCTION_RETURN, PROMOTE_PROTOTYPES,
STRUCT_VALUE_REGNUM, SETUP_INCOMING_VARARGS,
EXPAND_BUILTIN_SAVEREGS): Poison.
* target-def.h (TARGET_PROMOTE_FUNCTION_RETURN): Define as
hook_bool_tree_false.
(TARGET_PROMOTE_PROTOTYPES): Likewise.
* target.h: Replace SETUP_INCOMING_VARARGS with
targetm.calls.setup_incoming_varargs().
* targhooks.c (default_promote_function_return): Remove.
(default_promote_prototypes): Likewise.
(default_struct_value_rtx): Always abort().
(default_expand_builtin_saveregs): Always print an error
message.
(default_setup_incoming_varargs): Do nothing.
(default_pretend_outgoing_varargs_named): Don't depend on
SETUP_INCOMING_VARARGS.
* targhooks.h: Remove the prototype for
default_promote_function_return and
default_promote_prototypes.

From-SVN: r77477

20 years agosystem.h (SHARED_SECTION_ASM_OP): Poison.
Kazu Hirata [Sun, 8 Feb 2004 02:09:58 +0000 (02:09 +0000)] 
system.h (SHARED_SECTION_ASM_OP): Poison.

* system.h (SHARED_SECTION_ASM_OP): Poison.
* varasm.c (data_section): Don't use SHARED_SECTION_ASM_OP.
* doc/tm.texi (SHARED_SECTION_ASM_OP): Remove.

From-SVN: r77476

20 years agoc-common.c (shadow_warning): Delete.
Zack Weinberg [Sun, 8 Feb 2004 01:59:11 +0000 (01:59 +0000)] 
c-common.c (shadow_warning): Delete.

* c-common.c (shadow_warning): Delete.
* c-common.h (free_parser_stacks, shadow_warning, sw_kind): Delete.
* c-decl.c (warn_if_shadowing): Issue shadow warnings directly.
* c-opts.c (c_common_parse_file): Don't call free_parser_stacks.
* c-parse.in (free_parser_stacks): Delete.
cp:
* name-lookup.c (pushdecl): Issue shadow warnings directly.
* parser.c (free_parser_stacks): Delete.
testsuite:
* gcc.c-torture/execute/string-opt-15.c: Define memcmp with void *
arguments.
* gcc.dg/fwritable-strings-1.c: Expect the deprecation notice.
------
Bug 13856
* c-decl.c (diagnose_mismatched_decls): Only give special
treatment when olddecl is DECL_BUILT_IN, if C_DECL_INVISIBLE
is also true.
(merge_decls): Don't clear DECL_BUILT_IN_CLASS and
DECL_FUNCTION_CODE when defining a built-in function.
Don't update DECL_ESTIMATED_INSNS.
* dwarf2out.c (dwarf2out_decl): Don't ignore built-in
FUNCTION_DECLs.
* tree.h: Delete DECL_ESTIMATED_INSNS.
* tree-inline.c (struct inline_data): Delete inlined_insns field.
(expand_call_inline, optimize_inline_calls): Don't update
DECL_ESTIMATED_INSNS nor inlined_insns.
* cgraphunit.c (cgraph_analyze_function): Don't update
DECL_ESTIMATED_INSNS.
cp:
* optimize.c (maybe_clone_body): Don't update DECL_ESTIMATED_INSNS.
* decl.c (duplicate_decls, start_function): Likewise.
testsuite:
* gcc.dg/visibility-8.c: New testcase.

From-SVN: r77475