This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/48015] ICE: unexpected expression 'std::min' of kind overload


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]