Also, it appears that the combination of flags has an effect on producing the ICE.
figgles@itanic:~$ g++ bug635153.c -fvisibility=hidden -fno-exceptions -g -Os -c
In file included from nsRuleNode.cpp:82:0:
CSSCalc.h: In function 'typename CalcOps::result_type mozilla::css::ComputeCalc(const typename CalcOps::input_type&, CalcOps&) [with CalcOps = CalcLengthCalcOps, typename CalcOps::result_type = int, typename CalcOps::input_type = nsCSSValue]':
CSSCalc.h:144:1: internal compiler error: in dwarf2out_cfi_begin_epilogue, at dwarf2out.c:3015
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
^C
figgles@itanic:~$ g++ bug635153.c -fvisibility=hidden -fno-exceptions -Os -c
figgles@itanic:~$ g++ bug635153.c -fno-exceptions -g -Os -c
Apparenly when "-Os" is enabled AND *both* "-g" and "-fvisibility=hidden" are enabled, THEN you get a crash. Using "-Os" with only one of "-g" and "-fvisibility=hidden" will successfully compile it.