http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52363
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |paolo.carlini at oracle dot
| |com
--- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-04-18
13:56:23 UTC ---
This block of code in joust changes the behavior without -pedantic:
Index: call.c
===================================================================
--- call.c (revision 186565)
+++ call.c (working copy)
@@ -8305,7 +8305,7 @@ tweak:
/* Extension: If the worst conversion for one candidate is worse than the
worst conversion for the other, take the first. */
- if (!pedantic)
+ if (0 && !pedantic)
{
conversion_rank rank1 = cr_identity, rank2 = cr_identity;
struct z_candidate *w = 0, *l = 0;