[Bug bootstrap/30589] [4.3 regression] C99 extern inline patch broke bootstrap on i386-pc-mingw32

2007-01-25 Thread dannysmith at users dot sourceforge dot net
--- Comment #5 from dannysmith at users dot sourceforge dot net 2007-01-26 00:24 --- CVS mingw runtime header _mingw.h has this, which avoids the problem: # if ( __MINGW_GNUC_PREREQ(4, 3) __STDC_VERSION__ = 199901L) # define __CRT_INLINE extern inline __attribute__((__gnu_inline__

[Bug other/30335] CreateFileMapping fails in Vista due to lack of admin privileges

2006-12-31 Thread dannysmith at users dot sourceforge dot net
--- Comment #7 from dannysmith at users dot sourceforge dot net 2007-01-01 01:53 --- I am not in position to test this on Vista until next week. Can you please indicate how you tested. Danny -- dannysmith at users dot sourceforge dot net changed: What|Removed

[Bug c++/29883] i686-pc-cygwin/3.4.4 - internal compiler error: Segmentation fault

2006-11-23 Thread dannysmith at users dot sourceforge dot net
--- Comment #4 from dannysmith at users dot sourceforge dot net 2006-11-24 07:43 --- This works for me too, using same cygwin distro of gcc-3.4.4, same command line (g++ -Wall -o Employee.h Employee.h -mno-cygwin), cygwin version 1.5.22. Could it be a mmap vs .pch problem

[Bug libstdc++/29426] [4.2 Regression] static __recursive_mutex init vs __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION

2006-10-11 Thread dannysmith at users dot sourceforge dot net
--- Comment #12 from dannysmith at users dot sourceforge dot net 2006-10-11 20:54 --- (In reply to comment #4) - __gnu_cxx::__recursive_mutex static_mutex; + static __gnu_cxx::__recursive_mutex static_mutex; I tried thaty before I submitted bug report. No dice. (In reply

[Bug libstdc++/29426] New: static __recursive_mutex init vs __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION

2006-10-10 Thread dannysmith at users dot sourceforge dot net
Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dannysmith at users dot sourceforge dot net GCC build triplet: i686-pc

[Bug other/29242] system headers lack a distinct default calling convention

2006-09-26 Thread dannysmith at users dot sourceforge dot net
--- Comment #7 from dannysmith at users dot sourceforge dot net 2006-09-27 03:23 --- (In reply to comment #4) (In reply to comment #3) (In reply to comment #2) Imagine building gcc itself with regparm 3. You probably don't want to mark up the gcc source to enable

[Bug target/28069] __m128 local variables don't get properly aligned.

2006-09-23 Thread dannysmith at users dot sourceforge dot net
--- Comment #4 from dannysmith at users dot sourceforge dot net 2006-09-23 06:34 --- (In reply to comment #2) In a way this is a dup of bug 27537. Though there is an attribute to realign the stack in 4.2.0 so using that might just fix this issue instead. Indeed, 5c5 void

[Bug libfortran/27964] Wrong line ends on windows (XP)

2006-09-22 Thread dannysmith at users dot sourceforge dot net
-- dannysmith at users dot sourceforge dot net changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |dannysmith at users dot |dot org

[Bug libfortran/27964] Wrong line ends on windows (XP)

2006-09-22 Thread dannysmith at users dot sourceforge dot net
--- Comment #12 from dannysmith at users dot sourceforge dot net 2006-09-23 02:00 --- Fixed on trunk -- dannysmith at users dot sourceforge dot net changed: What|Removed |Added

[Bug target/9539] [Windows] builtin [long/set]jmp not working properly with signals

2006-09-20 Thread dannysmith at users dot sourceforge dot net
--- Comment #7 from dannysmith at users dot sourceforge dot net 2006-09-20 09:52 --- (In reply to comment #6) I think this is fixed on 4.2: Its still broken on my machine Try after compiling the testcase with optimization turned on. Danny -- http://gcc.gnu.org/bugzilla

[Bug target/27650] internal compiler error while compiling Gecode

2006-09-20 Thread dannysmith at users dot sourceforge dot net
--- Comment #11 from dannysmith at users dot sourceforge dot net 2006-09-20 23:37 --- Fixed on trunk. Danny -- dannysmith at users dot sourceforge dot net changed: What|Removed |Added

[Bug c/29094] New: Inline definition vs builtin function calls

2006-09-14 Thread dannysmith at users dot sourceforge dot net
Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dannysmith at users dot sourceforge dot net GCC host triplet: i386-pc-mingw32 GCC target triplet: i386-pc-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29094

