[Bug libfortran/27046] gfortran print flush in dll

2006-04-25 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2006-04-25 06:04 --- (In reply to comment #2) This was fixed for the non windows case for sure. Yes: $ cat ftesti.f90 subroutine print_from_gfortran(txt) implicit none character :: txt print *,txt end subroutine

[Bug target/27282] [4.2 regression] ICE in final_scan_insn, at final.c:2448 - could not split insn

2006-04-25 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2006-04-25 06:37 --- Sure. The code meant to do so using trunc_int_for_mode, but it does not work because constop is unsigned. The trunc_int_for_mode was introduced in http://gcc.gnu.org/ml/gcc-patches/2002-01/msg01397.html to cure a similar

[Bug tree-optimization/27285] [4.1 regression] ivopts postgresql miscompilation

2006-04-25 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2006-04-25 07:37 --- Yes, it fixes it. Will regression test it on a bunch of arches and post to gcc-patches. Thanks. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/27299] New: gcc 4.1 produces bad code -ftree-vectorize option

2006-04-25 Thread gringo at slonko dot net
Compiling an attached test program on AMD64 using gcc-4.1.0 with '-O -ftree-vectorize' produces a code which segfaults, eg. [EMAIL PROTECTED] ~ $ gcc -O -ftree-vectorize test.c -o test [EMAIL PROTECTED] ~ $ ./test Segmentation fault Compiling it using any -O flags doesn't produce code which

[Bug tree-optimization/27299] gcc 4.1 produces bad code -ftree-vectorize option

2006-04-25 Thread gringo at slonko dot net
--- Comment #1 from gringo at slonko dot net 2006-04-25 08:01 --- Created an attachment (id=11332) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11332action=view) Test source which produces bad code with '-O -ftree-vectorize' --

[Bug ada/27300] New: gnattools/configure.ac selects incorrect body for indepsw on GNU/Linux

2006-04-25 Thread ludovic at ludovic-brenta dot org
gcc/ada/Makefile.in selects indepsw-gnu.adb as the body for indepsw.ads on GNU/Linux. In contrast, gnattools/configure (generated from gnattools/configure.ac) selects indepsw-linux.adb, which no longer exists. The divergence occurred on 2005-07-04 in revision 101581; see gcc/ada/Makefile.in.

[Bug ada/27186] GNAT BUG DETECTED with Booch Components Set_Test_Support

2006-04-25 Thread ludovic at ludovic-brenta dot org
--- Comment #6 from ludovic at ludovic-brenta dot org 2006-04-25 08:30 --- This appears to be the same bug as PR26678. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27186

[Bug inline-asm/27301] New: ICE on convoluted inline asm with m (statement expression)

2006-04-25 Thread jakub at gcc dot gnu dot org
inline void foo (void *ptr, long n) { __asm__ __volatile__ ( : : m (__extension__ ({ struct { char x[n]; } *p = ptr; *p; }))); } void bar (void) { char buf[16]; foo (buf, sizeof foo); } ICEs in tree_cst_low,

[Bug middle-end/26823] ICE with OpenMP in add_stmt_to_eh_region_fn, at tree-eh.c:100

2006-04-25 Thread martin at mpa-garching dot mpg dot de
--- Comment #9 from martin at mpa-garching dot mpg dot de 2006-04-25 09:09 --- (In reply to comment #7) @Martin: I tried to reduce your testacse a little and got a segfault in can_throw_internal_1. So this is probably the same problem as PR26913. However the original segfault in

[Bug tree-optimization/26865] [4.1 Regression] Segmentation fault with -std=c99 -O1 and alloca()

2006-04-25 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2006-04-25 09:42 --- Subject: Bug 26865 Author: jakub Date: Tue Apr 25 09:42:41 2006 New Revision: 113242 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113242 Log: PR tree-optimization/26865 * gcc.dg/pr26865.c: New

[Bug tree-optimization/26865] [4.1 Regression] Segmentation fault with -std=c99 -O1 and alloca()

