Commit Graph

49870 Commits

Author SHA1 Message Date
Alexander Aganichev
a64d0bc69e * config/i386/i386.h (MODES_TIEABLE_P): Fix typo.
From-SVN: r66670
2003-05-10 19:38:02 +00:00
Nathan Sidwell
9b514d2586 defaults.h (GCOV_TYPE_SIZE): Remove.
* defaults.h (GCOV_TYPE_SIZE): Remove.
	* gcov-io.h (gcov_type): Set to specific mode int on target.
	(gcov_unsigned_t, gcov_position_t): New.
	(GCOV_TYPE_NODE): New.
	(GCOV_TAG_SUMMARY_LENGTH): Adjust.
	(GCOV_COUNTERS_SUMMABLE): New.
	(gcov_ctr_summary, gcov_sumary, gcov_fn_info, gcov_merge_fn,
	gcov_ctr_info, gcov_info): Adjust types.
	(gcov_var): Adjust types.
	(gcov_write_unsigned, gcov_write_tag,
	gcov_write_length, gcov_write_tag_length, gcov_write_summary,
	gcov_read_unsigned, gcov_read_summary): Adjust gcov types.
	(gcov_position, gcov_sync, gcov_seek): Adjust gcov types.
	* gcov-io.c (gcov_write_unsigned, gcov_write_tag,
	gcov_write_length, gcov_write_tag_length, gcov_write_summary,
	gcov_read_unsigned, gcov_read_summary): Adjust gcov types.
	* libgcov.c (gcov_crc32, gcov_version_mismatch, gcov_exit,
	__gcov_init, __gcov_merge_add): Adjust gcov types.
	* coverage.c (ctr_merge_functions): Constify.
	(ctr_names): New.
	(read_counts_file): Adjust gcov types. Only summarize & merge
	summable counters.
	(coverage_counter_ref): Use GCOV_TYPE_NODE.
	(build_fn_info_type, build_fn_info_value, build_ctr_info_type,
	build_ctr_info_value, build_gcov_info): Adjust types.
	* profile.c (branch_prob): Adjust gcov types.
	* gcov_dump (dump_file): Adjust gcov types.

From-SVN: r66668
2003-05-10 19:02:21 +00:00
Richard Kenner
bac45eb9ff Properly remove previous patch.
From-SVN: r66667
2003-05-10 13:31:13 -04:00
Bruce Korb
7caebb6c2f defer a mistake until later
From-SVN: r66666
2003-05-10 17:01:29 +00:00
Kriang Lerdsuwanakij
7d021397f5 * pt.c (instantiate_decl): Call push/pop_deferring_access_checks.
From-SVN: r66665
2003-05-10 15:58:45 +00:00
Paolo Carlini
6e39f8601a 3.cc: Remove unnecessary includes and unused string literals.
2003-05-10  Paolo Carlini  <pcarlini@unitus.it>

	* testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
	unnecessary includes and unused string literals.
	* testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.

From-SVN: r66663
2003-05-10 15:05:15 +00:00
Richard Earnshaw
03f1640c00 arm.md (DOM_CC_X_AND_Y, [...]): New constants.
* arm.md (DOM_CC_X_AND_Y, DOM_CC_NX_OR_Y, DOM_CC_X_OR_Y): New
constants.
(ior_scc_scc, and_scc_scc): New insn_and_split patterns.
* arm.c (arm_select_dominance_cc_mode): Renamed from
select_dominance_cc_mode, no-longer static.  Use DOM_CC... constants.
Callers updated.
* arm-protos.h (arm_select_dominance_cc_mode): Add prototype.

From-SVN: r66662
2003-05-10 13:10:47 +00:00
Richard Kenner
429d630084 revert: vxxscale.h, [...]: New files.
Revert:

