public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
       [not found] <bug-21766-10710@http.gcc.gnu.org/bugzilla/>
@ 2005-10-11  8:01 ` dannysmith at users dot sourceforge dot net
  2005-10-12 20:55 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 28+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2005-10-11  8:01 UTC (permalink / raw)
  To: gcc-bugs



------- 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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
       [not found] <bug-21766-10710@http.gcc.gnu.org/bugzilla/>
  2005-10-11  8:01 ` [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin dannysmith at users dot sourceforge dot net
@ 2005-10-12 20:55 ` cvs-commit at gcc dot gnu dot org
  2005-10-12 20:58 ` dannysmith at users dot sourceforge dot net
  2005-10-12 21:07 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 28+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-12 20:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #30 from cvs-commit at gcc dot gnu dot org  2005-10-12 20:55 -------
Subject: Bug 21766

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     dannysmith@gcc.gnu.org  2005-10-12 20:54:50

Modified files:
        gcc            : ChangeLog config.gcc tree.c tree.h varasm.c 
                         target.h target-def.h 
        gcc/doc        : tm.texi 
        gcc/config/i386: i386-protos.h i386.c winnt.c cygming.h 
                         t-cygming 
        gcc/cp         : ChangeLog class.c 
        gcc/testsuite  : ChangeLog 
        gcc/testsuite/gcc.dg: dll-2.c dll-3.c dll-4.c 
        gcc/testsuite/g++.dg/ext: dllimport1.C dllimport2.C dllimport3.C 
                                  dllimport7.C dllimport8.C dllimport9.C 
Added files:
        gcc/config/i386: winnt-stubs.c winnt-cxx.c 

Log message:
        PR middle-end/21275
        PR middle-end/21766
        * target.h (struct gcc_target): Add valid_dllimport_attribute_p
        target hook.
        (struct cxx): Add adjust_class_at_definition target hook.
        * target-def.h: (TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): New define,
        defaulting to hook_bool_tree_true. Add to TARGET_INITIALIZER
        (TARGET_CXX_ADJUST_CLASS_AT_DEFINITION): New define, defaulting to
        hook_void_tree. Add to TARGET_CXX.
        * tree.h (struct decl_with_vis): Rename non_addr_const_p field to
        dllimport_flag.
        (DECL_NON_ADDR_CONSTANT_P): Replace with DECL_DLLIMPORT_P macro.
        * tree.c (merge_dllimport_decl_attributes): Check DECL_DLLIMPORT_P
        instead of attribute. Check for dllexport override.  Warn if
        inconsistent dll linkage. Don't lose old dllimport if decl has
        had address referenced.   Tweak lookup of dllimport atribute.
        (handle_dll_attribute): Check targetm.valid_dllimport_attribute_p
        for target specific rules.  Don't add dllimport attribute if
        DECL_DECLARED_INLINE_P.  Set DECL_DLLIMPORT_P when adding
        dllimport attribute.
        (staticp): Replace DECL_NON_ADDR_CONSTANT_P with DECL_DLLIMPORT_P.
        * varasm.c (initializer_constant_valid_p): Replace
        DECL_NON_ADDR_CONSTANT_P with DECL_DLLIMPORT_P

        PR target/21801
        PR target/23589
        * config.gcc (i[34567]86-*-cygwin*): Add winnt-cxx.o to
        'cxx_target_objs', winnt-stubs,o to 'extra_objs'.
        (i[34567]86-*-mingw32*): Likewise.

        * doc/tm.texi (TARGET_CXX_ADJUST_CLASS_AT_DEFINITION): Document.
        (TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): Document.

        * config/i386/winnt.c (i386_pe_dllimport_p): Factor out
        C++-specific code. Change return value to bool.
        (i386_pe_dllimport_p): Likewise.
        (associated_type): Simplify and make language-independent
        (i386_pe_encode_section_info): Replace override of ambiguous
        dllimport symbol refs with a gcc_assert.
        (i386_pe_valid_dllimport_attribute_p): Define.
        * config/i386/winnt-cxx.c: New file. Define C++ versions of
        i386_pe_type_dllimport_p, i386_pe_type_dllexport_p,
        i386_pe_adjust_class_at_definition.
        * config/i386/winnt-stubs.c: New file. Define stub versions of
        lang-specific functions.
        * config/i386/i386-protos.h: Declare winnt-[cxx|stubs].c functions
        i386_pe_type_dllimport_p, i386_pe_type_dllexport_p,
        i386_pe_adjust_class_at_definition.
        (i386_pe_valid_dllimport_attribute_p): Declare.
        * config/i386/cygming.h (TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): Define.
        (TARGET_CXX_ADJUST_CLASS_AT_DEFINITION): Define.
        * config/i386/t-cygming: Add rules for winnt-cxx.o, winnt-stubs.o.

        PR target/19704
        * config/i386/i386.c (ix86_function_ok_for_sibcall): Replace test for
        dllimport attribute with test of DECL_DLLIMPORT_P.

        cp
        PR target/21801
        PR target/23589
        * class.c (finish_struct_1): Call
        targetm.cxx.adjust_class_at_definition.

        testsuite
        * gcc.dg/dll-2.c: Add tests for warnings.
        * gcc.dg/dll-3.c: Likewise.
        * gcc.dg/dll-4.c: Likewise.

        * g++.dg/ext/dllimport1.C: Adjust tests for warnings.
        * g++.dg/ext/dllimport2.C: Likewise.
        * g++.dg/ext/dllimport3.C: Likewise.
        * g++.dg/ext/dllimport7.C: Likewise.
        * g++.dg/ext/dllimport8.C: Likewise.
        * g++.dg/ext/dllimport9.C: Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.10149&r2=2.10150
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config.gcc.diff?cvsroot=gcc&r1=1.568&r2=1.569
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.c.diff?cvsroot=gcc&r1=1.508&r2=1.509
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&r1=1.757&r2=1.758
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/varasm.c.diff?cvsroot=gcc&r1=1.532&r2=1.533
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/target.h.diff?cvsroot=gcc&r1=1.144&r2=1.145
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/target-def.h.diff?cvsroot=gcc&r1=1.133&r2=1.134
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/tm.texi.diff?cvsroot=gcc&r1=1.446&r2=1.447
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/winnt-stubs.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/winnt-cxx.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386-protos.h.diff?cvsroot=gcc&r1=1.147&r2=1.148
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcc&r1=1.862&r2=1.863
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/winnt.c.diff?cvsroot=gcc&r1=1.84&r2=1.85
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/cygming.h.diff?cvsroot=gcc&r1=1.32&r2=1.33
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/t-cygming.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4927&r2=1.4928
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/class.c.diff?cvsroot=gcc&r1=1.734&r2=1.735
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6183&r2=1.6184
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/dll-2.c.diff?cvsroot=gcc&r1=1.7&r2=1.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/dll-3.c.diff?cvsroot=gcc&r1=1.5&r2=1.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/dll-4.c.diff?cvsroot=gcc&r1=1.5&r2=1.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport1.C.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport2.C.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport3.C.diff?cvsroot=gcc&r1=1.2&r2=1.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport7.C.diff?cvsroot=gcc&r1=1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport8.C.diff?cvsroot=gcc&r1=1.2&r2=1.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport9.C.diff?cvsroot=gcc&r1=1.1&r2=1.2


-- 


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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
       [not found] <bug-21766-10710@http.gcc.gnu.org/bugzilla/>
  2005-10-11  8:01 ` [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin dannysmith at users dot sourceforge dot net
  2005-10-12 20:55 ` cvs-commit at gcc dot gnu dot org
@ 2005-10-12 20:58 ` dannysmith at users dot sourceforge dot net
  2005-10-12 21:07 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 28+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2005-10-12 20:58 UTC (permalink / raw)
  To: gcc-bugs



------- 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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
       [not found] <bug-21766-10710@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2005-10-12 20:58 ` dannysmith at users dot sourceforge dot net
@ 2005-10-12 21:07 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 28+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-12 21:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #32 from pinskia at gcc dot gnu dot org  2005-10-12 21:07 -------
(In reply to comment #31)
> Fixed on trunk.
> http://gcc.gnu.org/ml/gcc-cvs/2005-10/msg00474.html
> Danny

Danny, you should be able to modify the bugs using this accont now.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dannysmith at users dot
                   |                            |sourceforge dot net
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
  2005-05-26 13:54 [Bug bootstrap/21766] New: bootstrap failure dims at yahoo dot com
                   ` (22 preceding siblings ...)
  2005-08-23 16:02 ` pinskia at gcc dot gnu dot org
@ 2005-09-05 10:05 ` sherpya at netfarm dot it
  23 siblings, 0 replies; 28+ messages in thread
From: sherpya at netfarm dot it @ 2005-09-05 10:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From sherpya at netfarm dot it  2005-09-05 10:04 -------
The patch still broken it fails to compiles some resources i.e. building reactos

-- 


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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
  2005-05-26 13:54 [Bug bootstrap/21766] New: bootstrap failure dims at yahoo dot com
                   ` (21 preceding siblings ...)
  2005-08-11 19:20 ` pinskia at gcc dot gnu dot org
@ 2005-08-23 16:02 ` pinskia at gcc dot gnu dot org
  2005-09-05 10:05 ` sherpya at netfarm dot it
  23 siblings, 0 replies; 28+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-23 16:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-23 15:44 -------
*** Bug 23535 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tj at laurenzo dot org


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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
  2005-05-26 13:54 [Bug bootstrap/21766] New: bootstrap failure dims at yahoo dot com
                   ` (20 preceding siblings ...)
  2005-07-29  8:55 ` rmorganl at u dot washington dot edu
@ 2005-08-11 19:20 ` pinskia at gcc dot gnu dot org
  2005-08-23 16:02 ` pinskia at gcc dot gnu dot org
  2005-09-05 10:05 ` sherpya at netfarm dot it
  23 siblings, 0 replies; 28+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-11 19:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-11 19:20 -------
*** Bug 23340 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |v dot haisman at sh dot cvut
                   |                            |dot cz


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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
  2005-05-26 13:54 [Bug bootstrap/21766] New: bootstrap failure dims at yahoo dot com
                   ` (19 preceding siblings ...)
  2005-07-08 18:40 ` pinskia at gcc dot gnu dot org
@ 2005-07-29  8:55 ` rmorganl at u dot washington dot edu
  2005-08-11 19:20 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  23 siblings, 0 replies; 28+ messages in thread
From: rmorganl at u dot washington dot edu @ 2005-07-29  8:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rmorganl at u dot washington dot edu  2005-07-29 08:45 -------
Mainline is still broken for cygwin as of the gcc-4.1-20050723 snapshot.
Applying patch-rev3.diff (with failing hunks applied by hand) seems to fix the
problem.

-- 


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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
  2005-05-26 13:54 [Bug bootstrap/21766] New: bootstrap failure dims at yahoo dot com
                   ` (18 preceding siblings ...)
  2005-07-08 18:39 ` dims at yahoo dot com
@ 2005-07-08 18:40 ` pinskia at gcc dot gnu dot org
  2005-07-29  8:55 ` rmorganl at u dot washington dot edu
                   ` (3 subsequent siblings)
  23 siblings, 0 replies; 28+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-08 18:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-08 18:40 -------
(In reply to comment #22)
> Is the just released 4.0.1 on another branch? is that working?
Yes and yes (well bootstrap is).

-- 


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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
  2005-05-26 13:54 [Bug bootstrap/21766] New: bootstrap failure dims at yahoo dot com
                   ` (17 preceding siblings ...)
  2005-06-16 11:07 ` fxcoudert at gcc dot gnu dot org
@ 2005-07-08 18:39 ` dims at yahoo dot com
  2005-07-08 18:40 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  23 siblings, 0 replies; 28+ messages in thread
From: dims at yahoo dot com @ 2005-07-08 18:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dims at yahoo dot com  2005-07-08 18:39 -------
Is the just released 4.0.1 on another branch? is that working?

-- dims

-- 


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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
  2005-05-26 13:54 [Bug bootstrap/21766] New: bootstrap failure dims at yahoo dot com
                   ` (16 preceding siblings ...)
  2005-06-14  0:30 ` sherpya at netfarm dot it
@ 2005-06-16 11:07 ` fxcoudert at gcc dot gnu dot org
  2005-07-08 18:39 ` dims at yahoo dot com
                   ` (5 subsequent siblings)
  23 siblings, 0 replies; 28+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-06-16 11:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-06-16 11:06 -------
Any updates on this one? Since mingw and cygwin builds are broken, I think
something should be done soon. Be it a proper patch or a temporary hack, that
should be decided by the cygwin/mingw maintainers (Christopher Faylor and Danny
Smith, if I'm not mistaken).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|patch                       |
   Last reconfirmed|2005-06-10 21:10:17         |2005-06-16 11:06:23
               date|                            |


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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
  2005-05-26 13:54 [Bug bootstrap/21766] New: bootstrap failure dims at yahoo dot com
                   ` (15 preceding siblings ...)
  2005-06-13 22:05 ` dannysmith at users dot sourceforge dot net
@ 2005-06-14  0:30 ` sherpya at netfarm dot it
  2005-06-16 11:07 ` fxcoudert at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  23 siblings, 0 replies; 28+ messages in thread
From: sherpya at netfarm dot it @ 2005-06-14  0:30 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From sherpya at netfarm dot it  2005-06-14 00:30 -------
can you provide a correct patch? I've just adapted the old one to apply and compile

-- 


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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
  2005-05-26 13:54 [Bug bootstrap/21766] New: bootstrap failure dims at yahoo dot com
                   ` (14 preceding siblings ...)
  2005-06-13 21:14 ` fxcoudert at gcc dot gnu dot org
@ 2005-06-13 22:05 ` dannysmith at users dot sourceforge dot net
  2005-06-14  0:30 ` sherpya at netfarm dot it
                   ` (7 subsequent siblings)
  23 siblings, 0 replies; 28+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2005-06-13 22:05 UTC (permalink / raw)
  To: gcc-bugs


------- 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 the dllimport attribute.   That can 
be "fixed" by modifying recompute_tree_invariant_for_addr_expr to special-case 
dllimports, but this is getting a bit hackish to me.  In many ways dllimports 
are like  DECL_THREAD_LOCAL.  However,  thread-local attribute can't get 
overridden, while dllimport attribute can.

Also this part of the revised patch is wrong.
It should be targetm.decl_non_addr_const_p

--- gcc/varasm.c	8 Jun 2005 00:15:53 -0000	1.513
+++ gcc/varasm.c	12 Jun 2005 04:32:36 -0000
@@ -3608,7 +3608,7 @@
       if (value
 	  && TREE_CODE (value) == FUNCTION_DECL
 	  && ((decl_function_context (value) && !DECL_NO_STATIC_CHAIN (value))
-	      || DECL_NON_ADDR_CONST_P (value)))
+	      || TARGET_DECL_NON_ADDR_CONST_P (value)))
 	return NULL_TREE;
       return value;
 

-- 


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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
  2005-05-26 13:54 [Bug bootstrap/21766] New: bootstrap failure dims at yahoo dot com
                   ` (13 preceding siblings ...)
  2005-06-10 21:10 ` fxcoudert at gcc dot gnu dot org
@ 2005-06-13 21:14 ` fxcoudert at gcc dot gnu dot org
  2005-06-13 22:05 ` dannysmith at users dot sourceforge dot net
                   ` (8 subsequent siblings)
  23 siblings, 0 replies; 28+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-06-13 21:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-06-13 21:14 -------
I didn't see this patch proposed on gcc-patches. Is someone reviewing it? Since
it prevents building cygwin and mingw, one could hope that it gets committed soon...

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://gcc.gnu.org/ml/gcc-  |
                   |patches/2005-               |
                   |05/msg02945.html            |


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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
  2005-05-26 13:54 [Bug bootstrap/21766] New: bootstrap failure dims at yahoo dot com
                   ` (12 preceding siblings ...)
  2005-06-09 18:25 ` pinskia at gcc dot gnu dot org
@ 2005-06-10 21:10 ` fxcoudert at gcc dot gnu dot org
  2005-06-13 21:14 ` fxcoudert at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  23 siblings, 0 replies; 28+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-06-10 21:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-06-10 21:10 -------
> I'm attaching the new patch, please take a look

Attached patch does not apply cleanly on today's CVS. However, when failing
hunks are integrated manually, the source then builds cleanly (languages=c,f95 ;
regtested on i686-pc-cygwin).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2005-05-26 19:40:27         |2005-06-10 21:10:17
               date|                            |


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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
  2005-05-26 13:54 [Bug bootstrap/21766] New: bootstrap failure dims at yahoo dot com
                   ` (11 preceding siblings ...)
  2005-06-06 20:59 ` pinskia at gcc dot gnu dot org
@ 2005-06-09 18:25 ` pinskia at gcc dot gnu dot org
  2005-06-10 21:10 ` fxcoudert at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  23 siblings, 0 replies; 28+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-09 18:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-09 18:25 -------
*** Bug 21989 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fxcoudert at gcc dot gnu dot
                   |                            |org


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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
  2005-05-26 13:54 [Bug bootstrap/21766] New: bootstrap failure dims at yahoo dot com
                   ` (10 preceding siblings ...)
  2005-06-06  1:24 ` pinskia at gcc dot gnu dot org
@ 2005-06-06 20:59 ` pinskia at gcc dot gnu dot org
  2005-06-09 18:25 ` pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  23 siblings, 0 replies; 28+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-06 20:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-06 20:59 -------
*** Bug 21938 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcorbit at connx dot com


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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
  2005-05-26 13:54 [Bug bootstrap/21766] New: bootstrap failure dims at yahoo dot com
                   ` (9 preceding siblings ...)
  2005-06-05  7:49 ` pinskia at gcc dot gnu dot org
@ 2005-06-06  1:24 ` pinskia at gcc dot gnu dot org
  2005-06-06 20:59 ` pinskia at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  23 siblings, 0 replies; 28+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-06  1:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-06 01:24 -------
*** Bug 21919 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bmoses-nospam at cits1 dot
                   |                            |stanford dot edu


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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
  2005-05-26 13:54 [Bug bootstrap/21766] New: bootstrap failure dims at yahoo dot com
                   ` (8 preceding siblings ...)
  2005-06-05  7:47 ` sherpya at netfarm dot it
@ 2005-06-05  7:49 ` pinskia at gcc dot gnu dot org
  2005-06-06  1:24 ` pinskia at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  23 siblings, 0 replies; 28+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-05  7:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-05 07:49 -------
(In reply to comment #9)
>  also I've noticed that in libgcov.c the mkdir substituion doesn't take place so
> mingw gives an error about mkdir taking 2 args instead of one.

That is PR 21597.

-- 


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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
  2005-05-26 13:54 [Bug bootstrap/21766] New: bootstrap failure dims at yahoo dot com
                   ` (7 preceding siblings ...)
  2005-06-05  6:51 ` pinskia at gcc dot gnu dot org
@ 2005-06-05  7:47 ` sherpya at netfarm dot it
  2005-06-05  7:49 ` pinskia at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  23 siblings, 0 replies; 28+ messages in thread
From: sherpya at netfarm dot it @ 2005-06-05  7:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From sherpya at netfarm dot it  2005-06-05 07:47 -------
Your patches doesn't clean apply to current cvs, I've revised it but I've
renamed DECL_NON_ADDR_CONST_P in TARGET_DECL_NON_ADDR_CONST_P in varasm.c since
there is no reference for DECL_NON_ADDR_CONST_P in code, also I've noticed that
in libgcov.c the mkdir substituion doesn't take place so mingw gives an error
about mkdir taking 2 args instead of one.

I'm attaching the new patch, please take a look

-- 


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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
  2005-05-26 13:54 [Bug bootstrap/21766] New: bootstrap failure dims at yahoo dot com
                   ` (6 preceding siblings ...)
  2005-06-05  5:16 ` sherpya at netfarm dot it
@ 2005-06-05  6:51 ` pinskia at gcc dot gnu dot org
  2005-06-05  7:47 ` sherpya at netfarm dot it
                   ` (15 subsequent siblings)
  23 siblings, 0 replies; 28+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-05  6:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-05 06:51 -------
Patch posted here: <http://gcc.gnu.org/ml/gcc-patches/2005-05/msg02945.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |05/msg02945.html
           Keywords|                            |patch


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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
  2005-05-26 13:54 [Bug bootstrap/21766] New: bootstrap failure dims at yahoo dot com
                   ` (5 preceding siblings ...)
  2005-06-03 21:50 ` dims at yahoo dot com
@ 2005-06-05  5:16 ` sherpya at netfarm dot it
  2005-06-05  6:51 ` pinskia at gcc dot gnu dot org
                   ` (16 subsequent siblings)
  23 siblings, 0 replies; 28+ messages in thread
From: sherpya at netfarm dot it @ 2005-06-05  5:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From sherpya at netfarm dot it  2005-06-05 05:15 -------
as I posted in the duplicated bug thread, the problematic directories are:
target-libiberty target-libstdc++-v3
also I had a working build on cvs snapshot of 20050522,
btw in that build ATTRIBUTE_SENTINEL was not defined when building libiberty on
mingw, and also gcov has to be fixed since it has a mkdir with 2 params, on
win32 it has only one param, but I've easy solved these problems.
I'll spend some time to check when exactly the build was broken

-- 


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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
  2005-05-26 13:54 [Bug bootstrap/21766] New: bootstrap failure dims at yahoo dot com
                   ` (4 preceding siblings ...)
  2005-06-02 14:30 ` pinskia at gcc dot gnu dot org
@ 2005-06-03 21:50 ` dims at yahoo dot com
  2005-06-05  5:16 ` sherpya at netfarm dot it
                   ` (17 subsequent siblings)
  23 siblings, 0 replies; 28+ messages in thread
From: dims at yahoo dot com @ 2005-06-03 21:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dims at yahoo dot com  2005-06-03 21:50 -------
Giovanni, Pinskia,
Any updates on this bug?

thanks,
dims

-- 


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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
  2005-05-26 13:54 [Bug bootstrap/21766] New: bootstrap failure dims at yahoo dot com
                   ` (3 preceding siblings ...)
  2005-05-26 19:49 ` pinskia at gcc dot gnu dot org
@ 2005-06-02 14:30 ` pinskia at gcc dot gnu dot org
  2005-06-03 21:50 ` dims at yahoo dot com
                   ` (18 subsequent siblings)
  23 siblings, 0 replies; 28+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-02 14:30 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-02 14:30 -------
*** Bug 21878 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sherpya at netfarm dot it


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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
  2005-05-26 13:54 [Bug bootstrap/21766] New: bootstrap failure dims at yahoo dot com
                   ` (2 preceding siblings ...)
  2005-05-26 16:54 ` giovannibajo at libero dot it
@ 2005-05-26 19:49 ` pinskia at gcc dot gnu dot org
  2005-06-02 14:30 ` pinskia at gcc dot gnu dot org
                   ` (19 subsequent siblings)
  23 siblings, 0 replies; 28+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-26 19:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-26 19:40 -------
This is related to the dllimport PRs.

Confirmed, reduced testcase:
extern const __attribute__((dllimport)) char _ctype_[];
char *f(void)
{
  return _ctype_;
}


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |21081, 21275
             Status|WAITING                     |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-05-26 19:40:27
               date|                            |


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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
  2005-05-26 13:54 [Bug bootstrap/21766] New: bootstrap failure dims at yahoo dot com
  2005-05-26 14:26 ` [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin pinskia at gcc dot gnu dot org
  2005-05-26 14:35 ` pinskia at gcc dot gnu dot org
@ 2005-05-26 16:54 ` giovannibajo at libero dot it
  2005-05-26 19:49 ` pinskia at gcc dot gnu dot org
                   ` (20 subsequent siblings)
  23 siblings, 0 replies; 28+ messages in thread
From: giovannibajo at libero dot it @ 2005-05-26 16:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2005-05-26 16:41 -------
Can you provide the preprocessed source for the failing file?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
  2005-05-26 13:54 [Bug bootstrap/21766] New: bootstrap failure dims at yahoo dot com
  2005-05-26 14:26 ` [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin pinskia at gcc dot gnu dot org
@ 2005-05-26 14:35 ` pinskia at gcc dot gnu dot org
  2005-05-26 16:54 ` giovannibajo at libero dot it
                   ` (21 subsequent siblings)
  23 siblings, 0 replies; 28+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-26 14:35 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org


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


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

* [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin
  2005-05-26 13:54 [Bug bootstrap/21766] New: bootstrap failure dims at yahoo dot com
@ 2005-05-26 14:26 ` pinskia at gcc dot gnu dot org
  2005-05-26 14:35 ` pinskia at gcc dot gnu dot org
                   ` (22 subsequent siblings)
  23 siblings, 0 replies; 28+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-26 14:26 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |middle-end
 GCC target triplet|                            |i686-pc-cygwin
           Keywords|                            |build, ice-on-valid-code
            Summary|bootstrap failure           |[4.1 Regression] Bootstrap
                   |                            |failure on i686-pc-cygwin
   Target Milestone|---                         |4.1.0


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


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

end of thread, other threads:[~2005-10-12 21:07 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-21766-10710@http.gcc.gnu.org/bugzilla/>
2005-10-11  8:01 ` [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin dannysmith at users dot sourceforge dot net
2005-10-12 20:55 ` cvs-commit at gcc dot gnu dot org
2005-10-12 20:58 ` dannysmith at users dot sourceforge dot net
2005-10-12 21:07 ` pinskia at gcc dot gnu dot org
2005-05-26 13:54 [Bug bootstrap/21766] New: bootstrap failure dims at yahoo dot com
2005-05-26 14:26 ` [Bug middle-end/21766] [4.1 Regression] Bootstrap failure on i686-pc-cygwin pinskia at gcc dot gnu dot org
2005-05-26 14:35 ` pinskia at gcc dot gnu dot org
2005-05-26 16:54 ` giovannibajo at libero dot it
2005-05-26 19:49 ` pinskia at gcc dot gnu dot org
2005-06-02 14:30 ` pinskia at gcc dot gnu dot org
2005-06-03 21:50 ` dims at yahoo dot com
2005-06-05  5:16 ` sherpya at netfarm dot it
2005-06-05  6:51 ` pinskia at gcc dot gnu dot org
2005-06-05  7:47 ` sherpya at netfarm dot it
2005-06-05  7:49 ` pinskia at gcc dot gnu dot org
2005-06-06  1:24 ` pinskia at gcc dot gnu dot org
2005-06-06 20:59 ` pinskia at gcc dot gnu dot org
2005-06-09 18:25 ` pinskia at gcc dot gnu dot org
2005-06-10 21:10 ` fxcoudert at gcc dot gnu dot org
2005-06-13 21:14 ` fxcoudert at gcc dot gnu dot org
2005-06-13 22:05 ` dannysmith at users dot sourceforge dot net
2005-06-14  0:30 ` sherpya at netfarm dot it
2005-06-16 11:07 ` fxcoudert at gcc dot gnu dot org
2005-07-08 18:39 ` dims at yahoo dot com
2005-07-08 18:40 ` pinskia at gcc dot gnu dot org
2005-07-29  8:55 ` rmorganl at u dot washington dot edu
2005-08-11 19:20 ` pinskia at gcc dot gnu dot org
2005-08-23 16:02 ` pinskia at gcc dot gnu dot org
2005-09-05 10:05 ` sherpya at netfarm dot it

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).