public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/26376]  New: K+R style function compiled with -qipa-pta ICEs
@ 2006-02-20  5:19 anton at samba dot org
  2006-02-21 14:05 ` [Bug tree-optimization/26376] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: anton at samba dot org @ 2006-02-20  5:19 UTC (permalink / raw)
  To: gcc-bugs

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 <URL:http://gcc.gnu.org/bugs.html> 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-02-27  3:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-20  5:19 [Bug tree-optimization/26376] New: K+R style function compiled with -qipa-pta ICEs anton at samba dot org
2006-02-21 14:05 ` [Bug tree-optimization/26376] " pinskia at gcc dot gnu dot org
2006-02-21 14:48 ` [Bug tree-optimization/26376] K+R style function compiled with -fipa-pta ICEs dberlin at gcc dot gnu dot org
2006-02-21 16:20 ` dberlin at dberlin dot org
2006-02-23 18:16 ` dberlin at gcc dot gnu dot org
2006-02-23 18:25 ` dberlin at gcc dot gnu dot org
2006-02-27  3:43 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).