[Bug target/29094] Inline definition vs builtin function calls

2006-09-14 Thread dannysmith at users dot sourceforge dot net
--- Comment #2 from dannysmith at users dot sourceforge dot net 2006-09-15 03:34 --- (In reply to comment #1) Is TARGET_C99_FUNCTIONS set for the mingw32 target? It is set in my local development tree, and I was planning to set it in mingw32.h config file, but I may be a bit

[Bug target/29094] Inline definition vs builtin function calls

2006-09-14 Thread dannysmith at users dot sourceforge dot net
--- Comment #4 from dannysmith at users dot sourceforge dot net 2006-09-15 03:51 --- (In reply to comment #3) If you are defining expf with TARGET_C99_FUNCTIONS set to 1, then you have to use -fno-builtin-exp. So just to make sure this is with TARGET_C99_FUNCTIONS set to 1? Yes

[Bug libfortran/27046] [mingw32] mixed C-Fortran I/O doesn't flush

2006-09-13 Thread dannysmith at users dot sourceforge dot net
--- Comment #7 from dannysmith at users dot sourceforge dot net 2006-09-13 10:10 --- (In reply to comment #5) This is not DLL-related, the following code doesn't have the expected behaviour (although it works fine on i686-linux, even in the static case): $ cat ctesti.c #include

[Bug libfortran/27964] Wrong line ends on windows (XP)

2006-09-12 Thread dannysmith at users dot sourceforge dot net
--- Comment #9 from dannysmith at users dot sourceforge dot net 2006-09-12 23:36 --- The problem is that although all 'regular' files are opened as O_BINARY, preconnected files stderr and stdout are already opened as default O_TEXT. The simplest fix is just to force the mode

[Bug libfortran/27046] [mingw32] mixed C-Fortran I/O doesn't flush

2006-09-12 Thread dannysmith at users dot sourceforge dot net
--- Comment #6 from dannysmith at users dot sourceforge dot net 2006-09-13 03:59 --- (In reply to comment #5) This is not DLL-related, the following code doesn't have the expected behaviour (although it works fine on i686-linux, even in the static case): With gcc version 4.2.0

[Bug rtl-optimization/28096] fdlibm/strtod.c miscompiled at -O2

2006-09-11 Thread dannysmith at users dot sourceforge dot net
--- Comment #13 from dannysmith at users dot sourceforge dot net 2006-09-11 19:47 --- In my sources for David Gay's gdtoa implemntation it say this: /* On a machine with IEEE extended-precision registers, it is * necessary to specify double-precision (53-bit) rounding precision

[Bug target/12477] Request to add ability to disable inline/dllimport warnings

2006-08-27 Thread dannysmith at users dot sourceforge dot net
--- Comment #14 from dannysmith at users dot sourceforge dot net 2006-08-27 21:14 --- (In reply to comment #12) This happens with Qt4 Win32 as well - lot of warnings - warning: inline function... attribute ignored. All that's needed is a -Wno-inline-dllimport type of flag to mingw

[Bug driver/28528] [4.0/4.1 Regression] C language extensions override -x in C++ driver

2006-08-24 Thread dannysmith at users dot sourceforge dot net
--- Comment #11 from dannysmith at users dot sourceforge dot net 2006-08-25 00:27 --- Fixed on mainline. Danny -- dannysmith at users dot sourceforge dot net changed: What|Removed |Added

[Bug testsuite/28828] FAIL: gcc.dg/attr-invalid.c

2006-08-23 Thread dannysmith at users dot sourceforge dot net
--- Comment #1 from dannysmith at users dot sourceforge dot net 2006-08-24 01:10 --- This is my bad. Sorry. Should be fixed by: http://gcc.gnu.org/ml/gcc-cvs/2006-08/msg00514.html Danny -- dannysmith at users dot sourceforge dot net changed: What|Removed

[Bug driver/17621] Add option to have GCC not search $(prefix)

2006-08-21 Thread dannysmith at users dot sourceforge dot net
--- Comment #9 from dannysmith at users dot sourceforge dot net 2006-08-22 00:37 --- (In reply to comment #8) patch to prevent searching of configured path with relocated toolchain Are you aware of this discussion http://gcc.gnu.org/ml/gcc/2006-07/msg00313.html and this alternative

[Bug middle-end/28648] [4.2 regression] ICE with invalid dllimport attribute

2006-08-20 Thread dannysmith at users dot sourceforge dot net
--- Comment #3 from dannysmith at users dot sourceforge dot net 2006-08-20 08:48 --- Fixed on trunk. -- dannysmith at users dot sourceforge dot net changed: What|Removed |Added

