optimization/5415: [hp-ux] -O2 crash in redirect_edge_and_branch

Dara Hazeghi dhazeghi@stanford.edu
Tue May 6 17:46:00 GMT 2003


http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit- 
trail&database=gcc&pr=5415

Hi all

the testcase in this PR no longer crashes as reported on gcc 3.3. On  
powerpc-apple-darwin6.5 x hppa2.0w-hp-hpux11.00 cross compiler on 3.3  
cvs (20030506) I get no errors. Unfortunately the testcase does not  
compile at all on 3.4 due to changes in the C++ parser. With 3.4 I get:

bash-2.05a$ /usr/local/lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.4/cc1plus  
-quiet -W -O2 -fPIC qinputcontext_x11.ii
In file included from  
/usr/local/gccSmokin/include/g++-v3/bits/basic_ios.h:41,
                  from /usr/local/gccSmokin/include/g++-v3/ios:51,
                  from /usr/local/gccSmokin/include/g++-v3/ostream:44,
                  from /usr/local/gccSmokin/include/g++-v3/iterator:70,
                  from /usr/llocal/qt-301-gcc3/include/qmap.h:49,
                  from kernel/qmime.h:43,
                  from kernel/qevent.h:45,
                  from kernel/qobject.h:45,
                  from kernel/qwidget.h:43,
                  from kernel/qdesktopwidget.h:42,
                  from kernel/qapplication.h:42,
                  from kernel/qinputcontext_x11.cpp:39:
/usr/local/gccSmokin/include/g++-v3/bits/locale_facets.h: In  
constructor `
    std::collate_byname<_CharT>::collate_byname(const char*, long  
unsigned int)
    ':
/usr/local/gccSmokin/include/g++-v3/bits/locale_facets.h:905: error: `
    _M_c_locale_collate' has not been declared
...

I'm not sure if this PR should be kept open or not, but it looks like  
changes in 3.4 mean the provided preprocessed source isn't a valid  
testcase, so we need an updated one.

Dara



More information about the Gcc-bugs mailing list