public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/14725] New: gcc-3.3.3-hammer has issues with -fstrict-aliasing
@ 2004-03-25  1:28 lu_zero at gentoo dot org
  2004-03-25  1:29 ` [Bug optimization/14725] " lu_zero at gentoo dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: lu_zero at gentoo dot org @ 2004-03-25  1:28 UTC (permalink / raw)
  To: gcc-bugs

The code that before compiled just fine with -fstrict-aliasing (included in -O2)
now misbehaves. I'm not sure if that is a bug or is just happening what was
warned since ages about type-punning.

a code snip little enough could be find in openssl-0.9.7d: 
crypto/pem/pem_lib.c : 481

if (!load_iv((unsigned char **)&header,&(cipher->iv[0]),enc->iv_len)) return(0);

Interesting enough that happens just on the hammer tree (tested against the
20040322 cvs)

-- 
           Summary: gcc-3.3.3-hammer has issues with -fstrict-aliasing
           Product: gcc
           Version: 3.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lu_zero at gentoo dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-unknown-linux-gnu
  GCC host triplet: powerpc-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu


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


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

* [Bug optimization/14725] gcc-3.3.3-hammer has issues with -fstrict-aliasing
  2004-03-25  1:28 [Bug optimization/14725] New: gcc-3.3.3-hammer has issues with -fstrict-aliasing lu_zero at gentoo dot org
@ 2004-03-25  1:29 ` lu_zero at gentoo dot org
  2004-03-25  1:30 ` lu_zero at gentoo dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: lu_zero at gentoo dot org @ 2004-03-25  1:29 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From lu_zero at gentoo dot org  2004-03-25 01:29 -------
Created an attachment (id=5996)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5996&action=view)
Vanilla source


-- 


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


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

* [Bug optimization/14725] gcc-3.3.3-hammer has issues with -fstrict-aliasing
  2004-03-25  1:28 [Bug optimization/14725] New: gcc-3.3.3-hammer has issues with -fstrict-aliasing lu_zero at gentoo dot org
  2004-03-25  1:29 ` [Bug optimization/14725] " lu_zero at gentoo dot org
@ 2004-03-25  1:30 ` lu_zero at gentoo dot org
  2004-03-25  2:26 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: lu_zero at gentoo dot org @ 2004-03-25  1:30 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From lu_zero at gentoo dot org  2004-03-25 01:30 -------
Created an attachment (id=5997)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5997&action=view)
Preprocessed source


-- 


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


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

* [Bug optimization/14725] gcc-3.3.3-hammer has issues with -fstrict-aliasing
  2004-03-25  1:28 [Bug optimization/14725] New: gcc-3.3.3-hammer has issues with -fstrict-aliasing lu_zero at gentoo dot org
  2004-03-25  1:29 ` [Bug optimization/14725] " lu_zero at gentoo dot org
  2004-03-25  1:30 ` lu_zero at gentoo dot org
@ 2004-03-25  2:26 ` pinskia at gcc dot gnu dot org
  2005-06-05  8:41 ` [Bug rtl-optimization/14725] " pinskia at gcc dot gnu dot org
  2005-06-05  8:42 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-25  2:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-25 02:26 -------
Not a bug, for some reason the hammer branch does more scheduling which causes errors in code like 
this to show up.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID
            Version|3.3.3                       |unknown


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


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

* [Bug rtl-optimization/14725] gcc-3.3.3-hammer has issues with -fstrict-aliasing
  2004-03-25  1:28 [Bug optimization/14725] New: gcc-3.3.3-hammer has issues with -fstrict-aliasing lu_zero at gentoo dot org
                   ` (2 preceding siblings ...)
  2004-03-25  2:26 ` pinskia at gcc dot gnu dot org
@ 2005-06-05  8:41 ` pinskia at gcc dot gnu dot org
  2005-06-05  8:42 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-05  8:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-05 08:41 -------
Reopening to ...

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


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


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

* [Bug rtl-optimization/14725] gcc-3.3.3-hammer has issues with -fstrict-aliasing
  2004-03-25  1:28 [Bug optimization/14725] New: gcc-3.3.3-hammer has issues with -fstrict-aliasing lu_zero at gentoo dot org
                   ` (3 preceding siblings ...)
  2005-06-05  8:41 ` [Bug rtl-optimization/14725] " pinskia at gcc dot gnu dot org
@ 2005-06-05  8:42 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-05  8:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-05 08:42 -------
Mark as a dup of bug 21920.

*** This bug has been marked as a duplicate of 21920 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2005-06-05  8:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-25  1:28 [Bug optimization/14725] New: gcc-3.3.3-hammer has issues with -fstrict-aliasing lu_zero at gentoo dot org
2004-03-25  1:29 ` [Bug optimization/14725] " lu_zero at gentoo dot org
2004-03-25  1:30 ` lu_zero at gentoo dot org
2004-03-25  2:26 ` pinskia at gcc dot gnu dot org
2005-06-05  8:41 ` [Bug rtl-optimization/14725] " pinskia at gcc dot gnu dot org
2005-06-05  8:42 ` 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).