2006-04-25 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2006-04-25 09:45 --- Subject: Bug 26865 Author: jakub Date: Tue Apr 25 09:45:01 2006 New Revision: 113243 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113243 Log: PR tree-optimization/26865 *

[Bug middle-end/27302] New: Fold does not fold i j == j i to 1

2006-04-25 Thread rguenth at gcc dot gnu dot org
For the testcase int foo(int i, int j) { return (i j) == (j i); } fold does not fold the expression to 1, but instead to i j ^ j i which should be done as a last resort only. fold_comparison does not handle the original tree either, nor does operand_equal_p see that both operands of the

[Bug c/27303] New: crash at unalign access

2006-04-25 Thread mehmet dot ekici at alcatel dot com dot tr
Sortly, We have a global variable which is initialized to 1 and named AMLogging. When we compile our source it does not cause any problem but when we change AMLogging = 0; and compile, if at run time we try to access to this variable it is causing system to crash with a floating point exception

[Bug c++/26846] hidden visibility of static member in class derived from hash_map changes to default visibility

2006-04-25 Thread laszlo dot szakony at philips dot com
-- laszlo dot szakony at philips dot com changed: What|Removed |Added Severity|normal |critical http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26846

[Bug fortran/27304] New: gfortran: Warn/abort when format in write does not fit passed arguments

2006-04-25 Thread tobias dot burnus at physik dot fu-berlin dot de
Test case: - program test implicit none integer :: n n = 1 write(*,'(''n'')') n end program test - gfortran -Wall -o test test1.f90 [4.1.0 (SUSE Linux); 4.2.0 20060423] Compiles without warning/error and ./test outputs nn.

[Bug target/27303] crash at unalign access

2006-04-25 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-04-25 11:36 --- First, gcc 3.4.3 is no longer in active maintainance, the oldest still maintained version is 4.0.3. Second, please read the bugreporting guidelines and provide a testcase for the problem. Third, this may be as

[Bug c/27305] New: Compiler generates incorrect code when calling functions

2006-04-25 Thread Eric dot Doenges at betty-tv dot com
Consider the following code: typedef unsigned int UINT32; typedef unsigned char BOOL; #define __SWI_BIOS_ContainerUsage 1234 #define __swicall1(type,name,type1,arg1)\ static inline type name(type1 arg1) { \ register long

[Bug c++/27292] [4.2 regression] ICE on casts on bitfields

2006-04-25 Thread mueller at gcc dot gnu dot org
--- Comment #6 from mueller at gcc dot gnu dot org 2006-04-25 11:46 --- the original testcase still ICEs. however now in gimplify.c:5492 -- mueller at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27306] New: while and (type *)variable++ causes never ending loop

2006-04-25 Thread kalas at unicontrols dot cz
Following code is not compiled correctly and causes never ending loop. GCC 4.0.2 from GNUARM.org distribution was used. typedef unsigned short U16; void * ptr = buffer; void * end = (U16 *)buffer + num; while (ptr != end) { *((U16 *)ptr)++ = c; } dissasebly

[Bug tree-optimization/27299] [4.1 Regression] vectorizer generates aligned accesses to unaligned memory

2006-04-25 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-04-25 11:49 --- Confirmed. We generate 0x08048475 main+193: movdqu (%edx),%xmm0 0x08048479 main+197: movdqa %xmm0,(%eax) but both %edx and %eax are unaligned: eax0x804a021134520865 ecx0x0

[Bug target/27303] crash at unalign access

2006-04-25 Thread mehmet dot ekici at alcatel dot com dot tr
--- Comment #2 from mehmet dot ekici at alcatel dot com dot tr 2006-04-25 11:49 --- (In reply to comment #1) First, gcc 3.4.3 is no longer in active maintainance, the oldest still maintained version is 4.0.3. Second, please read the bugreporting guidelines and provide a testcase

