Bug 1504185
| Summary: | g++ crashes | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | DevTools | Reporter: | Sterge <stergios.zissakis> | ||||||
| Component: | clang | Assignee: | Tom Stellard <tstellar> | ||||||
| Status: | CLOSED NOTABUG | QA Contact: | Tilmann Scheller <tschelle> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | go-toolset-7 | CC: | jistone, law | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | 2.1 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: |
CentOS 7.4.1708 (Core)
|
|||||||
| Last Closed: | 2017-12-05 04:34:04 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Created attachment 1340827 [details]
preprocessed c++ code
Did you mean to file this bug against the gcc component? (In reply to Tom Stellard from comment #2) > Did you mean to file this bug against the gcc component? Yes indeed! Apologies if I got it wrong... It looks like you are using centos, so in that case you should refile this at: bugs.centos.org If you are using RHEL or Fedora then please refile using the correct OS/Component. |
Created attachment 1340826 [details] Preprocessed source code Description of problem: Compiler (g++) crash Version-Release number of selected component (if applicable): g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16) How reproducible: Preprocessed source attached Steps to Reproduce: 1. Use the attached preprocessed code 2. If not good, please contact me for initial srouce code 3. Actual results: c++ -g -std=c++11 -I. -I/home/szis/dev/cppInfrastructure/src/ -I/home/szis/dev/cppInfrastructure/include/ -fpermissive -c /home/szis/dev/cppInfrastructure/src/main.cpp -o /home/szis/dev/cppInfrastructure/src/main.o In file included from /usr/include/c++/4.8.2/thread:39:0, from /home/szis/dev/cppInfrastructure/include/utils/Logger.h:10, from /home/szis/dev/cppInfrastructure/src/main.cpp:8: /usr/include/c++/4.8.2/functional: In instantiation of ‘typename std::result_of<_Functor(_ArgTypes ...)>::type std::_Bind_simple<_Callable(_Args ...)>::_M_invoke(std::_Index_tuple<_Indices ...>) [with long unsigned int ..._Indices = {}; _Callable = FileReader<T>::Go() const [with T = double]::__lambda2; _Args = {}; typename std::result_of<_Functor(_ArgTypes ...)>::type = void]’: /usr/include/c++/4.8.2/functional:1720:36: required from ‘std::_Bind_simple<_Callable(_Args ...)>::result_type std::_Bind_simple<_Callable(_Args ...)>::operator()() [with _Callable = FileReader<T>::Go() const [with T = double]::__lambda2; _Args = {}; std::_Bind_simple<_Callable(_Args ...)>::result_type = void]’ /usr/include/c++/4.8.2/thread:115:13: required from ‘void std::thread::_Impl<_Callable>::_M_run() [with _Callable = std::_Bind_simple<FileReader<T>::Go() const [with T = double]::__lambda2()>]’ /home/szis/dev/cppInfrastructure/src/main.cpp:79:1: required from here /usr/include/c++/4.8.2/functional:1731:63: internal compiler error: in tsubst_copy, at cp/pt.c:12137 return std::forward<_Callable>(std::get<0>(_M_bound))( ^ Expected results: An object file. Additional info: