|
Last change
on this file since 1e28e05 was 2853d6f, checked in by Michael Brooks <mlbrooks@…>, 12 months ago |
|
Remove uses of warnings to show test success. Eliminate simple causes of other warnings from affected tests and remove the result from WFLAG_OPT_LAX.
Many affected tests also formerly used -fsyntax-only to avoid errors at later compilation stages, or at runtime. Repair such tests to actually work though runtime, and remove them from SYNTAX_ONLY_CODE.
Group tests listed under WFLAGS_OPT according to why they should receive lax treatment. Add reason WFLGAS_OPT_LAX_EXPECT_WARN and give the original list reason WFLGAS_OPT_LAX_TO_INVESTIGATE.
Tests whose purpose is to show a warning are listed as both SYNTAX_ONLY_CODE (so that the warning is the output) and WFLGAS_OPT_LAX_EXPECT_WARN (to document this fact).
|
-
Property mode
set to
100644
|
|
File size:
1.6 KB
|
| Line | |
|---|
| 1 | warnings/self-assignment.cfa:29:1 warning: self assignment of expression: Generated Cast of:
|
|---|
| 2 | Variable Expression: j: signed int
|
|---|
| 3 | ... with resolved type:
|
|---|
| 4 | signed int
|
|---|
| 5 | ... to:
|
|---|
| 6 | reference to signed int
|
|---|
| 7 | ... with resolved type:
|
|---|
| 8 | reference to signed int.
|
|---|
| 9 | warnings/self-assignment.cfa:30:1 warning: self assignment of expression: Generated Cast of:
|
|---|
| 10 | Variable Expression: s: instance of struct S with body
|
|---|
| 11 | ... with resolved type:
|
|---|
| 12 | instance of struct S with body
|
|---|
| 13 | ... to:
|
|---|
| 14 | reference to instance of struct S with body
|
|---|
| 15 | ... with resolved type:
|
|---|
| 16 | reference to instance of struct S with body.
|
|---|
| 17 | warnings/self-assignment.cfa:31:1 warning: self assignment of expression: Generated Cast of:
|
|---|
| 18 | Member Expression, with field:
|
|---|
| 19 | i: signed int
|
|---|
| 20 | ... from aggregate:
|
|---|
| 21 | Variable Expression: s: instance of struct S with body
|
|---|
| 22 | ... with resolved type:
|
|---|
| 23 | instance of struct S with body
|
|---|
| 24 | ... with resolved type:
|
|---|
| 25 | signed int
|
|---|
| 26 | ... to:
|
|---|
| 27 | reference to signed int
|
|---|
| 28 | ... with resolved type:
|
|---|
| 29 | reference to signed int.
|
|---|
| 30 | warnings/self-assignment.cfa:32:1 warning: self assignment of expression: Generated Cast of:
|
|---|
| 31 | Member Expression, with field:
|
|---|
| 32 | i: signed int
|
|---|
| 33 | ... from aggregate:
|
|---|
| 34 | Member Expression, with field:
|
|---|
| 35 | s: instance of struct S with body
|
|---|
| 36 | ... from aggregate:
|
|---|
| 37 | Variable Expression: t: instance of struct T with body
|
|---|
| 38 | ... with resolved type:
|
|---|
| 39 | instance of struct T with body
|
|---|
| 40 | ... with resolved type:
|
|---|
| 41 | instance of struct S with body
|
|---|
| 42 | ... with resolved type:
|
|---|
| 43 | signed int
|
|---|
| 44 | ... to:
|
|---|
| 45 | reference to signed int
|
|---|
| 46 | ... with resolved type:
|
|---|
| 47 | reference to signed int.
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.