public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/43548]  New: internal compiler error: in ggc_set_mark, at ggc-page.c:1338
@ 2010-03-26 22:14 James dot C dot Tilton at nasa dot gov
  2010-03-26 22:15 ` [Bug pch/43548] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: James dot C dot Tilton at nasa dot gov @ 2010-03-26 22:14 UTC (permalink / raw)
  To: gcc-bugs

$ x86_64-w64-mingw32-gcc -v
Using built-in specs.
COLLECT_GCC=c:\mingw-w64\bin\x86_64-w64-mingw32-gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw-w64/bin/../libexec/gcc/x86_64-w64-mingw32/4.5.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../../../build/gcc/gcc/configure --target=x86_64-w64-mingw32 \
--prefix=/c/bb/vista64-mingw32/mingw-x86-x86_64/build/build/root \
--with-sysroot=/c/bb/vista64-mingw32/mingw-x86-x86_64/build/build/root \
--with-gmp=/c/bb/vista64-mingw32/mingw-x86-x86_64/build/build/gmp/install \
--with-mpfr=/c/bb/vista64-mingw32/mingw-x86-x86_64/build/build/mpfr/install \
--with-mpc=/c/bb/vista64-mingw32/mingw-x86-x86_64/build/build/mpc/install \
--enable-languages=all,obj-c++ --enable-fully-dynamic-string --disable-multilib
Thread model: win32
gcc version 4.5.0 20100322 (experimental) (GCC)

Command line producing the error:
x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../.. \
-DG_LOG_DOMAIN=\"Gdk\" -DINSIDE_GDK_WIN32 -I../.. -I../../gdk -I../../gdk \
-DG_DISABLE_CAST_CHECKS -mms-bitfields -IC:/msys/1.0/local/include/glib-2.0 \
-IC:/msys/1.0/local/lib/glib-2.0/include -IC:/msys/1.0/local/include/pango-1.0
\
-IC:/msys/1.0/local/include/cairo -IC:/msys/1.0/local/include/freetype2 \
-IC:/msys/1.0/local/include -IC:/msys/1.0/local/include/libpng14
-DGDK_COMPILATION \
-I/usr/local/include -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES
\
-DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES
-DGDK_PIXBUF_DISABLE_DEPRECATED \
-g -O2 -Wall -mms-bitfields -MT gdkevents-win32.lo -MD -MP -MF
.deps/gdkevents-win32.Tpo \
 -c gdkevents-win32.c  -DDLL_EXPORT -DPIC -o .libs/gdkevents-win32.o

Compiler output:
In file included from
c:/mingw-w64/lib/gcc/../../x86_64-w64-mingw32/include/windows.h:63:0,
                 from ../../gdk/win32/gdkwin32.h:35,
                 from ../../gdk/win32/gdkdrawable-win32.h:31,
                 from ../../gdk/win32/gdkwindow-win32.h:30,
                 from gdkprivate-win32.h:39,
                 from gdkevents-win32.c:49:
c:/mingw-w64/lib/gcc/../../x86_64-w64-mingw32/include/winbase.h:353:3: 
internal compiler error: in ggc_set_mark, at ggc-page.c:1338
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[5]: *** [gdkevents-win32.lo] Error 1

Compiler output when -save-temps is added to command line:
gdkevents-win32.c: In function 'find_window_for_mouse_event':
gdkevents-win32.c:555:3: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
gdkevents-win32.c: In function 'gdk_event_translate':
gdkevents-win32.c:1923:12: warning: unused variable 'grab_owner_events'
gdkevents-win32.c:1922:9: warning: unused variable 'grab_mask'
gdkevents-win32.c: At top level:
gdkevents-win32.c:105:17: warning: 'p_grab_automatic' defined but not used
gdkevents-win32.c:106:21: warning: 'p_grab_mask' defined but not used
gdkevents-win32.c:107:17: warning: 'p_grab_owner_events' defined but not used
gdkevents-win32.c:107:38: warning: 'k_grab_owner_events' defined but not used
gdkevents-win32.c:433:1: warning: 'event_mask_string' defined but not used
gdkevents-win32.c:1207:1: warning: 'gdk_window_is_ancestor' defined but not
used
gdkevents-win32.c:1347:1: warning: 'translate_mouse_coords' defined but not
used
gdkevents-win32.c:1480:1: warning: 'doesnt_want_button_press' defined but not
used
gdkevents-win32.c:1487:1: warning: 'doesnt_want_button_release' defined but not
used
gdkevents-win32.c:1494:1: warning: 'doesnt_want_button_motion' defined but not
used
gdkevents-win32.c:1505:1: warning: 'doesnt_want_scroll' defined but not used

I have the gdkevents-win32.i file, but it is too large to include here.

How can I send it to you?


-- 
           Summary: internal compiler error: in ggc_set_mark, at ggc-
                    page.c:1338
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: James dot C dot Tilton at nasa dot gov


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


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

* [Bug pch/43548] internal compiler error: in ggc_set_mark, at ggc-page.c:1338
  2010-03-26 22:14 [Bug c/43548] New: internal compiler error: in ggc_set_mark, at ggc-page.c:1338 James dot C dot Tilton at nasa dot gov
@ 2010-03-26 22:15 ` pinskia at gcc dot gnu dot org
  2010-03-26 22:25 ` [Bug middle-end/43548] " James dot C dot Tilton at nasa dot gov
  2010-03-27 10:44 ` rguenth at gcc dot gnu dot org
  2 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-03-26 22:15 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal
          Component|c                           |pch


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


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

