[Bug c/33362] New: [4.3 Regression] Bootstrap comparison failure (rev. 128287)

2007-09-09 Thread victork at il dot ibm dot com
Mainline revision 128287.

Configured with:
% ../gcc/configure --enable-languages=c,c++,fortran
bootsrapped with:
% make -j 8

Comparing stages 2 and 3
/home/victork/mainline/build.128287/stage3-gcc
warning: ./cc1plus-checksum.o differs
warning: ./cc1-checksum.o differs
Bootstrap comparison failure!
./cfg.o differs
./cfgloopmanip.o differs
make[2]: *** [compare] Error 1
make[2]: Leaving directory `/home/victork/mainline/build.128287'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/home/victork/mainline/build.128287'
make: *** [all] Error 2


-- 
   Summary: [4.3 Regression] Bootstrap comparison failure (rev.
128287)
   Product: gcc
   Version: 4.3.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: victork at il dot ibm dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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



[Bug c++/33358] Slow calls through simple member function pointers

2007-09-09 Thread dleska at gmail dot com


--- Comment #2 from dleska at gmail dot com  2007-09-09 06:47 ---
(In reply to comment #1)
 VS seems to dispatch to some other function.

Yep - if the function is virtual, VS generates a stub that does the vtable
lookup.  However for non virtual function the call is direct - which is much
faster than what gcc does.

Note that if I replace the first line of my example with 'class SomeClass;' -
gcc and VS generate comparable code. However when the class is defined at the
point of the call and does not use multiple/virtual inheritance, VS generates
significantly faster calls (at least for non-virtual functions).

Is this optimisation not possible in gcc?


-- 


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



[Bug other/33357] collect2: ld terminated with signal 11 [Segmentation fault]

2007-09-09 Thread schwab at suse dot de


--- Comment #3 from schwab at suse dot de  2007-09-09 08:09 ---
Use -B${binutils-bindir}, where ${binutils-bindir} is the directory where the
binutils binaries were installed.  `-BPREFIX'  This option specifies where
to find the executables, libraries,  include files, and data files of the
compiler itself.   The compiler driver program runs one or more of the
subprograms  `cpp', `cc1', `as' and `ld'.  It tries PREFIX as a prefix for
each  program it tries to run, both with and without `MACHINE/VERSION/'
 (*note Target Options::).


-- 


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



[Bug middle-end/33362] [4.3 Regression] Bootstrap comparison failure (rev. 128287)

2007-09-09 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2007-09-09 10:31 ---
There have been chating about this on the IRC channel.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||pinskia at gcc dot gnu dot
   ||org
  Component|c   |middle-end
   Target Milestone|--- |4.3.0


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



Re: [Bug c++/33350] copy constructor error

2007-09-09 Thread Andrew Pinski
 --- Comment #4 from stevenyi at 163 dot com  2007-09-09 05:26 ---
 I can not see any reason to call the copy constructor here. If you remove
 keyword explicit so that let the code compile, you can find that the copy
 constructor is not called at all.

Again the 1998 standard (as written) says that even if the copy
constructor is not called in this case, it needs to be able to be
called implicitly.

I am not making this up.

-- Pinski


[Bug c++/33350] copy constructor error

2007-09-09 Thread pinskia at gcc dot gnu dot org


--- Comment #5 from pinskia at gcc dot gnu dot org  2007-09-09 10:33 ---
Subject: Re:  copy constructor error

 --- Comment #4 from stevenyi at 163 dot com  2007-09-09 05:26 ---
 I can not see any reason to call the copy constructor here. If you remove
 keyword explicit so that let the code compile, you can find that the copy
 constructor is not called at all.

Again the 1998 standard (as written) says that even if the copy
constructor is not called in this case, it needs to be able to be
called implicitly.

I am not making this up.

-- Pinski


-- 


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



Re: [Bug c++/33358] Slow calls through simple member function pointers

2007-09-09 Thread Andrew Pinski
On 9 Sep 2007 06:47:40 -, dleska at gmail dot com
[EMAIL PROTECTED] wrote:
 Is this optimisation not possible in gcc?

Only because the ABI that GCC follows (the IA64 C++ ABI) says
otherwise so we have to follow that.

If you want this optimization, you will need the whole program as even
if there is no inheritence in the current source, there can be in
other places.

-- Pinski


[Bug c++/33358] Slow calls through simple member function pointers

2007-09-09 Thread pinskia at gcc dot gnu dot org


--- Comment #3 from pinskia at gcc dot gnu dot org  2007-09-09 10:37 ---
Subject: Re:  Slow calls through simple member function pointers

On 9 Sep 2007 06:47:40 -, dleska at gmail dot com
[EMAIL PROTECTED] wrote:
 Is this optimisation not possible in gcc?

Only because the ABI that GCC follows (the IA64 C++ ABI) says
otherwise so we have to follow that.

If you want this optimization, you will need the whole program as even
if there is no inheritence in the current source, there can be in
other places.

-- Pinski


-- 


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



[Bug fortran/31310] gfortran is missing -fcase-preserve option

2007-09-09 Thread mralanmorgan at gmail dot com


--- Comment #6 from mralanmorgan at gmail dot com  2007-09-09 11:12 ---
oooh someone's got their panties in a bunch. Sorry that you are so
disillusioned by your own importance or whatever.

My intial point stands... no real point in raising simple bugs if it takes
years to fix. I appreciate what goes on in the background and I wasn't rude,
just making a comment.

A point missed by Steven is, less whining and more bu fixin.

I've fixed it with a binary patch for that project and then switched to a
better compiler for my current projec. So this bug is dead for me.


-- 

mralanmorgan at gmail dot com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX


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



[Bug fortran/33363] New: gfortran is missing -fcase-preserve option

2007-09-09 Thread burnus at gcc dot gnu dot org
Split-off from PR31310.

