public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/29826]  New: __attribute__ dllimport makes optimization crash on cygwin
@ 2006-11-14  9:03 Denis dot Excoffier at airbus dot com
  2006-11-14 11:39 ` [Bug c/29826] " Denis dot Excoffier at airbus dot com
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: Denis dot Excoffier at airbus dot com @ 2006-11-14  9:03 UTC (permalink / raw)
  To: gcc-bugs

the exact version of GCC is 4.1.1
the system type is i686-pc-cygwin
the options given when GCC was configured/built:
  --prefix=/tmp/local/unixutil/gcc-4.1.1
  --with-local-prefix=/usr/local/myCompanyName
  ("myCompanyName" is not the exact wording)
  (also, there is a symlink /tmp/local/unixutil/gcc -> gcc-4.1.1)
the complete command line that triggers the bug:
  /tmp/local/unixutil/gcc/bin/gcc -O -Wall -Wextra -c zim.c
the compiler output (error messages, warnings, etc.):
  stdout: nothing
  stderr:
    zim.c: In function 'ffff':
    zim.c:16: error: unrecognizable insn:
    (insn 20 19 21 2 (set (reg:SI 66)
            (const:SI (plus:SI (mem:SI (symbol_ref:SI ("#i.vvvv") <var_decl
0x194500b0 vvvv>) [0 S4 A8])
                    (const_int 4 [0x4])))) -1 (nil)
        (nil))
    zim.c:16: internal compiler error: in extract_insn, at recog.c:2084
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://gcc.gnu.org/bugs.html> for instructions.
  zim.o: not created
the preprocessed file: see below
additional remarks:
  1) if "-O" is removed, all seems OK
  2) if "__attribute__((dllimport))" is removed, all seems OK
  3) if "-Wall" or "-Wextra" is removed, no change (still crash)


---zim.i-----------------------------------------------------
# 1 "zim.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "zim.c"
struct ssss {
  const char *xxxx1;
  const char *xxxx2;
};

extern __attribute__((dllimport)) struct ssss vvvv[];

int zzzz();

int ffff() {
  int i;
  for (i = 0; i < 2; i++) {
    zzzz(vvvv[i].xxxx2);
  };
  return(0);
};
-------------------------------------------------------------


-- 
           Summary: __attribute__ dllimport makes optimization crash on
                    cygwin
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Denis dot Excoffier at airbus dot com
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin


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


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug c/29826] __attribute__ dllimport makes optimization crash on cygwin
  2006-11-14  9:03 [Bug c/29826] New: __attribute__ dllimport makes optimization crash on cygwin Denis dot Excoffier at airbus dot com
@ 2006-11-14 11:39 ` Denis dot Excoffier at airbus dot com
  2006-11-25  2:33 ` [Bug target/29826] " pinskia at gcc dot gnu dot org
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Denis dot Excoffier at airbus dot com @ 2006-11-14 11:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from Denis dot Excoffier at airbus dot com  2006-11-14 11:39 -------
To be connected to Bug 29825.


-- 


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


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/29826] __attribute__ dllimport makes optimization crash on cygwin
  2006-11-14  9:03 [Bug c/29826] New: __attribute__ dllimport makes optimization crash on cygwin Denis dot Excoffier at airbus dot com
  2006-11-14 11:39 ` [Bug c/29826] " Denis dot Excoffier at airbus dot com
@ 2006-11-25  2:33 ` pinskia at gcc dot gnu dot org
  2006-11-25  2:37 ` pinskia at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-25  2:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-11-25 02:33 -------
(In reply to comment #1)
> To be connected to Bug 29825.

No that is unrelated.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |target


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


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/29826] __attribute__ dllimport makes optimization crash on cygwin
  2006-11-14  9:03 [Bug c/29826] New: __attribute__ dllimport makes optimization crash on cygwin Denis dot Excoffier at airbus dot com
  2006-11-14 11:39 ` [Bug c/29826] " Denis dot Excoffier at airbus dot com
  2006-11-25  2:33 ` [Bug target/29826] " pinskia at gcc dot gnu dot org
@ 2006-11-25  2:37 ` pinskia at gcc dot gnu dot org
  2006-11-25  3:08 ` pinskia at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-25  2:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-11-25 02:37 -------
