public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/39003]  New: internal compiler error: in output_parm_decl, at lto-function-out.c:2652
@ 2009-01-28 14:41 rubidium at openttd dot org
  2009-01-28 14:42 ` [Bug c++/39003] " rubidium at openttd dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: rubidium at openttd dot org @ 2009-01-28 14:41 UTC (permalink / raw)
  To: gcc-bugs

Bug in lto revision 143731 (gcc 4.4 revision 143712 works fine)

Using built-in specs.
COLLECT_GCC=g++lto-
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/i686-pc-linux-gnu/4.4.0/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../configure --program-suffix=lto- --with-arch=pentium-m
--enable-threads --enable-languages=lto,c,c++
Thread model: posix
gcc version 4.4.0 20090127 (experimental) (lto merged with rev 143693)
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-O2' '-fomit-frame-pointer' '-flto'
'-DUNIX' '-Wall' '-Wno-multichar' '-Wsign-compare' '-Wundef' '-Wwrite-strings'
'-Wpointer-arith' '-Wno-uninitialized' '-W' '-Wno-unused-parameter'
'-Wformat=2' '-Wredundant-decls' '-fno-strict-aliasing' '-fno-strict-overflow'
'-DWITH_ALLEGRO' '-I/usr/include' '-DWITH_SDL' '-I/usr/include/SDL'
'-D_REENTRANT' '-DWITH_ZLIB'
'-I/home/rubidium/openttd/clean3/src/3rdparty/squirrel/include'
'-DNO_GARBAGE_COLLECTOR' '-DWITH_PNG' '-I/usr/include/libpng12'
'-DWITH_FONTCONFIG' '-DWITH_FREETYPE' '-I/usr/include/freetype2' '-DWITH_ICU'
'-D_REENTRANT' '-I/usr/include' '-DENABLE_NETWORK' '-DWITH_PERSONAL_DIR'
'-DPERSONAL_DIR=".openttd"'
'-DGLOBAL_DATA_DIR="/usr/local/share/games/openttd"' '-I'
'/home/rubidium/openttd/clean3/objs/release' '-I'
'/home/rubidium/openttd/clean3/objs/lang' '-c' '-o' 'ai/ai_scanner.o'
'-shared-libgcc' '-mtune=generic' '-march=pentium-m'
 /usr/local/libexec/gcc/i686-pc-linux-gnu/4.4.0/cc1plus -E -quiet -v
-I/usr/include -I/usr/include/SDL
-I/home/rubidium/openttd/clean3/src/3rdparty/squirrel/include
-I/usr/include/libpng12 -I/usr/include/freetype2 -I/usr/include -I
/home/rubidium/openttd/clean3/objs/release -I
/home/rubidium/openttd/clean3/objs/lang -D_GNU_SOURCE -DUNIX -DWITH_ALLEGRO
-DWITH_SDL -D_REENTRANT -DWITH_ZLIB -DNO_GARBAGE_COLLECTOR -DWITH_PNG
-DWITH_FONTCONFIG -DWITH_FREETYPE -DWITH_ICU -D_REENTRANT -DENABLE_NETWORK
-DWITH_PERSONAL_DIR -DPERSONAL_DIR=".openttd"
-DGLOBAL_DATA_DIR="/usr/local/share/games/openttd"
/home/rubidium/openttd/clean3/src/ai/ai_scanner.cpp -mtune=generic
-march=pentium-m -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings
-Wpointer-arith -Wno-uninitialized -W -Wno-unused-parameter -Wformat=2
-Wredundant-decls -fomit-frame-pointer -flto -fno-strict-aliasing
-fno-strict-overflow -O2 -fpch-preprocess -o ai_scanner.ii
ignoring nonexistent directory
"/usr/local/lib/gcc/i686-pc-linux-gnu/4.4.0/../../../../i686-pc-linux-gnu/include"
ignoring duplicate directory "/usr/include"
  as it is a non-system directory that duplicates a system directory
ignoring duplicate directory "/usr/include"
  as it is a non-system directory that duplicates a system directory
#include "..." search starts here:
#include <...> search starts here:
 /usr/include/SDL
 /home/rubidium/openttd/clean3/src/3rdparty/squirrel/include
 /usr/include/libpng12
 /usr/include/freetype2
 /home/rubidium/openttd/clean3/objs/release
 /home/rubidium/openttd/clean3/objs/lang
 /usr/local/lib/gcc/i686-pc-linux-gnu/4.4.0/../../../../include/c++/4.4.0

/usr/local/lib/gcc/i686-pc-linux-gnu/4.4.0/../../../../include/c++/4.4.0/i686-pc-linux-gnu

/usr/local/lib/gcc/i686-pc-linux-gnu/4.4.0/../../../../include/c++/4.4.0/backward
 /usr/local/include
 /usr/local/lib/gcc/i686-pc-linux-gnu/4.4.0/include
 /usr/local/lib/gcc/i686-pc-linux-gnu/4.4.0/include-fixed
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-O2' '-fomit-frame-pointer' '-flto'
'-DUNIX' '-Wall' '-Wno-multichar' '-Wsign-compare' '-Wundef' '-Wwrite-strings'
'-Wpointer-arith' '-Wno-uninitialized' '-W' '-Wno-unused-parameter'
'-Wformat=2' '-Wredundant-decls' '-fno-strict-aliasing' '-fno-strict-overflow'
'-DWITH_ALLEGRO' '-I/usr/include' '-DWITH_SDL' '-I/usr/include/SDL'
'-D_REENTRANT' '-DWITH_ZLIB'
'-I/home/rubidium/openttd/clean3/src/3rdparty/squirrel/include'
'-DNO_GARBAGE_COLLECTOR' '-DWITH_PNG' '-I/usr/include/libpng12'
'-DWITH_FONTCONFIG' '-DWITH_FREETYPE' '-I/usr/include/freetype2' '-DWITH_ICU'
'-D_REENTRANT' '-I/usr/include' '-DENABLE_NETWORK' '-DWITH_PERSONAL_DIR'
'-DPERSONAL_DIR=".openttd"'
'-DGLOBAL_DATA_DIR="/usr/local/share/games/openttd"' '-I'
'/home/rubidium/openttd/clean3/objs/release' '-I'
'/home/rubidium/openttd/clean3/objs/lang' '-c' '-o' 'ai/ai_scanner.o'
'-shared-libgcc' '-mtune=generic' '-march=pentium-m'
 /usr/local/libexec/gcc/i686-pc-linux-gnu/4.4.0/cc1plus -fpreprocessed
ai_scanner.ii -quiet -dumpbase ai_scanner.cpp -mtune=generic -march=pentium-m
-auxbase-strip ai/ai_scanner.o -O2 -Wall -Wno-multichar -Wsign-compare -Wundef
-Wwrite-strings -Wpointer-arith -Wno-uninitialized -W -Wno-unused-parameter
-Wformat=2 -Wredundant-decls -version -fomit-frame-pointer -flto
-fno-strict-aliasing -fno-strict-overflow -o ai_scanner.s
GNU C++ (lto merged with rev 143693) version 4.4.0 20090127 (experimental)
(i686-pc-linux-gnu)
        compiled by GNU C version 4.4.0 20090127 (experimental), GMP version
4.2.2, MPFR version 2.3.2.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 8dc3a8f7c812ab555f35789c3c3138c0
/home/rubidium/openttd/clean3/src/ai/ai_scanner.cpp:21: internal compiler
error: in output_parm_decl, at lto-function-out.c:2652
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: internal compiler error: in output_parm_decl, at lto-
                    function-out.c:2652
           Product: gcc
           Version: lto
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rubidium at openttd dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug c++/39003] internal compiler error: in output_parm_decl, at lto-function-out.c:2652
  2009-01-28 14:41 [Bug c++/39003] New: internal compiler error: in output_parm_decl, at lto-function-out.c:2652 rubidium at openttd dot org
@ 2009-01-28 14:42 ` rubidium at openttd dot org
  2009-07-08  6:24 ` [Bug lto/39003] " bje at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rubidium at openttd dot org @ 2009-01-28 14:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rubidium at openttd dot org  2009-01-28 14:42 -------
Created an attachment (id=17199)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17199&action=view)
result of gcc -save-temps


-- 


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


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

* [Bug lto/39003] internal compiler error: in output_parm_decl, at lto-function-out.c:2652
  2009-01-28 14:41 [Bug c++/39003] New: internal compiler error: in output_parm_decl, at lto-function-out.c:2652 rubidium at openttd dot org
  2009-01-28 14:42 ` [Bug c++/39003] " rubidium at openttd dot org
