| 1 |
2026-06-12 Release Manager |
| 2 |
|
| 3 |
* GCC 15.3.0 released. |
| 4 |
|
| 5 |
2025-08-08 Release Manager |
| 6 |
|
| 7 |
* GCC 15.2.0 released. |
| 8 |
|
| 9 |
2025-04-25 Release Manager |
| 10 |
|
| 11 |
* GCC 15.1.0 released. |
| 12 |
|
| 13 |
2025-02-05 Ian Lance Taylor <[email protected]> |
| 14 |
|
| 15 |
PR go/118746 |
| 16 |
* go-gcc.cc (class Gcc_backend): Define builtin_cold, |
| 17 |
builtin_leaf, builtin_nonnull. Alphabetize constants. |
| 18 |
(Gcc_backend::Gcc_backend): Update attributes for builtin |
| 19 |
functions to match builtins.def. |
| 20 |
(Gcc_backend::define_builtin): Split out attribute setting into |
| 21 |
set_attribtues. |
| 22 |
(Gcc_backend::set_attribtues): New method split out of |
| 23 |
define_builtin. Support new flag values. |
| 24 |
|
| 25 |
2025-01-02 Jakub Jelinek <[email protected]> |
| 26 |
|
| 27 |
* gccgo.texi: Bump @copyrights-go year. |
| 28 |
|
| 29 |
2024-11-28 David Malcolm <[email protected]> |
| 30 |
|
| 31 |
PR c/104896 |
| 32 |
* gofrontend/embed.cc (Gogo::initializer_for_embeds): Replace |
| 33 |
"%<%s%>" with "%qs" in message wording. |
| 34 |
* gofrontend/expressions.cc |
| 35 |
(Selector_expression::lower_method_expression): Likewise. |
| 36 |
* gofrontend/gogo.cc (Gogo::set_package_name): Likewise. |
| 37 |
(Named_object::export_named_object): Likewise. |
| 38 |
* gofrontend/parse.cc (Parse::struct_type): Likewise. |
| 39 |
(Parse::parameter_list): Likewise. |
| 40 |
|
| 41 |
2024-11-22 Andrew Pinski <[email protected]> |
| 42 |
|
| 43 |
PR bootstrap/117737 |
| 44 |
* go-backend.cc (INCLUDE_MEMORY): Remove. |
| 45 |
* go-lang.cc (INCLUDE_MEMORY): Remove. |
| 46 |
|
| 47 |
2024-10-25 Jakub Jelinek <[email protected]> |
| 48 |
|
| 49 |
* go-gcc.cc: Remove trailing whitespace. |
| 50 |
* gospec.cc: Likewise. |
| 51 |
|
| 52 |
2024-10-24 David Malcolm <[email protected]> |
| 53 |
Gaius Mulley <[email protected]> |
| 54 |
|
| 55 |
PR other/116613 |
| 56 |
* go-backend.cc: Add #define INCLUDE_MEMORY. |
| 57 |
* go-lang.cc: Likewise. |
| 58 |
|
| 59 |
2024-09-25 Mikael Morin <[email protected]> |
| 60 |
|
| 61 |
PR other/116801 |
| 62 |
* lang.opt.urls: Regenerate. |
| 63 |
|
| 64 |
2024-06-25 Kewen Lin <[email protected]> |
| 65 |
|
| 66 |
* go-gcc.cc (Gcc_backend::float_type): Use TYPE_PRECISION of |
| 67 |
{float,double,long_double}_type_node to replace |
| 68 |
{FLOAT,DOUBLE,LONG_DOUBLE}_TYPE_SIZE. |
| 69 |
(Gcc_backend::complex_type): Likewise. |
| 70 |
|
| 71 |
2024-06-07 Rainer Orth <[email protected]> |
| 72 |
|
| 73 |
* gospec.cc (lang_specific_driver) [TARGET_SOLARIS !USE_GLD]: Only |
| 74 |
add -t if linking. |
| 75 |
|
| 76 |
2024-05-26 Gerald Pfeifer <[email protected]> |
| 77 |
|
| 78 |
* gccgo.texi (Top): Move a web reference from golang.org to go.dev. |
| 79 |
(C Interoperability): Move a web reference from golang.org to |
| 80 |
pkg.go.dev. |
| 81 |
|
| 82 |
2024-04-05 Christophe Lyon <[email protected]> |
| 83 |
|
| 84 |
* Make-lang.in (go.install-dvi): New rule. |
| 85 |
|
| 86 |
2024-01-04 David Malcolm <[email protected]> |
| 87 |
|
| 88 |
* lang.opt.urls: New file, autogenerated by |
| 89 |
regenerate-opt-urls.py. |
| 90 |
|
| 91 |
2024-01-03 Jakub Jelinek <[email protected]> |
| 92 |
|
| 93 |
* gccgo.texi: Bump @copyrights-go year. |
| 94 |
|
| 95 |
2023-07-05 Robin Dapp <[email protected]> |
| 96 |
Juzhe-Zhong <[email protected]> |
| 97 |
|
| 98 |
* go-lang.cc (go_langhook_type_for_mode): Ditto. |
| 99 |
|
| 100 |
2023-06-26 Ian Lance Taylor <[email protected]> |
| 101 |
|
| 102 |
* lang.opt (fgo-importcfg): New option. |
| 103 |
* go-c.h (struct go_create_gogo_args): Add importcfg field. |
| 104 |
* go-lang.cc (go_importcfg): New static variable. |
| 105 |
(go_langhook_init): Set args.importcfg. |
| 106 |
(go_langhook_handle_option): Handle -fgo-importcfg. |
| 107 |
* gccgo.texi (Invoking gccgo): Document -fgo-importcfg. |
| 108 |
|
| 109 |
2023-06-22 Paul E. Murphy <[email protected]> |
| 110 |
|
| 111 |
* go-backend.cc [TARGET_AIX]: Rename and update usage to TARGET_AIX_OS. |
| 112 |
* go-lang.cc: Likewise. |
| 113 |
|
| 114 |
2023-03-24 Jakub Jelinek <[email protected]> |
| 115 |
|
| 116 |
PR middle-end/109258 |
| 117 |
* go-gcc.cc (Gcc_backend): Add new static data members builtin_pure |
| 118 |
and builtin_nothrow. |
| 119 |
(Gcc_backend::Gcc_backend): Pass builtin_pure | builtin_nothrow for |
| 120 |
BUILT_IN_MEMCMP. |
| 121 |
(Gcc_backend::define_builtin): Handle builtin_pure and builtin_nothrow |
| 122 |
in flags. |
| 123 |
|
| 124 |
2023-02-23 Arsen Arsenović <[email protected]> |
| 125 |
|
| 126 |
* gccgo.texi: Reorder index entries around @items. |
| 127 |
|
| 128 |
2023-01-17 Ian Lance Taylor <[email protected]> |
| 129 |
|
| 130 |
PR go/108426 |
| 131 |
* go-gcc.cc (Gcc_backend::Gcc_backend): Define __builtin_ctzl and |
| 132 |
__builtin_clzl. Patch by Andrew Pinski. |
| 133 |
|
| 134 |
2023-01-02 Jakub Jelinek <[email protected]> |
| 135 |
|
| 136 |
* gccgo.texi: Bump @copyrights-go year. |
| 137 |
|
| 138 |
2022-11-14 Martin Liska <[email protected]> |
| 139 |
|
| 140 |
Revert: |
| 141 |
2022-11-14 Martin Liska <[email protected]> |
| 142 |
|
| 143 |
* doc/c-interoperability.rst: New file. |
| 144 |
* doc/c-type-interoperability.rst: New file. |
| 145 |
* doc/compiler-directives.rst: New file. |
| 146 |
* doc/conf.py: New file. |
| 147 |
* doc/copyright.rst: New file. |
| 148 |
* doc/function-names.rst: New file. |
| 149 |
* doc/general-public-license-3.rst: New file. |
| 150 |
* doc/gnu-free-documentation-license.rst: New file. |
| 151 |
* doc/import-and-export.rst: New file. |
| 152 |
* doc/index.rst: New file. |
| 153 |
* doc/indices-and-tables.rst: New file. |
| 154 |
* doc/introduction.rst: New file. |
| 155 |
* doc/invoking-gccgo.rst: New file. |
| 156 |
|
| 157 |
2022-11-14 Martin Liska <[email protected]> |
| 158 |
|
| 159 |
Revert: |
| 160 |
2022-11-14 Martin Liska <[email protected]> |
| 161 |
|
| 162 |
* Make-lang.in: Support Sphinx based documentation. |
| 163 |
|
| 164 |
2022-11-14 Martin Liska <[email protected]> |
| 165 |
|
| 166 |
Revert: |
| 167 |
2022-11-14 Martin Liska <[email protected]> |
| 168 |
|
| 169 |
* gccgo.texi: Removed. |
| 170 |
|
| 171 |
2022-11-14 Martin Liska <[email protected]> |
| 172 |
|
| 173 |
Revert: |
| 174 |
2022-11-14 Martin Liska <[email protected]> |
| 175 |
|
| 176 |
* Make-lang.in: Support --with-sphinx-build. |
| 177 |
|
| 178 |
2022-11-14 Martin Liska <[email protected]> |
| 179 |
|
| 180 |
Revert: |
| 181 |
2022-11-14 Martin Liska <[email protected]> |
| 182 |
|
| 183 |
* Make-lang.in: |
| 184 |
Support installation if sphinx-build is missing. |
| 185 |
Support installation if sphinx-build is missing. |
| 186 |
|
| 187 |
2022-11-14 Martin Liska <[email protected]> |
| 188 |
|
| 189 |
Revert: |
| 190 |
2022-11-14 Martin Liska <[email protected]> |
| 191 |
|
| 192 |
* doc/c-interoperability.rst: |
| 193 |
Add trailing newline. |
| 194 |
* doc/c-type-interoperability.rst: |
| 195 |
Add trailing newline. |
| 196 |
* doc/compiler-directives.rst: |
| 197 |
Add trailing newline. |
| 198 |
* doc/copyright.rst: |
| 199 |
Add trailing newline. |
| 200 |
* doc/function-names.rst: |
| 201 |
Add trailing newline. |
| 202 |
* doc/general-public-license-3.rst: |
| 203 |
Add trailing newline. |
| 204 |
* doc/gnu-free-documentation-license.rst: |
| 205 |
Add trailing newline. |
| 206 |
* doc/import-and-export.rst: |
| 207 |
Add trailing newline. |
| 208 |
* doc/index.rst: |
| 209 |
Add trailing newline. |
| 210 |
* doc/indices-and-tables.rst: |
| 211 |
Add trailing newline. |
| 212 |
* doc/introduction.rst: |
| 213 |
Add trailing newline. |
| 214 |
* doc/invoking-gccgo.rst: |
| 215 |
Add trailing newline. |
| 216 |
|
| 217 |
2022-11-14 Martin Liska <[email protected]> |
| 218 |
|
| 219 |
Revert: |
| 220 |
2022-11-14 Martin Liska <[email protected]> |
| 221 |
|
| 222 |
* doc/conf.py: Add newline at last line. |
| 223 |
|
| 224 |
2022-11-10 Martin Liska <[email protected]> |
| 225 |
|
| 226 |
* doc/conf.py: Add newline at last line. |
| 227 |
|
| 228 |
2022-11-10 Ian Lance Taylor <[email protected]> |
| 229 |
|
| 230 |
PR target/107581 |
| 231 |
* go-gcc.cc (Gcc_backend::Gcc_backend): Define |
| 232 |
__atomic_fetch_add_{4,8}. |
| 233 |
|
| 234 |
2022-11-09 Martin Liska <[email protected]> |
| 235 |
|
| 236 |
* doc/c-interoperability.rst: |
| 237 |
Add trailing newline. |
| 238 |
* doc/c-type-interoperability.rst: |
| 239 |
Add trailing newline. |
| 240 |
* doc/compiler-directives.rst: |
| 241 |
Add trailing newline. |
| 242 |
* doc/copyright.rst: |
| 243 |
Add trailing newline. |
| 244 |
* doc/function-names.rst: |
| 245 |
Add trailing newline. |
| 246 |
* doc/general-public-license-3.rst: |
| 247 |
Add trailing newline. |
| 248 |
* doc/gnu-free-documentation-license.rst: |
| 249 |
Add trailing newline. |
| 250 |
* doc/import-and-export.rst: |
| 251 |
Add trailing newline. |
| 252 |
* doc/index.rst: |
| 253 |
Add trailing newline. |
| 254 |
* doc/indices-and-tables.rst: |
| 255 |
Add trailing newline. |
| 256 |
* doc/introduction.rst: |
| 257 |
Add trailing newline. |
| 258 |
* doc/invoking-gccgo.rst: |
| 259 |
Add trailing newline. |
| 260 |
|
| 261 |
2022-11-09 Martin Liska <[email protected]> |
| 262 |
|
| 263 |
* Make-lang.in: |
| 264 |
Support installation if sphinx-build is missing. |
| 265 |
Support installation if sphinx-build is missing. |
| 266 |
|
| 267 |
2022-11-09 Martin Liska <[email protected]> |
| 268 |
|
| 269 |
* Make-lang.in: Support --with-sphinx-build. |
| 270 |
|
| 271 |
2022-11-09 Martin Liska <[email protected]> |
| 272 |
|
| 273 |
* gccgo.texi: Removed. |
| 274 |
|
| 275 |
2022-11-09 Martin Liska <[email protected]> |
| 276 |
|
| 277 |
* Make-lang.in: Support Sphinx based documentation. |
| 278 |
|
| 279 |
2022-11-09 Martin Liska <[email protected]> |
| 280 |
|
| 281 |
* doc/c-interoperability.rst: New file. |
| 282 |
* doc/c-type-interoperability.rst: New file. |
| 283 |
* doc/compiler-directives.rst: New file. |
| 284 |
* doc/conf.py: New file. |
| 285 |
* doc/copyright.rst: New file. |
| 286 |
* doc/function-names.rst: New file. |
| 287 |
* doc/general-public-license-3.rst: New file. |
| 288 |
* doc/gnu-free-documentation-license.rst: New file. |
| 289 |
* doc/import-and-export.rst: New file. |
| 290 |
* doc/index.rst: New file. |
| 291 |
* doc/indices-and-tables.rst: New file. |
| 292 |
* doc/introduction.rst: New file. |
| 293 |
* doc/invoking-gccgo.rst: New file. |
| 294 |
|
| 295 |
2022-09-15 Richard Biener <[email protected]> |
| 296 |
|
| 297 |
* go-lang.cc (go_langhook_init): Do not initialize |
| 298 |
void_list_node. |
| 299 |
|
| 300 |
2022-09-02 Martin Liska <[email protected]> |
| 301 |
|
| 302 |
* go-lang.cc (go_langhook_pushdecl): Remove -gstabs option support, DBX-related |
| 303 |
macros and DBX debugging info support. |
| 304 |
* gospec.cc (lang_specific_driver): Likewise. |
| 305 |
|
| 306 |
2022-07-16 Ian Lance Taylor <[email protected]> |
| 307 |
|
| 308 |
* go-gcc.cc (Gcc_backend::struct_field_expression): Handle a void |
| 309 |
expression, as for f().x where f returns a zero-sized type. |
| 310 |
|
| 311 |
2022-07-15 Ian Lance Taylor <[email protected]> |
| 312 |
|
| 313 |
* go-gcc.cc (Gcc_backend::call_expression): Handle a void |
| 314 |
argument, as for f(g()) where g returns a zero-sized type. |
| 315 |
|
| 316 |
2022-06-02 David Malcolm <[email protected]> |
| 317 |
|
| 318 |
* go-lang.cc (go_get_sarif_source_language): New. |
| 319 |
(LANG_HOOKS_GET_SARIF_SOURCE_LANGUAGE): Redefine. |
| 320 |
|
| 321 |
2022-05-31 Jason Merrill <[email protected]> |
| 322 |
|
| 323 |
* Make-lang.in (go.tags): Look at *.cc. |
| 324 |
|
| 325 |
2022-02-13 Ian Lance Taylor <[email protected]> |
| 326 |
|
| 327 |
* gospec.cc: Revert 2022-02-09 change: |
| 328 |
(RTLIB, RT_LIBRARY): Don't define. |
| 329 |
(lang_specific_driver): Don't add -lrt if linking statically |
| 330 |
on GNU/Linux. |
| 331 |
|
| 332 |
2022-02-09 Ian Lance Taylor <[email protected]> |
| 333 |
|
| 334 |
* gospec.cc (RTLIB, RT_LIBRARY): Define. |
| 335 |
(lang_specific_driver): Add -lrt if linking statically on |
| 336 |
GNU/Linux. |
| 337 |
|
| 338 |
2022-02-09 Ian Lance Taylor <[email protected]> |
| 339 |
|
| 340 |
* go-gcc.cc (Gcc_backend::Gcc_backend): Define builtins |
| 341 |
__atomic_load_1 and __atomic_store_1. |
| 342 |
|
| 343 |
2022-01-17 Martin Liska <[email protected]> |
| 344 |
|
| 345 |
* config-lang.in: Rename .c names to .cc. |
| 346 |
* go-backend.cc: Likewise. |
| 347 |
* go-lang.cc: Likewise. |
| 348 |
* gospec.cc: Likewise. |
| 349 |
* lang-specs.h: Likewise. |
| 350 |
|
| 351 |
2022-01-17 Martin Liska <[email protected]> |
| 352 |
|
| 353 |
* go-backend.c: Moved to... |
| 354 |
* go-backend.cc: ...here. |
| 355 |
* go-lang.c: Moved to... |
| 356 |
* go-lang.cc: ...here. |
| 357 |
* gospec.c: Moved to... |
| 358 |
* gospec.cc: ...here. |
| 359 |
|
| 360 |
2022-01-03 Jakub Jelinek <[email protected]> |
| 361 |
|
| 362 |
* gccgo.texi: Bump @copyrights-go year. |
| 363 |
|
| 364 |
2021-12-28 Martin Liska <[email protected]> |
| 365 |
|
| 366 |
* gccgo.texi: Replace http:// with https. |
| 367 |
|
| 368 |
2021-11-29 Eric Gallager <[email protected]> |
| 369 |
|
| 370 |
PR other/103021 |
| 371 |
* Make-lang.in: Use ETAGS variable in TAGS target. |
| 372 |
|
| 373 |
2021-09-27 Martin Liska <[email protected]> |
| 374 |
|
| 375 |
* go-lang.c (go_langhook_init_options_struct): Set also |
| 376 |
x_flag_default_complex_method. |
| 377 |
|
| 378 |
2021-06-29 Ian Lance Taylor <[email protected]> |
| 379 |
|
| 380 |
* go-gcc.cc (Gcc_backend::static_chain_variable): Set |
| 381 |
DECL_NAMELESS on the new decl. |
| 382 |
(Gcc_backend::temporary_variable): Likewise. |
| 383 |
(Gcc_backend::function): Set DECL_NAMELESS on the result decl. |
| 384 |
|
| 385 |
2021-05-27 Ian Lance Taylor <[email protected]> |
| 386 |
|
| 387 |
* gccgo.texi (Function Names): Don't HTML quote ampersand. |
| 388 |
|
| 389 |
2021-05-24 Ian Lance Taylor <[email protected]> |
| 390 |
|
| 391 |
PR go/100537 |
| 392 |
* go-gcc.cc (class Gcc_backend): Update methods that create |
| 393 |
variables to take a flags parameter. |
| 394 |
|
| 395 |
2021-01-28 Ian Lance Taylor <[email protected]> |
| 396 |
|
| 397 |
* gospec.c (lang_specific_driver): Add -g if no debugging options |
| 398 |
were passed. |
| 399 |
|
| 400 |
2021-01-15 Ian Lance Taylor <[email protected]> |
| 401 |
|
| 402 |
* Make-lang.in (GO_OBJS): Add go/embed.o. |
| 403 |
|
| 404 |
2021-01-05 Jakub Jelinek <[email protected]> |
| 405 |
|
| 406 |
* lang.opt (fgo-embedcfg=): Add full stop at the end of description. |
| 407 |
|
| 408 |
2021-01-05 Ian Lance Taylor <[email protected]> |
| 409 |
|
| 410 |
* lang.opt (fgo-embedcfg): New option. |
| 411 |
* go-c.h (struct go_create_gogo_args): Add embedcfg field. |
| 412 |
* go-lang.c (go_embedcfg): New static variable. |
| 413 |
(go_langhook_init): Set go_create_gogo_args embedcfg field. |
| 414 |
(go_langhook_handle_option): Handle OPT_fgo_embedcfg_. |
| 415 |
* gccgo.texi (Invoking gccgo): Document -fgo-embedcfg. |
| 416 |
|
| 417 |
2021-01-01 Jakub Jelinek <[email protected]> |
| 418 |
|
| 419 |
* gccgo.texi: Bump @copyrights-go year. |
| 420 |
|
| 421 |
2020-12-22 Ian Lance Taylor <[email protected]> |
| 422 |
|
| 423 |
PR go/98402 |
| 424 |
* go-lang.c (go_langhook_init): Force MPFR exponent range to be |
| 425 |
large enough to support Go constants. |
| 426 |
|
| 427 |
2020-11-20 Jakub Jelinek <[email protected]> |
| 428 |
|
| 429 |
PR other/97911 |
| 430 |
* Make-lang.in (go.serial): Change from goal to a variable. |
| 431 |
(.PHONY): Drop go.serial and go.prev. |
| 432 |
(go1$(exeext)): Depend on $(go.serial) rather than go.serial. |
| 433 |
|
| 434 |
2020-11-18 Jakub Jelinek <[email protected]> |
| 435 |
|
| 436 |
* Make-lang.in (go.serial): New goal. |
| 437 |
(.PHONY): Add go.serial go.prev. |
| 438 |
(go1$(exeext)): Depend on go.prev. Call LINK_PROGRESS. |
| 439 |
|
| 440 |
2020-11-11 Alan Modra <[email protected]> |
| 441 |
|
| 442 |
* go-gcc.cc (Gcc_backend::global_variable_set_init): Cast NULL to |
| 443 |
avoid ambiguous overloaded call. |
| 444 |
|
| 445 |
2020-11-06 Nathan Sidwell <[email protected]> |
| 446 |
|
| 447 |
* go-gcc.cc (Gcc_backend::call_expression): Rename |
| 448 |
DECL_IS_BUILTIN->DECL_IS_UNDECLARED_BUILTIN. |
| 449 |
|
| 450 |
2020-11-04 Ian Lance Taylor <[email protected]> |
| 451 |
|
| 452 |
* go-lang.c (go_langhook_post_options): Disable |
| 453 |
-fipa-icf-functions if it was not explicitly enabled. |
| 454 |
|
| 455 |
2020-09-14 Jakub Jelinek <[email protected]> |
| 456 |
|
| 457 |
* go-gcc.cc (Gcc_backend::function): Adjust |
| 458 |
cl_optimization_save, cl_optimization_restore and |
| 459 |
build_optimization_node callers. |
| 460 |
|
| 461 |
2020-08-10 Clément Chigot <[email protected]> |
| 462 |
|
| 463 |
* go-c.h (struct go_create_gogo_args): Add need_eqtype field. |
| 464 |
* go-lang.c (go_langhook_init): Set need_eqtype. |
| 465 |
|
| 466 |
2020-04-15 Ian Lance Taylor <[email protected]> |
| 467 |
|
| 468 |
PR go/94607 |
| 469 |
* go-gcc.cc (class Gcc_backend): Define builtin_const, |
| 470 |
builtin_noreturn, builtin_novops. |
| 471 |
(Gcc_backend::define_builtin): Change const_p and noreturn_p |
| 472 |
parameters to a single flags parameter. Change all callers. |
| 473 |
(Gcc_backend::Gcc_backend): Pass novops for prefetch. |
| 474 |
|
| 475 |
2020-01-01 Jakub Jelinek <[email protected]> |
| 476 |
|
| 477 |
Update copyright years. |
| 478 |
|
| 479 |
* gccgo.texi: Bump @copyrights-go year. |
| 480 |
|
| 481 |
2019-11-12 Martin Liska <[email protected]> |
| 482 |
|
| 483 |
* go-lang.c (go_langhook_post_options): |
| 484 |
Use SET_OPTION_IF_UNSET. |
| 485 |
|
| 486 |
2019-09-04 Ian Lance Taylor <[email protected]> |
| 487 |
|
| 488 |
PR tree-optimization/91663 |
| 489 |
* go-lang.c (go_langhook_post_options): Clear |
| 490 |
flag_partial_inlining. |
| 491 |
|
| 492 |
2019-08-23 Jakub Jelinek <[email protected]> |
| 493 |
|
| 494 |
PR middle-end/91283 |
| 495 |
* go-lang.c (go_langhook_post_options): Set flag_excess_precision |
| 496 |
instead of flag_excess_precision_cmdline. |
| 497 |
|
| 498 |
2019-07-02 Cherry Zhang <[email protected]> |
| 499 |
|
| 500 |
* go-gcc.cc (Gcc_backend::Gcc_backend): Define __builtin_memset. |
| 501 |
|
| 502 |
2019-06-21 Cherry Zhang <[email protected]> |
| 503 |
|
| 504 |
* go-gcc.cc (Gcc_backend::Gcc_backend): Define math/bits |
| 505 |
builtins. |
| 506 |
|
| 507 |
2019-05-30 Jim Wilson <[email protected]> |
| 508 |
|
| 509 |
* go-gcc.cc (Gcc_backend::Gcc_backend): Add BUILT_IN_ATOMIC_FETCH_AND_1 |
| 510 |
and BUILT_IN_ATOMIC_FETCH_OR_1. |
| 511 |
|
| 512 |
2019-05-16 Cherry Zhang <[email protected]> |
| 513 |
|
| 514 |
* go-gcc.cc (Gcc_backend::Gcc_backend): Define atomic builtins. |
| 515 |
|
| 516 |
2019-05-08 Cherry Zhang <[email protected]> |
| 517 |
|
| 518 |
* go-gcc.cc (Gcc_backend::Gcc_backend): Define memmove builtin. |
| 519 |
|
| 520 |
2019-05-07 Cherry Zhang <[email protected]> |
| 521 |
|
| 522 |
* lang.opt (-fgo-debug-optimization): New option. |
| 523 |
* go-c.h (struct go_create_gogo_args): Add debug_optimization |
| 524 |
field. |
| 525 |
* go-lang.c (go_langhook_init): Set debug_optimization field. |
| 526 |
* gccgo.texi (Invoking gccgo): Document -fgo-debug-optimization. |
| 527 |
|
| 528 |
2019-03-06 Ian Lance Taylor <[email protected]> |
| 529 |
|
| 530 |
PR go/89227 |
| 531 |
* go-gcc.cc (Gcc_backend::function): Set TREE_PUBLIC for an |
| 532 |
only-inline function. |
| 533 |
|
| 534 |
2019-02-15 Cherry Zhang <[email protected]> |
| 535 |
|
| 536 |
* go-gcc.cc (Gcc_backend::Gcc_backend): Define __builtin_dwarf_cfa |
| 537 |
instead of __builtin_frame_address. |
| 538 |
|
| 539 |
2019-02-14 Ian Lance Taylor <[email protected]> |
| 540 |
|
| 541 |
* go-backend.c (go_imported_unsafe): Update |
| 542 |
optimization_default_node. |
| 543 |
|
| 544 |
2019-02-13 Ian Lance Taylor <[email protected]> |
| 545 |
|
| 546 |
* go-gcc.cc: #include "opts.h". |
| 547 |
(Gcc_backend::function): Compile thunks with -Os. |
| 548 |
|
| 549 |
2019-02-05 Nikhil Benesch <[email protected]> |
| 550 |
|
| 551 |
PR go/89019 |
| 552 |
* go-gcc.cc (Gcc_backend::placeholder_struct_type): Mark |
| 553 |
placeholder structs as requiring structural equality. |
| 554 |
(Gcc_backend::set_placeholder_pointer_type): Propagate the |
| 555 |
canonical type from the desired pointer type to the placeholder |
| 556 |
pointer type. |
| 557 |
|
| 558 |
2019-01-09 Ian Lance Taylor <[email protected]> |
| 559 |
|
| 560 |
PR go/86343 |
| 561 |
* go-gcc.cc (Gcc_backend::set_placeholder_struct_type): Go back to |
| 562 |
build_distinct_type_copy, but copy the fields so that they have |
| 563 |
the right DECL_CONTEXT. |
| 564 |
|
| 565 |
2019-01-09 Sandra Loosemore <[email protected]> |
| 566 |
|
| 567 |
PR other/16615 |
| 568 |
|
| 569 |
* go-backend.c: Mechanically replace "can not" with "cannot". |
| 570 |
* go-gcc.cc: Likewise. |
| 571 |
|
| 572 |
2019-01-01 Jakub Jelinek <[email protected]> |
| 573 |
|
| 574 |
Update copyright years. |
| 575 |
|
| 576 |
* gccgo.texi: Bump @copyrights-go year. |
| 577 |
|
| 578 |
2018-11-27 Ian Lance Taylor <[email protected]> |
| 579 |
|
| 580 |
* go-gcc.cc (Gcc_backend::function): Handle function_only_inline |
| 581 |
flag. |
| 582 |
|
| 583 |
2018-11-13 David Malcolm <[email protected]> |
| 584 |
|
| 585 |
* go-gcc-diagnostics.cc: Replace "source_location" with "location_t". |
| 586 |
* go-gcc.cc: Likewise. |
| 587 |
* go-linemap.cc: Likewise. |
| 588 |
* go-location.h: Likewise. |
| 589 |
* gofrontend/README: Likewise. |
| 590 |
|
| 591 |
2018-10-31 Ian Lance Taylor <[email protected]> |
| 592 |
|
| 593 |
* go-gcc.cc (Gcc_backend::write_global_definitions): Don't call |
| 594 |
gimplify_function_tree. Instead call allocate_struct_function if |
| 595 |
necessary. |
| 596 |
|
| 597 |
2018-10-29 Ian Lance Taylor <[email protected]> |
| 598 |
|
| 599 |
* go-gcc.cc (Gcc_backend::function): Change to use a single flags |
| 600 |
parameter. |
| 601 |
|
| 602 |
2018-10-29 Ian Lance Taylor <[email protected]> |
| 603 |
|
| 604 |
* go-linemap.cc (Gcc_linemap::location_file): New method. |
| 605 |
|
| 606 |
2018-10-17 David Malcolm <[email protected]> |
| 607 |
|
| 608 |
* Make-lang.in (selftest-go): New. |
| 609 |
|
| 610 |
2018-09-20 Allan Sandfeld Jensen <[email protected]> |
| 611 |
|
| 612 |
* gospec.c (lang_specific_driver): Handle -r like -nostdlib. |
| 613 |
|
| 614 |
2018-08-27 Martin Liska <[email protected]> |
| 615 |
|
| 616 |
* go-gcc.cc (Gcc_backend::call_expression): Use new function |
| 617 |
fndecl_built_in_p and remove check for FUNCTION_DECL if |
| 618 |
possible. |
| 619 |
|
| 620 |
2018-07-20 Martin Sebor <[email protected]> |
| 621 |
|
| 622 |
PR middle-end/82063 |
| 623 |
* go-lang.c (go_langhook_handle_option): Change function argument |
| 624 |
to HOST_WIDE_INT. |
| 625 |
|
| 626 |
2018-06-28 Ian Lance Taylor <[email protected]> |
| 627 |
|
| 628 |
PR go/86343 |
| 629 |
* go-gcc.cc (Gcc_backend::set_placeholder_struct_type): Call |
| 630 |
build_variant_type_copy rather than build_distinct_type_copy. |
| 631 |
|
| 632 |
2018-06-08 Cherry Zhang <[email protected]> |
| 633 |
|
| 634 |
* go-gcc.cc (class Gcc_backend): Remove |
| 635 |
stack_allocation_expression method. |
| 636 |
|
| 637 |
2018-02-03 Ian Lance Taylor <[email protected]> |
| 638 |
|
| 639 |
* go-gcc.cc (Gcc_backend::fill_in_struct): Mark struct types as |
| 640 |
using structural equality. |
| 641 |
|
| 642 |
2018-02-02 Ian Lance Taylor <[email protected]> |
| 643 |
|
| 644 |
* go-gcc.cc (Gcc_backend::type_size): Return 0 for |
| 645 |
void_type_node. |
| 646 |
(Gcc_backend::convert_expression): Don't convert if the type of |
| 647 |
expr_tree is void_type_node. |
| 648 |
(Gcc_backend::array_index_expression): Don't index if the type of |
| 649 |
the array expression is void_type_node. |
| 650 |
(Gcc_backend::init_statement): Don't initialize if the type of the |
| 651 |
initializer expression is void_type_node. |
| 652 |
(Gcc_backend::assignment_statement): Don't assign if the type of |
| 653 |
either the left or right hand side is void_type_node. |
| 654 |
(Gcc_backend::temporary_variable): Don't initialize if the type of |
| 655 |
the initializer expression is void_type_node. |
| 656 |
|
| 657 |
2018-02-01 Cherry Zhang <[email protected]> |
| 658 |
|
| 659 |
* lang.opt (fgo-optimize): Remove RejectNegative. |
| 660 |
* go-c.h (go_enable_optimize): Update declaration to take value |
| 661 |
argument. |
| 662 |
* go-lang.c (go_langhook_handle_option): Pass value to |
| 663 |
go_enable_optimize. |
| 664 |
* gccgo.texi (Invoking gccgo): Update -fgo-optimize-allocs doc. |
| 665 |
|
| 666 |
2018-01-30 Ian Lance Taylor <[email protected]> |
| 667 |
|
| 668 |
* go-gcc.cc (Gcc_backend::convert_tree): New private method. |
| 669 |
(Gcc_backend::constructor_expression): Call it. |
| 670 |
(Gcc_backend::assignment_statement): Likewise. |
| 671 |
(Gcc_backend::temporary_variable): Likewise. |
| 672 |
|
| 673 |
2018-01-09 Cherry Zhang <[email protected]> |
| 674 |
|
| 675 |
* go-gcc.cc (local_variable): Add decl_var parameter. |
| 676 |
|
| 677 |
2018-01-09 Cherry Zhang <[email protected]> |
| 678 |
|
| 679 |
* lang.opt (fgo-debug-escape-hash): New option. |
| 680 |
* go-c.h (struct go_create_gogo_args): Add debug_escape_hash |
| 681 |
field. |
| 682 |
* go-lang.c (go_langhook_init): Set debug_escape_hash field. |
| 683 |
* gccgo.texi (Invoking gccgo): Document -fgo-debug-escape-hash. |
| 684 |
|
| 685 |
2018-01-05 Ian Lance Taylor <[email protected]> |
| 686 |
|
| 687 |
* go-gcc.cc (Gcc_backend::Gcc_backend): Correct |
| 688 |
math_function_type_long to take one argument. |
| 689 |
|
| 690 |
2018-01-03 Richard Sandiford <[email protected]> |
| 691 |
Alan Hayward <[email protected]> |
| 692 |
David Sherwood <[email protected]> |
| 693 |
|
| 694 |
* go-lang.c (go_langhook_type_for_mode): Handle MODE_VECTOR_BOOL. |
| 695 |
|
| 696 |
2018-01-03 Richard Sandiford <[email protected]> |
| 697 |
Alan Hayward <[email protected]> |
| 698 |
David Sherwood <[email protected]> |
| 699 |
|
| 700 |
* go-lang.c (go_langhook_type_for_mode): Check valid_vector_subparts_p. |
| 701 |
|
| 702 |
2018-01-03 Jakub Jelinek <[email protected]> |
| 703 |
|
| 704 |
Update copyright years. |
| 705 |
|
| 706 |
* gccgo.texi: Bump @copyrights-go year. |
| 707 |
|
| 708 |
2017-12-12 Tony Reix <[email protected]> |
| 709 |
Ian Lance Taylor <[email protected]> |
| 710 |
|
| 711 |
* go-lang.c (TARGET_AIX): Define if not defined. |
| 712 |
(go_langhook_init): Set nil_check_size_threshold to -1 on AIX. |
| 713 |
|
| 714 |
2017-12-01 Ian Lance Taylor <[email protected]> |
| 715 |
|
| 716 |
* go-gcc.cc (Gcc_backend::Gcc_backend): Define |
| 717 |
__builtin_unreachable. |
| 718 |
(Gcc_backend::function): Add does_not_return parameter. |
| 719 |
|
| 720 |
2017-12-01 Than McIntosh <[email protected]> |
| 721 |
|
| 722 |
* go-c.h (go_create_gogo_args): Add nil_check_size_threshold |
| 723 |
field. |
| 724 |
* go-lang.c (go_langhook_init): Set nil_check_size_threshold. |
| 725 |
|
| 726 |
2017-11-28 Jakub Jelinek <[email protected]> |
| 727 |
|
| 728 |
* go-gcc.cc (Gcc_backend::switch_statement): Build SWITCH_EXPR using |
| 729 |
build2_loc instead of build3_loc. |
| 730 |
|
| 731 |
2017-11-14 Than McIntosh <[email protected]> |
| 732 |
|
| 733 |
* go-gcc.cc (var_expression): Remove Varexpr_context parameter. |
| 734 |
|
| 735 |
2017-10-11 Tony Reix <[email protected]> |
| 736 |
|
| 737 |
* go-system.h (__STDC_FORMAT_MACROS): Define before including any |
| 738 |
system header files, as is done in ../system.h. |
| 739 |
|
| 740 |
2017-10-05 Ian Lance Taylor <[email protected]> |
| 741 |
|
| 742 |
* Make-lang.in (GO_OBJS): Add go/names.o. |
| 743 |
|
| 744 |
2017-08-30 Richard Sandiford <[email protected]> |
| 745 |
Alan Hayward <[email protected]> |
| 746 |
David Sherwood <[email protected]> |
| 747 |
|
| 748 |
* go-lang.c (go_langhook_type_for_mode): Use is_complex_float_mode. |
| 749 |
|
| 750 |
2017-08-30 Richard Sandiford <[email protected]> |
| 751 |
Alan Hayward <[email protected]> |
| 752 |
David Sherwood <[email protected]> |
| 753 |
|
| 754 |
* go-lang.c (go_langhook_type_for_mode): Use is_int_mode. |
| 755 |
|
| 756 |
2017-08-30 Richard Sandiford <[email protected]> |
| 757 |
Alan Hayward <[email protected]> |
| 758 |
David Sherwood <[email protected]> |
| 759 |
|
| 760 |
* go-lang.c (go_langhook_type_for_mode): Use is_float_mode. |
| 761 |
|
| 762 |
2017-08-07 Martin Liska <[email protected]> |
| 763 |
|
| 764 |
* go-gcc.cc (Gcc_backend::function): Look up for no_split_stack |
| 765 |
and not __no_split_stack__. |
| 766 |
|
| 767 |
2017-07-27 Tony Reix <[email protected]> |
| 768 |
|
| 769 |
* go-backend.c (go_write_export_data): Use EXCLUDE section for |
| 770 |
AIX. |
| 771 |
|
| 772 |
2017-06-09 Ian Lance Taylor <[email protected]> |
| 773 |
|
| 774 |
* go-lang.c (go_langhook_post_options): If -fsplit-stack is turned |
| 775 |
on, disable implicit -forder-blocks-and-partition. |
| 776 |
|
| 777 |
2017-05-12 Than McIntosh <[email protected]> |
| 778 |
|
| 779 |
* go-gcc.cc (Gcc_backend::call_expression): Add caller parameter. |
| 780 |
|
| 781 |
2017-05-11 Ian Lance Taylor <[email protected]> |
| 782 |
|
| 783 |
PR go/64238 |
| 784 |
* go-gcc.cc (Gcc_backend::implicit_variable_reference): Set |
| 785 |
DECL_EXTERNAL, clear TREE_STATIC. |
| 786 |
|
| 787 |
2017-05-10 Than McIntosh <[email protected]> |
| 788 |
|
| 789 |
* go-backend.c: Include "go-c.h". |
| 790 |
* go-gcc.cc (Gcc_backend::write_export_data): New method. |
| 791 |
|
| 792 |
2017-05-10 Ian Lance Taylor <[email protected]> |
| 793 |
|
| 794 |
* go-gcc.cc (Gcc_backend::Gcc_backend): Declare |
| 795 |
__builtin_prefetch. |
| 796 |
* Make-lang.in (GO_OBJS): Add go/wb.o. |
| 797 |
|
| 798 |
2017-03-28 Than McIntosh <[email protected]> |
| 799 |
|
| 800 |
PR go/80226 |
| 801 |
* go-gcc.cc (Gcc_backend::return_statement): Check for |
| 802 |
void_type_node when checking result size. |
| 803 |
|
| 804 |
2017-02-20 Ian Lance Taylor <[email protected]> |
| 805 |
|
| 806 |
PR go/79642 |
| 807 |
* lang.opt (-fgo-relative-import-path): Change space to tab. |
| 808 |
|
| 809 |
2017-02-07 Richard Biener <[email protected]> |
| 810 |
|
| 811 |
PR tree-optimization/79256 |
| 812 |
PR middle-end/79278 |
| 813 |
* go-backend.c (go_field_alignment): Adjust. |
| 814 |
|
| 815 |
2017-01-11 Than McIntosh <[email protected]> |
| 816 |
|
| 817 |
* go-gcc.cc (conditional_expression): Add Bfunction parameter. |
| 818 |
|
| 819 |
2017-01-01 Jakub Jelinek <[email protected]> |
| 820 |
|
| 821 |
Update copyright years. |
| 822 |
|
| 823 |
* gccgo.texi: Bump @copyrights-go year. |
| 824 |
|
| 825 |
2016-12-16 Than McIntosh <[email protected]> |
| 826 |
|
| 827 |
* go-gcc.cc (Gcc_backend::expression_statement): Add Bfunction* |
| 828 |
parameter. |
| 829 |
(Gcc_backend::init_statement): Likewise. |
| 830 |
(Gcc_backend::assignment_statement): Likewise. |
| 831 |
(Gcc_backend::if_statement): Likewise. |
| 832 |
|
| 833 |
2016-12-06 Than McIntosh <[email protected]> |
| 834 |
|
| 835 |
* go-gcc.cc (Gcc_backend::var_expression): Add Varexpr_context |
| 836 |
parameter. |
| 837 |
|
| 838 |
2016-11-22 Than McIntosh <[email protected]> |
| 839 |
|
| 840 |
* go-gcc.cc (char_needs_encoding): Remove. |
| 841 |
(needs_encoding, fetch_utf8_char, encode_id): Remove. |
| 842 |
(Gcc_backend::global_variable): Add asm_name parameter. Don't |
| 843 |
compute asm_name here. |
| 844 |
(Gcc_backend::implicit_variable): Likewise. |
| 845 |
(Gcc_backend::implicit_variable_reference): Likewise. |
| 846 |
(Gcc_backend::immutable_struct): Likewise. |
| 847 |
(Gcc_backend::immutable_struct_reference): Likewise. |
| 848 |
* Make-lang.in (GO_OBJS): Add go/go-encode-id.o. |
| 849 |
|
| 850 |
2016-11-22 Ian Lance Taylor <[email protected]> |
| 851 |
|
| 852 |
* go-gcc.cc (Gcc_backend::Gcc_backend): Add builtin function |
| 853 |
__builtin_frame_address. |
| 854 |
|
| 855 |
2016-10-25 David Malcolm <[email protected]> |
| 856 |
|
| 857 |
* go-lang.c (go_langhook_type_for_mode): Remove redundant cast |
| 858 |
from result of GET_MODE_CLASS. Minor formatting fixes. |
| 859 |
|
| 860 |
2016-10-13 Thomas Preud'homme <[email protected]> |
| 861 |
|
| 862 |
* go-backend.c: Include memmodel.h. |
| 863 |
|
| 864 |
2016-10-10 Than McIntosh <[email protected]> |
| 865 |
|
| 866 |
* go-gcc.h: New file. |
| 867 |
* go-c.h (struct go_create_gogo_args): Add backend and linemap |
| 868 |
fields. |
| 869 |
* go-lang.c: Include "go-gcc.h". |
| 870 |
(go_langhook_init): Set linemap and backend fields of args. |
| 871 |
* go-gcc.cc: Include "go-gcc.h". |
| 872 |
* go-linemap.cc: Include "go-gcc.h". |
| 873 |
|
| 874 |
2016-10-10 Than McIntosh <[email protected]> |
| 875 |
|
| 876 |
* go-linemap.cc (Gcc_linemap::location_line): New method. |
| 877 |
|
| 878 |
2016-10-10 Eric Botcazou <[email protected]> |
| 879 |
|
| 880 |
* config-lang.in (lang_requires_boot_languages): Delete. |
| 881 |
|
| 882 |
2016-10-06 Chris Manghane <[email protected]> |
| 883 |
|
| 884 |
* go-gcc.cc (Gcc_backend::stack_allocation_expression): Clear the |
| 885 |
returned memory. |
| 886 |
|
| 887 |
2016-09-27 Than McIntosh <[email protected]> |
| 888 |
|
| 889 |
* go-linemap.cc (Gcc_linemap::to_string): New method. |
| 890 |
|
| 891 |
2016-09-23 Than McIntosh <[email protected]> |
| 892 |
|
| 893 |
* go-gcc-diagnostics.cc: New file. |
| 894 |
* go-location.h (Location): Remove operator source_location. Add |
| 895 |
operator==. |
| 896 |
* go-system.h: #include <sstream>. |
| 897 |
* Make-lang.in (GO_OBJS): Add go/go-diagnostics.o and |
| 898 |
go/go-gcc-diagnostics.o. |
| 899 |
(CFLAGS-go/go-gcc-diagnostics.o): New variable. |
| 900 |
|
| 901 |
2016-09-23 Chris Manghane <[email protected]> |
| 902 |
|
| 903 |
PR go/77701 |
| 904 |
* go-gcc.cc (Gcc_backend::Gcc_backend): Fix calls to integer_type |
| 905 |
to pass arguments in the correct order. |
| 906 |
|
| 907 |
2016-09-22 Ian Lance Taylor <[email protected]> |
| 908 |
|
| 909 |
* go-gcc.cc (Gcc_backend::Gcc_backend): Declare |
| 910 |
__builtin_frame_address. |
| 911 |
|
| 912 |
2016-09-11 Ian Lance Taylor <[email protected]> |
| 913 |
|
| 914 |
* go-gcc.cc (Gcc_backend::Gcc_backend): Add builtin versions of |
| 915 |
ctz, ctzll, bswap32, bswap64. |
| 916 |
|
| 917 |
2016-09-10 Ian Lance Taylor <[email protected]> |
| 918 |
|
| 919 |
* go-backend.c (go_trampoline_info): Remove. |
| 920 |
* go-c.h (go_trampoline_info): Don't declare. |
| 921 |
|
| 922 |
2016-09-09 Than McIntosh <[email protected]> |
| 923 |
|
| 924 |
* go-sha1.cc: New file. |
| 925 |
* Make-lang.in (GO_OBJS): Add go/go-sha1.o. |
| 926 |
(CFLAGS-go/go-sha1.o): New variable. |
| 927 |
|
| 928 |
2016-08-29 Ian Lance Taylor <[email protected]> |
| 929 |
|
| 930 |
* lang.opt (fgo-c-header, fgo-compiling-runtime): New options. |
| 931 |
* go-c.h (struct go_create_gogo_args): Define. |
| 932 |
(go_create_gogo): Change declaration to take struct pointer. |
| 933 |
* go-lang.c (go_c_header): New static variable. |
| 934 |
(go_langhook_init): Update call to go_create_gogo. |
| 935 |
* gccgo.texi (Invoking gccgo): Document -fgo-c-header and |
| 936 |
-fgo-compiling-runtime. |
| 937 |
|
| 938 |
2016-08-09 Ian Lance Taylor <[email protected]> |
| 939 |
|
| 940 |
* gccgo.texi (Invoking gccgo): Document -fgo-optimize-allocs and |
| 941 |
-fgo-debug-escae. |
| 942 |
(Compiler Directives): New chapter. |
| 943 |
(Function Names): Describe using //go:linkname. Suggest using |
| 944 |
-fgo-pkgpath rather than -fgo-prefix. |
| 945 |
|
| 946 |
2016-08-08 Ian Lance Taylor <[email protected]> |
| 947 |
|
| 948 |
PR go/72814 |
| 949 |
* go-gcc.cc (Gcc_backend::function_type): If the return type is |
| 950 |
zero bytes, treat the function as returning void. |
| 951 |
(return_statement): If the return type is zero bytes, don't |
| 952 |
actually return any values. |
| 953 |
|
| 954 |
2016-08-05 Ian Lance Taylor <[email protected]> |
| 955 |
|
| 956 |
PR go/72812 |
| 957 |
* go-gcc.cc (char_needs_encoding): New static function. |
| 958 |
(needs_encoding, fetch_utf8_char): New static functions. |
| 959 |
(encode_id): New static function. |
| 960 |
(Gcc_backend::global_variable): Set asm name if the name is not |
| 961 |
simple ASCII. |
| 962 |
(Gcc_backend::implicit_variable): Likewise. |
| 963 |
(Gcc_backend::implicit_variable_reference): Likewise. |
| 964 |
(Gcc_backend::immutable_struct): Likewise. |
| 965 |
(Gcc_backend::immutable_struct_reference): Likewise. |
| 966 |
(Gcc_backend::function): Likewise. |
| 967 |
|
| 968 |
2016-08-02 Chris Manghane <[email protected]> |
| 969 |
|
| 970 |
* lang.opt: Add -fgo-debug-escape option. |
| 971 |
* go-c.h (go_create_gogo): Add debug_escape_level parameter. |
| 972 |
* go-lang.c (go_langhook_init): Pass go_debug_escape_level to |
| 973 |
go_create_gogo. |
| 974 |
|
| 975 |
2016-05-06 Chris Manghane <[email protected]> |
| 976 |
|
| 977 |
* Make-lang.in (GO_OBJS): Add go/escape.o (based on an entirely |
| 978 |
new escape.cc). |
| 979 |
|
| 980 |
2016-04-29 Chris Manghane <[email protected]> |
| 981 |
|
| 982 |
* Make-lang.in (GO_OBJS): Remove go/dataflow.o, go/escape.o. |
| 983 |
|
| 984 |
2016-04-18 Michael Matz <[email protected]> |
| 985 |
|
| 986 |
* go-gcc.cc (Gcc_backend::implicit_variable): Use SET_DECL_ALIGN. |
| 987 |
|
| 988 |
2016-02-12 Jakub Jelinek <[email protected]> |
| 989 |
|
| 990 |
* gofrontend/lex.cc: Spelling fixes - behaviour -> behavior and |
| 991 |
neighbour -> neighbor. |
| 992 |
* gccgo.texi: Likewise. |
| 993 |
|
| 994 |
2016-01-27 Ian Lance Taylor <[email protected]> |
| 995 |
|
| 996 |
* go-lang.c (go_langhook_init_options_struct): Default to |
| 997 |
-fkeep-gc-roots-live. |
| 998 |
|
| 999 |
2016-01-04 Jakub Jelinek <[email protected]> |
| 1000 |
|
| 1001 |
Update copyright years. |
| 1002 |
|
| 1003 |
* gccgo.texi: Bump @copyrights-go year. |
| 1004 |
|
| 1005 |
2015-12-21 Ian Lance Taylor <[email protected]> |
| 1006 |
|
| 1007 |
* go-gcc.cc (class Bvariable): Remove Gcc_tree parent class. Add |
| 1008 |
t_ and orig_type_ fields. Add new two parameter constructor. Add |
| 1009 |
get_tree and get_decl methods. |
| 1010 |
(Gcc_backend::var_expression): Pass location to var get_tree. |
| 1011 |
(Gcc_backend::global_variable): Don't add VIEW_CONVERT_EXPR. Use |
| 1012 |
two parameter constructor for Bvariable. |
| 1013 |
(Gcc_backend::global_variable_set_init): Don't remove |
| 1014 |
VIEW_CONVERT_EXPR. Use var get_decl, not get_tree. |
| 1015 |
(Gcc_backend::write_global_definitions): Likewise. |
| 1016 |
(Gcc_backend::init_statement): Call var get_decl, not get_tree. |
| 1017 |
(Gcc_backend::block): Likewise. |
| 1018 |
(Gcc_backend::implicit_variable_set_init): Likewise. |
| 1019 |
(Gcc_backend::immutable_struct_set_init): Likewise. |
| 1020 |
(Gcc_backend::function_set_parameters): Likewise. |
| 1021 |
|
| 1022 |
2015-12-21 Ian Lance Taylor <[email protected]> |
| 1023 |
|
| 1024 |
* go-gcc.cc (Gcc_backend::global_variable): If type is zero-sized, |
| 1025 |
add a VIEW_CONVERT_EXPR to the tree. |
| 1026 |
(Gcc_backend::global_variable_set_init): Remove any |
| 1027 |
VIEW_CONVERT_EXPR. |
| 1028 |
(Gcc_backend::write_global_definitions): Likewise. |
| 1029 |
|
| 1030 |
2015-11-30 Ian Lance Taylor <[email protected]> |
| 1031 |
|
| 1032 |
PR go/68477 |
| 1033 |
* go-gcc.cc (Gcc_backend::string_constant_expression): Don't set |
| 1034 |
TYPE_STRING_FLAG on a variant type. |
| 1035 |
|
| 1036 |
2015-11-11 Andrew MacLeod <[email protected]> |
| 1037 |
|
| 1038 |
* go-backend.c: Remove unused header files. |
| 1039 |
* go-gcc.cc: Likewise. |
| 1040 |
* go-lang.c: Likewise. |
| 1041 |
* gospec.c: Likewise. |
| 1042 |
|
| 1043 |
2015-10-29 Andrew MacLeod <[email protected]> |
| 1044 |
|
| 1045 |
* go-backend.c: Reorder #include's and remove duplicates. |
| 1046 |
* go-lang.c: Likewise. |
| 1047 |
|
| 1048 |
2015-10-20 Alan Modra <[email protected]> |
| 1049 |
|
| 1050 |
PR go/66870 |
| 1051 |
* gospec.c (saw_opt_m32): Rename to.. |
| 1052 |
(is_m64): ..this, initialised by TARGET_CAN_SPLIT_STACK_64BIT. |
| 1053 |
Update uses. |
| 1054 |
(lang_specific_driver): Set is_m64 if OPT_m64, clear if OPT_m32. |
| 1055 |
|
| 1056 |
2015-10-01 Ian Lance Taylor <[email protected]> |
| 1057 |
|
| 1058 |
PR go/66870 |
| 1059 |
* gospec.c (lang_specific_driver): Only look for OPT_m32 if |
| 1060 |
TARGET_CAN_SPLIT_STACK_64BIT is defined. |
| 1061 |
|
| 1062 |
2015-10-01 Lynn Boger <[email protected]> |
| 1063 |
|
| 1064 |
PR target/66870 |
| 1065 |
* gospec.c (lang_specific_driver): Set appropriate split stack |
| 1066 |
options for 64 bit compiles based on TARGET_CAN_SPLIT_STACK_64BIT. |
| 1067 |
|
| 1068 |
2015-09-10 Chris Manghane <[email protected]> |
| 1069 |
|
| 1070 |
* go-gcc.cc (Gcc_backend::type_size): Return -1 for |
| 1071 |
unrepresentable size. |
| 1072 |
|
| 1073 |
2015-08-24 Marek Polacek <[email protected]> |
| 1074 |
|
| 1075 |
PR tree-optimization/67284 |
| 1076 |
* go-gcc.cc (Gcc_backend::define_builtin): Add NORETURN_P parameter. |
| 1077 |
Set TREE_THIS_VOLATILE. |
| 1078 |
(Gcc_backend::Gcc_backend): Mark __builtin_trap as a noreturn call. |
| 1079 |
Pass false to the rest of define_builtin calls. |
| 1080 |
|
| 1081 |
2015-07-31 Andreas Schwab <[email protected]> |
| 1082 |
|
| 1083 |
* go-lang.c (go_langhook_init_options_struct): Don't set |
| 1084 |
x_flag_split_stack. |
| 1085 |
(go_langhook_post_options): Set it here instead. |
| 1086 |
|
| 1087 |
2015-07-12 Aldy Hernandez <[email protected]> |
| 1088 |
|
| 1089 |
* gofrontend/backend.h: Fix double word typos. |
| 1090 |
* gofrontend/expressions.cc: Same. |
| 1091 |
* gospec.c: Same. |
| 1092 |
|
| 1093 |
2015-07-07 Andrew MacLeod <[email protected]> |
| 1094 |
|
| 1095 |
* go-backend.c: Adjust includes. |
| 1096 |
* go-gcc.cc: Likewise. |
| 1097 |
* go-lang.c: Likewise. |
| 1098 |
|
| 1099 |
2015-06-25 Andrew MacLeod <[email protected]> |
| 1100 |
|
| 1101 |
* go-gcc.cc: Remove ipa-ref.h and plugin-api.h from include list. |
| 1102 |
|
| 1103 |
2015-06-17 Andrew MacLeod <[email protected]> |
| 1104 |
|
| 1105 |
* go-backend.c: Do not include input.h, line-map.h or is-a.h. |
| 1106 |
* go-gcc.cc: Likewise. |
| 1107 |
* go-lang.c: Likewise. |
| 1108 |
* go-system.h: Likewise. |
| 1109 |
|
| 1110 |
2015-06-08 Andrew MacLeod <[email protected]> |
| 1111 |
|
| 1112 |
* go-backend.c : Adjust include files. |
| 1113 |
* go-gcc.cc : Likewise. |
| 1114 |
* go-lang.c : Likewise. |
| 1115 |
|
| 1116 |
2015-06-05 Aldy Hernandez <[email protected]> |
| 1117 |
|
| 1118 |
* go-gcc.cc (write_global_definitions): Remove call to |
| 1119 |
finalize_compilation_unit. |
| 1120 |
Remove Go specific debug generation. |
| 1121 |
* go-lang.c (go_langhook_parse_file): Call go_write_globals. |
| 1122 |
(go_langhook_write_globals): Remove. |
| 1123 |
Remove LANG_HOOKS_WRITE_GLOBALS everywhere. |
| 1124 |
|
| 1125 |
2015-06-04 Andrew MacLeod <[email protected]> |
| 1126 |
|
| 1127 |
* go-backend.c: Adjust includes for restructured coretypes.h. |
| 1128 |
* go-c.h: Likewise. |
| 1129 |
* go-gcc.cc: Likewise. |
| 1130 |
* go-lang.c: Likewise. |
| 1131 |
|
| 1132 |
2015-04-30 Chris Manghane <[email protected]> |
| 1133 |
|
| 1134 |
* go-gcc.cc (Gcc_backend::stack_allocation_expression): New |
| 1135 |
method. |
| 1136 |
|
| 1137 |
2015-04-27 Jim Wilson <[email protected]> |
| 1138 |
|
| 1139 |
* Make-lang.in (go.mostlyclean): Remove gccgo, gccgo-cross, and go1. |
| 1140 |
|
| 1141 |
2015-04-17 Chris Manghane <[email protected]> |
| 1142 |
|
| 1143 |
* Make-lang.in (GO_OBJS): Add go/escape.o. |
| 1144 |
|
| 1145 |
2015-02-02 Ian Lance Taylor <[email protected]> |
| 1146 |
|
| 1147 |
PR go/64836 |
| 1148 |
PR go/64838 |
| 1149 |
* go-gcc.cc (Gcc_backend::type_size): Change return type to |
| 1150 |
int64_t. |
| 1151 |
(Gcc_backend::type_alignment): Likewise. |
| 1152 |
(Gcc_backend::type_field_alignment): Likewise. |
| 1153 |
(Gcc_backend::type_field_offset): Likewise. |
| 1154 |
(Gcc_backend::implicit_variable): Change alignment parameter type |
| 1155 |
to int64_t. |
| 1156 |
|
| 1157 |
2015-01-23 Ian Lance Taylor <[email protected]> |
| 1158 |
|
| 1159 |
PR go/63565 |
| 1160 |
* gccgo.texi (Invoking gccgo): Mention that Go programs should not |
| 1161 |
be stripped. |
| 1162 |
|
| 1163 |
* gccgo.texi (C Interoperability): Mention that people should use |
| 1164 |
cgo. |
| 1165 |
|
| 1166 |
2015-01-23 Ian Lance Taylor <[email protected]> |
| 1167 |
|
| 1168 |
PR go/64595 |
| 1169 |
* go-lang.c (go_langhook_init_options_struct): Set default |
| 1170 |
debug_info_level. |
| 1171 |
(go_langhook_post_options): If debug_info_level is still the |
| 1172 |
default, make sure write_symbols is set. |
| 1173 |
* gccgo.texi (Invoking gccgo): Document that -g1 is the default. |
| 1174 |
|
| 1175 |
2015-01-16 Richard Henderson <[email protected]> |
| 1176 |
|
| 1177 |
* go-gcc.cc (Gcc_backend::call_expression): Add chain_expr argument. |
| 1178 |
(Gcc_backend::static_chain_variable): New method. |
| 1179 |
|
| 1180 |
2015-01-09 Ian Lance Taylor <[email protected]> |
| 1181 |
|
| 1182 |
* config-lang.in (lang_dirs): Define. |
| 1183 |
|
| 1184 |
2015-01-09 Michael Collison <[email protected]> |
| 1185 |
|
| 1186 |
* go-gcc.cc: Include hash-set.h, machmode.h, vec.h, double-int.h, |
| 1187 |
input.h, alias.h, symtab.h, options.h, fold-const.h, |
| 1188 |
wide-int.h, and inchash.h due to flattening of tree.h. |
| 1189 |
* go-lang.c: Ditto. |
| 1190 |
* go-backend.c: Ditto. |
| 1191 |
|
| 1192 |
2015-01-07 Chris Manghane <[email protected]> |
| 1193 |
|
| 1194 |
PR go/61204 |
| 1195 |
* go-gcc.cc (Gcc_backend::temporary_variable): Don't initialize |
| 1196 |
zero-sized variable. |
| 1197 |
|
| 1198 |
2015-01-06 Chris Manghane <[email protected]> |
| 1199 |
|
| 1200 |
* go-gcc.cc (Gcc_backend::constructor_expression): Don't |
| 1201 |
initialize zero-sized fields, just evaluate the values for side |
| 1202 |
effects. |
| 1203 |
|
| 1204 |
2015-01-05 Jakub Jelinek <[email protected]> |
| 1205 |
|
| 1206 |
Update copyright years. |
| 1207 |
|
| 1208 |
* gccgo.texi: Bump @copyrights-go year. |
| 1209 |
|
| 1210 |
2014-12-19 Chris Manghane <[email protected]> |
| 1211 |
|
| 1212 |
* go-gcc.cc (Gcc_backend::array_constructor_expression): Don't |
| 1213 |
construct arrays of zero-sized values. |
| 1214 |
|
| 1215 |
2014-10-29 Richard Sandiford <[email protected]> |
| 1216 |
|
| 1217 |
* go-lang.c: Remove redundant enum from machine_mode. |
| 1218 |
|
| 1219 |
2014-10-28 Andrew MacLeod <[email protected]> |
| 1220 |
|
| 1221 |
* go-gcc.cc: Adjust include files. |
| 1222 |
|
| 1223 |
2014-10-27 Andrew MacLeod <[email protected]> |
| 1224 |
|
| 1225 |
* go-gcc.cc: Adjust include files. |
| 1226 |
* go-lang.c: Ditto. |
| 1227 |
|
| 1228 |
2014-10-23 Ian Lance Taylor <[email protected]> |
| 1229 |
|
| 1230 |
* go-gcc.cc (Gcc_backend::complex_constant_expression): Take one |
| 1231 |
mpc_t parameter instead of two mpfr_t parameters. |
| 1232 |
|
| 1233 |
2014-09-15 Jakub Jelinek <[email protected]> |
| 1234 |
|
| 1235 |
* Make-lang.in (check_go_parallelize): Change to just an upper bound |
| 1236 |
number. |
| 1237 |
|
| 1238 |
2014-09-03 Chris Manghane <[email protected]> |
| 1239 |
|
| 1240 |
* go-gcc.cc (Gcc_backend::implicit_variable): Remove init |
| 1241 |
parameter. Add is_hidden parameter. |
| 1242 |
(Gcc_backend::implicit_variable_set_init): New method. |
| 1243 |
(Gcc_backend::implicit_variable_reference): New method. |
| 1244 |
|
| 1245 |
2014-08-08 Ian Lance Taylor <[email protected]> |
| 1246 |
|
| 1247 |
* go-gcc.cc (Gcc_backend::compound_statement): Don't return |
| 1248 |
NULL_TREE. |
| 1249 |
|
| 1250 |
2014-07-24 Uros Bizjak <[email protected]> |
| 1251 |
|
| 1252 |
* go-gcc.cc (Gcc_backend::global_variable_set_init): Rename |
| 1253 |
symtab_get_node to symtab_node::get. |
| 1254 |
|
| 1255 |
2014-06-13 Ian Lance Taylor <[email protected]> |
| 1256 |
|
| 1257 |
PR go/61496 |
| 1258 |
* gospec.c (lang_specific_driver): On Solaris, when not using GNU |
| 1259 |
ld, add -t option to avoid warning about common symbol changing |
| 1260 |
size. |
| 1261 |
|
| 1262 |
2014-06-10 Jan Hubicka <[email protected]> |
| 1263 |
|
| 1264 |
* go-gcc.cc (Gcc_backend::global_variable_set_init): Use |
| 1265 |
symtab_get_node(var_decl)->implicit_section. |
| 1266 |
|
| 1267 |
2014-06-07 Jan Hubicka <[email protected]> |
| 1268 |
|
| 1269 |
* go-gcc.cc (global_variable_set_init): Use |
| 1270 |
set_decl_section_name. |
| 1271 |
|
| 1272 |
2014-06-04 Ian Lance Taylor <[email protected]> |
| 1273 |
|
| 1274 |
* go-gcc.cc (Gcc_backend::implicit_variable): Add is_common and |
| 1275 |
alignment parameters. Permit init parameter to be NULL. |
| 1276 |
|
| 1277 |
2014-06-02 Andrew MacLeod <[email protected]> |
| 1278 |
|
| 1279 |
* go-gcc.cc: Include builtins.h. |
| 1280 |
|
| 1281 |
2014-05-17 Trevor Saunders <[email protected]> |
| 1282 |
|
| 1283 |
* go-lang.c (struct GTY): Don't use variable_size gty attribute. |
| 1284 |
|
| 1285 |
2014-05-06 Chris Manghane <[email protected]> |
| 1286 |
|
| 1287 |
* go-gcc.cc (Gcc_backend::nil_pointer_expression): New method. |
| 1288 |
(Gcc_backend::boolean_constant_expression): New method. |
| 1289 |
(Gcc_backend::zero_expression): Use this->make_expression rather |
| 1290 |
than tree_to_expr. |
| 1291 |
(Gcc_backend::var_expression): Likewise. |
| 1292 |
(Gcc_backend::integer_constant_expression): Likewise. |
| 1293 |
(Gcc_backend::float_constant_expression): Likewise. |
| 1294 |
(Gcc_backend::complex_constant_expression): Likewise. |
| 1295 |
(Gcc_backend::struct_field_expression): Likewise. |
| 1296 |
(tree_to_type, tree_to_expr, tree_to_stat): Remove functions. |
| 1297 |
(tree_to_function, tree_to_block): Remove functions. |
| 1298 |
(type_to_tree, expr_to_tree, stat_to_tree): Remove functions. |
| 1299 |
(block_to_tree, var_to_tree, function_to_tree): Remove functions. |
| 1300 |
|
| 1301 |
2014-05-06 Kenneth Zadeck <[email protected]> |
| 1302 |
Mike Stump <[email protected]> |
| 1303 |
Richard Sandiford <[email protected]> |
| 1304 |
|
| 1305 |
* go-gcc.cc (Gcc_backend::type_size): Use tree_fits_uhwi_p. |
| 1306 |
|
| 1307 |
2014-05-06 Chris Manghane <[email protected]> |
| 1308 |
|
| 1309 |
* go-c.h (go_create_gogo): Update declaration to add |
| 1310 |
check_divide_zero and check_divide_overflow parameters. |
| 1311 |
* go-lang.c (go_langhook_init): Pass new arguments to |
| 1312 |
go_create_gogo. |
| 1313 |
|
| 1314 |
2014-05-05 Chris Manghane <[email protected]> |
| 1315 |
|
| 1316 |
* go-gcc.cc (Gcc_backend::implicit_variable): Rename from |
| 1317 |
gc_root_variable. Add name and is_constant parameters. |
| 1318 |
|
| 1319 |
2014-05-05 Chris Manghane <[email protected]> |
| 1320 |
|
| 1321 |
* go-gcc.cc (Gcc_backend::indirect_expression): Add btype |
| 1322 |
parameter. |
| 1323 |
(Gcc_backend::temporary_variable): Check for erroneous function. |
| 1324 |
|
| 1325 |
2014-04-30 Chris Manghane <[email protected]> |
| 1326 |
|
| 1327 |
* go-backend.c: #include "diagnostics.h". |
| 1328 |
(saw_errors): New function. |
| 1329 |
* go-c.h (saw_errors): Declare. |
| 1330 |
* Make-lang.in (GO_OBJS): Remove go/gogo-tree.o. |
| 1331 |
|
| 1332 |
2014-04-30 Chris Manghane <[email protected]> |
| 1333 |
|
| 1334 |
* go-lang.c (go_langhook_type_for_size): Do it here, rather than |
| 1335 |
calling into Go frontend. |
| 1336 |
(go_langhook_type_for_mode): Likewise. |
| 1337 |
* go-c.h (go_type_for_size, go_type_for_mode): Don't declare. |
| 1338 |
|
| 1339 |
2014-04-30 Chris Manghane <[email protected]> |
| 1340 |
|
| 1341 |
* go-gcc.cc: #include "langhooks.h". |
| 1342 |
(Gcc_backend::Gcc_backend): Add constructor. |
| 1343 |
(Gcc_backend::lookup_function): New function. |
| 1344 |
(Gcc_backend::define_builtin): New private function. |
| 1345 |
(Gcc_backend::gcc_backend): Remove. |
| 1346 |
(go_get_backend): Use new to create new Gcc_backend. |
| 1347 |
|
| 1348 |
2014-04-25 Chris Manghane <[email protected]> |
| 1349 |
|
| 1350 |
* go-gcc.cc: Include "cgraph.h" and "gimplify.h". |
| 1351 |
(Gcc_backend::return_statement): Push and pop function. |
| 1352 |
(Gcc_backend::label): Likewise. |
| 1353 |
(Gcc_backend::function_defer_statement): Likewise. |
| 1354 |
(Gcc_backend::switch_statement): Add function parameter. |
| 1355 |
(Gcc_backend::block): Don't permit function to be NULL. |
| 1356 |
(Gcc_backend::temporary_variable): Change go_assert to |
| 1357 |
gcc_assert. |
| 1358 |
(Gcc_backend::gc_root_variable): New function. |
| 1359 |
(Gcc_backend::write_global_definitions): New function. |
| 1360 |
|
| 1361 |
2014-04-22 Chris Manghane <[email protected]> |
| 1362 |
|
| 1363 |
* go-gcc.cc (Gcc_backend::temporary_variable): Push cfun around |
| 1364 |
call to create_tmp_var. Require that function be non-NULL. |
| 1365 |
|
| 1366 |
2014-04-17 Chris Manghane <[email protected]> |
| 1367 |
|
| 1368 |
* go-gcc.cc (Gcc_backend::named_constant_expression): New |
| 1369 |
function. |
| 1370 |
|
| 1371 |
2014-04-14 Chris Manghane <[email protected]> |
| 1372 |
|
| 1373 |
* go-gcc.cc: Include "convert.h". |
| 1374 |
(Gcc_backend::string_constant_expression): New function. |
| 1375 |
(Gcc_backend::real_part_expression): Likewise. |
| 1376 |
(Gcc_backend::imag_part_expression): Likewise. |
| 1377 |
(Gcc_backend::complex_expression): Likewise. |
| 1378 |
(Gcc_backend::constructor_expression): Likewise. |
| 1379 |
(Gcc_backend::array_constructor_expression): Likewise. |
| 1380 |
(Gcc_backend::pointer_offset_expression): Likewise. |
| 1381 |
(Gcc_backend::array_index_expression): Likewise. |
| 1382 |
(Gcc_backend::call_expression): Likewise. |
| 1383 |
(Gcc_backend::exception_handler_statement): Likewise. |
| 1384 |
(Gcc_backend::function_defer_statement): Likewise. |
| 1385 |
(Gcc_backend::function_set_parameters): Likewise. |
| 1386 |
(Gcc_backend::function_set_body): Likewise. |
| 1387 |
(Gcc_backend::convert_expression): Handle various type |
| 1388 |
conversions. |
| 1389 |
|
| 1390 |
2014-03-03 Ian Lance Taylor <[email protected]> |
| 1391 |
|
| 1392 |
* go-gcc.cc (Gcc_backend::immutable_struct): If IS_COMMON, set |
| 1393 |
DECL_WEAK. |
| 1394 |
(GCC_backend::immutable_struct_set_init): If IS_COMMON, clear |
| 1395 |
DECL_WEAK. |
| 1396 |
|
| 1397 |
2014-01-24 Chris Manghane <[email protected]> |
| 1398 |
|
| 1399 |
* go-gcc.cc (Gcc_backend::unary_expression): New function. |
| 1400 |
|
| 1401 |
2014-01-16 Chris Manghane <[email protected]> |
| 1402 |
|
| 1403 |
* go-gcc.cc (Gcc_backend::conditional_expression): Add btype |
| 1404 |
parameter. |
| 1405 |
(operator_to_tree_code): New static function. |
| 1406 |
(Gcc_backend::binary_expression): New function. |
| 1407 |
|
| 1408 |
2014-01-14 Chris Manghane <[email protected]> |
| 1409 |
|
| 1410 |
* go-gcc.cc (Gcc_backend::compound_expression): New function. |
| 1411 |
(Gcc_backend::conditional_expression): New function. |
| 1412 |
|
| 1413 |
2014-01-02 Richard Sandiford <[email protected]> |
| 1414 |
|
| 1415 |
Update copyright years |
| 1416 |
|
| 1417 |
2014-01-02 Tobias Burnus <[email protected]> |
| 1418 |
|
| 1419 |
* gccgo.texi: Bump @copying's copyright year. |
| 1420 |
|
| 1421 |
2013-12-16 Chris Manghane <[email protected]> |
| 1422 |
|
| 1423 |
* go-gcc.cc (Gcc_backend::struct_field_expression): New function. |
| 1424 |
|
| 1425 |
2013-12-11 Ian Lance Taylor <[email protected]> |
| 1426 |
|
| 1427 |
* go-lang.c (go_langhook_post_options): Disable sibling calls by |
| 1428 |
default. |
| 1429 |
|
| 1430 |
2013-12-10 Ian Lance Taylor <[email protected]> |
| 1431 |
|
| 1432 |
* Make-lang.in (check_go_parallelize): Test go-test.exp r* tests |
| 1433 |
separately. |
| 1434 |
|
| 1435 |
2013-12-05 Ian Lance Taylor <[email protected]> |
| 1436 |
|
| 1437 |
Revert this change; no longer required. |
| 1438 |
2013-11-06 Ian Lance Taylor <[email protected]> |
| 1439 |
|
| 1440 |
* go-lang.c (go_langhook_post_options): If |
| 1441 |
-fisolate-erroneous-paths was turned on by an optimization option, |
| 1442 |
turn it off. |
| 1443 |
|
| 1444 |
2013-11-23 Ian Lance Taylor <[email protected]> |
| 1445 |
|
| 1446 |
* go-gcc.cc (Gcc_backend::function_type): Add result_struct |
| 1447 |
parameter. |
| 1448 |
|
| 1449 |
2013-11-22 Andrew MacLeod <[email protected]> |
| 1450 |
|
| 1451 |
* go-gcc.cc: Add required include files from gimple.h. |
| 1452 |
* go-lang.c: Likewise. |
| 1453 |
|
| 1454 |
2013-11-18 Richard Sandiford <[email protected]> |
| 1455 |
|
| 1456 |
* gofrontend/expressions.cc: Replace tree_low_cst (..., 0) with |
| 1457 |
tree_to_shwi throughout. |
| 1458 |
|
| 1459 |
2013-11-18 Richard Sandiford <[email protected]> |
| 1460 |
|
| 1461 |
* gofrontend/expressions.cc: Replace host_integerp (..., 0) with |
| 1462 |
tree_fits_shwi_p throughout. |
| 1463 |
|
| 1464 |
2013-11-14 Andrew MacLeod <[email protected]> |
| 1465 |
|
| 1466 |
* go-lang.c: Include only gimplify.h and gimple.h as needed. |
| 1467 |
|
| 1468 |
2013-11-14 Diego Novillo <[email protected]> |
| 1469 |
|
| 1470 |
* go-backend.c: Include stor-layout.h. |
| 1471 |
* go-gcc.cc: Include stringpool.h. |
| 1472 |
Include stor-layout.h. |
| 1473 |
Include varasm.h. |
| 1474 |
* go-lang.c: Include stor-layout.h. |
| 1475 |
|
| 1476 |
2013-11-12 Andrew MacLeod <[email protected]> |
| 1477 |
|
| 1478 |
* go-lang.c: Include gimplify.h. |
| 1479 |
|
| 1480 |
2013-11-06 Ian Lance Taylor <[email protected]> |
| 1481 |
|
| 1482 |
* go-lang.c (go_langhook_post_options): If |
| 1483 |
-fisolate-erroneous-paths was turned on by an optimization option, |
| 1484 |
turn it off. |
| 1485 |
|
| 1486 |
2013-10-14 Chris Manghane <[email protected]> |
| 1487 |
|
| 1488 |
* go-gcc.cc (Gcc_backend::address_expression): New function. |
| 1489 |
|
| 1490 |
2013-10-11 Chris Manghane <[email protected]> |
| 1491 |
|
| 1492 |
* go-gcc.cc (Gcc_backend::function_code_expression): New |
| 1493 |
function. |
| 1494 |
|
| 1495 |
2013-10-10 Chris Manghane <[email protected]> |
| 1496 |
|
| 1497 |
* go-gcc.cc (Gcc_backend::error_function): New function. |
| 1498 |
(Gcc_backend::function): New function. |
| 1499 |
(Gcc_backend::make_function): New function. |
| 1500 |
(function_to_tree): New function. |
| 1501 |
|
| 1502 |
2013-10-04 Chris Manghane <[email protected]> |
| 1503 |
|
| 1504 |
* go-gcc.cc (Gcc_backend::convert_expression): New function. |
| 1505 |
|
| 1506 |
2013-10-02 Chris Manghane <[email protected]> |
| 1507 |
|
| 1508 |
* go-gcc.cc: Include "real.h" and "realmpfr.h". |
| 1509 |
(Gcc_backend::integer_constant_expression): New function. |
| 1510 |
(Gcc_backend::float_constant_expression): New function. |
| 1511 |
(Gcc_backend::complex_constant_expression): New function. |
| 1512 |
|
| 1513 |
2013-09-30 Chris Manghane <[email protected]> |
| 1514 |
|
| 1515 |
* go-gcc.cc (Gcc_backend::error_expression): New function. |
| 1516 |
(Gcc_backend::var_expression): New function. |
| 1517 |
(Gcc_backend::indirect_expression): New function. |
| 1518 |
|
| 1519 |
2013-09-25 Tom Tromey <[email protected]> |
| 1520 |
|
| 1521 |
* Make-lang.in (gospec.o): Remove. |
| 1522 |
(CFLAGS-go/gospec.o): New variable. |
| 1523 |
(GCCGO_OBJS): Update to use go/gospec.o. |
| 1524 |
(go_OBJS): Define. |
| 1525 |
(GO_SYSTEM_H, GO_C_H, GO_LINEMAP_H, GO_LEX_H, GO_PARSE_H) |
| 1526 |
(GO_GOGO_H, GO_TYPES_H, GO_STATEMENTS_H, GO_EXPRESSIONS_H) |
| 1527 |
(GO_EXPORT_H, GO_IMPORT_H, GO_RUNTIME_H, GO_AST_DUMP_H) |
| 1528 |
(go/go-backend.o, go/go-lang.o, go/go-gcc.o, go/go-linemap.o) |
| 1529 |
(go/ast-dump.o, go/dataflow.o, go/export.o, go/expressions.o) |
| 1530 |
(go/go.o, go/go-dump.o, go/go-optimize.o, go/gogo-tree.o) |
| 1531 |
(go/gogo.o, go/import.o, go/import-archive.o, go/lex.o) |
| 1532 |
(go/parse.o, go/runtime.o, go/statements.o, go/types.o) |
| 1533 |
(go/unsafe.o): Remove. |
| 1534 |
(CFLAGS-go/go-gcc.o, CFLAGS-go/go-linemap.o): New variables. |
| 1535 |
(go/%.o: go/gofrontend/%.cc): Use COMPILE and POSTCOMPILE. |
| 1536 |
|
| 1537 |
2013-09-25 Tom Tromey <[email protected]> |
| 1538 |
|
| 1539 |
* Make-lang.in (gospec.o): Don't use subshell. |
| 1540 |
|
| 1541 |
2013-08-28 Ian Lance Taylor <[email protected]> |
| 1542 |
|
| 1543 |
* go-gcc.cc (Gcc_backend::immutable_struct): Set TREE_PUBLIC if |
| 1544 |
the struct is not hidden. |
| 1545 |
(Gcc_backend::immutable_struct_set_init): Don't set TREE_PUBLIC. |
| 1546 |
|
| 1547 |
2013-08-06 Ian Lance Taylor <[email protected]> |
| 1548 |
|
| 1549 |
* go-gcc.cc (Gcc_backend::immutable_struct_set_init): Use |
| 1550 |
compute_reloc_for_constant. |
| 1551 |
|
| 1552 |
2013-08-02 Ian Lance Taylor <[email protected]> |
| 1553 |
|
| 1554 |
* go-gcc.cc (immutable_struct_set_init): Always call |
| 1555 |
resolve_unique_section. |
| 1556 |
|
| 1557 |
2013-07-24 Ian Lance Taylor <[email protected]> |
| 1558 |
|
| 1559 |
* go-gcc.cc (Gcc_backend::non_zero_size_type): If a struct has a |
| 1560 |
fields, recreate those fields with the first one with a non-zero |
| 1561 |
size. |
| 1562 |
|
| 1563 |
2013-07-23 Ian Lance Taylor <[email protected]> |
| 1564 |
|
| 1565 |
* go-backend.c: Don't #include "rtl.h". |
| 1566 |
(go_imported_unsafe): Don't call init_varasm_once. |
| 1567 |
* Make-lang.in (go/go-backend.o): Don't depend on $(RTL_H). |
| 1568 |
|
| 1569 |
2013-07-23 Ian Lance Taylor <[email protected]> |
| 1570 |
|
| 1571 |
* go-lang.c: Don't #include "except.h". |
| 1572 |
* Make-lang.in (go/go-lang.o): Don't depend on $(EXCEPT_H). |
| 1573 |
|
| 1574 |
2013-06-18 Ian Lance Taylor <[email protected]> |
| 1575 |
|
| 1576 |
* go-gcc.cc (Gcc_backend::immutable_struct): Add is_hidden |
| 1577 |
parameter. |
| 1578 |
(Gcc_backend::immutable_struct_set_init): Likewise. |
| 1579 |
|
| 1580 |
2013-05-16 Jason Merrill <[email protected]> |
| 1581 |
|
| 1582 |
* Make-lang.in (go1$(exeext)): Use link mutex. |
| 1583 |
|
| 1584 |
2013-01-16 Shenghou Ma <[email protected]> |
| 1585 |
|
| 1586 |
* gospec.c: pass -u pthread_create to linker when static linking. |
| 1587 |
|
| 1588 |
2012-12-21 Ian Lance Taylor <[email protected]> |
| 1589 |
|
| 1590 |
PR bootstrap/54659 |
| 1591 |
* go-system.h: Don't include <cstdio>. |
| 1592 |
|
| 1593 |
2012-12-18 Ian Lance Taylor <[email protected]> |
| 1594 |
|
| 1595 |
PR go/55201 |
| 1596 |
* gospec.c: Revert last patch. |
| 1597 |
|
| 1598 |
2012-12-18 Andreas Schwab <[email protected]> |
| 1599 |
|
| 1600 |
PR go/55201 |
| 1601 |
* gospec.c (LIBATOMIC): Define. |
| 1602 |
(LIBATOMIC_PROFILE): Define. |
| 1603 |
(lang_specific_driver): Add LIBATOMIC[_PROFILE] option. |
| 1604 |
|
| 1605 |
2012-11-29 Ian Lance Taylor <[email protected]> |
| 1606 |
|
| 1607 |
* go-gcc.cc: Include "output.h". |
| 1608 |
(global_variable): Add is_unique_section parameter. |
| 1609 |
(global_variable_set_init): Adjust unique section if necessary. |
| 1610 |
* Make-lang.in (go/go-gcc.o): Add dependency on output.h. |
| 1611 |
|
| 1612 |
2012-11-17 Diego Novillo <[email protected]> |
| 1613 |
|
| 1614 |
Adjust for new vec API (http://gcc.gnu.org/wiki/cxx-conversion/cxx-vec) |
| 1615 |
|
| 1616 |
* go-lang.c: Use new vec API in vec.h. |
| 1617 |
|
| 1618 |
2012-11-16 Ian Lance Taylor <[email protected]> |
| 1619 |
|
| 1620 |
* Make-lang.in (gccgo$(exeext)): Add + at start of command. |
| 1621 |
(go1$(exeext)): Likewise. |
| 1622 |
|
| 1623 |
2012-10-30 Ian Lance Taylor <[email protected]> |
| 1624 |
|
| 1625 |
* lang.opt (-fgo-relative-import-path): New option. |
| 1626 |
* go-lang.c (go_relative_import_path): New static variable. |
| 1627 |
(go_langhook_init): Pass go_relative_import_path to |
| 1628 |
go_create_gogo. |
| 1629 |
(go_langhook_handle_option): Handle -fgo-relative-import-path. |
| 1630 |
* go-c.h (go_create_gogo): Update declaration. |
| 1631 |
* gccgo.texi (Invoking gccgo): Document |
| 1632 |
-fgo-relative-import-path. |
| 1633 |
|
| 1634 |
2012-09-17 Ian Lance Taylor <[email protected]> |
| 1635 |
|
| 1636 |
* config-lang.in (target_libs): Add target-libbacktrace. |
| 1637 |
|
| 1638 |
2012-09-16 Ian Lance Taylor <[email protected]> |
| 1639 |
|
| 1640 |
* Make-lang.in (go/gogo.o): Depend on filenames.h. |
| 1641 |
|
| 1642 |
2012-08-14 Diego Novillo <[email protected]> |
| 1643 |
|
| 1644 |
Merge from cxx-conversion branch. Configury. |
| 1645 |
|
| 1646 |
* go-c.h: Remove all handlers of ENABLE_BUILD_WITH_CXX. |
| 1647 |
* go-gcc.cc: Likewise. |
| 1648 |
* go-system.h: Likewise. |
| 1649 |
|
| 1650 |
2012-07-24 Uros Bizjak <[email protected]> |
| 1651 |
|
| 1652 |
* go-lang.c (lang_decl): Add variable_size GTY option. |
| 1653 |
|
| 1654 |
2012-05-09 Ian Lance Taylor <[email protected]> |
| 1655 |
|
| 1656 |
* lang.opt: Add -fgo-pkgpath. |
| 1657 |
* go-lang.c (go_pkgpath): New static variable. |
| 1658 |
(go_prefix): New static variable. |
| 1659 |
(go_langhook_init): Pass go_pkgpath and go_prefix to |
| 1660 |
go_create_gogo. |
| 1661 |
(go_langhook_handle_option): Handle -fgo-pkgpath. Change |
| 1662 |
-fgo-prefix handling to just set go_prefix. |
| 1663 |
* go-c.h (go_set_prefix): Don't declare. |
| 1664 |
(go_create_gogo): Add pkgpath and prefix to declaration. |
| 1665 |
* go-gcc.cc (Gcc_backend::global_variable): Change unique_prefix |
| 1666 |
to pkgpath. Don't include the package name in the asm name. |
| 1667 |
* gccgo.texi (Invoking gccgo): Document -fgo-pkgpath. Update the |
| 1668 |
docs for -fgo-prefix. |
| 1669 |
|
| 1670 |
2012-04-23 Ian Lance Taylor <[email protected]> |
| 1671 |
|
| 1672 |
* go-lang.c (go_langhook_init): Set MPFR precision to 256. |
| 1673 |
|
| 1674 |
2012-04-20 Ian Lance Taylor <[email protected]> |
| 1675 |
|
| 1676 |
* lang.opt: Add -fgo-check-divide-zero and |
| 1677 |
-fgo-check-divide-overflow. |
| 1678 |
* gccgo.texi (Invoking gccgo): Document new options. |
| 1679 |
|
| 1680 |
2012-04-18 Steven Bosscher <[email protected]> |
| 1681 |
|
| 1682 |
* go-gcc.cc (Gcc_backend::switch_statement): Build SWITCH_EXPR |
| 1683 |
with NULL_TREE type instead of void_type_node. |
| 1684 |
|
| 1685 |
2012-03-09 Ian Lance Taylor <[email protected]> |
| 1686 |
|
| 1687 |
* go-gcc.cc (Gcc_backend::assignment_statement): Convert the rhs |
| 1688 |
to the lhs type if necessary. |
| 1689 |
|
| 1690 |
2012-03-08 Ian Lance Taylor <[email protected]> |
| 1691 |
|
| 1692 |
* go-gcc.cc (Gcc_backend::init_statement): Don't initialize a |
| 1693 |
zero-sized variable. |
| 1694 |
(go_non_zero_struct): New global variable. |
| 1695 |
(Gcc_backend::non_zero_size_type): New function. |
| 1696 |
(Gcc_backend::global_variable): Don't build an assignment for a |
| 1697 |
zero-sized value. |
| 1698 |
* go-c.h (go_non_zero_struct): Declare. |
| 1699 |
* config-lang.in (gtfiles): Add go-c.h. |
| 1700 |
|
| 1701 |
2012-02-29 Ian Lance Taylor <[email protected]> |
| 1702 |
|
| 1703 |
* go-gcc.cc (class Gcc_tree): Add set_tree method. |
| 1704 |
(set_placeholder_pointer_type): When setting to a pointer to |
| 1705 |
error, set to error_mark_node. |
| 1706 |
|
| 1707 |
2012-02-23 Richard Guenther <[email protected]> |
| 1708 |
|
| 1709 |
* go-gcc.cc (Gcc_backend::placeholder_pointer_type): Use |
| 1710 |
build_distinct_type_copy. |
| 1711 |
|
| 1712 |
2012-02-17 Ian Lance Taylor <[email protected]> |
| 1713 |
|
| 1714 |
* Make-lang.in (go/import.o): Add dependency on $(GO_LEX_H). |
| 1715 |
|
| 1716 |
2012-02-17 Ian Lance Taylor <[email protected]> |
| 1717 |
|
| 1718 |
* gospec.c (lang_specific_driver): If linking, and no -o option |
| 1719 |
was used, add one. |
| 1720 |
|
| 1721 |
2012-02-14 Ian Lance Taylor <[email protected]> |
| 1722 |
|
| 1723 |
PR go/48411 |
| 1724 |
* Make-lang.in (gccgo-cross$(exeext)): New target. |
| 1725 |
(go.all.cross): Depend on gccgo-cross$(exeext) instead of |
| 1726 |
gccgo$(exeext). |
| 1727 |
(go.install-common): Only install GCCGO_TARGET_INSTALL_NAME if |
| 1728 |
gccgo-cross$(exeext) does not exist. |
| 1729 |
|
| 1730 |
2012-02-07 Ian Lance Taylor <[email protected]> |
| 1731 |
|
| 1732 |
* gccgo.texi (Function Names): Document //extern instead of |
| 1733 |
__asm__. |
| 1734 |
|
| 1735 |
2012-02-01 Jakub Jelinek <[email protected]> |
| 1736 |
|
| 1737 |
PR target/52079 |
| 1738 |
* go-lang.c (go_langhook_type_for_mode): For TImode and 64-bit HWI |
| 1739 |
return build_nonstandard_integer_type result if possible. |
| 1740 |
|
| 1741 |
2012-01-21 Ian Lance Taylor <[email protected]> |
| 1742 |
|
| 1743 |
* go-gcc.cc (Gcc_backend::type_size): Check for error_mark_node. |
| 1744 |
(Gcc_backend::type_alignment): Likewise. |
| 1745 |
(Gcc_backend::type_field_alignment): Likewise. |
| 1746 |
(Gcc_backend::type_field_offset): Likewise. |
| 1747 |
|
| 1748 |
2012-01-20 Ian Lance Taylor <[email protected]> |
| 1749 |
|
| 1750 |
* go-gcc.cc (Gcc_backend::placeholder_struct_type): Permit name to |
| 1751 |
be empty. |
| 1752 |
(Gcc_backend::set_placeholder_struct_type): Likewise. |
| 1753 |
|
| 1754 |
2012-01-17 Ian Lance Taylor <[email protected]> |
| 1755 |
|
| 1756 |
* gospec.c (lang_specific_driver): If we see -S without -o, add -o |
| 1757 |
BASE.s rather than -o BASE.o. |
| 1758 |
|
| 1759 |
2012-01-11 Ian Lance Taylor <[email protected]> |
| 1760 |
|
| 1761 |
* go-lang.c (go_langhook_init): Initialize void_list_node before |
| 1762 |
calling go_create_gogo. |
| 1763 |
|
| 1764 |
2012-01-10 Ian Lance Taylor <[email protected]> |
| 1765 |
|
| 1766 |
* go-gcc.cc (Gcc_backend::type_size): New function. |
| 1767 |
(Gcc_backend::type_alignment): New function. |
| 1768 |
(Gcc_backend::type_field_alignment): New function. |
| 1769 |
(Gcc_backend::type_field_offset): New function. |
| 1770 |
* go-backend.c (go_type_alignment): Remove. |
| 1771 |
* go-c.h (go_type_alignment): Don't declare. |
| 1772 |
|
| 1773 |
2011-12-27 Ian Lance Taylor <[email protected]> |
| 1774 |
|
| 1775 |
* go-gcc.cc (Gcc_backend::set_placeholder_struct_type): Use |
| 1776 |
build_distinct_type_copy rather than build_variant_type_copy. |
| 1777 |
(Gcc_backend::set_placeholder_array_type): Likewise. |
| 1778 |
(Gcc_backend::named_type): Add special handling for builtin |
| 1779 |
basic types. |
| 1780 |
|
| 1781 |
2011-12-22 Ian Lance Taylor <[email protected]> |
| 1782 |
|
| 1783 |
* go-gcc.cc (Gcc_backend::set_placeholder_pointer_type): Arrange |
| 1784 |
for the type name to have a DECL_ORIGINAL_TYPE as gcc expects. |
| 1785 |
(Gcc_backend::set_placeholder_struct_type): Likewise. |
| 1786 |
(Gcc_backend::set_placeholder_array_type): Likewise. |
| 1787 |
(Gcc_backend::named_type): Set DECL_ORIGINAL_TYPE. |
| 1788 |
|
| 1789 |
2011-12-13 Ian Lance Taylor <[email protected]> |
| 1790 |
|
| 1791 |
* go-backend.c: #include "simple-object.h" and "intl.h". |
| 1792 |
(GO_EXPORT_SEGMENT_NAME): Define if not defined. |
| 1793 |
(GO_EXPORT_SECTION_NAME): Likewise. |
| 1794 |
(go_write_export_data): Use GO_EXPORT_SECTION_NAME. |
| 1795 |
(go_read_export_data): New function. |
| 1796 |
* go-c.h (go_read_export_data): Declare. |
| 1797 |
|
| 1798 |
2011-11-29 Sanjoy Das <[email protected]> |
| 1799 |
Ian Lance Taylor <[email protected]> |
| 1800 |
|
| 1801 |
* go-location.h: New file. |
| 1802 |
* go-linemap.cc: New file. |
| 1803 |
* go-gcc.cc: Change all uses of source_location to Location. |
| 1804 |
* Make-lang.in (GO_OBJS): Add go/go-linemap.o. |
| 1805 |
(GO_LINEMAP_H): New variable. |
| 1806 |
(GO_LEX_H): Use $(GO_LINEMAP_H). |
| 1807 |
(GO_GOGO_H, GO_TYPES_H, GO_IMPORT_H): Likewise. |
| 1808 |
(go/go-linemap.o): New target. |
| 1809 |
|
| 1810 |
2011-11-02 Rainer Orth <[email protected]> |
| 1811 |
|
| 1812 |
* Make-lang.in (gospec.o): Pass SHLIB instead of SHLIB_LINK. |
| 1813 |
|
| 1814 |
2011-08-24 Roberto Lublinerman <[email protected]> |
| 1815 |
|
| 1816 |
* lang.opt: Add fgo-optimize-. |
| 1817 |
* go-lang.c (go_langhook_handle_option): Handle OPT_fgo_optimize. |
| 1818 |
* go-c.h (go_enable_optimize): Declare. |
| 1819 |
* Make-lang.in (GO_OBJS): Add go/go-optimize.o. |
| 1820 |
(GO_EXPORT_H): Define. |
| 1821 |
(GO_IMPORT_H): Add $(GO_EXPORT_H). |
| 1822 |
(GO_AST_DUMP_H): Define. |
| 1823 |
(go/ast-dump.o, go/statements.o): Use GO_AST_DUMP_H. |
| 1824 |
(go/export.o, go/gogo.o, go/import.o): Use GO_EXPORT_H. |
| 1825 |
(go/types.o): Likewise. |
| 1826 |
(go/expressions.o): Use GO_AST_DUMP_H and GO_EXPORT_H. |
| 1827 |
(go/go-optimize.o): New target. |
| 1828 |
|
| 1829 |
2011-08-24 Joseph Myers <[email protected]> |
| 1830 |
|
| 1831 |
* Make-lang.in (CFLAGS-go/go-lang.o): New. |
| 1832 |
(go/go-lang.o): Remove explicit compilation rule. |
| 1833 |
|
| 1834 |
2011-08-08 Rainer Orth <[email protected]> |
| 1835 |
|
| 1836 |
* Make-lang.in (gccgo$(exeext)): Add $(EXTRA_GCC_LIBS). |
| 1837 |
|
| 1838 |
2011-08-02 Roberto Lublinerman <[email protected]> |
| 1839 |
|
| 1840 |
* Make-lang.in (GO_OBJS): Add go/ast-dump.o. |
| 1841 |
(go/ast-dump.o): New target. |
| 1842 |
(go/expressions.o): Depend on go/gofrontend/ast-dump.h. |
| 1843 |
(go/statements.o): Likewise. |
| 1844 |
|
| 1845 |
2011-07-06 Richard Guenther <[email protected]> |
| 1846 |
|
| 1847 |
* go-lang.c (go_langhook_init): |
| 1848 |
Merge calls to build_common_tree_nodes and build_common_tree_nodes_2. |
| 1849 |
|
| 1850 |
2011-06-14 Joseph Myers <[email protected]> |
| 1851 |
|
| 1852 |
* Make-lang.in (go/go-lang.o, go/go-backend.o): Update |
| 1853 |
dependencies. |
| 1854 |
* go-backend.c: Include common/common-target.h. |
| 1855 |
(go_write_export_data): Use targetm_common.have_named_sections. |
| 1856 |
* go-lang.c: Include common/common-target.h. |
| 1857 |
(go_langhook_init_options_struct): Use |
| 1858 |
targetm_common.supports_split_stack. |
| 1859 |
|
| 1860 |
2011-06-13 Ian Lance Taylor <[email protected]> |
| 1861 |
|
| 1862 |
* Make-lang.in (go/expressions.o): Depend on $(GO_RUNTIME_H). |
| 1863 |
|
| 1864 |
2011-06-10 Ian Lance Taylor <[email protected]> |
| 1865 |
|
| 1866 |
* go-gcc.cc: Include "toplev.h". |
| 1867 |
(Gcc_backend::immutable_struct): New function. |
| 1868 |
(Gcc_backend::immutable_struct_set_init): New function. |
| 1869 |
(Gcc_backend::immutable_struct_reference): New function. |
| 1870 |
* Make-lang.in (go/go-gcc.o): Depend on toplev.h. |
| 1871 |
|
| 1872 |
2011-06-09 Ian Lance Taylor <[email protected]> |
| 1873 |
|
| 1874 |
* go-gcc.cc (Gcc_backend::zero_expression): New function. |
| 1875 |
|
| 1876 |
2011-06-07 Richard Guenther <[email protected]> |
| 1877 |
|
| 1878 |
* go-lang.c (go_langhook_init): Do not set |
| 1879 |
size_type_node or call set_sizetype. |
| 1880 |
|
| 1881 |
2011-05-27 Ian Lance Taylor <[email protected]> |
| 1882 |
|
| 1883 |
* go-backend.c: Include "output.h". |
| 1884 |
(go_write_export_data): New function. |
| 1885 |
* go-c.h (go_write_export_data): Declare. |
| 1886 |
* Make-lang.in (go/go-backend.o): Depend on output.h. |
| 1887 |
(go/export.o): Depend on $(GO_C_H). Do not depend on |
| 1888 |
$(MACHMODE_H), output.h, or $(TARGET_H). |
| 1889 |
|
| 1890 |
2011-05-24 Joseph Myers <[email protected]> |
| 1891 |
|
| 1892 |
* Make-lang.in (GCCGO_OBJS): Remove prefix.o. |
| 1893 |
(gccgo$(exeext)): Use libcommon-target.a. |
| 1894 |
|
| 1895 |
2011-05-20 Joseph Myers <[email protected]> |
| 1896 |
|
| 1897 |
* Make-lang.in (GCCGO_OBJS): Remove intl.o and version.o. |
| 1898 |
|
| 1899 |
2011-05-13 Ian Lance Taylor <[email protected]> |
| 1900 |
|
| 1901 |
* go-gcc.cc (Gcc_backend::function_type): When building a struct |
| 1902 |
for multiple results, check that all fields types have a size. |
| 1903 |
(Gcc_backend::placeholder_pointer_type): Permit name to be empty. |
| 1904 |
|
| 1905 |
2011-05-12 Ian Lance Taylor <[email protected]> |
| 1906 |
|
| 1907 |
* go-gcc.cc (Gcc_backend::local_variable): Add is_address_taken |
| 1908 |
parameter. |
| 1909 |
(Gcc_backend::parameter_variable): Likewise. |
| 1910 |
|
| 1911 |
2011-05-07 Eric Botcazou <[email protected]> |
| 1912 |
|
| 1913 |
* go-lang.c (global_bindings_p): Return bool and simplify. |
| 1914 |
|
| 1915 |
2011-05-05 Nathan Froyd <[email protected]> |
| 1916 |
|
| 1917 |
* go-gcc.cc (Gcc_backend::switch_statement): Call build_case_label. |
| 1918 |
|
| 1919 |
2011-05-04 Ian Lance Taylor <[email protected]> |
| 1920 |
|
| 1921 |
* go-gcc.cc (Gcc_backend::struct_type): Call fill_in_struct. |
| 1922 |
(Gcc_backend::fill_in_struct): New function. |
| 1923 |
(Gcc_backend::array_type): Implement. |
| 1924 |
(Gcc_backend::fill_in_array): New function. |
| 1925 |
(Gcc_backend::placeholder_pointer_type): New function. |
| 1926 |
(Gcc_backend::set_placeholder_pointer_type): New function. |
| 1927 |
(Gcc_backend::set_placeholder_function_type): New function. |
| 1928 |
(Gcc_backend::placeholder_struct_type): New function. |
| 1929 |
(Gcc_backend::set_placeholder_struct_type): New function. |
| 1930 |
(Gcc_backend::placeholder_array_type): New function. |
| 1931 |
(Gcc_backend::set_placeholder_array_type): New function. |
| 1932 |
(Gcc_backend::named_type): New function. |
| 1933 |
(Gcc_backend::circular_pointer_type): New function. |
| 1934 |
(Gcc_backend::is_circular_pointer_type): New function. |
| 1935 |
|
| 1936 |
2011-04-26 Ian Lance Taylor <[email protected]> |
| 1937 |
|
| 1938 |
* go-gcc.cc (Gcc_backend::struct_type): Implement. |
| 1939 |
|
| 1940 |
2011-04-25 Ian Lance Taylor <[email protected]> |
| 1941 |
|
| 1942 |
* go-gcc.cc (Gcc_backend::error_type): Implement. |
| 1943 |
(Gcc_backend::string_type): Remove. |
| 1944 |
(Gcc_backend::function_type): Change signature and implement. |
| 1945 |
(Gcc_backend::struct_type): Change signature. |
| 1946 |
(Gcc_backend::slice_type, Gcc_backend::map_type): Remove. |
| 1947 |
(Gcc_backend::channel_type, Gcc_backend::interface_type): Remove. |
| 1948 |
(Gcc_backend::pointer_type): Check for error. |
| 1949 |
* Make-lang.in (go/types.o): Depend on go/gofrontend/backend.h. |
| 1950 |
|
| 1951 |
2011-04-25 Evan Shaw <[email protected]> |
| 1952 |
|
| 1953 |
* go-gcc.c (class Gcc_tree): Make get_tree const. |
| 1954 |
(Gcc_backend::void_type): Implement. |
| 1955 |
(Gcc_backend::bool_type): Implement. |
| 1956 |
(Gcc_backend::integer_type): Implement. |
| 1957 |
(Gcc_backend::float_type): Implement. |
| 1958 |
(Gcc_backend::complex_type): New function. |
| 1959 |
(Gcc_backend::pointer_type): New function. |
| 1960 |
(Gcc_backend::make_type): New function. |
| 1961 |
(type_to_tree): New function. |
| 1962 |
|
| 1963 |
2011-04-21 Ian Lance Taylor <[email protected]> |
| 1964 |
|
| 1965 |
* go-system.h (go_assert, go_unreachable): Define. |
| 1966 |
|
| 1967 |
2011-04-19 Ian Lance Taylor <[email protected]> |
| 1968 |
|
| 1969 |
* go-system.h: Include "intl.h". |
| 1970 |
* Make-lang.in (GO_SYSTEM_H): Add intl.h. |
| 1971 |
(go/statements.o): Remove dependencies on intl.h $(TREE_H) |
| 1972 |
$(GIMPLE_H) convert.h tree-iterator.h $(TREE_FLOW_H) $(REAL_H). |
| 1973 |
|
| 1974 |
2011-04-19 Ian Lance Taylor <[email protected]> |
| 1975 |
|
| 1976 |
* go-gcc.cc (Gcc_backend::temporary_variable): New function. |
| 1977 |
|
| 1978 |
2011-04-19 Ian Lance Taylor <[email protected]> |
| 1979 |
|
| 1980 |
* go-gcc.cc (class Bblock): Define. |
| 1981 |
(Gcc_backend::if_statement): Change then_block and else_block to |
| 1982 |
Bblock*. |
| 1983 |
(Gcc_backend::block): New function. |
| 1984 |
(Gcc_backend::block_add_statements): New function. |
| 1985 |
(Gcc_backend::block_statement): New function. |
| 1986 |
(tree_to_block, block_to_tree): New functions. |
| 1987 |
|
| 1988 |
2011-04-18 Ian Lance Taylor <[email protected]> |
| 1989 |
|
| 1990 |
* go-gcc.cc: Include "go-c.h". |
| 1991 |
(class Bvariable): Define. |
| 1992 |
(Gcc_backend::init_statement): New function. |
| 1993 |
(Gcc_backend::global_variable): New function. |
| 1994 |
(Gcc_backend::global_variable_set_init): New function. |
| 1995 |
(Gcc_backend::local_variable): New function. |
| 1996 |
(Gcc_backend::parameter_variable): New function. |
| 1997 |
(tree_to_type, var_to_tree): New functions. |
| 1998 |
* Make-lang.in (go/go-gcc.o): Depend on $(GO_C_H). |
| 1999 |
* (go/gogo-tree.o): Depend on go/gofrontend/backend.h. |
| 2000 |
|
| 2001 |
2011-04-15 Ian Lance Taylor <[email protected]> |
| 2002 |
|
| 2003 |
* go-gcc.cc (Gcc_backend::compound_statement): New function. |
| 2004 |
(Gcc_backend::assignment_statement): Use error_statement. |
| 2005 |
(Gcc_backend::return_statement): Likewise. |
| 2006 |
(Gcc_backend::if_statement): Likewise. |
| 2007 |
(Gcc_backend::switch_statement): Likewise. |
| 2008 |
(Gcc_backend::statement_list): Likewise. |
| 2009 |
|
| 2010 |
2011-04-14 Ian Lance Taylor <[email protected]> |
| 2011 |
|
| 2012 |
* go-gcc.cc (Gcc_backend::error_statement): New function. |
| 2013 |
|
| 2014 |
2011-04-13 Ian Lance Taylor <[email protected]> |
| 2015 |
|
| 2016 |
* Make-lang.in (go/gogo-tree.o): depend on $(GO_RUNTIME_H). |
| 2017 |
|
| 2018 |
2011-04-13 Ian Lance Taylor <[email protected]> |
| 2019 |
|
| 2020 |
* Make-lang.in (GO_OBJS): Add go/runtime.o. |
| 2021 |
(GO_RUNTIME_H): New variable. |
| 2022 |
(go/runtime.o): New target. |
| 2023 |
(go/gogo.o): Depend on $(GO_RUNTIME_H). |
| 2024 |
(go/statements.o): Likewise. |
| 2025 |
|
| 2026 |
2011-04-12 Nathan Froyd <[email protected]> |
| 2027 |
|
| 2028 |
* go-lang.c (union lang_tree_node): Check for TS_COMMON before |
| 2029 |
calling TREE_CHAIN. |
| 2030 |
|
| 2031 |
2011-04-06 Ian Lance Taylor <[email protected]> |
| 2032 |
|
| 2033 |
* go-gcc.cc (if_statement): Use build3_loc. |
| 2034 |
(Gcc_backend::switch_statement): New function. |
| 2035 |
(Gcc_backend::statement_list): New function. |
| 2036 |
|
| 2037 |
2011-04-06 Ian Lance Taylor <[email protected]> |
| 2038 |
|
| 2039 |
* go-gcc.cc (Gcc_backend::if_statement): New function. |
| 2040 |
(tree_to_stat): New function. |
| 2041 |
(expr_to_tree): Renamed from expression_to_tree. |
| 2042 |
(stat_to_tree): Renamed from statement_to_tree. |
| 2043 |
|
| 2044 |
2011-04-06 Ian Lance Taylor <[email protected]> |
| 2045 |
|
| 2046 |
* go-gcc.cc (Gcc_backend::expression_statement): New function. |
| 2047 |
|
| 2048 |
2011-04-04 Ian Lance Taylor <[email protected]> |
| 2049 |
|
| 2050 |
* go-gcc.c (class Blabel): Define. |
| 2051 |
(Gcc_backend::make_expression): New function. |
| 2052 |
(get_identifier_from_string): New function. |
| 2053 |
(Gcc_backend::label): New function. |
| 2054 |
(Gcc_backend::label_definition_statement): New function. |
| 2055 |
(Gcc_backend::goto_statement): New function. |
| 2056 |
(Gcc_backend::label_address): New function. |
| 2057 |
(expression_to_tree): New function. |
| 2058 |
* Make-lang.in (go/expressions.o): Depend on |
| 2059 |
go/gofrontend/backend.h. |
| 2060 |
(go/gogo.o): Likewise. |
| 2061 |
|
| 2062 |
2011-04-04 Ian Lance Taylor <[email protected]> |
| 2063 |
|
| 2064 |
* go-gcc.cc: #include "tree-iterator.h", "gimple.h", and "gogo.h". |
| 2065 |
(class Bfunction): Define. |
| 2066 |
(Gcc_backend::assignment_statement): Rename from assignment. |
| 2067 |
Check for errors. |
| 2068 |
(Gcc_backend::return_statement): New function. |
| 2069 |
(tree_to_function): New function. |
| 2070 |
* Make-lang.in (go/go-gcc.o): Depend on tree-iterator.h, |
| 2071 |
$(GIMPLE_H), and $(GO_GOGO_H). |
| 2072 |
|
| 2073 |
2011-04-03 Ian Lance Taylor <[email protected]> |
| 2074 |
|
| 2075 |
* go-gcc.cc: New file. |
| 2076 |
* Make-lang.in (GO_OBJS): Add go/go-gcc.o. |
| 2077 |
(go/go-gcc.o): New target. |
| 2078 |
(go/go.o): Depend on go/gofrontend/backend.h. |
| 2079 |
(go/statements.o): Likewise. |
| 2080 |
|
| 2081 |
2011-02-14 Ralf Wildenhues <[email protected]> |
| 2082 |
|
| 2083 |
* gccgo.texi (Top, Import and Export): Fix a typo and a markup nit. |
| 2084 |
|
| 2085 |
2011-02-08 Ian Lance Taylor <[email protected]> |
| 2086 |
|
| 2087 |
* go-lang.c (go_langhook_init_options_struct): Set |
| 2088 |
frontend_set_flag_errno_math. Don't set x_flag_trapping_math. |
| 2089 |
|
| 2090 |
2011-01-31 Rainer Orth <[email protected]> |
| 2091 |
|
| 2092 |
* gospec.c (lang_specific_driver) [HAVE_LD_STATIC_DYNAMIC] Use |
| 2093 |
LD_STATIC_OPTION, LD_DYNAMIC_OPTION. |
| 2094 |
|
| 2095 |
2011-01-21 Ian Lance Taylor <[email protected]> |
| 2096 |
|
| 2097 |
* go-lang.c (go_langhook_init): Omit float_type_size when calling |
| 2098 |
go_create_gogo. |
| 2099 |
* go-c.h: Update declaration of go_create_gogo. |
| 2100 |
|
| 2101 |
2011-01-13 Ian Lance Taylor <[email protected]> |
| 2102 |
|
| 2103 |
* go-backend.c: Include "rtl.h" and "target.h". |
| 2104 |
(go_imported_unsafe): New function. |
| 2105 |
* go-c.h (go_imported_unsafe): Declare. |
| 2106 |
* Make-lang.in (go/go-backend.o): Depend on $(RTL_H). |
| 2107 |
(go/gogo-tree.o): Remove dependency on $(RTL_H). |
| 2108 |
(go/unsafe.o): Depend on $(GO_C_H). |
| 2109 |
|
| 2110 |
2010-12-31 Joern Rennecke <[email protected]> |
| 2111 |
|
| 2112 |
PR go/47113 |
| 2113 |
* go-backend.c: (go_field_alignment): Add ATTRIBUTE_UNUSED to |
| 2114 |
variable ‘field’ . |
| 2115 |
|
| 2116 |
2010-12-21 Ian Lance Taylor <[email protected]> |
| 2117 |
|
| 2118 |
* Make-lang.in (check-go): Remove. |
| 2119 |
(lang_checks_parallelized): Add check-go. |
| 2120 |
(check_go_parallelize): Set. |
| 2121 |
|
| 2122 |
2010-12-13 Ian Lance Taylor <[email protected]> |
| 2123 |
|
| 2124 |
* gospec.c (lang_specific_driver): Add a -o option if not linking |
| 2125 |
and there is no -o option already. |
| 2126 |
|
| 2127 |
2010-12-07 Ian Lance Taylor <[email protected]> |
| 2128 |
|
| 2129 |
PR tree-optimization/46805 |
| 2130 |
PR tree-optimization/46833 |
| 2131 |
* go-lang.c (go_langhook_type_for_mode): Handle vector modes. |
| 2132 |
|
| 2133 |
2010-12-06 Ian Lance Taylor <[email protected]> |
| 2134 |
|
| 2135 |
PR other/46789 |
| 2136 |
PR bootstrap/46812 |
| 2137 |
* go-lang.c (go_char_p): Define type and vectors. |
| 2138 |
(go_search_dirs): New static variable. |
| 2139 |
(go_langhook_handle_option): Use version and version/machine |
| 2140 |
directories for -L. |
| 2141 |
(go_langhook_post_options): Add non-specific -L paths. |
| 2142 |
* Make-lang.in (go/go-lang.o): Define DEFAULT_TARGET_VERSION and |
| 2143 |
DEFAULT_TARGET_MACHINE when compiling. |
| 2144 |
* gccgo.texi (Invoking gccgo): Only document -L for linking. |
| 2145 |
(Import and Export): Don't mention -L for finding import files. |
| 2146 |
|
| 2147 |
2010-12-03 Ian Lance Taylor <[email protected]> |
| 2148 |
|
| 2149 |
PR bootstrap/46776 |
| 2150 |
* go-backend.c: New file. |
| 2151 |
* go-c.h (go_type_alignment): Declare. |
| 2152 |
(go_field_alignment, go_trampoline_info): Declare. |
| 2153 |
* Make-lang.in (GO_OBJS): Add go/go-backend.o. |
| 2154 |
(go/go-backend.o): New target. |
| 2155 |
(go/go-lang.o): Make dependencies match source file. |
| 2156 |
(go/expressions.o): Don't depend on $(TM_H) $(TM_P_H). |
| 2157 |
(go/gogo-tree.o): Don't depend on $(TM_H). |
| 2158 |
|
| 2159 |
2010-12-03 Ian Lance Taylor <[email protected]> |
| 2160 |
|
| 2161 |
* config-lang.in (build_by_default): Set to no. |
| 2162 |
|
| 2163 |
2010-12-02 Ian Lance Taylor <[email protected]> |
| 2164 |
|
| 2165 |
Go frontend added to gcc repository. |
| 2166 |
|
| 2167 |
Copyright (C) 2010-2025 Free Software Foundation, Inc. |
| 2168 |
|
| 2169 |
Copying and distribution of this file, with or without modification, |
| 2170 |
are permitted in any medium without royalty provided the copyright |
| 2171 |
notice and this notice are preserved. |