g77 has a huge number (~20) of case options, cf.
http://gcc.gnu.org/onlinedocs/gcc-3.4.6/g77/Fortran-Dialect-Options.html#index-g_t_002dfintrin_002dcase_002dinitcap-option-237

-fcase-preserve would probably be the most useful option; I don't know how much
needed this option is for old code (cf. PR31310).

Mentioning -fcase-lower in the gfortran manual is a bit odd if this options
does not actually exist.

In gfortran's invoke.texi:
For example, with @option{-funderscoring}, and assuming other defaults like
 @option{-fcase-lower} and that @code{j()} and @code{max_count()} are
 external functions while @code{my_var} and @code{lvar} are local variables,
 a statement like


-- 
   Summary: gfortran is missing -fcase-preserve option
   Product: gcc
   Version: 4.3.0
Status: UNCONFIRMED
  Severity: enhancement
  Priority: P3
 Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org


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



[Bug middle-end/33362] [4.3 Regression] Bootstrap comparison failure (rev. 128287)

2007-09-09 Thread rguenth at gcc dot gnu dot org


--- Comment #2 from rguenth at gcc dot gnu dot org  2007-09-09 12:41 ---
works for me


-- 


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



[Bug tree-optimization/33361] ICE in find_outermost_region_in_block, at tree-cfg.c:4803

2007-09-09 Thread gcc at abeckmann dot de


--- Comment #1 from gcc at abeckmann dot de  2007-09-09 12:51 ---
Created an attachment (id=14177)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14177action=view)
testcase (reduced to be  500k)

Sorry for the delay of the testcase, I had to reduce it from 1.9 MB to 440 KB.
(Is there some helper script that can do this in a more or less brute force
way?
Strip complete namespaces, classes, member functions, ... from the code,
recompile and check for a certain error message? Continue it it's still there
and backtrack otherwise?)

$ /suse/NOBACKUP/gcc/gcc-4.2-branch/bin/g++ -v  -march=i686 -O3 -fopenmp -c
PR33361.ii
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4_2-branch/configure --enable-languages=c,c++
--prefix=/suse/NOBACKUP/gcc/gcc-4.2-branch
Thread model: posix
gcc version 4.2.2 20070908 (prerelease)
 /suse/NOBACKUP/gcc/gcc-4.2-branch/libexec/gcc/i686-pc-linux-gnu/4.2.2/cc1plus
-fpreprocessed PR33361.ii -quiet -dumpbase PR33361.ii -march=i686 -auxbase
PR33361 -O3 -version -fopenmp -o /tmp/ccslyrRU.s
GNU C++ version 4.2.2 20070908 (prerelease) (i686-pc-linux-gnu)
compiled by GNU C version 4.2.2 20070908 (prerelease).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 7993b3af5142d87e347d8f7153b00978
PR33361.ii: In function ‘Op
mcstl::for_each_template_random_access_ed(RandomAccessIterator,
RandomAccessIterator, Op, Fu, Red, Result, Result, typename
std::iterator_traits_Iterator::difference_type) [with RandomAccessIterator =
stxxl::request_ptr*, Op = stxxl::request_ptr, Fu =
mcstl::fill_selectorstxxl::request_ptr*, Red = mcstl::dummy_reduct, Result =
bool]’:
PR33361.ii:3047: internal compiler error: in find_outermost_region_in_block, at
tree-cfg.c:4803


-- 


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



[Bug web/33364] New: reporting bugs + minimizing testcases

2007-09-09 Thread gcc at abeckmann dot de
Hi,

the bugzilla enter-a-new-bug-page
http://gcc.gnu.org/bugzilla/enter_bug.cgi?product=gcc points to
http://gcc.gnu.org/bugzilla/page.cgi?id=bug-writing.html (which is a bit
mozilla centric).

Unfortunately neither page directs the user to the relevant pages for reporting
gcc bugs: http://gcc.gnu.org/bugs.html and
http://gcc.gnu.org/bugs/minimize.html

Furthermore, /bugs.html should have a link to /bugs/minimize.html, too.


/bugs/minimize.html:
The perl/sed/vim commands to strip the preprocessed sources are too greedy as
they remove #pragma commands that remain after preprocessing (e.g. #pragma
omp).
Better match on /^# / or /^# [0-9]/


-- 
   Summary: reporting bugs + minimizing testcases
   Product: gcc
   Version: unknown
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: web
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gcc at abeckmann dot de


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



[Bug c/33362] [4.3 Regression] Bootstrap comparison failure (rev. 128287)

2007-09-09 Thread victork at il dot ibm dot com


--- Comment #3 from victork at il dot ibm dot com  2007-09-09 13:22 ---
Just tried with revision 128297, and bootstrap passed OK.
Shell I close this PR?


-- 

victork at il dot ibm dot com changed:

   What|Removed |Added

  Component|middle-end  |c


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



[Bug c/33362] [4.3 Regression] Bootstrap comparison failure (rev. 128287)

2007-09-09 Thread victork at il dot ibm dot com


--- Comment #5 from victork at il dot ibm dot com  2007-09-09 13:33 ---
As bootstrap passes in revision 128297, I change the status to FIXED.


-- 

victork at il dot ibm dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


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



[Bug c/33362] [4.3 Regression] Bootstrap comparison failure (rev. 128287)

2007-09-09 Thread hp at gcc dot gnu dot org


--- Comment #4 from hp at gcc dot gnu dot org  2007-09-09 13:27 ---
 Shell I close this PR?
Yes, please.


-- 


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



[Bug tree-optimization/33361] ICE in find_outermost_region_in_block, at tree-cfg.c:4803

2007-09-09 Thread rguenth at gcc dot gnu dot org


--- Comment #2 from rguenth at gcc dot gnu dot org  2007-09-09 13:37 ---
Reducing.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||rguenth at gcc dot gnu dot
   ||org


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



