public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28734]  New: EastLinux Corporate Desktop 1.0 (Pre)
@ 2006-08-15 15:36 Vladislav dot Mikhailikov at paradox-neo dot uz
  2006-08-15 15:42 ` [Bug middle-end/28734] " pinskia at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 14+ messages in thread
From: Vladislav dot Mikhailikov at paradox-neo dot uz @ 2006-08-15 15:36 UTC (permalink / raw)
  To: gcc-bugs

When trying to compile wxWidgets-2.7.0 (or wxWidgets-2.6.3 stable branch) got
this error in garbage collector code.

root@cat:[/usr/src/rpm/BUILD/wxWidgets-2.7.0-1]# make
./bk-deps g++ -c -owx basedll_appbase.o -I.pch/wxprec_basedll -D__WXX11__
-D__WXUNIVERSAL__        -I./src/odbc -I./src/regex  -DwxUSE_GUI=0
-DWXMAKINGDLL_BASE -DwxUSE_BASE=1 -fPIC -DPIC -DWX_PRECOMP
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_IODBC_
-Ilib/wx/include/x11univ-unicode-release-2.7 -I./include -I/usr/X11R7/include
-pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/X11R7/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0
-I/usr/X11R7/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2
-march=pentium4 -mtune=pentium4 -fomit-frame-pointer -fstack-protector-all
./src/common/appbase.cpp
In file included from ./src/common/appbase.cpp:36:
./include/wx/cmdline.h:180: internal compiler error: in ggc_record_overhead, at
ggc-common.c:877
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make: *** [basedll_appbase.o] Error 1


-- 
           Summary: EastLinux Corporate Desktop 1.0 (Pre)
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Vladislav dot Mikhailikov at paradox-neo dot uz
 GCC build triplet: pentium4-east-linux
  GCC host triplet: pentium4-east-linux
GCC target triplet: pentium4-east-linux


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


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

* [Bug middle-end/28734] EastLinux Corporate Desktop 1.0 (Pre)
  2006-08-15 15:36 [Bug c++/28734] New: EastLinux Corporate Desktop 1.0 (Pre) Vladislav dot Mikhailikov at paradox-neo dot uz
@ 2006-08-15 15:42 ` pinskia at gcc dot gnu dot org
  2006-08-15 15:44 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-15 15:42 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal
          Component|c++                         |middle-end


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


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

* [Bug middle-end/28734] EastLinux Corporate Desktop 1.0 (Pre)
  2006-08-15 15:36 [Bug c++/28734] New: EastLinux Corporate Desktop 1.0 (Pre) Vladislav dot Mikhailikov at paradox-neo dot uz
  2006-08-15 15:42 ` [Bug middle-end/28734] " pinskia at gcc dot gnu dot org
@ 2006-08-15 15:44 ` pinskia at gcc dot gnu dot org
  2006-08-15 18:02 ` Vladislav dot Mikhailikov at paradox-neo dot uz
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-15 15:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-08-15 15:43 -------
The only time this function can be called if GCC was compiled with gather stats
on , which should not be done for a production compiler.


-- 


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


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

* [Bug middle-end/28734] EastLinux Corporate Desktop 1.0 (Pre)
  2006-08-15 15:36 [Bug c++/28734] New: EastLinux Corporate Desktop 1.0 (Pre) Vladislav dot Mikhailikov at paradox-neo dot uz
  2006-08-15 15:42 ` [Bug middle-end/28734] " pinskia at gcc dot gnu dot org
  2006-08-15 15:44 ` pinskia at gcc dot gnu dot org
@ 2006-08-15 18:02 ` Vladislav dot Mikhailikov at paradox-neo dot uz
  2006-08-15 18:04 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 14+ messages in thread
From: Vladislav dot Mikhailikov at paradox-neo dot uz @ 2006-08-15 18:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from Vladislav dot Mikhailikov at paradox-neo dot uz  2006-08-15 18:01 -------
It works! Just have used --disable-gather-detailed-mem-stats in configure.
Though some additional patches that could be found in Manfriva CVS and
linuxfromscratch.org makes the compilator much more robust and quick. Thank you
very much for suggestion,