2003-05-09  Olivier Hainque <hainque@act-europe.fr>

	* config/arm/vxxscale.h, config/arm/vxxscale-coff.h: New files.
	* config/arm/vxxscale-elf.h, config/arm/t-vxxscale-elf: Likewise.
	* config.gcc (xscale-coff-vxworks, xscale-wrs-vxworks): New new cases.
	* fixinc/fixinc.copy: New file.
	* fixinc/mkfixinc.sh (*-vxworks*): New case, using above.

From-SVN: r66661
2003-05-10 08:07:04 -04:00
Kriang Lerdsuwanakij
78757caa17 re PR c++/9252 ([New parser] Errors due to legally used "typename")
PR c++/9252
	* cp-tree.h (saved_scope): Remove check_access field.
	(tsubst_flags_t): Remove tf_parsing.
	* decl.c (maybe_push_to_top_level): Don't initialize
	scope_chain->check_access.
	(make_typename_type, make_unbound_class_template): Don't use
	tf_parsing.
	(register_dtor_fn): Use push/pop_deferring_access_checks
	instead of scope_chain->check_access.
	* method.c (use_thunk): Likewise.
	* parser.c (cp_parser_explicit_instantiation
	(cp_parser_constructor_declarator_p): Don't call
	push/pop_deferring_access_checks here.
	(cp_parser_template_argument, cp_parser_class_name): Don't use
	tf_parsing.
	(yyparse): Check flag_access_control.
	* pt.c (instantiate_class_template): Call
	push/pop_deferring_access_checks.
	* semantics.c (push_deferring_access_checks): Propagate
	dk_no_check.
	(perform_or_defer_access_check): Make sure basetype_path is
	a type before comparison.
	* call.c (build_op_delete_call, build_over_call): Use
	perform_or_defer_access_check.
	* class.c (alter_access): Likewise.
	* init.c (build_offset_ref): Likewise.
	* lex.c (do_identifier): Likewise.
	* method.c (hack_identifier): Likewise.
	* search.c (lookup_member): Likewise.
	* semantics.c (finish_non_static_data_member): Likewise.
	(simplify_aggr_init_exprs_r): Use push/pop_deferring_access_checks
	instead of flag_access_control.

	* g++.dg/parse/access8.C: New test.
	* g++.dg/parse/access9.C: New test.

From-SVN: r66660
2003-05-10 11:29:53 +00:00
Kriang Lerdsuwanakij
8d241e0b57 re PR c++/9554 (Out of class declaration of member class template specialisation rejected)
PR c++/9554
	* parser.c (cp_parser_class_name): Remove check_access parameter.
	All caller adjusted.  Update declaration.
	(cp_parser_lookup_name): Likewise.
	* semantics.c (push_deferring_access_checks): Change parameter type
	to enum deferring_kind.  All caller adjusted.
	(resume_deferring_access_checks): Adjust to use new enum.
	(stop_deferring_access_checks): Likewise.
	(perform_or_defer_access_check): Likewise.
	* cp-tree.h (deferring_kind): New enum.
	(deferred_access): Adjust field type.
	(push_deferring_access_checks): Update declaration.

	* g++.dg/parse/access1.C: New test.

From-SVN: r66659
2003-05-10 11:06:26 +00:00
Michael Koch
9ca5e6948d ButtonUI.java, [...]: New versions from classpath.
2003-05-10  Michael Koch  <konqueror@gmx.de>

	* javax/swing/plaf/ButtonUI.java,
	javax/swing/plaf/ColorUIResource.java,
	javax/swing/plaf/ComponentUI.java,
	javax/swing/plaf/DimensionUIResource.java,
	javax/swing/plaf/FontUIResource.java,
	javax/swing/plaf/IconUIResource.java,
	javax/swing/plaf/InsetsUIResource.java,
	javax/swing/plaf/LabelUI.java,
	javax/swing/plaf/ListUI.java,
	javax/swing/plaf/OptionPaneUI.java,
	javax/swing/plaf/PanelUI.java,
	javax/swing/plaf/TabbedPaneUI.java,
	javax/swing/plaf/TextUI.java,
	javax/swing/plaf/TreeUI.java,
	javax/swing/plaf/ViewportUI.java,
	javax/swing/plaf/basic/BasicBorders.java,
	javax/swing/plaf/basic/BasicButtonUI.java,
	javax/swing/plaf/basic/BasicCheckBoxUI.java,
	javax/swing/plaf/basic/BasicDefaults.java,
	javax/swing/plaf/basic/BasicGraphicsUtils.java,
	javax/swing/plaf/basic/BasicIconFactory.java,
	javax/swing/plaf/basic/BasicLabelUI.java,
	javax/swing/plaf/basic/BasicListUI.java,
	javax/swing/plaf/basic/BasicOptionPaneUI.java,
	javax/swing/plaf/basic/BasicPanelUI.java,
	javax/swing/plaf/basic/BasicRadioButtonUI.java,
	javax/swing/plaf/basic/BasicScrollPaneUI.java,
	javax/swing/plaf/basic/BasicTabbedPaneUI.java,
	javax/swing/plaf/basic/BasicTextUI.java,
	javax/swing/plaf/basic/BasicToggleButtonUI.java,
	javax/swing/plaf/basic/BasicTreeUI.java,
	javax/swing/plaf/basic/BasicViewportUI.java,
	javax/swing/plaf/metal/MetalLookAndFeel.java:
	New versions from classpath. This adds copyrights to all files and
	some serialVersionUIDs.

From-SVN: r66658
2003-05-10 08:14:36 +00:00
Michael Koch
ddf87cfafa 2003-05-10 Michael Koch <konqueror@gmx.de>
* java/nio/CharBuffer.java
	(offset): Make it package-private.
	(backing_buffer): Likewise.
	* java/nio/DoubleBuffer.java
	(offset): Make it package-private.
	(backing_buffer): Likewise.
	(put): Reformatted.
	* java/nio/FloatBuffer.java
	(offset): Make it package-private.
	(backing_buffer): Likewise.
	* java/nio/IntBuffer.java
	(offset): Make it package-private.
	(backing_buffer): Likewise.
	* java/nio/LongBuffer.java
	(offset): Make it package-private.
	(backing_buffer): Likewise.
	* java/nio/ShortBuffer.java
	(offset): Make it package-private.
	(backing_buffer): Likewise.

From-SVN: r66657
2003-05-10 07:50:00 +00:00
Michael Koch
c363e02d01 2003-05-10 Michael Koch <konqueror@gmx.de>
* java/nio/CharBuffer.java
	(put): Fixed precondtion check.
	(toString): Make it work without backing array.
	(put): Skip one level of method calling.

From-SVN: r66656
2003-05-10 07:41:59 +00:00
Michael Koch
2d133a9fd0 Identity.java, [...]: New versions from classpath.
2003-05-10  Michael Koch  <konqueror@gmx.de>

	* java/security/Identity.java,
	java/security/IdentityScope.java,
	java/security/Key.java,
	java/security/KeyPair.java,
	java/security/PrivateKey.java,
	java/security/Provider.java,
	java/security/PublicKey.java,
	java/security/SecureRandom.java,
	java/security/SecureRandomSpi.java,
	java/security/SignedObject.java,
	java/security/Signer.java,
	java/security/cert/Certificate.java,
	java/security/cert/PKIXCertPathBuilderResult.java,
	java/security/cert/X509Certificate.java:
	New versions from classpath.

From-SVN: r66655
2003-05-10 07:12:48 +00:00
Roger Sayle
3ee106652e alpha.c (alpha_start_function): Declare frame_size as unsigned to avoid signed/unsigned comparison warnings.
* config/alpha/alpha.c (alpha_start_function): Declare frame_size
	as unsigned to avoid signed/unsigned comparison warnings.

From-SVN: r66654
2003-05-10 02:05:36 +00:00
DJ Delorie
eddfe8258a stdarg1.C: Make sure arg "3" is passed as a long, and not an int.
* g++.dg/other/stdarg1.C: Make sure arg "3" is passed as a
long, and not an int.

From-SVN: r66653
2003-05-09 21:07:38 -04:00
GCC Administrator
05c6099ab9 Daily bump.
From-SVN: r66651
2003-05-10 00:16:13 +00:00
Bob Wilson
0bd0703d04 xtensa.c (xtensa_emit_loop_end): Only use "nop.n" instruction if the Xtensa density option is enabled.
* config/xtensa/xtensa.c (xtensa_emit_loop_end): Only use "nop.n"
        instruction if the Xtensa density option is enabled.

From-SVN: r66649
2003-05-09 23:36:39 +00:00
Tim Josling
886c07bcc7 Treelang fixes including built failures on PPC and others.
From-SVN: r66647
2003-05-09 21:43:54 +00:00
Matt Kraai
1476c9d9ee mklibgcc.in: Remove extra quotes.
2003-05-09  Matt Kraai <kraai@alumni.cmu.edu>

       * mklibgcc.in: Remove extra quotes.

From-SVN: r66644
2003-05-09 20:14:52 +00:00
Mark Mitchell
36e8d515e5 rs6000.c (spe_init_builtins): Fix typo in creation of int_ftype_void.
* config/rs6000/rs6000.c (spe_init_builtins): Fix typo in creation
	of int_ftype_void.

From-SVN: r66642
2003-05-09 19:32:30 +00:00
Tom Tromey
553ada109d Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (nat_source_files): Removed old files.
	* gnu/java/nio/natDoubleBufferImpl.cc: Removed.
	* gnu/java/nio/natFloatBufferImpl.cc: Removed.
	* gnu/java/nio/natIntBufferImpl.cc: Removed.
	* gnu/java/nio/natLongBufferImpl.cc: Removed.
	* gnu/java/nio/natShortBufferImpl.cc: Removed.

From-SVN: r66640
2003-05-09 19:16:54 +00:00
Olivier Hainque
b3dd7e32bf vxxscale.h, [...]: New files.
* config/arm/vxxscale.h, config/arm/vxxscale-coff.h: New files.
	* config/arm/vxxscale-elf.h, config/arm/t-vxxscale-elf: Likewise.
	* config.gcc (xscale-coff-vxworks, xscale-wrs-vxworks): New new cases.
	* fixinc/fixinc.copy: New file.
	* fixinc/mkfixinc.sh (*-vxworks*): New case, using above.

From-SVN: r66639
2003-05-09 15:06:56 -04:00
Alexandre Oliva
f8a3025016 reload1.c (reload_cse_move2add): Don't turn an implicit truncation into a self-set in the narrow mode.
* reload1.c (reload_cse_move2add): Don't turn an implicit
truncation into a self-set in the narrow mode.

From-SVN: r66638
2003-05-09 17:16:54 +00:00
Richard Earnshaw
e912eadf52 * arm.md (clzsi2): The CLZ instruction is predicable.
From-SVN: r66637
2003-05-09 17:10:30 +00:00
Bob Wilson
638db43e75 * config/xtensa/xtensa.c: Formatting.
From-SVN: r66636
2003-05-09 16:05:46 +00:00
Diego Novillo
5675294bcb tree-dump.c (dequeue_and_dump): Use CONSTRUCTOR_ELTS...
* tree-dump.c (dequeue_and_dump): Use CONSTRUCTOR_ELTS,
	instead of TREE_OPERAND to access the operand of a
	CONSTRUCTOR node.

From-SVN: r66635
2003-05-09 11:37:08 -04:00
Kriang Lerdsuwanakij
88e98cfeb7 PR c++/10555, c++/10576
PR c++/10555, c++/10576
	* pt.c (lookup_template_class): Handle class template with
	multiple levels of parameters when one of the levels contain
	errors.

	* g++.dg/template/memclass1.C: New test.

From-SVN: r66634
2003-05-09 15:10:28 +00:00
Gerald Pfeifer
f4e12a7cdb update_version (ADD_BRANCHES): Add, set to MAIN and tree-ssa-20020619-branch.
* update_version (ADD_BRANCHES): Add, set to MAIN and
	tree-ssa-20020619-branch.
	(BRANCHES): Always consider branches given by $ADD_BRANCHES.

From-SVN: r66633
2003-05-09 15:05:41 +00:00
Diego Novillo
ec0f4995d6 tree-dump.c (dequeue_and_dump): CONSTRUCTOR nodes contain only one operand.
* tree-dump.c (dequeue_and_dump): CONSTRUCTOR nodes contain only
	one operand.

From-SVN: r66630
2003-05-09 09:27:19 -04:00
Gabriel Dos Reis
3c4b64384b toplev.h (warning_with_file_and_line): Don't declare.
* toplev.h (warning_with_file_and_line): Don't declare.
	(error_with_file_and_line): Likewise.
	* diagnostic.c (error_with_file_and_line): Remove.
	(warning_with_file_and_line): Likewise.

From-SVN: r66628
2003-05-09 10:08:19 +00:00
Gabriel Dos Reis
49468c8be1 c-parse.in (if_stmt_locus): New object.
* c-parse.in (if_stmt_locus): New object.
	(if_prefix rule): Use it.  Don't use warning_with_file_and_line.
	(select_or_iter_stmt rule): Likewise.
	(if_stmt_file): Remove.
	(if_stmt_line): Likewise.
	* jump.c: include "diagnostic.h"
	(never_reached_warning): Don't use warning_with_file_and_line.
	* Makefile.in (jump.o): Add dependce on diagnostic.h

From-SVN: r66627
2003-05-09 09:25:34 +00:00
Michael Koch
2c478ce37c 2003-05-09 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/ByteBufferImpl.java
	(nio_cast): Removed.
	(ByteBufferImpl): Removed.
	(nio_get_Byte): Removed.
	(nio_put_Byte): Removed.
	(asByteBuffer): Removed.
	(asCharBuffer): Removed implementation and throw exception.
	(asShortBuffer): Likewise.
	(asIntBuffer): Likewise.
	(asLongBuffer): Likewise.
	(asFloatBuffer): Likewise.
	(asDoubleBuffer): Likewise.
	* gnu/java/nio/CharBufferImpl.java
	(CharBufferImpl): Removed.
	(nio_get_Byte): Removed.
	(nio_put_Byte): Removed.
	(asByteBuffer): Removed.
	* gnu/java/nio/DoubleBufferImpl.java
	(DoubleBufferImpl): Removed.
	(nio_get_Byte): Removed.
	(nio_put_Byte): Removed.
	(asByteBuffer): Removed.
	* gnu/java/nio/FloatBufferImpl.java
	(FloatBufferImpl): Removed.
	(nio_get_Byte): Removed.
	(nio_put_Byte): Removed.
	(asByteBuffer): Removed.
	* gnu/java/nio/IntBufferImpl.java
	(IntBufferImpl): Removed.
	(nio_get_Byte): Removed.
	(nio_put_Byte): Removed.
	(asByteBuffer): Removed.
	* gnu/java/nio/LongBufferImpl.java
	(LongBufferImpl): Removed.
	(nio_get_Byte): Removed.
	(nio_put_Byte): Removed.
	(asByteBuffer): Removed.
	* gnu/java/nio/ShortBufferImpl.java
	(ShortBufferImpl): Removed.
	(nio_get_Byte): Removed.
	(nio_put_Byte): Removed.
	(asByteBuffer): Removed.
	* gnu/java/nio/natByteBufferImpl.cc
	(nio_cast): Removed.
	(nio_get_Byte): Removed.
	(nio_put_Byte): Removed.
	* gnu/java/nio/natCharBufferImpl.cc
	(nio_get_Byte): Removed.
	(nio_put_Byte): Removed.

From-SVN: r66626
2003-05-09 07:55:59 +00:00
Michael Koch
44db872cf5 2003-05-09 Michael Koch <konqueror@gmx.de>
* java/net/JarURLConnection.java
	(getJarEntry): Merged documentation from classpath.
	(getJarFile): Likewise.
	(getMainAttributes): Likewise.
	(getAttributes): Likewise.
	(getManifest): Likewise.
	(getCertificates): Reformatted.
	* java/net/URLConnection.java:
	Little classpath merge.

From-SVN: r66625
2003-05-09 07:11:11 +00:00
Michael Koch
d8048dc2f7 2003-05-09 Michael Koch <konqueror@gmx.de>
* java/io/DataOutputStream.java
	(writeShort): Made it synchronized.
	(writeChar): Likewise.
	(writeInt): Likewise.
	(writeLong): Liekwise.
	(writeUTF): Made it synchronized, renamed argument to match classpath.
	* java/io/InputStreamReader.java
	(converter): Added documentation.
	(read): Merged documentation from classpath.
	* java/io/OutputStreamWriter.java
	(OutputStreamWriter): Merged documentation from classpath.
	(close): Reformatted.
	(getEncoding): Likewise.
	(flush): Likewise.
	(write): Merged documentation from classpath, reformatted.

From-SVN: r66624
2003-05-09 07:10:58 +00:00
Alan Modra
c6b97fac18 expr.c (move_block_from_reg): Remove "size" parm.
* expr.c (move_block_from_reg): Remove "size" parm.  Localize vars.
	Move code handling pieces not larger than a word to..
	* function.c (assign_parms): ..here, but use change_address instead
	of adjust_address and operand_subword, and expand_binop instead of
	expand_shift.  Adjust calls to move_block_from_reg.
	* expr.h (move_block_from_reg): Update declaration.
	(copy_blkmode_from_reg): Formatting.
	* Makefile.in (function.o): Add $(OPTABS_H) to deps.
	* config/alpha/alpha.c (alpha_setup_incoming_varargs): Adjust
	move_block_from_reg calls.
	* config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
	* config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
	* config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
	* config/m88k/m88k.c (m88k_builtin_saveregsk): Likewise.
	* config/mips/mips.c (mips_setup_incoming_varargs): Likewise.
	* config/pa/pa.c (hppa_builtin_saveregs): Likewise.
	* config/romp/romp.h (SETUP_INCOMING_VARARGS): Likewise.
	* config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
	* config/sh/sh.c (sh_builtin_saveregs): Likewise.

From-SVN: r66623
2003-05-09 16:07:25 +09:30
GCC Administrator
8ac3815a08 Daily bump.
From-SVN: r66621
2003-05-09 00:16:06 +00:00
DJ Delorie
06d2285347 stormy16.c (xstormy16_expand_builtin_va_arg): Fix to handle arguments for which MUST_PASS_IN_STACK is true (e.g....
* config/stormy16/stormy16.c (xstormy16_expand_builtin_va_arg): Fix
to handle arguments for which MUST_PASS_IN_STACK is true (e.g.,
variable-sized types).
(xstormy16_function_arg): New.  Pass them that way too.
* config/stormy16/stormy16-protos.h (xstormy16_function_arg): New.
* config/stormy16/stormy16.h (FUNCTION_ARG): Call it.

From-SVN: r66619
2003-05-08 20:00:44 -04:00
DJ Delorie
001db0e079 20020404-1.x: New, skip for 16-bit targets.
* gcc.c-torture/execute/20020404-1.x: New, skip for 16-bit
targets.
* gcc.c-torture/execute/20021024-1.x: Likewise.
* gcc.c-torture/execute/shiftdi.x: Likewise.
* g++.old-deja/g++.mike/p700.C: Handle 16-bit targets.
* g++.old-deja/g++.other/exprstmt1.C: Likewise.
* gcc.dg/20021018-1.c: Likewise.

From-SVN: r66618
2003-05-08 19:38:04 -04:00
Jeff Sturm
bd19c9f4f2 Solaris 7 .register fix.
From-SVN: r66617
2003-05-08 20:41:24 +00:00
Aldy Hernandez
d0affb9f03 mklibgcc.in: Use mkinstalldirs when installing multilib directories.
2003-05-07  Aldy Hernandez  <aldyh@redhat.com>

        * mklibgcc.in: Use mkinstalldirs when installing multilib
        directories.

From-SVN: r66613
2003-05-08 20:10:57 +00:00
J"orn Rennecke
ddf8ec7e57 sh.c (gen_block_redirect, [...]): Use CODE_FOR_jump_compact instead of CODE_FOR_jump
* sh.c (gen_block_redirect, split_branches): Use CODE_FOR_jump_compact
	instead of CODE_FOR_jump

From-SVN: r66611
2003-05-08 20:36:55 +01:00
Tom Tromey
b8e61e1eb3 configure.host: Set with_libffi_default and libgcj_interpreter to "yes".
* configure.host <powerpc64*-*>: Set with_libffi_default and
	libgcj_interpreter to "yes".

From-SVN: r66609
2003-05-08 18:53:44 +00:00
Scott Gilbertson
146b867529 natGC.cc (drawString): Removed obsolete code.
2003-05-08  Scott Gilbertson  <scottg@mantatest.com>

	* gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.

From-SVN: r66608
2003-05-08 18:51:51 +00:00
Gabriel Dos Reis
67f7893c06 objc-act.c (error_with_ivar): Don't use error_with_file_and_line.
* objc/objc-act.c (error_with_ivar): Don't use
	error_with_file_and_line.
	(warn_with_method): Don't use warning_with_file_and_line.

From-SVN: r66607
2003-05-08 17:32:30 +00:00
Gabriel Dos Reis
c8608cd6ed stmt.c (emit_locus): New macro.
* stmt.c (emit_locus): New macro.
	(emit_filename): Remove.
	(emit_lineno): Likewise.
	(struct stmt_status): Replace members x_emit_filename and
	x_emit_lineno with x_emit_locus.
	(set_file_and_line_for_stmt): Adjust.
	(expand_expr_stmt_value): Don't use warning_with_file_and_file.
	(warn_if_unused_value): Likewise.
	(check_seenlabel): Likewise.

From-SVN: r66603
2003-05-08 17:09:09 +00:00
David O'Brien
cb1f476fff Fix an entry.
From-SVN: r66602
2003-05-08 16:27:20 +00:00
Kaveh R. Ghazi
8ce9f2ec48 * g++.dg/other/packed1.C: Mark xfail for sparc*- not sparc-.
From-SVN: r66601
2003-05-08 15:10:01 +00:00
Gabriel Dos Reis
95035b6fb7 c-decl.c (define_label): Tidy.
* c-decl.c (define_label): Tidy.  Don't use any of
	error_with_file_and_line or warning_with_file_and_file.
	(pending_xref_error): Likewise.
	(store_parm_decls): Likewise.
	(current_function_prototype_locus): New object.  Package from
	current_function_prototype_file and current_function_prototype_line.
	(start_function): Use it.
	(current_function_prototype_file): Remove.
	(current_function_prototype_line): Remove;

From-SVN: r66599
2003-05-08 15:04:44 +00:00
Kaveh R. Ghazi
7dc61d6cfb builtins.c (readonly_data_expr): New function.
gcc:
	* builtins.c (readonly_data_expr): New function.
	(expand_builtin_memmove): Optimize any rodata source, not just
	strings.

testsuite
	gcc.c-torture/execute/string-opt-19.c: Add general rodata tests.
	(bcopy): Call memmove.

From-SVN: r66597
2003-05-08 13:45:38 +00:00