[Bug pch/39420] Using pre-compiled headers results in a bus error

2009-09-20 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-09-20 11:25 --- Invalid according to comment #2 -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug pch/39420] Using pre-compiled headers results in a bus error

2009-03-10 Thread johnw at gnu dot org
--- Comment #1 from johnw at gnu dot org 2009-03-10 08:42 --- Created an attachment (id=17435) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17435action=view) The file resulting from using -save-temps This code uses Boost extensively, although I don't know if that has any bearing

[Bug pch/39420] Using pre-compiled headers results in a bus error

2009-03-10 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-03-10 11:24 --- You need to make sure to include the pch only from the toplevel source. Otherwise interesting things may happen. A convenient way to do so is to include the pch via the -include command-line option. --

[Bug pch/39420] Using pre-compiled headers results in a bus error

2009-03-10 Thread johnw at gnu dot org
--- Comment #3 from johnw at gnu dot org 2009-03-10 19:32 --- Hmm... I have ensured that the #include chain in every source file results in the given header appearing first. That is, whatever a file includes, it will include utils.h, which includes system.hh. And so, it works with 4.2