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++/34918] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'vector_cst' not supported by dump_expr


A broken diagnostic is issued for the following testcase since GCC 4.0.2:

=====================================================
int v __attribute((vector_size(8)));

bool b = !(v - v);
=====================================================

bug.cc:3: error: could not convert '#'vector_cst' not supported by
dump_expr#<expression error>' to 'bool'
bug.cc:3: error: in argument to unary !


-- 
           Summary: [4.1/4.2/4.3 regression] Broken diagnostic: 'vector_cst'
                    not supported by dump_expr
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: diagnostic, monitored
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


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