diff options
author | Nikhil Benesch <nikhil.benesch@gmail.com> | 2019-02-06 04:48:35 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-02-06 04:48:35 +0000 |
commit | ce4321c918aa0d17ecd7da6c3deb43524b1729cf (patch) | |
tree | 33a6eb37062d4aecdffb413b9a1a362331168574 /gcc/testsuite | |
parent | fbe83e6b4d0308f547ab11de6dc0eda2741cc11f (diff) | |
download | gcc-ce4321c918aa0d17ecd7da6c3deb43524b1729cf.zip gcc-ce4321c918aa0d17ecd7da6c3deb43524b1729cf.tar.gz gcc-ce4321c918aa0d17ecd7da6c3deb43524b1729cf.tar.bz2 |
re PR go/89019 (LTO and gccgo cause ICE during free_lang_data)
gcc/go:
PR go/89019
* go-gcc.cc (Gcc_backend::placeholder_struct_type): Mark
placeholder structs as requiring structural equality.
(Gcc_backend::set_placeholder_pointer_type): Propagate the
canonical type from the desired pointer type to the placeholder
pointer type.
gcc/testsuite/:
* lib/go-torture.exp: Test compiling with -flto.
From-SVN: r268572
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/lib/go-torture.exp | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2c6d0e4..0dd171c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-02-05 Nikhil Benesch <nikhil.benesch@gmail.com> + + PR go/89019 + * lib/go-torture.exp: Test compiling with -flto. + 2019-02-06 Joseph Myers <joseph@codesourcery.com> PR c/88584 diff --git a/gcc/testsuite/lib/go-torture.exp b/gcc/testsuite/lib/go-torture.exp index 213711e..a7eca18 100644 --- a/gcc/testsuite/lib/go-torture.exp +++ b/gcc/testsuite/lib/go-torture.exp @@ -34,7 +34,8 @@ if ![info exists TORTURE_OPTIONS] { { -O2 -fomit-frame-pointer -finline-functions -funroll-loops } \ { -O2 -fbounds-check } \ { -O3 -g } \ - { -Os }] + { -Os } \ + { -flto }] } |