summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
03506b9)
* tree-mudflap.c (mx_register_decls): Guard warning by
!DECL_ARTIFICIAL check.
* testsuite/libmudflap.c++/pass60-frag.cxx: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131249
138bc75d-0d04-0410-961f-
82ee72b054a4
+2008-01-01 Volker Reichelt <v.reichelt@netcologne.de>
+
+ PR libmudflap/26442
+ * tree-mudflap.c (mx_register_decls): Guard warning by
+ !DECL_ARTIFICIAL check.
+
2008-01-01 Jakub Jelinek <jakub@redhat.com>
* config/i386/sse.md (sse5_pperm, sse5_pperm_pack_v2di_v4si,
2008-01-01 Jakub Jelinek <jakub@redhat.com>
* config/i386/sse.md (sse5_pperm, sse5_pperm_pack_v2di_v4si,
/* Add the __mf_register call at the current appending point. */
if (tsi_end_p (initially_stmts))
/* Add the __mf_register call at the current appending point. */
if (tsi_end_p (initially_stmts))
- warning (0, "mudflap cannot track %qs in stub function",
- IDENTIFIER_POINTER (DECL_NAME (decl)));
+ {
+ if (!DECL_ARTIFICIAL (decl))
+ warning (0, "mudflap cannot track %qs in stub function",
+ IDENTIFIER_POINTER (DECL_NAME (decl)));
+ }
else
{
tsi_link_before (&initially_stmts, register_fncall,
else
{
tsi_link_before (&initially_stmts, register_fncall,
+2008-01-01 Volker Reichelt <v.reichelt@netcologne.de>
+
+ PR libmudflap/26442
+ * testsuite/libmudflap.c++/pass60-frag.cxx: New test.
+
2007-10-15 Maciej W. Rozycki <macro@linux-mips.org>
* configure: Regenerate following changes to ../config/tls.m4.
2007-10-15 Maciej W. Rozycki <macro@linux-mips.org>
* configure: Regenerate following changes to ../config/tls.m4.
--- /dev/null
+// PR 26442
+
+struct A
+{
+ A();
+};
+
+int main()
+{
+ if (0)
+ A();
+ return 0;
+}