This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50059] [C++0x] Broken error message with __builtin_remquo & constexpr
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 12 Aug 2011 18:01:43 +0000
- Subject: [Bug c++/50059] [C++0x] Broken error message with __builtin_remquo & constexpr
- Auto-submitted: auto-generated
- References: <bug-50059-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50059
--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-08-12 18:01:43 UTC ---
And I suspect that this diagnostic issue may be not unrelated to what I was
noticing today together with PR50060: these badly printed intrinsics (remquo,
modf, frexp) can be optimized by the middle-end but aren't really viable as
constexpr functions because of the pointer parameter. Thus, by the time error.c
is involved the middle-end has computed the constants and erased any info about
the name of the intrinsics. Can be?