Hi, The following command correctly produces a diagnostic that specifying -munaligned-access for a v6M core is an error,
clang -c -target thumbv6m-none-linux-eabi -mcpu=cortex-m0 -munaligned-access empty.c But the next command does not, clang -c -target thumb-none-linux-eabi -mcpu=cortex-m0 -munaligned-access empty.c In the second command, "thumv6m" has been replaced with "thumb". This patch causes the second command to issue the same diagnostic as the first. Please find the patch attached. Thanks, Charlie.
0001-Diagnostic-for-munaligned-access-on-v6M-targets.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
