This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/535: Internal error on long long int *= conditional.
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/535: Internal error on long long int *= conditional.
- From: canfield at cae-plus dot com
- Date: 14 Sep 2000 15:30:23 -0000
- Reply-To: canfield at cae-plus dot com
- Resent-Cc: gcc-prs at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, jason at gcc dot gnu dot org
- Resent-Reply-To: gcc-gnats@gcc.gnu.org, canfield@cae-plus.com
>Number: 535
>Category: c++
>Synopsis: Internal error on long long int *= conditional.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Thu Sep 14 08:36:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Bill Canfield
>Release: gcc-2.95.2
>Organization:
>Environment:
SunOS phoenix 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-80
>Description:
/usr/local/development/gcc-2.95.2/bin/g++ -c -g -Wreturn-type gcc295bug.cc
gcc295bug.cc: In function `long long int bug(int, int, long long int)':
gcc295bug.cc:9: Internal compiler error.
gcc295bug.cc:9: Please submit a full bug report.
gcc295bug.cc:9: See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.
Compilation exited abnormally with code 1 at Thu Sep 14 10:26:20
>How-To-Repeat:
Put this function all by itself in a file, and compile.
long long int bug(int a, int b, long long int val)
{
long long int increment = val;
increment *= (a == b) ? -1 : 1;
return increment;
}
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: