From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2758 invoked by alias); 20 Feb 2006 05:19:59 -0000 Received: (qmail 2741 invoked by uid 48); 20 Feb 2006 05:19:57 -0000 Date: Mon, 20 Feb 2006 05:19:00 -0000 Subject: [Bug tree-optimization/26376] New: K+R style function compiled with -qipa-pta ICEs X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "anton at samba dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-02/txt/msg02254.txt.bz2 List-Id: After seeing -qipa-pta appear, I thought id give it a spin :) Looks like the test case below fails, but only when using K+R style functions. $ /home/anton/toolchain/install/bin/gcc -v Using built-in specs. Target: powerpc-linux Configured with: /home/anton/toolchain/gcc/gcc/configure --build=powerpc-linux --host=powerpc-linux --target=powerpc-linux --enable-targets=powerpc64-linux --enable-languages=c,c++,fortran --prefix=/home/anton/toolchain/install Thread model: posix gcc version 4.2.0 20060220 (experimental) $ cat foo.c #if 1 void foo(a) void (*a)(); { (*a)(); } #else void foo(void (*a)()) { (*a)(); } #endif $ /home/anton/toolchain/install/bin/gcc -c -O3 -fipa-pta foo.c foo.c: In function 'foo': foo.c:6: internal compiler error: in find_func_aliases, at tree-ssa-structalias.c:3321 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. -- Summary: K+R style function compiled with -qipa-pta ICEs Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: anton at samba dot org GCC target triplet: powerpc64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26376