public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/40154]  New: internal compiler error: in do_SUBST, at combine.c:681
@ 2009-05-15  2:21 rmansfield at qnx dot com
  2009-05-16  0:08 ` [Bug middle-end/40154] [4.4/4.5 Regression] " kkojima at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: rmansfield at qnx dot com @ 2009-05-15  2:21 UTC (permalink / raw)
  To: gcc-bugs

ryan@ryan:~/gcc/trunk/gcc/build/gcc$ ./xgcc -v
Using built-in specs.
Target: sh4-unknown-linux-gnu
Configured with: ../configure --build=i486-build_pc-linux-gnu
--host=i486-build_pc-linux-gnu --target=sh4-unknown-linux-gnu
--prefix=/home/ryan/crosstool-ng-1.3.1/targets/sh4-unknown-linux-gnu/build/gcc-core-static
--with-local-prefix=/home/ryan/x-tools/sh4-unknown-linux-gnu/sh4-unknown-linux-gnu/sys-root
--disable-multilib
--with-sysroot=/home/ryan/x-tools/sh4-unknown-linux-gnu/sh4-unknown-linux-gnu/sys-root
--with-newlib --enable-threads=no --disable-shared --enable-__cxa_atexit
--disable-nls --enable-symvers=gnu --enable-languages=c
--enable-target-optspace
Thread model: single
gcc version 4.5.0 20090515 (experimental) [trunk revision 147550] (GCC)


$ cat ~/ice.i
char buf[20];

int main() {
        long long int t = 50;
        strcpy(buf, "hello world");
        t *= 1000000000;
        for(;;)
            foo(&t);
}
ryan@ryan:~/gcc/trunk/gcc/build/gcc$ ./xgcc -B. -O ~/ice.i
/home/ryan/ice.i: In function 'main':
/home/ryan/ice.i:5: warning: incompatible implicit declaration of built-in
function 'strcpy'
/home/ryan/ice.i:9: internal compiler error: in do_SUBST, at combine.c:681
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Works in gcc 4.3.3. Fails in gcc 4.4.0 and trunk (4.5.0 20090515)


-- 
           Summary: internal compiler error: in do_SUBST, at combine.c:681
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rmansfield at qnx dot com
 GCC build triplet: i486-build_pc-linux-gnu
  GCC host triplet: i486-build_pc-linux-gnu
GCC target triplet: sh4-unknown-linux-gnu


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


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

end of thread, other threads:[~2010-04-30  9:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-15  2:21 [Bug middle-end/40154] New: internal compiler error: in do_SUBST, at combine.c:681 rmansfield at qnx dot com
2009-05-16  0:08 ` [Bug middle-end/40154] [4.4/4.5 Regression] " kkojima at gcc dot gnu dot org
2009-06-03  0:19 ` kkojima at gcc dot gnu dot org
2009-07-15  7:31 ` steven at gcc dot gnu dot org
2009-10-15 12:55 ` jakub at gcc dot gnu dot org
2010-01-21 13:18 ` jakub at gcc dot gnu dot org
2010-04-30  9:00 ` [Bug middle-end/40154] [4.4/4.5/4.6 " jakub 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).