public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug pending/28243] New: [4.1 Regression] internal consistency failure when building fontforge with -O3 -fPIC -ftracer
@ 2006-07-04 7:50 vapier at gentoo dot org
2006-07-04 7:53 ` [Bug pending/28243] " vapier at gentoo dot org
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: vapier at gentoo dot org @ 2006-07-04 7:50 UTC (permalink / raw)
To: gcc-bugs
when building fontforge with -O3 -ftracer with gcc-4.1.1, the build bombs:
i686-pc-linux-gnu-gcc -O3 -march=pentium-m -pipe -fomit-frame-pointer -ftracer
-I/usr/include/freetype2/ -I/usr/include/libxml2/ -I../inc -I/usr/pkg/include
-I/usr/pkg/include/giflib -Wmissing-prototypes -Wunused -Wimplicit
-Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DNOTHREADS
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ICONV_H=1 -D_HAS_LONGLONG=1
-DHAVE_LIBINTL_H=1 -DFONTFORGE_CONFIG_TYPE3=1 -DFONTFORGE_CONFIG_DEVICETABLES=1
-DLIBDIR=\"/lib\" -c gpsdraw.c -fPIC -DPIC -o gpsdraw.lo
gpsdraw.c: In function 'PSDrawElipse':
gpsdraw.c:442: fatal error: internal consistency failure
compilation terminated.
verified on Gentoo and Debian that 4.0.3 works, 4.1.1 fails, mainline works
--
Summary: [4.1 Regression] internal consistency failure when
building fontforge with -O3 -fPIC -ftracer
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: pending
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: vapier at gentoo dot org
GCC host triplet: i686-linux-gnu
GCC target triplet: i686-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28243
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug pending/28243] [4.1 Regression] internal consistency failure when building fontforge with -O3 -fPIC -ftracer
2006-07-04 7:50 [Bug pending/28243] New: [4.1 Regression] internal consistency failure when building fontforge with -O3 -fPIC -ftracer vapier at gentoo dot org
@ 2006-07-04 7:53 ` vapier at gentoo dot org
2006-07-04 13:53 ` rguenth at gcc dot gnu dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: vapier at gentoo dot org @ 2006-07-04 7:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from vapier at gentoo dot org 2006-07-04 07:53 -------
Created an attachment (id=11812)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11812&action=view)
PR28243-ice.i
$ gcc-4.1.1 -c -ftracer -O3 -m32 -fPIC PR28243-ice.i
PR28243-ice.i: In function 'PSDrawFillCircle':
PR28243-ice.i:31: fatal error: internal consistency failure
compilation terminated.
for the full preprocessed output:
http://bugs.gentoo.org/attachment.cgi?id=84775
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28243
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug pending/28243] [4.1 Regression] internal consistency failure when building fontforge with -O3 -fPIC -ftracer
2006-07-04 7:50 [Bug pending/28243] New: [4.1 Regression] internal consistency failure when building fontforge with -O3 -fPIC -ftracer vapier at gentoo dot org
2006-07-04 7:53 ` [Bug pending/28243] " vapier at gentoo dot org
@ 2006-07-04 13:53 ` rguenth at gcc dot gnu dot org
2006-07-15 20:10 ` [Bug rtl-optimization/28243] " tbm at cyrius dot com
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-07-04 13:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2006-07-04 13:53 -------
Confirmed. -O2 -ftracer -fPIC.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Known to fail|4.1.1 |4.1.1 4.1.0
Last reconfirmed|0000-00-00 00:00:00 |2006-07-04 13:53:11
date| |
Target Milestone|--- |4.1.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28243
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/28243] [4.1 Regression] internal consistency failure when building fontforge with -O3 -fPIC -ftracer
2006-07-04 7:50 [Bug pending/28243] New: [4.1 Regression] internal consistency failure when building fontforge with -O3 -fPIC -ftracer vapier at gentoo dot org
2006-07-04 7:53 ` [Bug pending/28243] " vapier at gentoo dot org
2006-07-04 13:53 ` rguenth at gcc dot gnu dot org
@ 2006-07-15 20:10 ` tbm at cyrius dot com
2006-07-15 22:58 ` steven at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: tbm at cyrius dot com @ 2006-07-15 20:10 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1622 bytes --]
------- Comment #3 from tbm at cyrius dot com 2006-07-15 20:10 -------
Here's another test case, taken from maxdb:
50015:tbm@deprecation: ~/tmp/src/gcc/delta/bin] gcc-4.1 -c -fPIC -O2 28243.c
28243.c: In function âpa01CompareKeywordWâ:
28243.c:25: fatal error: internal consistency failure
compilation terminated.
Preprocessed source stored into /tmp/cc4ogkHJ.out file, please attach this to
your bugreport.
zsh: exit 1 gcc-4.1 -c -fPIC -O2 28243.c
50016:tbm@deprecation: ~/tmp/src/gcc/delta/bin] cat 28243.c
typedef struct tsp1_packet_header { } tsp81_UCS2Char;
typedef struct
{
short entry;
unsigned char keyword[(18)];
int order_type_key;
unsigned short keywordW[(18)];
}
api_keyword_tab;
static api_keyword_tab keyword_tab[] = {
};
pa01CompareKeywordW (const unsigned short * strp, int * order_type)
{
unsigned int i, len1, len2;
for (i = 0; keyword_tab[i].entry != (99); i++)
{
sp81UCS2strlen ((tsp81_UCS2Char *) (keyword_tab[i].keywordW));
len1 = len1 < len2 ? len1 : len2;
if (memcmp (keyword_tab[i].keywordW, strp, len1) == 0)
{
*order_type = keyword_tab[i].order_type_key;
break;
}
}
}
--
tbm at cyrius dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tbm at cyrius dot com,
| |debian-gcc at lists dot
| |debian dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28243
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/28243] [4.1 Regression] internal consistency failure when building fontforge with -O3 -fPIC -ftracer
2006-07-04 7:50 [Bug pending/28243] New: [4.1 Regression] internal consistency failure when building fontforge with -O3 -fPIC -ftracer vapier at gentoo dot org
` (2 preceding siblings ...)
2006-07-15 20:10 ` [Bug rtl-optimization/28243] " tbm at cyrius dot com
@ 2006-07-15 22:58 ` steven at gcc dot gnu dot org
2006-07-19 11:41 ` reichelt at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: steven at gcc dot gnu dot org @ 2006-07-15 22:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from steven at gcc dot gnu dot org 2006-07-15 22:58 -------
Probably latent on mainline.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28243
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/28243] [4.1 Regression] internal consistency failure when building fontforge with -O3 -fPIC -ftracer
2006-07-04 7:50 [Bug pending/28243] New: [4.1 Regression] internal consistency failure when building fontforge with -O3 -fPIC -ftracer vapier at gentoo dot org
` (3 preceding siblings ...)
2006-07-15 22:58 ` steven at gcc dot gnu dot org
@ 2006-07-19 11:41 ` reichelt at gcc dot gnu dot org
2006-09-11 10:42 ` ebotcazou at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-07-19 11:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from reichelt at gcc dot gnu dot org 2006-07-19 11:40 -------
Here's a slightly shorter testcase:
=========================================
struct A
{
char c[13];
int k[1];
};
struct A a[1];
void foo(int* p)
{
int i, j;
for (i=0; i<2; ++i)
if (memcmp (a[i].k, p, j))
{
*p = a[i].k[0];
bar ((struct A*) (a[i].k));
break;
}
}
=========================================
Btw, the error should be an internal_error and not a fatal_error IMHO:
flow.c:493: fatal_error ("internal consistency failure");
flow.c:518: fatal_error ("internal consistency failure");
flow.c:540: fatal_error ("internal consistency failure");
We already have issue an ICE with the same message here:
emit-rtl.c:2239: internal_error ("internal consistency failure");
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Keywords| |monitored
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28243
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/28243] [4.1 Regression] internal consistency failure when building fontforge with -O3 -fPIC -ftracer
2006-07-04 7:50 [Bug pending/28243] New: [4.1 Regression] internal consistency failure when building fontforge with -O3 -fPIC -ftracer vapier at gentoo dot org
` (4 preceding siblings ...)
2006-07-19 11:41 ` reichelt at gcc dot gnu dot org
@ 2006-09-11 10:42 ` ebotcazou at gcc dot gnu dot org
2006-09-12 6:18 ` ebotcazou at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-09-11 10:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from ebotcazou at gcc dot gnu dot org 2006-09-11 10:42 -------
> Here's another test case, taken from maxdb:
Please do not attach "other" testcases to a PR, the underlying problems are
very
likely unrelated. Only testcases reduced from the original one are of any
help.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28243
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/28243] [4.1 Regression] internal consistency failure when building fontforge with -O3 -fPIC -ftracer
2006-07-04 7:50 [Bug pending/28243] New: [4.1 Regression] internal consistency failure when building fontforge with -O3 -fPIC -ftracer vapier at gentoo dot org
` (5 preceding siblings ...)
2006-09-11 10:42 ` ebotcazou at gcc dot gnu dot org
@ 2006-09-12 6:18 ` ebotcazou at gcc dot gnu dot org
2006-09-12 21:49 ` ebotcazou at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-09-12 6:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from ebotcazou at gcc dot gnu dot org 2006-09-12 06:18 -------
Investigating.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|ebotcazou at gcc dot gnu dot|
|org |
AssignedTo|unassigned at gcc dot gnu |ebotcazou at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2006-07-04 13:53:11 |2006-09-12 06:18:23
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28243
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/28243] [4.1 Regression] internal consistency failure when building fontforge with -O3 -fPIC -ftracer
2006-07-04 7:50 [Bug pending/28243] New: [4.1 Regression] internal consistency failure when building fontforge with -O3 -fPIC -ftracer vapier at gentoo dot org
` (6 preceding siblings ...)
2006-09-12 6:18 ` ebotcazou at gcc dot gnu dot org
@ 2006-09-12 21:49 ` ebotcazou at gcc dot gnu dot org
2006-09-12 21:50 ` ebotcazou at gcc dot gnu dot org
2006-09-12 21:54 ` ebotcazou at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-09-12 21:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from ebotcazou at gcc dot gnu dot org 2006-09-12 21:48 -------
Subject: Bug 28243
Author: ebotcazou
Date: Tue Sep 12 21:48:40 2006
New Revision: 116906
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116906
Log:
PR rtl-optimization/28243
* combine.c (distribute_notes) <REG_DEAD>: Do not consider SETs past
the insn to which the note was originally attached.
Added:
trunk/gcc/testsuite/gcc.dg/pr28243.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/combine.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28243
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/28243] [4.1 Regression] internal consistency failure when building fontforge with -O3 -fPIC -ftracer
2006-07-04 7:50 [Bug pending/28243] New: [4.1 Regression] internal consistency failure when building fontforge with -O3 -fPIC -ftracer vapier at gentoo dot org
` (7 preceding siblings ...)
2006-09-12 21:49 ` ebotcazou at gcc dot gnu dot org
@ 2006-09-12 21:50 ` ebotcazou at gcc dot gnu dot org
2006-09-12 21:54 ` ebotcazou at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-09-12 21:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from ebotcazou at gcc dot gnu dot org 2006-09-12 21:49 -------
Subject: Bug 28243
Author: ebotcazou
Date: Tue Sep 12 21:49:45 2006
New Revision: 116907
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116907
Log:
PR rtl-optimization/28243
* combine.c (distribute_notes) <REG_DEAD>: Do not consider SETs past
the insn to which the note was originally attached.
Added:
branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/pr28243.c
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/combine.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28243
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug rtl-optimization/28243] [4.1 Regression] internal consistency failure when building fontforge with -O3 -fPIC -ftracer
2006-07-04 7:50 [Bug pending/28243] New: [4.1 Regression] internal consistency failure when building fontforge with -O3 -fPIC -ftracer vapier at gentoo dot org
` (8 preceding siblings ...)
2006-09-12 21:50 ` ebotcazou at gcc dot gnu dot org
@ 2006-09-12 21:54 ` ebotcazou at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-09-12 21:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from ebotcazou at gcc dot gnu dot org 2006-09-12 21:54 -------
Fixed in upcoming 4.1.2 release.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2006-
| |09/msg00476.html
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28243
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2006-09-12 21:54 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-04 7:50 [Bug pending/28243] New: [4.1 Regression] internal consistency failure when building fontforge with -O3 -fPIC -ftracer vapier at gentoo dot org
2006-07-04 7:53 ` [Bug pending/28243] " vapier at gentoo dot org
2006-07-04 13:53 ` rguenth at gcc dot gnu dot org
2006-07-15 20:10 ` [Bug rtl-optimization/28243] " tbm at cyrius dot com
2006-07-15 22:58 ` steven at gcc dot gnu dot org
2006-07-19 11:41 ` reichelt at gcc dot gnu dot org
2006-09-11 10:42 ` ebotcazou at gcc dot gnu dot org
2006-09-12 6:18 ` ebotcazou at gcc dot gnu dot org
2006-09-12 21:49 ` ebotcazou at gcc dot gnu dot org
2006-09-12 21:50 ` ebotcazou at gcc dot gnu dot org
2006-09-12 21:54 ` ebotcazou 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).