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++/11283] [3.4 regression] ICE in build_conditional_expr with vector<bool>


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


giovannibajo at libero dot it changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-06-22 17:40:23
               date|                            |


------- Additional Comments From giovannibajo at libero dot it  2003-06-22 17:40 -------
Confirmed, reduced snippet:

---------------------------------------------
struct Bar
{
  operator bool();
};

struct Foo
{
  Bar func(void);
};

const bool blabla(void);

bool evaluate(Foo foo) 
{
  return (0 ? foo.func() : blabla());
}
---------------------------------------------
pr11283.cpp: In function `bool evaluate(Foo)':
pr11283.cpp:15: internal compiler error: in build_conditional_expr, at 
cp/call.c:3349

Regression on mainline only.


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