[Bug driver/28528] [4.0/4.1/4.2 regression] Trouble compiling header files with -x c++ using g++

2006-08-17 Thread dannysmith at users dot sourceforge dot net
--- Comment #3 from dannysmith at users dot sourceforge dot net 2006-08-18 04:48 --- Also, removing the space between '-x' and 'c++' works, eg, g++ -fsyntax-only -xc++ stdio.h but I get warning warning: #pragma system_header ignored outside include file ditto with g++ -c -x c

[Bug c/28287] [4.1/4.2 regression] ICE with misplaced attribute weak

2006-08-15 Thread dannysmith at users dot sourceforge dot net
--- Comment #7 from dannysmith at users dot sourceforge dot net 2006-08-15 21:48 --- Assigning to self so... -- dannysmith at users dot sourceforge dot net changed: What|Removed |Added

[Bug c/28287] [4.1 regression] ICE with misplaced attribute weak

2006-08-15 Thread dannysmith at users dot sourceforge dot net
--- Comment #8 from dannysmith at users dot sourceforge dot net 2006-08-15 21:49 --- Fixed on trunk -- dannysmith at users dot sourceforge dot net changed: What|Removed |Added

[Bug c/28287] [4.1/4.2 regression] ICE with misplaced attribute weak

2006-08-14 Thread dannysmith at users dot sourceforge dot net
--- Comment #3 from dannysmith at users dot sourceforge dot net 2006-08-14 23:29 --- Patch at: http://gcc.gnu.org/ml/gcc-patches/2006-08/msg00473.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28287

[Bug c++/28705] New: ICE: in type_dependent_expression_p, at cp/pt.c:12837

2006-08-12 Thread dannysmith at users dot sourceforge dot net
Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dannysmith at users dot sourceforge dot net GCC build triplet: i386-pc-mingw32 GCC host triplet: i386-pc-mingw32 GCC target triplet: i386-pc-mingw32 http://gcc.gnu.org/bugzilla

[Bug target/28648] New: [4.2.0 regression] ICE with invalid dllimport attribute

2006-08-08 Thread dannysmith at users dot sourceforge dot net
Keywords: ice-checking Severity: normal Priority: P3 Component: target AssignedTo: dannysmith at users dot sourceforge dot net ReportedBy: dannysmith at users dot sourceforge dot net GCC host triplet: i386-pc-mingw32 http://gcc.gnu.org/bugzilla

[Bug target/28648] [4.2.0 regression] ICE with invalid dllimport attribute

2006-08-08 Thread dannysmith at users dot sourceforge dot net
--- Comment #1 from dannysmith at users dot sourceforge dot net 2006-08-08 09:08 --- Patch at: http://gcc.gnu.org/ml/gcc-patches/2006-08/msg00200.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28648

[Bug target/28629] Segfault with --march=pentium-m -O2 when compiling faac

2006-08-07 Thread dannysmith at users dot sourceforge dot net
--- Comment #6 from dannysmith at users dot sourceforge dot net 2006-08-07 21:04 --- (In reply to comment #2) (In reply to comment #0) precisely, the bug can be reproduced with a combination of --march=pentium-m (or --march=pentium3 -msse2), -mfpmath=sse,387, and any optimization

[Bug target/28627] New: [cygwin/mingw32] Missing dllimport diagnostic

2006-08-06 Thread dannysmith at users dot sourceforge dot net
] Missing dllimport diagnostic Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: target AssignedTo: dannysmith at users dot sourceforge dot net

[Bug c++/28567] [cygwin] ICE in eh_alloc.cc on 'make install'

2006-08-02 Thread dannysmith at users dot sourceforge dot net
--- Comment #2 from dannysmith at users dot sourceforge dot net 2006-08-02 09:56 --- --disable-sjlj-exceptions in your configure options will cause serious problems on cygwin unless you also provide support for enabling Dwarf2 EH frame. Danny -- http://gcc.gnu.org/bugzilla

[Bug target/28427] warning: alignment of '__FUNCTION__' is greater than maximum object file alignment.

2006-07-20 Thread dannysmith at users dot sourceforge dot net
--- Comment #3 from dannysmith at users dot sourceforge dot net 2006-07-20 08:06 --- config/i386/i386.c: ix86_data_alignment uses the magic number 256 as max_align (except with -Os). However, MAX_OFILE_ALIGNMENT defaulted to BIGGEST_ALIGNMENT windows32 targets. The PE COFF spec

