This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/29965] OpenMP vs always throw in a loop
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Nov 2006 23:04:05 -0000
- Subject: [Bug middle-end/29965] OpenMP vs always throw in a loop
- References: <bug-29965-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-11-23 23:04 -------
Actually you can reproduce the same ICE (with the same backtrace) with C++
code:
extern void bar (int);
void
foo (int n)
{
int i;
#pragma omp parallel for schedule(dynamic)
for (i = 0; i < n; i++)
{
throw 0;
}
}
So this is not specific to Objective-C any more.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|objc |middle-end
Summary|Objective-C exceptions vs |OpenMP vs always throw in a
|OpenMP |loop
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29965