[Bug tree-optimization/27299] [4.1 Regression] vectorizer generates aligned accesses to unaligned memory

2006-04-25 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-04-25 11:55 --- mainline doesn't do vectorization here: /tmp/t.c:12: note: === vect_analyze_dependences === /tmp/t.c:12: note: not vectorized: can't determine dependence between *src.1_24 and *dest.0_23 /tmp/t.c:12: note: bad data

[Bug target/27303] crash at unalign access

2006-04-25 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-04-25 12:07 --- Look at the assembly output of gcc (-S) and see if there is an appropriate alignment directive before the entry for AMLogging in the bss section. If there is, the assembler/linker are at fault. Otherwise please

[Bug inline-asm/27305] Compiler generates incorrect code when calling functions

2006-04-25 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-04-25 12:11 --- Considering it. What happens? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27306] while and (type *)variable++ causes never ending loop

2006-04-25 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-04-25 12:15 --- This is not a valid testcase, or even expression. I guess it's invalid anyway because of operator precedence. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27306] while and (type *)variable++ causes never ending loop

2006-04-25 Thread falk at debian dot org
--- Comment #2 from falk at debian dot org 2006-04-25 12:19 --- It's a valid C++ fragment. However, this code accesses ptr, which is of type void*, via an lvalue of type U16*. This is undefined behavior, so there is no gcc bug here. --

[Bug c++/27306] while and (type *)variable++ causes never ending loop

2006-04-25 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-04-25 12:20 --- Oh, this is just an aliasing issue. Reopening... -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27306] while and (type *)variable++ causes never ending loop

2006-04-25 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2006-04-25 12:21 --- .. to close as dup of PR21920. *** This bug has been marked as a duplicate of 21920 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/21920] alias violating

2006-04-25 Thread rguenth at gcc dot gnu dot org
--- Comment #93 from rguenth at gcc dot gnu dot org 2006-04-25 12:21 --- *** Bug 27306 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/27308] New: Compiler generates incorrect code when calling a function with the result of an inline function as parameter

2006-04-25 Thread Eric dot Doenges at betty-tv dot com
Consider the following code: typedef unsigned int UINT32; typedef unsigned char BOOL; #define __SWI_BIOS_ContainerUsage 1234 #define __swicall1(type,name,type1,arg1) \ static inline type name(type1 arg1) { \ register long __r0

[Bug c/27308] Compiler generates incorrect code when calling a function with the result of an inline function as parameter

2006-04-25 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-04-25 12:38 --- *** Bug 27305 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27308

[Bug inline-asm/27305] Compiler generates incorrect code when calling functions

2006-04-25 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-04-25 12:38 --- *** This bug has been marked as a duplicate of 27308 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/27308] Compiler generates incorrect code when calling a function with the result of an inline function as parameter

2006-04-25 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-04-25 12:49 --- This is probably a problem with the inline asm constraints. Try removing the __asm__(r0) from the __res variable. Also try simplifying the testcase by storing the result of BIOS_ContainerUsage(1) to memory rather

[Bug c++/27309] New: [4.0/4.1/4.2 regression] ICE on invalid constructor definition

