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

            Bug ID: 65121
           Summary: long_call attribute broken weak symbol arm_none_eabi
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: regression
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Alex.Velenko at arm dot com
                CC: ramana.radhakrishnan at arm dot com, rth at gcc dot gnu.org
            Target: arm-none-eabi

Patch r220684 changed behaviour of varasm.c:default_binds_local_p, which
affected 
behavior of gcc/config/arm/arm.c:arm_function_in_section_p and through it
breaks gcc/config/arm/arm.c:arm_is_long_call_p for weak symbols.

As a result, I get regression for gcc.target/arm/long-calls-1.c on
arm-none-eabi:
FAIL: gcc.target/arm/long-calls-1.c scan-assembler-not \tbl?\tweak_l1\n
FAIL: gcc.target/arm/long-calls-1.c scan-assembler-not \tbl?\tweak_l3\n

Corresponding mailing thread:
https://gcc.gnu.org/ml/gcc-patches/2015-02/msg01114.html

Reply via email to