@ 2009-07-08  6:24 ` bje at gcc dot gnu dot org
  2009-07-08  9:12 ` rubidium at openttd dot org
  2009-07-08 11:15 ` bje at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: bje at gcc dot gnu dot org @ 2009-07-08  6:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from bje at gcc dot gnu dot org  2009-07-08 06:24 -------
This .ii file now produces errors due to changes in the GCC 4.4 C++ front-end.
Could you please try again and report back?  Thanks.


-- 


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


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

* [Bug lto/39003] internal compiler error: in output_parm_decl, at lto-function-out.c:2652
  2009-01-28 14:41 [Bug c++/39003] New: internal compiler error: in output_parm_decl, at lto-function-out.c:2652 rubidium at openttd dot org
  2009-01-28 14:42 ` [Bug c++/39003] " rubidium at openttd dot org
  2009-07-08  6:24 ` [Bug lto/39003] " bje at gcc dot gnu dot org
@ 2009-07-08  9:12 ` rubidium at openttd dot org
  2009-07-08 11:15 ` bje at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: rubidium at openttd dot org @ 2009-07-08  9:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rubidium at openttd dot org  2009-07-08 09:12 -------
I cannot reproduce this error anymore in gcc-lto (lto merged with rev 149291)
4.5.0 20090706 (experimental) revision 149340.

However... I don't have the setup I've ran the previous test on, as such I have
build it with another compiler for another platform (x86_64).

On the other hand I'm hitting another internal compiler error in
expand_expr_real_1, at expr.c:7382. But I'm not sure whether this is trunk or
lto; I'm recompiling trunk right now though that takes a while. I'll open a new
bug report for lto if it's really lto only.


-- 


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


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

* [Bug lto/39003] internal compiler error: in output_parm_decl, at lto-function-out.c:2652
  2009-01-28 14:41 [Bug c++/39003] New: internal compiler error: in output_parm_decl, at lto-function-out.c:2652 rubidium at openttd dot org
                   ` (2 preceding siblings ...)
  2009-07-08  9:12 ` rubidium at openttd dot org
@ 2009-07-08 11:15 ` bje at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: bje at gcc dot gnu dot org @ 2009-07-08 11:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from bje at gcc dot gnu dot org  2009-07-08 11:15 -------
Reported as fixed by the original submitter.


-- 

bje at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2009-07-08 11:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-28 14:41 [Bug c++/39003] New: internal compiler error: in output_parm_decl, at lto-function-out.c:2652 rubidium at openttd dot org
2009-01-28 14:42 ` [Bug c++/39003] " rubidium at openttd dot org
2009-07-08  6:24 ` [Bug lto/39003] " bje at gcc dot gnu dot org
2009-07-08  9:12 ` rubidium at openttd dot org
2009-07-08 11:15 ` bje 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).