public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "indukuru at us dot ibm dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/16726] New: g++ Bug in Linux/PPC with altivec
Date: Mon, 26 Jul 2004 20:28:00 -0000	[thread overview]
Message-ID: <20040726202816.16726.indukuru@us.ibm.com> (raw)

Test Case which fails :
--------------------------------------------------------------------------------
#include <altivec.h>
class Test
{
        public:
                bool operator==(const Test& in);
                bool operator!=(const Test& in) { return !(*this == in);}
};
---------------------------------------------------------------------------------
Test Case which Passes

class Test
{
        public:
                bool operator==(const Test& in);
                bool operator!=(const Test& in) { return !(*this == in);}
};
------------------------------------------------------------------------------
Output of g++ -v -save-temps 


gpul91:/home/rajeev# gcc-bins-7262004/bin/g++ -v -save-temps -maltivec
-mabi=altivec test1.h
Reading specs from
/home/rajeev/gcc-bins-7262004/lib/gcc/powerpc-unknown-linux-gnu/3.5.0/specs
Configured with: ../gcc/configure --prefix=/home/rajeev/gcc-bins-7262004
--enable-languages=c,c++
Thread model: posix
gcc version 3.5.0 20040726 (experimental)
 /home/rajeev/gcc-bins-7262004/libexec/gcc/powerpc-unknown-linux-gnu/3.5.0/cc1plus
-E -quiet -v -D_GNU_SOURCE -D__unix__ -D_
_gnu_linux__ -D__linux__ -Dunix -D__unix -Dlinux -D__linux -Asystem=linux
-Asystem=unix -Asystem=posix test1.h -maltivec -ma
bi=altivec -fpch-preprocess -o test1.ii
ignoring nonexistent directory
"/home/rajeev/gcc-bins-7262004/lib/gcc/powerpc-unknown-linux-gnu/3.5.0/../../../../powerpc-un
known-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/rajeev/gcc-bins-7262004/lib/gcc/powerpc-unknown-linux-gnu/3.5.0/../../../../include/c++/3.5.0
 /home/rajeev/gcc-bins-7262004/lib/gcc/powerpc-unknown-linux-gnu/3.5.0/../../../../include/c++/3.5.0/powerpc-unknown-linux-g
nu
 /home/rajeev/gcc-bins-7262004/lib/gcc/powerpc-unknown-linux-gnu/3.5.0/../../../../include/c++/3.5.0/backward
 /usr/local/include
 /home/rajeev/gcc-bins-7262004/include
 /home/rajeev/gcc-bins-7262004/lib/gcc/powerpc-unknown-linux-gnu/3.5.0/include
 /usr/include
End of search list.
 /home/rajeev/gcc-bins-7262004/libexec/gcc/powerpc-unknown-linux-gnu/3.5.0/cc1plus
-fpreprocessed test1.ii -quiet -dumpbase
test1.h -maltivec -mabi=altivec -auxbase test1 -version -o test1.s
--output-pch=test1.h.gch
GNU C++ version 3.5.0 20040726 (experimental) (powerpc-unknown-linux-gnu)
        compiled by GNU C version 3.2.3 20030331 (Debian prerelease).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
test1.h: In member function `unsigned int __vector__ Test::operator!=(Test*,
const Test&)':
test1.h:9: error: no match for 'operator==' in '*(Test*)this == in'
test1.h:8: note: candidates are: unsigned int __vector__ Test::operator==(Test*,
const Test&)
---------------------------------------------------------------------------------

Target System - Apple G5 running Suse Linux.

-- 
           Summary: g++ Bug in Linux/PPC with altivec
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: indukuru at us dot ibm dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


             reply	other threads:[~2004-07-26 20:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-26 20:28 indukuru at us dot ibm dot com [this message]
2004-07-26 22:15 ` [Bug target/16726] " bangerth at dealii dot org
2004-07-26 22:18 ` pinskia at gcc dot gnu dot org
2004-07-26 22:20 ` pinskia at gcc dot gnu dot org
2004-08-15  5:26 ` [Bug target/16726] [3.5 Regression] " pinskia at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040726202816.16726.indukuru@us.ibm.com \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).