This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/49772] New: [4.7 Regression] ICE: in ipa_pta_execute, at tree-ssa-structalias.c:6790 with -fipa-pta


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

           Summary: [4.7 Regression] ICE: in ipa_pta_execute, at
                    tree-ssa-structalias.c:6790 with -fipa-pta
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
                CC: rguenth@gcc.gnu.org
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 24784
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24784
reduced testcase (from g++.dg/tree-ssa/pr42337.C)

Compiler output:
$ gcc -O -fipa-pta testcase.C 
testcase.C: In member function 'int S< <template-parameter-1-1> >::foo() [with
<template-parameter-1-1> = int]':
testcase.C:4:39: error: inlining failed in call to always_inline 'int S<
<template-parameter-1-1> >::foo() [with <template-parameter-1-1> = int]':
recursive inlining
testcase.C:7:7: error: called from here
testcase.C: At global scope:
testcase.C:16:1: internal compiler error: in ipa_pta_execute, at
tree-ssa-structalias.c:6790
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Compiler output - 4.6:
$ gcc -O -fipa-pta testcase.C 
testcase.C: In function 'void foo()':
testcase.C:4:39: sorry, unimplemented: inlining failed in call to 'int S<
<template-parameter-1-1> >::foo() [with <template-parameter-1-1> = int]':
recursive inlining
testcase.C:7:7: sorry, unimplemented: called from here

Tested revisions:
r176370 - crash
4.6 r176280 - sorry


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]