This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/69857] New: gcc/config/arm/arm.c:15949: return in strange place ?


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

            Bug ID: 69857
           Summary: gcc/config/arm/arm.c:15949: return in strange place ?
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

[trunk/gcc/config/arm/arm.c:15949]: (style) Statements following return, break,
continue, goto or throw will never be executed.

Source code is

    else if (TARGET_ARM)
      {
        return false;
        int regno = REGNO (operands[0]);
        if (!peep2_reg_dead_p (4, operands[0]))
          {

svn blame says

197530     gretay     else if (TARGET_ARM)
197530     gretay       {
197530     gretay         return false;
197530     gretay         int regno = REGNO (operands[0]);
197530     gretay         if (!peep2_reg_dead_p (4, operands[0]))
197530     gretay           {

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]