Tanuki


-- 


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


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

* [Bug middle-end/28734] EastLinux Corporate Desktop 1.0 (Pre)
  2006-08-15 15:36 [Bug c++/28734] New: EastLinux Corporate Desktop 1.0 (Pre) Vladislav dot Mikhailikov at paradox-neo dot uz
                   ` (2 preceding siblings ...)
  2006-08-15 18:02 ` Vladislav dot Mikhailikov at paradox-neo dot uz
@ 2006-08-15 18:04 ` pinskia at gcc dot gnu dot org
  2006-08-15 18:09 ` Vladislav dot Mikhailikov at paradox-neo dot uz
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-15 18:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-08-15 18:04 -------
Can you attach the preprocessed testcase as this is most likely this is a bug
still?


-- 


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


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

* [Bug middle-end/28734] EastLinux Corporate Desktop 1.0 (Pre)
  2006-08-15 15:36 [Bug c++/28734] New: EastLinux Corporate Desktop 1.0 (Pre) Vladislav dot Mikhailikov at paradox-neo dot uz
                   ` (3 preceding siblings ...)
  2006-08-15 18:04 ` pinskia at gcc dot gnu dot org
@ 2006-08-15 18:09 ` Vladislav dot Mikhailikov at paradox-neo dot uz
  2006-08-15 18:17 ` Vladislav dot Mikhailikov at paradox-neo dot uz
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 14+ messages in thread
From: Vladislav dot Mikhailikov at paradox-neo dot uz @ 2006-08-15 18:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from Vladislav dot Mikhailikov at paradox-neo dot uz  2006-08-15 18:09 -------
Indeed I have alredy recompile the whole suite. And bug has gone. Though if you
have gcc-4.1.1 with -enable-gather-detailed-mem-stats  -- just download
wxWidgets-2.7.0 or wxWidgets-2.6.3 from http://www.wxwidgets.org and try to
compile with something like ./configure --enable-gui --enable-universal (the
simplest pack) and you will see the bugs in ggc.h


-- 


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


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

* [Bug middle-end/28734] EastLinux Corporate Desktop 1.0 (Pre)
  2006-08-15 15:36 [Bug c++/28734] New: EastLinux Corporate Desktop 1.0 (Pre) Vladislav dot Mikhailikov at paradox-neo dot uz
                   ` (4 preceding siblings ...)
  2006-08-15 18:09 ` Vladislav dot Mikhailikov at paradox-neo dot uz
