This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug pch/10757] Adding -fpic/-fPIC causes crash with PCH created without -fpic/-fPIC
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Aug 2003 04:13:50 -0000
- Subject: [Bug pch/10757] Adding -fpic/-fPIC causes crash with PCH created without -fpic/-fPIC
- References: <20030512190603.10757.ljrittle@acm.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10757
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2003-06-17 22:55:43 |2003-08-04 04:13:49
date| |
------- Additional Comments From pinskia at physics dot uc dot edu 2003-08-04 04:13 -------
Here is how to reproduce it on Darwin (because on Darwin -fPIC is on by default):
g++ -o t.h.gch t.h -mdynamic-no-pic
g++ -include t.h -Winvalid-pch main.c