This is related to PR 27924 and I bet really a dup.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |27924


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


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/29826] __attribute__ dllimport makes optimization crash on cygwin
  2006-11-14  9:03 [Bug c/29826] New: __attribute__ dllimport makes optimization crash on cygwin Denis dot Excoffier at airbus dot com
                   ` (2 preceding siblings ...)
  2006-11-25  2:37 ` pinskia at gcc dot gnu dot org
@ 2006-11-25  3:08 ` pinskia at gcc dot gnu dot org
  2006-11-25  4:14 ` pinskia at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-25  3:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-11-25 03:08 -------
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
  GCC build triplet|i686-pc-cygwin              |
   GCC host triplet|i686-pc-cygwin              |
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |4.3.0
   Last reconfirmed|0000-00-00 00:00:00         |2006-11-25 03:08:35
               date|                            |


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


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/29826] __attribute__ dllimport makes optimization crash on cygwin
  2006-11-14  9:03 [Bug c/29826] New: __attribute__ dllimport makes optimization crash on cygwin Denis dot Excoffier at airbus dot com
                   ` (3 preceding siblings ...)
  2006-11-25  3:08 ` pinskia at gcc dot gnu dot org
@ 2006-11-25  4:14 ` pinskia at gcc dot gnu dot org
  2007-02-22  1:32 ` dannysmith at users dot sourceforge dot net
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-25  4:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-11-25 04:13 -------
*** Bug 27924 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Harmon dot Nine at gmail dot
                   |                            |com
Bug 29826 depends on bug 27924, which changed state.

Bug 27924 Summary: internal compiler error: extract_insn, while compiling Gecode
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27924

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE

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


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/29826] __attribute__ dllimport makes optimization crash on cygwin
  2006-11-14  9:03 [Bug c/29826] New: __attribute__ dllimport makes optimization crash on cygwin Denis dot Excoffier at airbus dot com
                   ` (4 preceding siblings ...)
  2006-11-25  4:14 ` pinskia at gcc dot gnu dot org
@ 2007-02-22  1:32 ` dannysmith at users dot sourceforge dot net
  2007-03-20 15:20 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2007-02-22  1:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from dannysmith at users dot sourceforge dot net  2007-02-22 01:32 -------
This testcase and the one in 27924 now compile successfully on

gcc version 4.2.0 20070218 (prerelease)
and
gcc version 4.3.0 20070218 (experimental)

on i686-pc-mingw32
Danny


-- 


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


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/29826] __attribute__ dllimport makes optimization crash on cygwin
  2006-11-14  9:03 [Bug c/29826] New: __attribute__ dllimport makes optimization crash on cygwin Denis dot Excoffier at airbus dot com
                   ` (5 preceding siblings ...)
  2007-02-22  1:32 ` dannysmith at users dot sourceforge dot net
@ 2007-03-20 15:20 ` pinskia at gcc dot gnu dot org
  2007-03-20 15:21 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-03-20 15:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2007-03-20 15:20 -------
*** Bug 31275 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arcangelpip at hotmail dot
                   |                            |com


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


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/29826] __attribute__ dllimport makes optimization crash on cygwin
  2006-11-14  9:03 [Bug c/29826] New: __attribute__ dllimport makes optimization crash on cygwin Denis dot Excoffier at airbus dot com
                   ` (6 preceding siblings ...)
  2007-03-20 15:20 ` pinskia at gcc dot gnu dot org