[Bug tree-optimization/33361] ICE in find_outermost_region_in_block, at tree-cfg.c:4803

2007-09-09 Thread rguenth at gcc dot gnu dot org


--- Comment #3 from rguenth at gcc dot gnu dot org  2007-09-09 13:41 ---
There are

http://gcc.gnu.org/wiki/HowToPrepareATestcase
http://gcc.gnu.org/wiki/A_guide_to_testcase_reduction


-- 


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



[Bug web/33364] reporting bugs + minimizing testcases

2007-09-09 Thread rguenth at gcc dot gnu dot org


--- Comment #1 from rguenth at gcc dot gnu dot org  2007-09-09 13:36 ---
Confirmed.  Danny, can you adjust the bug-writing url to the gcc specific one?


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||dberlin at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2007-09-09 13:36:13
   date||


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



[Bug web/33364] reporting bugs + minimizing testcases

2007-09-09 Thread gcc at abeckmann dot de


--- Comment #2 from gcc at abeckmann dot de  2007-09-09 13:49 ---
Another URL valuable for minimize.html:
http://gcc.gnu.org/wiki/A_guide_to_testcase_reduction


-- 


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



[Bug testsuite/33365] New: GCC test 20000804-1.c with -O0

2007-09-09 Thread Vladislav dot Mikhailikov at paradox-neo dot uz
gcc-4.2.2-20070907/gcc/testsuite/gcc.c-torture/compile/2804-1.c: In
function 'f':
gcc-4.2.2-20070907/gcc/testsuite/gcc.c-torture/compile/2804-1.c:15: error:
'asm' operand requires impossible reload
gcc-4.2.2-20070907/gcc/testsuite/gcc.c-torture/compile/2804-1.c:15: error:
'asm' operand requires impossible reload

The preprocessed source is:
---
# 1 gcc-4.2.2-20070907/gcc/testsuite/gcc.c-torture/compile/2804-1.c
# 1 built-in
# 1 command-line
# 1 gcc-4.2.2-20070907/gcc/testsuite/gcc.c-torture/compile/2804-1.c
# 9 gcc-4.2.2-20070907/gcc/testsuite/gcc.c-torture/compile/2804-1.c
__complex__ long long f ()
{
  int i[99];
  __complex__ long long v;

  v += f ();
  asm(: +r (v) : r (0), r (1));
  v = 2;
  return v;
  g (v);
}


-- 
   Summary: GCC test 2804-1.c with -O0
   Product: gcc
   Version: 4.2.2
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: Vladislav dot Mikhailikov at paradox-neo dot uz
 GCC build triplet: pentium4-east-linux-gcc
  GCC host triplet: pentium4-east-linux-gcc
GCC target triplet: pentium4-east-linux-gcc


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



[Bug testsuite/33366] New: 20050316-2.c execution failure with -O0, -O1 and -O2

2007-09-09 Thread Vladislav dot Mikhailikov at paradox-neo dot uz
FAIL: gcc.c-torture/execute/20050316-2.c execution,  -O0
FAIL: gcc.c-torture/execute/20050316-2.c execution,  -O1
FAIL: gcc.c-torture/execute/20050316-2.c execution,  -O2

The preprocessed source is:

# 1 gcc-4.2.2-20070907/gcc/testsuite/gcc.c-torture/execute/20050316-2.c
# 1 built-in
# 1 command-line
# 1 gcc-4.2.2-20070907/gcc/testsuite/gcc.c-torture/execute/20050316-2.c
extern void abort (void);

typedef int V2SI __attribute__ ((vector_size (8)));
typedef unsigned int V2USI __attribute__ ((vector_size (8)));
typedef float V2SF __attribute__ ((vector_size (8)));
typedef short V2HI __attribute__ ((vector_size (4)));
typedef unsigned int V2UHI __attribute__ ((vector_size (4)));

long long
test1 (V2SF x)
{
  return (long long) (V2SI) x;
}

long long
test2 (V2SF x)
{
  return (long long) x;
}

long long
test3 (V2SI x)
{
  return (long long) (V2SF) x;
}

int
main (void)
{
  if (sizeof (short) != 2 || sizeof (int) != 4 || sizeof (long long) != 8)
return 0;

  V2SF x = { 2.0, 2.0 };
  union { long long l; float f[2]; int i[2]; } u;
  u.l = test1 (x);
  if (u.f[0] != 2.0 || u.f[1] != 2.0)
abort ();

  V2SF y = { 6.0, 6.0 };
  u.l = test2 (y);
  if (u.f[0] != 6.0 || u.f[1] != 6.0)
abort ();

  V2SI z = { 4, 4 };
  u.l = test3 (z);
  if (u.i[0] != 4 || u.i[1] != 4)
abort ();
  return 0;
}


-- 
   Summary: 20050316-2.c execution failure with -O0, -O1 and -O2
   Product: gcc
   Version: 4.2.2
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: Vladislav dot Mikhailikov at paradox-neo dot uz
 GCC build triplet: pentium4-east-linux-gcc
  GCC host triplet: pentium4-east-linux-gcc
GCC target triplet: pentium4-east-linux-gcc


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



[Bug testsuite/33367] New: A few tests fail

2007-09-09 Thread Vladislav dot Mikhailikov at paradox-neo dot uz
FAIL: gcc.target/i386/ssefn-1.c scan-assembler-not movsd
FAIL: gcc.target/i386/ssefn-1.c scan-assembler-not mulsd
FAIL: gcc.dg/tree-ssa/gen-vect-11b.c scan-tree-dump-times vectorized 0 loops 1
FAIL: gcc.dg/tree-ssa/gen-vect-11c.c scan-tree-dump-times vectorized 0 loops 1
FAIL: gcc.dg/builtin-apply4.c execution test
FAIL: gcc.dg/compat/vector-2 c_compat_x_tst.o-c_compat_y_tst.o execute

