Bug 873910 - Internal compiler error: Error reporting routines re-entered.
Summary: Internal compiler error: Error reporting routines re-entered.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-06 23:18 UTC by Sam Varshavchik
Modified: 2012-11-09 11:49 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-11-09 11:49:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
gzip-compressed preprocessed source (226.12 KB, application/x-gzip)
2012-11-06 23:18 UTC, Sam Varshavchik
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 52432 0 None None None Never

Description Sam Varshavchik 2012-11-06 23:18:01 UTC
Created attachment 639689 [details]
gzip-compressed preprocessed source

Description of problem:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I . -I ./../includes -I ../includes -g -std=c++0x -fno-omit-frame-pointer -fvisibility-inlines-hidden -MT http_responseimpl.lo -MD -MP -MF .deps/http_responseimpl.Tpo -c http_responseimpl.C  -fPIC -DPIC -o .libs/http_responseimpl.o
'
Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/cctlwufF.out file, please attach this to your bugreport.

Version-Release number of selected component (if applicable):

gcc-c++-4.7.2-2.fc17.x86_64

How reproducible:

Always

Steps to Reproduce:
1. Try to compile the attached source, with -std=c++0x
  
Actual results:

An internal compiler error.

Expected results:

An object module, or a compiler diagnostic.

Other:

Eventually tracked down the broken code that was triggering this: invoking a
static class member without an object.

Comment 1 Jakub Jelinek 2012-11-09 11:49:12 UTC
As this has been fixed for GCC 4.8, and is ICE on invalid code in an experimental feature (C++11), am not going to backport this to 4.7.
The trunk reports:
http_responseimpl.C: In member function ‘void x::http::responseimpl::addCookie(const x::http::cookie&)’:
http_responseimpl.C:502:61: error: cannot call member function ‘decltype (token_or_quoted_word(container.begin(), container.end())) x::tokenizer<token_class>::token_or_quoted_word(const container_type&) [with container_type = std::basic_string<char>; token_class = x::is_http_token; decltype (token_or_quoted_word(container.begin(), container.end())) = <type error>]’ without object
http_responseimpl.C:505:8: error: ‘token_or_quoted_wird’ is not a member of ‘x::tokenizer<x::is_http_token>’
http_responseimpl.C:509:8: error: ‘create’ is not a member of ‘x::const_ref<x::localeObj, x::localeBase>::base {aka x::localeBase}’


Note You need to log in before you can comment on or make changes to this bug.