FS#68084 - [gcc] internal compiler erorr
Attached to Project:
Arch Linux
Opened by Luna D Dragon (nullrequest) - Saturday, 03 October 2020, 10:15 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 05 November 2021, 19:50 GMT
Opened by Luna D Dragon (nullrequest) - Saturday, 03 October 2020, 10:15 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 05 November 2021, 19:50 GMT
|
Details
Description:
I was compiling rose-compiler when gcc threw this error during GIMPLE pass: strlen /home/nullrequest/rose/src/midend/astDiagnostics/AstStatistics.C: In member function ‘virtual void ROSE_Statistics::AstNodeMemoryPoolStatistics::visit(SgNode*)’: /home/nullrequest/rose/src/midend/astDiagnostics/AstStatistics.C:181: internal compiler error: in subspan, at input.h:69 181 | void AstNodeMemoryPoolStatistics::visit ( SgNode* node) | Please submit a full bug report, with preprocessed source if appropriate. the source i was compiling can be fetched from https://github.com/rose-compiler/rose Steps to reproduce: 1. git clone -b develop https://github.com/rose-compiler/rose rose 2. mkdir release 3. cd release 4. cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_LIBDIR=lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON 5. make -j2 This specifically is the source of what function caused the error. ``` void AstNodeTraversalStatistics::visit(SgNode* node) { if(!node) return; ROSE_ASSERT(node->variantT()<V_SgNumVariants); numNodeTypes.at(node->variantT())++; } ``` |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Friday, 05 November 2021, 19:50 GMT
Reason for closing: Fixed
Additional comments about closing: 2021-11-05: A task closure has been requested. Reason for request: I think it was fixed in gcc 10
Friday, 05 November 2021, 19:50 GMT
Reason for closing: Fixed
Additional comments about closing: 2021-11-05: A task closure has been requested. Reason for request: I think it was fixed in gcc 10
Comment by loqs (loqs) - Saturday,
03 October 2020, 16:20 GMT
Comment by freswa (frederik) -
Monday, 05 October 2020, 12:45 GMT
Comment by
Luna D Dragon (nullrequest) -
Tuesday, 06 October 2020, 15:16 GMT
Comment by freswa (frederik) -
Tuesday, 06 October 2020, 15:17 GMT
Comment by
Luna D Dragon (nullrequest) -
Friday, 09 October 2020, 03:53 GMT
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96935
?
Please try the mentioned patch. Thanks
how should i do this?
https://wiki.archlinux.org/index.php/Patching_packages#Applying_patches
The mentioned patch works.