2006-04-25 Thread reichelt at gcc dot gnu dot org
The following invalid testcase causes an ICE since GCC 4.0.0: = struct A { int i; A() i() {} // missing colon }; struct B { A a; }; B b; = bug.cc:4: error: expected ';' before 'i' bug.cc:5: error: expected `;' before

[Bug libstdc++/17373] std::set::erase(const_iterator) doesn't output error on compilation

2006-04-25 Thread falk at debian dot org
--- Comment #4 from falk at debian dot org 2006-04-25 13:19 --- The standard doesn't mention set::erase with iterator argument, only with const_iterator. Maybe it is legal for g++ to allow it anyway (even if I cannot find anything in the standard allowing it at the moment), but other

[Bug libstdc++/17373] std::set::erase(const_iterator) doesn't output error on compilation

2006-04-25 Thread falk at debian dot org
--- Comment #5 from falk at debian dot org 2006-04-25 13:20 --- (In reply to comment #4) The standard doesn't mention set::erase with iterator argument, only with const_iterator. erm. the other way round, of course. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17373

[Bug libstdc++/17373] std::set::erase(const_iterator) doesn't output error on compilation

2006-04-25 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2006-04-25 13:23 --- templateclass _Key, class _Compare, class _Alloc class set { ... // _GLIBCXX_RESOLVE_LIB_DEFECTS // DR 103. set::iterator is required to be modifiable, // but this allows modification of

[Bug middle-end/27310] New: ICE in duplicate_eh_regions

2006-04-25 Thread reichelt at gcc dot gnu dot org
The following testcase causes a segfault in duplicate_eh_regions when compiled with -fopenmp -O: == struct A { ~A(); }; struct B { A a1, a2; }; void foo() { A x1, x2; #pragma omp parallel B b; } == Reduced from Martin's

[Bug libstdc++/17373] std::set::erase(const_iterator) doesn't output error on compilation

2006-04-25 Thread pcarlini at suse dot de
--- Comment #7 from pcarlini at suse dot de 2006-04-25 13:33 --- Yes, we are simply implementing the resolution of DR 103: set::iterator is a constant iterator type -- pcarlini at suse dot de changed: What|Removed |Added

[Bug libmudflap/26446] Running large program compiled with mudflap aborts even before reaching main()

2006-04-25 Thread walter dot zimmer at dlr dot de
--- Comment #5 from walter dot zimmer at dlr dot de 2006-04-25 14:05 --- The link-time wrapping of malloc is designed precisely so that other uninstrumented libraries that call malloc by name still get registered in the libmudflap runtime. That way, pointers from these libraries

[Bug target/27282] [4.2 regression] ICE in final_scan_insn, at final.c:2448 - could not split insn

2006-04-25 Thread roger at eyesopen dot com
--- Comment #6 from roger at eyesopen dot com 2006-04-25 14:09 --- Paolo's fix looks good to me. The bugzilla PR shows that this is a 4.2 regression, probably due to the more aggressive RTL optimizations on mainline. So I'll preapprove Paolo's fix for mainline (please post the version

[Bug tree-optimization/27299] [4.1 Regression] vectorizer generates aligned accesses to unaligned memory

2006-04-25 Thread reichelt at gcc dot gnu dot org
--- Comment #4 from reichelt at gcc dot gnu dot org 2006-04-25 14:23 --- Richard, you confirmed this. But to me this looks like the code is violating the aliasing rules (which would mean that the PR in invalid): *(uint64_t *)dest = *(uint64_t *)src; but uint8_t *dest const

[Bug target/25514] [m68k] internal consistency failure

2006-04-25 Thread rsandifo at gcc dot gnu dot org
--- Comment #4 from rsandifo at gcc dot gnu dot org 2006-04-25 14:23 --- This issue is related to PR22002. I have a patch. A slightly-more reduced testcase is: struct node { struct node *next; int value; }; struct node *current_node, global_list; void bar (void) { struct node

[Bug tree-optimization/27299] [4.1 Regression] vectorizer generates aligned accesses to unaligned memory

2006-04-25 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2006-04-25 14:27 --- Yes, but the problem appears with -O1 which has -fno-strict-aliasing. Now whether -fno-strict-aliasing makes the testcase valid is another question ;) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27299

[Bug tree-optimization/27299] [4.1 Regression] vectorizer generates aligned accesses to unaligned memory

2006-04-25 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2006-04-25 14:29 --- Changing the function to take both arguments as uint8_t* fixes the problem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27299

[Bug c/27308] Compiler generates incorrect code when calling a function with the result of an inline function as parameter

2006-04-25 Thread Eric dot Doenges at betty-tv dot com
--- Comment #3 from Eric dot Doenges at betty-tv dot com 2006-04-25 14:37 --- Storing the result to memory generates correct code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27308

[Bug c/27308] Compiler generates incorrect code when calling a function with the result of an inline function as parameter

2006-04-25 Thread Eric dot Doenges at betty-tv dot com
--- Comment #4 from Eric dot Doenges at betty-tv dot com 2006-04-25 14:43 --- Removing the __asm__ (r0) from __res works around the bug - but then I cannot depend on gcc always allocating r0 for __res, can I ? I found no other way to tell gcc which registers it must use. I'm assuming

[Bug c++/27312] New: excessive stack use for automatic object on stack

2006-04-25 Thread avi at argo dot co dot il
compiling the following --start-code struct X { void g(); }; void g(); void f() { X x; x.g(); g(); } --end-code- yields (with -O2) subl$24, %esp in the prologue. without the empty class only 12 bytes are subtracted, presumably to preserve

[Bug target/27282] [4.2 regression] ICE in final_scan_insn, at final.c:2448 - could not split insn

2006-04-25 Thread dje at watson dot ibm dot com
--- Comment #7 from dje at watson dot ibm dot com 2006-04-25 15:21 --- Subject: Re: [4.2 regression] ICE in final_scan_insn, at final.c:2448 - could not split insn The patch may be necessary, but does not fix the testcase. The testcase needs the patch that Andrew originally tested:

[Bug target/27282] [4.2 regression] ICE in final_scan_insn, at final.c:2448 - could not split insn

2006-04-25 Thread roger at eyesopen dot com
--- Comment #8 from roger at eyesopen dot com 2006-04-25 15:41 --- Grr. David's patch is also good. Perhaps better if we follow the usual protocol of posting patches to gcc-patches *after* bootstrap and regression testing, for review and approval. Posting untested patch fragments to

[Bug c/27308] Compiler generates incorrect code when calling a function with the result of an inline function as parameter

2006-04-25 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2006-04-25 15:45 --- __res should be allocated to the same register as __r0 due to the '0' constraint which tells gcc to use the same register as for =r (__res). Whoops - I obviously meant to remove the __asm__(r0) from the __r0

[Bug c/27313] New: Does not emit conditional moves for stores

2006-04-25 Thread dwarak dot rajagopal at amd dot com
int cmov(int* A ,int B ,int C ,int* D ,int* E ,int F ,int g) { int k,f; for (k = 1; k = 1000; k++) { A[k] = B+C; g = D[k-1] + E[k-1]; if (g A[k]) A[k]=g; /* This is not converted to cmov*/ f += g; } return f; } In the above code, the if-then statement is not

[Bug c++/27312] excessive stack use for automatic object on stack

2006-04-25 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-04-25 15:48 --- The empty class has a size of 1. And yes, the ABI requires to preserve stack alignment. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/15911] VRP/DOM does not like TRUTH_AND_EXPR

2006-04-25 Thread rguenth at gcc dot gnu dot org
--- Comment #26 from rguenth at gcc dot gnu dot org 2006-04-25 15:55 --- Created an attachment (id=11333) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11333action=view) updated patch This is a cleanup of the patch by Jeff, bootstrapped and regtested on x86_64-unknown-linux-gnu.

[Bug c++/27312] excessive stack use for automatic object on stack

2006-04-25 Thread avi at argo dot co dot il
--- Comment #2 from avi at argo dot co dot il 2006-04-25 15:57 --- But why 24? gcc could place the object in any of the 12 bytes needed for stack alignment. I don't see any reason why the empty object needs to be aligned to more than a byte boundary. What am I missing? --

[Bug target/27282] [4.2 regression] ICE in final_scan_insn, at final.c:2448 - could not split insn

2006-04-25 Thread dje at gcc dot gnu dot org
--- Comment #9 from dje at gcc dot gnu dot org 2006-04-25 16:09 --- By the way, while Andrew and my patch does produce correct code, it reverts to the original behavior of the constant propagating into the AND between life2 and lreg, not between life1 and combine. Somehow combine is

[Bug fortran/27314] New: ld can't find libgfortran.so.1 on x86-64

2006-04-25 Thread dr dot johan at gmail dot com
Red Hat Enterprise Linux WS release 3 (Taroon Update 6) on Opteron: bar [10:08:42] /baz cat foo.f90 program foo end program foo bar [10:10:01] /baz gfortran foo.f90 -Wl,-rpath,/scr_bar/johan/local/lib -o foo bar [10:10:24] /baz ./foo ./foo: error while loading shared libraries:

[Bug c++/27315] New: ICE with ill-placed #pragma omp parallel

2006-04-25 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet causes an ICE when compiled with -fopenmp: === struct A #pragma omp parallel { templateint void foo(); }; template void A::foo0(); === bug.cc:2: error: '#pragma' is not allowed here bug.cc:7:

[Bug c++/27316] New: ICE with two ill-placed #pragma omp parallel

2006-04-25 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet causes an ICE when compiled with -fopenmp: === struct A {}; struct B : A #pragma omp parallel {}; struct B : A #pragma omp parallel {}; === bug.cc:4: error: '#pragma' is not allowed here

[Bug fortran/27317] New: built-in:0: internal compiler error: Illegal instruction

2006-04-25 Thread leroux at cameca dot com
/bin/ld --with-as=/m ingw/bin/as --disable-werror --enable-bootstrap --enable-threads=win32 --with-wi n32-nlsapi=unicode Thread model: win32 gcc version 4.2.0 20060425 (experimental) c:/program files/gfortran/bin/../libexec/gcc/i686-pc-mingw32/4.2.0/f951.exe ch0 701.f90 -quiet -dumpbase ch0701.f90

[Bug target/27287] loading 0 constant causes an ICE (freescale's messy targets)

2006-04-25 Thread eliot at sonic dot net
--- Comment #3 from eliot at sonic dot net 2006-04-25 16:44 --- (In reply to comment #2) Can you try a snapshot of 4.1.1 and/or the mainline? i tried mainline. same crash. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27287

[Bug middle-end/25776] [4.2 Regression] ICE in cgraph after error at -O1 and above

2006-04-25 Thread aldot at gcc dot gnu dot org
--- Comment #8 from aldot at gcc dot gnu dot org 2006-04-25 17:00 --- Created an attachment (id=11334) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11334action=view) fix typo in errormessage in verify_cgraph_node() Just as a sidenote.. There is a typo in the error message in

[Bug fortran/27304] gfortran: Warn/abort when format in write does not fit passed arguments

2006-04-25 Thread tobias dot burnus at physik dot fu-berlin dot de
--- Comment #1 from tobias dot burnus at physik dot fu-berlin dot de 2006-04-25 17:24 --- Post scriptum: I actually see two bugs here: (a) for static format strings, the test should be done at the compile time (possibly also for c = '(''n'')'; write(*,c) n ) - see NAG compiler (b)

[Bug c++/26846] hidden visibility of static member in class derived from hash_map changes to default visibility

2006-04-25 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|critical|normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26846

[Bug driver/27276] Option -static-libgcc doesn't work

2006-04-25 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-25 17:25 --- Read PR 14704. *** This bug has been marked as a duplicate of 14704 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/14704] -static-libgcc option appears non-functional under Solaris

2006-04-25 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-04-25 17:25 --- *** Bug 27276 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/27303] crash at unalign access

