https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55399
Bug 55399 depends on bug 65550, which changed state.
Bug 65550 Summary: [4.8/4.9 Regression] ICE (segfault) with pch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65550
What|Removed |Added
---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55399
Steve Ellcey changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55399
--- Comment #6 from Steve Ellcey 2012-11-21 21:28:41
UTC ---
Author: sje
Date: Wed Nov 21 21:28:30 2012
New Revision: 193709
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193709
Log:
2012-11-21 Steve Ellcey
PR pch/55
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55399
--- Comment #5 from joseph at codesourcery dot com 2012-11-20 00:44:06 UTC ---
So you need to trace the cause of not using the header. -Winvalid-pch may
help, but ultimately you need to find whether the file is examined at all,
if not th
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55399
--- Comment #4 from Steve Ellcey 2012-11-20 00:32:22
UTC ---
OK, forget the comment about stdc-predef.h, I was looking in my GCC install
area instead of the glibc root area. I do have stdc-predef.h.
The failure mode is a refusal to use
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55399
--- Comment #3 from joseph at codesourcery dot com 2012-11-20 00:15:42 UTC ---
Well, you need to start by looking at how it "fails", e.g. segfault,
macros found to be predefined not the same as those predefined when the
PCH was created, o
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55399
--- Comment #2 from Steve Ellcey 2012-11-19 23:53:08
UTC ---
Do you have any suggestions of where I should start? The failures are with
tests that create preprocessed header file, remove the original header file,
then compile a program th
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55399
--- Comment #1 from joseph at codesourcery dot com 2012-11-19 22:54:40 UTC ---
This is heavily dependent on the details of system headers - though I did
test it for glibc both with and without stdc-predef.h. You'll need to
debug it with