public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/19228] New: Error in gcc.dg/20011119-1.c when using -fpic/-fPIC on i686-pc-linux-gnu
@ 2005-01-02 17:22 ghazi at gcc dot gnu dot org
  2005-01-03 15:13 ` [Bug target/19228] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2005-01-02 17:22 UTC (permalink / raw)
  To: gcc-bugs

When running the testsuite on 3.3, 3.4 and mainline with -fpic or -fPIC I get 
the following additional error:

FAIL: gcc.dg/20011119-1.c (test for excess errors)

The failures can be seen here:

http://gcc.gnu.org/ml/gcc-testresults/2005-01/msg00029.html
http://gcc.gnu.org/ml/gcc-testresults/2005-01/msg00085.html
http://gcc.gnu.org/ml/gcc-testresults/2005-01/msg00084.html

The error message from the logfile is:

gcc.dg/20011119-1.c:69: warning: asm operand 0 probably doesn't match 
constraints
gcc.dg/20011119-1.c:69: error: impossible constraint in `asm'
FAIL: gcc.dg/20011119-1.c (test for excess errors)

Is there something to fix in the compiler, the testcase, or should the test be 
bypassed when using -fpic/-fPIC ?

-- 
           Summary: Error in gcc.dg/20011119-1.c when using -fpic/-fPIC on
                    i686-pc-linux-gnu
           Product: gcc
           Version: 3.3.6
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ghazi at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug target/19228] Error in gcc.dg/20011119-1.c when using -fpic/-fPIC on i686-pc-linux-gnu
  2005-01-02 17:22 [Bug target/19228] New: Error in gcc.dg/20011119-1.c when using -fpic/-fPIC on i686-pc-linux-gnu ghazi at gcc dot gnu dot org
@ 2005-01-03 15:13 ` pinskia at gcc dot gnu dot org
  2005-01-03 23:51 ` rth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-03 15:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-03 15:13 -------
Hmm, to me this looks like a bug in the compiler for this one.

-- 


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


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

* [Bug target/19228] Error in gcc.dg/20011119-1.c when using -fpic/-fPIC on i686-pc-linux-gnu
  2005-01-02 17:22 [Bug target/19228] New: Error in gcc.dg/20011119-1.c when using -fpic/-fPIC on i686-pc-linux-gnu ghazi at gcc dot gnu dot org
  2005-01-03 15:13 ` [Bug target/19228] " pinskia at gcc dot gnu dot org
@ 2005-01-03 23:51 ` rth at gcc dot gnu dot org
  2005-01-04  0:41 ` [Bug other/19228] Error in gcc.dg/20011119-1.c when using -fpic/-fPIC pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-01-03 23:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2005-01-03 23:51 -------
No, with pic the address of ustrzcat is not a constant.  Ergo the impossible
constraint error.

-- 


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


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

* [Bug other/19228] Error in gcc.dg/20011119-1.c when using -fpic/-fPIC
  2005-01-02 17:22 [Bug target/19228] New: Error in gcc.dg/20011119-1.c when using -fpic/-fPIC on i686-pc-linux-gnu ghazi at gcc dot gnu dot org
  2005-01-03 15:13 ` [Bug target/19228] " pinskia at gcc dot gnu dot org
  2005-01-03 23:51 ` rth at gcc dot gnu dot org
@ 2005-01-04  0:41 ` pinskia at gcc dot gnu dot org
  2005-01-05 19:06 ` ghazi at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-04  0:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-04 00:41 -------
So the testcase should be skiped when -fPIC added.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|target                      |other
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-01-04 00:41:12
               date|                            |
            Summary|Error in gcc.dg/20011119-1.c|Error in gcc.dg/20011119-1.c
                   |when using -fpic/-fPIC on   |when using -fpic/-fPIC
                   |i686-pc-linux-gnu           |


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


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

* [Bug other/19228] Error in gcc.dg/20011119-1.c when using -fpic/-fPIC
  2005-01-02 17:22 [Bug target/19228] New: Error in gcc.dg/20011119-1.c when using -fpic/-fPIC on i686-pc-linux-gnu ghazi at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-01-04  0:41 ` [Bug other/19228] Error in gcc.dg/20011119-1.c when using -fpic/-fPIC pinskia at gcc dot gnu dot org
@ 2005-01-05 19:06 ` ghazi at gcc dot gnu dot org
  2005-01-06  2:37 ` [Bug target/19228] " ghazi at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2005-01-05 19:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ghazi at gcc dot gnu dot org  2005-01-05 19:06 -------
Patch submitted here:
http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00296.html


-- 


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


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

* [Bug target/19228] Error in gcc.dg/20011119-1.c when using -fpic/-fPIC
  2005-01-02 17:22 [Bug target/19228] New: Error in gcc.dg/20011119-1.c when using -fpic/-fPIC on i686-pc-linux-gnu ghazi at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-01-05 19:06 ` ghazi at gcc dot gnu dot org
@ 2005-01-06  2:37 ` ghazi at gcc dot gnu dot org
  2005-01-06  5:53 ` [Bug target/19228] [3.4 only] " pinskia at gcc dot gnu dot org
  2005-05-19 17:32 ` mmitchel at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2005-01-06  2:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ghazi at gcc dot gnu dot org  2005-01-06 02:37 -------
Installed on mainline, waiting for dg-skip-if before propagating to branches.

-- 


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


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

* [Bug target/19228] [3.4 only] Error in gcc.dg/20011119-1.c when using -fpic/-fPIC
  2005-01-02 17:22 [Bug target/19228] New: Error in gcc.dg/20011119-1.c when using -fpic/-fPIC on i686-pc-linux-gnu ghazi at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-01-06  2:37 ` [Bug target/19228] " ghazi at gcc dot gnu dot org
@ 2005-01-06  5:53 ` pinskia at gcc dot gnu dot org
  2005-05-19 17:32 ` mmitchel at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-06  5:53 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.0.0
            Summary|Error in gcc.dg/20011119-1.c|[3.4 only] Error in
                   |when using -fpic/-fPIC      |gcc.dg/20011119-1.c when
                   |                            |using -fpic/-fPIC
   Target Milestone|---                         |3.4.4


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


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

* [Bug target/19228] [3.4 only] Error in gcc.dg/20011119-1.c when using -fpic/-fPIC
  2005-01-02 17:22 [Bug target/19228] New: Error in gcc.dg/20011119-1.c when using -fpic/-fPIC on i686-pc-linux-gnu ghazi at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2005-01-06  5:53 ` [Bug target/19228] [3.4 only] " pinskia at gcc dot gnu dot org
@ 2005-05-19 17:32 ` mmitchel at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-05-19 17:32 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.4                       |3.4.5


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


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

end of thread, other threads:[~2005-05-19 17:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-02 17:22 [Bug target/19228] New: Error in gcc.dg/20011119-1.c when using -fpic/-fPIC on i686-pc-linux-gnu ghazi at gcc dot gnu dot org
2005-01-03 15:13 ` [Bug target/19228] " pinskia at gcc dot gnu dot org
2005-01-03 23:51 ` rth at gcc dot gnu dot org
2005-01-04  0:41 ` [Bug other/19228] Error in gcc.dg/20011119-1.c when using -fpic/-fPIC pinskia at gcc dot gnu dot org
2005-01-05 19:06 ` ghazi at gcc dot gnu dot org
2005-01-06  2:37 ` [Bug target/19228] " ghazi at gcc dot gnu dot org
2005-01-06  5:53 ` [Bug target/19228] [3.4 only] " pinskia at gcc dot gnu dot org
2005-05-19 17:32 ` mmitchel 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).