[Bug c++/34619] [4.3 regression] ICE with "-fmudflap" and templates

2007-12-29 Thread reichelt at gcc dot gnu dot org
--- Comment #1 from reichelt at gcc dot gnu dot org 2007-12-30 00:46 --- Oops. The bug only affects mainline. Sorry for the confusion. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/34562] [4.3 Regression] FAIL: g++.dg/other/first-global.C scan-assembler _GLOBAL__I_foobar

2007-12-29 Thread danglin at gcc dot gnu dot org
--- Comment #2 from danglin at gcc dot gnu dot org 2007-12-30 00:44 --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2007-12/msg01167.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34562

[Bug libgomp/31510] FAIL: libgomp.fortran/threadprivate[23].f90 -O3 -g

2007-12-29 Thread danglin at gcc dot gnu dot org
--- Comment #4 from danglin at gcc dot gnu dot org 2007-12-30 00:43 --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2007-12/msg01166.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31510

[Bug c++/34619] New: ICE with "-fmudflap" and templates

2007-12-29 Thread reichelt at gcc dot gnu dot org
The following testcase triggers an ICE when compiled with "-fmudflap -O": == template struct A { typedef int X; static const int N = 1; }; template struct B { typedef typename A::N]>::X Y; template B(Y, U) {} }; B b(0, 0); =

[Bug tree-optimization/34618] [4.3 regression] ICE with -fmudflap and vectorization

2007-12-29 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34618

[Bug tree-optimization/34618] New: [4.3 regression] ICE with -fmudflap and vectorization

2007-12-29 Thread reichelt at gcc dot gnu dot org
The following testcase crashes the mainline compiler when compiled with "-msse2 -fmudflap -ftree-vectorize -O3" on i686-pc-linux-gnu: int a[16]; void foo() { int i; for (i = 0; i < 16; i++) a[i] = i; } bug7.c: In f

[Bug middle-end/34617] New: ICE with "-fmudflap -fprofile-arcs"

2007-12-29 Thread reichelt at gcc dot gnu dot org
The following trivial testcase crashes the compiler when using the options "-fmudflap -fprofile-arcs": == void foo() {} == With the C++ frontend I get the following error: g++: Internal error: Segmentation fault (program cc1plus) Please submit a full bug report. S

[Bug tree-optimization/31081] [4.3 Regression] Inliner messes up SSA for abnormals

2007-12-29 Thread hubicka at gcc dot gnu dot org
--- Comment #15 from hubicka at gcc dot gnu dot org 2007-12-29 22:31 --- Well, I would personally not worry that much about pesimization. The current behaviour of increasing register pressure is worse. We definitly can insert the initialization to common dominator of all uses of the i

[Bug target/34571] [4.3 Regression] Segfault in alpha_expand_mov at -O3

2007-12-29 Thread tbm at cyrius dot com
--- Comment #5 from tbm at cyrius dot com 2007-12-29 21:19 --- Your patch works and there are no regressions. Can you please submit it? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34571

[Bug fortran/34616] CBLAS_ICAMAX test from cblas fails

2007-12-29 Thread jvdelisle at gcc dot gnu dot org
--- Comment #4 from jvdelisle at gcc dot gnu dot org 2007-12-29 20:09 --- CBLAS actually has a few Fortran programs in it. The default build uses g77 on Linux. Regardless, I was able to build -m64 and -m32 without any failures using gfortran. -- http://gcc.gnu.org/bugzilla/show_b

[Bug rtl-optimization/323] optimized code gives strange floating point results

2007-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #100 from pinskia at gcc dot gnu dot org 2007-12-29 19:46 --- *** Bug 34616 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/34616] CBLAS_ICAMAX test from cblas fails

2007-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-12-29 19:46 --- Anyways -ffloat-store fixes the issue so a dup of bug 323. *** This bug has been marked as a duplicate of 323 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Adde

[Bug fortran/34616] CBLAS_ICAMAX test from cblas fails

2007-12-29 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2007-12-29 19:44 --- How is this a Fortran issue? CBLAS uses C. What options did you use to build CBLAS? Is the backing BLAS also built from netlib sources and with what options was is it? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?

[Bug fortran/34616] CBLAS_ICAMAX test from cblas fails

2007-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-12-29 19:32 --- What happens if you add -ffloat-store ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34616

[Bug fortran/34616] New: CBLAS_ICAMAX test from cblas fails

