public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/23171] New: [4.1 Regression] ICE on pointer initialization
@ 2005-08-01 10:53 reichelt at gcc dot gnu dot org
2005-08-01 11:48 ` [Bug c++/23171] " pinskia at gcc dot gnu dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-08-01 10:53 UTC (permalink / raw)
To: gcc-bugs
The following code snippet causes an ICE on mainline when compiled
with "g++ -O" (the C frontend is not affected):
=============================
int *p = (int*)(int[1]){0};
=============================
bug.cc:1: internal compiler error: tree check: expected class 'expression', have
'exceptional' (constructor) in get_base_var, at ipa-utils.c:224
Please submit a full bug report, [etc.]
--
Summary: [4.1 Regression] ICE on pointer initialization
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, monitored
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23171
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/23171] [4.1 Regression] ICE on pointer initialization
2005-08-01 10:53 [Bug c++/23171] New: [4.1 Regression] ICE on pointer initialization reichelt at gcc dot gnu dot org
@ 2005-08-01 11:48 ` pinskia at gcc dot gnu dot org
2005-08-01 11:58 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-01 11:48 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23171
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/23171] [4.1 Regression] ICE on pointer initialization
2005-08-01 10:53 [Bug c++/23171] New: [4.1 Regression] ICE on pointer initialization reichelt at gcc dot gnu dot org
2005-08-01 11:48 ` [Bug c++/23171] " pinskia at gcc dot gnu dot org
@ 2005-08-01 11:58 ` pinskia at gcc dot gnu dot org
2005-08-22 5:57 ` mmitchel at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-01 11:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-01 11:58 -------
This is the same problem as PR 22533 really.
So it is not only the Ada front-end that produces &CONSTRUCTOR.
--
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |22533
nThis| |
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-08-01 11:58:34
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23171
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/23171] [4.1 Regression] ICE on pointer initialization
2005-08-01 10:53 [Bug c++/23171] New: [4.1 Regression] ICE on pointer initialization reichelt at gcc dot gnu dot org
2005-08-01 11:48 ` [Bug c++/23171] " pinskia at gcc dot gnu dot org
2005-08-01 11:58 ` pinskia at gcc dot gnu dot org
@ 2005-08-22 5:57 ` mmitchel at gcc dot gnu dot org
2005-08-22 11:51 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-08-22 5:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2005-08-22 05:15 -------
How does the C front end represent this expression?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23171
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/23171] [4.1 Regression] ICE on pointer initialization
2005-08-01 10:53 [Bug c++/23171] New: [4.1 Regression] ICE on pointer initialization reichelt at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-08-22 5:57 ` mmitchel at gcc dot gnu dot org
@ 2005-08-22 11:51 ` pinskia at gcc dot gnu dot org
2005-09-04 17:28 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-22 11:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-22 11:46 -------
(In reply to comment #2)
> How does the C front end represent this expression?
Using a COMPOUND_LITERAL_EXPR which should solve this and PR 23172.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23171
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/23171] [4.1 Regression] ICE on pointer initialization
2005-08-01 10:53 [Bug c++/23171] New: [4.1 Regression] ICE on pointer initialization reichelt at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-08-22 11:51 ` pinskia at gcc dot gnu dot org
@ 2005-09-04 17:28 ` pinskia at gcc dot gnu dot org
2005-09-09 16:57 ` janis at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-04 17:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-04 17:27 -------
(In reply to comment #3)
> (In reply to comment #2)
> > How does the C front end represent this expression?
>
> Using a COMPOUND_LITERAL_EXPR which should solve this and PR 23172.
And PR 20103.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23171
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/23171] [4.1 Regression] ICE on pointer initialization
2005-08-01 10:53 [Bug c++/23171] New: [4.1 Regression] ICE on pointer initialization reichelt at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-09-04 17:28 ` pinskia at gcc dot gnu dot org
@ 2005-09-09 16:57 ` janis at gcc dot gnu dot org
2005-09-09 17:01 ` dberlin at gcc dot gnu dot org
2005-09-09 17:01 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: janis at gcc dot gnu dot org @ 2005-09-09 16:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From janis at gcc dot gnu dot org 2005-09-09 16:57 -------
The testcase starts failing with this patch from zadeck and dberlin:
http://gcc.gnu.org/ml/gcc-cvs/2005-07/msg00635.html
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |dberlin at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23171
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/23171] [4.1 Regression] ICE on pointer initialization
2005-08-01 10:53 [Bug c++/23171] New: [4.1 Regression] ICE on pointer initialization reichelt at gcc dot gnu dot org
` (5 preceding siblings ...)
2005-09-09 16:57 ` janis at gcc dot gnu dot org
@ 2005-09-09 17:01 ` dberlin at gcc dot gnu dot org
2005-09-09 17:01 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: dberlin at gcc dot gnu dot org @ 2005-09-09 17:01 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dberlin at gcc dot gnu dot org 2005-09-09 17:00 -------
It's a latent FE bug, hopefully one that an FE person can solve.
It's out of my FE experience league, unfortunately.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23171
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/23171] [4.1 Regression] ICE on pointer initialization
2005-08-01 10:53 [Bug c++/23171] New: [4.1 Regression] ICE on pointer initialization reichelt at gcc dot gnu dot org
` (6 preceding siblings ...)
2005-09-09 17:01 ` dberlin at gcc dot gnu dot org
@ 2005-09-09 17:01 ` pinskia at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-09 17:01 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-09 17:00 -------
(In reply to comment #5)
> The testcase starts failing with this patch from zadeck and dberlin:
It was decided this was really a latent front-end bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23171
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-09-09 17:01 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-01 10:53 [Bug c++/23171] New: [4.1 Regression] ICE on pointer initialization reichelt at gcc dot gnu dot org
2005-08-01 11:48 ` [Bug c++/23171] " pinskia at gcc dot gnu dot org
2005-08-01 11:58 ` pinskia at gcc dot gnu dot org
2005-08-22 5:57 ` mmitchel at gcc dot gnu dot org
2005-08-22 11:51 ` pinskia at gcc dot gnu dot org
2005-09-04 17:28 ` pinskia at gcc dot gnu dot org
2005-09-09 16:57 ` janis at gcc dot gnu dot org
2005-09-09 17:01 ` dberlin at gcc dot gnu dot org
2005-09-09 17:01 ` pinskia 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).