1. 23 Apr, 2004 18 commits
    • re PR c++/15064 (typeid of template parameter gives ICE) · 4424e0da
      	PR c++/15064
      	* parser.c (cp_parser_postfix_expression): typeid operator cannot be
      	used in integral constant expressions.
      
      	PR c++/15064
      	* g++.dg/template/crash18.C: New test.
      
      From-SVN: r81088
      Giovanni Bajo committed
    • * Make-lang.in (GNATBIND_OBJS): Add s-addope.o. · d0fd1344
      From-SVN: r81087
      Rainer Orth committed
    • [multiple changes] · cc4f0de1
      2004-04-23  Emmanuel Briot  <briot@act-europe.fr>
      
      	* adaint.c (__gnat_try_lock): No longer requires that the parent
      	directory be writable, the directory itself is enough.
      	(gnat_is_absolute_path): Change profile, so that the call from
      	GNAT.OS_Lib can be made more efficient.
      
      	* adaint.h (gnat_is_absolute_path): Change profile, so that the call
      	from GNAT.OS_Lib can be made more efficient.
      
      	* g-os_lib.adb (Is_Absolute_Path): More efficient implementation, avoid
      	one copy of the file name. Found by code reading.
      
      2004-04-23  Vincent Celier  <celier@gnat.com>
      
      	* gnat_ugn.texi: Add documentation for gnatmake switch -eL
      	Correct documentation on gnatmake switches transmitted to the compiler
      
      	* ali.ads: Minor comment fix
      
      2004-04-23  Javier Miranda  <miranda@gnat.com>
      
      	* sem_ch6.adb: (Confirming Types): Code cleanup
      
      	* decl.c (gnat_to_gnu_entity): Give support to anonymous access to
      	subprogram types: E_Anonymous_Access_Subprogram_Type and
      	E_Anonymous_Access_Protected_Subprogram_Type.
      
      2004-04-23  Thomas Quinot  <quinot@act-europe.fr>
      
      	* sem_dist.adb: Add a new paramter to the RAS_Access TSS indicating
      	whether a pragma All_Calls_Remote applies to the subprogram on which
      	'Access is taken.
      	No functional change is introduced by this revision; the new parameter
      	will be used to allow calls to local RCI subprograms to be optimized
      	to not use the PCS in the case where no pragma All_Calls_Remote applies,
      	as is already done in the PolyORB implementation of the DSA.
      
      	* exp_dist.adb: Add a new paramter to the RAS_Access TSS indicating
      	whether a pragma All_Calls_Remote applies to the subprogram on which
      	'Access is taken.
      	No functional change is introduced by this revision; the new parameter
      	will be used to allow calls to local RCI subprograms to be optimized
      	to not use the PCS in the case where no pragma All_Calls_Remote applies,
      	as is already done in the PolyORB implementation of the DSA.
      
      2004-04-23  Robert Dewar  <dewar@gnat.com>
      
      	* Makefile.rtl: Add entry for s-addope.o in run time library list
      	* Make-lang.in: Add entry for s-addope.o to GNAT1 objects
      	* s-addope.ads, s-addope.adb: New files.
      
      	* s-carsi8.adb, s-carun8.adb, s-casi16.adb, s-casi32.adb,
      	s-casi64.adb, s-caun16.adb, s-caun32.adb, s-caun64.adb,
      	s-finimp.adb, s-geveop.adb, s-stoele.adb: Modifications to allow
      	System.Address to be non-private and signed.
      
      	* sem_elim.adb: Minor reformatting (fairly extensive)
      	Some minor code reorganization from code reading
      	Add a couple of ??? comments
      
      2004-04-23  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
      
      	* trans.c (tree_transform, build_unit_elab): Don't call getdecls.
              (tree_transform, case N_If_Statement): Remove non-determinism.
      
      	* utils.c (begin_subprog_body): Just set DECL_CONTEXT in PARM_DECL.
      
      2004-04-23  Sergey Rybin  <rybin@act-europe.fr>
      
      	* gnat_rm.texi: Small fixes in the changes made in the 'pragma
      	Eliminate' section.
      
      	* snames.ads, snames.adb: Remove Name_Homonym_Number (Homonym_Number is
      	no longer used as a parameter name for Eliminate pragma).
      
      From-SVN: r81086
      Arnaud Charlet committed
    • MAINTAINERS: Update my email address. · 082a6351
      2004-04-23  Laurent GUERBY <laurent@guerby.net>
      
      	* MAINTAINERS: Update my email address.
      
      From-SVN: r81085
      Laurent GUERBY committed
    • invoke.texi (Optimize Options): Refer to "unit-at-a-time mode" rather than… · 7797ff53
      invoke.texi (Optimize Options): Refer to "unit-at-a-time mode" rather than "-funit-at-a-time" since -O2 enables...
      
      2004-04-23  Paolo Bonzini  <bonzini@gnu.org>
      
      	* doc/invoke.texi (Optimize Options): Refer to "unit-at-a-time
      	mode" rather than "-funit-at-a-time" since -O2 enables it
      	without requiring -f* options.	Refer to -fprofile-generate and
      	-fprofile-use correctly.  Move -funit-at-a-time among options
      	enabled by -O.	Add information about unit-at-a-time caveats.
      
      From-SVN: r81082
      Paolo Bonzini committed
    • DriverManager.java: Cleaned up imports. · b4e7ef8d
      2004-04-23 Dalibor Topic <robilad@kaffe.org>
      
      	* java/sql/DriverManager.java:
      	Cleaned up imports.
      
      From-SVN: r81081
      Dalibor Topic committed
    • 2004-04-23 Michael Koch <konqueror@gmx.de> · e9d34968
      	* java/net/URL.java
      	(hashcode): Don't initialize with default value explicitely.
      	(getContent): Removed redundant "final" keyword.
      	(openStream): Likewise.
      	(getURLStreamHandler): Fixed coding style.
      	* java/net/URLConnection.java
      	(defaultAllowUserInteraction): Don't initialize with default value
      	explicitely.
      	(connected): Likewise.
      	(doOutput): Likewise.
      	(ifModifiedSince): Likewise.
      	(dateformats_initialized): Likewise.
      	(setURLStreamHander): Use StreamTokenizer where it belongs to.
      
      From-SVN: r81080
      Michael Koch committed
    • 2004-04-23 Michael Koch <konqueror@gmx.de> · 87939d70
      	* gnu/java/nio/channels/FileChannelImpl.java
      	(SET, CUR): Unused, removed.
      	(read): Implement here directly.
      	(implRead): Removed.
      	(write): Implement here directly.
      	(implWrite): Removed.
      
      From-SVN: r81079
      Michael Koch committed
    • PortableRemoteObjectDelegate.java, [...]: Cleaned up imports. · 5d837a58
      2004-04-23  Dalibor Topic  <robilad@kaffe.org>
      
      	* javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
      	javax/rmi/CORBA/Stub.java,
      	javax/rmi/CORBA/Util.java,
      	javax/rmi/CORBA/ValueHandler.java,
      	javax/rmi/CORBA/ValueHandler.java,
      	javax/rmi/PortableRemoteObject.java:
      	Cleaned up imports.
      
      From-SVN: r81078
      Dalibor Topic committed
    • [multiple changes] · ace7ed7c
      2004-04-23 Dalibor Topic <robilad@kaffe.org>
      
      	* java/util/jar/JarFile.java,
      	java/util/jar/JarInputStream.java,
      	java/util/jar/JarOutputStream.java,
      	java/util/jar/Manifest.java:
      	Cleaned up imports.
      
      2004-04-23 Dalibor Topic <robilad@kaffe.org>
      
      	* java/util/ArrayList.java,
      	java/util/Calendar.java,
      	java/util/Currency.java,
      	java/util/HashMap.java,
      	java/util/HashSet.java,
      	java/util/Hashtable.java,
      	java/util/LinkedList.java,
      	java/util/Properties.java,
      	java/util/PropertyPermission.java,
      	java/util/TimeZone.java,
      	java/util/TreeMap.java,
      	java/util/TreeSet.java,
      	java/util/Vector.java,
      	java/util/WeakHashMap.java:
      	Cleaned up imports.
      
      2004-04-23  Dalibor Topic  <robilad@kaffe.org>
      
      	* java/util/logging/FileHandler.java,
      	java/util/logging/Formatter.java,
      	java/util/logging/Handler.java,
      	java/util/logging/Logger.java,
      	java/util/logging/SimpleFormatter.java,
      	java/util/logging/XMLFormatter.java:
      	Cleaned up imports.
      
      From-SVN: r81077
      Dalibor Topic committed
    • re PR rtl-optimization/14984 (bootstrap binary compare differs for Ada object files on darwin) · 78bad775
      2004-04-22  Laurent GUERBY <laurent@guerby.net>
      
      	PR optimization/14984
      	PR optimization/14985
      	* trans.c (gigi): Fix non determinism leading to bootstrap
      	comparison failures.
      
      From-SVN: r81076
      Laurent GUERBY committed
    • Add Mostafa to entry of my previous commit. · bdabb153
      From-SVN: r81075
      Jan Hubicka committed
    • line-map.h (struct line_maps): New field highest_line. · 500bee0a
      
      	* line-map.h (struct line_maps):  New field highest_line.
      	(linemap_position_for_column):  Make non-inline function.
      	(LINEMAP_POSITION_FOR_COLUMN):  New macro.
      	* line-map.c (linemap_init):  Clear highest_line field.
      	(linemap_add):  Set highest_line field.
      	(linemap_line_start):  Minor optimization - use highest_line field.
      	Reduce maximum column hint to 10000.  Update highest_line field.
      	(linemap_position_for_column):  Moved from line-map.h.  Optimize a bit.
      	* cpphash.h (struct cpp_reader):  Remove line field - instead use
      	line_table->highest_line.
      	(saved_line):  Remove unused field.
      	(CPP_INCREMENT_FILE):  Don't do linemap_lookup - just use newest map.
      	Use  line_table's highest_line field instead of cpp_reader's line.
      	* cpplib.c (start_directive):  Likewise use highest_line field.
      	(do_line, do_linemarker):  Likewise just use newest map.
      	(_cpp_do_file_change):  Don't need to set cpp_reader's line field.
      	* cpperror.c (cpp_error):  Likewise use highest_line field.
      	* cppfiles.c (open_file_failed:  Likewise.
      	(cpp_make_system_header):  Likewise use newest map and highest_line.
      	* cppinit.c (cpp_create_reader):  Don't initialize removed field.
      	* cpplex.c (_cpp_process_line_notes, _cpp_skip_block_comment,
      	skip_line_comment, skip_whitespace, _cpp_get_fresh_line,
      	_cpp_lex_direct):  Likewise use highest_line.
      	(_cpp_lex_direct):  Use new LINEMAP_POSITION_FOR_COLUMN macro.
      	* cppmacro.c (_cpp_builtin_macro_text):  Likewise use highest_line,
      	and use newest map.
      	* cpppch.c (cpp_read_state):  Don't save+restore cpp_reader's line.
      	* cpptrad.c (_cpp_overlay_buffer):  Don't save cpp_reader's line.
      	(copy_comment, _cpp_scan_out_logical_line):  Likewise use highest_line.
      
      From-SVN: r81074
      Per Bothner committed
    • add pr number to last commit · 9344fdb9
      From-SVN: r81073
      Alan Modra committed
    • gcc.c (init_gcc_specs): Test USE_LD_AS_NEEDED, not HAVE_LD_AS_NEEDED. · 8efcd34f
      	* gcc.c (init_gcc_specs): Test USE_LD_AS_NEEDED, not HAVE_LD_AS_NEEDED.
      	* config/linux.h (USE_LD_AS_NEEDED): Define.
      	* gcc/config/alpha/linux.h (USE_LD_AS_NEEDED): Define.
      	* gcc/config/arm/linux-elf.h (USE_LD_AS_NEEDED): Define.
      	* gcc/config/rs6000/linux.h (USE_LD_AS_NEEDED): Define.
      	* gcc/config/rs6000/linux64.h (USE_LD_AS_NEEDED): Define.
      	* gcc/config/sh/linux.h (USE_LD_AS_NEEDED): Define.
      	* gcc/config/sparc/linux.h (USE_LD_AS_NEEDED): Define.
      	* gcc/config/sparc/linux64.h (USE_LD_AS_NEEDED): Define.
      
      From-SVN: r81072
      Alan Modra committed
    • re PR preprocessor/15067 (Minor glitch in the source of cpp.) · 3092d0fc
      
      	* cppinit.c (cpp_read_main_file):  Return NULL rather than false.
      	Fixes PR preprocessor/15067.
      
      From-SVN: r81068
      Per Bothner committed
    • init.c (build_aggr_init): Fix accidental use of C99 construct in previous change. · 671cb993
      	* init.c (build_aggr_init): Fix accidental use of C99 construct in
      	previous change.
      
      From-SVN: r81067
      Mark Mitchell committed
    • Daily bump. · 08a21bfd
      From-SVN: r81063
      GCC Administrator committed
  2. 22 Apr, 2004 22 commits