[Bug c++/43087] [4.5 Regression] ICE in tsubst, at cp/pt.c:9923
manu at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Feb 27 22:41:00 GMT 2010
------- Comment #12 from manu at gcc dot gnu dot org 2010-02-27 22:41 -------
I meant 'expanding the typedef'.
It would be nice to have a delta tool that expanded typedefs iteratively. Also,
it sometimes good to replace spaces by new lines to give delta larger search
space. I also use the following preprocessing:
cp -f $1 $1.bak
perl -i -0 -w -p -e 's/((class|struct)\s+[_A-Za-z]+)\s*\{/$1\{/sg;' $1
perl -i -0 -w -p -e 's/\{\s+\}/\{\}/sg;' $1
perl -i -0 -w -p -e 's/\s+\{/\{/sg;' $1
perl -i -0 -w -p -e 's/=\s+/=/sg;' $1
perl -i -0 -w -p -e 's/:\s+/:/sg;' $1
perl -i -0 -w -p -e 's/\s+\(/\(/sg;' $1
perl -i -0 -w -p -e 's/<([a-zA-Z_]+)/<\n$1/sg;' $1
perl -i -0 -w -p -e 's/([a-zA-Z_])>/$1\n>/sg;' $1
perl -i -0 -w -p -e 's/\n\n/\n/sg;' $1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43087
More information about the Gcc-bugs
mailing list