David Edelsohn [Tue, 6 Jan 2004 19:49:26 +0000 (19:49 +0000)]
xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each function into a separate macro.
* config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
function into a separate macro.
(read_only_data_section): Add void argument.
(private_data_section): Same.
(read_only_private_data_section): Same.
(toc_section): Same.
From-SVN: r75482
Jan Hubicka [Tue, 6 Jan 2004 18:26:12 +0000 (19:26 +0100)]
* invoke.texi: Remove typo in last change.
From-SVN: r75479
Graydon Hoare [Tue, 6 Jan 2004 18:02:23 +0000 (18:02 +0000)]
JLayeredPane.java: Fix semantics, add javadocs.
2004-01-06 Graydon Hoare <graydon@redhat.com>
* javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
From-SVN: r75478
Graydon Hoare [Tue, 6 Jan 2004 17:54:08 +0000 (17:54 +0000)]
missing changelog entry
From-SVN: r75477
Jan Hubicka [Tue, 6 Jan 2004 17:31:10 +0000 (18:31 +0100)]
re PR target/10301 (Side effects of architecture specific flags are not documented.)
PR target/10301
* config.gcc: Accept opteron and athlon-64 as variants
of k8.
* i386.c (override_options): Likewise.
* invoke.texi (i386 -mtune): Expand documentation.
From-SVN: r75476
Kazu Hirata [Tue, 6 Jan 2004 16:51:21 +0000 (16:51 +0000)]
alias.c: Fix comment typos.
* alias.c: Fix comment typos.
* builtins.c: Likewise.
* cfg.c: Likewise.
* df.c: Likewise.
* dominance.c: Likewise.
* dwarf2out.c: Likewise.
* emit-rtl.c: Likewise.
* expr.c: Likewise.
* final.c: Likewise.
* fold-const.c: Likewise.
* gcse.c: Likewise.
* genattrtab.c: Likewise.
* genrecog.c: Likewise.
* gensupport.c: Likewise.
* ggc-zone.c: Likewise.
* integrate.c: Likewise.
* local-alloc.c: Likewise.
* loop.c: Likewise.
* recog.c: Likewise.
* regmove.c: Likewise.
* reg-stack.c: Likewise.
* reorg.c: Likewise.
* rtlanal.c: Likewise.
* rtl.h: Likewise.
* sched-ebb.c: Likewise.
* simplify-rtx.c: Likewise.
* toplev.c: Likewise.
* varasm.c: Likewise.
From-SVN: r75475
Kazu Hirata [Tue, 6 Jan 2004 16:21:17 +0000 (16:21 +0000)]
install.texi: Fix typos.
* doc/install.texi: Fix typos.
* doc/invoke.texi: Likewise.
* doc/md.texi: Likewise.
From-SVN: r75474
Michael Koch [Tue, 6 Jan 2004 15:00:11 +0000 (15:00 +0000)]
Connection.java: Reformated copyright.
2004-01-06 Michael Koch <konqueror@gmx.de>
* gnu/java/net/protocol/file/Connection.java:
Reformated copyright.
(hdrHash): Removed.
(hdrVec): Removed.
(gotHeaders): Removed.
(getHeaderField): Removed.
(getHeaderField): Removed.
(getHeaderFieldKey): Removed.
(getKey): Removed.
(getField): Removed.
(getHeaders): Removed.
From-SVN: r75473
Michael Koch [Tue, 6 Jan 2004 13:48:52 +0000 (13:48 +0000)]
DateTimeAtCompleted.java, [...]: New files.
2004-01-06 Michael Koch <konqueror@gmx.de>
* javax/print/attribute/standard/DateTimeAtCompleted.java,
javax/print/attribute/standard/DateTimeAtCreation.java,
javax/print/attribute/standard/DateTimeAtProcessing.java,
javax/print/attribute/standard/JobImpressionsCompleted.java,
javax/print/attribute/standard/JobKOctets.java,
javax/print/attribute/standard/JobKOctetsProcessed.java,
javax/print/attribute/standard/JobMediaSheetsCompleted.java,
javax/print/attribute/standard/JobPrioritySupported.java: New files.
* Makefile.am (javax_source_files): Added new files.
* Makefile.in: Regenerated.
From-SVN: r75471
Paolo Carlini [Tue, 6 Jan 2004 12:20:42 +0000 (12:20 +0000)]
1.cc: Remove redundant #includes.
2004-01-06 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_istream/extractors_other/char/1.cc:
Remove redundant #includes.
* testsuite/27_io/basic_istream/extractors_other/char/2.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_other/char/3.cc:
Likewise.
* testsuite/27_io/basic_istream/get/char/1.cc: Likewise.
* testsuite/27_io/basic_istream/get/char/2.cc: Likewise.
* testsuite/27_io/basic_istream/getline/char/1.cc: Likewise.
* testsuite/27_io/basic_istream/getline/char/2.cc: Likewise.
* testsuite/27_io/basic_istream/getline/char/3.cc: Likewise.
* testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise.
* testsuite/27_io/basic_istream/ignore/char/6360.cc: Likewise.
* testsuite/27_io/basic_istream/ignore/char/7220.cc: Likewise.
* testsuite/27_io/basic_istream/peek/char/1.cc: Likewise.
* testsuite/27_io/basic_istream/peek/char/6414.cc: Likewise.
* testsuite/27_io/basic_istream/putback/char/1.cc: Likewise.
* testsuite/27_io/basic_istream/read/char/1.cc: Likewise.
* testsuite/27_io/basic_istream/read/char/2.cc: Likewise.
* testsuite/27_io/basic_istream/read/char/3.cc: Likewise.
* testsuite/27_io/basic_istream/readsome/char/6746-1.cc:
Likewise.
* testsuite/27_io/basic_istream/readsome/char/6746-2.cc:
Likewise.
* testsuite/27_io/basic_istream/readsome/char/8258.cc:
Likewise.
* testsuite/27_io/basic_istream/seekg/char/2346-fstream.cc:
Likewise.
* testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc:
Likewise.
* testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Likewise.
* testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
* testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
From-SVN: r75469
Kazuhiro Inaoka [Tue, 6 Jan 2004 11:00:28 +0000 (11:00 +0000)]
Fix defintion of TRAMPOLINE_SIZE
From-SVN: r75468
Jan Hubicka [Tue, 6 Jan 2004 10:49:58 +0000 (11:49 +0100)]
i386-sse-5.c: New test
* gcc.dg/i386-sse-5.c: New test
* g++.dg/eh/simd-1.c: Add -w argument for i386.
* i386.c (init_cumulative_args): Add handling of MMX_REGPARM.
(function_arg_advance): Do not pass aggregates in SSE; deal handling
of MMX_REGPARM.
(function_arg): Add new warnings about ABI changes; fix SSE_REGPARM;
add MMX_REGPARM.
* i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
(SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
(MMX_REGPARM_MAX): Similarly for -mmmx.
From-SVN: r75467
Michael Koch [Tue, 6 Jan 2004 08:54:20 +0000 (08:54 +0000)]
2004-01-06 Michael Koch <konqueror@gmx.de>
* java/net/URLConnection.java
(contentHandler): Removed.
(locale): Removed.
(getHeaderFields): Return an empty map instead of null.
(getContent): Connect if needed, renamed "cType" to "type" and
"contentHandler" to "ch" and made it a local variable.
(getPermission): Don't use package in class name.
(setDefaultRequestProperty): Fixed typo in documentation.
(initializeDateFormats): Made locale a local variable.
From-SVN: r75466
Michael Koch [Tue, 6 Jan 2004 08:34:58 +0000 (08:34 +0000)]
2004-01-06 Michael Koch <konqueror@gmx.de>
* java/lang/Package.java
(getPackage): Get the current class loader directly.
* java/lang/SecurityManager.java
(currentLoadedClass): Dont iterate over class contexts.
(classLoaderDepth): Don't check class loaders if everything is allowed.
From-SVN: r75465
Kazu Hirata [Tue, 6 Jan 2004 04:21:52 +0000 (04:21 +0000)]
linux.h: Fix comment formatting.
* config/sh/linux.h: Fix comment formatting.
* config/sh/netbsd-elf.h: Likewise.
* config/sh/sh.c: Likewise.
* config/sh/sh.h: Likewise.
* config/sh/vxworks.h: Likewise.
From-SVN: r75462
Kelley Cook [Tue, 6 Jan 2004 02:39:27 +0000 (02:39 +0000)]
gcc_update (files_generated): Revert 2003-12-18 change.
contrib/
2004-01-05 Kelley Cook <kcook@gcc.gnu.org>
* gcc_update (files_generated): Revert 2003-12-18 change.
gcc/ada/
2004-01-05 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Revert stamp-xgnatug change from 2003-12-18.
Update comment and copyright date.
* stamp-xgnatug: Delete.
From-SVN: r75461
Mark Mitchell [Tue, 6 Jan 2004 02:26:13 +0000 (02:26 +0000)]
re PR c++/13057 (regparm attribute not applied to destructor)
PR c++/13057
* class.c (build_clone): Copy type attributes from the original
function to the clone.
From-SVN: r75460
Mark Mitchell [Tue, 6 Jan 2004 00:52:36 +0000 (00:52 +0000)]
re PR c++/12815 (Code compiled with optimization behaves unexpectedly)
PR c++/12815
* class.c (build_vtbl_ref_1): Do not unconditionally mark vtable
references as constant.
From-SVN: r75458
Mark Mitchell [Tue, 6 Jan 2004 00:52:10 +0000 (00:52 +0000)]
re PR c++/12815 (Code compiled with optimization behaves unexpectedly)
PR c++/12816
* class.c (build_vtbl_ref_1): Do not unconditionally mark vtable
references as constant.
PR c++/12815
* g++.dg/rtti/typeid4.C: New test.
From-SVN: r75457
GCC Administrator [Tue, 6 Jan 2004 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r75453
Kazu Hirata [Mon, 5 Jan 2004 22:08:26 +0000 (22:08 +0000)]
system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
* system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
* toplev.c (output_file_directive): Don't use
ASM_OUTPUT_MAIN_SOURCE_FILENAME.
From-SVN: r75448
Thomas Fitzsimmons [Mon, 5 Jan 2004 21:41:21 +0000 (21:41 +0000)]
2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
(pre_event_handler): Set all insets to 0 when a Configure event
is received for a GtkPlug.
* gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
Make handle long, not int.
(EmbeddedWindow()): New constructor.
(EmbeddedWindow(int)): Rename window_id to handle. Make handle
long, not int.
(setHandle): New method.
(getHandle): Return long, not int.
* gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
declaration.
* gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
(create(long)): Take long parameter, not int. Cast gtk_plug_new
argument to GdkNativeWindow.
(construct): New method.
(embed): New method.
From-SVN: r75447
Thomas Fitzsimmons [Mon, 5 Jan 2004 21:35:33 +0000 (21:35 +0000)]
2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
(create(int, int)): New method.
(create): Call new create method.
(gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
methods.
(childResized): Remove native implementation. Implement in
Java.
(getHScrollbarHeight, getVScrollbarWidth): Call
gtk_widget_size_request to get scrollbar dimensions.
* java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
call getVScrollbarWidth and getHScrollbarHeight when vertical
and horizontal scrollbars respectively are needed.
(doLayout): Enlarge child if it is smaller than the viewport.
From-SVN: r75446
Eric Botcazou [Mon, 5 Jan 2004 21:29:39 +0000 (22:29 +0100)]
* gcc.dg/compat/sdata-section.h: Declare 'abort'.
From-SVN: r75445
Fernando Nasser [Mon, 5 Jan 2004 21:23:12 +0000 (21:23 +0000)]
Dialog.java (constructor): Accept null title as per spec.
* java/awt/Dialog.java (constructor): Accept null title as per spec.
* java/awt/FileDialog.java (constructor): Throw exception on invalid
argument as per spec.
From-SVN: r75444
Fernando Nasser [Mon, 5 Jan 2004 21:18:06 +0000 (21:18 +0000)]
Choice.java (add): Leave posting of ItemEvents to peer.
2004-01-05 Fernando Nasser <fnasser@redhat.com>
* java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
(insert): Ditto.
(remove): Ditto. Also, Check for valid argument.
(removeAll): Use peer interface method.
* gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
native add function.
(nativeRemove): New name for native remove function.
(getHistory): New native function.
(constructor): Generate ItemEvent.
(add): Ditto, if selection is changed.
(remove): Ditto, ditto.
(removeAll): Add implementation.
(handleEvent): Remove. Dead code.
(choicePostItemEvent): Add comment.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
(Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
(Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
(Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
comments and fix condition to change selection.
(Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
(Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
remove all capability.
(Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
(item_activate): Add cast to remove compiler warning.
From-SVN: r75443
Thomas Fitzsimmons [Mon, 5 Jan 2004 21:13:46 +0000 (21:13 +0000)]
2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkComponentPeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(getPreferredSize): Call preferredSize.
(preferredSize): Call gtkWidgetGetPreferredDimensions.
(getMinimumSize): Call minimumSize.
(minimumSize): Call gtkWidgetGetPreferredDimensions.
(gtkWidgetGetDimensions): Return the peer widget's current size
request.
(gtkWidgetGetPreferredDimensions): Return the peer widget's
natural size request.
From-SVN: r75442
Mark Mitchell [Mon, 5 Jan 2004 21:07:22 +0000 (21:07 +0000)]
re PR c++/12132 (spurious "int ._0" (or "int $_0) in error message)
PR c++/12132
* parser.c (cp_parser_explicit_instantiation): Improve error
recovery.
(cp_parser_require): Improve indication of the error location.
PR c++/12132
* g++.dg/template/error11.C: New test.
From-SVN: r75441
Mark Mitchell [Mon, 5 Jan 2004 19:54:35 +0000 (19:54 +0000)]
re PR c++/13451 (Wrong error message with qualified names for member declarations)
PR c++/13451
* parser.c (cp_parser_class_head): Reorder logic to check for
invalid qualification.
PR c++/13451
* g++.dg/template/class2.C: New test.
From-SVN: r75440
Daniel Berlin [Mon, 5 Jan 2004 19:23:50 +0000 (19:23 +0000)]
ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
2004-01-05 Daniel Berlin <dberlin@dberlin.org>
* ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
(USING_MMAP): We don't support non-mmap.
(struct alloc_chunk): Steal 1 bit from typecode, use it to mark
large objects.
(struct page_entry): Remove bytes_free.
(struct page_table_chain): Remove.
(struct globals): Remove page_table member.
(loookup_page_table_entry): Function deleted.
(set_page_table_entry): Ditto.
(ggc_allocated_p): No longer need page table lookups.
(ggc_marked_p): Ditto.
(alloc_small_page): Don't care about bytes_free anymore.
(alloc_large_page): Round up size.
(ggc_alloc_zone_1): Mark large objects as such, and calculate
their size the new way.
Remove page table lookups and setting.
(ggc_get_size): Calculate large object size the new way.
(sweep_pages): Redo to account for fact that we no longer have
bytes_free.
(ggc_collect): No longer need to reincrement bytes_free.
(ggc_pch_alloc_object): Handle new large objects properly.
(ggc_pch_read): Put PCH stuff into it's own uncollected zone.
From-SVN: r75438
Sascha Brawer [Mon, 5 Jan 2004 19:19:29 +0000 (20:19 +0100)]
Thanks to Brian Gough <bjg@network-theory.com>
2004-01-05 Sascha Brawer <brawer@dandelis.ch>
Thanks to Brian Gough <bjg@network-theory.com>
* java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
* java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
From-SVN: r75437
Kazu Hirata [Mon, 5 Jan 2004 18:11:31 +0000 (18:11 +0000)]
* doc/invoke.texi: Remove a page break.
From-SVN: r75436
Kazu Hirata [Mon, 5 Jan 2004 17:26:30 +0000 (17:26 +0000)]
avr.c (avr_output_function_prologue): Remove an extra pair of curly braces.
* config/avr/avr.c (avr_output_function_prologue): Remove an
extra pair of curly braces.
From-SVN: r75434
Kazu Hirata [Mon, 5 Jan 2004 17:01:43 +0000 (17:01 +0000)]
mn10300.c: Fix comment formatting.
* config/mn10300/mn10300.c: Fix comment formatting.
* config/mn10300/mn10300.h: Likewise.
From-SVN: r75433
Arnaud Charlet [Mon, 5 Jan 2004 15:20:47 +0000 (16:20 +0100)]
[multiple changes]
2004-01-05 Robert Dewar <dewar@gnat.com>
* 1ssecsta.ads: Default_Secondary_Stack is not a constant since it may
be modified by the binder generated main program if the -D switch is
used.
* 4onumaux.ads, 4znumaux.ads: Add Pure_Function pragmas for all
imported functions (since now we expect this to be done for imported
functions)
* 5vtaprop.adb: Add several ??? for sections requiring more comments
Minor reformatting throughout
* 5zinit.adb: Minor reformatting
Add 2004 to copyright date
Minor changes to avoid -gnatwa warnings
Correct some instances of using OR instead of OR ELSE (noted while
doing reformatting)
* sprint.adb: Minor updates to avoid -gnatwa warnings
* s-secsta.ads, s-secsta.adb:
(SS_Get_Max): New function to obtain high water mark for ss stack
Default_Secondary_Stack is not a constant since it may be modified by
the binder generated main program if the -D switch is used.
* switch-b.adb: New -Dnnn switch for binder
* switch-c.adb:
Make -gnatg imply all warnings currently in -gnatwa
* vms_conv.adb: Minor reformatting
Add 2004 to copyright notice
Add 2004 to printed copyright notice
* 3vexpect.adb, 4zsytaco.adb, 3wsocthi.adb, 3zsocthi.adb,
3zsocthi.adb, 56taprop.adb, 56tpopsp.adb, 5amastop.adb,
5aml-tgt.adb, 5ataprop.adb, 5ataprop.adb, 5atpopsp.adb,
5ftaprop.adb, 5ginterr.adb, 5gmastop.adb, 5gml-tgt.adb,
5gtaprop.adb, 5hml-tgt.adb, 5hml-tgt.adb, 5hml-tgt.adb,
5htaprop.adb, 5htraceb.adb, 5itaprop.adb, 5lml-tgt.adb,
5sml-tgt.adb, 5staprop.adb, 5staprop.adb, 5stpopsp.adb,
5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vtaprop.adb,
5vml-tgt.adb, 5vtaprop.adb, 5wosprim.adb, 5wtaprop.adb,
5zinterr.adb, 5zintman.adb, 5zml-tgt.adb, 5ztaprop.adb,
6vcpp.adb, 6vcstrea.adb, 7staprop.adb, 7stpopsp.adb,
vxaddr2line.adb, vxaddr2line.adb, xref_lib.adb, xr_tabls.adb,
xr_tabls.ads, s-tasdeb.adb, s-tasdeb.adb, sem_res.ads,
sem_util.adb, sem_util.adb, sem_util.ads, s-interr.adb,
checks.adb, clean.adb, cstand.adb, einfo.ads,
einfo.adb, exp_aggr.adb, exp_ch11.adb, exp_ch3.adb,
exp_ch4.adb, exp_ch5.adb, exp_ch7.adb, exp_ch9.adb,
prj-nmsc.adb, prj-pp.adb, prj-util.adb, sem_attr.adb,
sem_ch10.adb, sem_ch12.adb, sem_ch4.adb, g-dirope.adb,
g-dirope.ads, gnatlbr.adb, i-cstrea.adb, inline.adb,
lib-xref.adb, sem_ch5.adb, sem_ch7.adb, sem_ch8.adb:
Minor reformatting and code clean ups.
Minor changes to prevent -gnatwa warnings
* ali.adb: Minor reformatting and cleanup of code
Acquire new SS indication of secondary stack use from ali files
* a-numaux.ads: Add Pure_Function pragmas for all imported functions
(since now we expect this to be done for imported functions)
* bindgen.adb: Generate call to modify default secondary stack size if
-Dnnn switch given
* bindusg.adb: Add line for new -D switch
* exp_aggr.adb (Type_May_Have_Bit_Aligned_Components): More appropriate
replacement name for Type_May_Have_Non_Bit_Aligned_Components!
Add circuitry for both records and arrays to avoid gigi
processing if the type involved has non-bit-aligned components
* exp_ch5.adb (Expand_Assign_Array): Avoid assumption that
N_String_Literal node always references an E_String_Literal_Subtype
entity. This may not be true in the future.
(Possible_Bit_Aligned_Component): Move processing of
Component_May_Be_Bit_Aligned from exp_ch5 to exp_util
* exp_ch6.adb (Expand_Thread_Body): Pick up
Default_Secondary_Stack_Size as variable so that we get value modified
by possible -Dnnn binder parameter.
* exp_util.adb (Component_May_Be_Bit_Aligned): New function.
(Type_May_Have_Bit_Aligned_Components): New function.
* exp_util.ads (Component_May_Be_Bit_Aligned): New function.
(Type_May_Have_Bit_Aligned_Components): New function.
* fe.h: (Set_Identifier_Casing): Fix prototype.
Add declaration for Sem_Elim.Eliminate_Error_Msg.
Minor reformatting.
* freeze.adb (Freeze_Entity): Add RM reference to error message about
importing constant atomic/volatile objects.
(Freeze_Subprogram): Reset Is_Pure indication for imported subprogram
unless explicit Pure_Function pragma given, to avoid insidious bug of
call to non-pure imported function getting eliminated.
* gnat1drv.adb, gnatbind.adb, gnatchop.adb, gnatfind.adb,
gnatls.adb, gnatlink.adb, gnatmem.adb, gnatname.adb, gnatsym.adb,
gnatxref.adb, gprcmd.adb, gprep.adb, make.adb: Minor reformatting
Add 2004 to printed copyright notice
* lib-writ.ads, lib-writ.adb: Put new SS flag in ali file if secondary
stack used.
* Makefile.rtl: Add entry for g-sestin.o
g-sestin.ads: New file.
* mdll.adb: Minor changes to avoid -gnatwa warnings
* mlib-tgt.adb: Minor reformatting
* opt.ads: New parameter Default_Secondary_Stack_Size (GNATBIND)
New switch Sec_Stack_Used (GNAT, GNATBIND)
Make Default_Secondary_Stack_Size a variable instead of a constant,
so that it can be modified by the new -Dnnn bind switch.
* rtsfind.adb (Load_Fail): Give full error message in configurable
run-time mode if all_errors mode is set. This was not done in the case
of a file not found, which was an oversight.
Note if secondary stack unit is used by compiler.
* sem_elab.adb (Check_A_Call): Rewrite to avoid trying to put
ineffective elaborate all pragmas on non-visible packages (this
happened when a renamed subprogram was called). Now the elaborate all
always goes on the package containing the renaming rather than the one
containing the renamed subprogram.
* sem_elim.ads, sem_elim.adb (Eliminate_Error_Msg): New procedure
(Process_Eliminate_Pragma): Add parameter to capture pragma location.
* sem_eval.adb (Eval_String_Literal): Do not assume that string literal
has an Etype that references an E_String_Literal.
(Eval_String_Literal): Avoid assumption that N_String_Literal node
always references an E_String_Literal_Subtype entity. This may not
be true in the future.
* sem_prag.adb (Process_Eliminate_Pragma): Add parameter to capture
pragma location.
* sem_res.adb (Resolve): Specialize msg for function name used in proc
call.
2004-01-05 Ed Falis <falis@gnat.com>
* g-debuti.adb: Replaced direct boolean operator with short-circuit
form.
2004-01-05 Vincent Celier <celier@gnat.com>
* bld.adb: Minor comment updates
(Process_Declarative_Items): Correct incorrect name (Index_Name instead
of Item_Name).
* make.adb (Gnatmake): Special process for files to compile/check when
-B is specified. Fail when there are only foreign mains in attribute
Main of the project file and -B is not specified. Do not skip bind/link
steps when -B is specified.
* makeusg.adb: Document new switch -B
* opt.ads (Build_Bind_And_Link_Full_Project): New Boolean flag
* switch-m.adb: (Scan_Make_Switches): Process -B switch
* vms_data.ads: Add new GNAT PRETTY qualifier
/FORM_FEED_AFTER_PRAGMA_PAGE for switch -ff
2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* trans.c (tree_transform, case N_Free_Statement): Handle thin pointer
case.
* misc.c (gnat_printable_name): If VERBOSITY is 2, call
Set_Identifier_Casing.
* decl.c (gnat_to_gnu_entity, E_Function): Give error if return type
has size that overflows.
2004-01-05 Gary Dismukes <dismukes@gnat.com>
* exp_ch4.adb (Expand_Array_Comparison): Add Boolean constant to avoid
-gnatwa warning on static condition.
2004-01-05 Doug Rupp <rupp@gnat.com>
* link.c: (shared_libgnat_default) [VMS]: Change to STATIC.
2004-01-05 Arnaud Charlet <charlet@act-europe.fr>
* Makefile.in: Install ali files using INSTALL_DATA_DATE to preserve
all attributes, including read-only attribute.
2004-01-05 Pascal Obry <obry@gnat.com>
* bindgen.adb (Gen_Object_Files_Options): Generate the new shared
library naming scheme.
* mlib-prj.adb (Build_Library): Generate different names for the static
or dynamic version of the GNAT runtime. This is needed to support the
new shared library naming scheme.
(Process_Binder_File): Add detection of shared library in binder file
based on the new naming scheme.
* gnatlink.adb (Process_Binder_File): Properly detect the new naming
scheme for the shared runtime libraries.
* Makefile.in:
(LIBRARY_VERSION) [VMS]: Convert all . to _ to conform to new naming
scheme.
(install-gnatlib): Do not create symlinks for shared libraries.
(gnatlib-shared-default): Idem.
(gnatlib-shared-dual-win32): New target. Not used for now as the
auto-import feature does not support arrays/records.
(gnatlib-shared-win32): Do not create copy for the shared libraries.
(gnatlib-shared-vms): Fix shared runtime libraries names.
* osint.ads, osint.adb (Shared_Lib): New routine, returns the target
dependent runtime shared library name.
2004-01-05 Vasiliy Fofanov <fofanov@act-europe.fr>
* osint.adb (Read_Library_Info): Remove bogus check if ALI is older
than the object.
2004-01-05 Ed Schonberg <schonberg@gnat.com>
* sem_ch4.adb (Analyze_Allocator): Check restriction on dynamic
protected objects when allocator has a subtype indication, not a
qualified expression. Note that qualified expressions may have to be
checked when limited aggregates are implemented.
* sem_prag.adb (Analyze_Pragma, case Import): If enclosing package is
pure, emit warning.
(Analyze_Pragma, case Pure_Function): If enclosing package is pure and
subprogram is imported, remove warning.
2004-01-05 Geert Bosch <bosch@gnat.com>
* s-poosiz.adb: Update copyright notice.
(Allocate): Use Task_Lock to protect against concurrent access.
(Deallocate): Likewise.
2004-01-05 Joel Brobecker <brobecker@gnat.com>
* s-stalib.adb (Elab_Final_Code): Add missing year in date inside ???
comment.
From-SVN: r75432
Richard Kenner [Mon, 5 Jan 2004 15:16:35 +0000 (15:16 +0000)]
tree.h: Update documentation on nothrow_flag.
* tree.h: Update documentation on nothrow_flag.
* print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
types.
From-SVN: r75431
Kazu Hirata [Mon, 5 Jan 2004 15:06:36 +0000 (15:06 +0000)]
* doc/invoke.texi: Remove traces of dead ports.
From-SVN: r75430
Nathan Sidwell [Mon, 5 Jan 2004 10:15:07 +0000 (10:15 +0000)]
re PR c++/13387 (assignment to base class corrupts subclass)
PR c++/13387
* g++.dg/opt/alias3.C: New test.
Co-Authored-By: Richard Sandiford <rsandifo@redhat.com>
From-SVN: r75427
Richard Sandiford [Mon, 5 Jan 2004 10:03:38 +0000 (10:03 +0000)]
Fix typo (double "for"s).
From-SVN: r75426
Richard Sandiford [Mon, 5 Jan 2004 09:59:41 +0000 (09:59 +0000)]
Update copyright dates after recent commits.
From-SVN: r75425
Richard Sandiford [Mon, 5 Jan 2004 09:39:06 +0000 (09:39 +0000)]
invoke.texi: Add documentation for the MIPS -mexplicit-relocs option.
* doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
option.
From-SVN: r75423
Richard Sandiford [Mon, 5 Jan 2004 09:37:02 +0000 (09:37 +0000)]
re PR c++/12945 (MIPS g++.old-deja/g++.abi/ptrflags.C fails.)
PR target/12945
* coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
for counter labels.
* config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
(mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
string constants if TARGET_MIPS16. Use SYMBOL_REF_DECL to check
the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
(mips_symbol_insns): Don't trust the local/global classification.
(m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
(override_options): Make -mabicalls -fno-unit-at-a-time imply
-mno-explicit-relocs.
(mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
between local and global symbols.
From-SVN: r75422
Steven Bosscher [Mon, 5 Jan 2004 09:35:05 +0000 (09:35 +0000)]
I am a moron.
From-SVN: r75421
Richard Sandiford [Mon, 5 Jan 2004 09:32:19 +0000 (09:32 +0000)]
mips-protos.h (mips_dangerous_for_la25_p): Declare.
* config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
(mips_preferred_reload_class): Declare.
* config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
(EXTRA_CONSTRAINT): Update accordingly.
(PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
* config/mips/mips.c (mips_dangerous_for_la25_p): New function.
(mips_preferred_reload_class): New function. Prefer LEA_REGS if
mips_dangerous_for_la25_p.
(mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
if mips_dangerous_for_la25_p.
From-SVN: r75420
Mark Mitchell [Mon, 5 Jan 2004 06:24:47 +0000 (06:24 +0000)]
re PR c++/13157 (Argument Dependent Lookup Failure)
PR c++/13157
* name-lookup.c (lookup_using_namespace): Remove spacesp
parameter.
(unqualified_namespace_lookup): Likewise.
(lookup_qualified_name): Adjust accordingly.
(lookup_name_real): Likewise.
(lookup_arg_dependent): Do not eliminate the namespace of the
functions found by unqualified name lookup unless that is the
current namespace.
PR c++/13157
* g++.dg/template/koenig3.C: New test.
From-SVN: r75416
Andrew Pinski [Mon, 5 Jan 2004 05:47:16 +0000 (05:47 +0000)]
semantics.c (push_deferring_access_checks): Fix format.
* semantics.c (push_deferring_access_checks): Fix format.
(resume_deferring_access_checks): Likewise.
(stop_deferring_access_checks): Likewise.
(pop_deferring_access_checks): Likewise.
(get_deferred_access_checks): Likewise.
(pop_to_parent_deferring_access_checks): Likewise.
(perform_deferred_access_checks): Likewise.
(perform_or_defer_access_check): Likewise.
From-SVN: r75415
Richard Henderson [Mon, 5 Jan 2004 05:37:06 +0000 (21:37 -0800)]
call.c (build_over_call): Don't create a save_expr of an aggregate, but rather its address.
* call.c (build_over_call): Don't create a save_expr of an
aggregate, but rather its address.
From-SVN: r75414
Nathanael Nerode [Mon, 5 Jan 2004 04:37:53 +0000 (04:37 +0000)]
configure.in: Use ./config.cache, not config.cache.
* configure.in: Use ./config.cache, not config.cache.
* configure: Regenerate.
* Makefile.tpl: Special-casing not needed for GCC any more.
* Makefile.in: Regenerate.
From-SVN: r75413
Bernardo Innocenti [Mon, 5 Jan 2004 04:13:49 +0000 (05:13 +0100)]
m68k.c (output_andsi3): Fix signed/unsigned comparison warning.
* config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
warning.
From-SVN: r75412
Nathanael Nerode [Mon, 5 Jan 2004 03:21:24 +0000 (03:21 +0000)]
configure.ac: Use AC_PROG_CPP_WERROR.
* configure.ac: Use AC_PROG_CPP_WERROR.
* configure: Regenerate.
From-SVN: r75411
Mark Mitchell [Mon, 5 Jan 2004 01:52:57 +0000 (01:52 +0000)]
re PR c++/13529 (offsetof() with member-designator containing member access broken)
PR c++/13529
* parser.c (cp_parser_postfix_expression): Allow "." to appear in
an offsetof expression.
PR c++/13529
* g++.dg/parse/offsetof3.C: New test.
From-SVN: r75410
Mark Mitchell [Mon, 5 Jan 2004 01:30:10 +0000 (01:30 +0000)]
* parser.c (cp_parser_parameter_declaration): Fix comment.
From-SVN: r75409
Mark Mitchell [Mon, 5 Jan 2004 01:28:26 +0000 (01:28 +0000)]
* g++.dg/init/copy7.C: Add missing dg-error markers.
From-SVN: r75408
Nathanael Nerode [Mon, 5 Jan 2004 00:49:59 +0000 (00:49 +0000)]
configure.in: Don't share a cache file for host dirs.
* configure.in: Don't share a cache file for host dirs.
* configure: Regenerate.
From-SVN: r75407
Nathanael Nerode [Mon, 5 Jan 2004 00:41:14 +0000 (00:41 +0000)]
* config-ml.in: Don't mess with the cache file.
From-SVN: r75406
Zack Weinberg [Mon, 5 Jan 2004 00:39:35 +0000 (00:39 +0000)]
* .cvsignore: Add autom4te.cache.
From-SVN: r75405
GCC Administrator [Mon, 5 Jan 2004 00:16:08 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r75402
Paolo Carlini [Sun, 4 Jan 2004 23:26:31 +0000 (23:26 +0000)]
2004-01-04 Paolo Carlini <pcarlini@suse.de>
* Fix year in the Changelog entry of last commit.
From-SVN: r75399
Paolo Carlini [Sun, 4 Jan 2004 23:19:00 +0000 (23:19 +0000)]
01.cc: Remove redundant #includes.
2003-01-04 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc:
Remove redundant #includes.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
Likewise.
From-SVN: r75398
Mark Mitchell [Sun, 4 Jan 2004 22:42:22 +0000 (22:42 +0000)]
re PR c++/12226 (g++ fails to enforce accessibility requirement for copy constructor)
PR c++/12226
* call.c (CHECK_COPY_CONSTRUCTOR_P): New macro.
(reference_binding): Set it when appropriate.
(build_temp): New function, split out from ...
(convert_like_real): ... here. Honor CHECK_COPY_CONSTRUCTOR_P.
(initialize_reference): Likewise.
PR c++/12226
* g++.dg/init/copy7.c: New test.
PR c++/12226
* testsuite/27_io/basic_filebuf/4.cc: Remove use of invalid copy
constructor.
* testsuite/27_io/basic_fstream/4.cc: Likewise.
* testsuite/27_io/basic_ifstream/4.cc: Likewise.
* testsuite/27_io/basic_ios/4.cc: Likewise.
* testsuite/27_io/basic_iostream/4.cc: Likewise.
* testsuite/27_io/basic_istream/4.cc: Likewise.
* testsuite/27_io/basic_istingstream/4.cc: Likewise.
* testsuite/27_io/basic_ofstream/4.cc: Likewise.
* testsuite/27_io/basic_ostream/4.cc: Likewise.
* testsuite/27_io/basic_ostringstream/4.cc: Likewise.
* testsuite/27_io/basic_stringbuf/5.cc: Likewise.
* testsuite/27_io/basic_stringstream/4.cc: Likewise.
PR c++/13536
* parser.c (cp_parser): Add in_type_id_in_expr_p.
(cp_parser_new): Initialize it.
(cp_parser_postfix_expression): Set it.
(cp_parser_sizeof_operand): Likewise.
(cp_parser_parameteR_declaration): Do not commit early to tenative
parsers when in_type_id_in_expr_p is set.
PR c++/13536
* g++.dg/parse/cast1.C: New test.
From-SVN: r75397
Richard Sandiford [Sun, 4 Jan 2004 22:19:40 +0000 (22:19 +0000)]
invoke.texi: Revamp documentation of MIPS options.
* doc/invoke.texi: Revamp documentation of MIPS options. Remove
-mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
-m4650, -mfix7000 and -(m)no-crt0. Put endianness options first,
then architecture options, then ABI options. General rewording.
From-SVN: r75396
Joseph Myers [Sun, 4 Jan 2004 20:37:52 +0000 (20:37 +0000)]
re PR c/3414 (Inaccurate documentation of __attribute__((malloc)))
PR c/3414
* doc/extend.texi: Clarify definition of malloc attribute.
From-SVN: r75395
Paolo Carlini [Sun, 4 Jan 2004 18:34:27 +0000 (18:34 +0000)]
numeric_members.cc (_M_initialize_numpunct): Avoid unnecessarily zero terminating _M_atoms_out and _M_atoms_in...
2004-01-04 Paolo Carlini <pcarlini@suse.de>
* config/locale/generic/numeric_members.cc (_M_initialize_numpunct):
Avoid unnecessarily zero terminating _M_atoms_out and _M_atoms_in;
always use double underscored names.
* config/locale/gnu/numeric_members.cc (_M_initialize_numpunct):
Likewise.
* include/bits/locale_facets.h (struct __numpunct_cache):
Dimension _M_atoms_out and _M_atoms_in one position smaller.
(__numpunct_cache<>::_M_cache): Don't zero terminate _M_atoms_out
and _M_atoms_in.
From-SVN: r75393
Jan Hubicka [Sun, 4 Jan 2004 14:39:13 +0000 (15:39 +0100)]
Makefile.in (cgraph.o, [...]): Add intl.h dependency.
* Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
* cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
* cgraph.h (cgraph_edge): Replace inline_call by inline_failed
(cgraph_inline_p): Add extra argument reason.
* cgraphunit.c: Minor formating fixes.
cgraph_first_inlined_callee): New functions.
(record_call_1): Record builtins too.
(cgraph_analyze_function): Update inline_failed messages.
(cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
(cgraph_check_inline_limits): Likewise; Add argument reason.
(cgraph_set_inline_failed): New static function.
(cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
reasons.
(cgraph_inline_p): Add new argument reason.
* tree-inline.c (expand_call_inline): Update warning.
From-SVN: r75391
Eric Botcazou [Sun, 4 Jan 2004 14:05:52 +0000 (15:05 +0100)]
MAINTAINERS: Move myself from 'Write After Approval' to 'CPU Port Maintainers' section as...
* MAINTAINERS: Move myself from 'Write After Approval' to
'CPU Port Maintainers' section as SPARC maintainer.
From-SVN: r75387
Matthias Klose [Sun, 4 Jan 2004 09:18:06 +0000 (09:18 +0000)]
aclocal.m4: Rebuilt using "aclocal -I .".
2004-01-04 Matthias Klose <doko@debian.org>
* aclocal.m4: Rebuilt using "aclocal -I .".
* configure: Rebuilt.
From-SVN: r75383
Per Bothner [Sun, 4 Jan 2004 00:32:50 +0000 (16:32 -0800)]
Date.java (parse): Fix a number of problems.
* java/util/Date.java (parse): Fix a number of problems.
(skipParens): Remove no-longer-needed method.
From-SVN: r75381
GCC Administrator [Sun, 4 Jan 2004 00:16:08 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r75378
Joseph Myers [Sat, 3 Jan 2004 21:16:13 +0000 (21:16 +0000)]
update_web_docs: Create tarballs of documentation sources and HTML docs.
* update_web_docs: Create tarballs of documentation sources and
HTML docs.
From-SVN: r75372
Steven Bosscher [Sat, 3 Jan 2004 19:58:40 +0000 (19:58 +0000)]
Fix messed up accidental commit.
From-SVN: r75368
Andrew Pinski [Sat, 3 Jan 2004 19:55:35 +0000 (19:55 +0000)]
gcc_update (files_and_dependencies): For gcc directory, rename configure.in to configure.ac.
2004-01-03 Andrew Pinski <pinskia@physics.uc.edu>
* gcc_update (files_and_dependencies): For gcc directory,
rename configure.in to configure.ac.
From-SVN: r75367
Nathanael Nerode [Sat, 3 Jan 2004 19:04:34 +0000 (19:04 +0000)]
configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM with modern equivalents.
* configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
with modern equivalents.
* configure: Regenerate.
From-SVN: r75366
Nathanael Nerode [Sat, 3 Jan 2004 19:01:09 +0000 (19:01 +0000)]
Missed in last commit:
* configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
* aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
* configure: Regenerate.
From-SVN: r75365
Nathanael Nerode [Sat, 3 Jan 2004 18:59:32 +0000 (18:59 +0000)]
configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
* configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
* aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
* configure: Regenerate.
From-SVN: r75364
Nathanael Nerode [Sat, 3 Jan 2004 18:55:26 +0000 (18:55 +0000)]
* doc/install.texi: Note that 'gcc' is now a 2.57 directory.
From-SVN: r75363
Nathanael Nerode [Sat, 3 Jan 2004 18:52:58 +0000 (18:52 +0000)]
configure.in: Rename to configure.ac.
* configure.in: Rename to configure.ac.
* configure.ac: Renamed from configure.in; make minimum necessary
changes for autoconf 2.5x.
* aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
* configure: Regenerate with autoconf 2.57.
From-SVN: r75362
Kazu Hirata [Sat, 3 Jan 2004 18:33:14 +0000 (18:33 +0000)]
linux.h: Fix comment formatting.
* config/mips/linux.h: Fix comment formatting.
* config/mips/mips.c: Likewise.
* config/mips/mips.h: Likewise.
* config/mips/mips.md: Likewise.
* config/mips/netbsd.h: Likewise.
* config/mips/windiss.h: Likewise.
From-SVN: r75361
Nathanael Nerode [Sat, 3 Jan 2004 18:29:57 +0000 (18:29 +0000)]
Makefile.tpl: Make GCC use a separate config.cache.
* Makefile.tpl: Make GCC use a separate config.cache.
* Makefile.in: Regenerate.
From-SVN: r75360
Nathanael Nerode [Sat, 3 Jan 2004 18:23:22 +0000 (18:23 +0000)]
PR bootstrap/11932, PR bootstrap/11933
PR bootstrap/11932, PR bootstrap/11933
(I don't know if it will fix either of them, but it relates
to them.)
* configure.in: Don't use shared config.cache for target
directories.
* configure: Regenerate.
From-SVN: r75359
Kriang Lerdsuwanakij [Sat, 3 Jan 2004 08:25:38 +0000 (08:25 +0000)]
parser.c (cp_parser_template_argument): Don't call make_unbound_class_template directly.
* parser.c (cp_parser_template_argument): Don't call
make_unbound_class_template directly.
(cp_parser_lookup_name): Don't extract TEMPLATE_DECL from
UNBOUND_CLASS_TEMPLATE tree node.
From-SVN: r75356
Dan Nicolaescu [Sat, 3 Jan 2004 01:52:03 +0000 (01:52 +0000)]
*** empty log message ***
From-SVN: r75353
Richard Henderson [Sat, 3 Jan 2004 00:40:31 +0000 (16:40 -0800)]
i386.md (fp constant pool splitter): Reorg suppression for sse and 387; add suppression for mmx.
* config/i386/i386.md (fp constant pool splitter): Reorg suppression
for sse and 387; add suppression for mmx.
From-SVN: r75349
GCC Administrator [Sat, 3 Jan 2004 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r75344
Andrew Pinski [Fri, 2 Jan 2004 23:14:41 +0000 (23:14 +0000)]
loop.c (loop_optimize): Free all loops_info's mems.
2004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
* loop.c (loop_optimize): Free all loops_info's mems.
From-SVN: r75339
Andrew Pinski [Fri, 2 Jan 2004 22:44:27 +0000 (14:44 -0800)]
Update forgotten updated copy right years.
From-SVN: r75338
Andrew Pinski [Fri, 2 Jan 2004 22:42:31 +0000 (22:42 +0000)]
c-typeck.c (finish_init): Free spelling_base before setting it again.
2004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
* c-typeck.c (finish_init): Free spelling_base before
setting it again.
* cfgloop.c (flow_loops_find): Always free the sbitmap
headers.
* predict.c (estimate_probability): Free bbs after being
done with it.
From-SVN: r75337
Ian Lance Taylor [Fri, 2 Jan 2004 20:33:55 +0000 (20:33 +0000)]
cp-demangle.c (d_encoding): When DMGL_PARAMS is not set...
* cp-demangle.c (d_encoding): When DMGL_PARAMS is not set, strip
CV-qualifiers from D_COMP_LOCAL_NAME right subtree.
* cplus-dem.c (demangle_arm_hp_template): Set DMGL_PARAMS when
demangling template parameters.
* testsuite/test-demangle.c (fail): New static function.
(main): Support new options in input file: --no-params,
--is-v3-ctor, and --is-v3-dtor.
* testsuite/demangle-expected: Add --no-params to most tests, and
add the correct result when parameters are not demangled. Add
some simple tests for V3 constructor/destructor recognition.
From-SVN: r75336
Kazu Hirata [Fri, 2 Jan 2004 18:23:10 +0000 (18:23 +0000)]
mn10300.h (PREDICATE_CODES): Add const_8bit_operand and call_address_operand.
* config/mn10300/mn10300.h (PREDICATE_CODES): Add
const_8bit_operand and call_address_operand.
From-SVN: r75334
Jan Hubicka [Fri, 2 Jan 2004 18:06:16 +0000 (19:06 +0100)]
cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls when there is nothing to inline but warnings are...
* cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls
when there is nothing to inline but warnings are requested.
(cgraph_decide_inlining): Fix memory leak.
From-SVN: r75333
Kazu Hirata [Fri, 2 Jan 2004 17:57:54 +0000 (17:57 +0000)]
Add Steven's entry.
From-SVN: r75331
Kazu Hirata [Fri, 2 Jan 2004 17:51:13 +0000 (17:51 +0000)]
Add a missing ChangeLog entry.
From-SVN: r75330
Kazu Hirata [Fri, 2 Jan 2004 17:42:05 +0000 (17:42 +0000)]
Add a missing ChangeLog entry.
From-SVN: r75329
Jan Hubicka [Fri, 2 Jan 2004 16:13:14 +0000 (17:13 +0100)]
* expr.c (store_constructor): Fix pasto in previous patch.
From-SVN: r75327
Richard Sandiford [Fri, 2 Jan 2004 15:57:16 +0000 (15:57 +0000)]
Add 2004 to copyright after last commit.
From-SVN: r75326
Richard Sandiford [Fri, 2 Jan 2004 15:54:08 +0000 (15:54 +0000)]
re PR c++/12729 (mipsisa64-elf regressions: g++.old-deja/g++.jason/thunk1.C, thunk2.C)
PR target/12729
* method.c (use_thunk): Pass the CALL_EXPR through force_target_expr.
From-SVN: r75325
Kazu Hirata [Fri, 2 Jan 2004 15:30:43 +0000 (15:30 +0000)]
cygming.h: Fix comment formatting.
* config/i386/cygming.h: Fix comment formatting.
* config/i386/djgpp.h: Likewise.
* config/i386/gthr-win32.c: Likewise.
* config/i386/i386-interix.h: Likewise.
* config/i386/i386.c: Likewise.
* config/i386/i386.h: Likewise.
* config/i386/openbsd.h: Likewise.
* config/i386/winnt.c: Likewise.
* config/i386/xm-mingw32.h: Likewise.
From-SVN: r75324
Kriang Lerdsuwanakij [Fri, 2 Jan 2004 11:41:51 +0000 (11:41 +0000)]
re PR c++/13520 (gcc crashes with inheritance + default template parameter of nested template type)
PR c++/13520
* cp-tree.h (DECL_UNBOUND_CLASS_TEMPLATE_P): New macro.
(DECL_FUNCTION_TEMPLATE_P): Use it.
(DECL_CLASS_TEMPLATE_P): Likewise.
* parser.c (cp_parser_lookup_name): Add is_template parameter.
(cp_parser_type_parameter): Adjust call to cp_parser_lookup_name.
(cp_parser_template_name): Likewise.
(cp_parser_elaborated_type_specifier): Likewise.
(cp_parser_namespace_name): Likewise.
(cp_parser_class_name): Likewise.
(cp_parser_lookup_name_simple): Likewise.
* g++.dg/template/qualttp22.C: New test.
From-SVN: r75321
Joseph Myers [Fri, 2 Jan 2004 10:58:43 +0000 (10:58 +0000)]
gcc.texi, [...]: Update copyright and last modification dates.
* doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
copyright and last modification dates.
From-SVN: r75319
Andreas Jaeger [Fri, 2 Jan 2004 09:42:10 +0000 (10:42 +0100)]
install.texi (Specific): Mention x86_64.
2004-01-02 Andreas Jaeger <aj@suse.de>, Gerald Pfeifer <gp@suse.de>
* doc/install.texi (Specific): Mention x86_64.
From-SVN: r75317
Gerald Pfeifer [Fri, 2 Jan 2004 08:36:59 +0000 (08:36 +0000)]
update_version: Add some documentation.
* update_version: Add some documentation.
* update_version (ADD_BRANCHES): Add lno-branch.
From-SVN: r75316