@ 2006-08-15 18:17 ` Vladislav dot Mikhailikov at paradox-neo dot uz
  2006-08-15 18:23 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 14+ messages in thread
From: Vladislav dot Mikhailikov at paradox-neo dot uz @ 2006-08-15 18:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from Vladislav dot Mikhailikov at paradox-neo dot uz  2006-08-15 18:17 -------
It's 23:16 and I have to go home. I will try to reproduce the bug tomorrow
morning and post the preprocessed fragment of the code here or will send it to
you directly by mail (in case it will be too heavy for the post). Any way if I
can help you I do.

With best regards,

Tanuki


-- 


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


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

* [Bug middle-end/28734] EastLinux Corporate Desktop 1.0 (Pre)
  2006-08-15 15:36 [Bug c++/28734] New: EastLinux Corporate Desktop 1.0 (Pre) Vladislav dot Mikhailikov at paradox-neo dot uz
                   ` (5 preceding siblings ...)
  2006-08-15 18:17 ` Vladislav dot Mikhailikov at paradox-neo dot uz
@ 2006-08-15 18:23 ` pinskia at gcc dot gnu dot org
  2006-08-16 16:41 ` tbm at cyrius dot com
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-15 18:23 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug middle-end/28734] EastLinux Corporate Desktop 1.0 (Pre)
  2006-08-15 15:36 [Bug c++/28734] New: EastLinux Corporate Desktop 1.0 (Pre) Vladislav dot Mikhailikov at paradox-neo dot uz
                   ` (6 preceding siblings ...)
  2006-08-15 18:23 ` pinskia at gcc dot gnu dot org
@ 2006-08-16 16:41 ` tbm at cyrius dot com
  2006-08-16 16:45 ` tbm at cyrius dot com
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 14+ messages in thread
From: tbm at cyrius dot com @ 2006-08-16 16:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from tbm at cyrius dot com  2006-08-16 16:41 -------
Here's what I came up with:

(sid)518:tbm@chico: ~/tmp] cat appbase.cpp
#include "foo.h"

int bar(int x);

(sid)519:tbm@chico: ~/tmp] rm -rf .pch/
(sid)520:tbm@chico: ~/tmp] mkdir -p .pch/
(sid)521:tbm@chico: ~/tmp] touch empty.h
(sid)522:tbm@chico: ~/tmp] /usr/local/bin/g++ -fPIC -O -o .pch/foo.h.gch
empty.h
(sid)523:tbm@chico: ~/tmp] /usr/local/bin/g++ -c -I.pch -DwxUSE_BASE=1 -fPIC
-O1 appbase.cpp
appbase.cpp:3: internal compiler error: in ggc_record_overhead, at
ggc-common.c:877
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
(sid)524:tbm@chico: ~/tmp]

And when you slightly change the file you get a segfault:

(sid)526:tbm@chico: ~/tmp] cat test2.cpp
#include "foo.h"

int bar(void);

(sid)527:tbm@chico: ~/tmp] /usr/local/bin/g++ -c -I.pch -DwxUSE_BASE=1 -fPIC
-O1 test2.cpp
test2.cpp:3: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 

tbm at cyrius dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tbm at cyrius dot com


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


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

* [Bug middle-end/28734] EastLinux Corporate Desktop 1.0 (Pre)
  2006-08-15 15:36 [Bug c++/28734] New: EastLinux Corporate Desktop 1.0 (Pre) Vladislav dot Mikhailikov at paradox-neo dot uz
                   ` (7 preceding siblings ...)
  2006-08-16 16:41 ` tbm at cyrius dot com
@ 2006-08-16 16:45 ` tbm at cyrius dot com
  2006-08-16 16:54 ` [Bug middle-end/28734] gather stats vs PCH pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 14+ messages in thread
From: tbm at cyrius dot com @ 2006-08-16 16:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from tbm at cyrius dot com  2006-08-16 16:45 -------
(sid)542:tbm@chico: ~/tmp] /usr/local/bin/g++ -c -I.pch -Dw -fPIC -O1
appbase.cpp
appbase.cpp:3: internal compiler error: in ggc_record_overhead, at
ggc-common.c:877
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
(sid)543:tbm@chico: ~/tmp] /usr/local/bin/g++ -c -I.pch -Dx -fPIC -O1
appbase.cpp
appbase.cpp:3: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
(sid)544:tbm@chico: ~/tmp]


-- 


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


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

* [Bug middle-end/28734] gather stats vs PCH
  2006-08-15 15:36 [Bug c++/28734] New: EastLinux Corporate Desktop 1.0 (Pre) Vladislav dot Mikhailikov at paradox-neo dot uz
                   ` (8 preceding siblings ...)
  2006-08-16 16:45 ` tbm at cyrius dot com
@ 2006-08-16 16:54 ` pinskia at gcc dot gnu dot org
  2006-08-17 18:51 ` Vladislav dot Mikhailikov at paradox-neo dot uz
  2009-01-22  1:52 ` rob1weld at aol dot com
  11 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-16 16:54 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu dot
                   |                            |org
             Status|WAITING                     |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-08-16 16:53:59
               date|                            |
            Summary|EastLinux Corporate Desktop |gather stats vs PCH
                   |1.0 (Pre)                   |


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


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

* [Bug middle-end/28734] gather stats vs PCH
  2006-08-15 15:36 [Bug c++/28734] New: EastLinux Corporate Desktop 1.0 (Pre) Vladislav dot Mikhailikov at paradox-neo dot uz
                   ` (9 preceding siblings ...)
  2006-08-16 16:54 ` [Bug middle-end/28734] gather stats vs PCH pinskia at gcc dot gnu dot org
@ 2006-08-17 18:51 ` Vladislav dot Mikhailikov at paradox-neo dot uz
  2009-01-22  1:52 ` rob1weld at aol dot com
  11 siblings, 0 replies; 14+ messages in thread
