This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/48015] ICE: unexpected expression 'std::min' of kind overload
- From: "schnetter at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 7 Mar 2011 15:14:07 +0000
- Subject: [Bug c++/48015] ICE: unexpected expression 'std::min' of kind overload
- Auto-submitted: auto-generated
- References: <bug-48015-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48015
--- Comment #2 from Erik Schnetter <schnetter at gmail dot com> 2011-03-07 15:14:00 UTC ---
Created attachment 23570
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23570
Same source code preprocessed with gcc 4.5.2
If I use gcc 4.5.2:
$ g++-mp-4.5 --version
g++-mp-4.5 (GCC) 4.5.2
things work fine. I added an attachment containing the same original source
code preprocessed with gcc 4.5.2 (as "data-gcc45.ii.bz2"). If I compile this
preprocessed source code with:
$ g++-mp-4.5 -fopenmp -Wall -g3 -m128bit-long-double -march=native -std=gnu++0x
-fbounds-check -fstack-protector-all -ftrapv -O0 -fopenmp -Wall -Wshadow
-Wpointer-arith -Wcast-qual -Wcast-align -Woverloaded-virtual -c data-gcc45.ii
I see no screen output, and the object file is produced fine.