public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/20817] New: ICE for tree check in build_offset_type
@ 2005-04-07 23:45 janis at gcc dot gnu dot org
2005-04-07 23:54 ` [Bug c++/20817] [4.1 Regression] " pinskia at gcc dot gnu dot org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: janis at gcc dot gnu dot org @ 2005-04-07 23:45 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1624 bytes --]
Current GCC mainline ICEs, instead of reporting errors, for test
g++.dg/old-deja/g++.benjamin/13908.C on powerpc-linux. The test
isn't reported as failing because dg-error is used with a blank
string. The ICE starts with the following patch, which might
merely expose a latent bug:
http://gcc.gnu.org/ml/gcc-cvs/2005-04/msg00325.html
Test output:
13908.C: In function void bar(chile*, void (chile::*)()):
13908.C:20: error: parenthesis around pobj->*pmethod cannot be used to form a
pointer-to-member-function
13908.C:20: internal compiler error: tree check: expected class type, have
declaration (function_decl) in build_offset_type, at tree.c:4628
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: ICE for tree check in build_offset_type
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: janis at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org,mark at codesourcery dot
com
GCC build triplet: powerpc-linux
GCC host triplet: powerpc-linux
GCC target triplet: powerpc-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20817
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/20817] [4.1 Regression] ICE for tree check in build_offset_type
2005-04-07 23:45 [Bug c++/20817] New: ICE for tree check in build_offset_type janis at gcc dot gnu dot org
@ 2005-04-07 23:54 ` pinskia at gcc dot gnu dot org
2005-04-11 19:14 ` [Bug c++/20817] [4.0/4.1 " reichelt at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-07 23:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-07 23:54 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |error-recovery, ice-on-
| |invalid-code
Last reconfirmed|0000-00-00 00:00:00 |2005-04-07 23:54:25
date| |
Summary|ICE for tree check in |[4.1 Regression] ICE for
|build_offset_type |tree check in
| |build_offset_type
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20817
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/20817] [4.0/4.1 Regression] ICE for tree check in build_offset_type
2005-04-07 23:45 [Bug c++/20817] New: ICE for tree check in build_offset_type janis at gcc dot gnu dot org
2005-04-07 23:54 ` [Bug c++/20817] [4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-04-11 19:14 ` reichelt at gcc dot gnu dot org
2005-06-14 9:03 ` nathan at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-04-11 19:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-04-11 19:14 -------
It's a 4.0 regression, too.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
GCC build triplet|powerpc-linux |
GCC host triplet|powerpc-linux |
GCC target triplet|powerpc-linux |
Keywords| |monitored
Summary|[4.1 Regression] ICE for |[4.0/4.1 Regression] ICE for
|tree check in |tree check in
|build_offset_type |build_offset_type
Target Milestone|4.1.0 |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20817
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/20817] [4.0/4.1 Regression] ICE for tree check in build_offset_type
2005-04-07 23:45 [Bug c++/20817] New: ICE for tree check in build_offset_type janis at gcc dot gnu dot org
2005-04-07 23:54 ` [Bug c++/20817] [4.1 Regression] " pinskia at gcc dot gnu dot org
2005-04-11 19:14 ` [Bug c++/20817] [4.0/4.1 " reichelt at gcc dot gnu dot org
@ 2005-06-14 9:03 ` nathan at gcc dot gnu dot org
2005-07-01 20:01 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: nathan at gcc dot gnu dot org @ 2005-06-14 9:03 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |nathan at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2005-04-07 23:54:25 |2005-06-14 09:02:43
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20817
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/20817] [4.0/4.1 Regression] ICE for tree check in build_offset_type
2005-04-07 23:45 [Bug c++/20817] New: ICE for tree check in build_offset_type janis at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-06-14 9:03 ` nathan at gcc dot gnu dot org
@ 2005-07-01 20:01 ` pinskia at gcc dot gnu dot org
2005-07-08 1:43 ` mmitchel at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-01 20:01 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-01 20:01 -------
I was passing with "4.0.0 20041211".
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2005-06-14 09:02:43 |2005-07-01 20:01:02
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20817
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/20817] [4.0/4.1 Regression] ICE for tree check in build_offset_type
2005-04-07 23:45 [Bug c++/20817] New: ICE for tree check in build_offset_type janis at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-07-01 20:01 ` pinskia at gcc dot gnu dot org
@ 2005-07-08 1:43 ` mmitchel at gcc dot gnu dot org
2005-07-23 5:05 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-07-08 1:43 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.1 |4.0.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20817
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/20817] [4.0/4.1 Regression] ICE for tree check in build_offset_type
2005-04-07 23:45 [Bug c++/20817] New: ICE for tree check in build_offset_type janis at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-07-08 1:43 ` mmitchel at gcc dot gnu dot org
@ 2005-07-23 5:05 ` pinskia at gcc dot gnu dot org
2005-08-25 9:16 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-23 5:05 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20817
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/20817] [4.0/4.1 Regression] ICE for tree check in build_offset_type
2005-04-07 23:45 [Bug c++/20817] New: ICE for tree check in build_offset_type janis at gcc dot gnu dot org
` (5 preceding siblings ...)
2005-07-23 5:05 ` pinskia at gcc dot gnu dot org
@ 2005-08-25 9:16 ` cvs-commit at gcc dot gnu dot org
2005-08-25 9:17 ` nathan at gcc dot gnu dot org
2005-08-25 9:52 ` cvs-commit at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-25 9:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-25 09:06 -------
Subject: Bug 20817
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: nathan@gcc.gnu.org 2005-08-25 09:06:45
Modified files:
gcc/cp : ChangeLog typeck.c
gcc/testsuite : ChangeLog
gcc/testsuite/g++.old-deja/g++.benjamin: 13908.C
Log message:
cp:
PR c++/20817
* typeck.c (build_x_unary_op): Make sure OFFSET_REF is not for a
->*.
testsuite:
PR c++/20817
* g++.old-deja/g++.benjamin/13908.C: Robustify expected error.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4858&r2=1.4859
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&r1=1.647&r2=1.648
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5960&r2=1.5961
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.benjamin/13908.C.diff?cvsroot=gcc&r1=1.3&r2=1.4
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20817
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/20817] [4.0/4.1 Regression] ICE for tree check in build_offset_type
2005-04-07 23:45 [Bug c++/20817] New: ICE for tree check in build_offset_type janis at gcc dot gnu dot org
` (6 preceding siblings ...)
2005-08-25 9:16 ` cvs-commit at gcc dot gnu dot org
@ 2005-08-25 9:17 ` nathan at gcc dot gnu dot org
2005-08-25 9:52 ` cvs-commit at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: nathan at gcc dot gnu dot org @ 2005-08-25 9:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From nathan at gcc dot gnu dot org 2005-08-25 09:16 -------
fixed mainline and 4.0
2005-08-25 Nathan Sidwell <nathan@codesourcery.com>
PR c++/20817
* typeck.c (build_x_unary_op): Make sure OFFSET_REF is not for a
->*.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20817
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/20817] [4.0/4.1 Regression] ICE for tree check in build_offset_type
2005-04-07 23:45 [Bug c++/20817] New: ICE for tree check in build_offset_type janis at gcc dot gnu dot org
` (7 preceding siblings ...)
2005-08-25 9:17 ` nathan at gcc dot gnu dot org
@ 2005-08-25 9:52 ` cvs-commit at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-25 9:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-25 09:17 -------
Subject: Bug 20817
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: nathan@gcc.gnu.org 2005-08-25 09:17:01
Modified files:
gcc/cp : ChangeLog typeck.c
gcc/testsuite : ChangeLog
gcc/testsuite/g++.old-deja/g++.benjamin: 13908.C
Log message:
cp:
PR c++/20817
* typeck.c (build_x_unary_op): Make sure OFFSET_REF is not for a
->*.
testsuite:
PR c++/20817
* g++.old-deja/g++.benjamin/13908.C: Robustify expected error.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.4648.2.82&r2=1.4648.2.83
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.616.2.13&r2=1.616.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.348&r2=1.5084.2.349
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.benjamin/13908.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.3&r2=1.3.76.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20817
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2005-08-25 9:17 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-07 23:45 [Bug c++/20817] New: ICE for tree check in build_offset_type janis at gcc dot gnu dot org
2005-04-07 23:54 ` [Bug c++/20817] [4.1 Regression] " pinskia at gcc dot gnu dot org
2005-04-11 19:14 ` [Bug c++/20817] [4.0/4.1 " reichelt at gcc dot gnu dot org
2005-06-14 9:03 ` nathan at gcc dot gnu dot org
2005-07-01 20:01 ` pinskia at gcc dot gnu dot org
2005-07-08 1:43 ` mmitchel at gcc dot gnu dot org
2005-07-23 5:05 ` pinskia at gcc dot gnu dot org
2005-08-25 9:16 ` cvs-commit at gcc dot gnu dot org
2005-08-25 9:17 ` nathan at gcc dot gnu dot org
2005-08-25 9:52 ` cvs-commit 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).