[Bug ipa/61159] __builtin_constant_p gives incorrect results with aliases

ro at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 12 12:43:00 GMT 2016


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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ro at gcc dot gnu.org

--- Comment #5 from Rainer Orth <ro at gcc dot gnu.org> ---
The new testcase FAILs on Solaris/x86 with /bin/as:

FAIL: gcc.c-torture/compile/pr61159.c   -O0  (test for excess errors)

Excess errors:
Assembler: pr61159.c
        "/var/tmp//ccRtFPva.s", line 5 : Cannot set a weak symbol to a common
symbol

Input is

        .file   "pr61159.c"
        .local  dummy
        .comm   dummy,4,4
        .weak   foo
        .set    foo,dummy

  Rainer


More information about the Gcc-bugs mailing list