@ 2007-03-20 15:21 ` pinskia at gcc dot gnu dot org
  2007-03-25 17:20 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-03-20 15:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from pinskia at gcc dot gnu dot org  2007-03-20 15:21 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.2.0


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


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/29826] __attribute__ dllimport makes optimization crash on cygwin
  2006-11-14  9:03 [Bug c/29826] New: __attribute__ dllimport makes optimization crash on cygwin Denis dot Excoffier at airbus dot com
                   ` (7 preceding siblings ...)
  2007-03-20 15:21 ` pinskia at gcc dot gnu dot org
@ 2007-03-25 17:20 ` pinskia at gcc dot gnu dot org
  2007-04-03  8:54 ` dannysmith at users dot sourceforge dot net
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-03-25 17:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from pinskia at gcc dot gnu dot org  2007-03-25 19:20 -------
*** Bug 31347 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |terminatorul at gmail dot
                   |                            |com


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


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/29826] __attribute__ dllimport makes optimization crash on cygwin
  2006-11-14  9:03 [Bug c/29826] New: __attribute__ dllimport makes optimization crash on cygwin Denis dot Excoffier at airbus dot com
                   ` (8 preceding siblings ...)
  2007-03-25 17:20 ` pinskia at gcc dot gnu dot org
@ 2007-04-03  8:54 ` dannysmith at users dot sourceforge dot net
  2007-04-05 12:21 ` arcangelpip at hotmail dot com
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2007-04-03  8:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from dannysmith at users dot sourceforge dot net  2007-04-03 09:54 -------
*** Bug 31457 has been marked as a duplicate of this bug. ***


-- 

dannysmith at users dot sourceforge dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |henman at it dot to-be dot
                   |                            |co dot jp


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


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/29826] __attribute__ dllimport makes optimization crash on cygwin
  2006-11-14  9:03 [Bug c/29826] New: __attribute__ dllimport makes optimization crash on cygwin Denis dot Excoffier at airbus dot com
                   ` (9 preceding siblings ...)
  2007-04-03  8:54 ` dannysmith at users dot sourceforge dot net
@ 2007-04-05 12:21 ` arcangelpip at hotmail dot com
  2007-04-17 15:03 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: arcangelpip at hotmail dot com @ 2007-04-05 12:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from arcangelpip at hotmail dot com  2007-04-05 13:21 -------
I'm sorry to drag this back up again, but it happened again on 4.2.
Again it is with the gettext package which seems to love me so much.

Using built-in specs.
Target: i686-pc-mingw32
Configured with: ../gcc-4.2/configure --prefix=/crosstools/gccwin
--target=i686-pc-mingw32 --enable-shared --enable-threads --disable-multilib
--disable-nls --enable-languages=c,c++,ada,fortran,objc,obj-c++ --enable-c99
--enable-long-long --enable-sjlj-exceptions --enable-libada --enable-boehm-gc
Thread model: win32
gcc version 4.2.0 20070403 (prerelease)

It ICEs with the following.

