------- Comment #4 from ramana at gcc dot gnu dot org 2010-07-02 16:15 ------- I'm getting this failure in stage3 thus just attaching the expmed.i pre-processed file isn't enough to reproduce this with a cross.
Doing a bisect I find that rev: 160827 - builds expmed.o in stage3 . rev: 160833 - Segfaults while building expmed.o rev:160832 was this commit . Author: jamborm <jamb...@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Wed Jun 16 12:21:56 2010 +0000 2010-06-16 Martin Jambor <mjam...@suse.cz> PR tree-optimization/43905 * tree-sra.c: Include tree-inline.h. (create_abstract_origin): Removed. (modify_function): Version the call graph node instead of creating abstract origins and dealing with same_body aliases. * tree-sra.c (ipa_sra_preliminary_function_checks): Check whether the function is versionable. * Makefile.in (tree-sra.o): Add TREE_INLINE_H to dependencies. * testsuite/g++.dg/torture/pr43905.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/tr...@160832 while 160833 touches only libstdc++ I think there is a case of memory corruption or miscompilation somewhere because of which global_dc->printer changes value between 2 calls to diagnostic_report_diagnostic. Still digging to find out what's gone wrong here - might well be a latent bug exposed from elsewhere. Cheers Ramana -- ramana at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jamborm at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44768