public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/32307] New: ICE building simple httpd log.c for -m5282x option
@ 2007-06-12 15:16 joel at gcc dot gnu dot org
2007-06-12 15:17 ` [Bug c/32307] " joel at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: joel at gcc dot gnu dot org @ 2007-06-12 15:16 UTC (permalink / raw)
To: gcc-bugs
The full command line is below. It appears to be triggered by -m528x and is
indepdendent of selected optimization level.
m68k-rtems4.8-gcc --pipe -DHAVE_CONFIG_H -I..
-I../../cpukit/../../../uC5282/lib/include -DHAVE_MD5 -Wall -fasm -m528x -O2
-g -MT libshttpd_a-log.o -MD -MP -MF .deps/libshttpd_a-log.Tpo -c -o
libshttpd_a-log.o `test -f 'log.c' || echo
'../../../../../../current/c/src/../../cpukit/shttpd/'`log.c
../../../../../../current/c/src/../../cpukit/shttpd/log.c: In function
'log_access':
../../../../../../current/c/src/../../cpukit/shttpd/log.c:111: error: insn does
not satisfy its constraints:
(insn 74 158 159 10
../../../../../../current/c/src/../../cpukit/shttpd/log.c:90 (set (mem/c:SI
(plus:SI (reg/f:SI 14 %a6)
(reg:SI 1 %d1)) [57 D.6863+0 S4 A16])
(mem/s:SI (plus:SI (reg/v/f:SI 10 %a2 [orig:48 c ] [48])
(const_int 220 [0xdc])) [22 <variable>.loc.io.total+0 S4 A16]))
34 {*movsi_cf} (nil)
(nil))
../../../../../../current/c/src/../../cpukit/shttpd/log.c:111: internal
compiler error: in reload_cse_simplify_operands, at postreload.c:393
Please submit a full bug report,
--
Summary: ICE building simple httpd log.c for -m5282x option
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: joel at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: m68k-rtems4.8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/32307] ICE building simple httpd log.c for -m5282x option
2007-06-12 15:16 [Bug c/32307] New: ICE building simple httpd log.c for -m5282x option joel at gcc dot gnu dot org
@ 2007-06-12 15:17 ` joel at gcc dot gnu dot org
2007-06-12 15:21 ` [Bug target/32307] " joel at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: joel at gcc dot gnu dot org @ 2007-06-12 15:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from joel at gcc dot gnu dot org 2007-06-12 15:17 -------
Created an attachment (id=13689)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13689&action=view)
preprocessed code to generate problem
The following should reproduce the error:
m68k-rtems4.8-gcc -m528x -c log_preprocessed.c
I believe this should occur on any m68k target.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/32307] ICE building simple httpd log.c for -m5282x option
2007-06-12 15:16 [Bug c/32307] New: ICE building simple httpd log.c for -m5282x option joel at gcc dot gnu dot org
2007-06-12 15:17 ` [Bug c/32307] " joel at gcc dot gnu dot org
@ 2007-06-12 15:21 ` joel at gcc dot gnu dot org
2007-06-12 15:39 ` joel at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: joel at gcc dot gnu dot org @ 2007-06-12 15:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from joel at gcc dot gnu dot org 2007-06-12 15:21 -------
Tested using RTEMS cross RPMs for RTEMS 4.6 (gcc 3.2.3) and RTEMS 4.7 (gcc
4.1.1).
--
joel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |3.2.3 4.1.1 4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/32307] ICE building simple httpd log.c for -m5282x option
2007-06-12 15:16 [Bug c/32307] New: ICE building simple httpd log.c for -m5282x option joel at gcc dot gnu dot org
2007-06-12 15:17 ` [Bug c/32307] " joel at gcc dot gnu dot org
2007-06-12 15:21 ` [Bug target/32307] " joel at gcc dot gnu dot org
@ 2007-06-12 15:39 ` joel at gcc dot gnu dot org
2007-07-30 8:11 ` corsepiu at gcc dot gnu dot org
2009-08-23 18:43 ` schwab at linux-m68k dot org
4 siblings, 0 replies; 6+ messages in thread
From: joel at gcc dot gnu dot org @ 2007-06-12 15:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from joel at gcc dot gnu dot org 2007-06-12 15:39 -------
Created an attachment (id=13690)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13690&action=view)
alternate version of bug file which has if 0 around offensive code
I hacked on the file that tripped the bug and now have this one which has if
0's around the offensive code. It appears to have offensive sections.
+ an inline conditional
+ two calls to my_snprintf.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/32307] ICE building simple httpd log.c for -m5282x option
2007-06-12 15:16 [Bug c/32307] New: ICE building simple httpd log.c for -m5282x option joel at gcc dot gnu dot org
` (2 preceding siblings ...)
2007-06-12 15:39 ` joel at gcc dot gnu dot org
@ 2007-07-30 8:11 ` corsepiu at gcc dot gnu dot org
2009-08-23 18:43 ` schwab at linux-m68k dot org
4 siblings, 0 replies; 6+ messages in thread
From: corsepiu at gcc dot gnu dot org @ 2007-07-30 8:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from corsepiu at gcc dot gnu dot org 2007-07-30 08:11 -------
Having investigated this breakdown further, I can reproduce it for many
coldfire variants.
Also: FWIW: Adding -fomit-frame-pointer lets the ICE disappear.
--
corsepiu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|3.2.3 4.1.1 4.2.0 |3.2.3 4.1.1 4.2.0 4.2.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/32307] ICE building simple httpd log.c for -m5282x option
2007-06-12 15:16 [Bug c/32307] New: ICE building simple httpd log.c for -m5282x option joel at gcc dot gnu dot org
` (3 preceding siblings ...)
2007-07-30 8:11 ` corsepiu at gcc dot gnu dot org
@ 2009-08-23 18:43 ` schwab at linux-m68k dot org
4 siblings, 0 replies; 6+ messages in thread
From: schwab at linux-m68k dot org @ 2009-08-23 18:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from schwab at linux-m68k dot org 2009-08-23 18:43 -------
No longer reproducible with 4.3.4, assuming fixed.
--
schwab at linux-m68k dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-08-23 18:43 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-12 15:16 [Bug c/32307] New: ICE building simple httpd log.c for -m5282x option joel at gcc dot gnu dot org
2007-06-12 15:17 ` [Bug c/32307] " joel at gcc dot gnu dot org
2007-06-12 15:21 ` [Bug target/32307] " joel at gcc dot gnu dot org
2007-06-12 15:39 ` joel at gcc dot gnu dot org
2007-07-30 8:11 ` corsepiu at gcc dot gnu dot org
2009-08-23 18:43 ` schwab at linux-m68k 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).