2006-04-25 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-04-25 17:28 --- We need a testcase to go any further. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/27299] [4.1 Regression] vectorizer generates aligned accesses to unaligned memory

2006-04-25 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-04-25 17:35 --- (In reply to comment #5) Yes, but the problem appears with -O1 which has -fno-strict-aliasing. Now whether -fno-strict-aliasing makes the testcase valid is another question ;) Nope, unaligned access is different

[Bug middle-end/27313] Does not emit conditional moves for stores

2006-04-25 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-25 17:38 --- Confirmed, if cvt should have a way to track if a memory write has happened. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug driver/27314] ld can't find libgfortran.so.1 on x86-64

2006-04-25 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-25 17:41 --- This works for me and many other people. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/27317] built-in:0: internal compiler error: Illegal instruction

2006-04-25 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-25 17:43 --- This is the not form for support for binaries. We only support GCC which was been compiled by your self. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/27318] New: gfortran should warn if a interface does not match

2006-04-25 Thread tobias dot burnus at physik dot fu-berlin dot de
Test case: -- module test implicit none interface subroutine hello(n) integer :: n end subroutine hello end interface end module test subroutine hello(n) integer, intent(in) :: n integer :: i do i = 1,n; print *, 'hello'; end do end subroutine hello

[Bug c++/27315] ICE with ill-placed #pragma omp parallel

