public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/26909] New: ICE compiling GLIB with gcc 4.2-20060325
@ 2006-03-28 18:33 hanwen at xs4all dot nl
2006-03-28 18:34 ` [Bug c/26909] " hanwen at xs4all dot nl
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: hanwen at xs4all dot nl @ 2006-03-28 18:33 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 5366 bytes --]
C source attached.
muurbloem:~/vc/gub/target/darwin-x86/build/glib-2.9.6$
PATH=/home/lilydev/vc/gub/target/darwin-x86/system/usr/cross/bin/:$PATH
/home/lilydev/vc/gub/target/darwin-x86/system/usr/cross/bin/i686-apple-darwin8-gcc
-DHAVE_CONFIG_H -I.
-I/home/lilydev/vc/gub/target/darwin-x86/src/glib-2.9.6/gobject -I..
-DG_LOG_DOMAIN=\"GLib-GObject\"
-I/home/lilydev/vc/gub/target/darwin-x86/src/glib-2.9.6
-I/home/lilydev/vc/gub/target/darwin-x86/src/glib-2.9.6/glib -I..
-DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGOBJECT_COMPILATION
-DG_DISABLE_CONST_RETURNS -pthreads -g -O2 -Wall -c /tmp/gbug.c -fno-common
-DPIC --verbose
Using built-in specs.
i686-apple-darwin8-gcc: unrecognized option '-pthreads'
Target: i686-apple-darwin8
Configured with:
/home/lilydev/vc/gub/target/darwin-x86/src/gcc-4.2-20060325/configure
--prefix=/home/lilydev/vc/gub/target/darwin-x86/install/gcc-root/usr
--program-prefix=i686-apple-darwin8-
--prefix=/home/lilydev/vc/gub/target/darwin-x86/system/usr/cross/
--with-slibdir=/usr/lib/ --target=i686-apple-darwin8
--with-sysroot=/home/lilydev/vc/gub/target/darwin-x86/system/
--with-as=/home/lilydev/vc/gub/target/darwin-x86/system/usr/cross/bin/i686-apple-darwin8-as
--with-ld=/home/lilydev/vc/gub/target/darwin-x86/system/usr/cross/bin/i686-apple-darwin8-ld
--enable-static --enable-shared --enable-languages=c,c++
--enable-libstdcxx-debug
Thread model: posix
gcc version 4.2.0 20060325 (experimental)
/home/lilydev/vc/gub/target/darwin-x86/system/usr/cross/bin/../libexec/gcc/i686-apple-darwin8/4.2.0/cc1
-quiet -v -I. -I/home/lilydev/vc/gub/target/darwin-x86/src/glib-2.9.6/gobject
-I.. -I/home/lilydev/vc/gub/target/darwin-x86/src/glib-2.9.6
-I/home/lilydev/vc/gub/target/darwin-x86/src/glib-2.9.6/glib -I.. -iprefix
/home/lilydev/vc/gub/target/darwin-x86/system/usr/cross/bin/../lib/gcc/i686-apple-darwin8/4.2.0/
-D__DYNAMIC__ -DHAVE_CONFIG_H -DG_LOG_DOMAIN="GLib-GObject" -DG_ENABLE_DEBUG
-DG_DISABLE_DEPRECATED -DGOBJECT_COMPILATION -DG_DISABLE_CONST_RETURNS -DPIC
/tmp/gbug.c -fPIC -feliminate-unused-debug-symbols -quiet -dumpbase gbug.c
-mtune=generic -auxbase gbug -g -O2 -Wall -version -fno-common -o
/tmp/cchEUrcB.s
ignoring nonexistent directory
"/home/lilydev/vc/gub/target/darwin-x86/system/usr/cross/bin/../lib/gcc/i686-apple-darwin8/4.2.0/../../../../i686-apple-darwin8/include"
ignoring nonexistent directory
"/home/lilydev/vc/gub/target/darwin-x86/system//usr/local/include"
ignoring duplicate directory
"/home/lilydev/vc/gub/target/darwin-x86/system/usr/cross//lib/gcc/i686-apple-darwin8/4.2.0/include"
ignoring nonexistent directory
"/home/lilydev/vc/gub/target/darwin-x86/system/usr/cross//lib/gcc/i686-apple-darwin8/4.2.0/../../../../i686-apple-darwin8/include"
ignoring nonexistent directory
"/home/lilydev/vc/gub/target/darwin-x86/system//Library/Frameworks"
ignoring duplicate directory ".."
#include "..." search starts here:
#include <...> search starts here:
.
/home/lilydev/vc/gub/target/darwin-x86/src/glib-2.9.6/gobject
..
/home/lilydev/vc/gub/target/darwin-x86/src/glib-2.9.6
/home/lilydev/vc/gub/target/darwin-x86/src/glib-2.9.6/glib
/home/lilydev/vc/gub/target/darwin-x86/system/usr/cross/bin/../lib/gcc/i686-apple-darwin8/4.2.0/include
/home/lilydev/vc/gub/target/darwin-x86/system//usr/include
/home/lilydev/vc/gub/target/darwin-x86/system//System/Library/Frameworks
End of search list.
GNU C version 4.2.0 20060325 (experimental) (i686-apple-darwin8)
compiled by GNU C version 4.1.0 20060304 (Red Hat 4.1.0-3).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 1a952373d7d9494f4d7c829b8b2629d8
/home/lilydev/vc/gub/target/darwin-x86/src/glib-2.9.6/gobject/gsignal.c: In
function handler_ref:
/home/lilydev/vc/gub/target/darwin-x86/src/glib-2.9.6/gobject/gsignal.c:520:
warning: pointer targets in passing argument 1 of g_atomic_int_add differ in
signedness
/home/lilydev/vc/gub/target/darwin-x86/src/glib-2.9.6/gobject/gsignal.c: In
function handler_unref_R:
/home/lilydev/vc/gub/target/darwin-x86/src/glib-2.9.6/gobject/gsignal.c:532:
warning: pointer targets in passing argument 1 of
g_atomic_int_exchange_and_add differ in signedness
/home/lilydev/vc/gub/target/darwin-x86/src/glib-2.9.6/gobject/gsignal.c: In
function g_signal_list_ids:
/home/lilydev/vc/gub/target/darwin-x86/src/glib-2.9.6/gobject/gsignal.c:1026:
error: definition in block 13 does not dominate use in block 33
for SSA_NAME: SMT.1414_263 in statement:
SMT.1414_529 = PHI <SMT.1414_211(17), SMT.1414_263(33)>;
PHI argument
SMT.1414_263
for PHI node
SMT.1414_529 = PHI <SMT.1414_211(17), SMT.1414_263(33)>;
/home/lilydev/vc/gub/target/darwin-x86/src/glib-2.9.6/gobject/gsignal.c:1026:
internal compiler error: verify_ssa failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: ICE compiling GLIB with gcc 4.2-20060325
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hanwen at xs4all dot nl
GCC build triplet: i686-linux
GCC host triplet: i686-linux
GCC target triplet: i686-apple-darwin8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26909
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/26909] ICE compiling GLIB with gcc 4.2-20060325
2006-03-28 18:33 [Bug c/26909] New: ICE compiling GLIB with gcc 4.2-20060325 hanwen at xs4all dot nl
@ 2006-03-28 18:34 ` hanwen at xs4all dot nl
2006-03-28 18:55 ` [Bug tree-optimization/26909] " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: hanwen at xs4all dot nl @ 2006-03-28 18:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from hanwen at xs4all dot nl 2006-03-28 18:34 -------
Created an attachment (id=11142)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11142&action=view)
trigger for ICE
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26909
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/26909] ICE compiling GLIB with gcc 4.2-20060325
2006-03-28 18:33 [Bug c/26909] New: ICE compiling GLIB with gcc 4.2-20060325 hanwen at xs4all dot nl
2006-03-28 18:34 ` [Bug c/26909] " hanwen at xs4all dot nl
@ 2006-03-28 18:55 ` pinskia at gcc dot gnu dot org
2006-03-29 1:06 ` [Bug tree-optimization/26909] [4.2 Regression] " pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-28 18:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-28 18:55 -------
Reducing
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26909
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/26909] [4.2 Regression] ICE compiling GLIB with gcc 4.2-20060325
2006-03-28 18:33 [Bug c/26909] New: ICE compiling GLIB with gcc 4.2-20060325 hanwen at xs4all dot nl
2006-03-28 18:34 ` [Bug c/26909] " hanwen at xs4all dot nl
2006-03-28 18:55 ` [Bug tree-optimization/26909] " pinskia at gcc dot gnu dot org
@ 2006-03-29 1:06 ` pinskia at gcc dot gnu dot org
2006-03-30 13:02 ` reichelt at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-29 1:06 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |blocker
GCC build triplet|i686-linux |
GCC host triplet|i686-linux |
GCC target triplet|i686-apple-darwin8 |
Keywords| |ice-on-valid-code
Summary|ICE compiling GLIB with gcc |[4.2 Regression] ICE
|4.2-20060325 |compiling GLIB with gcc 4.2-
| |20060325
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26909
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/26909] [4.2 Regression] ICE compiling GLIB with gcc 4.2-20060325
2006-03-28 18:33 [Bug c/26909] New: ICE compiling GLIB with gcc 4.2-20060325 hanwen at xs4all dot nl
` (2 preceding siblings ...)
2006-03-29 1:06 ` [Bug tree-optimization/26909] [4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-03-30 13:02 ` reichelt at gcc dot gnu dot org
2006-04-02 8:11 ` pinskia at gcc dot gnu dot org
2006-05-09 8:42 ` [Bug tree-optimization/26909] [4.2 Regression] verify_ssa with aliasing violation with structs reichelt at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-03-30 13:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from reichelt at gcc dot gnu dot org 2006-03-30 13:02 -------
Reduced testcase (fails with "-O2 -m32" on x86_64-unknown-linux-gnu):
=======================================================================
typedef struct { int i; } A;
typedef struct { int i; } B;
int M;
void foo(A* p)
{
B *q;
int i, j, N;
if (M) bar();
if (p->i > 0) j = 1; else j = 0;
q = __builtin_expect (__extension__ ({ j; }), 1) ? (B*)p : (B*)0;
N = p->i;
bar();
for (i = 0; i < N; i++)
q[i].i=0;
bar();
}
=======================================================================
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |monitored
Last reconfirmed|0000-00-00 00:00:00 |2006-03-30 13:02:40
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26909
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/26909] [4.2 Regression] ICE compiling GLIB with gcc 4.2-20060325
2006-03-28 18:33 [Bug c/26909] New: ICE compiling GLIB with gcc 4.2-20060325 hanwen at xs4all dot nl
` (3 preceding siblings ...)
2006-03-30 13:02 ` reichelt at gcc dot gnu dot org
@ 2006-04-02 8:11 ` pinskia at gcc dot gnu dot org
2006-05-09 8:42 ` [Bug tree-optimization/26909] [4.2 Regression] verify_ssa with aliasing violation with structs reichelt at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-02 8:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-04-02 08:11 -------
I should note this is undefined code as the types A and B are not compatible
types.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|blocker |normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26909
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/26909] [4.2 Regression] verify_ssa with aliasing violation with structs
2006-03-28 18:33 [Bug c/26909] New: ICE compiling GLIB with gcc 4.2-20060325 hanwen at xs4all dot nl
` (4 preceding siblings ...)
2006-04-02 8:11 ` pinskia at gcc dot gnu dot org
@ 2006-05-09 8:42 ` reichelt at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-05-09 8:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from reichelt at gcc dot gnu dot org 2006-05-09 08:42 -------
Fixed by Dan's patch for PR27093.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26909
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-05-09 8:42 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-28 18:33 [Bug c/26909] New: ICE compiling GLIB with gcc 4.2-20060325 hanwen at xs4all dot nl
2006-03-28 18:34 ` [Bug c/26909] " hanwen at xs4all dot nl
2006-03-28 18:55 ` [Bug tree-optimization/26909] " pinskia at gcc dot gnu dot org
2006-03-29 1:06 ` [Bug tree-optimization/26909] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-03-30 13:02 ` reichelt at gcc dot gnu dot org
2006-04-02 8:11 ` pinskia at gcc dot gnu dot org
2006-05-09 8:42 ` [Bug tree-optimization/26909] [4.2 Regression] verify_ssa with aliasing violation with structs reichelt 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).