This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/32256] pragma system_header doesn't suppress warnings in tree-cfg
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jun 2007 16:53:14 -0000
- Subject: [Bug c++/32256] pragma system_header doesn't suppress warnings in tree-cfg
- References: <bug-32256-133@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pcarlini at suse dot de 2007-06-08 16:53 -------
In fact, the problem is of the same type of that in C++/30500: in C++ only when
execute_warn_function_return begins in_system_header is zero (in C is 1 and all
the warnings are suppressed because diagnostic_report_warnings_p is false)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32256