2006-04-25 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-25 18:28 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27316] ICE with two ill-placed #pragma omp parallel

2006-04-25 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-25 18:29 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/27302] Fold does not fold (i j) == (j i) to 1

2006-04-25 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-25 18:31 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/27292] [4.2 regression] ICE on casts on bitfields

2006-04-25 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|REOPENED|ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27292

[Bug c++/27309] [4.0/4.1/4.2 regression] ICE on invalid constructor definition

2006-04-25 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |minor Target Milestone|--- |4.1.1

[Bug middle-end/27310] ICE in duplicate_eh_regions

2006-04-25 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-25 18:32 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/27304] gfortran: Warn/abort when format in write does not fit passed arguments

2006-04-25 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-04-25 18:33 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/27308] Compiler generates incorrect code when calling a function with the result of an inline function as parameter

2006-04-25 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|blocker |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27308

[Bug middle-end/27313] Does not emit conditional moves for stores

2006-04-25 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-04-25 18:38 --- The other way of getting this is to have the code converted so there is only one store instead of two: int cmov(int* A ,int B ,int C ,int* D ,int* E ,int F ,int g) { int k,f; for (k = 1; k = 1000; k++) {

[Bug driver/27314] ld can't find libgfortran.so.1 on x86-64

2006-04-25 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-04-25 18:38 --- You must be doing something wrong as I know this works for me and many other people. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/27318] gfortran should warn if a interface does not match

2006-04-25 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-25 18:39 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug inline-asm/27301] [4.0/4.1/4.2 Regression] ICE on convoluted inline asm with m (statement expression and vla)

