public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/26917] New: [4.0/4.1/4.2 regression] ICE with -frepo on invalid code
@ 2006-03-29 12:41 reichelt at gcc dot gnu dot org
2006-03-30 22:06 ` [Bug c++/26917] " pinskia at gcc dot gnu dot org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-03-29 12:41 UTC (permalink / raw)
To: gcc-bugs
Compiling a valid C++ file with -frepo and then editing the file
introducing bugs and then recompiling the file causes trouble:
For example:
Create the file "bug.cc" with the contents
===============
int i;
===============
Compile this file with "g++ -frepo -c bug.cc".
Then change the file to
===============
int ;
===============
and recompile it with the same command.
With mainline I get:
bug.cc:1: error: declaration does not declare anything
bug.cc:1: fatal error: error writing to /tmp/ccp9FkBp.s: Bad file descriptor
compilation terminated.
With the 4.1 branch I get:
bug.cc:1: error: declaration does not declare anything
g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report. [etc.]
With the 4.0 branch I get:
bug.cc:1: error: declaration does not declare anything
*** glibc detected *** malloc(): memory corruption: 0x00002aaaab106010 ***
bug.cc:1: internal compiler error: Aborted
Please submit a full bug report, [etc.]
With GCC 3.4.6 everything works fine, though.
Deleting the *.rpo file before recompiling solves the problem.
--
Summary: [4.0/4.1/4.2 regression] ICE with -frepo on invalid code
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26917
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/26917] [4.0/4.1/4.2 regression] ICE with -frepo on invalid code
2006-03-29 12:41 [Bug c++/26917] New: [4.0/4.1/4.2 regression] ICE with -frepo on invalid code reichelt at gcc dot gnu dot org
@ 2006-03-30 22:06 ` pinskia at gcc dot gnu dot org
2006-04-16 19:12 ` mmitchel 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 @ 2006-03-30 22:06 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
Target Milestone|--- |4.1.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26917
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/26917] [4.0/4.1/4.2 regression] ICE with -frepo on invalid code
2006-03-29 12:41 [Bug c++/26917] New: [4.0/4.1/4.2 regression] ICE with -frepo on invalid code reichelt at gcc dot gnu dot org
2006-03-30 22:06 ` [Bug c++/26917] " pinskia at gcc dot gnu dot org
@ 2006-04-16 19:12 ` mmitchel at gcc dot gnu dot org
2006-04-18 3:30 ` bangerth at dealii dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-04-16 19:12 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26917
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/26917] [4.0/4.1/4.2 regression] ICE with -frepo on invalid code
2006-03-29 12:41 [Bug c++/26917] New: [4.0/4.1/4.2 regression] ICE with -frepo on invalid code reichelt at gcc dot gnu dot org
2006-03-30 22:06 ` [Bug c++/26917] " pinskia at gcc dot gnu dot org
2006-04-16 19:12 ` mmitchel at gcc dot gnu dot org
@ 2006-04-18 3:30 ` bangerth at dealii dot org
2006-05-25 2:40 ` mmitchel at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bangerth at dealii dot org @ 2006-04-18 3:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from bangerth at dealii dot org 2006-04-18 03:30 -------
Confirmed.
--
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-04-18 03:30:10
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26917
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/26917] [4.0/4.1/4.2 regression] ICE with -frepo on invalid code
2006-03-29 12:41 [Bug c++/26917] New: [4.0/4.1/4.2 regression] ICE with -frepo on invalid code reichelt at gcc dot gnu dot org
` (2 preceding siblings ...)
2006-04-18 3:30 ` bangerth at dealii dot org
@ 2006-05-25 2:40 ` mmitchel at gcc dot gnu dot org
2006-08-29 10:24 ` jakub at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-05-25 2:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from mmitchel at gcc dot gnu dot org 2006-05-25 02:34 -------
Will not be fixed in 4.1.1; adjust target milestone to 4.1.2.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.1 |4.1.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26917
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/26917] [4.0/4.1/4.2 regression] ICE with -frepo on invalid code
2006-03-29 12:41 [Bug c++/26917] New: [4.0/4.1/4.2 regression] ICE with -frepo on invalid code reichelt at gcc dot gnu dot org
` (3 preceding siblings ...)
2006-05-25 2:40 ` mmitchel at gcc dot gnu dot org
@ 2006-08-29 10:24 ` jakub at gcc dot gnu dot org
2006-09-02 6:52 ` jakub at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-08-29 10:24 UTC (permalink / raw)
To: gcc-bugs
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2006-07-05 09:56:44 |2006-08-29 10:23:57
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26917
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/26917] [4.0/4.1/4.2 regression] ICE with -frepo on invalid code
2006-03-29 12:41 [Bug c++/26917] New: [4.0/4.1/4.2 regression] ICE with -frepo on invalid code reichelt at gcc dot gnu dot org
` (4 preceding siblings ...)
2006-08-29 10:24 ` jakub at gcc dot gnu dot org
@ 2006-09-02 6:52 ` jakub at gcc dot gnu dot org
2006-09-02 6:57 ` jakub at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-09-02 6:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jakub at gcc dot gnu dot org 2006-09-02 06:52 -------
Subject: Bug 26917
Author: jakub
Date: Sat Sep 2 06:52:24 2006
New Revision: 116654
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116654
Log:
PR c++/26917
* repo.c (repo_file): Remove.
(open_repo_file, reopen_repo_file_for_write): Return fopened
FILE * instead of setting global repo_file variable.
(init_repo): Adjust caller.
(finish_repo): Likewise. Return instead of goto out before
reopen_repo_file_for_write has been called.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/repo.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26917
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/26917] [4.0/4.1/4.2 regression] ICE with -frepo on invalid code
2006-03-29 12:41 [Bug c++/26917] New: [4.0/4.1/4.2 regression] ICE with -frepo on invalid code reichelt at gcc dot gnu dot org
` (5 preceding siblings ...)
2006-09-02 6:52 ` jakub at gcc dot gnu dot org
@ 2006-09-02 6:57 ` jakub at gcc dot gnu dot org
2006-09-26 14:06 ` [Bug c++/26917] [4.0 " pinskia at gcc dot gnu dot org
2007-02-09 22:28 ` reichelt at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-09-02 6:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jakub at gcc dot gnu dot org 2006-09-02 06:57 -------
Subject: Bug 26917
Author: jakub
Date: Sat Sep 2 06:56:59 2006
New Revision: 116657
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116657
Log:
PR c++/26917
* repo.c (repo_file): Remove.
(open_repo_file, reopen_repo_file_for_write): Return fopened
FILE * instead of setting global repo_file variable.
(init_repo): Adjust caller.
(finish_repo): Likewise. Return instead of goto out before
reopen_repo_file_for_write has been called.
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/repo.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26917
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/26917] [4.0 regression] ICE with -frepo on invalid code
2006-03-29 12:41 [Bug c++/26917] New: [4.0/4.1/4.2 regression] ICE with -frepo on invalid code reichelt at gcc dot gnu dot org
` (6 preceding siblings ...)
2006-09-02 6:57 ` jakub at gcc dot gnu dot org
@ 2006-09-26 14:06 ` pinskia at gcc dot gnu dot org
2007-02-09 22:28 ` reichelt at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-26 14:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2006-09-26 14:05 -------
*** Bug 29235 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jukkaho at mail dot student
| |dot oulu dot fi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26917
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/26917] [4.0 regression] ICE with -frepo on invalid code
2006-03-29 12:41 [Bug c++/26917] New: [4.0/4.1/4.2 regression] ICE with -frepo on invalid code reichelt at gcc dot gnu dot org
` (7 preceding siblings ...)
2006-09-26 14:06 ` [Bug c++/26917] [4.0 " pinskia at gcc dot gnu dot org
@ 2007-02-09 22:28 ` reichelt at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-02-09 22:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from reichelt at gcc dot gnu dot org 2007-02-09 22:28 -------
Not fixed on the 4.0 branch.
Fixed in GCC 4.1.2.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Known to fail|4.0.0 4.1.0 |4.0.0 4.0.4 4.1.0
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26917
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-02-09 22:28 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-29 12:41 [Bug c++/26917] New: [4.0/4.1/4.2 regression] ICE with -frepo on invalid code reichelt at gcc dot gnu dot org
2006-03-30 22:06 ` [Bug c++/26917] " pinskia at gcc dot gnu dot org
2006-04-16 19:12 ` mmitchel at gcc dot gnu dot org
2006-04-18 3:30 ` bangerth at dealii dot org
2006-05-25 2:40 ` mmitchel at gcc dot gnu dot org
2006-08-29 10:24 ` jakub at gcc dot gnu dot org
2006-09-02 6:52 ` jakub at gcc dot gnu dot org
2006-09-02 6:57 ` jakub at gcc dot gnu dot org
2006-09-26 14:06 ` [Bug c++/26917] [4.0 " pinskia at gcc dot gnu dot org
2007-02-09 22:28 ` 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).