* [Bug middle-end/43548] internal compiler error: in ggc_set_mark, at ggc-page.c:1338
  2010-03-26 22:14 [Bug c/43548] New: internal compiler error: in ggc_set_mark, at ggc-page.c:1338 James dot C dot Tilton at nasa dot gov
  2010-03-26 22:15 ` [Bug pch/43548] " pinskia at gcc dot gnu dot org
@ 2010-03-26 22:25 ` James dot C dot Tilton at nasa dot gov
  2010-03-27 10:44 ` rguenth at gcc dot gnu dot org
  2 siblings, 0 replies; 10+ messages in thread
From: James dot C dot Tilton at nasa dot gov @ 2010-03-26 22:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from James dot C dot Tilton at nasa dot gov  2010-03-26 22:25 -------
You have 10 days from 03-26-2010 to download the file(s) from the following
URL: 

https://webdrive.gsfc.nasa.gov/shortauth/james.c.tilton/nBHjD4C 


Please use the following to login: 


username = Bug43548
password = bugzilla



-- 


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


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

* [Bug middle-end/43548] internal compiler error: in ggc_set_mark, at ggc-page.c:1338
  2010-03-26 22:14 [Bug c/43548] New: internal compiler error: in ggc_set_mark, at ggc-page.c:1338 James dot C dot Tilton at nasa dot gov
  2010-03-26 22:15 ` [Bug pch/43548] " pinskia at gcc dot gnu dot org
  2010-03-26 22:25 ` [Bug middle-end/43548] " James dot C dot Tilton at nasa dot gov
@ 2010-03-27 10:44 ` rguenth at gcc dot gnu dot org
  2 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-27 10:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2010-03-27 10:44 -------
Created an attachment (id=20223)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20223&action=view)
preprocessed source

Downloaded and attached.


-- 


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


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

* [Bug middle-end/43548] internal compiler error: in ggc_set_mark, at ggc-page.c:1338
       [not found] <bug-43548-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2010-12-15 16:30 ` alanh at fairlite dot co.uk
@ 2012-02-15 17:36 ` ktietz at gcc dot gnu.org
  5 siblings, 0 replies; 10+ messages in thread
From: ktietz at gcc dot gnu.org @ 2012-02-15 17:36 UTC (permalink / raw)
  To: gcc-bugs

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

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |ktietz at gcc dot gnu.org
         Resolution|                            |FIXED

--- Comment #8 from Kai Tietz <ktietz at gcc dot gnu.org> 2012-02-15 17:09:59 UTC ---
This bug was fixed.  Can't reproduce it with 4.5.x, 4.6.x, and 4.7.x.  IIRC it
was related to a fixed bug about push/pop-macro.


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

* [Bug middle-end/43548] internal compiler error: in ggc_set_mark, at ggc-page.c:1338
       [not found] <bug-43548-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2010-12-15 16:25 ` alanh at fairlite dot co.uk
@ 2010-12-15 16:30 ` alanh at fairlite dot co.uk
  2012-02-15 17:36 ` ktietz at gcc dot gnu.org
  5 siblings, 0 replies; 10+ messages in thread
From: alanh at fairlite dot co.uk @ 2010-12-15 16:30 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Alan Hourihane <alanh at fairlite dot co.uk> 2010-12-15 16:30:29 UTC ---
If I disable -O2 it works.


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

* [Bug middle-end/43548] internal compiler error: in ggc_set_mark, at ggc-page.c:1338
       [not found] <bug-43548-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2010-12-15 16:22 ` alanh at fairlite dot co.uk