if you need preprocessed sources - let me know.


-- 
   Summary: A few tests fail
   Product: gcc
   Version: 4.2.2
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: Vladislav dot Mikhailikov at paradox-neo dot uz
 GCC build triplet: pentium4-east-linux-gcc
  GCC host triplet: pentium4-east-linux-gcc
GCC target triplet: pentium4-east-linux-gcc


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



[Bug tree-optimization/33361] ICE in find_outermost_region_in_block, at tree-cfg.c:4803

2007-09-09 Thread rguenth at gcc dot gnu dot org


--- Comment #4 from rguenth at gcc dot gnu dot org  2007-09-09 14:24 ---
Created an attachment (id=14178)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14178action=view)
reduced testcase


-- 


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



[Bug tree-optimization/33361] ICE in find_outermost_region_in_block, at tree-cfg.c:4803

2007-09-09 Thread rguenth at gcc dot gnu dot org


--- Comment #5 from rguenth at gcc dot gnu dot org  2007-09-09 14:24 ---
Confirmed.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||dnovillo at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Keywords||ice-on-valid-code
   Last reconfirmed|-00-00 00:00:00 |2007-09-09 14:24:50
   date||


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



[Bug testsuite/33367] A few tests fail

2007-09-09 Thread Vladislav dot Mikhailikov at paradox-neo dot uz


--- Comment #1 from Vladislav dot Mikhailikov at paradox-neo dot uz  
2007-09-09 14:10 ---
So, far gcc-4.2,2 is fine with GCC suite test results like:

# of expected passes4
# of unexpected failures10
# of expected failures  116
# of unresolved testcases   1
# of untested testcases 28
# of unsupported tests  293


-- 


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



[Bug bootstrap/33368] New: [4.3 regression] bootstrap comparision failure with --enable-targets=all

2007-09-09 Thread debian-gcc at lists dot debian dot org
seen with r128190 on the trunk, works with r128189;

configure with: --enable-languages=c --enable-targets=all i486-linux-gnu
build with: make BOOT_CFLAGS=-O2 CFLAGS=-g -O2

make[3]: Leaving directory `/scratch/packages/gcc/svn/build-tst'
Comparing stages 2 and 3
warning: ./cc1-checksum.o differs
Bootstrap comparison failure!
./cfgloopmanip.o differs
make[2]: *** [compare] Error 1

Setting BOOT_CFLAGS=-g -O2 lets the bootstrap succeed.

  Matthias


-- 
   Summary: [4.3 regression] bootstrap comparision failure with --
enable-targets=all
   Product: gcc
   Version: 4.3.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: debian-gcc at lists dot debian dot org
GCC target triplet: i486-linux-gnu


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



[Bug bootstrap/33368] [4.3 regression] bootstrap comparision failure with --enable-targets=all

2007-09-09 Thread rguenth at gcc dot gnu dot org


--- Comment #1 from rguenth at gcc dot gnu dot org  2007-09-09 15:39 ---
This is a latent problem that comes and goes.


-- 


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



[Bug rtl-optimization/33353] Vector RTL arithmetic operations with constant arguments are not fully folded.

2007-09-09 Thread bonzini at gnu dot org


-- 

bonzini at gnu dot org changed:

   What|Removed |Added

   Severity|normal  |enhancement
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2007-09-09 17:41:42
   date||


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



Unable to compile a simple C program... Please Help!

2007-09-09 Thread Subhankar
I have pasted the source file and the error log below
that contains the error message displayed when I
invoke 'gcc' to compile this file.

sample.c: (source file)

#include stdio.h
void main()
{
printf(Hello World!\n);
}

error log:

Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang
--prefix=/usr --enable-shared --with-system-zlib
--libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --enable-nls
--program-suffix=-4.1 --enable-__cxa_atexit
--enable-clocale=gnu --enable-libstdcxx-debug
--enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
 /usr/lib/gcc/i486-linux-gnu/4.1.2/cc1 -E -quiet -v
sample.c -mtune=generic -fpch-preprocess -o sample.i
ignoring nonexistent directory
/usr/local/include/i486-linux-gnu
ignoring nonexistent directory
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../i486-linux-gnu/include
ignoring nonexistent directory
/usr/include/i486-linux-gnu
#include ... search starts here:
#include ... search starts here:
 /usr/local/include
 /usr/lib/gcc/i486-linux-gnu/4.1.2/include
 /usr/include
End of search list.
sample.c:1:19: error: stdio.h: No such file or
directory

P.s. I'm a newbie to linux and as such i might not
understand the technical jargons used by you experts.
Please get down to earth to help me out. I'm falling
in love with linux but do not want to disappoint
myself with such troubles.


  Get the freedom to save as many mails as you wish. To know how, go to 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html


[Bug libgcj/33326] libjava - testsuite fails on intel Macintosh

2007-09-09 Thread andreast at gcc dot gnu dot org


--- Comment #3 from andreast at gcc dot gnu dot org  2007-09-09 18:40 
---
Subject: Bug 33326

Author: andreast
Date: Sun Sep  9 18:40:36 2007
New Revision: 128302

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=128302
Log:
2007-09-09  Andreas Tobler  [EMAIL PROTECTED]

PR libgcj/33326
* testsuite/lib/libjava.exp (libjava_arguments): Append the test spec
only for linux targets.

Modified:
trunk/libjava/ChangeLog
trunk/libjava/testsuite/lib/libjava.exp


-- 


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



[Bug libgcj/33326] libjava - testsuite fails on intel Macintosh

2007-09-09 Thread andreast at gcc dot gnu dot org


--- Comment #4 from andreast at gcc dot gnu dot org  2007-09-09 18:43 
---
Checked in the mentioned patch. Fixed.


-- 

andreast at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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



Another BOOTSTRAP failure on sparc-sun-solaris2.10, stage2 miscompiled

2007-09-09 Thread Kaveh R. GHAZI
Rats, I'm getting another bootstap failure on sparc-sun-solaris2.10.
This time it happens in stage2 building libgcc.  What happens is that
when it runs configure for stage2 libgcc, I get:

checking for suffix of object files...
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.

whereupon in config.log I see:

configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME GNU C Runtime Library
| #define PACKAGE_TARNAME libgcc
| #define PACKAGE_VERSION 1.0
| #define PACKAGE_STRING GNU C Runtime Library 1.0
| #define PACKAGE_BUGREPORT 
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }


The stage2 gcc cannot compile this simple program.  The stage1
compiler can, so looks like stage2 was miscompiled.  Running it under
gdb doesn't yield any useful info.

This is fairly recent as I got a successful testresult here:
http://gcc.gnu.org/ml/gcc-testresults/2007-09/msg00402.html

The top of the gcc/ChangeLog from the working checkout was:

2007-09-07  Sterling Augustine  [EMAIL PROTECTED]

* config/xtensa/lib2funcs.S (__xtensa_sync_caches): Use an ISYNC even
if there is no i-cache.


Is anyone else having a similar problem?

Thanks,
--Kaveh
--
Kaveh R. Ghazi  [EMAIL PROTECTED]


Re: Another BOOTSTRAP failure on sparc-sun-solaris2.10, stage2 miscompiled

2007-09-09 Thread David Edelsohn
 Kaveh R GHAZI writes:

Kaveh Rats, I'm getting another bootstap failure on sparc-sun-solaris2.10.
Kaveh This time it happens in stage2 building libgcc.  What happens is that
Kaveh when it runs configure for stage2 libgcc, I get:

Kaveh checking for suffix of object files...
Kaveh configure: error: cannot compute suffix of object files: cannot compile
Kaveh See `config.log' for more details.

