Jason Merrill
6cce57b0d0
c-common.c (finish_fname_decls): Put the DECL_STMTs inside the outermost scope.
...
* c-common.c (finish_fname_decls): Put the DECL_STMTs inside the
outermost scope.
* c-decl.c (c_make_fname_decl): Push the decls there, too.
cp/
* decl.c (cp_make_fname_decl): Push the decls inside the
outermost scope.
From-SVN: r60848
2003-01-03 14:29:51 -05:00
Joerg Brunsmann
9c91c80bb7
Connection.java (proxyPort, [...]): New static fields.
...
2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
* gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
proxyHost): New static fields.
(<clinit>): Initialize new fields.
(connect): Use proxy if necessary.
(usingProxy): Implement.
From-SVN: r60846
2003-01-03 18:05:00 +00:00
Tom Tromey
0320cac3d8
gcj.texi (Standard Properties): Document http.proxyHost and http.proxyPort.
...
* gcj.texi (Standard Properties): Document http.proxyHost and
http.proxyPort.
From-SVN: r60844
2003-01-03 18:04:25 +00:00
Tom Tromey
60db58b266
* gcj.texi (GNU Classpath Properties): Document new properties.
...
From-SVN: r60840
2003-01-03 17:33:20 +00:00
Nathan Sidwell
317583376d
PR c++/45, c++/3784
...
cp:
PR c++/45, c++/3784
* tree.c (cp_tree_equal, TEMPLATE_PARM_INDEX): The types must be
the same too.
testsuite:
* g++.dg/template/ntp2.C: New test.
From-SVN: r60839
2003-01-03 17:21:14 +00:00
Eric Blake
29456fb870
TreeMap.java (fabricateTree): Fix off-by-one error.
...
2003-01-03 Eric Blake <ebb9@email.byu.edu>
* java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
(TreeIterator.remove): Prefer IllegalStateException over
ConcurrentModificationException, to match Sun.
From-SVN: r60837
2003-01-03 17:00:03 +00:00
Kazu Hirata
e392d36793
h8300-protos.h: Add a prototype for h8300_current_function_interrupt_function_p.
...
* config/h8300/h8300-protos.h: Add a prototype for
h8300_current_function_interrupt_function_p.
* config/h8300/h8300.c (interrupt_handler): Remove.
(os_task): Likewise.
(monitor): Likewise.
(pragma_interrupt): New.
(WORD_REG_USED): Use
h8300_current_function_interrupt_function_p.
(dosize): Likewise.
(h8300_output_function_prologue): Likewise.
Do not set interrupt_handler, os_task, monitor.
(h8300_output_function_prologue): Use
h8300_current_function_interrupt_function_p.
Do not set interrupt_handler, os_task, monitor.
(h8300_current_function_interrupt_function_p): New.
(h8300_pr_interrupt): Set pragma_interrupt.
(h8300_insert_attributes): Reset pragma_interrupt.
From-SVN: r60836
2003-01-03 16:44:55 +00:00
Jason Merrill
d3974db05a
fix comment spello
...
From-SVN: r60835
2003-01-03 11:41:23 -05:00
Anthony Green
7125beea7a
boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
...
2002-12-22 Anthony Green <green@redhat.com>
* boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
From-SVN: r60834
2003-01-03 16:34:37 +00:00
Nathanael Nerode
1ff11883e4
* g++.dg/parse/extern-C-1.C: New test.
...
From-SVN: r60833
2003-01-03 16:07:26 +00:00
Nathanael Nerode
96dafad6fc
* g++.dg/parse/namespace4.C: New test.
...
From-SVN: r60832
2003-01-03 15:50:11 +00:00
Nathanael Nerode
a25a292fa7
* g++.dg/template/nested1.C: New test.
...
From-SVN: r60831
2003-01-03 15:29:44 +00:00
Nathanael Nerode
ba7e8dc048
* g++.dg/parse/namespace3.C: New test.
...
From-SVN: r60828
2003-01-03 12:52:34 +00:00
Gerald Pfeifer
b15da5b700
install.texi (Configuration): Fix markup for reference to gcc/config.gcc.
...
* doc/install.texi (Configuration): Fix markup for reference to
gcc/config.gcc.
From-SVN: r60826
2003-01-03 10:16:30 +00:00
GCC Administrator
d82f74dca1
Daily bump.
...
From-SVN: r60825
2003-01-03 08:19:49 +00:00
Kaveh R. Ghazi
029d882c14
gcc_update (files_and_dependencies): Add gcc/cp/cfns.h depends on gcc/cp/cfns.gperf and gcc/java/keyword.h depends...
...
* gcc_update (files_and_dependencies): Add gcc/cp/cfns.h depends
on gcc/cp/cfns.gperf and gcc/java/keyword.h depends on
gcc/java/keyword.gperf
From-SVN: r60817
2003-01-03 06:05:11 +00:00
Nathanael Nerode
4dbc1f5c95
* g++.dg/lookup/two-stage1.C: New test.
...
From-SVN: r60814
2003-01-03 02:13:46 +00:00
Graham Stott
24c0ef372c
parser.c (struct cp_parser): Add access_checks_lists field
...
* parser.c (struct cp_parser): Add access_checks_lists field
(cp_parser_simple_declaration): Use.
(cp_parser_init_declarator): Likewise.
From-SVN: r60813
2003-01-03 02:11:55 +00:00
Kaveh R. Ghazi
7241bd1b01
900404_04.C: Remove XFAIL.
...
* g++.old-deja/g++.bugs/900404_04.C: Remove XFAIL.
* g++.old-deja/g++.jason/access8.C: Likewise.
* g++.old-deja/g++.other/decl5.C: Likewise.
From-SVN: r60811
2003-01-03 01:44:30 +00:00
Mark Wielaard
3e0cb4ff7c
HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be public.
...
* java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
public.
(HTTP_USE_PROXY): Add field.
(getResponseVals): Only set responseCode when not yet explicitly
set by subclass.
From-SVN: r60809
2003-01-03 00:49:31 +00:00
Jason Merrill
e55393db34
atomicity.h (__exchange_and_add, [...]): *__mem is also an output.
...
* config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
*__mem is also an output.
* config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.
From-SVN: r60807
2003-01-02 17:48:21 -05:00
Neil Booth
6ec6e2c297
* g++.dg/parse/parse7.C: New test.
...
From-SVN: r60805
2003-01-02 21:06:38 +00:00
Artur Biesiadowski
1a82c94bde
ZipFile.java (entries): Now HashMap.
...
* java/util/zip/ZipFile.java (entries): Now HashMap.
(readLeShort(DataInput, byte[])): Read from given byte array.
(readLeInt(DataInput, byte[]): Likewise.
(readLeShort(byte[] b, int off)): New method.
(readLeInt(byte[] b, int off)): Likewise.
(readEntries): Use byte arrays to read info in bigger chunks.
(getEntries): Return HashMap.
(getEntry): Use HashMap.
(locBuf): New private field.
(checkLocalHeader): Use locBuf to read info in one chunk.
(getInputStream): Use entries HashMap, wrap PartialInputStream
in BufferedInputStream.
(ZipEntryEnumeration): Use HashMap and Interator.
Co-Authored-By: Mark Wielaard <mark@klomp.org>
From-SVN: r60803
2003-01-02 21:01:24 +00:00
Mark Mitchell
1092805d38
parser.c (cp_parser_declaration): Accept the __extension__ keyword before the declaration.
...
* parser.c (cp_parser_declaration): Accept the __extension__
keyword before the declaration.
From-SVN: r60802
2003-01-02 20:30:45 +00:00
Mark Mitchell
4971227d25
re PR c++/2843 (parser: __attribute__ on parameter declarations)
...
PR c++/2843
* parser.c (cp_parser_parameter_declaration): Allow attributes to
appear after the declarator.
PR c++/2843
* g++.dg/ext/attrib7.C: New test.
From-SVN: r60801
2003-01-02 20:04:56 +00:00
Mark Mitchell
5e8a153a54
call.c (build_new_method_call): Fix typo in message format string.
...
* call.c (build_new_method_call): Fix typo in message format
string.
From-SVN: r60800
2003-01-02 19:57:34 +00:00
Mark Mitchell
f7b5ecd97a
parser.c (cp_lexer_next_token_is): Declare it inline.
...
* parser.c (cp_lexer_next_token_is): Declare it inline.
(cp_lexer_set_source_position_from_token): Likewise.
(cp_lexer_debugging_p): Likewise.
(cp_parser_parsing_tentatively): Likewise.
(cp_parser_nested_name_specifier_opt): Reduce the number of calls
to the cp_lexer_peek_token.
From-SVN: r60797
2003-01-02 19:45:12 +00:00
Neil Booth
f349fb24ba
* g++.dg/parse/parse6.C: New test.
...
From-SVN: r60795
2003-01-02 19:27:31 +00:00
Kazu Hirata
bf16e74582
h8300.md (*iorhi3_zext): Relax the condition.
...
* config/h8300/h8300.md (*iorhi3_zext): Relax the condition.
(*iorhi3_two_qi): Likewise.
(*iorsi3_zexthi): Likewise.
(*xorhi3_zextqi): Likewise.
(*xorsi3_zexthi): Likewise.
(*xorsi3_zextqi): Likewise.
From-SVN: r60793
2003-01-02 18:53:35 +00:00
Mark Mitchell
3beb3abf1d
parser.c (cp_parser_sizeof_operand): Do not evaluate the expression.
...
* parser.c (cp_parser_sizeof_operand): Do not evaluate the
expression.
From-SVN: r60791
2003-01-02 18:12:28 +00:00
Kazu Hirata
cb203576cf
* gcc.dg/h8300-stack-1.c: New.
...
From-SVN: r60785
2003-01-02 15:01:14 +00:00
Kazu Hirata
8ccf5d5fe8
h8300.c (stack_pointer_operand): New.
...
* config/h8300/h8300.c (stack_pointer_operand): New.
(const_int_gt_2_operand): Likewise.
(const_int_ge_8_operand): Likewise.
* config/h8300/h8300.md (a splitter): Likewise.
(a peephole2): Likewise.
* config/h8300/h8300-protos.h: Add prototypes for the new
functions above.
From-SVN: r60784
2003-01-02 14:59:30 +00:00
Steven Bosscher
43c6a96ab2
except.c, [...]: Fix Copyright years.
...
2003-01-02 Steven Bosscher <s.bosscher@student.tudelft.nl>
* cp/except.c, cp/expr.c, cp/friend.c, cp/g++spec.c,
cp/lang-options.h, cp/lang-specs.h, cp/lex.h,
cp/ptree.c, cp/repo.c,
java/jcf-reader.c, java/jvgenmain.c,
java/keyword.gperf, java/lang-options.h,
java/mangle.c, java/mangle_name.c,
java/xref.c, java/zextract.c,java/zipfile.h,
objc/Make-lang.in, objc/config-lang.in,
objc/lang-specs.h, objc/objc-act.h: Fix
Copyright years.
From-SVN: r60783
2003-01-02 12:39:56 +01:00
Steven Bosscher
96c4e78038
* doc/passes.texi: Fix documentation for -fssa-ccp
...
From-SVN: r60782
2003-01-02 10:30:43 +00:00
Mark Wielaard
27c687cc5b
URLClassLoader.java (Resource.getCodeSource): Fix check certs == null.
...
* java/net/URLClassLoader.java (Resource.getCodeSource):
Fix check certs == null.
(getCanonicalFileURL): Removed method.
(JarURLLoader): Don't call removed method.
(FileURLLoader): Likewise.
(FileURLLoader.getResource): Don't canonicalize file name.
Co-Authored-By: Jeroen Frijters <jeroen@sumatra.nl>
From-SVN: r60780
2003-01-02 09:34:34 +00:00
GCC Administrator
3006ff7f46
Daily bump.
...
From-SVN: r60779
2003-01-02 08:17:22 +00:00
Neil Booth
8ed0a104f0
* gccbug.in: Update.
...
From-SVN: r60771
2003-01-02 05:10:27 +00:00
Kazu Hirata
1b9f0361fc
* config/h8300/h8300.md: Reorder some patterns.
...
From-SVN: r60770
2003-01-02 02:42:57 +00:00
Kazu Hirata
dc5f17ecee
* config/h8300/h8300.c (output_logical_op): Fix a warning.
...
From-SVN: r60769
2003-01-02 02:19:59 +00:00
Tom Tromey
62d2eed656
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
* java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
java/awt/BufferCapabilities.java, java/awt/Button.java,
java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
java/awt/Container.java, java/awt/Cursor.java,
java/awt/EventQueue.java, java/awt/FileDialog.java,
java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
java/awt/MenuBar.java, java/awt/MenuComponent.java,
java/awt/PopupMenu.java, java/awt/ScrollPane.java,
java/awt/Scrollbar.java, java/awt/TextArea.java,
java/awt/TextField.java, java/awt/color/CMMException.java,
java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
java/awt/color/ProfileDataException.java,
java/awt/datatransfer/Clipboard.java,
java/awt/datatransfer/DataFlavor.java,
java/awt/datatransfer/FlavorMap.java,
java/awt/datatransfer/SystemFlavorMap.java,
java/awt/dnd/DragGestureEvent.java,
java/awt/dnd/DragGestureRecognizer.java,
java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
java/awt/im/InputMethodHighlight.java,
java/io/PipedOutputStream.java, java/io/PipedWriter.java,
java/rmi/server/RMIClassLoader.java: Merged from Classpath.
* gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
`op' to BufferedImageOp.
From-SVN: r60768
2003-01-02 00:14:24 +00:00
Tom Tromey
3c32ae1c35
* libjava.compile/pr8955.java: New test, for PR java/8955.
...
From-SVN: r60764
2003-01-02 00:05:14 +00:00
Nathanael Nerode
faa75e896f
g++.dg/lookup/exception1.C: New test.
...
From-SVN: r60763
2003-01-01 21:03:50 +00:00
Neil Booth
cd2801fb0b
darwin-protos.h, [...]: Use struct, and don't conditionally compile on GCC_C_PRAGMA_H.
...
* config/darwin-protos.h, config/c4x/c4x-protos.h,
config/cris/cris-protos.h, config/i370/i370-protos.h,
config/i960/i960-protos.h, config/ia64/ia64-protos.h,
config/v850/v850-protos.h: Use struct, and don't conditionally
compile on GCC_C_PRAGMA_H.
From-SVN: r60762
2003-01-01 20:39:12 +00:00
Nathanael Nerode
3d83e33e5f
g++.dg/lookup/template1.C: New test.
...
From-SVN: r60761
2003-01-01 20:36:49 +00:00
Kazu Hirata
378b1b8ecf
arm-protos.h: Remove #ifdef GCC_C_PRAGMA_H.
...
* config/arm/arm-protos.h: Remove #ifdef GCC_C_PRAGMA_H.
* config/h8300/h8300-protos.h: Likewise.
* config/sh/sh-protos.h: Likewise.
From-SVN: r60760
2003-01-01 20:23:02 +00:00
Kazu Hirata
7106a5bcd6
arm-protos.h: Use struct cpp_reader instead of cpp_reader.
...
* config/arm/arm-protos.h: Use struct cpp_reader instead of
cpp_reader.
* config/h8300/h8300-protos.h: Likewise.
* config/sh/sh-protos.h: Likewise.
From-SVN: r60759
2003-01-01 20:15:51 +00:00
Nathanael Nerode
a5b9863ae8
g++.dg/parse/namespace2.C: New test.
...
From-SVN: r60758
2003-01-01 20:00:36 +00:00
Neil Booth
231b51a160
arm.c (arm_pr_long_calls, [...]): Use struct.
...
* config/arm/arm.c (arm_pr_long_calls, arm_pr_no_long_calls,
arm_pr_long_calls_off): Use struct.
* config/h8300/h8300.c (h8300_pr-interrupt, h8300_pr_saveall)
: Similarly.
Don't include cpplib.h.
* config/sh/sh.c (sh_pr_interrupt, sh_pr_trapa,
sh_pr_nosave_low_regs): Similarly.
From-SVN: r60757
2003-01-01 19:39:19 +00:00
Kazu Hirata
0f18b2b080
* config/h8300/h8300.c: Include cpplib.h.
...
From-SVN: r60754
2003-01-01 16:39:35 +00:00
Nathanael Nerode
894167c5fa
g++.dg/parse/parens2.C: New test.
...
From-SVN: r60753
2003-01-01 16:32:15 +00:00