[Bug lto/85248] [6 Regression] Miscompilation when using error function that returns

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 25 07:41:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85248

--- Comment #15 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Wed Apr 25 07:40:27 2018
New Revision: 259631

URL: https://gcc.gnu.org/viewcvs?rev=259631&root=gcc&view=rev
Log:
Backport r259265

2018-04-25  Martin Liska  <mliska@suse.cz>

        Backport from mainline
        2018-04-10  Richard Biener  <rguenther@suse.de>
                    Martin Liska  <mliska@suse.cz>

        PR lto/85248
        * lto-symtab.c (lto_symtab_merge_p): Handle noreturn attribute.
2018-04-25  Martin Liska  <mliska@suse.cz>

        Backport from mainline
        2018-04-10  Jakub Jelinek  <jakub@redhat.com>

        PR lto/85248
        * gcc.dg/lto/pr85248_0.c: New test.
        * gcc.dg/lto/pr85248_1.c: New test.

Added:
    branches/gcc-6-branch/gcc/testsuite/gcc.dg/lto/pr85248_0.c
    branches/gcc-6-branch/gcc/testsuite/gcc.dg/lto/pr85248_1.c
Modified:
    branches/gcc-6-branch/gcc/lto/ChangeLog
    branches/gcc-6-branch/gcc/lto/lto-symtab.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list