Kaveh whereupon in config.log I see:

Kaveh configure: failed program was:
Kaveh | /* confdefs.h.  */
Kaveh |
Kaveh | #define PACKAGE_NAME GNU C Runtime Library
Kaveh | #define PACKAGE_TARNAME libgcc
Kaveh | #define PACKAGE_VERSION 1.0
Kaveh | #define PACKAGE_STRING GNU C Runtime Library 1.0
Kaveh | #define PACKAGE_BUGREPORT 
Kaveh | /* end confdefs.h.  */
Kaveh |
Kaveh | int
Kaveh | main ()
Kaveh | {
Kaveh |
Kaveh |   ;
Kaveh |   return 0;
Kaveh | }


Kaveh The stage2 gcc cannot compile this simple program.  The stage1
Kaveh compiler can, so looks like stage2 was miscompiled.  Running it under
Kaveh gdb doesn't yield any useful info.

I am seeing the same failure on AIX.  The SEGV on AIX is in
postreload.c and if I recompile that file without optimization, the config
test succeeds.

David



Re: Another BOOTSTRAP failure on sparc-sun-solaris2.10, stage2 miscompiled

2007-09-09 Thread Kaveh R. GHAZI
On Sun, 9 Sep 2007, David Edelsohn wrote:

 Kaveh The stage2 gcc cannot compile this simple program.  The stage1
 Kaveh compiler can, so looks like stage2 was miscompiled.  Running it under
 Kaveh gdb doesn't yield any useful info.

   I am seeing the same failure on AIX.  The SEGV on AIX is in
 postreload.c and if I recompile that file without optimization, the config
 test succeeds.
 David

Ditto.

Program received signal SIGSEGV, Segmentation fault.
0x002cf780 in reload_combine_note_store (dst=0xff0b90e0, set=value
optimized out, data=0x0)
at ../../egcc-SVN20070909/gcc/postreload.c:1018
1018  reg_state[i].store_ruid = reload_combine_ruid;
(gdb)


Any luck figuring out which patch broke it?

--Kaveh
--
Kaveh R. Ghazi  [EMAIL PROTECTED]


[Bug target/30315] optimize unsigned-add overflow test on x86 to use cpu flags from addl

2007-09-09 Thread rask at gcc dot gnu dot org


--- Comment #15 from rask at gcc dot gnu dot org  2007-09-09 19:22 ---
Subject: Bug 30315

Author: rask
Date: Sun Sep  9 19:21:59 2007
New Revision: 128305

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=128305
Log:
PR target/30315
* config/i386/i386.h (CANONICALIZE_COMPARISON): Delete.
* simplify-rtx.c (simplify_relational_operation_1): Add the
canonicalization from i386.h.
* doc/md.texi (Canonicalization of Instructions): Document it.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.h
trunk/gcc/doc/md.texi
trunk/gcc/simplify-rtx.c


-- 


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



[Bug c/33369] New: bad sse assembler emitted

2007-09-09 Thread marcus at jet dot franken dot de
/home/marcus/projects/gcc/BIN/bin/gcc -m32 -c -O2 -ftree-vectorize -msse3  
painting.i 
/tmp/ccXpPr3E.s: Assembler messages:
/tmp/ccXpPr3E.s:17: Error: missing or invalid immediate expression
`0x4000400040004' taken as 0
/tmp/ccXpPr3E.s:17: Error: suffix or operands invalid for `pslld'


-- 
   Summary: bad sse assembler emitted
   Product: gcc
   Version: 4.3.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: marcus at jet dot franken dot de
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: i586-unknown-linux-gnu


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



[Bug c/33369] bad sse assembler emitted

2007-09-09 Thread marcus at jet dot franken dot de


--- Comment #1 from marcus at jet dot franken dot de  2007-09-09 19:25 
---
Created an attachment (id=14179)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14179action=view)
painting.i

