[Bug other/82352] [7 Regression] comdat-local function called by void h::i() outside its comdat
amker at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 9 09:43:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82352
amker at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amker at gcc dot gnu.org
--- Comment #12 from amker at gcc dot gnu.org ---
(In reply to Martin Liška from comment #11)
> Author: marxin
> Date: Thu Mar 8 08:56:20 2018
> New Revision: 258358
>
> URL: https://gcc.gnu.org/viewcvs?rev=258358&root=gcc&view=rev
> Log:
> Backport r256226
>
> 2018-03-08 Martin Liska <mliska@suse.cz>
>
> Backport from mainline
> 2018-01-04 Martin Liska <mliska@suse.cz>
>
> PR ipa/82352
> * ipa-icf.c (sem_function::merge): Do not cross comdat boundary.
> 2018-03-08 Martin Liska <mliska@suse.cz>
>
> Backport from mainline
> 2018-01-04 Martin Liska <mliska@suse.cz>
>
> PR ipa/82352
> * g++.dg/ipa/pr82352.C: New test.
>
> Added:
> branches/gcc-6-branch/gcc/testsuite/g++.dg/ipa/pr82352.C
> Modified:
> branches/gcc-6-branch/gcc/ChangeLog
> branches/gcc-6-branch/gcc/ipa-icf.c
> branches/gcc-6-branch/gcc/testsuite/ChangeLog
Hi Martin,
The backported test failed on arm-none-eabi and arm-none-linux-gnueabihf with
below message:
/tmp/build/src/gcc/gcc/testsuite/g++.dg/ipa/pr82352.C:20:30: error: 'operator
new' takes type 'size_t' ('unsigned int') as first parameter [-fpermissive]
More information about the Gcc-bugs
mailing list