Comment 5 for bug 427829

Revision history for this message
Oliver Grawert (ogra) wrote :

running:
g++ -save-temps -D_REENTRANT -I. -I../common -DU_I18N_IMPLEMENTATION -O -fvisibility=hidden -c -o rematch.ao rematch.cpp

g++ -O -fvisibility=hidden -c rematch.ii
g++ -O2 -fvisibility=hidden -c rematch.ii
g++ -Os -fvisibility=hidden -c rematch.ii
g++ -O0 -fvisibility=hidden -c rematch.ii

results in the following pattern:

jaunty default gcc: -Os and -O0 work, -O and -O2 fail
jaunty gcc snapshot: all work
jaunty with karmic gcc 4.4: all work
karmic with gcc 4.3: -Os and -O0 work, -O and -O2 fail