2007-12-29 Thread ismail at pardus dot org dot tr
enable-ssp --enable-threads=posix --enable-version-specific-runtime-libs --without-included-gettext --without-system-libunwind --with-system-zlib --with-pkgversion='Pardus Linux' --with-bugurl=http://bugs.pardus.org.tr Thread model: posix gcc version 4.3.0 20071229 [trunk revision 1

[Bug c/34615] gcc: Internal error: Illegal instruction: 4 (program as)

2007-12-29 Thread eoster at cs dot ucla dot edu
--- Comment #3 from eoster at cs dot ucla dot edu 2007-12-29 17:24 --- Subject: Re: gcc: Internal error: Illegal instruction: 4 (program as) -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Dec 29, 2007, at 12:19 PM, pinskia at gcc dot gnu dot org wrote: > > > --- Comment #1 fro

[Bug c/34615] gcc: Internal error: Illegal instruction: 4 (program as)

2007-12-29 Thread eoster at cs dot ucla dot edu
--- Comment #2 from eoster at cs dot ucla dot edu 2007-12-29 17:22 --- Created an attachment (id=14841) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14841&action=view) produced during any compilation. This is thw core produced from hello world. -- http://gcc.gnu.org/bugzilla

[Bug c/34615] gcc: Internal error: Illegal instruction: 4 (program as)

2007-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-12-29 17:19 --- >gcc: Internal error: Illegal instruction: 4 (program as) That means the as program is causing an illegal instruction. Most likely a cmov. I think you to write to freebsd about the issue. This is not a GCC issue

[Bug c/34615] New: gcc: Internal error: Illegal instruction: 4 (program as)

2007-12-29 Thread eoster at cs dot ucla dot edu
Nothing will compile on my VIA C3 Nehemiah processor. I'm using FreeBSD's default gcc compiler. Can't even compile "Hello world.". -- Summary: gcc: Internal error: Illegal instruction: 4 (program as) Product: gcc Version: 3.4.6 Status: UNCONFIRMED

[Bug c++/7046] #pragma pack(1) context evaluated at point of instantiation rather than declaration

2007-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2007-12-29 16:58 --- *** Bug 34614 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/34614] alignment and template

2007-12-29 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-12-29 16:58 --- *** This bug has been marked as a duplicate of 7046 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/34614] New: alignment and template

2007-12-29 Thread zhq at huawei dot com
Program is below: #include #pragma pack(1) struct A { unsigned short m1; std::list m2; //generate a instantiation type, the alignment is 1 }; #pragma pack() struct B { unsigned short m1; std::list m2; //use above instantiation type, alignment is 1, it don't 4 or 8. }; is this

[Bug middle-end/34483] wo_prof_two_strs.c:56: internal compiler error: in find_new_var_of_type, at ipa-struct-reorg.c:605

2007-12-29 Thread hjl at lucon dot org
--- Comment #16 from hjl at lucon dot org 2007-12-29 16:20 --- I think this is related to PR 34472 and PR 34534 -- hjl at lucon dot org changed: What|Removed |Added Bugs

[Bug libffi/34612] libffi doesn't work with -fomit-frame-pointer on ia32

2007-12-29 Thread hjl at lucon dot org
--- Comment #1 from hjl at lucon dot org 2007-12-29 15:03 --- A patch is posted at http://gcc.gnu.org/ml/gcc-patches/2007-12/msg01161.html -- hjl at lucon dot org changed: What|Removed |Added ---

[Bug ada/34605] 4.3.0 20071005 (experimental) (i686-pc-linux-gnu) verify_stmts failed

2007-12-29 Thread sam at gcc dot gnu dot org
--- Comment #3 from sam at gcc dot gnu dot org 2007-12-29 14:31 --- It appears to have already been fixed in GCC 4.3.0 20071227 (experimental) so I'm closing it. However, it would be great if you could put the command line directly inside the bug report (not as an attached file) and:

[Bug fortran/34545] ICE when compiling Fortran 95 code

2007-12-29 Thread dfranke at gcc dot gnu dot org
--- Comment #10 from dfranke at gcc dot gnu dot org 2007-12-29 08:57 --- I'm only passing through, but ... Jon: > > If the LHS is a dynamically allocated array, attempting > > to assign the array of values from the functions causes an ICE. Steve: > Well, no. A better description pr

Need help in compiling header files using GCC

2007-12-29 Thread leehj
I would like to seek help in compiling header files (.h) using GCC. I would like to seek help in compiling header files (.h) using GCC. Basically I have a file which is .c file with multiple header files preprended in my .c file. And apart from that I have separate header files too.I tried to