rsandifo [Thu, 6 Nov 2003 11:22:03 +0000 (11:22 +0000)]
* config/mips/mips-protos.h (mips_initial_elimination_offset): Change
return type to HOST_WIDE_INT.
* config/mips/mips.c (mips_frame_info): Give sizes type HOST_WIDE_INT.
Make initialized a bool. Make register masks unsigned ints.
(compute_frame_size): Make same mask change here. Use HOST_WIDE_INT
where appropriate.
(mips_initial_elimination_offset): Return a HOST_WIDE_INT.
(mips_output_function_prologue): Print sizes as HOST_WIDE_INTs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73303
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 6 Nov 2003 10:54:08 +0000 (10:54 +0000)]
* config/frv/frv.c (frv_initial_elimination_offset): Remove bogus
negation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73302
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 6 Nov 2003 10:53:04 +0000 (10:53 +0000)]
* config/frv/frv.h (ASM_OUTPUT_ALIGN_WITH_NOP): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73301
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 6 Nov 2003 10:31:58 +0000 (10:31 +0000)]
* config/mips/mips.c (override_options): Set MASK_SOFT_FLOAT
for VR4111 too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73300
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 6 Nov 2003 10:29:16 +0000 (10:29 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73299
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 6 Nov 2003 09:00:33 +0000 (09:00 +0000)]
* builtins.c (simplify_builtin_strrchr, simplify_builtin_strpbrk): Add
missing casts.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73296
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Thu, 6 Nov 2003 08:38:52 +0000 (08:38 +0000)]
* genmodes.c: Change the word "bitsize" to "precision" throughout.
* machmode.def: Likewise.
* machmode.h (GET_MODE_SIZE): Cast value to unsigned short.
(GET_MODE_BITSIZE): Define as GET_MODE_SIZE * BITS_PER_UNIT.
(GET_MODE_PRECISION): New macro.
(mode_bitsize): Renamed mode_precision.
* stor-layout.c (mode_for_size, smallest_mode_for_size):
Use GET_MODE_PRECISION; clarify comments.
ada:
* misc.c (fp_prec_to_size, fp_size_to_prec): Use GET_MODE_PRECISION
and update for changed meaning of GET_MODE_BITSIZE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73295
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 6 Nov 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73289
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Wed, 5 Nov 2003 22:26:58 +0000 (22:26 +0000)]
* doc/install-old.texi: Remove old documentation of building
cross-compilers.
* doc/install.texi: Move some of it to here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73283
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Wed, 5 Nov 2003 21:24:31 +0000 (21:24 +0000)]
Add PR preprocessor/12891 to Per's last patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73282
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Wed, 5 Nov 2003 21:09:04 +0000 (21:09 +0000)]
* c-opts.c (finish_options): Set include_cursor to disable premature
calls to push_command_line_include from cpp_scan_nooutput.
Fixes bug reported by DJ Delorie.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73281
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Wed, 5 Nov 2003 20:15:02 +0000 (20:15 +0000)]
* gcc.c-torture/compile/
20031023-4.c: XFAIL on SPARC64
* gcc.c-torture/compile/simd-5.c: XFAIL on SPARC64 at -O0 and -O1.
* gcc.c-torture/execute/simd-4.x: New file. XFAIL on SPARC at -O0.
* gcc.c-torture/execute/va-arg-25.x: New file. XFAIL on SPARC.
* gcc.dg/uninit-C.c: XFAIL on non 64-bit Solaris versions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73280
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Wed, 5 Nov 2003 19:20:48 +0000 (19:20 +0000)]
Add PR optimization/10080 to Zdenek Dvorak's last commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73279
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Wed, 5 Nov 2003 18:24:53 +0000 (18:24 +0000)]
* config/rs6000/rs6000.c (setup_incoming_varargs): Remove
code supporting old-style varargs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73278
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Wed, 5 Nov 2003 18:21:30 +0000 (18:21 +0000)]
* config/rs6000/rs6000.c (rs6000_machopic_legitimize_pic_address): Use
an intermediate register for better optimisation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73277
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Wed, 5 Nov 2003 18:17:20 +0000 (18:17 +0000)]
* config/rs6000/rs6000.c (compute_vrsave_mask): Correct off-by-one
error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73276
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Wed, 5 Nov 2003 18:10:44 +0000 (18:10 +0000)]
* cfgloopanal.c (variable_initial_value, variable_initial_values,
simple_loop_exit_p): Record the fact that initial value is extended
from inner mode.
(count_strange_loop_iterations, count_loop_iterations): Handle
ivs that iterate in a narrower mode. Fix handling of overflows.
Improve handling of NE conditions.
(inverse, fits_in_mode_p): New static functions.
(simple_increment): Detect variables that iterate in a narrower mode.
* cfgloop.h (struct loop_desc): Fields inner_mode and extend added.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73275
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Wed, 5 Nov 2003 18:06:22 +0000 (18:06 +0000)]
* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Darwin
needs VRSAVE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73274
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Wed, 5 Nov 2003 17:53:04 +0000 (17:53 +0000)]
* c-typeck.c (pedantic_lvalue_warning): Deprecate use of
conditional expressions as lvalues.
testsuite:
* gcc.dg/cond-lvalue-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73273
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Wed, 5 Nov 2003 17:31:17 +0000 (17:31 +0000)]
Fix date.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73272
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Wed, 5 Nov 2003 17:30:50 +0000 (17:30 +0000)]
2003-11-03 Gernot Hillier <gernot.hillier@siemens.com>
* g++.old-deja/g++.pt/asm1.C: Enable for e.g. x86_64-*-linux-gnu.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73271
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Wed, 5 Nov 2003 14:37:57 +0000 (14:37 +0000)]
PR c++/11616
* pt.c (instantiate_pending_templates): Save and restore
input_location.
* g++.dg/template/instantiate5.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73269
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Wed, 5 Nov 2003 13:56:01 +0000 (13:56 +0000)]
PR c++/2019
* friend.c (add_friend): Don't display previous declaration in
case of duplicate friend warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73268
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Wed, 5 Nov 2003 13:48:42 +0000 (13:48 +0000)]
Resync Ada changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73267
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 5 Nov 2003 05:17:16 +0000 (05:17 +0000)]
* tsystem.h: Add the prototype of strlen.
* unwind-pe.h (read_encoded_value_with_base): Add an
appropriate cast to handle a case where the pointer size is
smaller than sizeof (int).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73265
138bc75d-0d04-0410-961f-
82ee72b054a4
oldham [Wed, 5 Nov 2003 04:38:44 +0000 (04:38 +0000)]
2003-11-04 Jeffrey D. Oldham <oldham@codesourcery.com>
* ChangeLog: Remove extraneous '>>>>'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73264
138bc75d-0d04-0410-961f-
82ee72b054a4
oldham [Wed, 5 Nov 2003 04:37:03 +0000 (04:37 +0000)]
2003-11-04 Jeffrey D. Oldham <oldham@codesourcery.com>
* libsupc++/vec.cc (__cxa_vec_delete2): If given a NULL pointer,
immediately return. This reflects a C++ ABI change 2003 Nov 03.
(__cxa_vec_delete3): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73263
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 5 Nov 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73261
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Tue, 4 Nov 2003 22:13:32 +0000 (22:13 +0000)]
* config/mips/mips-protos.h (mips_global_pic_constant_p): Delete.
(mips_delegitimize_address): Delete.
(mips_gotoff_global, mips_load_got_page): Declare.
(mips_load_got_global, mips_rewrite_small_data): Declare.
* config/mips/mips.h (FIND_BASE_TERM): Remove definition.
(DANGEROUS_FOR_LA25_P): Use global_got_operand.
(PREDICATE_CODES): Add global_got_operand, local_got_operand and
small_data_pattern. Remove CONST from const_arith_operand's entry.
* config/mips/mips.c (UNSPEC_ADDRESS_P, CONST_GP_P): New macros.
(UNSPEC_ADDRESS, UNSPEC_ADDRESS_TYPE): Likewise.
(mips_constant_type): Delete.
(mips_symbol_type): Add SYMBOL_GOTOFF_PAGE, SYMBOL_GOTOFF_GLOBAL,
SYMBOL_GOTOFF_CALL and SYMBOL_GOTOFF_LOADGP.
(NUM_SYMBOL_TYPES): New macro.
(mips_address_type): Remove ADDRESS_INVALID.
(machine_function): Add has_gp_insn_p.
(mips_constant_info): Delete.
(mips_address_info): Add the address type as an extra field. Replace
the c field with symbol_type.
(mips_split_p, mips_lo_relocs, mips_hi_relocs): New arrays.
(TARGET_DELEGITIMIZE_ADDRESS): Remove definition.
(mips_reloc_offset_ok_p, mips_classify_constant): Delete.
(mips_split_const, mips_symbolic_constant_p): New functions.
(mips_symbolic_address_p): Take the symbol type and mode as arguments.
(mips_classify_address): Return true if the address is valid, storing
its type in INFO. Use mips_symbolic_constant_p. Use mips_lo_relocs[]
to test whether a LO_SUM address is allowed.
(mips_symbol_insns): Return 0 for general mips16 symbols.
Reorder SYMBOL_GOT_GLOBAL case to match mips_symbol_type definition.
Handle the new SYMBOL_GOTOFF_*s.
(mips_address_insns): Update call to mips_classify_address.
(mips_const_insns): Be more fussy about HIGH constants. Remove use
of mips_classify_constant. Be more accurate about CONSTs.
(mips_global_pic_constant_p): Delete.
(const_arith_operand): Only accept CONST_INTs.
(call_insn_operand): Remove call to mips_classify_constant.
Let mips_symbolic_constant_p check for invalid offsets.
(move_operand): Check for general_operands first. Only accept symbolic
constants if they satisfy mips_symbolic_constant_p and cannot be split.
(symbolic_constant): Use mips_symbolic_constant_p.
(global_got_operand, local_got_operand): New predicates.
(stack_operand): Update call to mips_classify_address.
(mips_legitimate_address_p): Likewise.
(mips_reloc, mips_lui_reloc): Delete.
(mips_force_temporary): Only use the given temporary if no_new_pseudos.
Use emit_move_insn.
(mips_split_symbol, mips_unspec_address): New functions.
(mips_unspec_offset_high): New function.
(mips_load_got): Replace reloc argument with a symbol_type.
Use mips_unspec_address to create the address and put it in a
LO_SUM with the base register.
(mips_load_got16, mips_load_got32): Delete.
(mips_emit_high, mips_legitimize_symbol): Delete.
(mips_gotoff_global): New function.
(mips_load_got_page, mips_load_got_global): New functions.
(mips_legitimize_symbol): Inline handling of LO_SUM splits.
(mips_legitimize_const_move): Likewise. Remove HIGH handling.
Inline code to handle constants plus invalid offsets. Use
mips_split_symbol to legitimize constant pool addresses.
(mips_delegitimize_address): Delete.
(mips_rtx_costs): Give legitimate symbolic constants and CONST_DOUBLEs
a cost of 1 insn. Give the rest a cost of CONSTANT_POOL_ADDRESS.
(mips_subword): Pass memrefs through mips_rewrite_small_data.
(mips_output_move): Remove use of mips_classify_constant.
(mips_expand_call): Use mips_unspec_offset_high to calculate the
high part of the GOT address for calls to global functions.
(override_options): Initialize mips_split_p[], mips_lo_relocs[]
and mips_hi_relocs[].
(print_operand): Use print_operand_reloc to handle '%h' and '%R'.
Remove use of mips_classify_constant.
(mips_reloc_string): Delete.
(print_operand_reloc): New function.
(print_operand_address): Update call to mips_classify_address.
(mips_rewrite_small_data_p, small_data_pattern_1): New functions.
(small_data_pattern): New predicate.
(mips_rewrite_small_data_1, mips_rewrite_small_data): New functions.
(mips_function_has_gp_insn): New function.
(mips_global_pointer): Use it.
(mips_gp_insn): Delete.
(mips_expand_prologue): When compiling for n32/n64 abicalls, use a
single loadgp pattern to initialize $gp. Pass it the offset of _gp
from the start of the current function.
(mips16_gp_pseudo_reg): Revert last patch.
* config/mips/mips.md (RELOC_*): Delete.
(UNSPEC_LOADGP, UNSPEC_FIRST_ADDRESS): New constants.
(got): New insn attribute.
(type): Set to "load" if got == load.
(length): Set to 4 if got == load, 8 if got == xgot_high.
(lui[sd]i): Delete.
(*xgot_hi[sd]i, *xgot_lo[sd]i): New patterns.
(*got_disp[sd]i, *got_page[sd]i): Likewise.
(*low[sd]i): Change constraints to "d". Add a new define_split to
rewrite small data constants into LO_SUMs.
(loadgp): New insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73259
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Tue, 4 Nov 2003 20:48:50 +0000 (20:48 +0000)]
* Makefile.in: Remove many duplicate variables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73258
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Tue, 4 Nov 2003 20:12:48 +0000 (20:12 +0000)]
* config/mips/_tilib.c: Use _ABI* in _MIPS_SIM tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73257
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Tue, 4 Nov 2003 18:22:37 +0000 (18:22 +0000)]
* config/v850/v850.md (mulhisi3): Expand the const_int case
separately to avoid trying to sign extend the const.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73256
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Tue, 4 Nov 2003 12:56:59 +0000 (12:56 +0000)]
Remove extra ^M characters introduced in previous commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73251
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Tue, 4 Nov 2003 12:51:47 +0000 (12:51 +0000)]
* sysdep.c: Problem discovered during IA64 VMS port.
[VMS] #include <unixio.h> to get proper prototypes.
* adaint.c:
Issues discovered/problems fixed during IA64 VMS port.
[VMS] #define _POSIX_EXIT for proper semantics.
[VMS] #include <unixio.h> for proper prototypes.
[VMS] (fork): #define IA64 version.
(__gnat_os_exit): Remove unnecessary VMS specific code.
* 3vtrasym.adb: Minor reformatting
Use terminology encoded/decoded name, rather than C++ specific notion
of mangling (this is the terminology used throughout GNAT).
* einfo.h: Regenerated
* einfo.ads, einfo.adb: Add new flag Is_Thread_Body
* exp_ch6.adb:
(Expand_N_Subprogram_Body): Handle expansion of thread body procedure
* par-prag.adb: Add dummy entry for Thread_Body pragma
* rtsfind.ads:
Add entries for System.Threads entities for thread body processing
* sem_attr.adb:
(Analyze_Pragma, Access attributes): Check these are not applied to a
thread body, since this is not permitted
* sem_prag.adb: Add processing for Thread_Body pragma.
Minor comment fix.
* sem_res.adb:
(Resolve_Call): Check for incorrect attempt to call a thread body
procedure with a direct call.
* snames.ads, snames.adb: Add entry for Thread_Body pragma
Add names associated with thread body expansion
* snames.h: Add entry for Thread_Body pragma
* s-thread.adb: Add entries for thread body processing
These are dummy bodies so far
* s-thread.ads: Add documentation on thread body handling.
Add entries for thread body processing.
* sem_ch10.adb:
(Build_Limited_Views): Return after posting an error in case of limited
with_clause on subprograms, generics, instances or generic renamings
(Install_Limited_Withed_Unit): Do nothing in case of limited with_clause
on subprograms, generics, instances or generic renamings
* raise.c (setup_to_install): Correct mistake in last revision; two
arguments out of order.
* trans.c, cuintp.c, argv.c, aux-io.c, cal.c, errno.c, exit.c,
gnatbl.c, init.c, stringt.h, utils.c, utils2.c: Update copyright
notice, missed in previous change.
Remove trailing blanks and other style errors introduced in previous
change.
* decl.c (gnat_to_gnu_field): Adjust the conditions under which we get
rid of the wrapper for a LJM type, ensuring we don't do that if the
field is addressable. This avoids potential low level type view
mismatches later on, for instance in a by-reference argument passing
process.
* decl.c (gnat_to_gnu_field): No longer check for BLKmode being
aligned at byte boundary.
* decl.c (components_to_record): Do not delete the empty variants from
the end of the union type.
* exp_ch4.adb (Expand_N_Op_Eq): Use base type when locating primitive
operation for a derived type, an explicit declaration may use a local
subtype of Boolean.
* make.adb (Gnatmake): Allow main sources on the command line with a
library project when it is only for compilation (no binding or
linking).
Part of PR ada/12806:
* ada-tree.h (TYPE_DIGITS_VALUE, SET_TYPE_DIGITS_VALUE): Save count as
tree, not integer.
* decl.c:
(gnat_to_gnu_entity, case E_Floating_Point_Type): Save count as tree,
not integer.
* targtyps.c, decl.c, misc.c,
gigi.h (fp_prec_to_size, fp_size_to_prec): Temporary
routines to work around change in FP sizing semantics in GCC.
* utils.c:
(build_vms_descriptor): TYPE_DIGITS_VALUE is tree, not integer.
* gigi.h: (enumerate_modes): New function.
* Make-lang.in: (ada/misc.o): Add real.h.
* misc.c: (enumerate_modes): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73250
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Tue, 4 Nov 2003 09:14:18 +0000 (09:14 +0000)]
* emit-rtl.c (copy_rtx_if_shared): Don't allow MEMs with constant
addresses to be shared.
(force_const_mem): Return a copy of the pool entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73248
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Tue, 4 Nov 2003 05:34:14 +0000 (05:34 +0000)]
* Makefile.in (GCC_CFLAGS): Remove @WERROR@ again.
Change previous ChangeLog entry to point to me as asked for by Kaveh.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73246
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 4 Nov 2003 05:27:41 +0000 (05:27 +0000)]
2003-11-03 Petur Runolfsson <peturr02@ru.is>
PR libstdc++/12790
* include/bits/fstream.tcc: Delete _M_last_overflowed.
(basic_filebuf::basic_filebuf): Initialize _M_state_last.
(basic_filebuf::open, basic_filebuf::close): Assign
_M_state_beg to _M_state_cur and _M_state_last.
(basic_filebuf::close): Call _M_terminate_output to handle
unshift and flushing.
(basic_filebuf::underflow): Assign _M_state_last, throw
exception instead of calling abort when codecvt::max_length()
is bad.
(basic_filebuf::seekoff): Use _M_state_last when calling
codecvt::length(), pass correct state to _M_seek.
(basic_filebuf::seekpos): Pass __pos.state() to _M_seek.
(basic_filebuf::_M_seek): Add __state_type parameter,
set _M_state_cur correctly, store the resulting state in
the return value and use _M_terminate_output to handle
flushing and unshift.
(basic_filebuf::_M_terminate_output): Flush contents of
output buffer, if any, then call codecvt::unshift as
needed and output the result.
(basic_filebuf::sync): Move here, don't modify _M_writing
or _M_reading.
* include/std/std_fstream.h
(basic_filebuf::_M_state_last): Declare it.
(basic_filebuf::_M_last_overflowed): Delete.
(basic_filebuf::_M_seek): Add __state_type parameter.
(basic_filebuf::sync): Declare only.
(basic_filebuf::_M_output_unshift): Delete.
(basic_filebuf::_M_terminate_output): Declare it.
* testsuite/testsuite_character.h:
Define character class and state class plus char_traits and
codecvt specializations for same for testing support for
stateful encodings.
* testsuite/27_io/basic_filebuf/close/12790-1.cc,
* testsuite/27_io/basic_filebuf/close/char/12790-1.cc,
* testsuite/27_io/basic_filebuf/close/char/12790-2.cc,
* testsuite/27_io/basic_filebuf/close/char/12790-3.cc,
* testsuite/27_io/basic_filebuf/close/char/12790-4.cc,
* testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc,
* testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc,
* testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc,
* testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc,
* testsuite/27_io/basic_filebuf/open/12790-1.cc,
* testsuite/27_io/basic_filebuf/seekoff/12790-1.cc,
* testsuite/27_io/basic_filebuf/seekoff/12790-2.cc,
* testsuite/27_io/basic_filebuf/seekoff/12790-3.cc,
* testsuite/27_io/basic_filebuf/seekoff/12790-4.cc,
* testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc,
* testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc,
* testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc,
* testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc,
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc,
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc,
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc,
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc,
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc,
* testsuite/27_io/basic_filebuf/seekpos/12790-1.cc,
* testsuite/27_io/basic_filebuf/seekpos/12790-2.cc,
* testsuite/27_io/basic_filebuf/seekpos/12790-3.cc,
* testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc,
* testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc,
* testsuite/27_io/basic_filebuf/seekpos/char/12790-3.cc,
* testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc,
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc,
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc,
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc,
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-3.cc,
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc,
* testsuite/27_io/basic_filebuf/sync/char/1.cc,
* testsuite/27_io/basic_filebuf/sync/wchar_t/1.cc:
New tests.
* testsuite/27_io/basic_filebuf/3.cc,
* testsuite/27_io/basic_filebuf/seekoff/10132-2.cc,
* testsuite/27_io/basic_filebuf/seekpos/10132-3.cc,
* testsuite/27_io/basic_fstream/3.cc,
* testsuite/27_io/basic_ifstream/3.cc,
* testsuite/27_io/basic_ofstream/3.cc:
Use streamoff as off_type and fpos<state_type> as pos_type.
* testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc,
* testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc:
Check that sync does *not* set _M_writing to false.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73245
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Tue, 4 Nov 2003 05:27:10 +0000 (05:27 +0000)]
* java/lang/natClass.cc (newInstance): Throw InstantiationException
if class has no null-argument constructor.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73244
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Tue, 4 Nov 2003 05:02:40 +0000 (05:02 +0000)]
2003-11-01 Anthony Green <green@redhat.com>
* libmath/stubs.c (sqrtf, sqrtl): Reorder so they appear before
they're used.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73243
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 4 Nov 2003 02:14:05 +0000 (02:14 +0000)]
2003-11-03 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (time_get::_M_extract_name): Add
ctype argument.
* include/bits/locale_facets.tcc: Same, use it to allow
capitalized names.
* include/bits/fstream.tcc: Spacing tweak.
* include/bits/istream.tcc: Same.
* include/bits/ostream.tcc: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73242
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 4 Nov 2003 02:06:59 +0000 (02:06 +0000)]
2003-11-03 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (time_get::_M_extract_name): Add
ctype argument.
* include/bits/locale_facets.tcc: Same, use it to allow
capitalized names.
* include/bits/fstream.tcc: Spacing tweak.
* include/bits/istream.tcc: Same.
* include/bits/ostream.tcc: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73241
138bc75d-0d04-0410-961f-
82ee72b054a4
jsturm [Tue, 4 Nov 2003 01:51:15 +0000 (01:51 +0000)]
* libjava.compile/InnerExcept.java: New File.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73240
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Tue, 4 Nov 2003 00:25:49 +0000 (00:25 +0000)]
2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in (cpp.dvi): New target split from cpp.info.
(gcc.dvi): New target split from gcc.info.
(gccint.dvi): New target split from gccint.info.
(cppinternals.dvi): New target split from cppinternals.info
(gccinstall.info): New specific rule.
(gccinstall.dvi): Likewise.
(dvi): Move targets to $(docobjdir).
($(docobjdir)/%.dvi): New implicit rule.
ada/
2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (dvi): Move targets to $(docobjdir).
(gnat_ug_vms.dvi): Simplify rule and adjust target.
(gnat_ug_wnt.dvi): Likewise.
(gnat_ug_unx.dvi): Likewise.
(gnat_ug_vxw.dvi): Likewise.
(gnat_rm.dvi): Likewise.
(gnat-style.dvi): Likewise.
f/
2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (dvi): Move targets to $(docobjdir).
(g77.dvi): Simplify rule.
(g77.info): Sinplify rule.
(g77.1): Delete.
(g77.pod): New intermediate rule.
java/
2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (dvi): Move targets to $(docobjdir).
(gcj.dvi): Simplify rule and adjust target.
(gcj.info): Simplify rule.
(gcj.pod): New intermediate rule.
(gcjh.pod): Likewise.
(jv-scan.pod): Likewise.
(jcf-dump.pod): Likewise.
(gij.pod): Likewise.
(jv-convert.pod): Likewise.
(rmic.pod): Likewise.
(rmiregistry.pod): Likewise.
(gcj.1): Delete.
(gcjh.1): Delete.
(jv-scan.1): Delete.
(jcf-dump.1): Delete.
(gij.1): Delete.
(jv-convert.1): Delete.
(rmic.1): Delete.
(rmiregistry.1): Delete.
treelang/
2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (dvi): Move targets to $(docobjdir).
(treelang.dvi): Simplify rule and adjust target.
(treelang.info): Simplify rule.
(parse.o): Correct dependencies.
(TREE_EXE): Delete doubled suffix append.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73238
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 4 Nov 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73236
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 3 Nov 2003 23:47:11 +0000 (23:47 +0000)]
* doc/gty.texi (tag, desc): Say more about role of desc values in
selecting between tags.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73233
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Mon, 3 Nov 2003 23:27:51 +0000 (23:27 +0000)]
* real.c (encode_ieee_single): Ensure proper promotion.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73232
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Mon, 3 Nov 2003 21:58:31 +0000 (21:58 +0000)]
* doc/contrib.texi: Add Giovanni Bajo, Dara Hazeghi, Falk Hueffner,
and Andrew Pinski.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73230
138bc75d-0d04-0410-961f-
82ee72b054a4
spolk [Mon, 3 Nov 2003 21:44:14 +0000 (21:44 +0000)]
2003-10-28 Syd Polk <spolk@apple.com>
* config/rs6000/rs6000.c (rs6000_override_options): Add G3, G4, and G5
marketing names to the list of supported processors.
* config/rs6000/rs6000.h: Ditto.
* doc/invoke.texi: Ditto.
* config.gcc: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73228
138bc75d-0d04-0410-961f-
82ee72b054a4
reichelt [Mon, 3 Nov 2003 21:29:35 +0000 (21:29 +0000)]
PR c++/12726
* g++.dg/ext/complit2.C: Replace test with self-contained version.
* ChangeLog: Add missing first entry for above test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73227
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Mon, 3 Nov 2003 21:07:34 +0000 (21:07 +0000)]
* fixinc/inclhack.def (stdio_va_list): Allow tab before va_list.
Merge two substitutions.
* fixinc/fixincl.x: Regenerate.
Fixes PR bootstrap/12666.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73226
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Mon, 3 Nov 2003 19:11:02 +0000 (19:11 +0000)]
* doc/install-old.texi: Remove VMS documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73223
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 3 Nov 2003 15:25:17 +0000 (15:25 +0000)]
* config.sub: Update to 2003-11-03 version.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73217
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Mon, 3 Nov 2003 13:21:00 +0000 (13:21 +0000)]
2003-10-30 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.am (my_make_i_flags): Add $(srcdir) and update comment
to match.
(fastjar.info): Update target to write to build directory.
(%.1): New implicit rule from a .pod file.
(jar.1): Delete.
(grepjar.1): Delete.
(jar.pod): New intermediate rule.
(grepjar.pod): Likewise.
* Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73216
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 3 Nov 2003 11:52:42 +0000 (11:52 +0000)]
* i386.c (override_options): Remove hack enabling 128bit long double
commited by accident.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73213
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Mon, 3 Nov 2003 07:24:28 +0000 (07:24 +0000)]
* c-opts.c (needValue): Do cpp_find_main_file before processing
any imacros flags, so pfile->main_file is set for the latter.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73212
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Mon, 3 Nov 2003 05:35:30 +0000 (05:35 +0000)]
2003-11-03 Andreas Jaeger <aj@suse.de>
Zack Weinberg <zack@codesourcery.com>
* Makefile.in (GCC_CFLAGS): Allow blacklisting of warnings.
(SYSCALLS.c.X-warn): Suppress warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73211
138bc75d-0d04-0410-961f-
82ee72b054a4
jsturm [Mon, 3 Nov 2003 03:58:50 +0000 (03:58 +0000)]
Fixes PR java/12866.
* parse.y (resolve_qualified_expression_name): Move test
for outer field access methods from here...
(check_thrown_exceptions) ...to here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73210
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 3 Nov 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73208
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sun, 2 Nov 2003 21:38:54 +0000 (21:38 +0000)]
PR optimization/12845
* pa.c (output_cbranch): Use cmpb for DImode comparisons with 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73205
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sun, 2 Nov 2003 19:47:57 +0000 (19:47 +0000)]
* print-rtl.c (print_rtx): Call PRINT_REG with second argument -1.
* config/i386/i386.c (print_reg): Abort on a virtual register
if code != -1; not if file == asm_out_file.
* config/i386/i386.h (PRINT_REG): Document meaning of CODE == -1.
(DEBUG_PRINT_REG): Delete, unused.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73203
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Sun, 2 Nov 2003 17:35:20 +0000 (17:35 +0000)]
* config/ia64/fde-glibc.c (_GNU_SOURCE): Define to 1 instead of
empty to avoid conflict with the definition from configure.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73202
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Sun, 2 Nov 2003 14:17:39 +0000 (14:17 +0000)]
PR c++/9810
* call.c (build_over_call): Check access using primary template
if FN is a member function template.
* g++.dg/template/using8.C: New test.
* g++.old-deja/g++.other/access11.C: Adjust expected error location.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73201
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sun, 2 Nov 2003 13:56:42 +0000 (13:56 +0000)]
PR optimization/10817
* ifcvt.c (noce_emit_move_insn): Improve documentation comment.
(noce_try_move): New function to optimize an if-the-else into an
unconditional move, i.e. "if (a!=b) x=a; else x=b" into "x=a".
(noce_process_if_block): Attempt simplification with noce_try_move.
* simplify-rtx.c (simplify_ternary_operation): Some minor fixes
and improvements to the optimizations of IF_THEN_ELSE expressions.
(simplify_subreg): Silence signed/unsigned comparison warning.
* gcc.c-torture/compile/
20031102-1.c: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73200
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 2 Nov 2003 13:09:37 +0000 (13:09 +0000)]
* gcc.c-torture/execute/va-arg-25.c: Enable only if INT_MAX ==
2147483647.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73199
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sun, 2 Nov 2003 09:34:54 +0000 (09:34 +0000)]
* Makefile.in (targhooks.o, reload.o): Update dependencies.
(GTFILES): Add targhooks.c.
(gt-targhooks.h): New rule; depend on s-gtype.
* target.h (direct_pool_load_p): New hook.
* target-def.h (TARGET_DIRECT_POOL_LOAD_P): New macro.
(TARGET_INITIALIZER): Include it.
* targhooks.h (default_direct_pool_load_p): Declare.
(hook_bool_machine_mode_true): Declare.
* targhooks.c: Include insn-config.h, recog.h, ggc.h and
gt-targhooks.h.
(pool_symbol): New variable.
(default_direct_pool_load_p): New function.
(hook_bool_machine_mode_true): New function.
* reload.c: Include target.h.
(find_reloads): If an alternative will force a constant into memory,
count an extra reload if constant pool symbols are not valid
addresses. If an alternative uses memory to move values between
registers, count the move as two reloads rather than one.
* config/s390/s390.c (TARGET_DIRECT_POOL_LOAD_P): Define.
* doc/tm.texi (TARGET_DIRECT_POOL_LOAD_P): Document.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73196
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sun, 2 Nov 2003 08:32:23 +0000 (08:32 +0000)]
PR optimization/12799
* postreload.c (reload_cse_move2add): Generate the add2
patterns manually.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73195
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sun, 2 Nov 2003 08:27:23 +0000 (08:27 +0000)]
* config/sparc/sparc.c (function_arg_partial_nregs) [TARGET_ARCH64]:
Return 0 for all complex modes whose size is lesser or equal to
a word. Add a ??? comment for the condition used with 16-byte
aligned modes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73194
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sun, 2 Nov 2003 01:01:24 +0000 (01:01 +0000)]
* som.h (DO_GLOBAL_DTORS_BODY): Change to C90 declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73193
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sun, 2 Nov 2003 00:16:33 +0000 (00:16 +0000)]
* libgcc2.c (SYMBOL__MAIN): Provide C90 declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73191
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 2 Nov 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73189
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sun, 2 Nov 2003 00:12:45 +0000 (00:12 +0000)]
* collect2.c (scan_libraries): Fix typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73187
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Sun, 2 Nov 2003 00:08:12 +0000 (00:08 +0000)]
* .cvsignore: Remove c-parse.* and tradcif.c
* objc/.cvsignore: Delete.
* java/.cvsignore: Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73186
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Sun, 2 Nov 2003 00:02:21 +0000 (00:02 +0000)]
* maintainer-addresses: New script.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73185
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sun, 2 Nov 2003 00:00:08 +0000 (00:00 +0000)]
* unwind-sjlj.c (_Unwind_GetCFA): Return (_Unwind_Word)0 instead
of NULL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73184
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 1 Nov 2003 22:56:54 +0000 (22:56 +0000)]
PR preprocessor/12847
* cppfiles.c, cppexp.c, cpperror.c, cpplib.h, cpplib.c, cpplex.c,
cppinit.c, cpptrad.c, cppmacro.c, fix-header.c, cpppch.c, c-pch.c,
c-incpath.c, cppcharset.c (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN,
DL_ERROR, DL_ICE, DL_EXTRACT, DL_WARNING_P): Prefix macro names with
"CPP_".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73183
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sat, 1 Nov 2003 22:00:33 +0000 (22:00 +0000)]
* config/rs6000/rs6000.c (rs6000_mixed_function_arg): Correct
no_units calculation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73182
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sat, 1 Nov 2003 18:31:56 +0000 (18:31 +0000)]
* unwind-dw2.c (_Unwind_FrameState): Remove commas at end of
enumeration list.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73180
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Sat, 1 Nov 2003 17:26:09 +0000 (17:26 +0000)]
* config/ia64/sysv4.h (SDATA_SECTION_FUNCTION): Update to C90
prototypes.
(SBSS_SECTION_FUNCTION): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73177
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sat, 1 Nov 2003 16:58:44 +0000 (16:58 +0000)]
2003-11-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Makefile.in (GCC_CFLAGS): Add @WERROR@ for target files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73176
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Sat, 1 Nov 2003 16:09:38 +0000 (16:09 +0000)]
PR c++/12796
* g++.dg/template/crash13.C: Adjust expected error location.
* g++.old-deja/g++.brendan/ns1.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73175
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Sat, 1 Nov 2003 12:00:25 +0000 (12:00 +0000)]
PR c++/12796
* class.c (handle_using_decl): Set input_location before calling
error_not_base_type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73174
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Sat, 1 Nov 2003 11:31:24 +0000 (11:31 +0000)]
2003-11-01 Andreas Tobler <a.tobler@schweiz.ch>
* config/rs6000/sysv4.h (EXTRA_SECTION_FUNCTIONS): Update to C90
prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73173
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Sat, 1 Nov 2003 09:59:50 +0000 (09:59 +0000)]
* unwind-dw2.c (_Unwind_FindEnclosingFunction): Constify variable.
(uw_frame_state_for): Constify variables.
(extract_cie_info): Constify first argument.
* unwind-dw2-fde-darwin.c: Adjust prototype of
_Unwind_Find_registered_FDE for recent changes.
(examine_objects): Constify return value and local variable result.
(_Unwind_Find_FDE): Constify return value and local variable ret.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73172
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sat, 1 Nov 2003 03:25:21 +0000 (03:25 +0000)]
Note that the previous check-in to c-opts.c fixes PR preprocessor/12545.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73171
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sat, 1 Nov 2003 03:19:59 +0000 (03:19 +0000)]
* c-opts.c (finish_options): Change to returns boolean - false iff
the call to cpp_find_main_file fails.
(c_common_init): Skip preprocess_file if finish_options failed.
(c_common_parse_file): Break if finish_options failed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73170
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 1 Nov 2003 02:34:58 +0000 (02:34 +0000)]
* aclocal.m4: Blacklist ultrix* for mmap file.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73169
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 1 Nov 2003 02:23:44 +0000 (02:23 +0000)]
* function.c (assign_parms): Add ATTRIBUTE_UNUSED to variable
reg_parm_stack_space.
* toplev.c (default_get_pch_validity): Fix warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73168
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 1 Nov 2003 02:11:12 +0000 (02:11 +0000)]
* vax.c: Include toplev.h.
(vax_init_libfuncs): Fix typo (umod).
* vax.h (ASM_COMMENT_START): Define.
(PRINT_OPERAND): Fix warning when HOST_WIDE_INT is a long long.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73167
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 1 Nov 2003 00:59:53 +0000 (00:59 +0000)]
PR middle-end/11968
* expr.c (expand_expr <MULT_EXPR>): Remove inappropriate and
confusing comment; distributivity isn't handled in expand_expr.
* fold-const.c (extract_muldiv_1 <PLUS_EXPR>): Allow overflow
in distributivity, if wrap-around semantics are specified with
-fwrapv.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73166
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Sat, 1 Nov 2003 00:48:50 +0000 (00:48 +0000)]
PR 12315
* final.c (profile_function): Allow for NULL svrtx.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73165
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 1 Nov 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73163
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Fri, 31 Oct 2003 22:08:55 +0000 (22:08 +0000)]
* pa.c (pa_select_section): Use new style declaration.
* som.h (readonly_data): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73160
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Fri, 31 Oct 2003 21:47:01 +0000 (21:47 +0000)]
* config/rs6000/rs6000.c: Update to C90 prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73159
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Fri, 31 Oct 2003 21:44:35 +0000 (21:44 +0000)]
Bah! Missed PR no again!
PR target/7513
* arm.h (CONDITIONAL_REGISTER_USAGE): Disable use of LR in Thumb
code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73158
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Fri, 31 Oct 2003 21:42:23 +0000 (21:42 +0000)]
* arm.h (CONDITIONAL_REGISTER_USAGE): Disable use of LR in Thumb
code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73157
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Fri, 31 Oct 2003 20:46:26 +0000 (20:46 +0000)]
2003-10-31 Andreas Jaeger <aj@suse.de>,
Zack Weinberg <zack@codesourcery.com>
* crtstuff.c (__register_frame_info, __register_frame_info_bases)
(__deregister_frame_info, __deregister_frame_info_bases):
Constify void * argument.
* unwind-dw2-fde.h (struct fde_vector):
Constify 'orig_data' and 'array' fields.
(__register_frame_info, __register_frame_info_bases)
(__deregister_frame_info, __deregister_frame_info_bases):
Constify void * argument.
(get_cie, next_fde, _Unwind_Find_FDE): Constify arguments,
return values, and casts of type fde *, struct dwarf_fde *,
and struct dwarf_cie *.
* unwind-dw2-fde.c (__register_frame_info, __register_frame_info_bases)
(__deregister_frame_info, __deregister_frame_info_bases):
Constify void * argument.
(get_cie_encoding, ): Constify struct dwarf_cie * argument.
(get_fde_encoding, fde_unencoded_compare, fde_single_encoding_compare)
(fde_mixed_encoding_compare, fde_compare_t, start_fde_sort, fde_insert)
fde_split, SWAP, frame_downheap, frame_heapsort)
(classify_object_over_fdes, add_fdes, linear_search_fdes,
binary_search_unencoded_fdes, binary_search_single_encoding_fdes,
binary_search_mixed_encoding_fdes, search_object, _Unwind_Find_FDE):
Constify arguments, local variables, return values, and casts
of type fde *, fde **, struct dwarf_fde *, and struct dwarf_cie *.
Use const pointer types in sizeof expressions, for clarity.
* unwind-dw2-fde-glibc.c
(_Unwind_find_registered_FDE, _Unwind_find_FDE): Constify return value.
(struct unw_eh_callback_data): Constify 'ret' field.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73155
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Fri, 31 Oct 2003 16:04:21 +0000 (16:04 +0000)]
* g++.dg/bprob/bprob.exp: Disable test on arm-elf configs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73153
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 31 Oct 2003 15:58:39 +0000 (15:58 +0000)]
Add UNITS_PER_ARG missed in patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73152
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 31 Oct 2003 15:50:49 +0000 (15:50 +0000)]
2003-10-31 Fariborz Jahanian <fjahanian@apple.com>
David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.c (rs6000_mixed_function_arg): New.
(function_arg): Call it.
(rs6000_function_value): Widen integral return value to mode based
on TARGET_32BIT, not word_mode.
* config/rs6000/rs6000.h (PROMOTE_MODE): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73151
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Fri, 31 Oct 2003 15:38:37 +0000 (15:38 +0000)]
* .cvsignore: No longer ignore gengtype-lex.c, gengtype-yacc.c,
and gengtype-yacc.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73150
138bc75d-0d04-0410-961f-
82ee72b054a4