From: Vladislav dot Mikhailikov at paradox-neo dot uz @ 2006-08-17 18:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from Vladislav dot Mikhailikov at paradox-neo dot uz  2006-08-17 18:51 -------
It seems that gcc-4.2 has the same problem. At least all .pch tests fail with
that option set


-- 


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


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

* [Bug middle-end/28734] gather stats vs PCH
  2006-08-15 15:36 [Bug c++/28734] New: EastLinux Corporate Desktop 1.0 (Pre) Vladislav dot Mikhailikov at paradox-neo dot uz
                   ` (10 preceding siblings ...)
  2006-08-17 18:51 ` Vladislav dot Mikhailikov at paradox-neo dot uz
@ 2009-01-22  1:52 ` rob1weld at aol dot com
  11 siblings, 0 replies; 14+ messages in thread
From: rob1weld at aol dot com @ 2009-01-22  1:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from rob1weld at aol dot com  2009-01-22 01:51 -------
Confirmed, trunk, i386-pc-solaris2.11 - the gcc.log is:

/usr/share/src/gcc_trunk/gcc/testsuite/gcc.dg/pch/common-1.c:3: internal
compiler error: in ggc_record_overhead, at ggc-common.c:873

/usr/share/src/gcc_trunk/gcc/testsuite/gcc.dg/pch/counter-1.c:7: internal
compiler error: in ggc_record_overhead, at ggc-common.c:873


More info:
Results for 4.4.0 20090121 (experimental) [trunk revision 143538] (GCC)
testsuite on i386-pc-solaris2.11
http://gcc.gnu.org/ml/gcc-testresults/2009-01/msg02197.html

Rob


-- 


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


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

* [Bug middle-end/28734] gather stats vs PCH
       [not found] <bug-28734-4@http.gcc.gnu.org/bugzilla/>
@ 2011-01-19  8:50 ` rob1weld at aol dot com
  0 siblings, 0 replies; 14+ messages in thread
From: rob1weld at aol dot com @ 2011-01-19  8:50 UTC (permalink / raw)
  To: gcc-bugs

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

Rob <rob1weld at aol dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rob1weld at aol dot com