2006-04-25 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-25 18:41 --- Confirmed, the ICE is at least a regression. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/27301] [4.0/4.1/4.2 Regression] ICE on convoluted inline asm with m (statement expression and vla)

2006-04-25 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-04-25 18:47 --- Hmm, interesting, we have a TARGET_EXPR before gimplifying: __asm__ __volatile__(::m TARGET_EXPR D.1284, { typedef struct { char x[0:(unsigned int) ((int) SAVE_EXPR n - 1)]; } struct struct {

[Bug middle-end/27313] Does not emit conditional moves for stores

2006-04-25 Thread dwarak dot rajagopal at amd dot com
--- Comment #3 from dwarak dot rajagopal at amd dot com 2006-04-25 19:07 --- Yes this is true. The example I posted was a simplest case where it fails. Below mmight be a typical case where you have to do two stores. int cmov(int* A ,int B ,int C ,int* D ,int* E ,int F ,int g) { int

[Bug tree-optimization/22525] tree based value profiling (-fprofile-use) produces mismatch types in conditional

2006-04-25 Thread brett dot albertson at stratech dot com
--- Comment #7 from brett dot albertson at stratech dot com 2006-04-25 19:29 --- (In reply to comment #6) Fixed. After this patch was applied onto trunk, the following test started failing on Solaris x86: FAIL: gcc.dg/tree-prof/val-prof-2.c scan-tree-dump n \+ \-1 All the other

[Bug c++/27319] New: C++ class object destructors are not called for static class objects in a shared library when dlclose is called.

2006-04-25 Thread hbd_bugreports at earthlink dot net
For C++ classes of any type, the class destructor fails to be called under the following circumstances in the CYGWIN environment (not a problem in linux): 1) A static object of a class is declared within the body of a function which is part of a shared library. 2) The shared library is loaded

[Bug libgomp/25865] [4.2 Regression] libgomp incorrectly detects support for TLS

2006-04-25 Thread rth at gcc dot gnu dot org
-- rth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org |dot org

[Bug libgomp/25865] [4.2 Regression] libgomp incorrectly detects support for TLS

2006-04-25 Thread rth at gcc dot gnu dot org
--- Comment #5 from rth at gcc dot gnu dot org 2006-04-25 20:58 --- Subject: Bug 25865 Author: rth Date: Tue Apr 25 20:58:25 2006 New Revision: 113256 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113256 Log: PR libgomp/25865 * configure.ac: Use GCC_CHECK_TLS.

[Bug libgomp/25865] [4.2 Regression] libgomp incorrectly detects support for TLS

2006-04-25 Thread rth at gcc dot gnu dot org
--- Comment #6 from rth at gcc dot gnu dot org 2006-04-25 21:03 --- Fixed, or if not, moved the point of failure out of libgomp. -- rth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/27282] [4.2 regression] ICE in final_scan_insn, at final.c:2448 - could not split insn

2006-04-25 Thread janis at gcc dot gnu dot org
--- Comment #10 from janis at gcc dot gnu dot org 2006-04-25 21:16 --- A regression hunt of trunk on powerpc-linux using mini.c with -O2 identified: http://gcc.gnu.org/viewcvs?view=revrev=109016 r109016 | bonzini | 2005-12-23 16:07:53 + (Fri, 23 Dec 2005) --

[Bug ada/27186] GNAT BUG DETECTED with Booch Components Set_Test_Support

2006-04-25 Thread george dot chapman at lmco dot com
--- Comment #7 from george dot chapman at lmco dot com 2006-04-25 21:31 --- I agree. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27186

[Bug target/27319] C++ class object destructors are not called for static class objects in a shared library when dlclose is called.

2006-04-25 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-25 21:31 --- Yes, this is a target specific issue. If the target does not support atexit, this is what will happen. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/27186] GNAT BUG DETECTED with Booch Components Set_Test_Support

