Ian Lance Taylor
e45f44f3cf
Do not permit method expressions with pointers to interface types.
...
From-SVN: r171633
2011-03-28 21:35:46 +00:00
Ian Lance Taylor
8060754453
Support method expressions for interface types.
...
From-SVN: r171631
2011-03-28 21:22:08 +00:00
Ian Lance Taylor
0b3e0e9ef1
Don't bother to check for duplicate interface/named methods.
...
A named interface type can't have named methods anyhow.
From-SVN: r171630
2011-03-28 21:20:10 +00:00
Ian Lance Taylor
12e0ac3601
Fix useless assertion in ^ code.
...
From-SVN: r171619
2011-03-28 18:08:50 +00:00
Ian Lance Taylor
4e90195a62
Error for return with no values when result parameters are not named.
...
From-SVN: r171576
2011-03-27 17:52:34 +00:00
Ian Lance Taylor
15ea09a082
Improve error about indirecting an unsafe.Pointer type.
...
From-SVN: r171574
2011-03-27 16:40:24 +00:00
Ian Lance Taylor
08b4fa8a7b
Don't look up methods for pointer to interface.
...
From-SVN: r171562
2011-03-26 19:04:54 +00:00
Ian Lance Taylor
f7b8b261e7
Don't permit embedded field to be pointer to interface.
...
From-SVN: r171558
2011-03-26 18:31:36 +00:00
Ian Lance Taylor
530f4f437a
Check for invalid uses of ... in builtin function calls.
...
From-SVN: r171544
2011-03-26 06:06:36 +00:00
Ian Lance Taylor
2fbb4d751b
Better error when setting const to nil.
...
From-SVN: r171541
2011-03-26 05:45:31 +00:00
Ian Lance Taylor
e2e5c70f5c
Correctly parse select case <-c <- v.
...
From-SVN: r171540
2011-03-26 05:32:46 +00:00
Ian Lance Taylor
02ed921acb
Clean up handling of undefined types.
...
From-SVN: r171528
2011-03-25 20:42:20 +00:00
Ian Lance Taylor
7657ab90b4
Avoid overflow error after negative shift count error.
...
From-SVN: r171523
2011-03-25 19:23:10 +00:00
Ian Lance Taylor
fb4347e44d
Give an error if a label is defined but not used.
...
From-SVN: r171518
2011-03-25 17:34:44 +00:00
Ian Lance Taylor
fe052134f6
Remove closed function. Fix tuple receive in select.
...
From-SVN: r171440
2011-03-25 05:14:57 +00:00
Ian Lance Taylor
3137991dfc
Tuple receives indicate whether channel is closed.
...
From-SVN: r171380
2011-03-24 06:01:27 +00:00
Ian Lance Taylor
fd68e6ba72
Condition in if statement is not optional.
...
From-SVN: r171377
2011-03-24 00:40:21 +00:00
Ian Lance Taylor
27a19c5847
Change c <- v from an expression to a statement.
...
Don't do anything special if we don't use the value of <-c.
Fix sending an untyped constant in a select statement.
From-SVN: r171371
2011-03-24 00:01:44 +00:00
Ian Lance Taylor
5133f00ef8
Update to current version of Go library (revision 94d654be2064).
...
From-SVN: r171076
2011-03-16 23:05:44 +00:00
Ian Lance Taylor
c7e529d3bc
Support multiple init functions in a single file.
...
From-SVN: r170756
2011-03-07 21:38:46 +00:00
Ian Lance Taylor
b4ed59860a
Fix second import of package using _.
...
From-SVN: r170755
2011-03-07 21:29:46 +00:00
Ian Lance Taylor
6481a43b01
Handle predeclared names used as fields in struct composite literals.
...
From-SVN: r170754
2011-03-07 21:22:35 +00:00
Ian Lance Taylor
f7a10f0d78
Don't crash if erroneous type was not converted.
...
From-SVN: r170646
2011-03-03 06:50:32 +00:00
Ian Lance Taylor
e2e280a3e5
Don't crash on large composite literal array index.
...
From-SVN: r170645
2011-03-03 06:40:50 +00:00
Ian Lance Taylor
5a34af783a
Don't crash calling make with NaN or Infinity.
...
From-SVN: r170644
2011-03-03 06:18:55 +00:00
Ian Lance Taylor
eba4ad892b
Make sure variable type is determined when var initialized to var.
...
From-SVN: r170643
2011-03-03 04:28:25 +00:00
Ian Lance Taylor
ba6413bd18
Don't crash getting type descriptor of abstract types.
...
From-SVN: r170642
2011-03-03 04:25:47 +00:00
Ian Lance Taylor
d5a7f1a768
Don't look for methods on named pointer types.
...
From-SVN: r170640
2011-03-03 03:31:17 +00:00
Ian Lance Taylor
20532210cd
Determine call types even if first call result is not used.
...
From-SVN: r170637
2011-03-03 02:08:28 +00:00
Ian Lance Taylor
4bb9014024
Don't crash declaring a function named "_".
...
From-SVN: r170636
2011-03-03 01:48:28 +00:00
Ian Lance Taylor
86620d2d5f
Don't crash on erroneous void initializer in temporary statement.
...
From-SVN: r170635
2011-03-03 01:39:25 +00:00
Ian Lance Taylor
deed202085
Fix type of discarded send expression.
...
From-SVN: r170634
2011-03-03 01:17:34 +00:00
Ian Lance Taylor
b5ba6ad2d6
Don't crash on erroneous named result.
...
From-SVN: r170633
2011-03-03 00:54:42 +00:00
Ian Lance Taylor
8ca93ccfd2
Don't crash if a constant has a declared but undefined type.
...
From-SVN: r170632
2011-03-03 00:42:10 +00:00
Ian Lance Taylor
91349ecb12
Rewrite conversion of named types to backend representation.
...
From-SVN: r170627
2011-03-03 00:15:16 +00:00
Ian Lance Taylor
6dfef9cca7
Move ChangeLog entry to correct ChangeLog file.
...
From-SVN: r170577
2011-02-28 23:01:18 +00:00
Ian Lance Taylor
01bd5703f5
Don't delete old arguments when lowering varargs.
...
From-SVN: r170474
2011-02-24 15:42:55 +00:00
Ian Lance Taylor
0cba839e42
Traverse erroneous send/receive statements.
...
From-SVN: r170473
2011-02-24 15:18:35 +00:00
Ian Lance Taylor
bf6526a053
Don't crash when using receive on erroneous channel.
...
From-SVN: r170468
2011-02-24 13:58:51 +00:00
Ian Lance Taylor
e7f160c41d
Set type of array length expressions.
...
From-SVN: r170460
2011-02-24 05:08:26 +00:00
Ian Lance Taylor
cd34c84360
Avoid infinite loop in field_reference.
...
From-SVN: r170457
2011-02-24 04:30:34 +00:00
Ian Lance Taylor
acabc10c98
Don't crash on type switch of untyped value.
...
From-SVN: r170456
2011-02-24 04:02:33 +00:00
Ian Lance Taylor
6540ddba79
Don't crash on type switch of nil.
...
From-SVN: r170455
2011-02-24 03:53:10 +00:00
Ian Lance Taylor
d6007535e6
Handle an array of pointers to itself.
...
From-SVN: r170454
2011-02-24 03:37:57 +00:00
Ian Lance Taylor
76ace672dc
Don't crash if a map index is used outside of a function.
...
From-SVN: r170453
2011-02-24 03:01:22 +00:00
Ian Lance Taylor
63cc9deb7c
Don't crash on bad receiver when building recover thunks.
...
From-SVN: r170452
2011-02-24 02:51:00 +00:00
Ian Lance Taylor
1b4d46a696
Don't crash if a result variable redefines a parameter.
...
From-SVN: r170451
2011-02-24 02:43:21 +00:00
Ian Lance Taylor
ff72e86dfd
Don't crash looking for methods of pointer to error type.
...
From-SVN: r170431
2011-02-23 05:53:37 +00:00
Ian Lance Taylor
f315816c37
Don't crash on Sizeof of bad type.
...
From-SVN: r170430
2011-02-23 05:10:05 +00:00
Ian Lance Taylor
6d61c69874
Don't crash on erroneous type descriptor in interface conversion.
...
From-SVN: r170429
2011-02-23 05:02:40 +00:00
Ian Lance Taylor
8c88f9c957
Traverse erroneous function redefinitions.
...
From-SVN: r170428
2011-02-23 04:57:01 +00:00
Ian Lance Taylor
b68a9b10c8
Fix missing type traversals.
...
From-SVN: r170427
2011-02-23 04:54:27 +00:00
Ian Lance Taylor
e811e20965
Don't permit string index expression to have abstract types.
...
From-SVN: r170390
2011-02-22 03:44:22 +00:00
Ian Lance Taylor
5b32f0e616
Don't crash import unsafe if "unsafe" was already defined.
...
From-SVN: r170389
2011-02-22 03:23:36 +00:00
Ian Lance Taylor
d18c88a843
Don't crash on attempt to index array type expression.
...
From-SVN: r170387
2011-02-22 03:16:38 +00:00
Ian Lance Taylor
48347769a1
Don't crash on erroneous type switch.
...
From-SVN: r170386
2011-02-22 03:01:29 +00:00
Ian Lance Taylor
7b67393dff
Permit comparing non-empty interfaces with empty interfaces.
...
From-SVN: r170385
2011-02-22 02:52:55 +00:00
Ian Lance Taylor
872cbb32e0
Test shift count for overflow.
...
From-SVN: r170384
2011-02-22 02:34:18 +00:00
Ian Lance Taylor
54ba93231b
Don't crash on constant right shift.
...
From-SVN: r170307
2011-02-19 05:04:01 +00:00
Ian Lance Taylor
d128a6bbe4
Don't crash on out of range switch value.
...
From-SVN: r170305
2011-02-19 04:36:33 +00:00
Ian Lance Taylor
6f6961cf11
Remove old mechanism for passing varargs argument to varargs function.
...
From-SVN: r170304
2011-02-19 04:25:43 +00:00
Ian Lance Taylor
4a28fe2a2b
Avoid infinite loop inheriting interface methods.
...
From-SVN: r170303
2011-02-19 04:01:32 +00:00
Ian Lance Taylor
196bc4071b
Avoid dangling open function after erroneous method expression.
...
From-SVN: r170302
2011-02-19 03:37:30 +00:00
Ian Lance Taylor
1e2afadbc0
Fix struct with array of struct with field that points to first struct.
...
Don't crash converting an untyped complex constant to an integer type.
Don't crash on unsafe.Sizeof of erroneous type.
Don't crash on method expression of erroneous type.
Don't crash when sink and global var are initialized from type guard.
Don't crash initializing erroneous slice.
Don't crash on erroneous method of type seen before definition.
From-SVN: r170301
2011-02-19 03:23:22 +00:00
Ian Lance Taylor
fdd6f94b11
Don't crash on erroneous thunk call.
...
From-SVN: r170201
2011-02-15 22:37:07 +00:00
Ian Lance Taylor
158559dec9
Don't crash on interface loop with forwarding types.
...
From-SVN: r170198
2011-02-15 19:53:36 +00:00
Ian Lance Taylor
f801293452
Don't crash on defer of type conversion.
...
From-SVN: r170196
2011-02-15 19:41:29 +00:00
Ian Lance Taylor
72f812a2b5
Don't crash lowering self-referential variable initializer.
...
From-SVN: r170194
2011-02-15 19:34:33 +00:00
Ian Lance Taylor
1c4a5fc8ca
Don't let array indexes be untyped.
...
From-SVN: r170193
2011-02-15 19:06:34 +00:00
Ian Lance Taylor
8d620a1a26
Don't crash defining function in different package.
...
From-SVN: r170192
2011-02-15 18:55:01 +00:00
Ralf Wildenhues
1e26379233
Fixes to gccgo.texi.
...
gcc/:
* go/gccgo.texi (Top, Import and Export): Fix a typo and a
markup nit.
From-SVN: r170122
2011-02-14 04:42:53 +00:00
Ian Lance Taylor
942e57396b
Don't crash on if statement with erroneous conditional.
...
From-SVN: r170044
2011-02-11 06:36:50 +00:00
Ian Lance Taylor
ced2ec3b26
Don't get confused using type of erronous binary expression.
...
From-SVN: r170043
2011-02-11 06:34:57 +00:00
Ian Lance Taylor
b3a2810309
Don't crash on invalid comparison of complex constants.
...
From-SVN: r170037
2011-02-11 00:19:15 +00:00
Ian Lance Taylor
c7f4431d45
Don't crash on erroneous thunk.
...
From-SVN: r170031
2011-02-10 23:58:36 +00:00
Ian Lance Taylor
d5f3d14a42
Don't crash on redefined variable.
...
From-SVN: r170029
2011-02-10 23:38:50 +00:00
Ian Lance Taylor
8629c99851
Don't crash when referring to method other than calling it.
...
From-SVN: r170028
2011-02-10 23:07:36 +00:00
Ian Lance Taylor
6df1f72e94
Determine types in global variable preinit blocks.
...
From-SVN: r170025
2011-02-10 22:35:32 +00:00
Ian Lance Taylor
e372156c05
Don't get confused when mixing different abstract types in binary expr.
...
From-SVN: r170023
2011-02-10 21:46:20 +00:00
Ian Lance Taylor
0f9f95adea
Don't crash on field reference to erroneous struct.
...
From-SVN: r170020
2011-02-10 19:21:20 +00:00
Ian Lance Taylor
26d061fc23
Don't crash on make of slice of erroneous type.
...
From-SVN: r170019
2011-02-10 19:01:25 +00:00
Ian Lance Taylor
7b8ec21790
Don't crash checking for unexported self-referential pointer field.
...
From-SVN: r170017
2011-02-10 18:21:58 +00:00
Ian Lance Taylor
2181e7141c
The "main" package is not special if -fgo-prefix is used.
...
From-SVN: r169986
2011-02-09 22:28:42 +00:00
Ian Lance Taylor
a0e1520784
re PR go/47378 (ld warning linking with libgo.so: relocation bound to a symbol with STV_PROTECTED visibility)
...
PR go/47378
Don't use protected visibility for type descriptors.
From-SVN: r169946
2011-02-08 20:55:02 +00:00
Ian Lance Taylor
9b5484722f
go-lang.c (go_langhook_init_options_struct): Set frontend_set_flag_errno_math.
...
* go-lang.c (go_langhook_init_options_struct): Set
frontend_set_flag_errno_math. Don't set x_flag_trapping_math.
From-SVN: r169931
2011-02-08 17:53:17 +00:00
Rainer Orth
c6092243c9
configure.ac (gcc_cv_ld_static_option): Define.
...
gcc:
* configure.ac (gcc_cv_ld_static_option): Define.
(gcc_cv_ld_dynamic_option): Define.
(gcc_cv_ld_static_dynamic): Tru64 UNIX support -noso/-so_archive
instead.
(HAVE_LD_STATIC_DYNAMIC): Update message.
(LD_STATIC_OPTION): Define.
(LD_DYNAMIC_OPTION): Define.
* configure: Regenerate.
* config.in: Regenerate.
* gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS &&
HAVE_LD_STATIC_DYNAMIC]: Use them.
gcc/cp:
* g++spec.c (lang_specific_driver) [HAVE_LD_STATIC_DYNAMIC] Use
LD_STATIC_OPTION, LD_DYNAMIC_OPTION.
gcc/fortran:
* gfortranspec.c (add_arg_libgfortran) [HAVE_LD_STATIC_DYNAMIC] Use
LD_STATIC_OPTION, LD_DYNAMIC_OPTION.
gcc/go:
* gospec.c (lang_specific_driver) [HAVE_LD_STATIC_DYNAMIC] Use
LD_STATIC_OPTION, LD_DYNAMIC_OPTION.
From-SVN: r169435
2011-01-31 13:52:42 +00:00
Ian Lance Taylor
2887665c94
Fix self-referential struct via function and array.
...
From-SVN: r169339
2011-01-27 20:39:19 +00:00
Ian Lance Taylor
01c599966b
Copy initializer to heap if it may contain pointers.
...
From-SVN: r169297
2011-01-26 19:48:47 +00:00
Ian Lance Taylor
ff5f50c52c
Remove the types float and complex.
...
Update to current version of Go library.
Update testsuite for removed types.
* go-lang.c (go_langhook_init): Omit float_type_size when calling
go_create_gogo.
* go-c.h: Update declaration of go_create_gogo.
From-SVN: r169098
2011-01-21 18:19:03 +00:00
Ian Lance Taylor
966082b6c4
Remember erroneous type when creating GENERIC for named type.
...
From-SVN: r169030
2011-01-19 20:54:30 +00:00
Ian Lance Taylor
e76efdbd96
Don't crash on reference to field with erroneous type.
...
From-SVN: r169027
2011-01-19 20:47:21 +00:00
Ian Lance Taylor
5ee9259f75
Generate an init function if any global variable needs a preinit.
...
From-SVN: r169023
2011-01-19 20:37:50 +00:00
Ian Lance Taylor
036c8f3795
Improve check for const initializer loop.
...
From-SVN: r169003
2011-01-19 16:55:24 +00:00
Ian Lance Taylor
e3e190507a
Check for error type when getting type of binary expression.
...
From-SVN: r169002
2011-01-19 16:03:55 +00:00
Ian Lance Taylor
0ca82dd6ba
Fix handling of anonymous field in struct with pointer type.
...
From-SVN: r169001
2011-01-19 15:47:50 +00:00
Ian Lance Taylor
9081b67b9c
Avoid crash with extra struct initializers with abstract types.
...
From-SVN: r168984
2011-01-19 06:04:00 +00:00
Ian Lance Taylor
8ed8ea7900
Fix generating type descriptor for array with float length.
...
From-SVN: r168983
2011-01-19 05:49:25 +00:00
Ian Lance Taylor
d4d2a98fb2
Don't crash using value of something with no value.
...
From-SVN: r168982
2011-01-19 05:38:41 +00:00
Ian Lance Taylor
8386b63d3d
Fix struct with field of pointer to array of same struct.
...
From-SVN: r168981
2011-01-19 05:24:55 +00:00
Ian Lance Taylor
82afdd42e2
The type of a string slice is the type of the string being sliced.
...
From-SVN: r168775
2011-01-14 05:37:12 +00:00
Ian Lance Taylor
3dac68b99e
Move clearing of flag_strict_aliasing to gcc interface.
...
From-SVN: r168774
2011-01-14 03:27:32 +00:00
Ian Lance Taylor
2e4bc20e51
Fix order in which recursive structs are converted to GENERIC.
...
From-SVN: r168534
2011-01-06 01:35:19 +00:00
Ian Lance Taylor
6452b11201
re PR go/47158 ([cppcheck][PATCH] found a memory leaks in gcc/gcc/go/gofrontend/gogo-tree.cc)
...
PR go/47158
PR go/47159
PR go/47160
PR go/47161
Fix space leaks.
Patch from Ettl Martin.
From-SVN: r168504
2011-01-05 05:33:32 +00:00
Ian Lance Taylor
5667638c69
Check for identical package name and prefix in imported package.
...
From-SVN: r168494
2011-01-04 23:29:49 +00:00
Ian Lance Taylor
c7f15f802a
Don't crash if append arguments are erroneous.
...
From-SVN: r168489
2011-01-04 22:54:05 +00:00
Ian Lance Taylor
5e208e74b3
Don't crash when adding function calls that return multiple results.
...
From-SVN: r168487
2011-01-04 22:37:26 +00:00
Ian Lance Taylor
bdc4349d7e
Don't look outside of function literal for break or continue label.
...
From-SVN: r168486
2011-01-04 22:18:20 +00:00
Ian Lance Taylor
82701bd204
Don't create erroneous COND_EXPR.
...
From-SVN: r168485
2011-01-04 22:15:46 +00:00
Ian Lance Taylor
eb83e2d7f0
Don't crash if tuple init redefines non-variable.
...
From-SVN: r168484
2011-01-04 21:15:26 +00:00
Ian Lance Taylor
1ed36e906f
Don't crash if named constant has no type when converting to GENERIC.
...
From-SVN: r168483
2011-01-04 20:18:31 +00:00
Ian Lance Taylor
10d53f5d11
Don't crash initializing multiple vars from a single result function.
...
From-SVN: r168482
2011-01-04 19:46:23 +00:00
Ian Lance Taylor
79b4a34ad0
Check for multiple default cases in switch or select.
...
From-SVN: r168481
2011-01-04 19:34:32 +00:00
Ian Lance Taylor
f36067eb52
Fix handling of abstract types in temporary statements.
...
From-SVN: r168480
2011-01-04 19:02:47 +00:00
Ian Lance Taylor
ecad0c2519
Traverse expressions when looking for types.
...
From-SVN: r168478
2011-01-04 18:52:50 +00:00
Ian Lance Taylor
7516c36883
Don't crash if package import fails.
...
From-SVN: r168477
2011-01-04 18:24:05 +00:00
Ian Lance Taylor
1b7029893b
Fix building recover thunks which return multiple values.
...
From-SVN: r168476
2011-01-04 18:16:17 +00:00
Ian Lance Taylor
b6493d3890
Avoid crash when selecting on non-channel.
...
From-SVN: r168473
2011-01-04 17:42:21 +00:00
Joern Rennecke
efdfdfa788
re PR go/47113 (go_field_alignment: field set but not used)
...
PR go/47113
* go-backend.c: (go_field_alignment): Add ATTRIBUTE_UNUSED to
variable ‘field’ .
From-SVN: r168373
2010-12-31 12:24:12 +00:00
Ian Lance Taylor
ab9d6dcfbe
Avoid endless loop on array with recursive length.
...
From-SVN: r168223
2010-12-24 01:26:14 +00:00
Ian Lance Taylor
3746f0c781
Don't crash on invalid use of multiple results.
...
From-SVN: r168222
2010-12-24 00:51:10 +00:00
Ian Lance Taylor
38ac6be772
Avoid endless loop checking whether type is pointer.
...
From-SVN: r168221
2010-12-24 00:33:49 +00:00
Ian Lance Taylor
ae4aefdca3
Avoid endless loop inheriting interfaces.
...
From-SVN: r168216
2010-12-24 00:13:35 +00:00
Ian Lance Taylor
1e9402cb3d
A variable with a preinit block requires an intialization function.
...
From-SVN: r168198
2010-12-23 01:35:27 +00:00
Ian Lance Taylor
9d65de2123
Don't crash building map descriptor for erroneous map.
...
From-SVN: r168197
2010-12-23 01:22:32 +00:00
Ian Lance Taylor
42471ba917
Initialize Lex::lineoff_ field.
...
From-SVN: r168196
2010-12-23 01:01:38 +00:00
Ian Lance Taylor
476e904fc3
Fix append with no extra arguments.
...
From-SVN: r168195
2010-12-23 00:55:31 +00:00
Ian Lance Taylor
8211d03c0b
Don't crash asking for type of invalid const.
...
From-SVN: r168194
2010-12-23 00:40:29 +00:00
Ian Lance Taylor
34d9bc34c5
Avoid infinite recursion checking whether field is exported.
...
From-SVN: r168191
2010-12-23 00:18:50 +00:00
Ian Lance Taylor
62d1a8f904
Avoid crash when an unknown object is declared as a type.
...
From-SVN: r168188
2010-12-23 00:07:42 +00:00
Ian Lance Taylor
7838059fb2
Don't crash on invalid call to append.
...
From-SVN: r168187
2010-12-22 23:57:28 +00:00
Ian Lance Taylor
abff6b5fb5
Avoid infinite recursion looking up method in invalid recursive type.
...
From-SVN: r168186
2010-12-22 23:48:08 +00:00
Ian Lance Taylor
7cfc62ba9e
Don't crash on index into erroneous map.
...
From-SVN: r168185
2010-12-22 23:24:33 +00:00
Ian Lance Taylor
8332d80edb
Correctly handle tuple assignment to _ at global scope.
...
From-SVN: r168184
2010-12-22 23:09:40 +00:00
Ian Lance Taylor
8d2866eafb
Don't crash on array type with erroneous length expression.
...
From-SVN: r168176
2010-12-22 16:47:53 +00:00
Ian Lance Taylor
6430af3843
Don't crash on variable initialization from erroneous receive.
...
From-SVN: r168175
2010-12-22 16:37:58 +00:00
Ian Lance Taylor
2a4eaec2b9
Don't crash on erroneous channel send or receive.
...
From-SVN: r168174
2010-12-22 16:27:51 +00:00
Ian Lance Taylor
480cc89916
Don't crash if a temporary is not defined due to errors.
...
From-SVN: r168173
2010-12-22 16:21:06 +00:00
Ian Lance Taylor
1d9fa70c34
More tweaking of recursive name types when converting to GENERIC.
...
From-SVN: r168172
2010-12-22 16:05:23 +00:00
Ian Lance Taylor
f39c772f2e
Don't crash if array length is invalid const.
...
From-SVN: r168171
2010-12-22 15:25:23 +00:00
Ian Lance Taylor
9ed91cebef
Fix handling of named results for functions which call recover.
...
From-SVN: r168170
2010-12-22 15:10:58 +00:00
Ian Lance Taylor
d7ab2512cd
Correct test for number of arguments to append.
...
From-SVN: r168163
2010-12-22 06:33:02 +00:00
Ian Lance Taylor
8e6c2a27c5
Don't crash if a constant initializer refers to the constant.
...
From-SVN: r168162
2010-12-22 06:27:50 +00:00
Ian Lance Taylor
ecdacbb305
Don't crash on invalid type conversion.
...
From-SVN: r168161
2010-12-22 06:17:55 +00:00
Ian Lance Taylor
5c63bac2ec
Fix uninitialized variable when looking up '_'.
...
From-SVN: r168158
2010-12-22 01:37:30 +00:00
Ian Lance Taylor
428f5f5f35
Don't crash receiving multiple results from void function.
...
From-SVN: r168157
2010-12-22 01:28:29 +00:00
Ian Lance Taylor
0cb04e3af7
Fix handling of functions with named results that call recover.
...
From-SVN: r168156
2010-12-22 01:22:56 +00:00
Ian Lance Taylor
11d6fcc2c4
Don't crash building erroneous variable initializer.
...
From-SVN: r168155
2010-12-22 01:14:41 +00:00
Ian Lance Taylor
0cc3d14ec1
Check for errors when building map construction.
...
From-SVN: r168148
2010-12-22 00:00:42 +00:00
Ian Lance Taylor
88a8aaac55
Don't warn about []int of string with NUL bytes.
...
From-SVN: r168146
2010-12-21 23:48:37 +00:00
Ian Lance Taylor
a8f3a62df1
Don't permit assigning abstract string/bool to numeric variable.
...
From-SVN: r168145
2010-12-21 23:33:51 +00:00