PR c++/88636
* decl.c (builtin_function_1): Return result of pushdecl_top_level
or pushdecl rather than decl.
* g++.target/i386/pr88636.C: New test.
From-SVN: r267548
+2019-01-03 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/88636
+ * decl.c (builtin_function_1): Return result of pushdecl_top_level
+ or pushdecl rather than decl.
+
2019-01-03 Paolo Carlini <paolo.carlini@oracle.com>
* tree.c (handle_nodiscard_attribute): Improve warning location.
}
if (is_global)
- pushdecl_top_level (decl);
+ return pushdecl_top_level (decl);
else
- pushdecl (decl);
-
- return decl;
+ return pushdecl (decl);
}
tree
+2019-01-03 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/88636
+ * g++.target/i386/pr88636.C: New test.
+
2019-01-03 Paolo Carlini <paolo.carlini@oracle.com>
* g++.dg/cpp1z/nodiscard3.C: Test locations too.
--- /dev/null
+// PR c++/88636
+// { dg-do compile }
+// { dg-options "-msse2 -mno-sse3 -fno-exceptions --param ggc-min-heapsize=0" }
+
+extern unsigned int __builtin_ia32_crc32si (unsigned int, unsigned int);
+#pragma GCC target("sse4.2")