public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/36191] New: can't use complex in a eh region if non-call-exceptions is enabled
@ 2008-05-09 17:06 espindola at google dot com
2008-05-09 17:09 ` [Bug middle-end/36191] " pinskia at gcc dot gnu dot org
` (9 more replies)
0 siblings, 10 replies; 12+ messages in thread
From: espindola at google dot com @ 2008-05-09 17:06 UTC (permalink / raw)
To: gcc-bugs
If the program
-----------------------
__complex__ double f (__complex__ double x, double y) {
try {
return x / y;
} catch (char *s) {
return x;
}
}
----------------------
is compiled with "cc1plus bug.cc -fnon-call-exceptions", it fails with the
error:
/home/espindola/bug.cc:7: error: statement marked for throw, but doesn't
D.1661 = __divdc3 (D.1667, D.1668, D.1669, D.1670);
/home/espindola/bug.cc:7: internal compiler error: verify_stmts failed
--
Summary: can't use complex in a eh region if non-call-exceptions
is enabled
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: espindola at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36191
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/36191] can't use complex in a eh region if non-call-exceptions is enabled
2008-05-09 17:06 [Bug middle-end/36191] New: can't use complex in a eh region if non-call-exceptions is enabled espindola at google dot com
@ 2008-05-09 17:09 ` pinskia at gcc dot gnu dot org
2008-05-12 17:22 ` ebotcazou at gcc dot gnu dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-05-09 17:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-05-09 17:08 -------
Note this is most likely a regression from 3.4.0.
Though -fnon-call-exceptions really is only heavily used in java and java does
not use complex types.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36191
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/36191] can't use complex in a eh region if non-call-exceptions is enabled
2008-05-09 17:06 [Bug middle-end/36191] New: can't use complex in a eh region if non-call-exceptions is enabled espindola at google dot com
2008-05-09 17:09 ` [Bug middle-end/36191] " pinskia at gcc dot gnu dot org
@ 2008-05-12 17:22 ` ebotcazou at gcc dot gnu dot org
2008-12-28 4:54 ` [Bug middle-end/36191] [4.3/4.4 Regression] " pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2008-05-12 17:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from ebotcazou at gcc dot gnu dot org 2008-05-12 17:21 -------
> Though -fnon-call-exceptions really is only heavily used in java and java does
> not use complex types.
It is heavily used in Ada as well, but Ada doesn't use complex types either.
--
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=36191
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/36191] [4.3/4.4 Regression] can't use complex in a eh region if non-call-exceptions is enabled
2008-05-09 17:06 [Bug middle-end/36191] New: can't use complex in a eh region if non-call-exceptions is enabled espindola at google dot com
2008-05-09 17:09 ` [Bug middle-end/36191] " pinskia at gcc dot gnu dot org
2008-05-12 17:22 ` ebotcazou at gcc dot gnu dot org
@ 2008-12-28 4:54 ` pinskia at gcc dot gnu dot org
2008-12-29 10:30 ` jakub at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-28 4:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-28 04:52 -------
This at least ICEs in 4.3.0 and 4.4.0.
Confirmed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-checking, ice-on-valid-
| |code
Known to fail| |4.3.0 4.4.0
Known to work| |3.3.3
Last reconfirmed|0000-00-00 00:00:00 |2008-12-28 04:52:24
date| |
Summary|can't use complex in a eh |[4.3/4.4 Regression] can't
|region if non-call- |use complex in a eh region
|exceptions is enabled |if non-call-exceptions is
| |enabled
Target Milestone|--- |4.3.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36191
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/36191] [4.3/4.4 Regression] can't use complex in a eh region if non-call-exceptions is enabled
2008-05-09 17:06 [Bug middle-end/36191] New: can't use complex in a eh region if non-call-exceptions is enabled espindola at google dot com
` (2 preceding siblings ...)
2008-12-28 4:54 ` [Bug middle-end/36191] [4.3/4.4 Regression] " pinskia at gcc dot gnu dot org
@ 2008-12-29 10:30 ` jakub at gcc dot gnu dot org
2008-12-29 18:28 ` jakub at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-12-29 10:30 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|2008-12-28 04:52:24 |2008-12-29 10:28:13
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36191
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/36191] [4.3/4.4 Regression] can't use complex in a eh region if non-call-exceptions is enabled
2008-05-09 17:06 [Bug middle-end/36191] New: can't use complex in a eh region if non-call-exceptions is enabled espindola at google dot com
` (3 preceding siblings ...)
2008-12-29 10:30 ` jakub at gcc dot gnu dot org
@ 2008-12-29 18:28 ` jakub at gcc dot gnu dot org
2008-12-29 18:38 ` [Bug middle-end/36191] [4.3 " jakub at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-12-29 18:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jakub at gcc dot gnu dot org 2008-12-29 18:26 -------
Subject: Bug 36191
Author: jakub
Date: Mon Dec 29 18:25:19 2008
New Revision: 142950
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142950
Log:
PR c++/36191
* tree-complex.c (expand_complex_libcall): Call
maybe_clean_or_replace_eh_stmt and gimple_purge_dead_eh_edges
instead of passing true as 3rd argument to gsi_replace.
* g++.dg/torture/pr36191.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/torture/pr36191.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-complex.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36191
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/36191] [4.3 Regression] can't use complex in a eh region if non-call-exceptions is enabled
2008-05-09 17:06 [Bug middle-end/36191] New: can't use complex in a eh region if non-call-exceptions is enabled espindola at google dot com
` (4 preceding siblings ...)
2008-12-29 18:28 ` jakub at gcc dot gnu dot org
@ 2008-12-29 18:38 ` jakub at gcc dot gnu dot org
2008-12-29 21:38 ` rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-12-29 18:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from jakub at gcc dot gnu dot org 2008-12-29 18:32 -------
Fixed on the trunk so far.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|4.3.0 4.4.0 |4.3.0
Known to work|3.3.3 |3.3.3 4.4.0
Summary|[4.3/4.4 Regression] can't |[4.3 Regression] can't use
|use complex in a eh region |complex in a eh region if
|if non-call-exceptions is |non-call-exceptions is
|enabled |enabled
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36191
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/36191] [4.3 Regression] can't use complex in a eh region if non-call-exceptions is enabled
2008-05-09 17:06 [Bug middle-end/36191] New: can't use complex in a eh region if non-call-exceptions is enabled espindola at google dot com
` (5 preceding siblings ...)
2008-12-29 18:38 ` [Bug middle-end/36191] [4.3 " jakub at gcc dot gnu dot org
@ 2008-12-29 21:38 ` rguenth at gcc dot gnu dot org
2009-01-24 10:24 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-12-29 21:38 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36191
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/36191] [4.3 Regression] can't use complex in a eh region if non-call-exceptions is enabled
2008-05-09 17:06 [Bug middle-end/36191] New: can't use complex in a eh region if non-call-exceptions is enabled espindola at google dot com
` (6 preceding siblings ...)
2008-12-29 21:38 ` rguenth at gcc dot gnu dot org
@ 2009-01-24 10:24 ` rguenth at gcc dot gnu dot org
2009-08-04 12:40 ` rguenth at gcc dot gnu dot org
2010-05-22 18:24 ` rguenth at gcc dot gnu dot org
9 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-01-24 10:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rguenth at gcc dot gnu dot org 2009-01-24 10:20 -------
GCC 4.3.3 is being released, adjusting target milestone.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.3 |4.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36191
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/36191] [4.3 Regression] can't use complex in a eh region if non-call-exceptions is enabled
2008-05-09 17:06 [Bug middle-end/36191] New: can't use complex in a eh region if non-call-exceptions is enabled espindola at google dot com
` (7 preceding siblings ...)
2009-01-24 10:24 ` rguenth at gcc dot gnu dot org
@ 2009-08-04 12:40 ` rguenth at gcc dot gnu dot org
2010-05-22 18:24 ` rguenth at gcc dot gnu dot org
9 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-04 12:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rguenth at gcc dot gnu dot org 2009-08-04 12:29 -------
GCC 4.3.4 is being released, adjusting target milestone.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.4 |4.3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36191
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/36191] [4.3 Regression] can't use complex in a eh region if non-call-exceptions is enabled
2008-05-09 17:06 [Bug middle-end/36191] New: can't use complex in a eh region if non-call-exceptions is enabled espindola at google dot com
` (8 preceding siblings ...)
2009-08-04 12:40 ` rguenth at gcc dot gnu dot org
@ 2010-05-22 18:24 ` rguenth at gcc dot gnu dot org
9 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-22 18:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from rguenth at gcc dot gnu dot org 2010-05-22 18:12 -------
GCC 4.3.5 is being released, adjusting target milestone.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.5 |4.3.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36191
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/36191] [4.3 Regression] can't use complex in a eh region if non-call-exceptions is enabled
[not found] <bug-36191-4@http.gcc.gnu.org/bugzilla/>
@ 2011-06-27 11:34 ` rguenth at gcc dot gnu.org
0 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-06-27 11:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36191
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Known to work| |
Resolution| |FIXED
Target Milestone|4.3.6 |4.4.0
--- Comment #9 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-06-27 11:24:03 UTC ---
Fixed for 4.4.0.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2011-06-27 11:34 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-09 17:06 [Bug middle-end/36191] New: can't use complex in a eh region if non-call-exceptions is enabled espindola at google dot com
2008-05-09 17:09 ` [Bug middle-end/36191] " pinskia at gcc dot gnu dot org
2008-05-12 17:22 ` ebotcazou at gcc dot gnu dot org
2008-12-28 4:54 ` [Bug middle-end/36191] [4.3/4.4 Regression] " pinskia at gcc dot gnu dot org
2008-12-29 10:30 ` jakub at gcc dot gnu dot org
2008-12-29 18:28 ` jakub at gcc dot gnu dot org
2008-12-29 18:38 ` [Bug middle-end/36191] [4.3 " jakub at gcc dot gnu dot org
2008-12-29 21:38 ` rguenth at gcc dot gnu dot org
2009-01-24 10:24 ` rguenth at gcc dot gnu dot org
2009-08-04 12:40 ` rguenth at gcc dot gnu dot org
2010-05-22 18:24 ` rguenth at gcc dot gnu dot org
[not found] <bug-36191-4@http.gcc.gnu.org/bugzilla/>
2011-06-27 11:34 ` rguenth at gcc dot gnu.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).