[Bug middle-end/53884] New: [4.7/4.8 Regression] ICE: in function_and_variable_visibility, at ipa.c:818 with -flto -fno-weak

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Sat Jul 7 08:50:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53884

             Bug #: 53884
           Summary: [4.7/4.8 Regression] ICE: in
                    function_and_variable_visibility, at ipa.c:818 with
                    -flto -fno-weak
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


Created attachment 27757
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27757
reduced testcase

Compiler output:
$ gcc -flto -fno-weak testcase.C 
testcase.C:9:12: internal compiler error: in function_and_variable_visibility,
at ipa.c:818
 S < foo > s;
            ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r189247 - crash
4.7 r188682 - crash
4.6 r188682 - OK
4.5 r188682 - OK



More information about the Gcc-bugs mailing list