public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libobjc/25762]  New: All objc.dg-struct-layout-encoding-1 fails
@ 2006-01-12 13:35 pinskia at gcc dot gnu dot org
  2006-01-12 14:16 ` [Bug libobjc/25762] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-12 13:35 UTC (permalink / raw)
  To: gcc-bugs

All the objc.dg-struct-layout-encoding-1 tests fail because ALIGN_DOUBLES (or
what ever the option is) is set to be the opposite of the default on Linux and
such.


-- 
           Summary: All objc.dg-struct-layout-encoding-1 fails
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: libobjc
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
GCC target triplet: i686-apple-darwin


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


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

* [Bug libobjc/25762] All objc.dg-struct-layout-encoding-1 fails
  2006-01-12 13:35 [Bug libobjc/25762] New: All objc.dg-struct-layout-encoding-1 fails pinskia at gcc dot gnu dot org
@ 2006-01-12 14:16 ` pinskia at gcc dot gnu dot org
  2006-01-19  0:59 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-12 14:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-01-12 14:16 -------
objc.dg/encode-8.m fails the same way.


-- 


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


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

* [Bug libobjc/25762] All objc.dg-struct-layout-encoding-1 fails
  2006-01-12 13:35 [Bug libobjc/25762] New: All objc.dg-struct-layout-encoding-1 fails pinskia at gcc dot gnu dot org
  2006-01-12 14:16 ` [Bug libobjc/25762] " pinskia at gcc dot gnu dot org
@ 2006-01-19  0:59 ` pinskia at gcc dot gnu dot org
  2006-01-29 16:23 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-19  0:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-01-19 00:59 -------
Mine.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-01-19 00:59:24
               date|                            |


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


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

* [Bug libobjc/25762] All objc.dg-struct-layout-encoding-1 fails
  2006-01-12 13:35 [Bug libobjc/25762] New: All objc.dg-struct-layout-encoding-1 fails pinskia at gcc dot gnu dot org
  2006-01-12 14:16 ` [Bug libobjc/25762] " pinskia at gcc dot gnu dot org
  2006-01-19  0:59 ` pinskia at gcc dot gnu dot org
@ 2006-01-29 16:23 ` pinskia at gcc dot gnu dot org
  2006-02-20 23:54 ` pinskia at gcc dot gnu dot org
  2007-07-09  5:52 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-29 16:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-01-29 16:23 -------
This can be worked around with the following patch:
Index: config/i386/darwin.h
===================================================================
--- config/i386/darwin.h        (revision 110327)
+++ config/i386/darwin.h        (working copy)
@@ -111,6 +111,14 @@ extern void darwin_x86_file_end (void);
 #define ASM_LONG "\t.long\t"
 /* Darwin as doesn't do ".quad".  */

+/* Native complier aligns internal doubles in structures on dword boundaries
+   but vectors are aligned to quad word boundaries. 
+   FIXME: This is a hack until libobjc no longer depends on GCC's headers.  */
+#ifdef IN_TARGET_LIBS
+#undef  BIGGEST_FIELD_ALIGNMENT
+#define BIGGEST_FIELD_ALIGNMENT 128
+#endif
+
 #define SUBTARGET_ENCODE_SECTION_INFO  darwin_encode_section_info

 #undef ASM_OUTPUT_ALIGN


-- 


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


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

* [Bug libobjc/25762] All objc.dg-struct-layout-encoding-1 fails
  2006-01-12 13:35 [Bug libobjc/25762] New: All objc.dg-struct-layout-encoding-1 fails pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-01-29 16:23 ` pinskia at gcc dot gnu dot org
@ 2006-02-20 23:54 ` pinskia at gcc dot gnu dot org
  2007-07-09  5:52 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-20 23:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-02-20 23:54 -------
No longer working on this, too much troubles are causing to me to fix Darwin
bugs.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|pinskia at gcc dot gnu dot  |unassigned at gcc dot gnu
                   |org                         |dot org
             Status|ASSIGNED                    |NEW


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


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

* [Bug libobjc/25762] All objc.dg-struct-layout-encoding-1 fails
  2006-01-12 13:35 [Bug libobjc/25762] New: All objc.dg-struct-layout-encoding-1 fails pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2006-02-20 23:54 ` pinskia at gcc dot gnu dot org
@ 2007-07-09  5:52 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-07-09  5:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2007-07-09 05:52 -------
Fixed in 4.3.0 at least:
http://gcc.gnu.org/ml/gcc-testresults/2007-06/msg00189.html


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2007-07-09  5:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-12 13:35 [Bug libobjc/25762] New: All objc.dg-struct-layout-encoding-1 fails pinskia at gcc dot gnu dot org
2006-01-12 14:16 ` [Bug libobjc/25762] " pinskia at gcc dot gnu dot org
2006-01-19  0:59 ` pinskia at gcc dot gnu dot org
2006-01-29 16:23 ` pinskia at gcc dot gnu dot org
2006-02-20 23:54 ` pinskia at gcc dot gnu dot org
2007-07-09  5:52 ` pinskia at gcc dot gnu dot org

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