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/14018] New: m68k backend: -malign-loops/-malign-jumps broken


The m68k backend has -malign-loops, -malign-jumps and -malign-functions
target options. The i386 backend has them too but warns when they are used
and suggest to use the corresponding -falign- option. Furthermore a comment
of i386.c states these options are scheduled for removal.
Then usage of m68k_align_loops and m68k_align_jumps is broken since both
values are passed as-is. However, the macros that use them as arguments
expect log2 arguments as stated in final.c for LABEL_ALIGN_AFTER_BARRIER
and LOOP_ALIGN.

How-To-Repeat:
Check m68k/m68k.h, m68k/m68k.c and final.c
------- Additional Comments From gni at gecko dot de  2004-02-04 15:01 -------
Fix:
These options should be removed.

-- 
           Summary: m68k backend: -malign-loops/-malign-jumps broken
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gni at gecko dot de
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14018


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