public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/52641] New: Test cases fail for 16-bit int targets
@ 2012-03-20 19:36 gjl at gcc dot gnu.org
2012-03-20 19:39 ` [Bug testsuite/52641] " gjl at gcc dot gnu.org
` (17 more replies)
0 siblings, 18 replies; 19+ messages in thread
From: gjl at gcc dot gnu.org @ 2012-03-20 19:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641
Bug #: 52641
Summary: Test cases fail for 16-bit int targets
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: gjl@gcc.gnu.org
Target: avr, m32c, m68k, stormy16, cr16, pdp11, h8300, rl78
Many test cases fail because they assume sizeof(int) >= 4.
This PR is not for one specific test case, it's to have a PR to file respective
fixes as new test cases enter the test suite.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug testsuite/52641] Test cases fail for 16-bit int targets
2012-03-20 19:36 [Bug testsuite/52641] New: Test cases fail for 16-bit int targets gjl at gcc dot gnu.org
@ 2012-03-20 19:39 ` gjl at gcc dot gnu.org
2012-03-20 20:32 ` gjl at gcc dot gnu.org
` (16 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: gjl at gcc dot gnu.org @ 2012-03-20 19:39 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P5
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-03-20
Ever Confirmed|0 |1
Severity|normal |minor
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug testsuite/52641] Test cases fail for 16-bit int targets
2012-03-20 19:36 [Bug testsuite/52641] New: Test cases fail for 16-bit int targets gjl at gcc dot gnu.org
2012-03-20 19:39 ` [Bug testsuite/52641] " gjl at gcc dot gnu.org
@ 2012-03-20 20:32 ` gjl at gcc dot gnu.org
2012-03-21 10:51 ` gjl at gcc dot gnu.org
` (15 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: gjl at gcc dot gnu.org @ 2012-03-20 20:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641
--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-03-20 19:38:57 UTC ---
Author: gjl
Date: Tue Mar 20 19:38:51 2012
New Revision: 185588
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185588
Log:
PR testsuite/52641
* gcc.dg/torture/pr48124-1.c: Add dg-require-effective-target
int32plus.
* gcc.dg/torture/pr48124-4.c: Ditto:
* gcc.dg/torture/pr52530.c: Use long instead of int if int=16.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/torture/pr48124-1.c
trunk/gcc/testsuite/gcc.dg/torture/pr48124-4.c
trunk/gcc/testsuite/gcc.dg/torture/pr52530.c
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug testsuite/52641] Test cases fail for 16-bit int targets
2012-03-20 19:36 [Bug testsuite/52641] New: Test cases fail for 16-bit int targets gjl at gcc dot gnu.org
2012-03-20 19:39 ` [Bug testsuite/52641] " gjl at gcc dot gnu.org
2012-03-20 20:32 ` gjl at gcc dot gnu.org
@ 2012-03-21 10:51 ` gjl at gcc dot gnu.org
2012-03-21 17:47 ` hp at gcc dot gnu.org
` (14 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: gjl at gcc dot gnu.org @ 2012-03-21 10:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641
--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-03-21 10:48:13 UTC ---
Author: gjl
Date: Wed Mar 21 10:48:08 2012
New Revision: 185602
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185602
Log:
PR testsuite/52641
* gcc.dg/misaligned-expand-1.c (cst): Cast to int.
* gcc.dg/misaligned-expand-2.c (cst): Likewise.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/misaligned-expand-1.c
trunk/gcc/testsuite/gcc.dg/misaligned-expand-2.c
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug testsuite/52641] Test cases fail for 16-bit int targets
2012-03-20 19:36 [Bug testsuite/52641] New: Test cases fail for 16-bit int targets gjl at gcc dot gnu.org
` (2 preceding siblings ...)
2012-03-21 10:51 ` gjl at gcc dot gnu.org
@ 2012-03-21 17:47 ` hp at gcc dot gnu.org
2012-04-24 17:08 ` gjl at gcc dot gnu.org
` (13 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: hp at gcc dot gnu.org @ 2012-03-21 17:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641
Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hp at gcc dot gnu.org
--- Comment #3 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2012-03-21 17:46:17 UTC ---
FWIW, m68k if only for its option -mshort; by default that port has 32-bit
integers.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug testsuite/52641] Test cases fail for 16-bit int targets
2012-03-20 19:36 [Bug testsuite/52641] New: Test cases fail for 16-bit int targets gjl at gcc dot gnu.org
` (3 preceding siblings ...)
2012-03-21 17:47 ` hp at gcc dot gnu.org
@ 2012-04-24 17:08 ` gjl at gcc dot gnu.org
2012-04-24 17:20 ` gjl at gcc dot gnu.org
` (12 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: gjl at gcc dot gnu.org @ 2012-04-24 17:08 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641
--- Comment #4 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-04-24 17:08:28 UTC ---
Author: gjl
Date: Tue Apr 24 17:08:20 2012
New Revision: 186775
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186775
Log:
PR testsuite/52641
PR tree-optimizations/52891
* gcc.c-torture/compile/pr52891-2.c: Fix test for 16-bit int.
Modified:
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
branches/gcc-4_7-branch/gcc/testsuite/gcc.c-torture/compile/pr52891-2.c
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug testsuite/52641] Test cases fail for 16-bit int targets
2012-03-20 19:36 [Bug testsuite/52641] New: Test cases fail for 16-bit int targets gjl at gcc dot gnu.org
` (4 preceding siblings ...)
2012-04-24 17:08 ` gjl at gcc dot gnu.org
@ 2012-04-24 17:20 ` gjl at gcc dot gnu.org
2012-05-16 12:48 ` gjl at gcc dot gnu.org
` (11 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: gjl at gcc dot gnu.org @ 2012-04-24 17:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641
--- Comment #5 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-04-24 17:19:03 UTC ---
Author: gjl
Date: Tue Apr 24 17:18:54 2012
New Revision: 186776
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186776
Log:
PR testsuite/52641
PR tree-optimizations/52891
* gcc.c-torture/compile/pr52891-2.c: Fix test for 16-bit int.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.c-torture/compile/pr52891-2.c
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug testsuite/52641] Test cases fail for 16-bit int targets
2012-03-20 19:36 [Bug testsuite/52641] New: Test cases fail for 16-bit int targets gjl at gcc dot gnu.org
` (5 preceding siblings ...)
2012-04-24 17:20 ` gjl at gcc dot gnu.org
@ 2012-05-16 12:48 ` gjl at gcc dot gnu.org
2012-11-23 10:09 ` gjl at gcc dot gnu.org
` (10 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: gjl at gcc dot gnu.org @ 2012-05-16 12:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641
--- Comment #6 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-05-16 12:46:41 UTC ---
Author: gjl
Date: Wed May 16 12:46:36 2012
New Revision: 187588
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187588
Log:
PR testsuite/52641
* gcc.dg/pr52549.c: Fix test for long != void*
* gcc.c-torture/execute/pr52979-1.x: New file.
* gcc.c-torture/execute/pr52979-2.x: New file.
Added:
trunk/gcc/testsuite/gcc.c-torture/execute/pr52979-1.x
trunk/gcc/testsuite/gcc.c-torture/execute/pr52979-2.x
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/pr52549.c
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug testsuite/52641] Test cases fail for 16-bit int targets
2012-03-20 19:36 [Bug testsuite/52641] New: Test cases fail for 16-bit int targets gjl at gcc dot gnu.org
` (6 preceding siblings ...)
2012-05-16 12:48 ` gjl at gcc dot gnu.org
@ 2012-11-23 10:09 ` gjl at gcc dot gnu.org
2012-11-26 18:47 ` gjl at gcc dot gnu.org
` (9 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: gjl at gcc dot gnu.org @ 2012-11-23 10:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641
--- Comment #7 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-11-23 10:08:54 UTC ---
Author: gjl
Date: Fri Nov 23 10:08:49 2012
New Revision: 193749
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193749
Log:
PR testsuite/52641
* gcc.dg/unroll_5.c: Add dg-require-effective-target int32plus.
* gcc.dg/pr55150-1.c: Same.
* gcc.dg/torture/pr54894.c: Add size32plus.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/pr55150-1.c
trunk/gcc/testsuite/gcc.dg/torture/pr54894.c
trunk/gcc/testsuite/gcc.dg/unroll_5.c
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug testsuite/52641] Test cases fail for 16-bit int targets
2012-03-20 19:36 [Bug testsuite/52641] New: Test cases fail for 16-bit int targets gjl at gcc dot gnu.org
` (7 preceding siblings ...)
2012-11-23 10:09 ` gjl at gcc dot gnu.org
@ 2012-11-26 18:47 ` gjl at gcc dot gnu.org
2013-03-04 11:13 ` gjl at gcc dot gnu.org
` (8 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: gjl at gcc dot gnu.org @ 2012-11-26 18:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641
--- Comment #8 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-11-26 18:46:25 UTC ---
Author: gjl
Date: Mon Nov 26 18:46:12 2012
New Revision: 193826
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193826
Log:
PR testsuite/52641
* gcc.c-torture/execute/20120919-1.x: New file (int32plus).
* gcc.dg/pr54676.c: Make work for 16-bit int.
Added:
trunk/gcc/testsuite/gcc.c-torture/execute/20120919-1.x
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/pr54676.c
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug testsuite/52641] Test cases fail for 16-bit int targets
2012-03-20 19:36 [Bug testsuite/52641] New: Test cases fail for 16-bit int targets gjl at gcc dot gnu.org
` (8 preceding siblings ...)
2012-11-26 18:47 ` gjl at gcc dot gnu.org
@ 2013-03-04 11:13 ` gjl at gcc dot gnu.org
2013-08-14 15:37 ` amylaar at gcc dot gnu.org
` (7 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: gjl at gcc dot gnu.org @ 2013-03-04 11:13 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641
--- Comment #9 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2013-03-04 11:12:42 UTC ---
Author: gjl
Date: Mon Mar 4 11:12:30 2013
New Revision: 196428
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196428
Log:
PR testsuite/52641
PR tree-optimization/52631
* gcc.dg/tree-ssa/pr52631.c: Fix 16-bit int.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/tree-ssa/pr52631.c
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug testsuite/52641] Test cases fail for 16-bit int targets
2012-03-20 19:36 [Bug testsuite/52641] New: Test cases fail for 16-bit int targets gjl at gcc dot gnu.org
` (9 preceding siblings ...)
2013-03-04 11:13 ` gjl at gcc dot gnu.org
@ 2013-08-14 15:37 ` amylaar at gcc dot gnu.org
2013-08-29 13:15 ` jakub at gcc dot gnu.org
` (6 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: amylaar at gcc dot gnu.org @ 2013-08-14 15:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641
Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amylaar at gcc dot gnu.org
--- Comment #10 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> ---
See also:
http://gcc.gnu.org/ml/gcc-patches/2013-07/msg00807.html
http://gcc.gnu.org/ml/gcc-patches/2013-07/msg00819.html
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug testsuite/52641] Test cases fail for 16-bit int targets
2012-03-20 19:36 [Bug testsuite/52641] New: Test cases fail for 16-bit int targets gjl at gcc dot gnu.org
` (10 preceding siblings ...)
2013-08-14 15:37 ` amylaar at gcc dot gnu.org
@ 2013-08-29 13:15 ` jakub at gcc dot gnu.org
2023-05-22 14:50 ` cvs-commit at gcc dot gnu.org
` (5 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-08-29 13:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Aug 29 13:14:59 2013
New Revision: 202074
URL: http://gcc.gnu.org/viewcvs?rev=202074&root=gcc&view=rev
Log:
Backported from mainline
2013-07-22 Georg-Johann Lay <avr@gjlay.de>
PR testsuite/52641
* gcc.dg/torture/pr57381.c: Add dg-require-effective-target int32plus.
2013-05-27 Richard Biener <rguenther@suse.de>
PR middle-end/57381
PR tree-optimization/57417
* tree-ssa-sccvn.c (vn_reference_fold_indirect): Fix test
for unchanged base.
(set_ssa_val_to): Compare addresses using
get_addr_base_and_unit_offset.
PR tree-optimization/57417
* gcc.dg/torture/pr57417.c: New testcase.
2013-05-23 Richard Biener <rguenther@suse.de>
PR middle-end/57381
* gcc.dg/torture/pr57381.c: New testcase.
Added:
branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/torture/pr57381.c
branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/torture/pr57417.c
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
branches/gcc-4_8-branch/gcc/tree-ssa-sccvn.c
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug testsuite/52641] Test cases fail for 16-bit int targets
2012-03-20 19:36 [Bug testsuite/52641] New: Test cases fail for 16-bit int targets gjl at gcc dot gnu.org
` (11 preceding siblings ...)
2013-08-29 13:15 ` jakub at gcc dot gnu.org
@ 2023-05-22 14:50 ` cvs-commit at gcc dot gnu.org
2023-05-22 18:21 ` cvs-commit at gcc dot gnu.org
` (4 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-05-22 14:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641
--- Comment #19 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Georg-Johann Lay <gjl@gcc.gnu.org>:
https://gcc.gnu.org/g:9f5065094c9632a50bea604d5896a139609e50cf
commit r14-1074-g9f5065094c9632a50bea604d5896a139609e50cf
Author: Georg-Johann Lay <avr@gjlay.de>
Date: Mon May 22 16:47:56 2023 +0200
testsuite/52641: Fix tests that fail for 16-bit int / pointer targets.
gcc/testsuite/
PR testsuite/52641
* c-c++-common/pr19807-2.c: Use __SIZEOF_INT__ instead of 4.
* gcc.c-torture/compile/pr103813.c: Require size32plus.
* gcc.c-torture/execute/pr108498-2.c: Same.
* gcc.c-torture/compile/pr96426.c: Condition on
__SIZEOF_LONG_LONG__ == __SIZEOF_DOUBLE__.
* gcc.c-torture/execute/pr103417.c: Require int32plus.
* gcc.dg/pr104198.c: Same.
* gcc.dg/pr21137.c: Same.
* gcc.dg/pr88905.c: Same.
* gcc.dg/pr90838.c: Same.
* gcc.dg/pr97317.c: Same.
* gcc.dg/pr100292.c: Require int32.
* gcc.dg/pr101008.c: Same.
* gcc.dg/pr96542.c: Same.
* gcc.dg/pr96674.c: Same.
* gcc.dg/pr97750.c: Require ptr_eq_long.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug testsuite/52641] Test cases fail for 16-bit int targets
2012-03-20 19:36 [Bug testsuite/52641] New: Test cases fail for 16-bit int targets gjl at gcc dot gnu.org
` (12 preceding siblings ...)
2023-05-22 14:50 ` cvs-commit at gcc dot gnu.org
@ 2023-05-22 18:21 ` cvs-commit at gcc dot gnu.org
2023-05-30 20:05 ` cvs-commit at gcc dot gnu.org
` (3 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-05-22 18:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641
--- Comment #20 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Georg-Johann Lay <gjl@gcc.gnu.org>:
https://gcc.gnu.org/g:42d6b7d58caf7858704d93ce2f7a8cdf8a071e44
commit r14-1076-g42d6b7d58caf7858704d93ce2f7a8cdf8a071e44
Author: Georg-Johann Lay <avr@gjlay.de>
Date: Mon May 22 20:14:51 2023 +0200
testsuite/52641: Fix more of implicit int=32 assumption fallout.
gcc/testsuite/
PR testsuite/52641
* gcc.c-torture/compile/pr108892.c: Require int32.
* gcc.c-torture/compile/pr98199.c: Require int32plus.
* gcc.dg/analyzer/call-summaries-pr107072.c: Same.
* gcc.dg/analyzer/null-deref-pr105755.c: Same.
* gcc.dg/tree-ssa/pr102232.c: Same.
* gcc.dg/tree-ssa/pr105860.c: Same.
* gcc.dg/tree-ssa/pr96730.c: Same.
* gcc.dg/tree-ssa/pr96779-disabled.c: Same.
* gcc.dg/tree-ssa/pr96779.c: Same.
* gcc.dg/tree-ssa/pr98513.c: Same.
* gcc.dg/tree-ssa/ssa-sink-18.c
* gcc.dg/analyzer/coreutils-cksum-pr108664.c: Require int32plus,
size24plus.
* gcc.dg/analyzer/doom-s_sound-pr108867.c: Require size32plus.
* gcc.dg/analyzer/malloc-CWE-590-examples.c: Same.
* gcc.dg/debug/btf/btf-bitfields-4.c: Same.
* gcc.dg/tree-ssa/pr93435.c: Same.
* gcc.dg/analyzer/null-deref-pr102671-1.c: Require ptr_eq_long:
* gcc.dg/analyzer/null-deref-pr102671-2.c: Same.
*
gcc.dg/analyzer/null-deref-pr108251-smp_fetch_ssl_fc_has_early-O2.c:
Same.
* gcc.dg/analyzer/null-deref-pr108251-smp_fetch_ssl_fc_has_early.c:
Same.
* gcc.dg/tree-ssa/pr103345.c: Use uint32_t.
* gcc.dg/tree-ssa/ssa-ccp-41.c [sizeof(int)==2]: Same.
* gcc.dg/tree-ssa/pr109031-1.c: Use uint16_t, uint32_t.
* gcc.dg/tree-ssa/pr109031-2.c: Same.
* gcc.dg/Warray-bounds-49.c (dg-warning): Discriminate int !=
short.
* gcc.dg/Warray-bounds-52.c (dg-warning): Discriminate avr.
* gcc.dg/Warray-bounds-33.c: Skip target avr.
* gcc.dg/analyzer/fd-access-mode-target-headers.c: Same.
* gcc.dg/analyzer/flex-with-call-summaries.c: Same.
* gcc.dg/analyzer/isatty-1.c: Same.
* gcc.dg/analyzer/pipe-glibc.c: Same.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug testsuite/52641] Test cases fail for 16-bit int targets
2012-03-20 19:36 [Bug testsuite/52641] New: Test cases fail for 16-bit int targets gjl at gcc dot gnu.org
` (13 preceding siblings ...)
2023-05-22 18:21 ` cvs-commit at gcc dot gnu.org
@ 2023-05-30 20:05 ` cvs-commit at gcc dot gnu.org
2024-01-07 12:44 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-05-30 20:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641
--- Comment #21 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Georg-Johann Lay <gjl@gcc.gnu.org>:
https://gcc.gnu.org/g:e4c986fde56a6248f8fbe6cf0704e1da34b055d8
commit r14-1418-ge4c986fde56a6248f8fbe6cf0704e1da34b055d8
Author: Georg-Johann Lay <avr@gjlay.de>
Date: Tue May 30 22:04:57 2023 +0200
testsuite/52641: Fix more of implicit int=32 assumption fallout.
gcc/testsuite/
PR testsuite/52641
* gcc.dg/torture/pr107451.c: Require int32plus.
* gcc.dg/torture/pr108574-3.c: Use __INT32_TYPE__ instead of int.
* gcc.dg/torture/pr109940.c: Use __INTPTR_TYPE__ instead of long.
* gcc.dg/torture/pr95248.c: Require size24plus.
* gcc.dg/torture/pr95295-3.c: Use var_* with at least 32 bits int.
* gcc.dg/torture/pr98640.c: Cast to __INT32_TYPE__ instead of int.
* gcc.dg/tree-ssa/pr103771.c: Use int with at least 32 bits.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug testsuite/52641] Test cases fail for 16-bit int targets
2012-03-20 19:36 [Bug testsuite/52641] New: Test cases fail for 16-bit int targets gjl at gcc dot gnu.org
` (14 preceding siblings ...)
2023-05-30 20:05 ` cvs-commit at gcc dot gnu.org
@ 2024-01-07 12:44 ` cvs-commit at gcc dot gnu.org
2024-01-07 12:44 ` cvs-commit at gcc dot gnu.org
2024-01-07 15:54 ` cvs-commit at gcc dot gnu.org
17 siblings, 0 replies; 19+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-01-07 12:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641
--- Comment #22 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Georg-Johann Lay <gjl@gcc.gnu.org>:
https://gcc.gnu.org/g:c2e66755b6b6336dd5d93da3f4effb81d236397e
commit r14-6980-gc2e66755b6b6336dd5d93da3f4effb81d236397e
Author: Georg-Johann Lay <avr@gjlay.de>
Date: Sat Jan 6 19:37:27 2024 +0100
testsuite/52641: Fix sloppy tests that did not care for sizeof(int)=2 etc.
gcc/testsuite/
PR testsuite/52641
* gcc.c-torture/compile/attr-complex-method-2.c [target=avr]: Check
for "divsc3" as double = float per default.
* gcc.c-torture/compile/pr106537-1.c: Use __INTPTR_TYPE__ instead
of
hard-coded "long".
* gcc.c-torture/compile/pr106537-2.c: Same.
* gcc.c-torture/compile/pr106537-3.c: Same.
* gcc.c-torture/execute/20230630-3.c: Use __INT32_TYPE__ for
bit-field
wider than 16 bits.
* gcc.c-torture/execute/20230630-4.c: Same.
* gcc.c-torture/execute/pr109938.c: Require int32plus.
* gcc.c-torture/execute/pr109986.c: Same.
* gcc.dg/fold-ior-4.c: Same.
* gcc.dg/fold-ior-5.c: Same
* gcc.dg/fold-parity-5.c: Same.
* gcc.dg/fold-popcount-5.c: Same.
* gcc.dg/builtin-bswap-13.c [sizeof(int) < 4]: Use __INT32_TYPE__
instead of int.
* gcc.dg/builtin-bswap-14.c: Use __INT32_TYPE__ instead of int
where
required by code.
* gcc.dg/c23-constexpr-9.c: Require large_double.
* gcc.dg/c23-nullptr-1.c [target=avr]: xfail.
* gcc.dg/loop-unswitch-10.c: Require size32plus.
* gcc.dg/loop-unswitch-14.c: Same.
* gcc.dg/loop-unswitch-11.c: Require int32.
* gcc.dg/pr101836.c: Use __SIZEOF_INT instead of hard-coded 4.
* gcc.dg/pr101836_1.c: Same.
* gcc.dg/pr101836_2.c: Same.
* gcc.dg/pr101836_3.c: Same.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug testsuite/52641] Test cases fail for 16-bit int targets
2012-03-20 19:36 [Bug testsuite/52641] New: Test cases fail for 16-bit int targets gjl at gcc dot gnu.org
` (15 preceding siblings ...)
2024-01-07 12:44 ` cvs-commit at gcc dot gnu.org
@ 2024-01-07 12:44 ` cvs-commit at gcc dot gnu.org
2024-01-07 15:54 ` cvs-commit at gcc dot gnu.org
17 siblings, 0 replies; 19+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-01-07 12:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641
--- Comment #23 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Georg-Johann Lay <gjl@gcc.gnu.org>:
https://gcc.gnu.org/g:7d60b1b78538c5606e8d35cdba8f565e7785d9c6
commit r14-6981-g7d60b1b78538c5606e8d35cdba8f565e7785d9c6
Author: Georg-Johann Lay <avr@gjlay.de>
Date: Sun Jan 7 13:17:19 2024 +0100
testsuite/52641: Fix fallout from sloppy tests.
gcc/testsuite/
PR testsuite/52641
* gcc.dg/memchr-3.c [avr]: Anticipate
-Wbuiltin-declaration-mismatch.
* gcc.dg/pr103207.c: Use __INT32_TYPE__ instead of int.
* gcc.dg/pr103451.c [void* != long]: Anticipate
-Wpointer-to-int-cast.
* gcc.dg/pr110496.c [void* != long]: Anticipate
-Wint-to-pointer-cast.
* gcc.dg/pr109977.c: Use __SIZEOF_DOUBLE__ instead of 8.
* gcc.dg/pr110506-2.c: Use __UINT32_TYPE__ for uint32_t.
* gcc.dg/pr110582.c: Require int32plus.
* gcc.dg/pr111039.c: [sizeof(int) < 4]: Use __INT32_TYPE__.
* gcc.dg/pr111599.c: Same.
* gcc.dg/builtin-dynamic-object-size-0.c: Require size20plus.
* gcc.dg/builtin-object-size-1.c [avr]: Skip tests with strndup.
* gcc.dg/builtin-object-size-2.c: Same.
* gcc.dg/builtin-object-size-3.c: Same.
* gcc.dg/builtin-object-size-4.c: Same.
* gcc.dg/pr111070.c: Use __UINTPTR_TYPE__ instead of unsigned long.
* gcc.dg/debug/btf/btf-pr106773.c: Same.
* gcc.dg/debug/btf/btf-bitfields-2.c: [sizeof(int) < 4]: Use
__UINT32_TYPE__.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [Bug testsuite/52641] Test cases fail for 16-bit int targets
2012-03-20 19:36 [Bug testsuite/52641] New: Test cases fail for 16-bit int targets gjl at gcc dot gnu.org
` (16 preceding siblings ...)
2024-01-07 12:44 ` cvs-commit at gcc dot gnu.org
@ 2024-01-07 15:54 ` cvs-commit at gcc dot gnu.org
17 siblings, 0 replies; 19+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-01-07 15:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52641
--- Comment #24 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Georg-Johann Lay <gjl@gcc.gnu.org>:
https://gcc.gnu.org/g:1c765016557eb8d4c576bfe22c10abf0b398fbab
commit r14-6982-g1c765016557eb8d4c576bfe22c10abf0b398fbab
Author: Georg-Johann Lay <avr@gjlay.de>
Date: Sun Jan 7 16:53:21 2024 +0100
testsuite/52641: Fix fallout from sloppy tests.
gcc/testsuite/
PR testsuite/52641
* gcc.dg/torture/pr110838.c: Use proper shift offset to get MSB or
int.
* gcc.dg/torture/pr112282.c: Use at least 32 bits for :20
bit-fields.
* gcc.dg/tree-ssa/bitcmp-5.c: Use integral type with 32 bits or
more.
* gcc.dg/tree-ssa/bitcmp-6.c: Same.
* gcc.dg/tree-ssa/cltz-complement-max.c: Same.
* gcc.dg/tree-ssa/cltz-max.c: Same.
* gcc.dg/tree-ssa/if-to-switch-8.c: Use literals that fit int.
* gcc.dg/tree-ssa/if-to-switch-9.c [avr]: Set
case-values-threshold=3.
* gcc.dg/tree-ssa/negneg-3.c: Discriminate [not] large_double.
* gcc.dg/tree-ssa/phi-opt-25b.c: Use types of correct widths for
__builtin_bswapN.
* gcc.dg/tree-ssa/pr55177-1.c: Same.
* gcc.dg/tree-ssa/popcount-max.c: Use int32_t where required.
* gcc.dg/tree-ssa/pr111583-1.c: Use intptr_t as needed.
* gcc.dg/tree-ssa/pr111583-2.c: Same.
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2024-01-07 15:54 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-20 19:36 [Bug testsuite/52641] New: Test cases fail for 16-bit int targets gjl at gcc dot gnu.org
2012-03-20 19:39 ` [Bug testsuite/52641] " gjl at gcc dot gnu.org
2012-03-20 20:32 ` gjl at gcc dot gnu.org
2012-03-21 10:51 ` gjl at gcc dot gnu.org
2012-03-21 17:47 ` hp at gcc dot gnu.org
2012-04-24 17:08 ` gjl at gcc dot gnu.org
2012-04-24 17:20 ` gjl at gcc dot gnu.org
2012-05-16 12:48 ` gjl at gcc dot gnu.org
2012-11-23 10:09 ` gjl at gcc dot gnu.org
2012-11-26 18:47 ` gjl at gcc dot gnu.org
2013-03-04 11:13 ` gjl at gcc dot gnu.org
2013-08-14 15:37 ` amylaar at gcc dot gnu.org
2013-08-29 13:15 ` jakub at gcc dot gnu.org
2023-05-22 14:50 ` cvs-commit at gcc dot gnu.org
2023-05-22 18:21 ` cvs-commit at gcc dot gnu.org
2023-05-30 20:05 ` cvs-commit at gcc dot gnu.org
2024-01-07 12:44 ` cvs-commit at gcc dot gnu.org
2024-01-07 12:44 ` cvs-commit at gcc dot gnu.org
2024-01-07 15:54 ` cvs-commit at gcc dot gnu.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).