[Bug target/28427] warning: alignment of '__FUNCTION__' is greater than maximum object file alignment.

2006-07-19 Thread dannysmith at users dot sourceforge dot net
--- Comment #1 from dannysmith at users dot sourceforge dot net 2006-07-20 02:31 --- The bug appears to be that subtarget is just too mean with MAX_OFILE_ALIGNMENT. Testing some (much) larger values. Danny -- dannysmith at users dot sourceforge dot net changed: What

[Bug middle-end/28427] New: warning: alignment of '__FUNCTION__' is greater than maximum object file alignment.

2006-07-18 Thread dannysmith at users dot sourceforge dot net
dot sourceforge dot net GCC build triplet: i686-pc-mingw32 GCC host triplet: i686-pc-mingw32 GCC target triplet: i686-pc-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28427

[Bug libstdc++/24196] Using string instances to pass arguments to dlls fails

2006-07-05 Thread dannysmith at users dot sourceforge dot net
--- Comment #17 from dannysmith at users dot sourceforge dot net 2006-07-06 01:06 --- On mingw32 the testcase will succeed on trunk if libstdc++ (and libgcc) are built as dlls. Wouldn't that be the preferred solution? It also solves very similar problems with EH data. Danny

[Bug c++/20345] Warning on forward declaration of class with __dllexport__

2006-06-29 Thread dannysmith at users dot sourceforge dot net
--- Comment #1 from dannysmith at users dot sourceforge dot net 2006-06-30 02:29 --- Confirming -- dannysmith at users dot sourceforge dot net changed: What|Removed |Added

[Bug c++/20345] Warning on forward declaration of class with __dllexport__

2006-06-29 Thread dannysmith at users dot sourceforge dot net
--- Comment #2 from dannysmith at users dot sourceforge dot net 2006-06-30 02:31 --- ... and closing. Fixed by http://gcc.gnu.org/ml/gcc-patches/2006-06/msg01511.html Thanks Jason. Danny -- dannysmith at users dot sourceforge dot net changed: What|Removed

[Bug target/12477] Request to add ability to disable inline/dllimport warnings

2006-06-29 Thread dannysmith at users dot sourceforge dot net
--- Comment #11 from dannysmith at users dot sourceforge dot net 2006-06-30 02:42 --- On today's trunk, your example no longer gives warnings. Instead it compiles, then fails with: C:\tmpG++ -Wall -W test.cpp c:\tmp/ccOGb2M9.o:test.cpp:(.text+0x1e): undefined reference

[Bug c++/15774] Conflicting function decls not diagnosed

2006-06-29 Thread dannysmith at users dot sourceforge dot net
-- dannysmith at users dot sourceforge dot net changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |dannysmith at users dot |dot org

[Bug libfortran/28184] time intrinsics resolution only one second

2006-06-28 Thread dannysmith at users dot sourceforge dot net
--- Comment #1 from dannysmith at users dot sourceforge dot net 2006-06-28 09:52 --- The mingw runtime library now has a gettimeofday function which should give resolution to usec. When libgfortran is configured with the latest mingw runtime package, gettimeofday is found and used

[Bug java/28153] Under Windows Xp the generated JNI headers need to have a '_' prepended for each function.

2006-06-26 Thread dannysmith at users dot sourceforge dot net
--- Comment #3 from dannysmith at users dot sourceforge dot net 2006-06-26 21:21 --- I think you may be running into a compiler (MSVC vs GNUC) difference between handling of __stdcall (==JNICALL) symbols. For a function void __stdcall foo (int), both MSVC and GNUC generate

[Bug java/28153] Under Windows Xp the generated JNI headers need to have a '_' prepended for each function.

2006-06-26 Thread dannysmith at users dot sourceforge dot net
--- Comment #4 from dannysmith at users dot sourceforge dot net 2006-06-26 22:26 --- (In reply to comment #3) I think you may be running into a compiler (MSVC vs GNUC) difference between handling of __stdcall (==JNICALL) symbols. Um, and this should all be taken care

[Bug target/27789] [4.2 Regression] attribute handling fallout from DECL_INITIAL changes

2006-06-23 Thread dannysmith at users dot sourceforge dot net
--- Comment #5 from dannysmith at users dot sourceforge dot net 2006-06-23 08:27 --- Patch committed to trunk. Danny -- dannysmith at users dot sourceforge dot net changed: What|Removed |Added

[Bug c/27948] New: MS -bitfield struct layout test fails