2006-04-25 Thread george dot chapman at lmco dot com
--- Comment #8 from george dot chapman at lmco dot com 2006-04-25 21:32 --- *** This bug has been marked as a duplicate of 26678 *** -- george dot chapman at lmco dot com changed: What|Removed |Added

[Bug ada/26678] GNAT BUG DETECTED when compiling AWS.

2006-04-25 Thread george dot chapman at lmco dot com
--- Comment #9 from george dot chapman at lmco dot com 2006-04-25 21:32 --- *** Bug 27186 has been marked as a duplicate of this bug. *** -- george dot chapman at lmco dot com changed: What|Removed |Added

[Bug c++/27309] [4.0/4.1/4.2 regression] ICE on invalid constructor definition

2006-04-25 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-25 21:32 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/26725] [4.2 Regression] ICE in check_reg_live, at haifa-sched.c:4645 with -O2 on ia64

2006-04-25 Thread rsandifo at gcc dot gnu dot org
--- Comment #5 from rsandifo at gcc dot gnu dot org 2006-04-25 21:34 --- Subject: Bug 26725 Author: rsandifo Date: Tue Apr 25 21:34:48 2006 New Revision: 113257 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113257 Log: gcc/ PR rtl-optimization/26725 * cfgrtl.c

[Bug c++/27278] [4.0/4.1/4.2 regression] ICE with invalid operator declaration

2006-04-25 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc- |

[Bug c++/27279] [4.0/4.1/4.2 regression] ICE with invalid constructor declaration

2006-04-25 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc- |

  1   2   >