aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.in
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2018-09-20 19:34:30 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2018-09-20 19:34:30 +0000
commit894f597f8fb8693a5d0f5834e98a8ccebbbb9106 (patch)
treeaa13ba0a1197e59239ebf0dab931b47a5b780549 /gcc/config.in
parent2eb3745a7bcd7f326b44f784d2f0ca6a2fd4080d (diff)
[PR87013] check for .loc is_stmt support in the assembler
Back when we had the logic to output is_stmt but never exercised it, it didn't matter that we didn't test for assembler support for it. But there are still assemblers out there that do not support it, so now that we enable the formerly latent is_stmt logic, we'd better make sure the assembler can deal with it. for gcc/ChangeLog PR bootstrap/87013 * configure.ac: Check for .loc is_stmt support. * configure, config.in: Rebuilt. * dwarf2out.c (dwarf2out_source_line): Skip is_stmt if not supported. From-SVN: r264449
Diffstat (limited to 'gcc/config.in')
-rw-r--r--gcc/config.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config.in b/gcc/config.in
index 2856e72d627..775536e68e9 100644
--- a/gcc/config.in
+++ b/gcc/config.in
@@ -1297,6 +1297,12 @@
#endif
+/* Define if your assembler supports the .loc is_stmt sub-directive. */
+#ifndef USED_FOR_TARGET
+#undef HAVE_GAS_LOC_STMT
+#endif
+
+
/* Define if your assembler supports specifying the maximum number of bytes to
skip when using the GAS .p2align command. */
#ifndef USED_FOR_TARGET