2006-06-08 Thread dannysmith at users dot sourceforge dot net
Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dannysmith at users dot sourceforge dot net GCC build triplet: i686-pc-mingw32 GCC host triplet: i686-pc-mingw32 GCC target triplet: i686-pc-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug target/27789] [4.2 Regression] attribute handling fallout from DECL_INITIAL changes

2006-06-08 Thread dannysmith at users dot sourceforge dot net
--- Comment #3 from dannysmith at users dot sourceforge dot net 2006-06-08 10:29 --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2006-06/msg00389.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27789

[Bug middle-end/27948] [4.2 Regression] MS -bitfield struct layout test fails

2006-06-08 Thread dannysmith at users dot sourceforge dot net
--- Comment #2 from dannysmith at users dot sourceforge dot net 2006-06-08 22:32 --- (In reply to comment #1) Can you get me the size of that structure according to MS VC? With version 12.00.8804 of MS cl.exe, sizeof (struct six) == 8, as tested in the testcase. Danny -- http

[Bug bootstrap/25502] Werror problem in build

2006-06-04 Thread dannysmith at users dot sourceforge dot net
--- Comment #7 from dannysmith at users dot sourceforge dot net 2006-06-04 11:02 --- In my local tree (and in the 3.4.x mingw tree), I have added a modification and extension of this patch: http://gcc.gnu.org/ml/gcc-patches/2004-11/msg02296.html I plan to follow up in stage 1 of 4.3

[Bug target/27789] [4.2 Regression] attribute handling fallout from DECL_INITIAL changes

2006-05-30 Thread dannysmith at users dot sourceforge dot net
--- Comment #1 from dannysmith at users dot sourceforge dot net 2006-05-30 22:33 --- Working on it. Danny -- dannysmith at users dot sourceforge dot net changed: What|Removed |Added

[Bug target/27650] internal compiler error while compiling Gecode

2006-05-29 Thread dannysmith at users dot sourceforge dot net
--- Comment #6 from dannysmith at users dot sourceforge dot net 2006-05-29 22:23 --- Patch at: http://gcc.gnu.org/ml/gcc-patches/2006-05/msg01504.html Danny -- dannysmith at users dot sourceforge dot net changed: What|Removed |Added

[Bug target/27789] New: attribute handling fallout from DECL_INITIAL changes

2006-05-28 Thread dannysmith at users dot sourceforge dot net
: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dannysmith at users dot sourceforge dot net GCC build triplet: i686-pc-mingw32 GCC host triplet: i686-pc

[Bug c++/27650] internal compiler error while compiling Gecode

2006-05-22 Thread dannysmith at users dot sourceforge dot net
--- Comment #5 from dannysmith at users dot sourceforge dot net 2006-05-22 21:19 --- This is a dllimport bug. Dllimports do not have constant address. Hence class vtable cannot contain a method with dllimport attribute I am working on a patch. Here is reduced testcase

[Bug c++/27650] internal compiler error while compiling Gecode

2006-05-22 Thread dannysmith at users dot sourceforge dot net
-- dannysmith at users dot sourceforge dot net changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1

[Bug target/27067] Compile errors with multiple inheritance where the stdcall attribute is applied to virtual functions.

2006-04-15 Thread dannysmith at users dot sourceforge dot net
--- Comment #1 from dannysmith at users dot sourceforge dot net 2006-04-16 05:14 --- The DECL_ASSEMBLER_NAMES of these stdcall virtaul methods do not get decorated in time for cp/method.c:make_alias_for_thunk. (cf this comment in varasm.c: find_decl_and_mark_needed: /* We can't

[Bug libfortran/23138] [mingw32] real values are printed incorrectly

2005-11-04 Thread dannysmith at users dot sourceforge dot net
--- Comment #9 from dannysmith at users dot sourceforge dot net 2005-11-04 09:15 --- Hello, mingw has an implementation of _IO_ldtoa() and _IO_ldtostr(), based on Stephen Moshier's ioldoubl package, that could be used. Currently, the ldtoa function is not exposed

[Bug target/22017] [3.4/4.0/4.1 Regression] Error to pass struct parameter when compile with mingw's gcc.exe using -march=i386 -mrtd flags

2005-10-30 Thread dannysmith at users dot sourceforge dot net
--- Comment #7 from dannysmith at users dot sourceforge dot net 2005-10-31 04:30 --- This is an i386 bug, not specific to MS windows target. However, it is only a problem with -mtune=i386 -mrtd. Danny -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22017

[Bug c++/24439] New: ICE with invert conditional containing throw

2005-10-18 Thread dannysmith at users dot sourceforge dot net
org ReportedBy: dannysmith at users dot sourceforge dot net GCC build triplet: i386-pc-mingw32 GCC host triplet: i386-pc-mingw32 GCC target triplet: i386-pc-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24439

