[Bug c++/32256] [4.0/4.1/4.2/4.3 regression] pragma system_header doesn't suppress warnings in tree-cfg
tromey at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Nov 2 20:43:00 GMT 2007
------- Comment #2 from tromey at gcc dot gnu dot org 2007-11-02 20:43 -------
You can reproduce this in C by using -funit-at-a-time.
IMO this is a general bug in unit-at-a-time.
Perhaps cgraph_analyze_function or something similar should set
in_system_header. Maybe set_cfun.
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-11-02 20:43:14
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32256
More information about the Gcc-bugs
mailing list