make[4]: Entering directory `/mnt/hd2/build/gettextbuild/gettext-tools/src'
/bin/sh ../libtool --tag=CC   --mode=compile i686-pc-mingw32-gcc
-DLOCALEDIR=\"/crosstools/gccwin/share/locale\"
-DBISON_LOCALEDIR=\"/usr/share/locale\"
-DLOCALE_ALIAS_PATH=\"/crosstools/gccwin/share/locale\" -DUSEJEXE=0
-DGETTEXTJEXEDIR=\"/crosstools/gccwin/lib/gettext\"
-DGETTEXTJAR=\"/crosstools/gccwin/share/gettext/gettext.jar\"
-DLIBDIR=\"/crosstools/gccwin/lib\"
-DGETTEXTDATADIR=\"/crosstools/gccwin/share/gettext\"
-DPROJECTSDIR=\"/crosstools/gccwin/share/gettext/projects\" -DHAVE_CONFIG_H -I.
-I.. -I../../../gettext-0.16.1/gettext-tools/src  -I.
-I../../../gettext-0.16.1/gettext-tools/src -I..
-I../../../gettext-0.16.1/gettext-tools
-I../../../gettext-0.16.1/gettext-tools/libgrep
-I../../../gettext-0.16.1/gettext-tools/libuniname -I../gnulib-lib
-I../../../gettext-0.16.1/gettext-tools/gnulib-lib -I../intl
-I../../../gettext-0.16.1/gettext-tools/../gettext-runtime/intl
-I/crosstools/gccwin/include  -g -O2 -c -o msgl-check.lo
../../../gettext-0.16.1/gettext-tools/src/msgl-check.c
 i686-pc-mingw32-gcc -DLOCALEDIR=\"/crosstools/gccwin/share/locale\"
-DBISON_LOCALEDIR=\"/usr/share/locale\"
-DLOCALE_ALIAS_PATH=\"/crosstools/gccwin/share/locale\" -DUSEJEXE=0
-DGETTEXTJEXEDIR=\"/crosstools/gccwin/lib/gettext\"
-DGETTEXTJAR=\"/crosstools/gccwin/share/gettext/gettext.jar\"
-DLIBDIR=\"/crosstools/gccwin/lib\"
-DGETTEXTDATADIR=\"/crosstools/gccwin/share/gettext\"
-DPROJECTSDIR=\"/crosstools/gccwin/share/gettext/projects\" -DHAVE_CONFIG_H -I.
-I.. -I../../../gettext-0.16.1/gettext-tools/src -I.
-I../../../gettext-0.16.1/gettext-tools/src -I..
-I../../../gettext-0.16.1/gettext-tools
-I../../../gettext-0.16.1/gettext-tools/libgrep
-I../../../gettext-0.16.1/gettext-tools/libuniname -I../gnulib-lib
-I../../../gettext-0.16.1/gettext-tools/gnulib-lib -I../intl
-I../../../gettext-0.16.1/gettext-tools/../gettext-runtime/intl
-I/crosstools/gccwin/include -g -O2 -c
../../../gettext-0.16.1/gettext-tools/src/msgl-check.c  -DDLL_EXPORT -DPIC -o
.libs/msgl-check.o
../../../gettext-0.16.1/gettext-tools/src/msgl-check.c: In function
'plural_help':
../../../gettext-0.16.1/gettext-tools/src/msgl-check.c:195: error:
unrecognizable insn:
(insn 40 39 41 6 ../../../gettext-0.16.1/gettext-tools/src/msgl-check.c:180
(set (reg:SI 76)
        (const:SI (plus:SI (mem:SI (symbol_ref:SI ("#i.plural_table") <var_decl
0x402449f8 plural_table>) [0 S4 A8])
                (const_int 4 [0x4])))) -1 (nil)
    (nil))
../../../gettext-0.16.1/gettext-tools/src/msgl-check.c:195: internal compiler
error: in extract_insn, at recog.c:2077
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

I configured gettext with

../gettext-0.16.1/configure --prefix=/crosstools/gccwin
--build=i686-pc-linux-gnu --host=i686-pc-mingw32 --disable-java
--disable-native-java --with-libiconv-prefix=/crosstools/gccwin
--disable-threads --disable-openmp

If I am doing anything wrong here I'm open to suggestions.


-- 


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


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/29826] __attribute__ dllimport makes optimization crash on cygwin
  2006-11-14  9:03 [Bug c/29826] New: __attribute__ dllimport makes optimization crash on cygwin Denis dot Excoffier at airbus dot com
                   ` (10 preceding siblings ...)
  2007-04-05 12:21 ` arcangelpip at hotmail dot com
@ 2007-04-17 15:03 ` pinskia at gcc dot gnu dot org
  2007-04-18 13:34 ` arcangelpip at hotmail dot com
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-04-17 15:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from pinskia at gcc dot gnu dot org  2007-04-17 16:03 -------
*** Bug 31595 has been marked as a duplicate of this bug. ***


-- 


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


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/29826] __attribute__ dllimport makes optimization crash on cygwin
  2006-11-14  9:03 [Bug c/29826] New: __attribute__ dllimport makes optimization crash on cygwin Denis dot Excoffier at airbus dot com
                   ` (11 preceding siblings ...)
  2007-04-17 15:03 ` pinskia at gcc dot gnu dot org
@ 2007-04-18 13:34 ` arcangelpip at hotmail dot com
  2007-04-20  6:49 ` dannysmith at users dot sourceforge dot net
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: arcangelpip at hotmail dot com @ 2007-04-18 13:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from arcangelpip at hotmail dot com  2007-04-18 14:34 -------
I'm going to try again since it seems my last post was just ignored.
The test case works fine on 4.2 but it still occurs under some circumstances.
As I stated in my previous post Gettext is where it dies but I can compile the
original test case with no problems.
The compiler I am using is a linux to mingw cross compiler configured as I
stated below. It was built from mondays source with a 4.2 bootstrap compiler
and binutils 2.17.
To reiterate, the simple testcase works fine, but I still have this bug appear
while compiling gettext using the cross compiler targetted at mingw.


-- 


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


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/29826] __attribute__ dllimport makes optimization crash on cygwin
  2006-11-14  9:03 [Bug c/29826] New: __attribute__ dllimport makes optimization crash on cygwin Denis dot Excoffier at airbus dot com
                   ` (12 preceding siblings ...)
  2007-04-18 13:34 ` arcangelpip at hotmail dot com
@ 2007-04-20  6:49 ` dannysmith at users dot sourceforge dot net
  2007-04-20 16:06 ` arcangelpip at hotmail dot com
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2007-04-20  6:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from dannysmith at users dot sourceforge dot net  2007-04-20 07:49 -------
(In reply to comment #13)
> I'm going to try again since it seems my last post was just ignored.
> The test case works fine on 4.2 but it still occurs under some circumstances.

If you provide preprocessed source that reproduces the circumstances , as
suggested,  I will not ignore it.

Danny  


-- 


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


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/29826] __attribute__ dllimport makes optimization crash on cygwin
  2006-11-14  9:03 [Bug c/29826] New: __attribute__ dllimport makes optimization crash on cygwin Denis dot Excoffier at airbus dot com
                   ` (13 preceding siblings ...)
  2007-04-20  6:49 ` dannysmith at users dot sourceforge dot net
@ 2007-04-20 16:06 ` arcangelpip at hotmail dot com
  2007-04-22  1:01 ` dannysmith at users dot sourceforge dot net
  2007-04-23 19:51 ` arcangelpip at hotmail dot com
  16 siblings, 0 replies; 18+ messages in thread
