[Bug c++/70438] result type of vector operations

2016-03-29 Thread mjh at edg dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70438 --- Comment #2 from Mike Herrick --- I think that's fine -- a note in the documentation to that effect (describing what an "opaque" vector type is and what operations are allowed on it) should suffice. Thanks.

[Bug c++/70438] New: result type of vector operations

2016-03-29 Thread mjh at edg dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: mjh at edg dot com Target Milestone: --- The documentation for Vector Extensions says that the relational operations and logical operations return vectors of the same width and number of elements as the operands, but with signed integral

[Bug c++/70430] New: Incorrect result for logical "and" operation with mixed vector and scalar

2016-03-28 Thread mjh at edg dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mjh at edg dot com Target Milestone: --- I'm seeing surprising results at run time when mixing a vector and a scalar in a logical "and" operation: $ cat

[Bug inline-asm/65640] New: multiple alternative constraints and earlyclobbers

2015-03-31 Thread mjh at edg dot com
Component: inline-asm Assignee: unassigned at gcc dot gnu.org Reporter: mjh at edg dot com There seems to be an issue with earlyclobbers and multiple alternative constraints. Take this example: int f(int out, int in) { asm(foo %1,%0; : =a (out) : b (in));// Okay asm

[Bug c/48777] New: duplicate pointers to empty structs passed as arguments to function

2011-04-26 Thread mjh at edg dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48777 Summary: duplicate pointers to empty structs passed as arguments to function Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P3