public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/48015] New: ICE: unexpected expression 'std::min' of kind overload
@ 2011-03-07 13:59 schnetter at gmail dot com
  2011-03-07 15:04 ` [Bug c++/48015] " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: schnetter at gmail dot com @ 2011-03-07 13:59 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48015

           Summary: ICE: unexpected expression 'std::min' of kind overload
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: schnetter@gmail.com


Created attachment 23568
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23568
bzipp2d preprocessed source code

Using gcc version:

$ g++-mp-4.6 --version
g++-mp-4.6 (GCC) 4.6.0 20110305 (experimental)

I execute the command:

$ g++-mp-4.6 -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.ii

and receive the error message:

/Users/eschnett/EinsteinToolkit-hg/arrangements/Carpet/CarpetLib/src/data.cc:
In function 'void call_operator(void (*)(const T*, const ivect3&, T*, const
ivect3&, const ibbox3&, const ibbox3&, const ibbox3&), const T*, const ivect3&,
T*, const ivect3&, const ibbox3&, const ibbox3&, const ibbox3&)':
/Users/eschnett/EinsteinToolkit-hg/arrangements/Carpet/CarpetLib/src/data.cc:80:56:
internal compiler error: unexpected expression 'std::min' of kind overload
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

The same code compiles fine with g++ 4.5.2.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-03-08  7:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-07 13:59 [Bug c++/48015] New: ICE: unexpected expression 'std::min' of kind overload schnetter at gmail dot com
2011-03-07 15:04 ` [Bug c++/48015] " rguenth at gcc dot gnu.org
2011-03-07 15:14 ` schnetter at gmail dot com
2011-03-07 15:16 ` [Bug c++/48015] [4.6 Regression] [C++0x] " redi at gcc dot gnu.org
2011-03-07 15:18 ` rguenth at gcc dot gnu.org
2011-03-07 19:00 ` jakub at gcc dot gnu.org
2011-03-07 20:32 ` jason at gcc dot gnu.org
2011-03-08  5:28 ` jason at gcc dot gnu.org
2011-03-08  7:27 ` jakub 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).