--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-22 02:09 ---
Two things, first this is a dup of PR 6257 (which is one of the most report
bugs and that means is on http://gcc.gnu.org/bugzilla/duplicates.cgi, please
next time read that list).
Second, this might become valid to
--- Comment #23 from pinskia at gcc dot gnu dot org 2006-04-22 02:09
---
*** Bug 27255 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
-
--- Comment #2 from trentgamblin at hotmail dot com 2006-04-22 03:23
---
Subject: RE: Including C++ header declares C functions
>Two things, first this is a dup of PR 6257 (which is one of the most report
>bugs and that means is on http://gcc.gnu.org/bugzilla/duplicates.cgi,
>please
Gcc version: 4.1.0
System type: RedHat Enterprise Linux AS 3.0 (x86_64) on Sun v20z (2 x AMD
Operaton 252)
configure options: ./configure --enable-languages="c,c++,fortran"
Command line triggers the bug: make
Error output:
--- cut here -
[snip]
/usr/local/src/
--- Comment #21 from jvdelisle at gcc dot gnu dot org 2006-04-22 04:48
---
I am able to compile with -g OK. Not sure what I was seeing the other night.
Here is a backtrace where I see a segfault:
(gdb) bt
#0 0x082c1c15 in __atom_module__n_bf ([EMAIL PROTECTED]) at
f95files/atom.F90:
0X8000 - 10 < 0 and 10 - 0X8000 < 0
gcc version 3.3.4 gets a right result of comparing between 10 and 0X8000,
but gcc version 4.1.0 fails.
the test code followed:
#include
int main()
{
int b = 0X8000;
if ((10 - b) < 0)
{
printf("(10 - b) =
The follow code (build script also included) causes segmentation fault.
Problem occurs with g++ 3.4.4 and 3.4.5 on RHEL V4 U2 (x86). Thanks.
// build script ***
g++ -c staticTestMain.C
g++ -Wno-deprecated -c staticTestA.C
g++ -o staticTest staticTestA.o staticTestMain.o
101 - 107 of 107 matches
Mail list logo