Age | Commit message (Collapse) | Author | Files | Lines |
|
GCC has supported the __atomic intrinsics since 4.7. They are better
than the __sync intrinsics in that they specify a memory model and,
more importantly for our purposes, they are reliably implemented
either in the compiler or in libatomic.
Fixes https://gcc.gnu.org/PR52084
Reviewed-on: https://go-review.googlesource.com/c/160820
From-SVN: r268458
|
|
From-SVN: r200974
|
|
From-SVN: r185010
|
|
reference to __sync_add_and_fetch_8))
PR go/52084
libgo: Provide more __sync functions if required.
From-SVN: r184138
|
|
From-SVN: r181897
|
|
From-SVN: r181772
|
|
From-SVN: r181633
|
|
From-SVN: r180552
|
|
PR go/48019
Ignore EINTR in runtime_lock_full.
From-SVN: r170810
|
|
From-SVN: r169504
|
|
From-SVN: r169502
|
|
From-SVN: r169121
|
|
From-SVN: r167973
|
|
gcc/:
* gcc.c (default_compilers): Add entry for ".go".
* common.opt: Add -static-libgo as a driver option.
* doc/install.texi (Configuration): Mention libgo as an option for
--enable-shared. Mention go as an option for --enable-languages.
* doc/invoke.texi (Overall Options): Mention .go as a file name
suffix. Mention go as a -x option.
* doc/frontends.texi (G++ and GCC): Mention Go as a supported
language.
* doc/sourcebuild.texi (Top Level): Mention libgo.
* doc/standards.texi (Standards): Add section on Go language.
Move references for other languages into their own section.
* doc/contrib.texi (Contributors): Mention that I contributed the
Go frontend.
gcc/testsuite/:
* lib/go.exp: New file.
* lib/go-dg.exp: New file.
* lib/go-torture.exp: New file.
* lib/target-supports.exp (check_compile): Match // Go.
From-SVN: r167407
|