--- Comment #10 from Rob <rob1weld at aol dot com> 2011-01-19 04:36:37 UTC ---
(In reply to comment #3)
> Can you attach the preprocessed testcase as this is most likely this is a bug
> still?
The source in the Testsuite Directory contains an error (misnamed file) which
when corrected will allow gcc to compile correctly. It is the "File Not Found"
error that causes the ICE and NOT an "error in the Testsuite source" itself.
If you alter the Source to correct it then the ICE goes away.


This message suggests that this Bug still occurs on the Trunk and purports a
Fix: http://readlist.com/lists/gcc.gnu.org/gcc/8/41545.html


I get this Bug on a preRelease SVN version:

# /usr/local/gcc-4_5-branch_build/gcc/xgcc -v
Using built-in specs.
COLLECT_GCC=/usr/local/gcc-4_5-branch_build/gcc/xgcc
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4_5-branch/configure --enable-multiarch --enable-nls
--with-tls --enable-static --enable-shared --enable-plugin --enable-lto
--enable-linker-build-id --with-system-zlib --enable-nls --enable-clocale=gnu
--enable-libstdcxx-debug --enable-objc-gc --enable-stage1-checking=release
--enable-checking=release --enable-gather-detailed-mem-stats --enable-libssp
--enable-libmudflap --enable-libgomp --enable-decimal-float
--enable-languages=c,c++,ada
Thread model: posix
gcc version 4.5.3 20110117 (prerelease) [gcc-4_5-branch revision 168886] (GCC) 


# uname -a
Linux debian 2.6.32-5-amd64 #1 SMP Wed Jan 12 05:14:59 UTC 2011 x86_64
GNU/Linux


# cat /usr/local/gcc-4_5-branch/gcc/testsuite/gcc.dg/pch/common-1.c
#include "common-1.h"
int foo2 = 3;
int zz = 2;

# cat /usr/local/gcc-4_5-branch/gcc/testsuite/gcc.dg/pch/common-1.hs 
static int foo1 = 9;
int foo2;
extern int zz;


If I edit a copy of common-1.c and include "common-1.hs" (instead of
"common-1.h") then the ICE does not occur (so no preprocessed source included).



Here is a small portion of gcc.log:

PASS: gcc.dg/noncompile/voidparam-1.c  -O2 -fwhopr  (test for excess errors)
testcase
/usr/local/gcc-4_5-branch/gcc/testsuite/gcc.dg/noncompile/noncompile.exp
completed in 54 seconds
Running /usr/local/gcc-4_5-branch/gcc/testsuite/gcc.dg/pch/pch.exp ...
Executing on host: /usr/local/gcc-4_5-branch_build/gcc/xgcc
-B/usr/local/gcc-4_5-branch_build/gcc/ ./common-1.h   -O0 -g   -m32 -o
common-1.h.gch    (timeout = 300)
spawn /usr/local/gcc-4_5-branch_build/gcc/xgcc
-B/usr/local/gcc-4_5-branch_build/gcc/ ./common-1.h -O0 -g -m32 -o
common-1.h.gch

PASS: ./common-1.h  -O0 -g (test for excess errors)
Executing on host: /usr/local/gcc-4_5-branch_build/gcc/xgcc
-B/usr/local/gcc-4_5-branch_build/gcc/
/usr/local/gcc-4_5-branch/gcc/testsuite/gcc.dg/pch/common-1.c   -O0 -g -I.  -S 
-m32 -o common-1.s    (timeout = 300)
spawn /usr/local/gcc-4_5-branch_build/gcc/xgcc
-B/usr/local/gcc-4_5-branch_build/gcc/
/usr/local/gcc-4_5-branch/gcc/testsuite/gcc.dg/pch/common-1.c -O0 -g -I. -S
-m32 -o common-1.s

/usr/local/gcc-4_5-branch/gcc/testsuite/gcc.dg/pch/common-1.c:3:1: internal
compiler error: in ggc_record_overhead, at ggc-common.c:939

Please submit a full bug report,

with preprocessed source if appropriate.

See <http://gcc.gnu.org/bugs.html> for instructions.

compiler exited with status 1
output is:
/usr/local/gcc-4_5-branch/gcc/testsuite/gcc.dg/pch/common-1.c:3:1: internal
compiler error: in ggc_record_overhead, at ggc-common.c:939

Please submit a full bug report,

with preprocessed source if appropriate.

See <http://gcc.gnu.org/bugs.html> for instructions.


FAIL: gcc.dg/pch/common-1.c  -O0 -g -I. (internal compiler error)
FAIL: gcc.dg/pch/common-1.c  -O0 -g -I. (test for excess errors)
Excess errors:
/usr/local/gcc-4_5-branch/gcc/testsuite/gcc.dg/pch/common-1.c:3:1: internal
compiler error: in ggc_record_overhead, at ggc-common.c:939

assembly file 'common-1.s' missing
FAIL: gcc.dg/pch/common-1.c -O0 -g assembly comparison
Executing on host: /usr/local/gcc-4_5-branch_build/gcc/xgcc
-B/usr/local/gcc-4_5-branch_build/gcc/ ./common-1.h    -O0    -m32 -o
common-1.h.gch    (timeout = 300)
spawn /usr/local/gcc-4_5-branch_build/gcc/xgcc
-B/usr/local/gcc-4_5-branch_build/gcc/ ./common-1.h -O0 -m32 -o common-1.h.gch

PASS: ./common-1.h   -O0  (test for excess errors)
Executing on host: /usr/local/gcc-4_5-branch_build/gcc/xgcc
-B/usr/local/gcc-4_5-branch_build/gcc/
/usr/local/gcc-4_5-branch/gcc/testsuite/gcc.dg/pch/common-1.c    -O0  -I.  -S 
-m32 -o common-1.s    (timeout = 300)
spawn /usr/local/gcc-4_5-branch_build/gcc/xgcc
-B/usr/local/gcc-4_5-branch_build/gcc/
/usr/local/gcc-4_5-branch/gcc/testsuite/gcc.dg/pch/common-1.c -O0 -I. -S -m32
-o common-1.s

/usr/local/gcc-4_5-branch/gcc/testsuite/gcc.dg/pch/common-1.c:3:1: internal
compiler error: in ggc_record_overhead, at ggc-common.c:939

Please submit a full bug report,

with preprocessed source if appropriate.

See <http://gcc.gnu.org/bugs.html> for instructions.

compiler exited with status 1
output is:
/usr/local/gcc-4_5-branch/gcc/testsuite/gcc.dg/pch/common-1.c:3:1: internal
compiler error: in ggc_record_overhead, at ggc-common.c:939

Please submit a full bug report,

with preprocessed source if appropriate.

See <http://gcc.gnu.org/bugs.html> for instructions.


FAIL: gcc.dg/pch/common-1.c   -O0  -I. (internal compiler error)
FAIL: gcc.dg/pch/common-1.c   -O0  -I. (test for excess errors)
Excess errors:
/usr/local/gcc-4_5-branch/gcc/testsuite/gcc.dg/pch/common-1.c:3:1: internal
compiler error: in ggc_record_overhead, at ggc-common.c:939

assembly file 'common-1.s' missing
FAIL: gcc.dg/pch/common-1.c  -O0  assembly comparison
Executing on host: /usr/local/gcc-4_5-branch_build/gcc/xgcc
-B/usr/local/gcc-4_5-branch_build/gcc/ ./common-1.h    -O1    -m32 -o
common-1.h.gch    (timeout = 300)
spawn /usr/local/gcc-4_5-branch_build/gcc/xgcc
-B/usr/local/gcc-4_5-branch_build/gcc/ ./common-1.h -O1 -m32 -o common-1.h.gch

PASS: ./common-1.h   -O1  (test for excess errors)
...
-----

Perhaps more troubling is that if I run this by hand from the command line
(instead of letting the Testsuite run it) then I get a "normal error" and no
ICE.

So we have:

* Testsuite's gcc.log shows different output than using the command line.
* In the common-1.c File the "#include" references a file we do not have _OR_
we create the File to be included with a name differing from what the Source
expects.


# /usr/local/gcc-4_5-branch_build/gcc/xgcc
-B/usr/local/gcc-4_5-branch_build/gcc/
/usr/local/gcc-4_5-branch/gcc/testsuite/gcc.dg/pch/common-1.c   -O0 -g -I.  -S 
-m32 -o common-1.s
/usr/local/gcc-4_5-branch/gcc/testsuite/gcc.dg/pch/common-1.c:1:22: fatal
error: common-1.h: No such file or directory
compilation terminated.


Thanks,
Rob


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

end of thread, other threads:[~2011-01-19  4:37 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-15 15:36 [Bug c++/28734] New: EastLinux Corporate Desktop 1.0 (Pre) Vladislav dot Mikhailikov at paradox-neo dot uz
2006-08-15 15:42 ` [Bug middle-end/28734] " pinskia at gcc dot gnu dot org
2006-08-15 15:44 ` pinskia at gcc dot gnu dot org
2006-08-15 18:02 ` Vladislav dot Mikhailikov at paradox-neo dot uz
2006-08-15 18:04 ` pinskia at gcc dot gnu dot org
2006-08-15 18:09 ` Vladislav dot Mikhailikov at paradox-neo dot uz
2006-08-15 18:17 ` Vladislav dot Mikhailikov at paradox-neo dot uz
2006-08-15 18:23 ` pinskia at gcc dot gnu dot org
2006-08-16 16:41 ` tbm at cyrius dot com
2006-08-16 16:45 ` tbm at cyrius dot com
2006-08-16 16:54 ` [Bug middle-end/28734] gather stats vs PCH pinskia at gcc dot gnu dot org
2006-08-17 18:51 ` Vladislav dot Mikhailikov at paradox-neo dot uz
2009-01-22  1:52 ` rob1weld at aol dot com
     [not found] <bug-28734-4@http.gcc.gnu.org/bugzilla/>
2011-01-19  8:50 ` rob1weld at aol dot com

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).