public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/38663] New: OpenMP directive causes internal compiler error
@ 2008-12-29 20:12 aleaverfay at gmail dot com
2008-12-29 20:22 ` [Bug c++/38663] " aleaverfay at gmail dot com
` (6 more replies)
0 siblings, 7 replies; 9+ messages in thread
From: aleaverfay at gmail dot com @ 2008-12-29 20:12 UTC (permalink / raw)
To: gcc-bugs
The code compiles without warning if I comment out the omp pragmas.
(Where/how do I upload the .ii file?)
$ ~/gcc4.4/usr/local/bin/g++ --version
g++ (GCC) 4.3.0 20080125 (experimental)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~/gcc4.4/usr/local/bin/g++ -o
build/src/release/macos/10.4/32/x86/gcc/core/pack/rotamer_set/RotamerSets.os -c
-pipe -ffor-scope -fopenmp -W -Wall -pedantic -Wno-long-long -fno-exceptions
-O2 -ffast-math -funroll-loops -finline-functions -finline-limit=20000 -s
-Wno-unused-variable -march=prescott -fPIC -DNDEBUG -Isrc -Iexternal/include
-Isrc/platform/macos/32/gcc -Isrc/platform/macos/32 -Isrc/platform/macos
-I/Users/plato/gcc4.4/usr/local/include -I/usr/local/include -I/usr/include
src/core/pack/rotamer_set/RotamerSets.cc -save-temps
--
Summary: OpenMP directive causes internal compiler error
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: aleaverfay at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38663
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/38663] OpenMP directive causes internal compiler error
2008-12-29 20:12 [Bug c++/38663] New: OpenMP directive causes internal compiler error aleaverfay at gmail dot com
@ 2008-12-29 20:22 ` aleaverfay at gmail dot com
2008-12-29 20:28 ` aleaverfay at gmail dot com
` (5 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: aleaverfay at gmail dot com @ 2008-12-29 20:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from aleaverfay at gmail dot com 2008-12-29 20:21 -------
Created an attachment (id=17003)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17003&action=view)
(Gzipped for size) Preprocessed source file that generates the internal compile
error.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38663
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/38663] OpenMP directive causes internal compiler error
2008-12-29 20:12 [Bug c++/38663] New: OpenMP directive causes internal compiler error aleaverfay at gmail dot com
2008-12-29 20:22 ` [Bug c++/38663] " aleaverfay at gmail dot com
@ 2008-12-29 20:28 ` aleaverfay at gmail dot com
2008-12-29 20:47 ` [Bug middle-end/38663] " jakub at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: aleaverfay at gmail dot com @ 2008-12-29 20:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from aleaverfay at gmail dot com 2008-12-29 20:27 -------
Debug build works just fine. -O2 and -O3 both fail. Release build is fine
with g++4 on linux.
$g++4 --version
g++4 (GCC) 4.1.0 20060515 (Red Hat 4.1.0-18)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38663
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/38663] OpenMP directive causes internal compiler error
2008-12-29 20:12 [Bug c++/38663] New: OpenMP directive causes internal compiler error aleaverfay at gmail dot com
2008-12-29 20:22 ` [Bug c++/38663] " aleaverfay at gmail dot com
2008-12-29 20:28 ` aleaverfay at gmail dot com
@ 2008-12-29 20:47 ` jakub at gcc dot gnu dot org
2008-12-29 20:48 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-12-29 20:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jakub at gcc dot gnu dot org 2008-12-29 20:46 -------
So what gcc are you using? 4.4 (which revision) or 4.3.0 20080125?
In any case, this compiles just fine for me with both 4.3.2-RH and 4.4 trunk.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38663
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/38663] OpenMP directive causes internal compiler error
2008-12-29 20:12 [Bug c++/38663] New: OpenMP directive causes internal compiler error aleaverfay at gmail dot com
` (2 preceding siblings ...)
2008-12-29 20:47 ` [Bug middle-end/38663] " jakub at gcc dot gnu dot org
@ 2008-12-29 20:48 ` pinskia at gcc dot gnu dot org
2008-12-29 22:08 ` aleaverfay at gmail dot com
` (2 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-29 20:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2008-12-29 20:47 -------
Also what is the ICE?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38663
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/38663] OpenMP directive causes internal compiler error
2008-12-29 20:12 [Bug c++/38663] New: OpenMP directive causes internal compiler error aleaverfay at gmail dot com
` (3 preceding siblings ...)
2008-12-29 20:48 ` pinskia at gcc dot gnu dot org
@ 2008-12-29 22:08 ` aleaverfay at gmail dot com
2008-12-29 22:08 ` aleaverfay at gmail dot com
2008-12-29 22:52 ` aleaverfay at gmail dot com
6 siblings, 0 replies; 9+ messages in thread
From: aleaverfay at gmail dot com @ 2008-12-29 22:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from aleaverfay at gmail dot com 2008-12-29 21:36 -------
(In reply to comment #4)
> Also what is the ICE?
>
OOH -- ICE == internal compiler error.
http://www.acronymfinder.com/ICE.html
It's a bus error.
$ ~/gcc4.4/usr/local/bin/g++ -o
build/src/release/macos/10.4/32/x86/gcc/core/pack/rotamer_set/RotamerSets.os -c
-pipe -ffor-scope -fopenmp -W -Wall -pedantic -Wno-long-long -fno-exceptions
-O2 -ffast-math -funroll-loops -finline-functions -finline-limit=20000 -s
-Wno-unused-variable -march=prescott -fPIC -DNDEBUG -Isrc -Iexternal/include
-Isrc/platform/macos/32/gcc -Isrc/platform/macos/32 -Isrc/platform/macos
-I/Users/plato/gcc4.4/usr/local/include -I/usr/local/include -I/usr/include
src/core/pack/rotamer_set/RotamerSets.cc -save-temps
g++: warning: -pipe ignored because -save-temps specified
src/core/pack/rotamer_set/RotamerSets.cc: In member function 'void
core::pack::rotamer_set::RotamerSets::precompute_two_body_energies(const
core::pose::Pose&, const core::scoring::ScoreFunction&, core::graph::GraphCOP,
core::pack::interaction_graph::PrecomputedPairEnergiesInteractionGraphOP,
bool)':
src/core/pack/rotamer_set/RotamerSets.cc:317: internal compiler error: Bus
error
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
If it helps, I'm building on a Mac OSX 10.4.11 with an Intel Core 2 duo
processor.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38663
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/38663] OpenMP directive causes internal compiler error
2008-12-29 20:12 [Bug c++/38663] New: OpenMP directive causes internal compiler error aleaverfay at gmail dot com
` (4 preceding siblings ...)
2008-12-29 22:08 ` aleaverfay at gmail dot com
@ 2008-12-29 22:08 ` aleaverfay at gmail dot com
2008-12-29 22:52 ` aleaverfay at gmail dot com
6 siblings, 0 replies; 9+ messages in thread
From: aleaverfay at gmail dot com @ 2008-12-29 22:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from aleaverfay at gmail dot com 2008-12-29 21:30 -------
(In reply to comment #3)
> So what gcc are you using? 4.4 (which revision) or 4.3.0 20080125?
> In any case, this compiles just fine for me with both 4.3.2-RH and 4.4 trunk.
>
I downloaded gcc4.4 as a package here:
http://hpc.sourceforge.net/
taking the intel mac version:
gcc-intel-bin.tar.gz
With that installation came g++4.3. Go figure.
If 4.3.0 is not the latest release of an intel-mac compatible g++, can you
point me to where I can download it? (I'd greatly prefer not to build from
source, as my previous experiences doing so have been unpleasant).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38663
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/38663] OpenMP directive causes internal compiler error
2008-12-29 20:12 [Bug c++/38663] New: OpenMP directive causes internal compiler error aleaverfay at gmail dot com
` (5 preceding siblings ...)
2008-12-29 22:08 ` aleaverfay at gmail dot com
@ 2008-12-29 22:52 ` aleaverfay at gmail dot com
6 siblings, 0 replies; 9+ messages in thread
From: aleaverfay at gmail dot com @ 2008-12-29 22:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from aleaverfay at gmail dot com 2008-12-29 21:38 -------
> In reply to comment #6)
> (In reply to comment #4)
> > Also what is the ICE?
> >
>
> OOH -- ICE == internal compiler error.
> http://www.acronymfinder.com/ICE.html
>
> It's a bus error.
>
> $ ~/gcc4.4/usr/local/bin/g++ -o
> build/src/release/macos/10.4/32/x86/gcc/core/pack/rotamer_set/RotamerSets.os -c
> -pipe -ffor-scope -fopenmp -W -Wall -pedantic -Wno-long-long -fno-exceptions
> -O2 -ffast-math -funroll-loops -finline-functions -finline-limit=20000 -s
> -Wno-unused-variable -march=prescott -fPIC -DNDEBUG -Isrc -Iexternal/include
> -Isrc/platform/macos/32/gcc -Isrc/platform/macos/32 -Isrc/platform/macos
> -I/Users/plato/gcc4.4/usr/local/include -I/usr/local/include -I/usr/include
> src/core/pack/rotamer_set/RotamerSets.cc -save-temps
> g++: warning: -pipe ignored because -save-temps specified
> src/core/pack/rotamer_set/RotamerSets.cc: In member function 'void
> core::pack::rotamer_set::RotamerSets::precompute_two_body_energies(const
> core::pose::Pose&, const core::scoring::ScoreFunction&, core::graph::GraphCOP,
> core::pack::interaction_graph::PrecomputedPairEnergiesInteractionGraphOP,
> bool)':
> src/core/pack/rotamer_set/RotamerSets.cc:317: internal compiler error: Bus
> error
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
>
> If it helps, I'm building on a Mac OSX 10.4.11 with an Intel Core 2 duo
> processor.
>
Line 314 is the next non-whitespace line after the end of the omp parallel
block.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38663
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/38663] OpenMP directive causes internal compiler error
[not found] <bug-38663-4@http.gcc.gnu.org/bugzilla/>
@ 2022-01-10 9:53 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-01-10 9:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38663
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.6.0
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=44132
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This was mostly fixed in GCC 4.6.0 with the rewrite of the emulated TLS
support.
Darwin still uses emulated TLS even today.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2022-01-10 9:53 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-29 20:12 [Bug c++/38663] New: OpenMP directive causes internal compiler error aleaverfay at gmail dot com
2008-12-29 20:22 ` [Bug c++/38663] " aleaverfay at gmail dot com
2008-12-29 20:28 ` aleaverfay at gmail dot com
2008-12-29 20:47 ` [Bug middle-end/38663] " jakub at gcc dot gnu dot org
2008-12-29 20:48 ` pinskia at gcc dot gnu dot org
2008-12-29 22:08 ` aleaverfay at gmail dot com
2008-12-29 22:08 ` aleaverfay at gmail dot com
2008-12-29 22:52 ` aleaverfay at gmail dot com
[not found] <bug-38663-4@http.gcc.gnu.org/bugzilla/>
2022-01-10 9:53 ` pinskia 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).