diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2020-11-22 11:19:32 +0000 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2020-11-22 12:56:20 +0000 |
commit | 3c52cd517a34b6b37eb17d4defd63bb31e60888b (patch) | |
tree | f7411892abebdc254d75d4de7046e3c4a12cebef /gcc/tree-ssa-math-opts.c | |
parent | 7a97e2fcf7ca91b77686373ebfb2263a28885570 (diff) | |
download | gcc-3c52cd517a34b6b37eb17d4defd63bb31e60888b.zip gcc-3c52cd517a34b6b37eb17d4defd63bb31e60888b.tar.gz gcc-3c52cd517a34b6b37eb17d4defd63bb31e60888b.tar.bz2 |
Darwin : Avoid a C++ ODR violation seen with LTO.
We have a similar code pattern in darwin-c.c to one in c-pragmas
(most likely a cut & paste) with a struct type used locally to the
TU. With C++ we need to rename the type to avoid an ODR violation.
gcc/ChangeLog:
* config/darwin-c.c (struct f_align_stack): Rename
to type from align_stack to f_align_stack.
(push_field_alignment): Likewise.
(pop_field_alignment): Likewise.
Diffstat (limited to 'gcc/tree-ssa-math-opts.c')
0 files changed, 0 insertions, 0 deletions