testcase


-- 


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



[Bug rtl-optimization/33346] [4.3 Regression] g++.old-deja/g++.eh/ia64-1.C ICEs at -O1 on spu-elf

2007-09-09 Thread dave at hiauly1 dot hia dot nrc dot ca


--- Comment #4 from dave at hiauly1 dot hia dot nrc dot ca  2007-09-09 
19:27 ---
Subject: Re:  [4.3 Regression] g++.old-deja/g++.eh/ia64-1.C ICEs at -O1 on
spu-elf

 Please try after r128284.  See also story about this test-case for cris-elf at
 http://gcc.gnu.org/ml/gcc-patches/2007-09/msg00732.html.

I'd hoped this would fix the miscompilation of stage2 that I have
been seeing since yesterday but it does not.  I see the
same failure has been reported on solaris and aix.

checking for suffix of object files... configure: error: cannot compute suffix
o
f object files: cannot compile

Dave


-- 


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



[Bug fortran/33370] New: Passing structure component arrays as actual arguments

2007-09-09 Thread tkoenig at gcc dot gnu dot org
... doesn't work:

$ cat foo.f90
program main
  type foo
 integer :: i
 character(len=2) :: c
  end type foo
  type(foo), dimension(4) :: a
  a%i = (/ 12, 2, 3, 10 /)
  a%c = 'xy'
  print *,maxval(a%i)
  print *,maxloc(a%i)
  call bar(a%i)
contains
  subroutine bar(b)
integer, dimension(:) :: b
print *,b
  end subroutine bar
end program main
$ gfortran foo.f90
$ ./a.out
  68
   3
  12   3  68   0


-- 
   Summary: Passing structure component arrays as actual arguments
   Product: gcc
   Version: 4.3.0
Status: UNCONFIRMED
  Keywords: wrong-code
  Severity: normal
  Priority: P3
 Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tkoenig at gcc dot gnu dot org
OtherBugsDependingO 32834
 nThis:


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



Re: Another BOOTSTRAP failure on sparc-sun-solaris2.10, stage2 miscompiled

2007-09-09 Thread David Edelsohn
 Kaveh R GHAZI writes:

Kaveh Program received signal SIGSEGV, Segmentation fault.
Kaveh 0x002cf780 in reload_combine_note_store (dst=0xff0b90e0, set=value
Kaveh optimized out, data=0x0)
Kaveh at ../../egcc-SVN20070909/gcc/postreload.c:1018
Kaveh 1018  reg_state[i].store_ruid = reload_combine_ruid;
Kaveh (gdb)

   That is the exact same failure and line for AIX.  Apparently all
Big Endian targets are affected.

Kaveh Any luck figuring out which patch broke it?

Not yet.

Candidates include:

r128239 (honza's simple dce/addressing passes) and then r128272 (the
iv-opt patch), and Richi's sccvn patch.

David




[Bug fortran/33370] Passing structure component arrays as actual arguments

2007-09-09 Thread tkoenig at gcc dot gnu dot org


-- 

tkoenig at gcc dot gnu dot org changed:

   What|Removed |Added

   Severity|normal  |critical


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



[Bug fortran/33370] Structure component arrays

2007-09-09 Thread tkoenig at gcc dot gnu dot org


--- Comment #1 from tkoenig at gcc dot gnu dot org  2007-09-09 20:03 ---
Reduced testcase due to Paul Thomas:

$ cat  goo.f90
program main
  type foo
integer :: i
 character(len=3) :: c
  end type foo
  type(foo), dimension(4), target :: a
  a%i = (/ 12, 2, 3, 10 /)
  print *, a%i
end program main
$ gfortran goo.f90 
$ ./a.out
  12   3  68   0

Confirmed.


-- 

tkoenig at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2007-09-09 20:03:43
   date||
Summary|Passing structure component |Structure component arrays
   |arrays as actual arguments  |


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



[Bug libgomp/33371] New: gcc: libgomp.spec: No such file or directory

2007-09-09 Thread danglin at gcc dot gnu dot org
gcc -fopenmp -O2 -s -o .libs/msgmerge msgmerge-msgmerge.o
msgmerge-msgl-fsearch.
o msgmerge-plural-count.o -fopenmp  ./.libs/libgettextsrc.sl
/xxx/gnu/gettext-0.
16.1/objdir/gettext-tools/gnulib-lib/.libs/libgettextlib.sl
/xxx/gnu/gettext-0.1
6.1/objdir/gettext-tools/intl/.libs/libintl.sl -lc -lm -Wl,+b
-Wl,/xxx/gnu/gette
xt-0.16.1/objdir/gettext-tools/src/.libs:/xxx/gnu/gettext-0.16.1/objdir/gettext-
tools/gnulib-lib/.libs:/xxx/gnu/gettext-0.16.1/objdir/gettext-tools/intl/.libs:/
opt/gnu/lib
gcc: libgomp.spec: No such file or directory


-- 
   Summary: gcc: libgomp.spec: No such file or directory
   Product: gcc
   Version: 4.2.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: libgomp
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa2.0w-hp-hpux11.11
  GCC host triplet: hppa2.0w-hp-hpux11.11
GCC target triplet: hppa2.0w-hp-hpux11.11


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



[Bug java/31842] [4.2/4.3 Regression] r124338 causes java Divide_1 and pr6388 to fail

2007-09-09 Thread rguenth at gcc dot gnu dot org


--- Comment #8 from rguenth at gcc dot gnu dot org  2007-09-09 20:13 ---
Subject: Bug 31842

Author: rguenth
Date: Sun Sep  9 20:12:56 2007
New Revision: 128306

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=128306
Log:
2007-09-09  Richard Guenther  [EMAIL PROTECTED]

