https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84197

            Bug ID: 84197
           Summary: Segmentation fault when setting -g
           Product: gcc
           Version: 7.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fiesh at zefix dot tv
  Target Milestone: ---

Created attachment 43335
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43335&action=edit
Reduced file leading to segfault with "g++ -c -std=c++17 -g"

Attached you find the creduced file for triggering the following behavior with
g++-7.3.0:

% g++ -c -std=gnu++17 c.ii
<warning omitted>

works, while

% g++ -c -std=gnu++17 -g c.ii
<warning omitted>                                                              
                                                                           
c.ii: In member function ‘auto y< <template-parameter-1-1> >::operator()()
[with <template-parameter-1-1> = int]’:                                    
c.ii:123:17: internal compiler error: Segmentation fault                       
                                                                        g::g()
{ f<ce>; }

segfaults.

Reply via email to