This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/14484] [3.3 regression] -mabi=64 and -O -> as error


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-06-07 15:17 -------
Confirmed.

Here's a short testcase that causes assembler errors also for -O2 and -O3.
The 3.3 branch is affected, but not the 3.4 branch. I can't test mainline
right now.

===================================================================
int x[]= { 0 };

void foo(short **p, int *a, int *b, int i, unsigned u)
{
    while (i+1)
        if (i)
            **p= x[0];
        else
            **p= (u ? ((*a >> *b-i) & x[u]) : bar()) + 32768 + i;
}
===================================================================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
      Known to fail|                            |3.1 3.2.3 3.3.4
      Known to work|                            |3.0.4 3.4.0
   Last reconfirmed|0000-00-00 00:00:00         |2004-06-07 15:17:58
               date|                            |
            Summary|-mabi=64 and -O -> as error |[3.3 regression] -mabi=64
                   |                            |and -O -> as error
   Target Milestone|---                         |3.3.4


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]