Backport from mainline:
2007-05-07  Ian Lance Taylor  [EMAIL PROTECTED]

PR java/31842
* java/lang/natString.cc (_Jv_FormatInt): Avoid undefined signed
overflow.

Modified:
branches/gcc-4_1-branch/libjava/ChangeLog
branches/gcc-4_1-branch/libjava/java/lang/natString.cc


-- 


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



[Bug libgomp/33371] gcc: libgomp.spec: No such file or directory

2007-09-09 Thread dave at hiauly1 dot hia dot nrc dot ca


--- Comment #1 from dave at hiauly1 dot hia dot nrc dot ca  2007-09-09 
20:26 ---
Subject: Re:   New: gcc: libgomp.spec: No such file or directory

 gcc: libgomp.spec: No such file or directory

It appears libgomp didn't get installed although it builds and
there are no fails in the testsuite.  Will check 4.2.1.

Dave


-- 


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



[Bug c/33111] Bad code generation with -O2 (ARM 7 architecture)

2007-09-09 Thread gressau at optusnet dot com dot au


--- Comment #6 from gressau at optusnet dot com dot au  2007-09-09 20:44 
---
Created an attachment (id=14180)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14180action=view)
Test of optimized comparison (-O2)

Comparison of four consecutive bytes gets optimized (-O2) as comparison of a
word. The word address produced does not have the last two bits zero and the
ARM7 processor either ignores them (LPC2000) or data aborts (SAM7).


-- 

gressau at optusnet dot com dot au changed:

   What|Removed |Added

  Attachment #14077|0   |1
is obsolete||
  Attachment #14078|0   |1
is obsolete||
  Attachment #14079|0   |1
is obsolete||


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



[Bug c/33111] Bad code generation with -O2 (ARM 7 architecture)

2007-09-09 Thread rask at gcc dot gnu dot org


--- Comment #7 from rask at gcc dot gnu dot org  2007-09-09 21:08 ---
Did you read comment #1?
Does -fno-strict-aliasing magically fix your code?


-- 


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



[Bug target/32097] m32c: ICE in expand_builtin_apply, at builtins.c:1525 building libobjc

2007-09-09 Thread rask at gcc dot gnu dot org


--- Comment #2 from rask at gcc dot gnu dot org  2007-09-09 21:17 ---
This still happens with revision 128297.


-- 

rask at gcc dot gnu dot org changed:

   What|Removed |Added

   GCC host triplet|i386-unknown-netbsdelf2.0.2 |
Summary|ICE in expand_builtin_apply,|m32c: ICE in
   |at builtins.c:1525 building |expand_builtin_apply, at
   |libobjc |builtins.c:1525 building
   ||libobjc


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



Re: Another BOOTSTRAP failure on sparc-sun-solaris2.10, stage2 miscompiled

2007-09-09 Thread David Edelsohn
I succeed past this failure if I revert Zdenek's iv-opts patch
(r128272).

David



[Bug target/11180] [avr-gcc] Optimization decrease performance of struct assignment.

2007-09-09 Thread dmixm at marine dot febras dot ru


