This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/42461] [4.5/4.6 regression] missed optimization for pure functions
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jun 2010 22:02:46 -0000
- Subject: [Bug rtl-optimization/42461] [4.5/4.6 regression] missed optimization for pure functions
- References: <bug-42461-8951@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from hjl dot tools at gmail dot com 2010-06-10 22:02 -------
The testcase failed on Linux/ia64 at -O:
[hjl@gnu-12 gcc]$ ./xgcc -B./ -O
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gcc.dg/pr42461.c
/tmp/ccmdb99H.o: In function `main':
pr42461.c:(.text+0x22): undefined reference to `link_failure'
collect2: ld returned 1 exit status
[hjl@gnu-12 gcc]$ ./xgcc -B./ -O2
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gcc.dg/pr42461.c
[hjl@gnu-12 gcc]$
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42461