public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/38018] New: gcc.dg/pr37106-1.c doesn't work
@ 2008-11-05 6:06 hjl dot tools at gmail dot com
2008-11-13 16:58 ` [Bug target/38018] " sje at cup dot hp dot com
2009-10-29 16:44 ` sje at gcc dot gnu dot org
0 siblings, 2 replies; 4+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-11-05 6:06 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 941 bytes --]
With revision 141596, on Linux/ia64, I got
[hjl@gnu-12 gcc]$ ./xgcc -B./ -O1 -fpic -S
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gcc.dg/pr37106-1.c
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gcc.dg/pr37106-1.c: In
function âopt3â:
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gcc.dg/pr37106-1.c:18:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-12 gcc]$
--
Summary: gcc.dg/pr37106-1.c doesn't work
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl dot tools at gmail dot com
GCC target triplet: ia64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38018
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/38018] gcc.dg/pr37106-1.c doesn't work
2008-11-05 6:06 [Bug c/38018] New: " hjl dot tools at gmail dot com
@ 2008-11-13 16:58 ` sje at cup dot hp dot com
2009-10-29 16:44 ` sje at gcc dot gnu dot org
1 sibling, 0 replies; 4+ messages in thread
From: sje at cup dot hp dot com @ 2008-11-13 16:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from sje at cup dot hp dot com 2008-11-13 16:57 -------
This seems to be the first non-386 specific test to use
__attribute__((optimize)).
It doesn't look like a regression, it has never worked but was never tested
before.
The problem is that normally ia64_override_options resets
flag_schedule_insns_after_reload to 0 (and saves the value in
ia64_flag_schedule_insns2). handle_optimize_attribute calls parse_options and
sets flag_schedule_insns_after_reload to 1 but I don't see where it calls the
target override_options function to reset/check/change flags for specific
targets.
--
sje at cup dot hp dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sje at cup dot hp dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38018
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/38018] gcc.dg/pr37106-1.c doesn't work
2008-11-05 6:06 [Bug c/38018] New: " hjl dot tools at gmail dot com
2008-11-13 16:58 ` [Bug target/38018] " sje at cup dot hp dot com
@ 2009-10-29 16:44 ` sje at gcc dot gnu dot org
1 sibling, 0 replies; 4+ messages in thread
From: sje at gcc dot gnu dot org @ 2009-10-29 16:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from sje at gcc dot gnu dot org 2009-10-29 16:44 -------
Subject: Bug 38018
Author: sje
Date: Thu Oct 29 16:44:02 2009
New Revision: 153714
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153714
Log:
2009-10-29 Steve Ellcey <sje@cup.hp.com>
PR middle-end/37565
PR target/38018
* doc/tm.texi (OVERRIDE_OPTIONS): Update.
(TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New.
* optc-gen.awk (cl_target_option_restore): Include call to
targetm.override_options_after_change.
* target-def.h (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New.
* target.h (override_options_after_change): New.
* c-common.c (parse_optimize_options): Call
targetm.override_options_after_change.
* config/ia64/ia64.c (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New.
(ia64_override_options_after_change): New.
(ia64_override_options) Add call to above.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-common.c
trunk/gcc/config/ia64/ia64.c
trunk/gcc/doc/tm.texi
trunk/gcc/optc-gen.awk
trunk/gcc/target-def.h
trunk/gcc/target.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38018
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-11-29 6:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-38018-4@http.gcc.gnu.org/bugzilla/>
2011-10-13 23:19 ` [Bug target/38018] gcc.dg/pr37106-1.c doesn't work sje at cup dot hp.com
2021-11-29 6:47 ` pinskia at gcc dot gnu.org
2008-11-05 6:06 [Bug c/38018] New: " hjl dot tools at gmail dot com
2008-11-13 16:58 ` [Bug target/38018] " sje at cup dot hp dot com
2009-10-29 16:44 ` sje 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).