public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13166] New: internal compiler error with cvs version 3.4 20031122
@ 2003-11-23 13:13 rafael dot espindola at ic dot unicamp dot br
2003-11-23 13:16 ` [Bug c++/13166] " rafael dot espindola at ic dot unicamp dot br
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: rafael dot espindola at ic dot unicamp dot br @ 2003-11-23 13:13 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1552 bytes --]
The problem occurs while compiling systemc with gcc 3.4. It compiles normally with gcc 3.3
The details:
$gcc -v
Reading specs from /home/rafael/gcc_main/lib/gcc/i686-pc-linux-gnu/3.4/specs
Configured with: ../gcc_main/configure --prefix=/home/rafael/gcc_main --enable-languages=c,c++
Thread model: posix
gcc version 3.4 20031122 (experimental)
Command:
g++ -O3 -c sc_bv_base.ii
g++ output:
g++ -O3 -c src/systemc/datatypes/bit/sc_bv_base.ii
In file included from ../../../../src/systemc/datatypes/bit/sc_proxy.h:51,
from ../../../../src/systemc/datatypes/bit/sc_bit_proxies.h:41,
from ../../../../src/systemc/datatypes/bit/sc_bv_base.h:41,
from sc_bv_base.cpp:38:
../../../../src/systemc/datatypes/int/sc_unsigned.h:1939: internal compiler error: Falha de segmentação
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: internal compiler error with cvs version 3.4 20031122
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rafael dot espindola at ic dot unicamp dot br
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13166
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/13166] internal compiler error with cvs version 3.4 20031122
2003-11-23 13:13 [Bug c++/13166] New: internal compiler error with cvs version 3.4 20031122 rafael dot espindola at ic dot unicamp dot br
@ 2003-11-23 13:16 ` rafael dot espindola at ic dot unicamp dot br
2003-11-23 14:54 ` [Bug c++/13166] [3.4 regression] " falk at debian dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rafael dot espindola at ic dot unicamp dot br @ 2003-11-23 13:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rafael dot espindola at ic dot unicamp dot br 2003-11-23 13:16 -------
Created an attachment (id=5193)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5193&action=view)
the file that triggers the bug
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13166
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/13166] [3.4 regression] internal compiler error with cvs version 3.4 20031122
2003-11-23 13:13 [Bug c++/13166] New: internal compiler error with cvs version 3.4 20031122 rafael dot espindola at ic dot unicamp dot br
2003-11-23 13:16 ` [Bug c++/13166] " rafael dot espindola at ic dot unicamp dot br
@ 2003-11-23 14:54 ` falk at debian dot org
2003-11-25 1:07 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: falk at debian dot org @ 2003-11-23 14:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From falk at debian dot org 2003-11-23 14:54 -------
Confirmed. Test case:
namespace sc_dt {
class sc_length_param {
friend int compare_unsigned(int if_v_signed = 0);
};
}
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Summary|internal compiler error with|[3.4 regression] internal
|cvs version 3.4 20031122 |compiler error with cvs
| |version 3.4 20031122
Target Milestone|--- |3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13166
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/13166] [3.4 regression] internal compiler error with cvs version 3.4 20031122
2003-11-23 13:13 [Bug c++/13166] New: internal compiler error with cvs version 3.4 20031122 rafael dot espindola at ic dot unicamp dot br
2003-11-23 13:16 ` [Bug c++/13166] " rafael dot espindola at ic dot unicamp dot br
2003-11-23 14:54 ` [Bug c++/13166] [3.4 regression] " falk at debian dot org
@ 2003-11-25 1:07 ` pinskia at gcc dot gnu dot org
2003-11-28 14:04 ` lerdsuwa at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-25 1:07 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2003-11-25 01:07:19
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13166
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/13166] [3.4 regression] internal compiler error with cvs version 3.4 20031122
2003-11-23 13:13 [Bug c++/13166] New: internal compiler error with cvs version 3.4 20031122 rafael dot espindola at ic dot unicamp dot br
` (2 preceding siblings ...)
2003-11-25 1:07 ` pinskia at gcc dot gnu dot org
@ 2003-11-28 14:04 ` lerdsuwa at gcc dot gnu dot org
2003-12-03 22:33 ` reichelt at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-11-28 14:04 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |lerdsuwa at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13166
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/13166] [3.4 regression] internal compiler error with cvs version 3.4 20031122
2003-11-23 13:13 [Bug c++/13166] New: internal compiler error with cvs version 3.4 20031122 rafael dot espindola at ic dot unicamp dot br
` (3 preceding siblings ...)
2003-11-28 14:04 ` lerdsuwa at gcc dot gnu dot org
@ 2003-12-03 22:33 ` reichelt at gcc dot gnu dot org
2003-12-05 14:45 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2003-12-03 22:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2003-12-03 22:33 -------
Nathan's patch for PR 9162
http://gcc.gnu.org/ml/gcc-cvs/2003-07/msg00137.html
caused the regression.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13166
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/13166] [3.4 regression] internal compiler error with cvs version 3.4 20031122
2003-11-23 13:13 [Bug c++/13166] New: internal compiler error with cvs version 3.4 20031122 rafael dot espindola at ic dot unicamp dot br
` (4 preceding siblings ...)
2003-12-03 22:33 ` reichelt at gcc dot gnu dot org
@ 2003-12-05 14:45 ` cvs-commit at gcc dot gnu dot org
2003-12-05 14:49 ` [Bug c++/13166] DR136 not implemented lerdsuwa at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-12-05 14:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-12-05 14:45 -------
Subject: Bug 13166
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: lerdsuwa@gcc.gnu.org 2003-12-05 14:45:00
Modified files:
gcc/cp : ChangeLog parser.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/parse: defarg6.C
Log message:
PR c++/13166
* parser.c (cp_parser_late_parsing_default_args): Make sure the
context is a class before calling push_nested_class and
pop_nested_class.
* g++.dg/parse/defarg6.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3781&r2=1.3782
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.126&r2=1.127
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3230&r2=1.3231
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/defarg6.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13166
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/13166] DR136 not implemented
2003-11-23 13:13 [Bug c++/13166] New: internal compiler error with cvs version 3.4 20031122 rafael dot espindola at ic dot unicamp dot br
` (5 preceding siblings ...)
2003-12-05 14:45 ` cvs-commit at gcc dot gnu dot org
@ 2003-12-05 14:49 ` lerdsuwa at gcc dot gnu dot org
2003-12-05 14:49 ` lerdsuwa at gcc dot gnu dot org
2003-12-07 12:06 ` lerdsuwa at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-12-05 14:49 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2003-12-05 14:49 -------
The regression is fixed in the mainline. So it no longer ICE.
However the behavior mentioned in DR136 (limiting which friend
declaration can have default function argument) is not yet implemented.
So I keep this bug report open, change keywords into an accept-invalid
and adjust the summary accordingly.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-valid-code |accepts-invalid
Summary|[3.4 regression] internal |DR136 not implemented
|compiler error with cvs |
|version 3.4 20031122 |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13166
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/13166] DR136 not implemented
2003-11-23 13:13 [Bug c++/13166] New: internal compiler error with cvs version 3.4 20031122 rafael dot espindola at ic dot unicamp dot br
` (6 preceding siblings ...)
2003-12-05 14:49 ` [Bug c++/13166] DR136 not implemented lerdsuwa at gcc dot gnu dot org
@ 2003-12-05 14:49 ` lerdsuwa at gcc dot gnu dot org
2003-12-07 12:06 ` lerdsuwa at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-12-05 14:49 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13166
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/13166] DR136 not implemented
2003-11-23 13:13 [Bug c++/13166] New: internal compiler error with cvs version 3.4 20031122 rafael dot espindola at ic dot unicamp dot br
` (7 preceding siblings ...)
2003-12-05 14:49 ` lerdsuwa at gcc dot gnu dot org
@ 2003-12-07 12:06 ` lerdsuwa at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-12-07 12:06 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13166
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2003-12-07 12:06 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-23 13:13 [Bug c++/13166] New: internal compiler error with cvs version 3.4 20031122 rafael dot espindola at ic dot unicamp dot br
2003-11-23 13:16 ` [Bug c++/13166] " rafael dot espindola at ic dot unicamp dot br
2003-11-23 14:54 ` [Bug c++/13166] [3.4 regression] " falk at debian dot org
2003-11-25 1:07 ` pinskia at gcc dot gnu dot org
2003-11-28 14:04 ` lerdsuwa at gcc dot gnu dot org
2003-12-03 22:33 ` reichelt at gcc dot gnu dot org
2003-12-05 14:45 ` cvs-commit at gcc dot gnu dot org
2003-12-05 14:49 ` [Bug c++/13166] DR136 not implemented lerdsuwa at gcc dot gnu dot org
2003-12-05 14:49 ` lerdsuwa at gcc dot gnu dot org
2003-12-07 12:06 ` lerdsuwa 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).