--- Comment #12 from dmixm at marine dot febras dot ru  2007-09-09 21:59 
---
Andy Hutchinson wrote (comment #6) that addition a 'movdi' instruction improves
the result. I have try to add a very simple 'movdi' (which split into 2 SImode
instuctions). In result:
   -O0  -- 85 words,
   -O1,2,3,s  --  50 words.
Version is 4.2.1


-- 


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



[Bug c/33111] Bad code generation with -O2 (ARM 7 architecture)

2007-09-09 Thread gressau at optusnet dot com dot au


--- Comment #8 from gressau at optusnet dot com dot au  2007-09-09 22:23 
---
Subject: RE:  Bad code generation with -O2 (ARM 7 architecture)

The -fno-strict-aliasing does not fix the unaligned access.

-Original Message-
From: rask at gcc dot gnu dot org [mailto:[EMAIL PROTECTED] 
Sent: Monday, 10 September 2007 07:08
To: [EMAIL PROTECTED]
Subject: [Bug c/33111] Bad code generation with -O2 (ARM 7 architecture)



--- Comment #7 from rask at gcc dot gnu dot org  2007-09-09 21:08
---
Did you read comment #1?
Does -fno-strict-aliasing magically fix your code?


-- 


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



[Bug target/33359] [4.3 Regression] libgcc is miscompiled on SH

2007-09-09 Thread kkojima at gcc dot gnu dot org


--- Comment #1 from kkojima at gcc dot gnu dot org  2007-09-09 22:37 ---
Fixed with r128284 which reverts r128224.


-- 

kkojima at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


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



[Bug c++/33324] [4.3 Regression] ICE on new array of objects with virtual destructors.

2007-09-09 Thread daney at gcc dot gnu dot org


--- Comment #4 from daney at gcc dot gnu dot org  2007-09-09 23:31 ---
Subject: Bug 33324

Author: daney
Date: Sun Sep  9 23:31:35 2007
New Revision: 128312

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=128312
Log:
PR c++/33324
* init.c (build_new_1):  Use POINTER_PLUS_EXPR instead of MINUS_EXPR
to calculate cookie_ptr.

Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/init.c


-- 


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



[Bug c++/33324] [4.3 Regression] ICE on new array of objects with virtual destructors.

2007-09-09 Thread daney at gcc dot gnu dot org


--- Comment #5 from daney at gcc dot gnu dot org  2007-09-09 23:33 ---
Now fixed by the patch.


-- 

daney at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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



Re: Another BOOTSTRAP failure on sparc-sun-solaris2.10, stage2 miscompiled

2007-09-09 Thread John David Anglin
 I succeed past this failure if I revert Zdenek's iv-opts patch
(r128272).

Same here.  The failure also occurs on all hppa targets.

Dave
-- 
J. David Anglin  [EMAIL PROTECTED]
National Research Council of Canada  (613) 990-0752 (FAX: 952-6602)


[Bug c++/33372] New: segfault on incomplete code in openmp mode

2007-09-09 Thread gcc at abeckmann dot de
Playing with the code reduction tools, i produced a segfault with the following
(incomplete) code:

===
template  typename T 
void f ( )
{
unsigned n ( ) ;
#pragma omp parallel num_threads(n)
===

$ /suse/NOBACKUP/gcc/gcc-4.2-branch/bin/g++ -v -march=i686 -O3 -fopenmp  -W
-Wall -c segfault2.ii
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4_2-branch/configure --enable-languages=c,c++
--prefix=/suse/NOBACKUP/gcc/gcc-4.2-branch
Thread model: posix
gcc version 4.2.2 20070910 (prerelease)
 /suse/NOBACKUP/gcc/gcc-4.2-branch/libexec/gcc/i686-pc-linux-gnu/4.2.2/cc1plus
-fpreprocessed segfault2.ii -quiet -dumpbase segfault2.ii -march=i686 -auxbase
segfault2 -O3 -W -Wall -version -fopenmp -o /tmp/ccUQF7PA.s
GNU C++ version 4.2.2 20070910 (prerelease) (i686-pc-linux-gnu)
compiled by GNU C version 4.2.2 20070908 (prerelease).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 4c766e638e42be49e7fc1a3400590598
segfault2.ii: In function ‘void f()’:
segfault2.ii:5: internal compiler error: Segmentation fault

without -fopenmp, I get

segfault2.ii:5: warning: ignoring #pragma omp parallel
segfault2.ii:4: error: expected `}' at end of input


-- 
   Summary: segfault on incomplete code in openmp mode
   Product: gcc
   Version: 4.2.2
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gcc at abeckmann dot de
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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



[Bug c++/33324] [4.3 Regression] ICE on new array of objects with virtual destructors.

2007-09-09 Thread patchapp at dberlin dot org


--- Comment #6 from patchapp at dberlin dot org  2007-09-10 02:40 ---
Subject: Bug number PR 33324

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-09/msg00704.html


-- 


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



[Bug fortran/29396] segfault with character pointer association

2007-09-09 Thread patchapp at dberlin dot org


--- Comment #7 from patchapp at dberlin dot org  2007-09-10 02:42 ---
Subject: Bug number PR29396

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-09/msg00779.html


-- 


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



[Bug other/32154] sim-crt0.o/crt0.o isn't found during configure due to missing -L or -B

2007-09-09 Thread patchapp at dberlin dot org


--- Comment #11 from patchapp at dberlin dot org  2007-09-10 02:43 ---
Subject: Bug number PR 32154

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-09/msg00815.html


-- 


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



[Bug middle-end/33351] [4.3 Regression] segfault in assembler function

2007-09-09 Thread lauras at gcc dot gnu dot org


-- 

lauras at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|WAITING


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



[Bug rtl-optimization/33346] [4.3 Regression] g++.old-deja/g++.eh/ia64-1.C ICEs at -O1 on spu-elf

2007-09-09 Thread lauras at gcc dot gnu dot org


-- 

lauras at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|lauras at gcc dot gnu dot   |unassigned at gcc dot gnu
   |org |dot org
 Status|ASSIGNED|NEW


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



[Bug c++/33350] copy constructor error

2007-09-09 Thread fang at csl dot cornell dot edu


--- Comment #6 from fang at csl dot cornell dot edu  2007-09-10 04:04 
---
Are you referring to DR 152?

http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#152


-- 

fang at csl dot cornell dot edu changed:

   What|Removed |Added

 CC||fang at csl dot cornell dot
   ||edu


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



[Bug target/33369] [4.3 Regression] suffix or operands invalid for `pslld'

2007-09-09 Thread ubizjak at gmail dot com


--- Comment #2 from ubizjak at gmail dot com  2007-09-10 05:35 ---
Confirmed.


-- 

ubizjak at gmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
  Component|c   |target
 Ever Confirmed|0   |1
   GCC host triplet|x86_64-unknown-linux-gnu|i686-*-*, x86_64-*-*
 GCC target triplet|i586-unknown-linux-gnu  |i686-*-*, x86_64-*-*
   Last reconfirmed|-00-00 00:00:00 |2007-09-10 05:35:48
   date||
Summary|bad sse assembler emitted   |[4.3 Regression] suffix or
   ||operands invalid for `pslld'


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



[Bug c/33373] New: ICE in vectorizable_type_demotion, at tree-vect-transform.c:4098

2007-09-09 Thread marcus at jet dot franken dot de
current SVN:

/home/marcus/projects/gcc/BIN/bin/gcc -m32 -c -O3 -ftree-vectorize -msse3  
dosmem.i 
dosmem.i: In function 'DOSMEM_FillIsrTable':
dosmem.i:1: internal compiler error: in vectorizable_type_demotion, at
tree-vect-transform.c:4098
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.


-- 
   Summary: ICE in vectorizable_type_demotion, at tree-vect-
transform.c:4098
   Product: gcc
   Version: 4.3.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: marcus at jet dot franken dot de
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: i586-unknown-linux-gnu


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



[Bug c/33373] ICE in vectorizable_type_demotion, at tree-vect-transform.c:4098

2007-09-09 Thread marcus at jet dot franken dot de


--- Comment #1 from marcus at jet dot franken dot de  2007-09-10 05:41 
---
Created an attachment (id=14181)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14181action=view)
dosmem.i


-- 


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



[Bug middle-end/33351] [4.3 Regression] segfault in assembler function

2007-09-09 Thread marcus at jet dot franken dot de


--- Comment #7 from marcus at jet dot franken dot de  2007-09-10 05:50 
---
with current SVN (r128305) it is build again.


-- 


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