[Bug target/21275] [4.0 Regression] gcc 4.0.0 crash with mingw when using stdout in global var

2005-10-15 Thread dannysmith at users dot sourceforge dot net
--- Comment #18 from dannysmith at users dot sourceforge dot net 2005-10-15 22:43 --- (In reply to comment #17) Danny, is it possible to have a less invadent fix for the 4.0 branch? Something hackish that can get the bug fixed just for the branch... I'll have a look when I have

[Bug target/21081] [4.0/4.1 Regression] internal compiler error: verify_stmts failed.

2005-10-12 Thread dannysmith at users dot sourceforge dot net
--- Comment #18 from dannysmith at users dot sourceforge dot net 2005-10-12 20:56 --- Fixed in trunk. http://gcc.gnu.org/ml/gcc-cvs/2005-10/msg00474.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21081

[Bug target/21275] [4.0/4.1 Regression] gcc 4.0.0 crash with mingw when using stdout in global var

2005-10-12 Thread dannysmith at users dot sourceforge dot net
--- Comment #15 from dannysmith at users dot sourceforge dot net 2005-10-12 20:58 --- Fixed on trunk. http://gcc.gnu.org/ml/gcc-cvs/2005-10/msg00474.html Danny -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21275

[Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin

2005-10-12 Thread dannysmith at users dot sourceforge dot net
--- Comment #31 from dannysmith at users dot sourceforge dot net 2005-10-12 20:58 --- Fixed on trunk. http://gcc.gnu.org/ml/gcc-cvs/2005-10/msg00474.html Danny -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21766

[Bug target/23589] internal compiler error: in rest_of_handle_final, at toplev.c:2067

2005-10-12 Thread dannysmith at users dot sourceforge dot net
--- Comment #6 from dannysmith at users dot sourceforge dot net 2005-10-12 20:59 --- Fixed on trunk. http://gcc.gnu.org/ml/gcc-cvs/2005-10/msg00474.html Danny -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23589

[Bug target/19704] ICE for tail call of regparm 3 and dllimport

2005-10-12 Thread dannysmith at users dot sourceforge dot net
--- Comment #7 from dannysmith at users dot sourceforge dot net 2005-10-12 21:03 --- Now fixed on trunk for C++ too. http://gcc.gnu.org/ml/gcc-cvs/2005-10/msg00474.html Danny -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19704

[Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin

2005-10-11 Thread dannysmith at users dot sourceforge dot net
--- Comment #29 from dannysmith at users dot sourceforge dot net 2005-10-11 08:01 --- Updated patch here. http://gcc.gnu.org/ml/gcc-patches/2005-10/msg00565.html Danny -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21766

[Bug middle-end/21597] [4.1 Regression] libgcc broken on targets with MKDIR_TAKES_ONE_ARG

2005-10-11 Thread dannysmith at users dot sourceforge dot net
--- Comment #7 from dannysmith at users dot sourceforge dot net 2005-10-12 01:01 --- (In reply to comment #6) Is this still broken? No. It was fixed by this: 2005-07-13 H.J. Lu [EMAIL PROTECTED] * config/alpha/linux.h (TARGET_HAS_F_SETLKW): Renamed

[Bug libfortran/23803] [mingw32] getlog malfunction

2005-09-14 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-09-14 23:53 --- (In reply to comment #0) mingw sets the USERNAME environment variable, we should use it to provide a getlog procedure. NT and later set USERNAME by default. win95, win98 do not. The var may

[Bug target/23589] internal compiler error: in rest_of_handle_final, at toplev.c:2067

2005-08-26 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-08-27 04:44 --- Thisis a dllimport bug. In this case the template member template class pointIterator Point::Point(pointIterator ptStart, pointIterator ptStop) is being marked as dllimport. Later

[Bug libfortran/23380] [mingw32] cpu_time intrinsic malfunction

2005-08-14 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-08-14 07:29 --- I don't know why you say that MingW claims to have a HAVE_TIMES. It doesn't. To get process times on mingw we need to use the win32api function GetProcessTimes. This is available on NT4

[Bug libfortran/23380] [mingw32] cpu_time intrinsic malfunction

2005-08-14 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-08-14 20:56 --- From my libgfortran/config.h, configured with --host=mingw32 --target=mingw32 and mingw runtime as distributed by mingw.org /* Define to 1 if you have the `getrusage' function. */ /* #undef

[Bug libfortran/23138] real-values print and add incorrectly (version 4.1.0 20050702, i686-pc-mingw32)

2005-07-30 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-07-31 00:56 --- This may be the problem: In mk-kinds-h.sh: case $largest_ctype in float) echo #define GFC_REAL_LARGEST_FORMAT \\ ;; double) echo #define GFC_REAL_LARGEST_FORMAT \l\ ;; long double) echo

[Bug libstdc++/22388] When cross-compiling libstdc++ for mingw, enable large file support (LFS)

2005-07-09 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-07-09 23:11 --- mingw runtime does not have struct stat64 or fstat64(), so this define is not correct. In fact the native build of libstdc++ fails the _GLIBCXX_USE_LFS configure test. (mingwt does have

[Bug libgcj/22338] Mingw: ar case insensitive, libgcj members missing

2005-07-07 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-07-07 07:56 --- Duplicate of PR 20654 libtool patch at: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg02804.html Danny -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22338

[Bug bootstrap/22259] [4.1 Regression] spawnv cannot execute gcc/as

2005-07-01 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-07-02 02:49 --- A workaround is to specify the full path to as in configure script, eg --with-as=/mingw/bin/as.exe --with-ld=/mingw.bin/ld.exe -- with /nm=/mingw/bin/ld.exe Danny -- http://gcc.gnu.org

[Bug ada/20515] stdcall imports are not handled correctly

2005-06-25 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-06-25 12:20 --- The patch that was committed to fix this is wrong. #ifdef TARGET_DLLIMPORT_DECL_ATTRIBUTES is always true. It is defined to 0 for non-dll targets in defaults.h. Why not make this a runtime

[Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin

2005-06-13 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-06-13 22:05 --- The patch is still not correct. It doesn't handle dllimport override semantics. See g++.dg/ext/dllimport-3.C which fails because TREE_INVARIANT and TREE_CONSTANT change when we lose

[Bug target/22017] Error to pass struct parameter when compile with mingw's gcc.exe using -march=i386 -mrtd flags

2005-06-12 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-06-12 09:39 --- Hi, This is what is says in the comments above i386/i386.c: ix86_return_pop_args: FUNDECL is the declaration node of the function (as a tree), FUNTYPE is the data type of the function

[Bug target/22017] Error to pass struct parameter when compile with mingw's gcc.exe using -march=i386 -mrtd flags

2005-06-11 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-06-12 05:18 --- Hi, I think the problem is that st.m_i = 1; st.m_ch[0] = 0; causes gcc to generate a call to the library memcpy. Since the -mrtd switch is in effect, the call is generated

[Bug middle-end/21597] [4.1 Regression] libgcc broken on targets with MKDIR_TAKES_ONE_ARG

2005-06-09 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-06-09 20:33 --- Re; comment #4 There should be no need te test for io.h for the sake of mingw libgcov.c already includes tsystem.h tsystem.h includes unistd.h. On mingw, unistd.h includes io.h Danny

[Bug bootstrap/19607] Build fails on MSYS/MingGW because of incorrect SYSTEM_HEADER_DIR

2005-06-09 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-06-09 20:41 --- The patch is not right. mingw doesn't have a NATIVE_SYSTEM_HEADER_DIR. Header dirs are found relative to the path to the gcc.exe bin directory, so specifying /mingw/include

[Bug bootstrap/19607] Build fails on MSYS/MingGW because of incorrect SYSTEM_HEADER_DIR

2005-06-09 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-06-10 03:03 --- Re:Comment #4 Does mount win32_path_to mingw_include_dir /usr/include work with MSYS? Or just create an empty /usr/include Danny -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19607

[Bug middle-end/21275] [4.0/4.1 Regression] gcc 4.0.0 crash with mingw when using stdout in global var

2005-06-01 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-06-01 21:02 --- The patch referred to in comment #9 had missing hunks. Complete patch here: http://gcc.gnu.org/ml/gcc-patches/2005-05/msg02945.html Danny -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug libgcj/21754] ./libtool: /mingw/bin/ar: Invalid argument

2005-05-31 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-05-31 09:45 --- Try changing --enable-shared to --disable-shared when configuring. Building shared libgcj with libtool doesn't really work on windows targets. You could try using Mohan Embars scripts

[Bug c++/19761] -Winit-self doesn't work anymore

2005-05-30 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-05-30 21:03 --- I can't reproduce this with either gcc-3.4.4 or 4.0.0 on mingw The example gives the warning warning: 'i' might be used uninitialized in this function iff I add -Winit-self

[Bug fastjar/21826] fastjar does not look to see if mkdir takes one or two arguments

2005-05-30 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-05-31 01:22 --- The MKDIR_TAKES_ONE_ARG that is defined for mingw in auto-host.h is a host define. In jartool.c (and in libgcc files - cf PR/21597) we need a target define. Perhap targets such as mingw

[Bug gcov/profile/21810] -pg causes libexpat code to crash

2005-05-29 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-05-30 02:55 --- Hello, this is a mingw runtime bug. The mingw version of mcount does not take enough care with saving call-clobbered registers. Please close this bug and submit to mingw.org. Danny

[Bug middle-end/21275] [4.0/4.1 Regression] gcc 4.0.0 crash with mingw when using stdout in global var

2005-05-26 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-05-26 21:01 --- New patch submitted here: http://gcc.gnu.org/ml/gcc-patches/2005-05/msg02543.html Danny -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21275

[Bug bootstrap/21683] [Regression] build failure on i386-mingw (sys/wait.h header)

2005-05-20 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-05-20 21:17 --- A patch was submitted here: http://gcc.gnu.org/ml/gcc-patches/2005-05/msg01794.html and a different one here: http://gcc.gnu.org/ml/gcc-patches/2005-05/msg02074.html Danny -- http

[Bug target/19704] ICE for tail call of regparm 3 and dllimport

2005-05-16 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-05-16 07:52 --- The patch in comment #3 isn't sufficient for cases where C++ class members get their dllimport status from attribute applied to class type, rather than from explicit attribute on the member

[Bug target/21597] New: libgcc broken on targets with MKDIR_TAKES_ONE_ARG

2005-05-15 Thread dannysmith at users dot sourceforge dot net
: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dannysmith at users dot sourceforge dot net CC: gcc-bugs at gcc dot gnu dot org GCC build

[Bug c++/21447] internal compiler error: output_operand

2005-05-12 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-05-12 10:14 --- (In reply to comment #4) The patch for 21275 failed to take care of C++ class members which inherit a dllimport attribute from the class type definition. Here is a C++ testcase: struct

[Bug c/21275] [4.0/4.1 Regression] gcc 4.0.0 crash with mingw when using stdout in global var

2005-05-01 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-05-01 08:00 --- Patch at: http://gcc.gnu.org/ml/gcc-patches/2005-05/msg9.html Danny -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21275

[Bug c/21275] gcc 4.0.0 crash with mingw when using stdout in global var

2005-04-30 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-04-30 09:08 --- Oops, I reduced the code in comment #1 too much. This shows the problem. //dllimport_array.C // This causes 'initializer element is not constant' error in C

[Bug c/21275] gcc 4.0.0 crash with mingw when using stdout in global var

2005-04-29 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-04-29 06:11 --- Here is reduced testcase: // int attribute ((dllimport)) foo; extern int* _imp__foo; int a = *_imp__foo; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21275

[Bug ada/20515] stdcall imports are not handled correctly

2005-04-07 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-04-07 08:29 --- So, what about the proposal on #4 ? OK with me. Danny -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20515

[Bug libstdc++/20806] New: basic_filebuf::xsgetn() fails with text mode and

2005-04-07 Thread dannysmith at users dot sourceforge dot net
ReportedBy: dannysmith at users dot sourceforge dot net CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-mingw32 GCC host triplet: i686-pc-mingw32 GCC target triplet: i686-pc-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20806

[Bug libstdc++/20806] basic_filebuf::xsgetn() fails with text mode and DOS line endings and large buffers

2005-04-07 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-04-07 08:35 --- This optimization in basic_filebuf::xsgetn() causes problems on DOS based file sytstem when ifstreams are opened in text mode (\r\n line endings) and the user suppled buffer length exceeds

[Bug libgcj/20654] exception.o is not included in libgcj.a due to case-insensitivity

2005-03-28 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-03-28 08:38 --- See also PR20160 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20160 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20654

[Bug other/20594] Building AVR cross compiler: cannot build libgcc2

2005-03-26 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-03-26 20:41 --- -I. -I -I../../gcc-3.4.3/gcc -I../../gcc-3.4.3/gcc/ ^^ This looks a lot like PR12974 See comment #19 There may be a second problem here

[Bug ada/19526] Windows errorcodes wrong in Ada when tasking

2005-03-19 Thread dannysmith at users dot sourceforge dot net
--- Additional Comments From dannysmith at users dot sourceforge dot net 2005-03-19 11:14 --- IMO, resetting the error code set by the kernel whenever the internal Ada tasking functions are called successfully is a bug. It can be easily fixed: * s-osinte-mingw.ads

<    1   2   3   4   >