From: arcangelpip at hotmail dot com @ 2007-04-20 16:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from arcangelpip at hotmail dot com  2007-04-20 17:06 -------
Don't you just hate idiots in these cases. (Yes, I am referring to myself here) 
Well, it's completely broken again on my system, look here.

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

I apologise for being less than helpful here.


-- 


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


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/29826] __attribute__ dllimport makes optimization crash on cygwin
  2006-11-14  9:03 [Bug c/29826] New: __attribute__ dllimport makes optimization crash on cygwin Denis dot Excoffier at airbus dot com
                   ` (14 preceding siblings ...)
  2007-04-20 16:06 ` arcangelpip at hotmail dot com
@ 2007-04-22  1:01 ` dannysmith at users dot sourceforge dot net
  2007-04-23 19:51 ` arcangelpip at hotmail dot com
  16 siblings, 0 replies; 18+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2007-04-22  1:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from dannysmith at users dot sourceforge dot net  2007-04-22 02:01 -------
Created an attachment (id=13403)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13403&action=view)
Patch for testcase in 31636

Could you please test the attached patch to tree-ssa-address.c which is a
reversal of a fragment of the reversion of the 4.2.0  TLS emulation patch.  

After I re-re-reverted this patch in my local tree, I see the ICE in your
testcase.

Danny


-- 


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


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug target/29826] __attribute__ dllimport makes optimization crash on cygwin
  2006-11-14  9:03 [Bug c/29826] New: __attribute__ dllimport makes optimization crash on cygwin Denis dot Excoffier at airbus dot com
                   ` (15 preceding siblings ...)
  2007-04-22  1:01 ` dannysmith at users dot sourceforge dot net
@ 2007-04-23 19:51 ` arcangelpip at hotmail dot com
  16 siblings, 0 replies; 18+ messages in thread
From: arcangelpip at hotmail dot com @ 2007-04-23 19:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from arcangelpip at hotmail dot com  2007-04-23 20:51 -------
Yup, that did it. Building the cross compiler with that patch fixed the test
case ICE and the one I kept getting from gettext.


-- 


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


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2007-04-23 19:51 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-14  9:03 [Bug c/29826] New: __attribute__ dllimport makes optimization crash on cygwin Denis dot Excoffier at airbus dot com
2006-11-14 11:39 ` [Bug c/29826] " Denis dot Excoffier at airbus dot com
2006-11-25  2:33 ` [Bug target/29826] " pinskia at gcc dot gnu dot org
2006-11-25  2:37 ` pinskia at gcc dot gnu dot org
2006-11-25  3:08 ` pinskia at gcc dot gnu dot org
2006-11-25  4:14 ` pinskia at gcc dot gnu dot org
2007-02-22  1:32 ` dannysmith at users dot sourceforge dot net
2007-03-20 15:20 ` pinskia at gcc dot gnu dot org
2007-03-20 15:21 ` pinskia at gcc dot gnu dot org
2007-03-25 17:20 ` pinskia at gcc dot gnu dot org
2007-04-03  8:54 ` dannysmith at users dot sourceforge dot net
2007-04-05 12:21 ` arcangelpip at hotmail dot com
2007-04-17 15:03 ` pinskia at gcc dot gnu dot org
2007-04-18 13:34 ` arcangelpip at hotmail dot com
2007-04-20  6:49 ` dannysmith at users dot sourceforge dot net
2007-04-20 16:06 ` arcangelpip at hotmail dot com
2007-04-22  1:01 ` dannysmith at users dot sourceforge dot net
2007-04-23 19:51 ` arcangelpip at hotmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).