Richard Henderson [Fri, 6 Jun 2003 07:00:23 +0000 (00:00 -0700)]
recog.c (peephole2_optimize): Don't split block unless can_throw_internal.
* recog.c (peephole2_optimize): Don't split block unless
can_throw_internal.
From-SVN: r67532
Michael Koch [Fri, 6 Jun 2003 06:21:02 +0000 (06:21 +0000)]
BasicOptionPaneUI.java: More compile fixes from my stupid work yesterday.
2003-06-06 Michael Koch <konqueror@gmx.de>
* javax/swing/plaf/basic/BasicOptionPaneUI.java:
More compile fixes from my stupid work yesterday.
From-SVN: r67531
Kazu Hirata [Fri, 6 Jun 2003 05:28:07 +0000 (05:28 +0000)]
h8300.c (get_shift_alg): Correct the syntax of rotxl.
* config/h8300/h8300.c (get_shift_alg): Correct the syntax of
rotxl.
* config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi):
Likewise.
From-SVN: r67530
Matt Kraai [Fri, 6 Jun 2003 04:50:08 +0000 (04:50 +0000)]
Make-lang.in (ada/b_gnatb.o-warn): Remove.
* Make-lang.in (ada/b_gnatb.o-warn): Remove.
* bindgen.adb (Gen_Main_C): Mark ensure_reference with
__attribute__ ((__unused__)).
From-SVN: r67529
Kelley Cook [Fri, 6 Jun 2003 04:33:03 +0000 (04:33 +0000)]
re PR rtl-optimization/4490 (ICE with -m128bit-long-double)
PR optimization/4490
* config/i386/i386.md: Don't use XFMode if TARGET_128BIT_LONG_DOUBLE.
* doc/invoke.texi (m96bit-long-double, m128bit-long-double): Reword
documentation to accurately reflect what these options do.
From-SVN: r67528
Kaz Kojima [Fri, 6 Jun 2003 03:41:38 +0000 (03:41 +0000)]
linux.h (STARTFILE_SPEC): Handle -pie.
* config/sh/linux.h (STARTFILE_SPEC): Handle -pie. Simplify.
(ENDFILE_SPEC): Redefine to handle -pie.
From-SVN: r67527
Matt Kraai [Fri, 6 Jun 2003 03:34:36 +0000 (03:34 +0000)]
w_exp.c (o_threshold, [...]): Define only if _IEEE_LIBM is undefined.
* java/lang/w_exp.c (o_threshold, u_threshold): Define only
if _IEEE_LIBM is undefined.
From-SVN: r67526
Benjamin Kosnik [Fri, 6 Jun 2003 00:19:17 +0000 (00:19 +0000)]
re PR libstdc++/9024 (Input fails after call to basic_filebuf<>::pubsetbuf(0, 0))
2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/9024
* include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
* include/bits/stl_algobase.h: Tweak.
* include/std/std_fstream.h: Move _M_buf_size to...
* include/std/std_streambuf.h: ...here. Modify.
* include/bits/streambuf.tcc: Same.
* testsuite/testsuite_hooks.h: Tweak.
* testsuite/testsuite_io.h (constraint_filebuf): New.
* testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
* testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
* testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
* testsuite/data/sgetc.txt: New.
* testsuite/data/sgetn.txt: New.
From-SVN: r67524
GCC Administrator [Fri, 6 Jun 2003 00:16:10 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r67522
Phil Edwards [Fri, 6 Jun 2003 00:01:32 +0000 (00:01 +0000)]
* Makefile.in (qmtest-g++): Use target_alias, not target.
From-SVN: r67520
Kaveh R. Ghazi [Thu, 5 Jun 2003 23:57:14 +0000 (23:57 +0000)]
* gcc.dg/format/asm_fprintf-1.c: New test.
From-SVN: r67519
Paolo Carlini [Thu, 5 Jun 2003 23:25:05 +0000 (01:25 +0200)]
re PR libstdc++/11095 (C++ iostream manipulator causes segfault when called iwth negative argument)
2003-06-05 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/11095
* include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
Deal with width() smaller than zero.
* include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
operator<<(basic_ostream&, char), operator<<(basic_ostream&,
const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
const char*), operator<<(basic_ostream<char, _Traits>&,
const char*), operator<<(basic_ostream, const basic_string&)): Likewise.
* testsuite/27_io/basic_istream/extractors_character/char/11095-i.cc:
* testsuite/27_io/basic_ostream/inserters_character/char/11095-oa.cc:
* testsuite/27_io/basic_ostream/inserters_character/char/11095-ob.cc:
* testsuite/27_io/basic_ostream/inserters_character/char/11095-oc.cc:
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-od.cc:
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-oe.cc:
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-of.cc:
New.
From-SVN: r67518
Loren J. Rittle [Thu, 5 Jun 2003 22:37:02 +0000 (22:37 +0000)]
posix.h (O_SYNC): Define if not available and a reasonable...
* libjava/include/posix.h (O_SYNC): Define if not available
and a reasonable, perhaps more conservative, replacement exists.
(O_DSYNC): Likewise.
* java/io/natFileDescriptorPosix.cc (open): Revert last patch.
From-SVN: r67517
Rainer Orth [Thu, 5 Jun 2003 22:24:36 +0000 (22:24 +0000)]
Properly regenerate configure.
From-SVN: r67516
Rainer Orth [Thu, 5 Jun 2003 22:22:12 +0000 (22:22 +0000)]
acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if .gch compilation works.
* acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
.gch compilation works.
* aclocal.m4, configure: Regenerate.
* testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
initialize PCHFLAGS.
From-SVN: r67515
Mark Mitchell [Thu, 5 Jun 2003 22:18:55 +0000 (22:18 +0000)]
gcc-defs.exp (additional_sources): New variable.
* lib/gcc-defs.exp (additional_sources): New variable.
(dg-additional-sources): New function.
(additional_files): New variable.
(dg-additional-files): New function.
(dg-additional-files-options): Likewise.
* lib/gcc-dg.exp (dg-require-weak): New function.
(dg-require-alias): Likewise.
(dg-require-gc-sections): Likewise.
* lib/target-supports.exp (check_alias_available): Remove testfile
parameter.
(check_gc_sections_available): New function.
* lib/g++-dg.exp (dg-gpp-additional-sources): Remove.
(dg-gpp-additional-files): Likewise.
* lib/g++.exp (additional_sources): Remove.
(additional_files): Likewise.
(g++_target_compile): Use dg-additional-files-options.
* gcc.dg/special/special.exp: Add "ecos" tests. Remove complex
Tcl logic.
* gcc.dg/special/ecos.exp: Remove.
* gcc.dg/special/
20000419-2.c: Use dg-require-*.
* gcc.dg/special/alias-1.c: Likewise.
* gcc.dg/special/alias-2.c: Likewise.
* gcc.dg/special/gcsec-1.c: Likewise.
* gcc.dg/special/weak-1.c: Likewise.
* gcc.dg/special/weak-2.c: Likewise.
* gcc.dg/special/wkali-1.c: Likewise.
* gcc.dg/special/wkali-2.c: Likewise.
* g++.dg/special/conpr-2.C: Use dg-additional-*, not
dg-gpp-additional-*.
* g++.dg/special/conpr-3.C: Likewise.
* g++.dg/special/conpr-4.C: Likewise.
* g++.old-deja/g++.abi/vtable3a.C: Likewise.
* g++.old-deja/g++.abi/vtable3b.C: Likewise.
* g++.old-deja/g++.abi/vtable3c.C: Likewise.
* g++.old-deja/g++.abi/vtable3d.C: Likewise.
* g++.old-deja/g++.abi/vtable3e.C: Likewise.
* g++.old-deja/g++.abi/vtable3f.C: Likewise.
* g++.old-deja/g++.abi/vtable3g.C: Likewise.
* g++.old-deja/g++.abi/vtable3h.C: Likewise.
* g++.old-deja/g++.abi/vtable3i.C: Likewise.
* g++.old-deja/g++.abi/vtable3j.C: Likewise.
* g++.old-deja/g++.oliva/linkage1.C: Likewise.
* g++.old-deja/g++.other/comdat1.C: Likewise.
* g++.old-deja/g++.other/comdat2.C: Likewise.
* g++.old-deja/g++.other/comdat3.C: Likewise.
* g++.old-deja/g++.other/ctor1.C: Likewise.
* g++.old-deja/g++.pt/instantiate5.C: Likewise.
From-SVN: r67514
Michael Koch [Thu, 5 Jun 2003 21:18:31 +0000 (21:18 +0000)]
BorderUIResource.java, [...]: More compile fixes for latest Border commit.
2003-06-05 Michael Koch <konqueror@gmx.de>
* javax/swing/plaf/BorderUIResource.java,
javax/swing/plaf/basic/BasicDefaults.java,
javax/swing/plaf/basic/BasicOptionPaneUI.java:
More compile fixes for latest Border commit. I should not commit
something in this heat here ...
From-SVN: r67513
Per Bothner [Thu, 5 Jun 2003 21:07:08 +0000 (21:07 +0000)]
toplev.c (push_srcloc): Simplify behavior to save current location and set current location to parameters.
* toplev.c (push_srcloc): Simplify behavior to save current location
and set current location to parameters.
(pop_srcloc): Simplify semantics.
(lang_dependent_init): Remove now-useless initial push_srcloc.
From-SVN: r67512
Michael Koch [Thu, 5 Jun 2003 20:57:39 +0000 (20:57 +0000)]
2003-06-05 Michael Koch <konqueror@gmx.de>
* javax/swing/border/BevelBorder.java
(BevelBorder): Removed.
* javax/swing/border/EmptyBorder.java:
Reformatted.
(EmptyBorder): Removed.
(getBorderInsets): Dont use l, r, t and b.
* javax/swing/border/EtchedBorder.java
(EtchedBorder): Removed.
* javax/swing/border/LineBorder.java
(LineBorder): Removed.
* javax/swing/border/MatteBorder.java
(MatteBorder): Removed.
* javax/swing/border/TitledBorder.java
(defaultBorder): Use other default for now.
(defaultFont): Likewise.
(defaultColor): Likewise.
From-SVN: r67511
Michael Koch [Thu, 5 Jun 2003 20:03:26 +0000 (20:03 +0000)]
Border.java: New version from classpath.
2003-06-05 Michael Koch <konqueror@gmx.de>
* javax/swing/border/Border.java:
New version from classpath.
From-SVN: r67508
Michael Koch [Thu, 5 Jun 2003 19:59:44 +0000 (19:59 +0000)]
AbstractBorder.java, [...]: New versions from Classpath.
2003-06-05 Michael Koch <konqueror@gmx.de>
* javax/swing/border/AbstractBorder.java,
javax/swing/border/BevelBorder.java,
javax/swing/border/CompoundBorder.java,
javax/swing/border/EmptyBorder.java,
javax/swing/border/EtchedBorder.java,
javax/swing/border/LineBorder.java,
javax/swing/border/MatteBorder.java,
javax/swing/border/TitledBorder.java:
New versions from Classpath.
From-SVN: r67507
Michael Koch [Thu, 5 Jun 2003 19:58:40 +0000 (19:58 +0000)]
Button.java, [...]: New versions from Classpath.
2003-06-05 Michael Koch <konqueror@gmx.de>
* java/awt/Button.java,
java/awt/Checkbox.java,
java/awt/CheckboxMenuItem.java,
java/awt/Choice.java,
java/awt/Container.java,
java/awt/Dialog.java,
java/awt/EventQueue.java,
java/awt/FileDialog.java,
java/awt/Frame.java,
java/awt/Label.java,
java/awt/List.java,
java/awt/Menu.java,
java/awt/MenuItem.java,
java/awt/Panel.java,
java/awt/PopupMenu.java,
java/awt/Rectangle.java,
java/awt/ScrollPane.java,
java/awt/Scrollbar.java,
java/awt/TextArea.java,
java/awt/TextField.java,
java/awt/Window.java,
java/awt/datatransfer/DataFlavor.java,
java/awt/dnd/DragSource.java,
java/awt/dnd/DragSourceContext.java,
java/awt/event/HierarchyEvent.java,
java/awt/event/MouseWheelEvent.java,
java/awt/im/InputContext.java,
java/awt/image/BufferedImage.java,
java/awt/image/ComponentColorModel.java,
java/awt/image/Raster.java,
java/awt/image/WritableRaster.java,
java/awt/peer/ComponentPeer.java,
java/awt/print/PageFormat.java,
java/awt/print/PrinterJob.java:
New versions from Classpath.
From-SVN: r67506
Richard Henderson [Thu, 5 Jun 2003 18:08:12 +0000 (11:08 -0700)]
dwarf2out.c (loc_descriptor_from_tree): Return 0 for language-specific tree codes.
* dwarf2out.c (loc_descriptor_from_tree): Return 0 for
language-specific tree codes.
* gcc.dg/debug/
20030605-1.c: New.
From-SVN: r67505
Scott Gilbertson [Thu, 5 Jun 2003 17:57:31 +0000 (17:57 +0000)]
SimpleDateFormat.java (SimpleDateFormat): Added numberFormat.setParseIntegerOnly(true).
2003-06-05 Scott Gilbertson <scottg@mantatest.com>
* java/text/SimpleDateFormat.java (SimpleDateFormat): Added
numberFormat.setParseIntegerOnly(true).
From-SVN: r67504
John David Anglin [Thu, 5 Jun 2003 16:47:01 +0000 (16:47 +0000)]
re PR middle-end/9986 ([HP-UX] [3.4 regression] Incorrect transformation of fputs_unlocked to fputc_unlocked)
PR middle-end/9986
* pa.c (pa_init_builtins): Also set implicit_built_in_decls for
BUILT_IN_FPUTC_UNLOCKED to NULL_TREE.
From-SVN: r67500
John David Anglin [Thu, 5 Jun 2003 16:38:22 +0000 (16:38 +0000)]
re PR other/10810 (gcc-3.3 fails make check: buffer overrun in test_demangle.c)
PR other/10810
* test-demangle.c (getline): Fix fence-post error.
From-SVN: r67499
Jan Hubicka [Thu, 5 Jun 2003 16:36:12 +0000 (18:36 +0200)]
install.tex: Document profiledbootstrap.
* install.tex: Document profiledbootstrap.
* Makefile.tpl (profiledbootstrap): New target.
* Makefile.in (profiledbootstrap): New target.
* Makefile.in (clean, distclean): Kill new stages
(POSTSTAGE1_FLAGS_TO_PASS): Break from ...
(STAGE2_FLAGS_TO_PASS): ... this one.
(STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS): New.
(stage[2-4]_build): Add POSTSTAGE1_FLAGS_TO_PASS.
(stageprofile_build, stageprofile_copy, stagefeedback_build,
stagefeedback_copy): New.
(restageprofile, restagefeedback, stageprofile-start,
stageprofile, stagefeedback-start): Likewise.
* Make-lang.in: Add support for stageprofile and stagefeedback
From-SVN: r67498
David Miller [Thu, 5 Jun 2003 16:31:49 +0000 (09:31 -0700)]
optabs.c (HAVE_conditional_trap): Provide default.
* optabs.c (HAVE_conditional_trap): Provide default.
(gen_conditional_trap): Likewise.
(init_optabs): Merge init_traps.
(gen_cond_trap): Use prepare_operand. Restructure and avoid ifdef.
* gcc.c-torture/compile/
20030605-1.c: New.
Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r67497
Bert Deknuydt [Thu, 5 Jun 2003 15:43:58 +0000 (17:43 +0200)]
posix-threads.h: Include <machine/pal.h> on OSF.
2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
* include/posix-threads.h: Include <machine/pal.h> on OSF.
From-SVN: r67491
Wolfgang Bangerth [Thu, 5 Jun 2003 14:47:32 +0000 (08:47 -0600)]
Fix ChangeLog date of my last entry.
From-SVN: r67490
Wolfgang Bangerth [Thu, 5 Jun 2003 14:44:47 +0000 (08:44 -0600)]
Add Dara Hazeghi and Andrew Pinski to Bugzilla-only maintainers. Remove user names from other bug database only maintainers since bugzilla no longer has user names.
From-SVN: r67489
Jan Hubicka [Thu, 5 Jun 2003 13:00:14 +0000 (15:00 +0200)]
combine.c (simplify_if_then_else): (IF_THEN_ELSE (NE REG 0) (0) (8)) is REG for nonzero_bits (REG) == 8.
* combine.c (simplify_if_then_else): (IF_THEN_ELSE (NE REG 0) (0) (8))
is REG for nonzero_bits (REG) == 8.
From-SVN: r67488
Jan Hubicka [Thu, 5 Jun 2003 11:25:43 +0000 (13:25 +0200)]
i386.md (align): Fix warning; clarify what to do when no p2align is available.
* i386.md (align): Fix warning; clarify what to do when no p2align
is available.
From-SVN: r67485
Nick Clifton [Thu, 5 Jun 2003 09:12:02 +0000 (09:12 +0000)]
config.gcc (m32r-elf): Revert previous delta.
* config.gcc (m32r-elf): Revert previous delta.
* config/m32r/t-m32r (crtinit.o): Fix rule to work with multilibs.
Remove m32rx specific version.
(crtfini.o): Likewise.
(EXTRA_MULTILIB_PARTS): Define.
From-SVN: r67483
Eric Botcazou [Thu, 5 Jun 2003 08:36:53 +0000 (10:36 +0200)]
md.texi (Machine Constraints): Correct the meaning of constraints related to floating-point registers on SPARC.
* doc/md.texi (Machine Constraints): Correct the meaning of
constraints related to floating-point registers on SPARC.
From-SVN: r67481
Eric Botcazou [Thu, 5 Jun 2003 07:50:42 +0000 (09:50 +0200)]
re PR target/10663 ([Solaris] New configure check aborts with Sun tools.)
PR target/10663
* configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Redirect
assembler and linker output to /dev/null.
Use a 'sed' construct instead of 'grep -A1'.
* configure: Regenerate.
Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r67479
Matt Kraai [Thu, 5 Jun 2003 07:11:39 +0000 (07:11 +0000)]
* bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C)
(Gen_Main_C, Gen_Output_File_C): Generate ISO C.
From-SVN: r67478
Matt Kraai [Thu, 5 Jun 2003 06:59:57 +0000 (06:59 +0000)]
gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr): Remove non-VMS directive.
* gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr):
Remove non-VMS directive.
(Switches for gnatlbr, Optimization Levels): Remove non-VMS
alternatives.
(Examples of gnatls Usage): Remove VMS alternative.
From-SVN: r67477
Christopher Faylor [Thu, 5 Jun 2003 03:54:44 +0000 (03:54 +0000)]
cygwin caveat
From-SVN: r67476
Richard Henderson [Thu, 5 Jun 2003 00:23:23 +0000 (17:23 -0700)]
i386.c (struct ix86_address): Add seg.
* config/i386/i386.c (struct ix86_address): Add seg.
(no_seg_address_operand): New.
(ix86_decompose_address): Restructure PLUS loop. Accept one
UNSPEC_TP if TARGET_TLS_DIRECT_SEG_REFS. Adjust ESP swap test
to test for a regnum, not stack_pointer_rtx.
(ix86_address_cost): Reduce cost if non-default segment.
(legitimate_address_p): Remove UNSPEC_TP check.
(get_thread_pointer): Add to_reg argument. Don't represent
the thread pointer as a memory load.
(legitimize_tls_address): Split out of ...
(legitimize_address): ... here.
(print_operand_address): Handle parts.seg.
(ix86_expand_move): Use legitimize_tls_address.
(ix86_rtx_costs): Handle UNSPEC_TP.
* config/i386/i386.h (MASK_TLS_DIRECT_SEG_REFS): New.
(TARGET_TLS_DIRECT_SEG_REFS): New.
(TARGET_SWITCHES): Add tls-direct-seg-refs.
(TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): Default.
(PREDICATE_CODES): Add no_seg_address_operand.
* config/i386/i386.md (lea_1): Use it.
(lea_1_rex64, lea_1_zext, lea_2_rex64): Likewise.
(load_tp_si, add_tp_si, load_tp_di, add_tp_di): New.
* config/i386/linux.h (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): New.
* config/i386/linux64.h (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): New.
* doc/invoke.texi: Add -mtls-direct-seg-refs.
From-SVN: r67475
Mark Mitchell [Thu, 5 Jun 2003 00:17:16 +0000 (00:17 +0000)]
Makefile.in (QMTESTRUNFLAGS): Set for DejaGNU emulation.
* Makefile.in (QMTESTRUNFLAGS): Set for DejaGNU emulation.
(QMTEST_GPP_TESTS): Use "g++" by default.
(stamp-qmtest): Tweak database creation.
(QMTEST_DIR/context): Update context file format.
(qmtest-g++): Tweak command-line.
* README.QMTEST: Update.
From-SVN: r67474
GCC Administrator [Thu, 5 Jun 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r67472
Kaveh R. Ghazi [Wed, 4 Jun 2003 23:21:26 +0000 (23:21 +0000)]
Makefile.in (varasm.o): Don't set -Wno-error.
* Makefile.in (varasm.o): Don't set -Wno-error.
* rs6000/t-rs6000 (varasm.o, out_object_file): Don't clear.
From-SVN: r67469
Paolo Carlini [Wed, 4 Jun 2003 22:53:05 +0000 (00:53 +0200)]
basic_string.h (_M_fold, [...]): Constify various variables.
2003-06-04 Paolo Carlini <pcarlini@unitus.it>
* include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
erase(iterator), erase(iterator, iterator), c_str,
compare(const basic_string&)): Constify various variables.
* include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
_S_create, resize, _M_replace, _M_replace_safe,
append(const basic_string&), append(const basic_string&, size_type,
size_type), append(const _CharT*, size_type), append(size_type,
_CharT), operator+(const _CharT*, const basic_string&),
operator+(_CharT, const basic_string&), replace(iterator, iterator,
size_type, _CharT), find(const _CharT*, size_type, size_type),
find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
rfind(_CharT, size_type), compare(size_type, size_type,
const basic_string&), compare(size_type, size_type,
const basic_string&, size_type, size_type), compare(const _CharT*),
compare(size_type, size_type, const _CharT*), compare(size_type,
size_type, const _CharT*, size_type)): Likewise.
From-SVN: r67468
Zack Weinberg [Wed, 4 Jun 2003 22:21:21 +0000 (22:21 +0000)]
re PR bootstrap/3163 ([3.3 Only] gcc/aclocal.m4 mmap test fails on UnixWare 7.1.1)
PR bootstrap/3163
* aclocal.m4 (AC_FUNC_MMAP_ANYWHERE, AC_FUNC_MMAP_FILE): Delete.
(gcc_AC_FUNC_MMAP_BLACKLIST): New.
* configure.in: Check for sys/mman.h and mmap in AC_CHECK_HEADERS
and AC_CHECK_FUNCS lists, respectively. Use
gcc_AC_FUNC_MMAP_BLACKLIST, not AC_FUNC_MMAP_ANYWHERE nor
AC_FUNC_MMAP_FILE.
* configure, config.in: Regenerate.
From-SVN: r67467
J"orn Rennecke [Wed, 4 Jun 2003 22:00:22 +0000 (22:00 +0000)]
decl.c (grokdeclarator): Error_mark_node in, error_mark_node out.
gcc/cp:
* decl.c (grokdeclarator): Error_mark_node in, error_mark_node out.
gcc/testsuite/g++.old-deja/g++.oliva:
* template1.C (bar): Remove xfail marker.
From-SVN: r67465
Kaveh R. Ghazi [Wed, 4 Jun 2003 21:18:48 +0000 (21:18 +0000)]
aout.h (ASM_OUTPUT_SKIP): Fix cast for format specifier warning.
* arm/aout.h (ASM_OUTPUT_SKIP): Fix cast for format specifier warning.
* arm.c (arm_output_function_prologue): Fix format specifiers.
* arm.h (ARM_PRINT_OPERAND_ADDRESS): Likewise.
* m68k.c (m68k_output_mi_thunk): Use more readable %wd instead of
HOST_WIDE_INT_PRINT_DEC.
* vax.c (vax_output_function_prologue): Fix format specifiers.
From-SVN: r67464
Richard Henderson [Wed, 4 Jun 2003 21:05:20 +0000 (14:05 -0700)]
cse.c (find_best_addr): Consider binary operators even if second argument is not CONST_INT.
* cse.c (find_best_addr): Consider binary operators even if second
argument is not CONST_INT.
From-SVN: r67463
Zdenek Dvorak [Wed, 4 Jun 2003 20:59:56 +0000 (22:59 +0200)]
* doc/invoke.texi (max-cse-path-length): Document.
From-SVN: r67462
Richard Henderson [Wed, 4 Jun 2003 20:06:34 +0000 (13:06 -0700)]
* config/i386/i386.md (align): Use ASM_OUTPUT_*ALIGN macros.
From-SVN: r67461
Andrew Pinski [Wed, 4 Jun 2003 19:01:54 +0000 (19:01 +0000)]
darwin.h (RS6000_OUTPUT_BASENAME): Remove semi-colon at the end of the expression.
* config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME):
Remove semi-colon at the end of the expression.
From-SVN: r67459
Kaveh R. Ghazi [Wed, 4 Jun 2003 17:53:07 +0000 (17:53 +0000)]
i370.c (mvs_function_name_length): Fix signed/unsigned warnings.
* i370.c (mvs_function_name_length): Fix signed/unsigned warnings.
* i370.h (mvs_function_name_length): Likewise.
* i960.h (CONSTANT_ALIGNMENT): Likewise.
* mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
* pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
* pa.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
* rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Delete unused
variable.
From-SVN: r67458
Daniel Jacobowitz [Wed, 4 Jun 2003 17:50:44 +0000 (17:50 +0000)]
config.gcc: Reorganize --with-cpu logic.
* config.gcc: Reorganize --with-cpu logic. Set
configure_default_options according to the default CPU, --with-cpu,
--with-arch, --with-tune, --with-schedule, --with-abi, and
--with-float. Check for legal values of various options.
* configure.in: Define configure_default_options in configargs.h.
* configure: Regenerated.
* config/mips/mips.h (TARGET_DEFAULT_ARCH_P)
(TARGET_DEFAULT_FLOAT_P): New macros.
* gcc.c (do_option_spec): New function.
(struct default_spec, option_default_specs): New.
(main): Call do_option_spec.
* config/alpha/alpha.h, config/arm/arm.h, config/i386/i386.h,
config/mips/mips.h, config/pa/pa.h, config/rs6000/rs6000.h,
config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Define.
* doc/install.texi: Update --with-cpu documentation. Mention
--with-arch, --with-schedule, --with-tune, --with-abi, and
--with-float.
* doc/tm.texi (Driver): Document OPTION_DEFAULT_SPECS.
From-SVN: r67457
Daniel Jacobowitz [Wed, 4 Jun 2003 17:44:03 +0000 (17:44 +0000)]
* config.gcc: Only process --with-cpu logic in the third pass.
From-SVN: r67456
Daniel Jacobowitz [Wed, 4 Jun 2003 17:42:53 +0000 (17:42 +0000)]
config.gcc: Reorganize --with-cpu section.
* config.gcc: Reorganize --with-cpu section. Remove an
obsolete comment about the default CPU for x86-64. Fix
a typo for the ep9312. Update the list of supported PowerPC
CPUs. Support a limited set of new --with-cpu options
for i386.
From-SVN: r67455
Aldy Hernandez [Wed, 4 Jun 2003 17:41:06 +0000 (17:41 +0000)]
rs6000.c (rs6000_complex_function_value): Unpack complex numbers <= 32 bits into two registers.
2003-06-04 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (rs6000_complex_function_value): Unpack
complex numbers <= 32 bits into two registers.
From-SVN: r67454
Kaveh R. Ghazi [Wed, 4 Jun 2003 17:33:51 +0000 (17:33 +0000)]
alpha.c (print_operand_address): Fix format specifier warnings.
* alpha.c (print_operand_address): Fix format specifier warnings.
* alpha/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
* alpha/vms.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
* arm/aof.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
* arm/pe.h (ASM_OUTPUT_COMMON): Likewise.
* avr.h (ASM_OUTPUT_COMMON, ASM_GENERATE_INTERNAL_LABEL,
ASM_OUTPUT_SKIP): Likewise.
* c4x.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* dsp16xx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* h8300.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_COMMON):
Likewise.
* i370.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* i386/cygming.h (ASM_OUTPUT_COMMON): Likewise.
* i386/darwin.h (ASM_OUTPUT_COMMON): Likewise.
* i960.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* m68k/hp320.h (PRINT_OPERAND_ADDRESS): Likewise.
* mcore.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
* pdp11.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* ptx4.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
* sparc/freebsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* svr3.h (ASM_OUTPUT_COMMON): Likewise.
From-SVN: r67453
J"orn Rennecke [Wed, 4 Jun 2003 17:19:36 +0000 (17:19 +0000)]
c-decl.c (c_init_decl_processing): Clear input_file_name while building common nodes.
* c-decl.c (c_init_decl_processing): Clear input_file_name
while building common nodes.
* dwarf2out.c (gen_compile_unit_die, dwarf2out_finish):
Don't add working directory for strings like <built-in> .
From-SVN: r67452
David Edelsohn [Wed, 4 Jun 2003 17:11:18 +0000 (17:11 +0000)]
install.texi (*-ibm-aix*): Native as and ld required to bootstrap on AIX 5L.
* doc/install.texi (*-ibm-aix*): Native as and ld required
to bootstrap on AIX 5L.
From-SVN: r67450
Richard Henderson [Wed, 4 Jun 2003 17:06:00 +0000 (10:06 -0700)]
c-common.c (handle_cleanup_attribute): New.
* c-common.c (handle_cleanup_attribute): New.
(c_common_attributes): Add it.
* c-decl.c (finish_decl): Honor the cleanup attribute.
* doc/extend.texi (Variable Attributes): Document it.
* unwind-c.c: New file.
* Makefile.in (LIB2ADDEH): Add it.
* config/t-darwin, config/t-linux, config/t-linux-gnulibc1,
config/ia64/t-ia64: Likewise.
* gcc.dg/cleanup-1.c: New.
* gcc.dg/cleanup-2.c: New.
* gcc.dg/cleanup-3.c: New.
* gcc.dg/cleanup-4.c: New.
* gcc.dg/cleanup-5.c: New.
* gcc.dg/cleanup-6.c: New.
* gcc.dg/cleanup-7.c: New.
From-SVN: r67449
Jakub Jelinek [Wed, 4 Jun 2003 16:44:51 +0000 (18:44 +0200)]
function.c (trampolines_created): New variable.
* function.c (trampolines_created): New variable.
(expand_function_end): Set it when doing INITIALIZE_TRAMPOLINE.
* function.h (trampolines_created): Add.
* config/s390/linux.h (ASM_FILE_END): Define.
* config/alpha/linux-elf.h (ASM_FILE_END): Define.
* config/m68k/linux.h (ASM_FILE_END): Define.
* config/rs6000/linux.h (ASM_FILE_END): Define.
* config/rs6000/linux64.h (ASM_FILE_END): Define.
* config/rs6000/ppc-asm.h: Add .note.GNU-stack on powerpc-linux.
* config/sparc/linux.h (ASM_FILE_END): Define.
* config/sparc/linux64.h (ASM_FILE_END): Define.
* config/i386/i386.c (ix86_asm_file_end): Use SUBTARGET_FILE_END.
* config/i386/linux.h (SUBTARGET_FILE_END): Define.
* config/i386/linux64.h (SUBTARGET_FILE_END): Define.
From-SVN: r67447
Jan Hubicka [Wed, 4 Jun 2003 16:42:23 +0000 (18:42 +0200)]
i386.c (min_insn_size, [...]): New functions
* i386.c (min_insn_size, k8_avoid_jump_misspredicts): New functions
(ix86_reorg): Use it.
* i386.md (align): New insn pattern.
From-SVN: r67446
Kaveh R. Ghazi [Wed, 4 Jun 2003 16:14:35 +0000 (16:14 +0000)]
* toplev.c (rest_of_type_compilation): Fix typo.
From-SVN: r67445
Mark Mitchell [Wed, 4 Jun 2003 15:35:58 +0000 (15:35 +0000)]
* g++.dg/abi/vague1.C: Use xfail, rather than embedded Tcl code.
From-SVN: r67444
Mark Mitchell [Wed, 4 Jun 2003 15:32:08 +0000 (15:32 +0000)]
dg-pch.exp: New file.
* lib/dg-pch.exp: New file.
* g++.dg/pch/pch.exp: Use dg-pch.exp.
* gcc.dg/pch/pch.exp: Likewise.
From-SVN: r67443
Jakub Jelinek [Wed, 4 Jun 2003 15:23:42 +0000 (17:23 +0200)]
linux.h (NO_PROFILE_COUNTERS): Define to 1.
* config/i386/linux.h (NO_PROFILE_COUNTERS): Define to 1.
* config/i386/freebsd.h (NO_PROFILE_COUNTERS): Likewise.
* config/i386/netbsd-elf.h (NO_PROFILE_COUNTERS): Likewise.
* config/xtensa/xtensa.h (NO_PROFILE_COUTNERS): Likewise.
* config/darwin.h (NO_PROFILE_COUNTERS): Likewise.
* final.c (NO_PROFILE_COUNTERS): Define to 0 if not defined.
(profile_function): Allow NO_PROFILE_COUNTERS to be non-constant.
* config/rs6000/rs6000.c (output_profile_hook): Likewise.
* configure.in (powerpc*-*, s390*-*): Set tls_as_opt.
Pass it to $gcc_cv_as.
* configure: Rebuilt.
* config/rs6000/rs6000.c (rs6000_abi_name): Remove initializer.
(print_operand): Allow TARGET_AIX to be non-constant.
(rs6000_aix_emit_builtin_unwind_init, rs6000_emit_eh_toc_restore):
Define unconditionally.
(rs6000_elf_declare_function_name): New function.
* config/rs6000/rs6000.md (eh_return): Allow TARGET_AIX to be
non-constant.
* config/rs6000/linux64.h [!RS6000_BI_ARCH] (TARGET_64BIT): Define
to 1.
(DEFAULT_ARCH64_P, RS6000_BI_ARCH_P): Define.
[IN_LIBGCC2] (TARGET_64BIT): Define based on whether __powerpc64__
is defined.
(TARGET_AIX): Define to 1 if TARGET_64BIT.
(PROCESSOR_DEFAULT): Remove.
(TARGET_RELOCATABLE, RS6000_ABI_NAME, INVALID_64BIT,
INVALID_32BIT, SUBSUBTARGET_OVERRIDE_OPTIONS): Define.
[RS6000_BI_ARCH] (OVERRIDE_OPTIONS, ASM_FILE_START): Define.
(ASM_DEFAULT_SPEC, ASM_SPEC, LINK_OS_LINUX_SPEC): Define for both
-m32 and -m64.
(MULTILIB_DEFAULTS): Define.
(SUBSUBTARGET_EXTRA_SPECS): Define.
(ASM_SPEC32, ASM_SPEC64, ASM_SPEC_COMMON): Define.
(TARGET_TOC): Define only if !RS6000_BI_ARCH.
(TARGET_NO_TOC): Remove.
[!RS6000_BI_ARCH] (TARGET_RELOCATABLE, TARGET_EABI,
TARGET_PROTOTYPE): Define to 0.
(NO_PROFILE_COUNTERS): Define to TARGET_64BIT.
(PROFILE_HOOK): Only call output_profile_hook if TARGET_64BIT.
(ADJUST_FIELD_ALIGN, ROUND_TYPE_ALIGN): Adjust to work properly
if !TARGET_64BIT.
(USER_LABEL_PREFIX): Remove.
(JUMP_TABLES_IN_TEXT_SECTION): Define to TARGET_64BIT.
(SETUP_FRAME_ADDRESSES): Only call rs6000_aix_emit_builtin_unwind_init
if TARGET_64BIT.
(TARGET_OS_CPP_BUILTINS): Handle both -m32 and -m64.
(LINK_OS_LINUX_SPEC32, LINK_OS_LINUX_SPEC64): Define.
(STARTFILE_LINUX_SPEC, ENDFILE_LINUX_SPEC): Remove.
(TOC_SECTION_ASM_OP): Define depending on TARGET_64BIT.
(MINIMAL_TOC_SECTION_ASM_OP): Likewise.
(SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE): Define depending on
TARGET_64BIT.
(RS6000_CALL_GLUE): Likewise.
(SAVE_FP_PREFIX, SAVE_FP_SUFFIX, RESTORE_FP_PREFIX,
RESTORE_FP_SUFFIX): Likewise.
(ASM_DECLARE_FUNCTION_NAME): Remove.
(ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_SOURCE_LINE,
DBX_OUTPUT_BRAC, DBX_OUTPUT_NFUN): Only output dot before function
name if TARGET_64BIT.
(ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Handle both TARGET_64BIT and
!TARGET_64BIT.
(ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Remove undefs.
(ASM_PREFERRED_EH_DATA_FORMAT): Take TARGET_64BIT into account.
(DRAFT_V4_STRUCT_RET): Define.
(SIGNAL_FRAMESIZE): New enum value.
(MD_FALLBACK_FRAME_STATE_FOR): Define.
* config/rs6000/default64.h: New file.
* config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -m32 and -m64
options.
(SUBTARGET_OVERRIDE_OPTIONS): If rs6000_abi_name is NULL, set it
to RS6000_ABI_NAME. Only disallow mixing of -fPIC with -mcall-aixdesc
if !TARGET_64BIT.
[!RS6000_BI_ARCH] (SUBSUBTARGET_OVERRIDE_OPTIONS): Define.
(ASM_DECLARE_FUNCTION_NAME): Use rs6000_elf_declare_function_name
function.
(TARGET_OS_SYSV_CPP_BUILTINS): Define.
(TARGET_OS_CPP_BUILTINS): Use it.
(CPP_SYSV_SPEC): Remove.
(CPP_SPEC): Remove cpp_sysv.
(SUBTARGET_EXTRA_SPECS): Remove cpp_sysv.
Add SUBSUBTARGET_EXTRA_SPECS.
(SUBSUBTARGET_EXTRA_SPECS): Define.
* config/rs6000/biarch64.h: New file.
* config/rs6000/rs6000-protos.h (rs6000_elf_declare_function_name):
New prototype.
* config/rs6000/x-linux64: New file.
* config/rs6000/t-linux64: Build -m64, -m32 and -m32 -msoft-float
multilibs.
* config/rs6000/eabi-ci.asm: Protect with #ifndef __powerpc64__.
* config/rs6000/eabi-cn.asm: Likewise.
* config/rs6000/tramp.asm: Likewise.
* config/rs6000/sol-ci.asm: Likewise.
* config/rs6000/sol-cn.asm: Likewise.
* config/rs6000/linux.h (TARGET_64BIT): Define to 0.
(TARGET_OS_CPP_BUILTINS): Use TARGET_OS_SYSV_CPP_BUILTINS.
* config/rs6000/ppc-asm.h: Move __powerpc64__ section before
_CALL_AIXDESC section.
* config.gcc (powerpc64-*-linux*): Configure a bi-arch compiler,
defaulting to -m64 unless --with-cpu= is one of the 32-bit CPUs
or default32.
Co-Authored-By: Alan Modra <amodra@bigpond.net.au>
From-SVN: r67442
Daniel Jacobowitz [Wed, 4 Jun 2003 14:53:59 +0000 (14:53 +0000)]
* config.gcc: Revert accidentally committed ARM changes.
From-SVN: r67440
Roger Sayle [Wed, 4 Jun 2003 12:20:40 +0000 (12:20 +0000)]
builtins.c (dconstpi, dconste): New mathematical constants.
* builtins.c (dconstpi, dconste): New mathematical constants.
(init_builtin_dconsts): New function to initialize dconstpi
and dconste.
(fold_builtin): Optimize exp(1.0) = e. Evaluate exp(x) at
compile time with -ffast-math when x is an integer constant.
Optimize tan(0.0) = 0.0. Optimize atan(0.0) = 0.0,
atan(1.0) = pi/4 and tan(atan(x)) = x with -ffast-math.
* gcc.dg/builtins-2.c: Add tests for tan(atan(x)).
* gcc.dg/builtins-3.c: Add tests for tan(0.0) and atan(0.0).
* gcc.dg/builtins-7.c: Add tests for tan(atan(x)) == x.
* gcc.dg/builtins-17.c: New test case.
* gcc.dg/i386-387-4.c: New test case.
* gcc.c-torture/execute/ieee/mzero4.c: New test case.
From-SVN: r67438
Roger Sayle [Wed, 4 Jun 2003 12:07:52 +0000 (12:07 +0000)]
calls.c (expand_call): Avoid calling pure or const functions when the result is ignored (or void) and...
* calls.c (expand_call): Avoid calling pure or const functions
when the result is ignored (or void) and none of the arguments
are volatile. Move warning diagnostic earlier in function.
From-SVN: r67436
Andreas Jaeger [Wed, 4 Jun 2003 11:35:10 +0000 (13:35 +0200)]
system.h: Do not poison TDESC_SECTION_ASM_OP, RDATA_SECTION_ASM_OP and SUBTARGET_PROLOGUE.
* system.h: Do not poison TDESC_SECTION_ASM_OP,
RDATA_SECTION_ASM_OP and SUBTARGET_PROLOGUE.
From-SVN: r67435
Kaveh R. Ghazi [Wed, 4 Jun 2003 08:34:22 +0000 (08:34 +0000)]
final.c (asm_fprintf): Update comments...
* final.c (asm_fprintf): Update comments, accept "-+ #0" flags,
optimize '%' case, handle %c, don't accept %p, %e, %f or %g,
handle %ll, optimize regular character case.
From-SVN: r67434
Zdenek Dvorak [Wed, 4 Jun 2003 07:51:41 +0000 (09:51 +0200)]
Makefile.in (cse.o): Add params.h dependency.
* Makefile.in (cse.o): Add params.h dependency.
* cse.c: Include params.h.
(PATHLENGTH): Removed.
(struct cse_basic_block_data): Make path array dynamic.
(cse_end_of_basic_block): Use PARAM_MAX_CSE_PATH_LENGTH instead of PATHLENGTH.
(cse_main, cse_basic_block): Allocate path array.
* params.def (PARAM_MAX_CSE_PATH_LENGTH): New.
From-SVN: r67433
Jan Hubicka [Wed, 4 Jun 2003 07:50:27 +0000 (09:50 +0200)]
i386.c (ix86_reorg): Replace the jump instead of adding nop.
* i386.c (ix86_reorg): Replace the jump instead of adding nop.
* i386.md (UNSPEC_REP): New constant.
(return_internal_long): New pattern.
From-SVN: r67432
Eric Botcazou [Wed, 4 Jun 2003 07:13:03 +0000 (09:13 +0200)]
re PR rtl-optimization/11018 ([SPARC] -mcpu=ultrasparc busts tar-1.13.25)
PR optimization/11018
* config/sparc/sparc.c (sparc_v8plus_shift): Use which_alternative
consistently to decide whether the scratch register is really
required.
From-SVN: r67429
Eric Botcazou [Wed, 4 Jun 2003 06:52:17 +0000 (08:52 +0200)]
re PR rtl-optimization/10876 (Segfault when compiling KDE 3.1.2)
PR optimization/10876
* config/sparc/sparc.h (CONST_OK_FOR_LETTER): Add
new 'O' constraint for constant 4096.
(CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
* config/sparc/sparc.md (adddi3 expander): Canonicalize pattern.
Do not transform into MINUS insn for constant 4096.
(*adddi3_sp64 insn): Canonicalize pattern. Add new alternative
for constant 4096 as third operand.
(addsi3 expander): Remove.
(*addsi3 insn): Rename into 'addsi3'. Canonicalize pattern. Add
new alternative for constant 4096 as third operand.
(subdi3 expander): Do not transform into PLUS insn for constant 4096.
(*subdi3_sp64 insn): Add new alternative for constant 4096 as third
operand.
(subsi3 expander): Remove.
(*subsi3 insn): Rename into 'subsi3'. Add new alternative for
constant 4096 as third operand.
* doc/md.texi (Machine Constraints): Document new 'O' constraint for
the SPARC port.
From-SVN: r67426
Andreas Jaeger [Wed, 4 Jun 2003 05:41:31 +0000 (07:41 +0200)]
* unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback):Remove usage of
CRT_GET_RFIB_TEXT.
From-SVN: r67425
Chris Demetriou [Wed, 4 Jun 2003 05:35:15 +0000 (05:35 +0000)]
t-linux64 (CRTSTUFF_T_CFLAGS_S): Define.
2003-06-03 Chris Demetriou <cgd@broadcom.com>
* config/mips/t-linux64 (CRTSTUFF_T_CFLAGS_S): Define.
From-SVN: r67424
Andreas Jaeger [Wed, 4 Jun 2003 05:21:41 +0000 (07:21 +0200)]
uwin.h: Remove SUBTARGET_PROLOGUE.
* config/i386/uwin.h: Remove SUBTARGET_PROLOGUE.
* config/i386/i386.c (ix86_expand_prologue): Do not use
SUBTARGET_PROLOGUE.
* system.h: Poision SUBTARGET_PROLOGUE.
* config/arm/arm-protos.h: Remove unused rdate_section prototype.
* output.h: Remove TDESC_SECTION_ASM_OP and RDATA_SECTION_ASM_OP
dependend code.
* system.h: Poison TDESC_SECTION_ASM_OP and RDATA_SECTION_ASM_OP.
* system.h: Poison INSN_CACHE_DEPTH, INSN_CACHE_SIZE and
INSN_CACHE_LINE_WIDTH.
* libgcc2.c (INSN_CACHE_PLANE_SIZE): Removed.
(__clear_cache): Remove code dependend on INSN_CACHE_DEPTH,
INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH.
* doc/tm.texi (Trampolines): Remove INSN_CACHE_DEPTH,
INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH.
* dbxout.c (dbxout_type): Remove usage of DBX_OUTPUT_ENUM.
(dbxout_symbol): Remove usage of DBX_OUTPUT_CONSTANT_SYMBOL.
(dbxout_block): Remove usage of DBX_OUTPUT_CATCH.
(dbxout_block): Remove usage of DBX_LBRAC_FIRST.
(dbxout_source_file): Remove usage of DBX_OUTPUT_SOURCE_FILENAME.
(dbxout_init): Remove test for DBX_WORKING_DIRECTORY.
* doc/tm.texi (DBX Options): Do not document DBX_LBRAC_FIRST,
DBX_OUTPUT_SOURCE_FILENAME and DBX_OUTPUT_ENUM and
DBX_WORKING_DIRECTORY.
* system.h: Poison DBX_LBRAC_FIRST, DBX_OUTPUT_ENUM,
DBX_OUTPUT_SOURCE_FILENAME and DBX_WORKING_DIRECTORY.
* config/frv/frv-protos.h: Remove unused const_section
declaration.
* config/vax/vax-protos.h: Likewise.
* output.h: Remove CONST_SECTION_ASM_OP usage.
* system.h: Poison CONST_SECTION_ASM_OP.
* crtstuff.c (__do_global_dtors_aux): Remove usage of CRT_GET_RFIB_TEXT
(frame_dummy): Likewise.
* unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Likewise.
* system.h: Poison CRT_GET_RFIB_TEXT.
From-SVN: r67423
Andreas Jaeger [Wed, 4 Jun 2003 04:56:26 +0000 (06:56 +0200)]
* collect2.c (is_ctor_dtor): Remove CFRONT_LOSSAGE dependend code.
From-SVN: r67422
Andreas Jaeger [Wed, 4 Jun 2003 04:50:47 +0000 (06:50 +0200)]
fix-header.c: Remove ADD_MISSING_EXTERN_C dependend variables.
* fix-header.c: Remove ADD_MISSING_EXTERN_C dependend variables.
(write_lbrac): Remove ADD_MISSING_EXTERN_C dependend code.
(recognized_function): Likewise.
(read_scan_file): Likewise.
From-SVN: r67421
Andreas Jaeger [Wed, 4 Jun 2003 04:48:16 +0000 (06:48 +0200)]
g77spec.c (lang_specific_driver): Remove ALT_LIBM usage.
* g77spec.c (lang_specific_driver): Remove ALT_LIBM usage.
* g++spec.c (lang_specific_driver): Remove ALT_LIBM usage.
From-SVN: r67419
Roger Sayle [Wed, 4 Jun 2003 04:42:14 +0000 (04:42 +0000)]
optabs.c (expand_binop): Optimize complex multiplication for the case of squaring a complex argument.
* optabs.c (expand_binop): Optimize complex multiplication for
the case of squaring a complex argument.
From-SVN: r67418
Roger Sayle [Wed, 4 Jun 2003 04:40:26 +0000 (04:40 +0000)]
optabs.c (expand_binop): Attempt to reuse pseudos for duplicate non-volatile operands of binary operations.
* optabs.c (expand_binop): Attempt to reuse pseudos for duplicate
non-volatile operands of binary operations.
(prepare_cmp_insn): Likewise.
From-SVN: r67417
Roger Sayle [Wed, 4 Jun 2003 04:36:53 +0000 (04:36 +0000)]
varasm.c (force_const_mem): Handle alignment of constants not representable as a type in the front-end language.
* varasm.c (force_const_mem): Handle alignment of constants not
representable as a type in the front-end language.
From-SVN: r67416
Aldy Hernandez [Wed, 4 Jun 2003 01:12:00 +0000 (01:12 +0000)]
forgot to commit.
From-SVN: r67415
Jason Merrill [Wed, 4 Jun 2003 01:06:09 +0000 (21:06 -0400)]
cp-tree.h (CP_AGGREGATE_TYPE_P): Accept vectors.
2003-06-03 Jason Merrill <jason@redhat.com>
* cp/cp-tree.h (CP_AGGREGATE_TYPE_P): Accept vectors.
* cp/decl.c (reshape_init): Handle vectors.
* testsuite/g++.dg/init/array10.C: New.
From-SVN: r67414
GCC Administrator [Wed, 4 Jun 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r67412
Kazu Hirata [Tue, 3 Jun 2003 23:17:27 +0000 (23:17 +0000)]
flow.c (initialize_uninitialized_subregs): Use emit_move_insn instead of emitting a hardcoded move.
* flow.c (initialize_uninitialized_subregs): Use
emit_move_insn instead of emitting a hardcoded move.
From-SVN: r67409
Glen Nakamura [Tue, 3 Jun 2003 23:08:22 +0000 (23:08 +0000)]
* gcc.dg/
20020525-1.c: Replace 0x5a5a5a5a with -1.
From-SVN: r67407
Olivier Hainque [Tue, 3 Jun 2003 22:30:11 +0000 (22:30 +0000)]
re PR ada/9953 (Unsatisfied symbols: U_prep_frame_rec_for_unwind (code))
PR ada/9953:
* 5hsystem.ads: Remove pragma Linker_Option for pthreads library,
and turn ZCX_By_Default back to False since the underlying support
is not quite there yet.
From-SVN: r67406
Olivier Hainque [Tue, 3 Jun 2003 22:25:02 +0000 (22:25 +0000)]
re PR ada/9953 (Unsatisfied symbols: U_prep_frame_rec_for_unwind (code))
2003-06-04 Olivier Hainque <hainque@act-europe.fr>
PR ada/9953:
* 5hsystem.ads: Remove pragma Linker_Option for pthreads library,
and turn ZCX_By_Default back to False, since the underlying support
is not quite there yet.
From-SVN: r67405
Richard Henderson [Tue, 3 Jun 2003 21:29:48 +0000 (14:29 -0700)]
optabs.c (expand_abs_nojump): Split out from ...
* optabs.c (expand_abs_nojump): Split out from ...
(expand_abs): ... here.
* optabs.h (expand_abs_nojump): Declare.
* ifcvt.c: (noce_try_abs): Use expand_abs_nojump.
* Makefile.in (ifcvt.o): Depend on optabs.h.
From-SVN: r67404
Alan Modra [Tue, 3 Jun 2003 20:45:01 +0000 (20:45 +0000)]
* dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Heed flag_merge_constants.
From-SVN: r67403
Nathanael Nerode [Tue, 3 Jun 2003 20:42:13 +0000 (20:42 +0000)]
Makefile.tpl: Make 'recursive targets' using autogen rather than shell loop.
* Makefile.tpl: Make 'recursive targets' using autogen rather
than shell loop. Remove duplicate 'clean' targets and false
comments.
* Makefile.def: Add systematic dependencies to 'recursive' targets.
Add systematic method of specifying missing targets in subdirs.
Add copyright boilerplate.
* Makefile.in: Regenerate.
* configure.in: Add 'recursive targets' to maybe list.
* configure: Regenerate.
From-SVN: r67402
Jason Thorpe [Tue, 3 Jun 2003 20:39:52 +0000 (20:39 +0000)]
config.gcc (default_use_cxa_atexit): New variable, defaults to no.
* config.gcc (default_use_cxa_atexit): New variable, defaults to no.
(*-*-netbsd[2-9]* | *-*-netbsdelf[2-9]*): Set default_use_cxa_atexit
to yes.
* configure.in: Allow default_use_cxa_atexit to determine the
value of DEFAULT_USE_CXA_ATEXIT if not explicitly enabled or
disabled.
* configure: Regenerate.
From-SVN: r67401
Douglas Rupp [Tue, 3 Jun 2003 20:28:14 +0000 (20:28 +0000)]
Makefile.in (TEXI_GCC_FILES): Remove vms.texi entry.
* Makefile.in (TEXI_GCC_FILES): Remove vms.texi entry.
* doc/gcc.texi: Remove vms.texi section.
* doc/vms.texi: Remove obsolete file.
From-SVN: r67400
Douglas B Rupp [Tue, 3 Jun 2003 20:22:20 +0000 (20:22 +0000)]
*** empty log message ***
From-SVN: r67399
J"orn Rennecke [Tue, 3 Jun 2003 19:10:09 +0000 (19:10 +0000)]
* g++.dg/abi/empty6.C (B): Request alignment of 8 bytes.
From-SVN: r67398
Joern Rennecke [Tue, 3 Jun 2003 19:04:23 +0000 (20:04 +0100)]
builtin-noret-1.c (_exit, _Exit): Make weak.
* gcc.dg/torture/builtin-noret-1.c (_exit, _Exit): Make weak.
* gcc.dg/torture/builtin-noret-2.c (_exit, _Exit): Likewise.
From-SVN: r67397
J"orn Rennecke [Tue, 3 Jun 2003 19:01:22 +0000 (19:01 +0000)]
configure.in (inhibit_libc): Don't define when configuring with --with-newlib --with-headers.
* configure.in (inhibit_libc): Don't define when configuring
with --with-newlib --with-headers.
* configure: Regenerate.
* t-sh: Remove LIB2FUNCS_EXTRA and embed-bb.c rules.
From-SVN: r67396