@ 2010-12-15 16:25 ` alanh at fairlite dot co.uk
  2010-12-15 16:30 ` alanh at fairlite dot co.uk
  2012-02-15 17:36 ` ktietz at gcc dot gnu.org
  5 siblings, 0 replies; 10+ messages in thread
From: alanh at fairlite dot co.uk @ 2010-12-15 16:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Alan Hourihane <alanh at fairlite dot co.uk> 2010-12-15 16:24:57 UTC ---
Ignore comment 3, wrong output. Here's the correct one.

m68k-atari-mint-g++ -DHAVE_CONFIG_H -I.     -O2 -pipe -D_GNU_SOURCE -MT
pcrecpp_unittest.o -MD -MP -MF .deps/pcrecpp_unittest.Tpo -c -o
pcrecpp_unittest.o pcrecpp_unittest.cc
pcrecpp_unittest.cc: In function 'int main(int, char**)':
pcrecpp_unittest.cc:809:5: internal compiler error: in ggc_set_mark, at
ggc-page.c:1338
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.


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

* [Bug middle-end/43548] internal compiler error: in ggc_set_mark, at ggc-page.c:1338
       [not found] <bug-43548-4@http.gcc.gnu.org/bugzilla/>
  2010-12-15 16:20 ` alanh at fairlite dot co.uk
  2010-12-15 16:21 ` alanh at fairlite dot co.uk
@ 2010-12-15 16:22 ` alanh at fairlite dot co.uk
  2010-12-15 16:25 ` alanh at fairlite dot co.uk
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: alanh at fairlite dot co.uk @ 2010-12-15 16:22 UTC (permalink / raw)
  To: gcc-bugs

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

Alan Hourihane <alanh at fairlite dot co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #22766|0                           |1
        is obsolete|                            |

--- Comment #5 from Alan Hourihane <alanh at fairlite dot co.uk> 2010-12-15 16:22:29 UTC ---
Created attachment 22767
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22767
preprocess source

sorry the last one was the garbled binary.


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

* [Bug middle-end/43548] internal compiler error: in ggc_set_mark, at ggc-page.c:1338
       [not found] <bug-43548-4@http.gcc.gnu.org/bugzilla/>
  2010-12-15 16:20 ` alanh at fairlite dot co.uk
@ 2010-12-15 16:21 ` alanh at fairlite dot co.uk
  2010-12-15 16:22 ` alanh at fairlite dot co.uk
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: alanh at fairlite dot co.uk @ 2010-12-15 16:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Alan Hourihane <alanh at fairlite dot co.uk> 2010-12-15 16:20:56 UTC ---
Created attachment 22766
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22766
preprocessed source


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

* [Bug middle-end/43548] internal compiler error: in ggc_set_mark, at ggc-page.c:1338
       [not found] <bug-43548-4@http.gcc.gnu.org/bugzilla/>
@ 2010-12-15 16:20 ` alanh at fairlite dot co.uk
  2010-12-15 16:21 ` alanh at fairlite dot co.uk
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: alanh at fairlite dot co.uk @ 2010-12-15 16:20 UTC (permalink / raw)
  To: gcc-bugs

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

Alan Hourihane <alanh at fairlite dot co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alanh at fairlite dot co.uk

--- Comment #3 from Alan Hourihane <alanh at fairlite dot co.uk> 2010-12-15 16:19:55 UTC ---
I'm bumping into this on m68k-atari-mint using libpcre-8.10. And although the
mint target support isn't in gcc (yet) I thought it might help this bug along.

m68k-atari-mint-g++ -DHAVE_CONFIG_H -I.     -O2 -pipe -D_GNU_SOURCE -MT
pcrecpp_unittest.o -MD -MP -MF .deps/pcrecpp_unittest.Tpo -c -o
pcrecpp_unittest.o pcrecpp_unittest.cc

Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
{standard input}: Assembler messages:
{standard input}:4997: Warning: partial line at end of file ignored
m68k-atari-mint-g++: Internal error: Bus Error (program cc1plus)
Please submit a full bug report.
See <http://bugs.gentoo.org/> for instructions.


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

end of thread, other threads:[~2012-02-15 17:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-26 22:14 [Bug c/43548] New: internal compiler error: in ggc_set_mark, at ggc-page.c:1338 James dot C dot Tilton at nasa dot gov
2010-03-26 22:15 ` [Bug pch/43548] " pinskia at gcc dot gnu dot org
2010-03-26 22:25 ` [Bug middle-end/43548] " James dot C dot Tilton at nasa dot gov
2010-03-27 10:44 ` rguenth at gcc dot gnu dot org
     [not found] <bug-43548-4@http.gcc.gnu.org/bugzilla/>
2010-12-15 16:20 ` alanh at fairlite dot co.uk
2010-12-15 16:21 ` alanh at fairlite dot co.uk
2010-12-15 16:22 ` alanh at fairlite dot co.uk
2010-12-15 16:25 ` alanh at fairlite dot co.uk
2010-12-15 16:30 ` alanh at fairlite dot co.uk
2012-02-15 17:36 ` ktietz at gcc dot gnu.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).